.gx-ink{--ik-safe-top:env(safe-area-inset-top,0px);--ik-safe-right:env(safe-area-inset-right,0px);--ik-safe-bottom:env(safe-area-inset-bottom,0px);--ik-safe-left:env(safe-area-inset-left,0px);color:#f7edcf;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;width:100%;max-width:820px;margin:20px auto;isolation:isolate}
.gx-ink *{box-sizing:border-box}.gx-ink [hidden]{display:none!important}.gx-ink .ik-shell{background:#173e4d;border:2px solid #9d8556;border-radius:18px;overflow:hidden;box-shadow:0 15px 50px #0c172833}
.gx-ink .ik-shell button{font:inherit;font-size:13px;font-weight:750;line-height:1.25;min-width:44px;min-height:44px;margin:0;padding:8px 10px;border:1px solid #72859c;border-radius:8px;background:#2d435e;color:#fff0cf;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:0 3px 0 #0c1b2e;text-decoration:none;text-indent:0;letter-spacing:normal}
.gx-ink .ik-shell button:hover:not(:disabled){background:#3d5876}.gx-ink .ik-shell button:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 #0c1b2e}.gx-ink .ik-shell button:focus-visible,.gx-ink .ik-canvas:focus-visible{outline:3px solid #fff0a0;outline-offset:-3px}.gx-ink .ik-shell button:disabled{opacity:.45;cursor:default}.gx-ink .ik-shell button[aria-pressed=true]{border-color:#f6d082;background:#58647a}
.gx-ink .ik-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;background:linear-gradient(120deg,#28566a,#123645);border-bottom:1px solid #9a8356}.gx-ink .ik-brand strong{font-size:21px;letter-spacing:.04em;color:#ffe0a0;white-space:nowrap}.gx-ink .ik-brand small{display:block;font-size:9px;letter-spacing:.14em;color:#adbed1}.gx-ink .ik-tools{display:flex;gap:5px}.gx-ink .ik-tools button{font-size:11px;padding:6px;min-width:44px}
.gx-ink .ik-hud{display:flex;justify-content:space-between;gap:6px;padding:9px 14px 7px;background:#1e4c5b;font-size:12px;align-items:center}.gx-ink .ik-hud strong{font-size:18px;color:#ffe0a3;font-variant-numeric:tabular-nums}.gx-ink .ik-hud span{white-space:nowrap}.gx-ink .ik-body{position:relative;width:100%;max-width:620px;margin:auto;aspect-ratio:1;background:#123645;min-height:0}.gx-ink .ik-canvas{display:block;width:100%;height:100%;touch-action:none}
.gx-ink .ik-panel{--ik-heading-size:28px;position:absolute;inset:12px;z-index:2;border:1px solid #b49c65;border-radius:13px;padding:20px;overflow:auto;overscroll-behavior:contain;background:#153d4cf7;box-shadow:0 8px 32px #0006;text-align:center;scrollbar-width:thin}
.gx-ink .ik-panel h2{color:#ffe2a1!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:7px 0 12px!important;font-family:inherit!important;font-size:var(--ik-heading-size)!important;font-weight:800!important;line-height:1.3!important;text-align:center!important;text-indent:0!important;letter-spacing:normal!important;float:none!important}
.gx-ink .ik-panel h2::before,.gx-ink .ik-panel h2::after{content:none!important;display:none!important}.gx-ink .ik-panel[data-kind=menu] h2{margin:3px 0 8px!important}.gx-ink .ik-panel p{font-size:13px;line-height:1.65;margin:10px auto;color:#d8e4ed;max-width:36em}.gx-ink .ik-panel .ik-subtitle{font-size:11px;letter-spacing:.13em;color:#bdc9d8}.gx-ink .ik-panel .ik-lead{font-size:16px;font-weight:750;color:#fff1d2}.gx-ink .ik-panel .ik-warning{color:#ffd7a2}.gx-ink .ik-options{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:12px 0}.gx-ink .ik-shell .ik-primary{background:#e7bc68;border-color:#ffe3a6;color:#1a2b40;min-height:48px;font-size:16px;min-width:160px;box-shadow:0 4px 0 #8e6438}.gx-ink .ik-shell .ik-primary:hover:not(:disabled){background:#f4d185}.gx-ink .ik-panel .ik-stars{font-size:34px;letter-spacing:7px;color:#ffd57b;margin-top:14px}.gx-ink .ik-panel .ik-score{font-size:35px;color:#fff1cd;line-height:1.2;margin:8px 0;font-weight:800}.gx-ink .ik-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:5px;max-width:330px;min-width:0;margin:12px auto}.gx-ink .ik-stages button{padding:5px;display:grid;place-content:center;gap:2px;font-size:15px}.gx-ink .ik-stages small{font-size:9px;letter-spacing:0;color:#f5d894}.gx-ink .ik-legend{display:flex;justify-content:center;gap:5px 12px;flex-wrap:wrap;font-size:12px;margin:10px 0;color:#c6e9e3}.gx-ink .ik-legend b:first-child{color:#ffdf97}
.gx-ink .ik-note{display:flex;align-items:center;justify-content:center;min-height:34px;padding:5px 10px;background:#253b55;font-size:12px;line-height:1.5;color:#ebd4a3;text-align:center}.gx-ink .ik-note[data-kind=warning]{color:#ffd5b0;background:#593b43}.gx-ink .ik-controls{display:grid;grid-template-columns:144px minmax(0,1fr);gap:12px;padding:12px 16px;background:linear-gradient(#2b405c,#1c2f48);border-top:1px solid #72725e;align-items:center}.gx-ink .ik-pad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px;justify-content:center}.gx-ink .ik-pad button{padding:0;font-size:23px;touch-action:none}.gx-ink .ik-up{grid-column:2}.gx-ink .ik-left{grid-column:1;grid-row:2}.gx-ink .ik-down{grid-column:2;grid-row:2}.gx-ink .ik-right{grid-column:3;grid-row:2}.gx-ink .ik-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.gx-ink .ik-actions button{min-height:44px;font-size:14px}.gx-ink .ik-footer{display:flex;justify-content:space-between;gap:7px;align-items:center;min-height:27px;padding:5px 14px;color:#aebed2;font-size:10px}.gx-ink .ik-footer span{overflow-wrap:anywhere}.gx-ink .ik-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.gx-ink .ik-shell.ik-expanded,.gx-ink .ik-shell:fullscreen{position:fixed;inset:0;z-index:2147483600;width:100%;height:100dvh;max-width:none;border:0;border-radius:0;padding:var(--ik-safe-top) var(--ik-safe-right) var(--ik-safe-bottom) var(--ik-safe-left);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;align-items:stretch;background:#112137;overflow:hidden}
.gx-ink .ik-shell.ik-expanded>*,.gx-ink .ik-shell:fullscreen>*{min-width:0}.gx-ink .ik-shell.ik-expanded .ik-body,.gx-ink .ik-shell:fullscreen .ik-body{width:100%;height:100%;max-width:none;aspect-ratio:auto;container-type:size;overflow:hidden;display:grid;place-items:center}.gx-ink .ik-shell.ik-expanded .ik-canvas,.gx-ink .ik-shell:fullscreen .ik-canvas{width:min(100cqw,100cqh);height:min(100cqw,100cqh)}
.gx-ink .ik-shell.ik-expanded .ik-head,.gx-ink .ik-shell:fullscreen .ik-head{padding:6px 10px}.gx-ink .ik-shell.ik-expanded .ik-hud,.gx-ink .ik-shell:fullscreen .ik-hud{padding:4px 12px}.gx-ink .ik-shell.ik-expanded .ik-note,.gx-ink .ik-shell:fullscreen .ik-note{min-height:27px;font-size:11px}.gx-ink .ik-shell.ik-expanded .ik-controls,.gx-ink .ik-shell:fullscreen .ik-controls{padding:7px 12px;max-width:660px;width:100%;justify-self:center}.gx-ink .ik-shell.ik-expanded .ik-footer,.gx-ink .ik-shell:fullscreen .ik-footer{min-height:22px;padding:3px 10px}.gx-ink .ik-shell.ik-expanded .ik-panel,.gx-ink .ik-shell:fullscreen .ik-panel{position:fixed;inset:calc(var(--ik-safe-top) + 98px) calc(var(--ik-safe-right) + 10px) calc(var(--ik-safe-bottom) + 10px) calc(var(--ik-safe-left) + 10px);max-width:620px;margin:0 auto;padding:16px}
.gx-ink.ik-portal{margin:0;max-width:none;isolation:auto}
@media(max-width:480px){.gx-ink .ik-head{padding:8px}.gx-ink .ik-brand strong{font-size:17px;letter-spacing:0}.gx-ink .ik-brand small{font-size:7px;letter-spacing:.08em}.gx-ink .ik-tools{gap:3px}.gx-ink .ik-tools button{font-size:10px;padding:4px}.gx-ink .ik-hud{font-size:10px;padding:7px 9px}.gx-ink .ik-hud strong{font-size:15px}.gx-ink .ik-controls{gap:7px;padding:10px 8px}.gx-ink .ik-panel{--ik-heading-size:23px;inset:8px;padding:14px 9px}.gx-ink .ik-panel p{font-size:12px}.gx-ink .ik-options{margin:9px 0}.gx-ink .ik-panel .ik-lead{font-size:14px}.gx-ink .ik-footer{font-size:9px}.gx-ink .ik-actions{gap:5px}.gx-ink .ik-actions button{font-size:11px;padding:5px 3px}.gx-ink .ik-stages button{font-size:13px}.gx-ink .ik-legend{font-size:11px}.gx-ink .ik-shell.ik-expanded .ik-panel,.gx-ink .ik-shell:fullscreen .ik-panel{padding:12px 8px}}
@media(orientation:landscape) and (max-height:600px){.gx-ink .ik-shell.ik-expanded,.gx-ink .ik-shell:fullscreen{grid-template-columns:minmax(0,1fr) 210px;grid-template-rows:auto auto auto minmax(0,1fr) auto}.gx-ink .ik-shell.ik-expanded .ik-head,.gx-ink .ik-shell:fullscreen .ik-head,.gx-ink .ik-shell.ik-expanded .ik-hud,.gx-ink .ik-shell:fullscreen .ik-hud{grid-column:1/-1}.gx-ink .ik-shell.ik-expanded .ik-body,.gx-ink .ik-shell:fullscreen .ik-body{grid-column:1;grid-row:4}.gx-ink .ik-shell.ik-expanded .ik-controls,.gx-ink .ik-shell:fullscreen .ik-controls{grid-column:2;grid-row:4;display:flex;flex-direction:column;justify-content:center;padding:8px;gap:10px}.gx-ink .ik-shell.ik-expanded .ik-actions,.gx-ink .ik-shell:fullscreen .ik-actions{width:100%}.gx-ink .ik-shell.ik-expanded .ik-note,.gx-ink .ik-shell:fullscreen .ik-note{display:flex;grid-column:1/-1;grid-row:5;min-height:30px;padding:4px 10px;font-size:11px}.gx-ink .ik-shell.ik-expanded .ik-footer,.gx-ink .ik-shell:fullscreen .ik-footer{grid-column:1/-1}.gx-ink .ik-shell.ik-expanded .ik-panel,.gx-ink .ik-shell:fullscreen .ik-panel{--ik-heading-size:21px;inset:calc(var(--ik-safe-top) + 94px) calc(var(--ik-safe-right) + 10px) calc(var(--ik-safe-bottom) + 10px) calc(var(--ik-safe-left) + 10px);padding:10px}.gx-ink .ik-panel p{margin:5px}.gx-ink .ik-options{margin:5px}}
@media(max-height:520px){.gx-ink .ik-shell.ik-expanded .ik-footer,.gx-ink .ik-shell:fullscreen .ik-footer{display:none}.gx-ink .ik-shell.ik-expanded .ik-head,.gx-ink .ik-shell:fullscreen .ik-head{padding:2px 8px}.gx-ink .ik-shell.ik-expanded .ik-hud,.gx-ink .ik-shell:fullscreen .ik-hud{padding:2px 10px;line-height:18px}.gx-ink .ik-shell.ik-expanded .ik-hud strong,.gx-ink .ik-shell:fullscreen .ik-hud strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.gx-ink *,.gx-ink *::before,.gx-ink *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.gx-ink .ik-tank-row{display:flex;align-items:center;gap:10px;padding:5px 12px;background:#d4e9de;color:#244b5b;font-size:11px;min-height:28px}.gx-ink .ik-tank-label{min-width:107px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.gx-ink .ik-tank{display:block;width:100%;height:17px;min-width:0;accent-color:#42aaa8}.gx-ink .ik-tank::-webkit-meter-bar{background:#f3f9eb;border:1px solid #87b1ad;border-radius:5px}.gx-ink .ik-tank::-webkit-meter-optimum-value{background:#4bacad}.gx-ink .ik-tank::-moz-meter-bar{background:#4bacad}.gx-ink .ik-tank-row[data-full="1"]{background:#f7dba9;color:#784b29}.gx-ink .ik-tank-row[data-full="1"] .ik-tank::-webkit-meter-optimum-value{background:#c76f55}.gx-ink .ik-actions{display:flex;flex-direction:column;gap:6px}.gx-ink .ik-actions button{min-height:44px}.gx-ink .ik-shell .ik-suck{background:#3d8c8f;border-color:#9be5d9;touch-action:none}.gx-ink .ik-shell .ik-suck[aria-pressed="true"]{background:#307773;border-color:#d2fff0}.gx-ink .ik-shell .ik-eject{background:#73538a;border-color:#cfb0e4}.gx-ink .ik-unavailable{padding:18px;background:#e9f2e9;border:1px solid #88aba5;border-radius:10px;color:#234a59;font-size:15px;line-height:1.7}.gx-ink .ik-shell.ik-expanded .ik-tank-row,.gx-ink .ik-shell:fullscreen .ik-tank-row{padding:3px 12px;min-height:25px}@media(orientation:landscape) and (max-height:600px){.gx-ink .ik-shell.ik-expanded .ik-tank-row,.gx-ink .ik-shell:fullscreen .ik-tank-row{grid-column:1/-1}}

/* Console screens. Native buttons retain touch/keyboard accessibility. */
.gx-ink .ik-shell{--ik-console-font:"MS Gothic","MS PGothic","Hiragino Kaku Gothic ProN",ui-monospace,monospace}
.gx-ink .ik-panel{inset:14px;border:3px solid #f0ddb1;border-radius:0;padding:24px 18px;color:#fff4d5;background:#172540;box-shadow:0 0 0 3px #162135,0 0 0 5px #847657,inset 0 0 0 3px #394463,7px 7px 0 #050d1bd9;font-family:var(--ik-console-font);text-shadow:2px 2px #060b1a;scrollbar-color:#a89b74 #172540}
.gx-ink .ik-panel::before{content:"";position:absolute;inset:5px;pointer-events:none;border:1px solid #8c917f40}
.gx-ink .ik-panel h2{font-family:var(--ik-console-font)!important;font-size:24px!important;letter-spacing:.08em!important;color:#fff0ca!important;text-shadow:2px 2px #3a2c2c,3px 3px #080c19;line-height:1.4!important;margin:5px 0 14px!important}
.gx-ink .ik-panel .ik-subtitle{display:block;font-family:ui-monospace,"Cascadia Mono",monospace;font-size:11px;letter-spacing:.25em;color:#a5c5d0!important}
.gx-ink .ik-panel p{font-family:var(--ik-console-font);color:#e1e4d5;line-height:1.5;margin:10px auto;font-size:13px}
.gx-ink .ik-panel .ik-commands{display:flex;flex-direction:column;gap:2px;width:min(100%,310px);margin:18px auto 8px;text-align:left}
.gx-ink .ik-panel .ik-command,.gx-ink .ik-panel .ik-primary{position:relative;display:block;width:100%;min-width:0;min-height:44px;padding:10px 10px 10px 32px;text-align:left;border:0;border-radius:0;background:transparent;color:#f3eed7;font-family:var(--ik-console-font);font-size:16px;font-weight:700;line-height:1.4;box-shadow:none;text-shadow:2px 2px #060b1a;letter-spacing:.04em;transform:none}
.gx-ink .ik-panel .ik-command:hover:not(:disabled),.gx-ink .ik-panel .ik-primary:hover:not(:disabled){background:#254056;color:#fff2b5;box-shadow:none}
.gx-ink .ik-panel .ik-command::before{content:"";position:absolute;left:11px;top:50%;width:10px;height:14px;transform:translateY(-50%);background:#8de4cf;clip-path:polygon(0 0,40% 0,40% 20%,70% 20%,70% 40%,100% 40%,100% 60%,70% 60%,70% 80%,40% 80%,40% 100%,0 100%);opacity:0}
.gx-ink .ik-panel .ik-command.ik-cursor{background:#20394f;color:#ffe9a6}
.gx-ink .ik-panel .ik-command:hover:not(.ik-cursor){background:transparent;color:#f3eed7}
.gx-ink .ik-panel .ik-command.ik-cursor::before{opacity:1;animation:ik-cursor-flash 1.25s steps(2,end) infinite}
.gx-ink .ik-panel .ik-command:focus-visible{outline:2px solid #e8d895;outline-offset:-2px}
.gx-ink .ik-panel button:active:not(:disabled){transform:none;box-shadow:none}
.gx-ink .ik-panel button[aria-pressed=true]{background:#314657;border-color:#eed89d;color:#fff0bc;box-shadow:inset 0 0 0 1px #eed89d}
.gx-ink .ik-panel .ik-command[aria-pressed=true]{box-shadow:none;background:transparent}
.gx-ink .ik-panel .ik-command.ik-cursor[aria-pressed=true]{background:#20394f}
.gx-ink .ik-panel .ik-options{display:flex;flex-wrap:nowrap;gap:6px;margin:14px auto;max-width:310px}
.gx-ink .ik-panel .ik-options button{flex:1;min-width:44px;min-height:44px;padding:7px 4px;border:2px solid #637787;border-radius:0;background:#121d35;font:700 13px var(--ik-console-font);text-shadow:1px 1px #060b1a;box-shadow:2px 2px #050c19}
.gx-ink .ik-panel .ik-options button[aria-pressed=true]{border-color:#e2ce97;color:#ffe8a5;background:#293c50}
.gx-ink .ik-panel .ik-options button.ik-cursor,.gx-ink .ik-stages button.ik-cursor{outline:2px solid #f8f2d7;outline-offset:-5px}
.gx-ink .ik-panel .ik-menu-foot{margin:20px auto 0;color:#96a6b7;font:10px ui-monospace,monospace;letter-spacing:.15em}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-controls,.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-note,.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-footer{display:none}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-tools [data-act=pause]{display:none}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]){border-radius:0}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-head{background:#142438;box-shadow:none}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-tools button{border-radius:0;background:#1b3045;box-shadow:2px 2px #070e1d;font-family:var(--ik-console-font)}
.gx-ink .ik-shell:is([data-screen=menu],[data-screen=select],[data-screen=settings]) .ik-hud{display:none}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-body{max-width:none;min-height:500px;aspect-ratio:6/5;overflow:hidden}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-canvas{position:absolute;inset:0;object-fit:contain;opacity:.23;filter:saturate(.6)}
.gx-ink .ik-shell[data-screen=menu] .ik-body{min-height:530px;background:#091326}
.gx-ink .ik-shell[data-screen=menu] .ik-head .ik-brand strong{display:none}
.gx-ink .ik-panel[data-kind=menu]{inset:0;border:0;padding:32px 20px 24px;box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(90deg,#071321d9,#101b32ba 50%,#071321d9)}
.gx-ink .ik-panel[data-kind=menu]::before{inset:12px;border:2px solid #b29964;box-shadow:0 0 0 2px #0a1425,inset 0 0 0 2px #0a1425}
.gx-ink .ik-title-art{position:relative;margin:0 0 16px;z-index:1}
.gx-ink .ik-title-cog{position:absolute;width:84px;height:84px;top:24px;left:50%;transform:translateX(-50%);background:#d3b264;opacity:.16;clip-path:polygon(35% 0,65% 0,65% 12%,76% 18%,88% 12%,100% 35%,88% 42%,88% 58%,100% 65%,88% 88%,76% 82%,65% 88%,65% 100%,35% 100%,35% 88%,24% 82%,12% 88%,0 65%,12% 58%,12% 42%,0 35%,12% 12%,24% 18%,35% 12%)}
.gx-ink .ik-panel .ik-title-logo{position:relative;font-family:var(--ik-console-font)!important;font-size:52px!important;font-weight:900!important;line-height:1.14!important;letter-spacing:.12em!important;margin:12px 0 0!important;color:#f8edca!important;text-shadow:2px 0 #f8edca,-1px 0 #f8edca,0 3px #b1763e,0 6px #493239,3px 7px #070d1b}
.gx-ink .ik-title-logo span{display:block}
.gx-ink .ik-panel .ik-title-logo span:last-child{font-size:.8em;letter-spacing:.08em;margin-top:7px;color:#fff0bf}
.gx-ink .ik-panel[data-kind=menu] .ik-commands{border-top:2px solid #867852;border-bottom:2px solid #867852;background:#0e1b30e6;width:260px;max-width:100%;padding:9px 4px;margin:18px auto 10px}
.gx-ink .ik-panel[data-kind=menu] .ik-command{min-height:48px;font-size:18px;padding-left:39px}
.gx-ink .ik-panel[data-kind=menu] .ik-title-record{font:12px var(--ik-console-font);color:#dbd9ba;margin:15px auto 0}
.gx-ink .ik-panel[data-kind=select]{padding:22px 16px}
.gx-ink .ik-panel .ik-stages{grid-template-columns:repeat(4,minmax(44px,1fr));max-width:320px;gap:8px;margin:18px auto 12px}
.gx-ink .ik-panel .ik-stages button{min-height:52px;border:2px solid #6a7c8e;border-radius:0;background:#111d35;box-shadow:3px 3px #060d20;font:700 19px ui-monospace,monospace;line-height:1.1;letter-spacing:.08em;color:#d8e3d9}
.gx-ink .ik-panel .ik-stages button[aria-pressed=true]{border-color:#ffe3a0;background:#3a4a4c;color:#f8edca;box-shadow:inset 0 0 0 2px #141c2c,3px 3px #060d20}
.gx-ink .ik-panel .ik-stages small{font-size:9px;letter-spacing:2px;line-height:1.3}
.gx-ink .ik-panel .ik-room-name{font-size:14px;color:#ead8aa;min-height:21px;margin:8px 0}
.gx-ink .ik-panel[data-kind=select] .ik-commands{margin-top:12px}
.gx-ink .ik-panel[data-kind=select] .ik-menu-foot{display:none}
.gx-ink .ik-shell[data-screen=select] .ik-body{min-height:530px}
.gx-ink .ik-shell[data-screen=paused] .ik-body{min-height:420px}
.gx-ink .ik-panel[data-kind=paused]{inset:50%;width:min(calc(100% - 36px),390px);height:max-content;max-height:calc(100% - 40px);transform:translate(-50%,-50%);padding:24px 20px}
.gx-ink .ik-panel .ik-pause-room{font-size:12px;color:#a8bec7}
.gx-ink .ik-panel[data-kind=paused] .ik-commands{margin-top:16px;margin-bottom:0}
.gx-ink .ik-panel[data-kind=settings]{inset:50%;width:min(calc(100% - 36px),410px);height:max-content;max-height:calc(100% - 40px);transform:translate(-50%,-50%);padding:28px 20px}
.gx-ink .ik-panel .ik-setting-label{color:#a6bfcc;font-size:12px;margin-top:24px}
.gx-ink .ik-panel[data-kind=result]{padding:24px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gx-ink .ik-panel .ik-stars{font-size:27px;line-height:1.1;letter-spacing:8px;color:#ffe095;margin:6px 0 8px;text-shadow:2px 2px #77503e}
.gx-ink .ik-panel .ik-score{font:700 30px ui-monospace,monospace;letter-spacing:.03em;color:#f7edc9;margin:3px 0 12px}
.gx-ink .ik-panel .ik-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px 36px;width:min(100%,260px);margin:0 auto;color:#c6d6dd;font-size:13px;text-align:left}
.gx-ink .ik-result-stats dt,.gx-ink .ik-result-stats dd{margin:0;padding:0;line-height:1.4;font-weight:400}.gx-ink .ik-result-stats dd{text-align:right;color:#fff0cb}
.gx-ink .ik-panel .ik-total{font-size:12px;color:#eed9a5;margin:10px 0 2px}
.gx-ink .ik-panel .ik-reason{margin:20px auto;max-width:22em;color:#e9c8ac}
.gx-ink .ik-panel[data-kind=result] .ik-commands{border-top:1px solid #6b705c;padding-top:7px;margin-top:14px;margin-bottom:0}
.gx-ink .ik-panel .ik-warning{font-size:12px;color:#ffcf9b;margin:8px 0 0}
.gx-ink .ik-footer{justify-content:flex-end}
.gx-ink .ik-shell.ik-expanded[data-screen]:not([data-screen=playing]),.gx-ink .ik-shell:fullscreen[data-screen]:not([data-screen=playing]){grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr)}
.gx-ink .ik-shell.ik-expanded[data-screen]:not([data-screen=playing]) .ik-body,.gx-ink .ik-shell:fullscreen[data-screen]:not([data-screen=playing]) .ik-body{grid-column:1;grid-row:3;min-height:0;aspect-ratio:auto}
.gx-ink .ik-shell.ik-expanded:is([data-screen=menu],[data-screen=select],[data-screen=settings]),.gx-ink .ik-shell:fullscreen:is([data-screen=menu],[data-screen=select],[data-screen=settings]){grid-template-rows:auto minmax(0,1fr)}
.gx-ink .ik-shell.ik-expanded:is([data-screen=menu],[data-screen=select],[data-screen=settings]) .ik-body,.gx-ink .ik-shell:fullscreen:is([data-screen=menu],[data-screen=select],[data-screen=settings]) .ik-body{grid-row:2}
.gx-ink .ik-shell.ik-expanded[data-screen] .ik-panel,.gx-ink .ik-shell:fullscreen[data-screen] .ik-panel{position:absolute;inset:14px;padding:22px 18px;margin:auto;max-width:620px}
.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=menu],.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=menu]{inset:0;max-width:none;padding:24px}
.gx-ink .ik-shell.ik-expanded .ik-panel:is([data-kind=paused],[data-kind=settings]),.gx-ink .ik-shell:fullscreen .ik-panel:is([data-kind=paused],[data-kind=settings]){inset:50%;margin:0;transform:translate(-50%,-50%);padding:22px 18px;max-height:calc(100% - 30px)}
@keyframes ik-cursor-flash{0%,65%{opacity:1}66%,100%{opacity:.3}}
@media(max-width:480px){.gx-ink .ik-panel{inset:12px;padding:20px 12px}.gx-ink .ik-panel h2{font-size:21px!important;letter-spacing:.02em!important}.gx-ink .ik-panel .ik-title-logo{font-size:44px!important;letter-spacing:.12em!important}.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-body{min-height:490px}.gx-ink .ik-shell[data-screen=menu] .ik-body{min-height:510px}.gx-ink .ik-shell[data-screen=paused] .ik-body{min-height:410px}.gx-ink .ik-panel .ik-command{font-size:15px}.gx-ink .ik-panel[data-kind=menu] .ik-command{font-size:17px}.gx-ink .ik-panel .ik-stages{gap:7px;margin-top:16px}.gx-ink .ik-panel .ik-room-name{font-size:12px}.gx-ink .ik-panel .ik-options{gap:5px}.gx-ink .ik-panel .ik-options button{font-size:12px}.gx-ink .ik-panel .ik-menu-foot{font-size:9px}.gx-ink .ik-panel[data-kind=result]{padding:18px 12px}.gx-ink .ik-panel .ik-score{font-size:27px}}
@media(max-width:480px){.gx-ink .ik-shell[data-screen=select] .ik-body{min-height:530px}}
@media(orientation:landscape) and (max-height:600px){
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] .ik-subtitle,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] .ik-subtitle,.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] .ik-menu-foot,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] .ik-menu-foot{display:none}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] h2,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] h2{font-size:20px!important;margin:0 0 4px!important}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] .ik-setting-label,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] .ik-setting-label{margin:6px 0}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] .ik-options,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] .ik-options{margin:6px auto}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=settings] .ik-commands,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=settings] .ik-commands{margin:6px auto 0}
 .gx-ink .ik-shell.ik-expanded[data-screen] .ik-panel,.gx-ink .ik-shell:fullscreen[data-screen] .ik-panel{inset:10px;padding:14px 18px}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=menu],.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=menu]{inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;gap:0 22px;padding:20px 30px}
 .gx-ink .ik-shell.ik-expanded .ik-title-art,.gx-ink .ik-shell:fullscreen .ik-title-art{grid-column:1;grid-row:1;margin:0;align-self:center}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=menu] .ik-commands,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=menu] .ik-commands{grid-column:2;grid-row:1;margin:0;align-self:center}
 .gx-ink .ik-shell.ik-expanded .ik-title-record,.gx-ink .ik-shell:fullscreen .ik-title-record{grid-column:1;grid-row:2;margin:0!important;font-size:10px!important}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=menu] .ik-menu-foot,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=menu] .ik-menu-foot{grid-column:2;grid-row:2;margin:0}
 .gx-ink .ik-shell.ik-expanded .ik-panel:is([data-kind=paused],[data-kind=settings]),.gx-ink .ik-shell:fullscreen .ik-panel:is([data-kind=paused],[data-kind=settings]){inset:50%;padding:12px 18px;max-height:calc(100% - 20px)}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=paused] .ik-subtitle,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=paused] .ik-subtitle{display:none}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=paused] h2,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=paused] h2{font-size:19px!important;margin:0 0 4px!important}
 .gx-ink .ik-shell.ik-expanded .ik-panel .ik-pause-room,.gx-ink .ik-shell:fullscreen .ik-panel .ik-pause-room{margin:2px 0}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=paused] .ik-commands,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=paused] .ik-commands{margin:4px 0 0}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select],.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr auto;gap:3px 24px;align-items:center}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select]>.ik-subtitle,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select]>.ik-subtitle{grid-column:1/-1}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select]>h2,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select]>h2{grid-column:1/-1;font-size:18px!important;margin:0!important}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-stages,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-stages{grid-column:1;grid-row:3/5;margin:0;gap:5px;width:100%}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-stages button,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-stages button{min-height:44px;font-size:15px}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-room-name,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-room-name{grid-column:2;grid-row:3;align-self:start;margin:0;font-size:11px}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-options,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-options{grid-column:2;grid-row:3;align-self:end;margin:0;width:100%}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-commands,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-commands{grid-column:2;grid-row:4;margin:0}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=select] .ik-menu-foot,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=select] .ik-menu-foot{display:none}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result],.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto 1fr;gap:2px 26px;align-items:center}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-subtitle,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-subtitle{grid-column:1;grid-row:1}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>h2,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>h2{grid-column:1;grid-row:2;font-size:19px!important;margin:0!important}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-stars,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-stars{grid-column:1;grid-row:3;font-size:22px;margin:4px 0}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-score,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-score{grid-column:1;grid-row:4;font-size:25px;margin:0}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-result-stats,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-result-stats{grid-column:1;grid-row:5;font-size:12px;gap:2px 12px;max-width:200px}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-commands,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-commands{grid-column:2;grid-row:2/6;border:0;margin:0;padding:0}
 .gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-total,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-total{grid-column:2;grid-row:1;margin:0;font-size:10px}.gx-ink .ik-shell.ik-expanded .ik-panel[data-kind=result]>.ik-reason,.gx-ink .ik-shell:fullscreen .ik-panel[data-kind=result]>.ik-reason{grid-column:1;grid-row:3/6;margin:6px 0;font-size:12px}
 .gx-ink .ik-shell.ik-expanded .ik-panel .ik-warning,.gx-ink .ik-shell:fullscreen .ik-panel .ik-warning{grid-column:1/-1;font-size:10px;margin:0}
}

/* Paper-canyon identity. No external art or font dependency. */
.gx-ink .ik-shell{border-radius:2px;border:3px solid #17374c;box-shadow:0 0 0 2px #b7c8b5,0 10px 28px #0f1d3540}
.gx-ink .ik-head,.gx-ink .ik-controls{background:#203c50;border-color:#86aaa6}
.gx-ink .ik-shell button{border-radius:2px}
.gx-ink .ik-brand strong{font-size:18px;color:#eee3bf}
.gx-ink .ik-hud{background:#162c42;border-top:1px solid #668486;border-bottom:1px solid #668486}
.gx-ink .ik-tank-row{background:#294954;color:#e4eed2;border-bottom:2px solid #112c40}
.gx-ink .ik-tank::-webkit-meter-bar{border-radius:0;background:#122c3e;border-color:#678b8e}
.gx-ink .ik-tank::-webkit-meter-optimum-value{background:#a16ba5}
.gx-ink .ik-note{background:#1a354b;color:#dfd9b8}
.gx-ink .ik-shell[data-screen]:not([data-screen=playing]) .ik-tank-row{display:none}
.gx-ink .ik-panel[data-kind=menu]{background:#152a45;justify-content:center;padding:20px}
.gx-ink .ik-panel[data-kind=menu]::before{border-color:#8bbcb8}
.gx-ink .ik-title-art{width:min(100%,480px);margin:0 auto;position:relative}
.gx-ink .ik-title-scene{display:block;width:100%;height:auto;aspect-ratio:720/340;margin:-7px auto -12px;image-rendering:auto}
.gx-ink .ik-panel .ik-title-logo{font-size:42px!important;line-height:1.05!important;letter-spacing:.04em!important;margin:8px 0 0!important;text-shadow:2px 0 #fff0d0,-1px 0 #fff0d0,0 3px #ad8399,0 6px #493655,3px 7px #081426}
.gx-ink .ik-panel .ik-title-logo span{display:inline}
.gx-ink .ik-panel .ik-title-logo span:last-child{font-size:1em;letter-spacing:inherit;color:inherit;margin:0}
.gx-ink .ik-panel[data-kind=menu] .ik-commands{margin:8px auto;border-color:#6d989e;background:#0f233a}
.gx-ink .ik-panel[data-kind=menu] .ik-title-record{margin:6px auto 0;font-size:11px}
.gx-ink .ik-panel[data-kind=menu] .ik-menu-foot{margin-top:8px}
.gx-ink .ik-shell[data-screen=menu] .ik-body{min-height:560px}
@media(max-width:480px){.gx-ink .ik-shell[data-screen=menu] .ik-body{min-height:500px}.gx-ink .ik-panel .ik-title-logo{font-size:32px!important}.gx-ink .ik-title-logo span{display:block!important}.gx-ink .ik-title-scene{margin:0 auto -5px}.gx-ink .ik-brand strong{font-size:15px}}
@media(orientation:landscape) and (max-height:600px){.gx-ink .ik-shell.ik-expanded .ik-title-scene,.gx-ink .ik-shell:fullscreen .ik-title-scene{max-height:145px;object-fit:contain}.gx-ink .ik-shell.ik-expanded .ik-title-logo,.gx-ink .ik-shell:fullscreen .ik-title-logo{font-size:29px!important}.gx-ink .ik-shell.ik-expanded .ik-title-logo span,.gx-ink .ik-shell:fullscreen .ik-title-logo span{display:block}}

/* Normal embedded screens size to their commands; expanded screens keep viewport fitting. */
.gx-ink .ik-shell:not(.ik-expanded):not(:fullscreen)[data-screen=menu] .ik-body{min-height:580px}
.gx-ink .ik-shell:not(.ik-expanded):not(:fullscreen)[data-screen=select] .ik-body{min-height:530px}
@media(max-width:480px){.gx-ink .ik-shell:not(.ik-expanded):not(:fullscreen)[data-screen=menu] .ik-body{min-height:530px}.gx-ink .ik-shell:not(.ik-expanded):not(:fullscreen)[data-screen=select] .ik-body{min-height:530px}}
