/* Original field opening: quiet, legible controls over the live full-game device. */
#faunaraTitleScene{position:fixed;inset:0;z-index:39;pointer-events:none;background:#10251d;display:none}
.faunara-opening-title #faunaraTitleScene{display:block}
#faunaraTitleScene canvas{display:block;width:100%;height:100%}
.faunara-opening-title #faunaraTitle{background:linear-gradient(0deg,#071610aa,transparent 35%,#07161018)}
.faunara-opening-title #faunaraTitle[data-scene=live] .faunara-title-art{display:none}
.faunara-opening-title #faunaraTitle .faunara-menu{width:min(720px,92vw);-webkit-font-smoothing:antialiased}
.faunara-opening-title #faunaraTitle .faunara-mark{top:15%;font-size:clamp(48px,8vw,90px);color:#fff4d5;text-shadow:0 2px 22px #10271888}
.faunara-opening-title #faunaraTitle .faunara-actions{position:absolute;inset:auto 0 7%;display:flex;flex-direction:column;align-items:center;gap:12px}
.faunara-opening-title #faunaraNewGame,.faunara-opening-title #faunaraContinue{display:none!important}
#faunaraTitleLoad{width:min(420px,80vw);text-align:center;color:#fff7e2;text-shadow:0 1px 6px #000b}
#faunaraTitleProgress{appearance:none;display:block;width:100%;height:3px;margin:16px 0;background:#fff3;border:0;border-radius:2px}
#faunaraTitleProgress::-webkit-progress-bar{background:#fff3;border-radius:2px}
#faunaraTitleProgress::-webkit-progress-value{background:#fff4d5;border-radius:2px;transition:width .25s ease}
#faunaraTitleStatus{font:400 14px/1.5 system-ui;margin:0;text-wrap:pretty}
#faunaraTitleBytes{font:11px/1.5 system-ui;font-variant-numeric:tabular-nums;opacity:.8;margin:5px 0 0;min-height:17px}
#faunaraTitleStart{min-width:240px;min-height:48px;font:600 18px/1.2 system-ui;letter-spacing:.12em;text-transform:uppercase;background:#e8eadc20;color:#fff8e8;border:1px solid #fff5;border-radius:3px;box-shadow:0 4px 20px #0002;transition:background .2s,scale .15s}
#faunaraTitleStart:hover{background:#fff3}
#faunaraTitleStart:active,#faunaraTitleDodge:active{scale:.96}
#faunaraTitleDodge{position:absolute;right:max(22px,env(safe-area-inset-right));bottom:max(80px,15%);z-index:41;min-height:44px;min-width:84px;padding:10px 16px;border:1px solid #fff5;border-radius:24px;background:#18312780;color:#fff7df;font:13px system-ui;pointer-events:auto;transition:opacity .15s,scale .15s}
#faunaraTitleDodge:disabled{opacity:.45}
.faunara-opening-title #faunaraOptions{font-size:12px;min-height:40px;min-width:90px;background:transparent;color:#fff9;box-shadow:none}
#faunaraTitleRetry{min-height:44px;padding:8px 24px;margin:10px;border-radius:4px;background:#fff2;color:#fff8e8;border:1px solid #fff5}
#faunaraTitle [hidden]{display:none!important}
.faunara-opening-title #faunaraTitle .title-footer{font-size:9px;bottom:2%}
.faunara-opening-title .faunara-startup-status{display:none}
.faunara-opening-title #faunaraTitle:has(+*){pointer-events:none}
.faunara-opening-title #faunaraTitle .faunara-menu{pointer-events:auto}
@media(max-width:600px){#faunaraTitleDodge{bottom:34%;right:16px}.faunara-opening-title #faunaraTitle .faunara-actions{bottom:9%}#faunaraTitleStatus{font-size:12px}.faunara-opening-title #faunaraTitle .faunara-mark{top:18%}}
@media(prefers-reduced-motion:reduce){#faunaraTitleProgress::-webkit-progress-value,#faunaraTitleStart,#faunaraTitleDodge{transition:none}#faunaraTitleStart:active,#faunaraTitleDodge:active{scale:1}}

body:not(.faunara-opening-title) #faunaraTitleLoad,body:not(.faunara-opening-title) #faunaraTitleStart,body:not(.faunara-opening-title) #faunaraTitleDodge{display:none!important}
/* Clear the legacy framed-menu styling while retaining the official logo art. */
.faunara-opening-title #faunaraTitle .faunara-mark{position:absolute;top:8%;left:50%;transform:translateX(-50%);margin:0;width:min(480px,58vw);height:auto;font-size:0;line-height:0;filter:drop-shadow(0 3px 12px #14352355);-webkit-text-stroke:0;text-shadow:none}
.faunara-opening-title #faunaraTitle .faunara-mark img{display:block;width:100%;height:auto;max-height:150px;object-fit:contain}
.faunara-opening-title #faunaraTitle .faunara-actions{left:0;right:0;top:auto;bottom:7%;transform:none;width:100%;margin:0;padding:0;border:0;outline:0;border-radius:0;background:none;box-shadow:none}
.faunara-opening-title #faunaraTitle .title-footer{left:50%;transform:translateX(-50%);width:100%;border:0;padding:0;font:9px/1.4 system-ui;letter-spacing:.08em;opacity:.7}
.faunara-opening-title #faunaraOptions{position:fixed;right:22px;bottom:21%;border:0;border-radius:0;padding:10px;min-width:64px;font:12px/1.2 system-ui;background:transparent;box-shadow:none;color:#fff9}
.faunara-opening-title #faunaraTitle #faunaraTitleStart{background:linear-gradient(90deg,transparent,#e8eadc1a,transparent);border:0;border-top:1px solid #fff6;border-bottom:1px solid #fff6;border-radius:0;box-shadow:none;min-width:300px;font:500 17px/1.2 system-ui;letter-spacing:.14em}
@media(max-width:600px){.faunara-opening-title #faunaraTitle .faunara-mark{top:8%;width:min(330px,76vw)}.faunara-opening-title #faunaraTitle .faunara-actions{bottom:9%}.faunara-opening-title #faunaraOptions{bottom:26%;right:16px}}

.faunara-opening-title #faunaraTitle #faunaraOptions,.faunara-opening-title #faunaraTitle #faunaraOptions:focus,.faunara-opening-title #faunaraTitle #faunaraOptions:hover{background:transparent!important;color:#fffbed!important;border:0!important;box-shadow:none!important;filter:none!important}
/* Prominent settings control, inset from the top-right safe area. */
.faunara-opening-title #faunaraTitle #faunaraOptions{top:max(28px,calc(env(safe-area-inset-top) + 20px));right:max(32px,calc(env(safe-area-inset-right) + 24px));bottom:auto;width:72px;height:76px;min-width:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px;border-radius:12px!important;background:#10231c50!important;color:#fffbed!important;backdrop-filter:blur(6px)}
.faunara-opening-title #faunaraTitle #faunaraOptions:hover{background:#18382b85!important}
.faunara-options-icon{width:36px;height:36px;display:block;flex:none}
.faunara-options-label{font:500 11px/1.2 system-ui;letter-spacing:.025em}
body:not(.faunara-opening-title) .faunara-options-icon{display:none}
.faunara-opening-title #faunaraTitle #faunaraTitleStart,.faunara-opening-title #faunaraTitle #faunaraTitleStart:focus,.faunara-opening-title #faunaraTitle #faunaraTitleStart:hover{color:#fffbed!important;text-shadow:0 1px 8px #0009;background:linear-gradient(90deg,transparent,#edf3dc20,transparent)!important;border-color:#fff8!important;filter:none!important;outline-offset:5px}

/* Explicit Start reveals the requested centered, unframed pixel menu. */
.faunara-opening-title #faunaraTitle[data-menu=choices] .faunara-actions{top:0;bottom:0;transform:none;justify-content:center;gap:18px}
.faunara-opening-title #faunaraTitle[data-menu=choices] #faunaraTitleLoad{display:none}
.faunara-opening-title #faunaraTitle[data-menu=choices] #faunaraNewGame,.faunara-opening-title #faunaraTitle[data-menu=choices] #faunaraContinue:not(.hidden){display:block!important}
.faunara-opening-title #faunaraTitle[data-menu=choices] :is(#faunaraNewGame,#faunaraContinue),.faunara-opening-title #faunaraTitle[data-menu=choices][data-has-save=false] #faunaraOptions{position:static;order:1;width:auto;height:auto;min-width:240px;min-height:48px;margin:0;padding:4px 12px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none;color:#fffbed!important;font:700 clamp(28px,4vw,44px)/1.3 "Faunara Menu Pixel",monospace;letter-spacing:.025em;text-transform:uppercase;text-shadow:0 3px 2px #261c36a0}
.faunara-opening-title #faunaraTitle[data-menu=choices] #faunaraContinue{order:0}
.faunara-opening-title #faunaraTitle[data-menu=choices][data-has-save=false] #faunaraOptions{order:2;display:block}
.faunara-opening-title #faunaraTitle[data-menu=choices][data-has-save=false] .faunara-options-icon{display:none}
.faunara-opening-title #faunaraTitle[data-menu=choices][data-has-save=false] .faunara-options-label{font:inherit;letter-spacing:inherit}
.faunara-opening-title #faunaraTitle[data-menu=choices] :is(#faunaraNewGame,#faunaraContinue):hover,.faunara-opening-title #faunaraTitle[data-menu=choices][data-has-save=false] #faunaraOptions:hover{color:#fff!important;text-shadow:0 0 16px #fff5,0 3px 2px #261c36a0}
.faunara-opening-title #faunaraTitle[data-menu=choices] :is(#faunaraNewGame,#faunaraContinue,#faunaraOptions):focus-visible{outline:2px solid #fff9;outline-offset:6px}

/* Gamepad focus is explicit: browser :focus-visible heuristics do not track pads. */
body.faunara-game #faunaraTitle button[data-kore-focus]:focus:not(:disabled){outline:3px solid #fffbed!important;outline-offset:6px!important}
