.game-screen {
  position:fixed;
  inset:0;
  z-index:10;
  display:grid;
  place-items:center;
  overflow-x:hidden;overflow-y:auto;scrollbar-width:none;
  box-sizing:border-box;
  padding:max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  color:#fff2cf;
  font:800 16px/1.1 "Barlow Semi Condensed",Arial,sans-serif;
  text-align:center;
  overscroll-behavior:contain;
}
.game-screen[hidden] { display:none }
.game-screen p,.game-screen h1,.game-screen dl,.game-screen dd { margin:0 }
#entry-screen {
  background:linear-gradient(180deg,#160d2554,#130a1a71 48%,#120912df), #140e22 url('waterfront-wide.webp?v=27');
  background-size:cover;
  background-position:center;
}
.entry-content {
  width:min(92vw,540px);
  display:grid;
  justify-items:center;
  gap:clamp(8px,2.25vh,24px);
}
.entry-logo {
  display:block;
  width:min(79vw,540px,87vh);
  height:auto;
  filter:drop-shadow(0 14px 22px #0b0418b0) drop-shadow(0 0 22px #df7e2638);
}
#entry-progress {
  appearance:none;
  -webkit-appearance:none;
  display:block;
  width:min(70vw,380px,90vh);
  height:clamp(10px,1.9vh,19px);
  border:1px solid #ffd681;
  border-radius:999px;
  overflow:hidden;
  color:#ffc956;
  box-shadow:0 2px 0 #32170b,0 0 16px #c5783d55;
  background:#271520;
}
#entry-progress::-webkit-progress-bar { background:#271520 }
#entry-progress::-webkit-progress-value { background:linear-gradient(#fff8c5,#ffcf69 50%,#c38527);transition:width .24s ease }
#entry-progress::-moz-progress-bar { background:linear-gradient(#fff8c5,#ffcf69 50%,#c38527) }
#entry-status,.result-kicker {color:#ffdf94;letter-spacing:.19em;font-size:clamp(12px,2.4vh,19px)}
#entry-sound {color:#e3c997;font-size:clamp(12px,2.2vh,16px);font-weight:700;letter-spacing:.08em}
.gold-action {
  min-width:min(68vw,234px);
  min-height:44px;
  padding:.42em 1.35em;
  color:#341902;
  font:800 clamp(20px,3.8vh,32px)/1 "Barlow Semi Condensed",Arial,sans-serif;
  letter-spacing:.09em;
  text-shadow:0 1px #ffeabe;
  cursor:pointer;
  background:linear-gradient(#fff3a7,#ffce5e 49%,#eda833 51%,#ffd86c);
  border:2px solid #ffde87;
  border-radius:12px;
  box-shadow:inset 0 0 0 2px #92551f,inset 0 3px 4px #fff2bb,0 3px 0 #763b14,0 5px 22px #2f110ac0;
}
.gold-action:active { transform:translateY(2px) }
.gold-action:disabled { opacity:.5;cursor:default }
.gold-action:focus-visible { outline:2px solid #fff6c8;outline-offset:5px }
@media (orientation:portrait) {
  #entry-screen {background-image:linear-gradient(180deg,#160d2544,#130a1a6e 48%,#120912e2),url('waterfront-phone.webp?v=27');background-position:center 58%}
}
@media (max-height:400px) {
  .entry-logo {width:min(68vw,64vh)}
  .entry-content {gap:10px}
}
@media (prefers-reduced-motion:reduce) {
  #entry-progress::-webkit-progress-value {transition:none}
}
#entry-screen[hidden] { display:none }
#entry-screen { transition:opacity .35s ease }
#entry-screen.leaving { opacity:0;pointer-events:none }
