/* Shared GAME420 layout, controls and accessible state handling. */
@font-face{font-family:AuthArcade;src:url('fonts/arcade.woff') format('woff');font-display:swap}
.auth-entry{margin:0;min-height:100dvh;color:#f4f7f5;font-family:Arial,sans-serif;display:grid;place-items:center;padding:32px 16px;box-sizing:border-box;}

@media(max-height:600px){
.auth-entry{padding:12px;}}

/* GAME420 entry: original artwork, no replacement console shell. */
.auth-entry{--game420-ink:#100e1a;--game420-green:#76e633;--game420-muted:#bcdfaa;--game420-line:#40a519;--game420-panel:#211b2c;--game420-fast:150ms;margin:0;min-height:100svh;padding:max(16px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;color:#eaffdf;font-family:Arial,sans-serif;color-scheme:dark;isolation:isolate;}

.auth-entry *{box-sizing:border-box}
.auth-entry [hidden]{display:none!important}

.game420-console{width:min(100%,460px);position:relative;padding:0;}

.console-label{display:flex;justify-content:space-between;align-items:center;padding:0 12px 17px;color:#a6e57d;font:10px monospace;letter-spacing:1.5px}
.label-light{font-size:8px;color:#b4cda3}
.edition{border:1px solid #40a519;padding:3px 6px;font-size:8px}
.screen-bezel{position:relative;padding:0;}

.screen-top{display:flex;align-items:center;justify-content:space-between;padding:0 12px 9px;font:8px monospace;letter-spacing:1px;color:#b9d6a8}
.screen-top>span:first-child{display:flex;align-items:center;gap:7px}
.power-led{width:5px;height:5px;border-radius:50%;background:#243d17;transition:background .3s,box-shadow .3s}
.auth-entry:not([data-stage=off]) .power-led{background:#8cff44;box-shadow:0 0 10px #64ff20}
.console-screen{position:relative;isolation:isolate;overflow:hidden;min-height:440px;}

.screen-hud{display:flex;justify-content:space-between;margin:12px 16px 0;padding-bottom:10px;border-bottom:1px solid #40a51944;font:8px monospace;letter-spacing:1.5px;color:#b5d7a2}
.battery{color:#8bf340;letter-spacing:2px}
.entry-panel{position:relative;padding:24px 20px 18px}
.screen-kicker{font:9px monospace;letter-spacing:2px;color:#a2e279;margin:0 0 9px}
.entry-panel h2{font:700 28px/1.15 Arial,sans-serif;letter-spacing:-.6px;margin:10px 0 13px;color:#edffe0}
.entry-panel h2:focus{outline:none}
.panel-intro{font-size:14px;line-height:1.5;margin:0 0 20px;color:#c7dfba;overflow-wrap:anywhere}
.start-panel{text-align:center;padding:18px 16px 20px;}
.start-panel .screen-kicker{font-size:8px;letter-spacing:2.3px;margin:0 0 12px;}

.start-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;width:min(100%,285px);min-height:55px;padding:12px 16px;font:700 15px monospace;letter-spacing:2px;cursor:pointer;}

.start-button>span{font-size:12px;}

.start-help{font-size:12px;margin:13px 0 21px;color:#c0daaf}
.screen-coordinate{display:flex;justify-content:center;gap:14px;font:8px monospace;letter-spacing:1.4px;color:#b3d099}
.screen-coordinate span{color:#80e73a}
.screen-bottom{display:flex;justify-content:space-between;padding:12px;font:7px monospace;letter-spacing:1px;color:#b0ca9f}
.console-footer{display:flex;justify-content:space-between;padding:10px 12px;font:8px monospace;letter-spacing:1px;color:#b9d2a9}
.entry-test-note{max-width:350px;text-align:center;font-size:10px;line-height:1.5;color:#b3c8a5;margin:10px 8px 0}
.entry-back{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 0;border:0;background:none;color:#d0e8be;font-size:13px;text-decoration:none;cursor:pointer}
.auth-entry label:not(.entry-show){display:block;font:13px Arial,sans-serif;color:#e3f3d7;margin:16px 0 7px}
.auth-entry input:not([type=checkbox]){width:100%;min-height:48px;padding:12px;border:1px solid #80658f;border-radius:4px;background:#171225;color:#f4ffed;font:16px Arial,sans-serif;box-shadow:inset 0 2px 4px #0004}
.entry-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;padding:12px;border:1px solid #a4ed74;border-bottom:4px solid #2a7912;border-radius:4px;background:linear-gradient(#8be844,#54bf20);color:#061b04;font:700 14px monospace;text-decoration:none;cursor:pointer;transition:transform .15s,background .15s}
.entry-feedback{padding:0 20px;font:13px/1.5 Arial,sans-serif;color:#eef3b9}
.entry-feedback p{margin:0}
.entry-feedback p:not(:empty){padding:12px 0}
.entry-feedback .entry-back{font-weight:bold;text-decoration:underline}
.exit-panel{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.exit-mark{display:grid;place-items:center;width:58px;height:58px;border:1px solid #76d442;background:#40a51930;font-size:30px;color:#92ef52;margin-bottom:24px}
.exit-panel h2{font-size:31px}
.entry-noscript{color:#dcf5cb;text-align:center}
.auth-entry button:disabled{opacity:.55;cursor:wait}
.auth-entry :focus-visible{outline:2px solid #c9ff97;outline-offset:4px}
.auth-entry button:active:not(:disabled){transform:translateY(2px)}
.auth-entry .entry-primary:active{transform:translateY(2px)}
.console-label{user-select:none}
.screen-top{user-select:none}
.screen-bottom{user-select:none}
.console-footer{user-select:none}
.start-button{user-select:none;}

.auth-entry[data-stage=off] .console-screen>*{visibility:hidden;}

.auth-entry[data-stage=boot] .start-button{visibility:hidden;}
.auth-entry[data-stage=boot] .start-help{visibility:hidden}
@keyframes start-cursor{50%{opacity:.4}}
@media(hover:hover){

.entry-primary:hover{background:#a1f261;box-shadow:0 0 30px #66df393b}
.entry-back:hover{text-decoration:underline}}

@media(max-height:720px){
.auth-entry{justify-content:flex-start;padding-top:10px;}
.console-label{padding-bottom:10px}
.start-panel{padding-top:12px;}

.start-help{margin-bottom:15px}
.screen-bottom{padding-top:10px;padding-bottom:6px}}
@media(max-width:360px){
.entry-panel{padding-left:14px;padding-right:14px}
.console-label{font-size:9px}
.label-light{font-size:7px}

.start-panel .screen-kicker{font-size:7px;}
.entry-panel h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){
.auth-entry *{animation:none!important;transition:none!important}
.auth-entry *::before{animation:none!important;transition:none!important}
.auth-entry *::after{animation:none!important;transition:none!important}
}
/* Full-screen arcade title composition. No decorative console enclosure. */
.auth-entry{justify-content:center;padding:16px 12px;--game420-green:#83f329;}

.game420-console{width:min(100%,520px);}
.console-label{display:none}
.screen-top{display:none}
.screen-hud{display:none}
.screen-bottom{display:none}
.screen-coordinate{display:none}
.console-screen{min-height:0;overflow:visible;}

.start-panel{padding:0 0 12px;display:flex;flex-direction:column;align-items:center;}
.start-panel .screen-kicker{font:9px monospace;letter-spacing:3px;margin:0 0 20px;}

.start-button{width:min(83%,305px);min-height:58px;font:700 17px monospace;letter-spacing:2.5px;position:relative;}

.start-help{font:11px monospace;color:#caeab8;margin:19px 0 0;letter-spacing:1px}
.console-footer{justify-content:center;padding:20px 0 0;font-size:8px;color:#84a872;letter-spacing:1.5px}
.console-footer>span:last-child{display:none}
.entry-test-note{font-size:9px;color:#8ca67d;margin-top:12px}
#exit-panel{width:min(100%,400px);margin:auto;background:#100e1af5;border-top:2px solid #74ea2d;border-bottom:1px solid #3d8a1e;padding:25px 22px 18px;box-shadow:0 20px 70px #0009}
.entry-primary{background:#75f126}
.entry-feedback{background:#100e1a;width:min(100%,400px);margin:auto}

@media(max-height:760px){
.auth-entry{padding-top:18px;justify-content:center;}

.start-panel .screen-kicker{margin-bottom:14px;}
.console-footer{padding-top:14px}}
@media(max-height:620px){
.auth-entry{justify-content:flex-start;padding-top:16px;}

.start-button{min-height:52px;}
.start-help{margin-top:15px}}

.auth-entry .console-screen{isolation:auto;}

#destination-panel{max-width:430px;margin:auto;padding:30px 20px;}

#destination-title{font-size:31px}
.destination-card{display:flex;align-items:center;gap:16px;min-height:115px;padding:20px 16px;margin-top:17px;text-decoration:none;}

.destination-card strong{display:block;font:30px AuthArcade,monospace;letter-spacing:2px;}

.destination-card small{display:block;margin-top:10px;font:13px/1.4 Arial,sans-serif;}

.destination-card>span:last-child{margin-left:auto;font-size:11px;}

.destination-icon{font:30px monospace;}

.destination-note{font:11px/1.6 monospace;color:#b3d09b;margin:24px 0 0}
@media(max-width:360px){
#destination-panel{padding:24px 15px;}
.destination-card{padding:17px 12px;gap:12px;}
.destination-card small{font-size:12px;}}
