/* The home game's identity matches the dedicated Bimong cover. */
.play-section .game-stage{min-height:720px;background:#101218}
.play-section .game-keyvisual:after{background:radial-gradient(ellipse at 50% 39%,#101218a8 0%,#10121844 39%,#1012181d 68%),linear-gradient(180deg,#10121892 0%,#10121815 26%,#10121860 60%,#101218ed 100%)}
.play-section .game-title-block.bimong-title-block{position:absolute;left:50%;top:49%;bottom:auto;transform:translate(-50%,-50%);width:min(520px,calc(100% - 48px));max-width:none;z-index:3;text-align:center;background:none;padding:0}
.bimong-title-block .dream-logo{position:relative;width:330px;max-width:76vw;margin:0 auto 4px;font-size:0;line-height:1;isolation:isolate}
.bimong-title-block .title-wordmark{display:block;width:100%;height:auto;filter:url(#pencil-paper)}
.bimong-title-block .logo-glitch{position:absolute;inset:0;opacity:0;pointer-events:none;clip-path:inset(43% 0 48%);animation:home-logo-flicker 8.7s steps(1,end) infinite}
.bimong-title-block .logo-subtitle{font-size:8px;line-height:1.8;letter-spacing:2.8px;font-weight:400;color:#c8c4bc;margin:0;text-shadow:0 2px 10px #000}
.bimong-title-block .play-button{justify-content:center;min-width:204px;min-height:55px;margin:31px auto 0;padding:15px 28px;border:1px solid #fff8;border-radius:15px 18px 14px 17px;background:#eee6d7;color:#35313f;box-shadow:0 3px 0 #a699b64d;font-size:14px;letter-spacing:1px;gap:17px}
.bimong-title-block .play-button:hover{background:#f8f0e3}
.bimong-title-block .play-icon{font-size:9px}
.bimong-title-block .game-status{margin:13px auto 0;max-width:320px;color:#c1bfc0;font-size:11px;line-height:1.7;letter-spacing:.1px}
.bimong-title-block .game-status:empty{display:none}
.logo-filter-defs{position:absolute;pointer-events:none}
.doodle-eye{position:absolute;width:39px;height:27px;overflow:visible;fill:none;stroke:#e7e1d5;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.78;pointer-events:none}
.eye-left{left:-19px;top:3px;transform:rotate(-17deg);--blink-delay:-.6s}
.eye-right{right:-21px;bottom:1px;transform:rotate(14deg);width:32px;--blink-delay:-2.4s}
.eye-pupil{fill:#e7e1d5;stroke:none}.eye-echo{opacity:.3;stroke-width:1}
.eye-open{transform-origin:30px 20px;animation:home-doodle-blink 3.8s steps(1,end) infinite;animation-delay:var(--blink-delay)}
.eye-shut{opacity:0;animation:home-doodle-shut 3.8s steps(1,end) infinite;animation-delay:var(--blink-delay)}
@keyframes home-doodle-blink{0%,90%,96%,100%{transform:scaleY(1);opacity:1}92%,94%{transform:scaleY(.05);opacity:0}}
@keyframes home-doodle-shut{0%,90%,96%,100%{opacity:0}92%{opacity:1}}
@keyframes home-logo-flicker{0%,96%,100%{opacity:0;transform:translateX(0)}96.5%{opacity:.6;transform:translateX(1.5px);clip-path:inset(43% 0 48%)}97.3%{opacity:.45;transform:translateX(-1px);clip-path:inset(66% 0 29%)}98%{opacity:0}}
.play-section .loading-preview{position:absolute;left:50%;bottom:clamp(110px,19svh,154px);z-index:3;transform:translate(-50%,38px);width:max-content;text-align:center}
.play-section .character-pair{display:flex;align-items:flex-end;justify-content:center;gap:8px;margin:0 auto}
.play-section .character-preview{display:block;width:84px;height:84px;margin:0 auto;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 5px 10px #0005)}
.play-section canvas.character-preview{width:84px;height:84px}
@media(max-width:700px){
  .play-section .game-stage{height:calc(100svh - 76px);min-height:690px;overflow:hidden}
  .play-section .game-cover{position:absolute;inset:0}
  .play-section .game-keyvisual{position:absolute;inset:0}
  .play-section .game-keyvisual img{height:100%;object-fit:cover;object-position:52% center}
  .play-section .game-keyvisual:after{display:block;background:radial-gradient(ellipse at 50% 34%,#101218ad,#10121825 65%),linear-gradient(#10121870,transparent 35%,#101218e7 68%,#101218 88%)}
  .play-section .game-title-block.bimong-title-block{left:50%;top:45%;width:calc(100% - 36px);padding:0;background:none}
  .bimong-title-block .dream-logo{width:260px;max-width:75vw;margin-bottom:5px}
  .bimong-title-block .logo-subtitle{font-size:7px;letter-spacing:2.1px}
  .bimong-title-block .play-button{width:auto;min-width:190px;min-height:52px;margin-top:27px;padding:13px 24px;font-size:12px}
  .bimong-title-block .game-status{max-width:280px;font-size:10px}
  .eye-left{left:-13px;top:-1px;width:31px}.eye-right{right:-13px;width:27px}
  .play-section .loading-preview{bottom:clamp(85px,14svh,112px);transform:translate(-50%,24px)}
  .play-section .character-preview{width:71px;height:71px}
  .play-section canvas.character-preview{width:71px;height:71px}
}
@media(max-width:359px){.bimong-title-block .dream-logo{width:235px}.play-section .game-title-block.bimong-title-block{top:44%}}
@media(prefers-reduced-motion:reduce){.bimong-title-block .logo-glitch{display:none}.eye-open,.eye-shut{animation:none}.eye-open{transform:none;opacity:1}.eye-shut{opacity:0}}

/* The navigation blends into the intro, then yields the whole viewport to play. */
@media(min-width:701px){
  .site-header{background:linear-gradient(180deg,#0b0c0ff2 0%,#0b0c0fc9 57%,#0b0c0f00 100%)}
}
body.game-fullscreen .site-header{display:none}
.play-section .game-stage:fullscreen{height:100svh;min-height:0;max-height:none}
