.nebula-game{background:linear-gradient(145deg,#1d2543,#0d162b);border:1px solid #8d72da55;border-radius:20px;width:100%;min-width:0;padding:12px;box-shadow:0 20px 60px #03091a33}.nebula-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.nebula-top>span{color:#c4b2ed;letter-spacing:.12em;font-size:9px;font-weight:700}.nebula-game button{font:inherit;cursor:pointer;touch-action:manipulation;min-height:44px}.nebula-game button:disabled{opacity:.45;cursor:default}.nebula-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0 2px 10px;display:grid}.nebula-hud span{letter-spacing:.1em;color:#b8c4e0;margin-bottom:3px;font-size:8px;display:block}.nebula-hud strong{color:#ecedff;font-variant-numeric:tabular-nums;font-size:clamp(16px,4.2vw,23px);line-height:1.2;display:block}.nebula-hud>div:first-child strong{color:#a9f5ff}.nebula-hud [data-nb-lives]{color:#f17cff;letter-spacing:1px;white-space:nowrap;font-size:17px}.nebula-stage{aspect-ratio:auto;background:#070e24;border:1px solid #7585bb55;border-radius:15px;width:min(100%,max(180px,60svh - 196.8px));max-width:360px;margin:0 auto;position:relative;overflow:hidden}.nebula-stage canvas{aspect-ratio:3/5;touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.nebula-overlay{text-align:center;background:linear-gradient(#08102588,#080e23e8);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex;position:absolute;inset:0}.nebula-overlay[hidden],.nebula-summary[hidden]{display:none}.nebula-badge{letter-spacing:.12em;color:#c1b1ed;font-size:8px;font-weight:800}.nebula-overlay h2{text-transform:uppercase;letter-spacing:-.04em;color:#d5faff;text-shadow:0 3px #35296d;margin:3px 0;font-size:clamp(24px,5.5vw,38px);font-style:italic;line-height:1.02}.nebula-overlay h2 em{color:#dc88ff;display:block}.nebula-overlay p{color:#d4dcf2;white-space:pre-line;margin:0;font-size:12px;line-height:1.5}.nebula-primary{color:#fff;background:linear-gradient(110deg,#b244ef,#7924ef);border:1px solid #db88ff66;border-radius:24px;width:100%;max-width:240px;padding:10px;box-shadow:0 4px 24px #a12cff33;font-weight:750!important}.nebula-overlay a{color:#c6b6ee;padding:6px;font-size:12px}.nebula-guide{color:#adbdda;font-size:9px}.nebula-summary{background:#0a142be6;border:1px solid #b47afa33;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:0;padding:8px;display:grid}.nebula-summary dt{color:#aebcd9;font-size:9px}.nebula-summary dd{color:#f1efff;margin:0;font-size:17px;font-weight:750}.nebula-controls{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.nebula-controls>button:not(.game-icon-button){color:#e9d8ff;-webkit-user-select:none;user-select:none;touch-action:none;background:linear-gradient(#6d438b88,#271941);border:1px solid #af87e9;border-radius:28px;min-width:80px;padding:8px 14px}.nebula-status{text-align:center;color:#acbbd7;min-height:17px;margin:8px 0 0;font-size:10px;line-height:1.4}@media (width<=360px){.nebula-game{padding:10px}.nebula-overlay{gap:6px;padding:10px}.nebula-overlay h2{font-size:23px}.nebula-guide{display:none}.nebula-overlay p{font-size:11px}.nebula-summary{gap:5px;padding:6px}}@media (width>=700px){.nebula-stage{width:min(100%,360px)}}.game-viewport.is-expanded .nebula-stage{width:min(100%,60dvh - 143.4px);max-width:480px}@media (orientation:portrait){.game-viewport.is-expanded>.nebula-game{flex-direction:column;min-height:100%;display:flex}.game-viewport.is-expanded .nebula-stage{margin:auto}}@media (orientation:landscape) and (height<=650px){.game-viewport.is-expanded>.nebula-game{grid-template-columns:minmax(0,1fr) minmax(170px,230px)}.game-viewport.is-expanded .nebula-stage{grid-area:1/1/span 6;width:min(100%,60dvh - 25.2px);margin:auto}.game-viewport.is-expanded .nebula-top{grid-area:1/2}.game-viewport.is-expanded .nebula-top>span{display:none}.game-viewport.is-expanded .nebula-hud{grid-area:2/2;grid-template-columns:1fr 1fr;gap:10px}.game-viewport.is-expanded .nebula-controls{flex-wrap:wrap;grid-area:3/2;gap:6px}.game-viewport.is-expanded .nebula-status{grid-area:4/2}}.nebula-overlay:not([hidden]){animation:.18s ease-out nebula-reveal}@keyframes nebula-reveal{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.nebula-overlay:not([hidden]){animation:none}}@media (width<=699px){.nebula-barrage-page .header-inner{min-height:56px}.nebula-barrage-page .game-heading{justify-content:space-between;align-items:center;gap:8px;padding:4px 0 10px;display:flex}.nebula-barrage-page .game-heading .back-link{flex-shrink:0;margin:0}.nebula-barrage-page .game-heading h1{margin:0;font-size:clamp(21px,5.7vw,25px)}.nebula-barrage-page .game-heading .tag-row,.nebula-barrage-page .game-heading>p{display:none}.nebula-stage{width:min(100%,max(156px,60svh - 194.4px))}}.nebula-stage{container-type:inline-size}.nebula-overlay a{justify-content:center;align-items:center;min-height:44px;display:inline-flex}@container (width<=240px){.nebula-overlay{gap:6px;padding:10px}.nebula-overlay h2{font-size:24px}.nebula-guide,.nebula-game[data-mode=game-over] [data-nb-detail]{display:none}.nebula-summary{gap:6px;padding:6px}.nebula-summary dt{font-size:8px;line-height:1.15}.nebula-summary dd{font-size:14px;line-height:1.2}}.nebula-power{color:#acf6ff;text-align:center;min-height:12px;margin:0 0 8px;font-size:9px;line-height:1.3}@media (orientation:landscape) and (height<=650px){.game-viewport.is-expanded .nebula-power{grid-area:5/2}}@container (width<=190px){.nebula-overlay p{font-size:10px;line-height:1.3}.nebula-overlay h2{font-size:21px}.nebula-overlay{gap:4px;padding:8px}.nebula-game[data-mode=ready] [data-nb-browse]{display:none}}
