.start-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; pointer-events: none; }
.start-screen > * { pointer-events: auto; }
.pixel-button { background: var(--ink); color: var(--lcd); border: 3px solid var(--ink); padding: 21px 25px; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 5px 5px 0 rgba(29,42,12,.25); border-radius: 0; }
.pixel-button:hover { transform: translate(-1px,-1px); }.pixel-button:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 rgba(29,42,12,.25); }.pixel-button pixel-text { height: 18px; }.start-button { padding: 26px 32px; min-height: 85px; max-width: 94%; margin-top: 34px; }.start-button pixel-text { height: clamp(19px,2.35vw,32px); }.hint { font-size: 13px; font-weight: bold; line-height: 1.6; text-align: center; margin: 25px 0 0; }.touch-hint { display: none; }.bottom-controls { position: absolute; bottom: max(9px,env(safe-area-inset-bottom)); left: 9px; right: 9px; display: flex; align-items: center; gap: 10px; opacity: .48; }.quiet-button { width: 42px; height: 42px; padding: 10px; }.quiet-button svg { width: 24px; height: 24px; }.player-label { flex: 1; font-size: 12px; font-weight: bold; }.countdown { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; background: rgba(146,165,89,.25); }.countdown pixel-text { height: clamp(64px,12vw,120px); }.lcd-dialog { color: var(--ink); background: var(--lcd) url('https://snake-game-nokia.higgsfield.app/lcd.png') repeat; border: 4px solid var(--ink); padding: 38px 38px 26px; width: min(490px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 9px 9px 0 rgba(29,42,12,.4); border-radius: 0; overscroll-behavior: contain; }.lcd-dialog::backdrop { background: rgba(29,42,12,.3); }.lcd-dialog h1 { font-size: 26px; line-height: 1.35; margin: 12px 0 29px; font-weight: bold; letter-spacing: -1px; }.lcd-dialog h1 strong { white-space: nowrap; }.lcd-dialog h2 { font-size: 28px; line-height: 1.4; margin: 8px 0 24px; }.lcd-dialog h2 pixel-text { height: 25px; }.close-dialog { position: absolute; top: 7px; right: 7px; min-width: 38px; min-height: 38px; font-size: 32px; line-height: 1; }.close-dialog:hover { background: rgba(29,42,12,.1); }.eyebrow { font-weight: bold; font-size: 11px; letter-spacing: 2px; margin: 0 0 12px; }.field-label { display: block; font-size: 12px; font-weight: bold; letter-spacing: 1px; margin-bottom: 9px; }.handle-field { display: flex; align-items: center; border: 3px solid var(--ink); background: rgba(214,229,161,.2); height: 62px; padding: 0 15px; gap: 9px; }.handle-field:focus-within { box-shadow: 3px 3px 0 rgba(29,42,12,.22); }.handle-field > span { font-size: 28px; font-weight: bold; }.handle-field input { font-size: 24px; font-weight: bold; min-width: 0; width: 100%; border: none; outline: none; padding: 5px 0; background: none; border-radius: 0; caret-color: var(--ink); }.handle-field input::placeholder { color: var(--ink); opacity: .43; }.error { font-size: 12px; font-weight: bold; line-height: 1.45; min-height: 20px; margin: 9px 0 13px; }.full-width { width: 100%; min-height: 62px; }.fine-print { font-size: 10px; line-height: 1.6; opacity: .68; text-align: center; margin: 20px 0 0; }.leaderboard-dialog { width: min(520px,calc(100vw - 32px)); }.table-status { text-align: center; font-size: 14px; line-height: 1.6; padding: 40px 10px 48px; }table { border-collapse: collapse; width: 100%; font-size: 16px; font-weight: bold; margin-bottom: 28px; }th { text-align: left; border-bottom: 2px solid var(--ink); padding: 8px 0; font-size: 11px; letter-spacing: .7px; }td { padding: 12px 0; border-bottom: 1px solid rgba(29,42,12,.16); }th:first-child, td:first-child { width: 32px; font-size: 12px; opacity: .65; }th:last-child, td:last-child { text-align: right; }td:nth-child(2) { overflow-wrap: anywhere; }.text-button { font-size: 11px; font-weight: bold; padding: 12px 7px; min-height: 42px; text-decoration: underline; text-underline-offset: 4px; }.compact-dialog { text-align: center; }.compact-dialog .hint { margin: 0 0 28px; }.final-score { height: 65px; margin: 10px 0 0; }.final-handle { font-size: 16px; font-weight: bold; margin: 18px 0 0; }.save-status { font-size: 12px; line-height: 1.6; margin: 15px 0 23px; min-height: 20px; }.gameover-links { display: flex; justify-content: space-between; margin-top: 16px; gap: 12px; }.toast { position: fixed; bottom: max(20px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--lcd); padding: 14px 20px; font-size: 12px; z-index: 100; width: max-content; max-width: 90%; line-height: 1.5; }.no-script { position: fixed; inset: 40% 10%; background: var(--lcd); padding: 30px; border: 4px solid var(--ink); text-align: center; }