body { padding: 0; margin: 0 }
/* IdleCraft: the game fills the whole page (the itch.io iframe, or the screen in fullscreen) instead of a fixed
   WIDTHxHEIGHT box; Unity renders at that size x devicePixelRatio. No footer: itch has its own fullscreen button and
   the game's Settings > Display > Window Mode toggles fullscreen too. */
html, body { width: 100%; height: 100%; overflow: hidden; background: #231F20 }
#unity-container.unity-desktop { position: fixed; left: 0; top: 0; width: 100%; height: 100% }
.unity-desktop #unity-canvas { display: block; width: 100%; height: 100% }
.unity-desktop #unity-footer { display: none }
#unity-container { position: absolute }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
/* IdleCraft: WebGPU - unsupported-browser notice */
/* IdleCraft: shown instead of the game in browsers that can't run it. Same language as the game's screens: the blurred
   board behind, cream Sour Gummy (the game's font with the fixed 7) with a soft shadow, a small gold line, a short rule
   and Settings-style rows; no boxes. */
@font-face { font-family: "IC Sour Gummy"; src: url("SourGummy-Bold-7-fixed.woff2") format("woff2"); font-weight: 100 900; font-display: swap }
#ndg-webgpu-required { position: fixed; inset: 0; z-index: 10; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.62) 100%), url("ndg-notice-bg.jpg") center / cover no-repeat, #0b110d;
  color: #f4efe2; font-family: "IC Sour Gummy", "Sour Gummy", sans-serif; font-weight: 800; text-shadow: 0 2px 3px rgba(0,0,0,.55) }
.ndg-wr-panel { width: 100%; max-width: 680px; padding: 24px; box-sizing: border-box }
.ndg-wr-kicker { font-size: 15px; color: #f2b23a }
.ndg-wr-title { margin-top: 4px; font-size: 34px; line-height: 1.15; color: #f4efe2 }
.ndg-wr-rule { width: 180px; height: 1px; margin: 18px auto; background: rgba(244,239,226,.25) }
.ndg-wr-text { max-width: 500px; margin: 0 auto; font-size: 17px; line-height: 1.5; font-weight: 700; color: rgba(244,239,226,.78) }
.ndg-wr-rows { max-width: 560px; margin: 22px auto 0; text-align: left }
.ndg-wr-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 18px; border-radius: 12px }
.ndg-wr-row:first-child { background: rgba(244,239,226,.13) }
.ndg-wr-row span:first-child { font-size: 19px; color: #f4efe2; white-space: nowrap }
.ndg-wr-row span:last-child { font-size: 15px; color: rgba(244,239,226,.74); text-align: right }
.ndg-wr-reason { margin-top: 24px; font-size: 12px; font-weight: 600; color: rgba(244,239,226,.35); text-shadow: none }
@media (max-width: 520px) { .ndg-wr-title { font-size: 27px } .ndg-wr-text { font-size: 15px } }
/* IdleCraft: WebGPU - "Preparing shaders n / m" under the progress bar while ndg-prewarm.js compiles */
#ndg-loading-text { margin-top: 10px; min-height: 16px; text-align: center; font-family: arial, sans-serif; font-size: 13px; color: #bdb5a6 }
