.gx-lights{position:relative;width:100%;margin:18px auto 30px;max-width:840px;color:#e8f7ff;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;isolation:isolate}.gx-lights *{box-sizing:border-box}.gx-lights [hidden]{display:none!important}.gx-lights button,.gx-lights select{font:inherit;touch-action:manipulation}.gx-lights button{cursor:pointer;border:1px solid #7596a9;border-radius:7px;background:#18384d;color:#eaf8ff;padding:9px 12px;line-height:1.3;transition:background .12s,transform .12s,border-color .12s}.gx-lights button:hover{background:#285269;border-color:#c1efff}.gx-lights button:active{transform:translateY(1px)}.gx-lights button:disabled{opacity:.4;cursor:default;transform:none}.gx-lights :focus-visible{outline:3px solid #a5f3ff;outline-offset:3px}.gx-lights h2.lo-title{color:#f1faff;font-size:clamp(21px,4vw,31px);line-height:1.35;font-weight:900;margin:0;padding:0;border:0;background:none;text-align:center;box-shadow:none}.gx-lights p{margin:0;line-height:1.5}.gx-lights .lo-shell{position:relative;border:1px solid #7897a8;background:linear-gradient(130deg,#264355,#0e2436 48%,#253848);border-radius:14px;padding:14px;box-shadow:0 12px 30px #071c3529,inset 0 0 0 3px #0b1b2c;overflow:hidden}.gx-lights .lo-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.gx-lights .lo-brand{line-height:1}.gx-lights .lo-brand small{display:block;font-size:9px;letter-spacing:.16em;color:#8ed8e6;margin-bottom:5px}.gx-lights .lo-brand strong{font-size:clamp(23px,5vw,34px);font-weight:950;letter-spacing:.025em;color:#ffcf76;text-shadow:0 2px #071b2a}.gx-lights .lo-tools{display:flex;gap:6px}.gx-lights .lo-tools button{font-size:11px;min-height:35px;padding:6px 9px;white-space:nowrap}.gx-lights .lo-hud{display:grid;grid-template-columns:1.2fr .8fr 1fr 1fr;gap:7px;margin-bottom:10px}.gx-lights .lo-hud>div{background:#081b2c;border:1px solid #5a7b8f;border-radius:6px;padding:7px 10px;min-width:0}.gx-lights .lo-hud span{display:block;font-size:10px;color:#adccd9}.gx-lights .lo-hud strong{display:block;font-size:clamp(17px,4vw,25px);color:#ffda8f;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap}
.gx-lights .lo-stage{position:relative;min-height:455px;padding:18px 30px 22px;overflow:hidden;border:1px solid #477184;border-radius:9px;background:#0a1e2e}.gx-lights .lo-reactor{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.gx-lights .lo-play{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;z-index:1;max-width:540px;margin:auto}.gx-lights .lo-mission{display:flex;justify-content:space-between;gap:10px;width:100%;font-size:11px;color:#bfe5ed;letter-spacing:.05em;min-height:17px}.gx-lights .lo-mission span:last-child{color:#ffce79}.gx-lights .lo-grid{--n:4;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(5px,1.4vw,10px);width:min(100%,425px);aspect-ratio:1;background:#071726b3;padding:10px;border:2px solid #7494a3;border-radius:11px;box-shadow:0 8px 18px #0007,inset 0 0 0 4px #203e50}.gx-lights .lo-cell{position:relative;min-width:0;min-height:0;padding:0;border-radius:7px;border:2px solid #628395;background:linear-gradient(145deg,#213c50,#10283c);box-shadow:0 3px 0 #030e1b,inset 0 1px #86b5c035;display:flex;justify-content:center;align-items:center;overflow:visible;transition:background .16s,border-color .16s,box-shadow .16s}.gx-lights .lo-cell:disabled{opacity:1}.gx-lights .lo-cell:hover{background:#244e62;border-color:#b4d8e5}.gx-lights .lo-power{position:absolute;font-family:Arial,sans-serif;font-size:clamp(22px,5vw,45px);font-weight:500;line-height:1;color:#89b4c9;z-index:1;text-shadow:none}.gx-lights .lo-cell.is-lit{background:linear-gradient(140deg,#fff3b2,#f4b54d 55%,#cb752d);border-color:#fff4c8;box-shadow:0 3px #8e4e26,0 0 16px #f7ba475c,inset 0 0 10px #fff4b380}.gx-lights .is-lit .lo-power{color:#4b3316;text-shadow:0 1px #fff0ad}.gx-lights .lo-core{width:54%;height:54%;border:1px solid #4b7d8f;border-radius:50%;background:#0d2437;box-shadow:inset 0 2px 4px #0007}.gx-lights .is-lit .lo-core{background:#f5c464;border-color:#c8943d;box-shadow:inset 0 2px 4px #9d602d55}.gx-lights .lo-coordinate{position:absolute;bottom:4px;right:5px;font:9px ui-monospace,monospace;color:#a9c6d3}.gx-lights .is-lit .lo-coordinate{color:#513a22}.gx-lights .lo-cell.is-hint{outline:3px solid #9ceaff;outline-offset:2px;z-index:2;animation:lo-hint 1.1s ease-in-out infinite}.gx-lights .lo-cell:focus-visible{outline:3px solid #f5faff;outline-offset:3px;z-index:3}.gx-lights .lo-cell.is-pulse{animation:lo-pulse .25s ease-out}.gx-lights .lo-message{min-height:22px;text-align:center;font-size:14px;font-weight:800;color:#e3f9ff;text-shadow:0 2px #071b2a}.gx-lights .lo-timer{position:relative;width:100%;height:23px;background:#041522;border:1px solid #728e9c;border-radius:5px;overflow:hidden}.gx-lights .lo-timer i{position:absolute;inset:0;background:linear-gradient(90deg,#207f92,#56cbd1);transform-origin:left}.gx-lights .lo-timer span{position:relative;display:block;text-align:center;font-size:12px;font-weight:800;color:#fff;text-shadow:0 1px 2px #00202f;line-height:21px}.gx-lights .lo-timer.is-urgent i{background:linear-gradient(90deg,#b36c24,#ffd16c)}.gx-lights .lo-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.gx-lights .lo-controls button{min-height:46px;background:linear-gradient(#28566b,#1a3d52);border-color:#8bb8c6;font-weight:800;font-size:14px}.gx-lights .lo-footer{display:flex;justify-content:space-between;gap:7px;margin-top:10px;font-size:10px;color:#a8cbd8;min-height:15px}.gx-lights .lo-status{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.gx-lights .lo-panel{position:absolute;inset:12px;z-index:4;padding:clamp(14px,4vw,28px);display:flex;flex-direction:column;justify-content:center;gap:14px;background:linear-gradient(140deg,#203e50fc,#0b2336fc 70%,#2a3a44fc);border:1px solid #8db8c8;border-radius:10px;overflow:auto;overscroll-behavior:contain;box-shadow:0 10px 35px #0008}.gx-lights .lo-panel>*{flex-shrink:0}.gx-lights .lo-eyebrow{color:#8ddce7;font-size:10px;letter-spacing:.18em;text-align:center}.gx-lights .lo-note{font-size:12px;text-align:center;color:#c4dce7}.gx-lights .lo-modes{display:grid;gap:8px}.gx-lights .lo-modes button{display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:47px;gap:8px}.gx-lights .lo-modes strong{font-size:15px;white-space:nowrap}.gx-lights .lo-modes span{font-size:11px;color:#bcdae7}.gx-lights .lo-modes button[aria-pressed=true]{border-color:#ffdc8b;box-shadow:inset 3px 0 #ffcf76;background:#43483d}.gx-lights .lo-difficulty{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#d9ecf5;gap:12px}.gx-lights select{width:65%;min-height:39px;background:#102b3d;color:#eefaff;border:1px solid #89b3c3;padding:6px 10px;border-radius:6px}.gx-lights .lo-primary{min-height:47px;font-weight:900;font-size:17px;background:linear-gradient(#ffe49e,#edb15b);border-color:#fff0b8;color:#3a2d1b;box-shadow:0 3px #82522d}.gx-lights .lo-primary:hover{background:#ffe3a1;color:#302314}.gx-lights .lo-secondary{min-height:37px;font-size:12px}.gx-lights .lo-stage:has(.lo-panel:not([hidden])){min-height:435px}.gx-lights .lo-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gx-lights .lo-equipment button{min-width:0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:10px 5px;border-color:#7aa8b7;background:linear-gradient(#294d60,#162e42)}.gx-lights .lo-equipment b{font-size:35px;line-height:1;color:#ffce78}.gx-lights .lo-equipment strong{font-size:14px}.gx-lights .lo-equipment span{font-size:11px;line-height:1.5;color:#d5e5eb}.gx-lights .lo-points{display:flex;flex-direction:column;align-items:center;color:#ffd785;gap:2px}.gx-lights .lo-points strong{font-size:clamp(36px,8vw,58px);line-height:1.1;font-weight:950;font-variant-numeric:tabular-nums}.gx-lights .lo-points span{font-size:10px;letter-spacing:.18em}.gx-lights .lo-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gx-lights .lo-result-stats>div{display:flex;flex-direction:column;padding:8px 12px;background:#061b2ab3;border:1px solid #678c9e;border-radius:6px}.gx-lights .lo-result-stats span{font-size:10px;color:#b1d6e0}.gx-lights .lo-result-stats strong{font-size:21px;color:#f3faff}.gx-lights .lo-record-note{text-align:center;font-size:12px;color:#ffdc91}.gx-lights .lo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gx-lights .lo-actions button{font-size:14px}
.gx-lights .lo-shell:fullscreen,.gx-lights .lo-expanded{width:100vw;height:100dvh;max-width:none;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:5px;border:0;border-radius:0;background:#10283a}.gx-lights .lo-expanded{position:fixed;inset:0;z-index:2147483000}.gx-lights .lo-shell:fullscreen .lo-head,.gx-lights .lo-expanded .lo-head,.gx-lights .lo-shell:fullscreen .lo-hud,.gx-lights .lo-expanded .lo-hud,.gx-lights .lo-shell:fullscreen .lo-controls,.gx-lights .lo-expanded .lo-controls,.gx-lights .lo-shell:fullscreen .lo-footer,.gx-lights .lo-expanded .lo-footer{margin:0}.gx-lights .lo-shell:fullscreen .lo-stage,.gx-lights .lo-expanded .lo-stage{min-height:0;padding:8px 18px;container-type:size}.gx-lights .lo-shell:fullscreen .lo-play,.gx-lights .lo-expanded .lo-play{height:100%;gap:6px;max-width:660px;justify-content:center}.gx-lights .lo-shell:fullscreen .lo-grid,.gx-lights .lo-expanded .lo-grid{width:min(100%,calc(100cqh - 95px));gap:clamp(3px,1cqh,8px);padding:7px}.gx-lights .lo-shell:fullscreen .lo-panel,.gx-lights .lo-expanded .lo-panel{inset:6px;max-width:620px;height:max-content;max-height:calc(100% - 12px);margin:auto;padding:12px;gap:9px}.gx-lights .lo-shell:fullscreen .lo-modes,.gx-lights .lo-expanded .lo-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gx-lights .lo-shell:fullscreen .lo-modes button,.gx-lights .lo-expanded .lo-modes button{display:block;text-align:center;min-height:40px;padding:6px}.gx-lights .lo-shell:fullscreen .lo-modes span,.gx-lights .lo-expanded .lo-modes span,.gx-lights .lo-shell:fullscreen .lo-panel[data-kind=menu] .lo-note,.gx-lights .lo-expanded .lo-panel[data-kind=menu] .lo-note{display:none}.gx-lights .lo-shell:fullscreen .lo-primary,.gx-lights .lo-expanded .lo-primary{min-height:37px;font-size:14px}
@media(max-width:480px){.gx-lights .lo-shell{padding:9px;border-radius:10px}.gx-lights .lo-head{gap:5px}.gx-lights .lo-brand strong{font-size:24px}.gx-lights .lo-brand small{font-size:8px;letter-spacing:.03em}.gx-lights .lo-tools{gap:4px}.gx-lights .lo-tools button{font-size:10px;padding:6px;min-height:34px}.gx-lights .lo-hud{gap:4px}.gx-lights .lo-hud>div{padding:6px 5px}.gx-lights .lo-hud span{font-size:9px}.gx-lights .lo-stage{padding:13px 17px 17px;min-height:0}.gx-lights .lo-play{gap:12px}.gx-lights .lo-mission{font-size:10px}.gx-lights .lo-grid{padding:7px;gap:6px}.gx-lights .lo-grid[data-size="6"]{gap:5px;padding:6px}.gx-lights .lo-grid[data-size="6"] .lo-power{font-size:23px}.gx-lights .lo-grid[data-size="6"] .lo-coordinate{font-size:7px;bottom:2px;right:3px}.gx-lights .lo-message{font-size:12px}.gx-lights .lo-panel{inset:8px;padding:14px;gap:11px}.gx-lights .lo-modes button{display:block;min-height:49px}.gx-lights .lo-modes span{display:block;margin-top:3px}.gx-lights .lo-modes strong{font-size:14px}.gx-lights .lo-stage:has(.lo-panel:not([hidden])){min-height:430px}.gx-lights .lo-note{font-size:11px}.gx-lights .lo-equipment{gap:5px}.gx-lights .lo-equipment strong{font-size:11px}.gx-lights .lo-equipment span{font-size:10px}.gx-lights .lo-equipment button{min-height:135px;gap:10px}.gx-lights .lo-controls button{font-size:12px}.gx-lights .lo-footer{font-size:9px}.gx-lights .lo-record-note{font-size:10px}}
@media(max-width:359px){.gx-lights .lo-head{display:block}.gx-lights .lo-tools{justify-content:flex-end;margin-top:5px}.gx-lights .lo-title{font-size:21px!important}.gx-lights .lo-stage{padding:11px 12px 15px}.gx-lights .lo-grid{gap:5px}.gx-lights .lo-grid[data-size="6"]{gap:4px;padding:5px}.gx-lights .lo-grid[data-size="6"] .lo-power{font-size:20px}.gx-lights .lo-coordinate{font-size:7px;bottom:2px;right:3px}.gx-lights .lo-mission{font-size:9px}.gx-lights .lo-result-stats{gap:5px}.gx-lights .lo-result-stats>div{padding:6px 8px}}
@media(max-height:500px) and (orientation:landscape){.gx-lights .lo-shell:fullscreen,.gx-lights .lo-expanded{grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:5px}.gx-lights .lo-shell:fullscreen .lo-head,.gx-lights .lo-expanded .lo-head{grid-column:1;display:block}.gx-lights .lo-shell:fullscreen .lo-brand strong,.gx-lights .lo-expanded .lo-brand strong{font-size:25px}.gx-lights .lo-shell:fullscreen .lo-tools,.gx-lights .lo-expanded .lo-tools{margin-top:5px}.gx-lights .lo-shell:fullscreen .lo-hud,.gx-lights .lo-expanded .lo-hud{grid-column:1;grid-row:2;grid-template-columns:1fr 1fr}.gx-lights .lo-shell:fullscreen .lo-hud>div,.gx-lights .lo-expanded .lo-hud>div{padding:4px 7px}.gx-lights .lo-shell:fullscreen .lo-hud strong,.gx-lights .lo-expanded .lo-hud strong{font-size:19px}.gx-lights .lo-shell:fullscreen .lo-stage,.gx-lights .lo-expanded .lo-stage{grid-column:2;grid-row:1/-1;padding:5px 9px}.gx-lights .lo-shell:fullscreen .lo-controls,.gx-lights .lo-expanded .lo-controls{grid-column:1;grid-row:3;align-content:center}.gx-lights .lo-shell:fullscreen .lo-controls button,.gx-lights .lo-expanded .lo-controls button{font-size:11px;padding:7px 4px;min-height:40px}.gx-lights .lo-shell:fullscreen .lo-footer,.gx-lights .lo-expanded .lo-footer{grid-column:1;grid-row:4;display:block;font-size:9px}.gx-lights .lo-shell:fullscreen .lo-footer span,.gx-lights .lo-expanded .lo-footer span{display:block}.gx-lights .lo-shell:fullscreen .lo-play,.gx-lights .lo-expanded .lo-play{gap:3px}.gx-lights .lo-shell:fullscreen .lo-grid,.gx-lights .lo-expanded .lo-grid{width:min(100%,calc(100cqh - 68px));padding:5px;gap:3px}.gx-lights .lo-shell:fullscreen .lo-power,.gx-lights .lo-expanded .lo-power{font-size:clamp(16px,6cqh,30px)}.gx-lights .lo-shell:fullscreen .lo-coordinate,.gx-lights .lo-expanded .lo-coordinate{font-size:7px;bottom:1px;right:2px}.gx-lights .lo-shell:fullscreen .lo-message,.gx-lights .lo-expanded .lo-message{font-size:10px;min-height:15px}.gx-lights .lo-shell:fullscreen .lo-mission,.gx-lights .lo-expanded .lo-mission{font-size:9px;min-height:12px}.gx-lights .lo-shell:fullscreen .lo-timer,.gx-lights .lo-expanded .lo-timer{height:18px}.gx-lights .lo-shell:fullscreen .lo-timer span,.gx-lights .lo-expanded .lo-timer span{line-height:16px;font-size:10px}.gx-lights .lo-shell:fullscreen .lo-panel,.gx-lights .lo-expanded .lo-panel{gap:7px;padding:10px}.gx-lights .lo-shell:fullscreen .lo-title,.gx-lights .lo-expanded .lo-title{font-size:18px!important}.gx-lights .lo-shell:fullscreen .lo-eyebrow,.gx-lights .lo-expanded .lo-eyebrow{font-size:8px}.gx-lights .lo-shell:fullscreen .lo-modes,.gx-lights .lo-expanded .lo-modes{grid-template-columns:1fr;gap:4px}.gx-lights .lo-shell:fullscreen .lo-modes button,.gx-lights .lo-expanded .lo-modes button{min-height:27px;padding:4px}.gx-lights .lo-shell:fullscreen .lo-modes strong,.gx-lights .lo-expanded .lo-modes strong{font-size:11px}.gx-lights .lo-shell:fullscreen .lo-difficulty,.gx-lights .lo-expanded .lo-difficulty{font-size:10px}.gx-lights .lo-shell:fullscreen select,.gx-lights .lo-expanded select{min-height:28px;font-size:10px;padding:3px}.gx-lights .lo-shell:fullscreen .lo-primary,.gx-lights .lo-expanded .lo-primary{min-height:31px;font-size:12px}.gx-lights .lo-shell:fullscreen .lo-equipment,.gx-lights .lo-expanded .lo-equipment{gap:4px}.gx-lights .lo-shell:fullscreen .lo-equipment button,.gx-lights .lo-expanded .lo-equipment button{min-height:100px;padding:5px 3px;gap:7px}.gx-lights .lo-shell:fullscreen .lo-equipment b,.gx-lights .lo-expanded .lo-equipment b{font-size:24px}.gx-lights .lo-shell:fullscreen .lo-equipment strong,.gx-lights .lo-expanded .lo-equipment strong{font-size:10px}.gx-lights .lo-shell:fullscreen .lo-equipment span,.gx-lights .lo-expanded .lo-equipment span{font-size:9px}.gx-lights .lo-shell:fullscreen .lo-points strong,.gx-lights .lo-expanded .lo-points strong{font-size:32px}.gx-lights .lo-shell:fullscreen .lo-result-stats>div,.gx-lights .lo-expanded .lo-result-stats>div{padding:4px 7px}.gx-lights .lo-shell:fullscreen .lo-result-stats strong,.gx-lights .lo-expanded .lo-result-stats strong{font-size:16px}.gx-lights .lo-shell:fullscreen .lo-record-note,.gx-lights .lo-expanded .lo-record-note{font-size:9px}.gx-lights .lo-shell:fullscreen .lo-actions button,.gx-lights .lo-expanded .lo-actions button{font-size:10px}.gx-lights .lo-shell:fullscreen .lo-secondary,.gx-lights .lo-expanded .lo-secondary{min-height:28px;font-size:10px}}
.gx-lights{font-size:14px;font-weight:600;line-height:1.45;scroll-margin-top:100px;text-align:left}.gx-lights button,.gx-lights select{margin:0;letter-spacing:normal;text-transform:none}.gx-lights h2.lo-title{color:#f1faff!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.gx-lights .lo-title:before,.gx-lights .lo-title:after{content:none!important;display:none!important}
@keyframes lo-pulse{0%{filter:brightness(1.5)}100%{filter:brightness(1)}}@keyframes lo-hint{50%{outline-color:#fff;box-shadow:0 0 18px #80dfff}}
@media(prefers-reduced-motion:reduce){.gx-lights *{animation:none!important;transition:none!important}}

.gx-lights.lo-portal{position:fixed;inset:0;z-index:2147483000;width:100vw;height:100dvh;max-width:none;margin:0;isolation:isolate}

.gx-lights .lo-expanded .lo-stage:has(.lo-panel:not([hidden])),.gx-lights .lo-shell:fullscreen .lo-stage:has(.lo-panel:not([hidden])){min-height:0}
