
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap');
:root {
color-scheme: light dark;
--page: #e9edf0;
--panel: #f8fafb;
--ink: #13212a;
--muted: #52616b;
--line: #bbc6cc;
--accent: #d76719;
--accent-2: #0c7592;
--button: #18313e;
--button-ink: #ffffff;
--shadow: 0 18px 55px rgba(30, 50, 60, .18);
}
@media (prefers-color-scheme: dark) {
:root {
--page: #07131a;
--panel: #0d1f29;
--ink: #f1f6f7;
--muted: #abc0ca;
--line: #294551;
--accent: #ff883b;
--accent-2: #39bada;
--button: #e8f2f4;
--button-ink: #10212a;
--shadow: 0 20px 70px rgba(0, 0, 0, .45);
}
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); }
body {
margin: 0;
min-height: 100vh;
min-height: 100svh;
color: var(--ink);
background:
linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--line) 22%, transparent) 48% 49%, transparent 49%) 0 0 / 42px 42px,
var(--page);
font-family: Barlow, system-ui, sans-serif;
display: grid;
place-items: center;
padding: clamp(14px, 3vw, 34px);
}
main { width: min(1100px, 100%); }
.briefing {
display: flex;
align-items: end;
justify-content: space-between;
gap: 24px;
margin: 0 2px 14px;
}
h1 {
font-family: "Barlow Condensed", sans-serif;
text-transform: uppercase;
letter-spacing: .025em;
font-size: clamp(30px, 5vw, 52px);
line-height: .92;
margin: 0;
}
.briefing p { margin: 7px 0 0; color: var(--muted); font-size: 15px; }
.sector {
color: var(--accent);
font-family: "Barlow Condensed", sans-serif;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
white-space: nowrap;
padding-bottom: 4px;
}
.game-shell {
background: var(--panel);
border: 1px solid var(--line);
box-shadow: var(--shadow);
overflow: hidden;
overscroll-behavior: contain;
position: relative;
-webkit-user-select: none;
user-select: none;
-webkit-touch-callout: none;
}
.game-shell button {
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.hud {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
align-items: center;
min-height: 58px;
border-bottom: 1px solid var(--line);
padding: 9px 13px 9px 18px;
gap: 12px;
background: var(--panel);
}
.hud.has-credits { grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; }
.stat[hidden] { display: none; }
.stat small {
display: block;
font-size: 10px;
color: var(--muted);
text-transform: uppercase;
letter-spacing: .12em;
font-weight: 700;
}
.stat strong {
font-family: "Barlow Condensed", sans-serif;
font-size: 22px;
letter-spacing: .04em;
font-variant-numeric: tabular-nums;
}
.icon-btn {
appearance: none;
border: 1px solid var(--line);
background: transparent;
color: var(--ink);
width: 50px;
height: 38px;
display: grid;
place-items: center;
cursor: pointer;
font: 800 12px/1 "Barlow Condensed", sans-serif;
letter-spacing: .04em;
}
.icon-btn[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
.icon-btn:hover, .icon-btn:focus-visible { border-color: var(--accent-2); outline: 2px solid color-mix(in srgb, var(--accent-2) 35%, transparent); }
.fullscreen-status {
position: absolute;
z-index: 1200;
top: 68px;
right: 12px;
max-width: min(330px, calc(100% - 24px));
padding: 9px 12px;
color: #eef8fa;
background: rgba(8, 24, 33, .94);
border: 1px solid rgba(141, 206, 222, .62);
font-size: 13px;
line-height: 1.35;
box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.fullscreen-status[hidden] { display: none; }
.stage { position: relative; background: #152f3d; }
canvas {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 7;
touch-action: none;
-webkit-filter: grayscale(0);
filter: grayscale(0);
-webkit-transition: -webkit-filter .5s ease;
transition: filter .5s ease;
}
canvas.impact-stun-reset {
-webkit-filter: grayscale(0);
filter: grayscale(0);
-webkit-transition: none;
transition: none;
}
canvas.impact-stun {
-webkit-filter: grayscale(1);
filter: grayscale(1);
-webkit-transition-duration: .4s;
transition-duration: .4s;
}
canvas.highlight-replay {
-webkit-filter: grayscale(1);
filter: grayscale(1);
-webkit-transition: none;
transition: none;
}
.overlay {
position: absolute;
inset: 0;
display: grid;
place-items: center;
padding: 18px;
background: rgba(5, 17, 24, .38);
transition: opacity .18s ease;
}
.overlay[hidden] { display: none; }
.mission-card {
width: min(610px, 94%);
max-height: calc(100% - 24px);
color: #eef8fa;
background: rgba(8, 24, 33, .91);
border: 1px solid rgba(141, 206, 222, .52);
padding: clamp(18px, 2.4vw, 24px) clamp(26px, 4vw, 38px);
text-align: center;
box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
display: flex;
flex-direction: column;
}
.mission-card .tag {
display: inline-block;
color: #67d5eb;
border: 1px solid #357b8c;
padding: 4px 8px;
font: 700 11px/1 Barlow, sans-serif;
letter-spacing: .13em;
text-transform: uppercase;
margin-bottom: 12px;
}
.mission-card h2 {
margin: 0;
font-family: "Barlow Condensed", sans-serif;
text-transform: uppercase;
font-size: clamp(31px, 6vw, 48px);
line-height: .95;
letter-spacing: .025em;
}
.mission-card p { color: #c8d8dd; line-height: 1.45; margin: 15px auto 22px; max-width: 42ch; }
.crawl-viewport {
display: none;
width: min(390px, 100%);
min-height: 104px;
margin: 10px auto 15px;
position: relative;
z-index: 3;
overflow: visible;
}
.crawl-viewport.active { display: grid; place-items: center; }
.crawl-text {
color: #ffd452;
font-family: "Barlow Condensed", sans-serif;
font-weight: 800;
line-height: .92;
letter-spacing: .06em;
text-align: center;
text-transform: uppercase;
font-variant-numeric: tabular-nums;
}
.score-kicker,
.score-unit,
.score-intel { display: block; }
.score-kicker { color: #8edcea; font-size: 13px; letter-spacing: .18em; }
.crawl-text strong {
display: block;
margin: 2px 0 0;
color: #fff0a5;
font-size: clamp(62px, 9vw, 88px);
line-height: .78;
letter-spacing: .025em;
text-shadow: 0 0 22px rgba(255, 212, 82, .42), 0 3px 0 rgba(0, 0, 0, .35);
}
.score-unit { color: #fff0a5; font-size: 20px; letter-spacing: .15em; }
.score-intel { margin-top: 9px; color: #c8d8dd; font: 700 13px/1.1 Barlow, sans-serif; letter-spacing: .07em; }
.score-credits { display: block; margin-top: 7px; color: #ffe48a; font: 800 14px/1.1 "Barlow Condensed", sans-serif; letter-spacing: .07em; }
.score-credits[hidden] { display: none; }
.daily-challenge {
margin: 2px auto 10px;
width: min(520px, 100%);
padding: 7px 10px;
color: #fff5c8;
background: linear-gradient(100deg, rgba(83, 55, 5, .78), rgba(34, 31, 18, .88));
border: 1px solid rgba(255, 211, 76, .72);
text-align: left;
box-shadow: inset 0 0 24px rgba(255, 191, 40, .06);
}
.daily-challenge[hidden] { display: none; }
.daily-challenge-head {
display: flex;
align-items: start;
justify-content: space-between;
gap: 12px;
}
.daily-kicker {
display: block;
margin-bottom: 2px;
color: #ffd34c;
font: 800 8px/1 Barlow, sans-serif;
letter-spacing: .14em;
text-transform: uppercase;
}
.daily-challenge h3 {
margin: 0;
color: #fff9df;
font: 800 15px/1 "Barlow Condensed", sans-serif;
letter-spacing: .035em;
text-transform: uppercase;
}
.daily-challenge > p { margin: 3px 0 5px; color: #dfd6ad; font-size: 10px; line-height: 1.2; }
.daily-reward {
flex: 0 0 auto;
padding: 3px 5px;
color: #2d2106;
background: #ffd34c;
font: 800 10px/1 "Barlow Condensed", sans-serif;
letter-spacing: .04em;
white-space: nowrap;
}
.daily-reward[hidden] { display: none; }
.daily-progress-row {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 3px;
color: #fff1ae;
font: 700 9px/1.1 Barlow, sans-serif;
font-variant-numeric: tabular-nums;
}
.daily-countdown { color: #cbbf8d; white-space: nowrap; }
.daily-progress {
height: 4px;
overflow: hidden;
background: rgba(255, 255, 255, .12);
border: 0;
}
.daily-progress span { display: block; width: 0; height: 100%; background: #ffd34c; transition: width .28s ease; }
.daily-actions { display: flex; align-items: center; justify-content: flex-end; min-height: 0; margin-top: 4px; }
.daily-actions:has(.daily-claim[hidden]):has(.daily-completed[hidden]) { display: none; }
.daily-claim {
appearance: none;
border: 1px solid #ffe994;
background: #ffd34c;
color: #2a2009;
padding: 4px 8px;
font: 800 10px/1 "Barlow Condensed", sans-serif;
letter-spacing: .05em;
text-transform: uppercase;
cursor: pointer;
}
.daily-claim:hover, .daily-claim:focus-visible { background: #ffe681; outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 1px; }
.daily-claim[disabled] { opacity: .55; cursor: wait; }
.daily-completed { color: #ffe681; font: 800 10px/1 "Barlow Condensed", sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.daily-claim[hidden], .daily-completed[hidden], .daily-content[hidden], .daily-guest[hidden] { display: none; }
.daily-guest {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding-top: 1px;
color: #e1d8b6;
font-size: 10px;
}
.daily-guest .google-sign-in { flex: 0 0 auto; border-color: rgba(255, 211, 76, .6); color: #fff4bf; padding: 4px 7px; font-size: 10px; }
.daily-status { min-height: 0; margin: 3px 0 0 !important; color: #dfd6ad !important; font-size: 9px !important; }
.daily-status:empty { display: none; }
.daily-status.error { color: #ffc09c !important; }
.overlay.score-crawl-active {
overflow: hidden;
background: #020306;
animation: score-backdrop 5.6s ease both;
}
.overlay.score-crawl-active::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background-image:
radial-gradient(circle at 11% 19%, #fff 0 1px, transparent 1.4px),
radial-gradient(circle at 69% 27%, #b9dfff 0 1px, transparent 1.5px),
radial-gradient(circle at 38% 72%, #fff 0 1px, transparent 1.4px),
radial-gradient(circle at 88% 82%, #fff 0 1px, transparent 1.4px);
background-size: 137px 113px, 181px 149px, 223px 167px, 257px 191px;
animation: score-stars 5.6s ease both;
}
.crawl-viewport.active.is-crawling {
position: absolute;
inset: 0;
display: block;
width: 100%;
min-height: 0;
margin: 0;
overflow: hidden;
perspective: 360px;
perspective-origin: 50% 18%;
}
.crawl-viewport.active.is-crawling .crawl-text {
position: absolute;
left: 50%;
bottom: -42%;
width: min(430px, 80%);
transform-origin: 50% 100%;
transform-style: preserve-3d;
backface-visibility: hidden;
animation: score-crawl 5.6s linear both;
}
.crawl-viewport.active.settled .crawl-text { animation: score-settle .5s ease-out both; }
.mission-card.revealing-score { overflow: visible; animation: mission-frame-reveal 5.6s ease both; }
.mission-card.revealing-score > .tag,
.mission-card.revealing-score > h2,
.mission-card.revealing-score > .daily-challenge,
.mission-card.revealing-score > .mission-actions,
.mission-card.revealing-score > .runner-network { animation: report-details-reveal 5.6s ease both; }
@media (min-width: 621px) {
.mission-card:has(.crawl-viewport.active) { width: min(660px, 94%); padding: 16px 32px; }
.mission-card:has(.crawl-viewport.active) .crawl-viewport:not(.is-crawling) { min-height: 104px; margin: 7px auto 12px; }
.mission-card:has(.crawl-viewport.active) .mission-actions { flex-wrap: nowrap; }
.mission-card:has(.crawl-viewport.active) .mission-actions .primary,
.mission-card:has(.crawl-viewport.active) .mission-actions .secondary { min-height: 38px; padding-block: 8px; }
.mission-card:has(.crawl-viewport.active) .runner-network { margin-top: 14px; padding-top: 10px; }
.mission-card:has(.crawl-viewport.active) .leader-pane { min-height: 44px; max-height: 88px; }
}
@keyframes score-crawl {
0% { bottom: -42%; transform: translate3d(-50%, 0, 36px) rotateX(22deg); opacity: 0; }
8% { opacity: 1; }
58% { opacity: 1; }
72% { bottom: 76%; transform: translate3d(-50%, 0, -330px) rotateX(34deg); opacity: .95; }
86% { bottom: 101%; transform: translate3d(-50%, 0, -620px) rotateX(39deg); opacity: 0; }
100% { bottom: 108%; transform: translate3d(-50%, 0, -720px) rotateX(39deg); opacity: 0; }
}
@keyframes score-settle {
0% { opacity: 0; transform: translateY(8px); }
100% { opacity: 1; transform: translateY(0); }
}
@keyframes score-backdrop {
0%, 70% { background-color: #020306; }
100% { background-color: rgba(5, 17, 24, .38); }
}
@keyframes score-stars {
0%, 70% { opacity: .9; }
100% { opacity: 0; }
}
@keyframes mission-frame-reveal {
0%, 74% { background-color: rgba(8, 24, 33, 0); border-color: transparent; box-shadow: none; }
100% { background-color: rgba(8, 24, 33, .91); border-color: rgba(141, 206, 222, .52); box-shadow: 0 12px 35px rgba(0, 0, 0, .3); }
}
@keyframes report-details-reveal {
0%, 76% { opacity: 0; transform: translateY(7px); }
100% { opacity: 1; transform: translateY(0); }
}
.primary {
appearance: none;
border: 0;
background: #f27c2a;
color: #17242a;
padding: 12px 22px;
font: 800 17px/1 "Barlow Condensed", sans-serif;
letter-spacing: .05em;
text-transform: uppercase;
cursor: pointer;
min-width: 150px;
}
.primary:hover, .primary:focus-visible { background: #ff9c58; outline: 3px solid rgba(255, 255, 255, .65); outline-offset: 2px; }
.mission-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.mission-card.main-menu { width: min(860px, 96%); padding: 16px 22px; overflow-y: auto; }
.mission-card.main-menu .mission-actions {
flex-direction: column;
align-items: center;
flex-wrap: nowrap;
}
.mission-card.main-menu .mission-actions .primary,
.mission-card.main-menu .mission-actions .secondary { width: min(240px, 100%); }
.mission-actions .primary,
.mission-actions .secondary {
width: 180px;
min-height: 42px;
padding: 11px 12px;
font-size: 16px;
}
.mission-card[hidden] { display: none; }
.depot-card {
width: min(820px, 96%);
text-align: left;
padding: 18px 22px;
}
.depot-header {
display: flex;
align-items: end;
justify-content: space-between;
gap: 18px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(255,255,255,.16);
}
.depot-header .tag { margin-bottom: 7px; }
.depot-header h2 { font-size: clamp(29px, 5vw, 42px); }
.depot-balance {
margin: 0 !important;
color: #ffe48a !important;
font: 800 18px/1.1 "Barlow Condensed", sans-serif;
text-align: right;
white-space: nowrap;
}
.depot-balance small { display: block; margin-top: 4px; color: #a9c3cb; font: 600 11px/1 Barlow, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.depot-status { min-height: 18px; margin: 8px 0 4px !important; color: #b9d0d7 !important; font-size: 12px; }
.depot-status.error { color: #ffc09c !important; }
.depot-guest {
max-width: 510px;
margin: 34px auto 28px;
padding: 24px;
text-align: center;
background: rgba(255,255,255,.045);
border: 1px solid rgba(141,206,222,.22);
}
.depot-guest[hidden] { display: none; }
.depot-guest h3 {
margin: 0;
color: #f2fbfd;
font: 800 clamp(22px, 4vw, 30px)/1.05 "Barlow Condensed", sans-serif;
letter-spacing: .025em;
text-transform: uppercase;
}
.depot-guest p { margin: 12px auto 18px; color: #b9d0d7; font-size: 14px; line-height: 1.45; }
.depot-guest .google-sign-in { padding: 10px 16px; font-size: 14px; }
.depot-inventory {
flex: 1 1 auto;
min-height: 0;
max-height: min(54vh, 430px);
overflow-y: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
padding: 0 5px 2px 0;
scrollbar-width: thin;
scrollbar-color: rgba(103,213,235,.55) rgba(255,255,255,.06);
}
.depot-inventory::-webkit-scrollbar { width: 7px; }
.depot-inventory::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
.depot-inventory::-webkit-scrollbar-thumb { background: rgba(103,213,235,.55); }
.depot-group { margin: 14px 0 0; }
.depot-group h3 {
margin: 0 0 7px;
color: #67d5eb;
font: 800 14px/1 "Barlow Condensed", sans-serif;
letter-spacing: .08em;
text-transform: uppercase;
}
.depot-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.depot-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
padding: 9px 10px;
background: rgba(255,255,255,.045);
border: 1px solid rgba(141,206,222,.22);
}
.depot-item h4 { margin: 0; color: #f2fbfd; font: 800 16px/1.05 "Barlow Condensed", sans-serif; letter-spacing: .025em; }
.depot-item p { margin: 4px 0 0; color: #afc5cc; font-size: 11px; line-height: 1.25; }
.depot-tier { display: block; margin-top: 5px; color: #ffe48a; font: 700 11px/1 Barlow, sans-serif; }
.depot-pricing { display: block; margin-top: 4px; color: #8edcea; font: 600 10px/1.3 Barlow, sans-serif; }
.depot-item.cosmetic { grid-template-columns: auto minmax(0, 1fr) auto; }
.armor-swatch {
--armor-accent: #dce6e8;
position: relative;
width: 40px;
height: 43px;
flex: 0 0 auto;
overflow: hidden;
background: #eef3f3;
border: 2px solid #758991;
clip-path: polygon(19% 2%, 81% 2%, 100% 28%, 88% 94%, 62% 100%, 50% 84%, 38% 100%, 12% 94%, 0 28%);
box-shadow: inset 0 -9px 0 rgba(64, 82, 89, .14);
}
.armor-swatch::before {
content: "";
position: absolute;
inset: 0 auto 0 50%;
width: 9px;
transform: translateX(-50%);
background: var(--armor-accent);
}
.armor-swatch::after {
content: "";
position: absolute;
left: 7px;
right: 7px;
top: 12px;
height: 8px;
background: #152a34;
clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
}
.depot-buy {
appearance: none;
min-width: 76px;
border: 1px solid #67d5eb;
background: rgba(103,213,235,.1);
color: #e9fbff;
padding: 8px 9px;
font: 800 12px/1 "Barlow Condensed", sans-serif;
letter-spacing: .04em;
text-transform: uppercase;
cursor: pointer;
}
.depot-buy:hover, .depot-buy:focus-visible { background: rgba(103,213,235,.22); outline: 2px solid rgba(255,255,255,.5); outline-offset: 1px; }
.depot-buy[disabled] { opacity: .42; cursor: not-allowed; }
.depot-footer { display: flex; justify-content: center; padding-top: 12px; }
.secondary {
appearance: none;
border: 1px solid #67d5eb;
background: transparent;
color: #d9f7ff;
padding: 11px 18px;
font: 800 16px/1 "Barlow Condensed", sans-serif;
letter-spacing: .05em;
text-transform: uppercase;
cursor: pointer;
}
.secondary:hover, .secondary:focus-visible { background: rgba(103, 213, 235, .14); outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; }
.secondary[hidden] { display: none; }
.runner-network {
min-height: 0;
margin-top: 18px;
border-top: 1px solid rgba(255,255,255,.14);
padding-top: 13px;
text-align: left;
font-size: 13px;
display: flex;
flex-direction: column;
}
.runner-network-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.leader-tabs { display: flex; gap: 2px; }
.leader-tab {
appearance: none;
border: 0;
border-bottom: 2px solid transparent;
background: transparent;
color: #9db4bd;
padding: 6px 8px;
font: 800 12px/1 "Barlow Condensed", sans-serif;
letter-spacing: .08em;
text-transform: uppercase;
cursor: pointer;
}
.leader-tab[aria-selected="true"] { color: #f1fbfd; border-bottom-color: #67d5eb; }
.leader-tab:focus-visible { outline: 2px solid #67d5eb; outline-offset: 2px; }
.account-controls { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.google-sign-in {
appearance: none;
border: 1px solid rgba(141,206,222,.52);
background: rgba(255,255,255,.06);
color: #eaf9fc;
padding: 6px 10px;
font: 700 12px/1 Barlow, sans-serif;
cursor: pointer;
}
.google-sign-in:hover, .google-sign-in:focus-visible { border-color: #67d5eb; outline: 2px solid rgba(103,213,235,.3); }
.signed-in { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #cfe1e6; }
.signed-in[hidden], .google-sign-in[hidden] { display: none; }
.signed-in strong { overflow: hidden; max-width: 125px; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.sign-out {
appearance: none;
border: 0;
border-bottom: 1px solid rgba(207,225,230,.42);
background: none;
color: #aebfc5;
padding: 2px 0;
font: inherit;
cursor: pointer;
}
.leader-pane {
min-height: 42px;
max-height: 118px;
overflow-y: auto;
overscroll-behavior: contain;
margin-top: 12px;
padding-right: 5px;
scrollbar-width: thin;
scrollbar-color: rgba(103, 213, 235, .55) rgba(255, 255, 255, .06);
}
.leader-pane::-webkit-scrollbar { width: 7px; }
.leader-pane::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); }
.leader-pane::-webkit-scrollbar-thumb { background: rgba(103, 213, 235, .55); }
.leader-pane[hidden] { display: none; }
.leader-empty, .leader-loading { margin: 10px 0 0 !important; color: #9eb2b9 !important; font-size: 12px; }
.leader-list { margin: 0; padding: 0; list-style: none; counter-reset: runners; }
.leader-list li {
counter-increment: runners;
display: grid;
grid-template-columns: 22px minmax(0,1fr) auto;
gap: 8px;
align-items: baseline;
padding: 3px 2px;
border-bottom: 1px solid rgba(255,255,255,.07);
font-variant-numeric: tabular-nums;
}
.leader-list li::before { content: counter(runners); color: #6f8c96; text-align: right; }
.leader-list .leader-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dcecf0; }
.leader-list .leader-score { color: #fff0a5; font-weight: 700; }
#localScoresMount .local-bests { margin: 0; border: 0; padding: 0; }
#localScoresMount .local-bests h3 { display: none; }
.handle-setup { margin-top: 9px; padding: 10px; background: rgba(103,213,235,.08); border: 1px solid rgba(103,213,235,.28); }
.handle-setup[hidden] { display: none; }
.handle-setup label { display: block; margin-bottom: 7px; color: #d8e8ec; line-height: 1.35; }
.handle-row { display: flex; gap: 7px; }
.handle-row input {
min-width: 0;
flex: 1;
border: 1px solid #557a86;
background: #071820;
color: #fff;
padding: 8px 9px;
font: 600 14px/1 Barlow, sans-serif;
}
.handle-row button { min-width: 78px; padding: 8px 10px; font-size: 14px; }
.network-status { min-height: 16px; margin: 10px 0 0 !important; color: #abc2ca !important; font-size: 12px; line-height: 1.3 !important; }
.network-status.error { color: #ffc09c !important; }
.story-intro {
position: absolute;
inset: 0;
z-index: 20;
overflow: hidden;
color: #ffd54d;
background: #020306;
perspective: 330px;
}
.story-intro[hidden] { display: none; }
.story-intro::before {
content: "";
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.4px),
radial-gradient(circle at 73% 29%, #b9dfff 0 1px, transparent 1.5px),
radial-gradient(circle at 35% 71%, #fff 0 1px, transparent 1.4px),
radial-gradient(circle at 89% 80%, #fff 0 1px, transparent 1.4px);
background-size: 137px 113px, 181px 149px, 223px 167px, 257px 191px;
opacity: .86;
}
.intro-fade {
position: absolute;
z-index: 2;
inset: 0 0 auto;
height: 34%;
background: linear-gradient(#020306 28%, transparent);
pointer-events: none;
}
.intro-crawl {
position: absolute;
z-index: 1;
left: 50%;
bottom: -72%;
width: min(690px, 84%);
text-align: justify;
font: 800 clamp(22px, 3.2vw, 38px)/1.42 "Barlow Condensed", sans-serif;
letter-spacing: .025em;
transform-origin: 50% 100%;
transform: translateX(-50%) rotateX(22deg);
}
.story-intro.playing .intro-crawl { animation: intro-scroll 26.4s linear forwards; }
.intro-crawl h2 { margin: 0 0 22px; text-align: center; font-size: 1.55em; line-height: 1; text-transform: uppercase; }
.intro-crawl .episode { display: block; margin-bottom: 8px; font-size: .55em; letter-spacing: .15em; }
.intro-crawl p { margin: 0 0 1.05em; }
.skip-intro {
position: absolute;
z-index: 3;
right: 15px;
bottom: 14px;
border-color: rgba(255,213,77,.72);
color: #ffe999;
background: rgba(2,3,6,.7);
}
@keyframes intro-scroll {
0% { bottom: -72%; }
100% { bottom: 96%; }
}
.controls {
display: grid;
grid-template-columns: 1fr auto auto auto auto;
gap: 10px;
align-items: center;
padding: 12px;
border-top: 1px solid var(--line);
}
.tip { color: var(--muted); font-size: 14px; padding-left: 5px; }
.control {
appearance: none;
border: 1px solid var(--line);
background: var(--button);
color: var(--button-ink);
min-height: 48px;
min-width: 112px;
padding: 10px 17px;
font: 800 16px/1 "Barlow Condensed", sans-serif;
letter-spacing: .06em;
text-transform: uppercase;
cursor: pointer;
touch-action: manipulation;
}
.control:active { background: var(--accent); }
.control[disabled] { opacity: .48; cursor: not-allowed; }
.control.fire-ready { background: #a83b24; color: #fff; border-color: #df7459; }
.detonator-control {
min-width: 72px;
padding: 9px 11px;
align-items: center;
justify-content: center;
background: #2f393d;
border-color: #75848a;
}
.detonator-control:not([hidden]) { display: inline-flex; }
.detonator-control[hidden] { display: none; }
.detonator-control:not([disabled]) { border-color: #bdcbc9; }
.detonator-icon {
display: inline-block;
width: 17px;
height: 17px;
margin-right: 6px;
vertical-align: -4px;
border: 2px solid #dce5e6;
border-radius: 50%;
background: radial-gradient(circle at 35% 30%, #f4f7f7 0 10%, #8f9b9e 12% 47%, #242c2f 50% 64%, #d5dedf 67% 74%, #3d484c 77% 100%);
box-shadow: 0 0 0 2px rgba(0, 0, 0, .18);
}
.debrief {
display: flex;
justify-content: space-between;
gap: 16px;
margin: 12px 3px 0;
color: var(--muted);
font-size: 13px;
}
.debrief b { color: var(--ink); }
body.game-fullscreen {
overflow: hidden;
padding: 0;
touch-action: none;
overscroll-behavior: none;
}
body.game-fullscreen main { width: 100vw; height: 100vh; height: 100dvh; }
body.game-fullscreen .briefing,
body.game-fullscreen .debrief { display: none; }
body.game-fullscreen .game-shell {
position: fixed;
inset: 0;
z-index: 1000;
height: 100vh;
height: 100dvh;
border: 0;
display: flex;
flex-direction: column;
padding-top: env(safe-area-inset-top);
padding-right: env(safe-area-inset-right);
padding-bottom: env(safe-area-inset-bottom);
padding-left: env(safe-area-inset-left);
box-shadow: none;
}
body.game-fullscreen .stage {
flex: 1 1 auto;
min-height: 0;
display: grid;
place-items: center;
overflow: hidden;
}
body.game-fullscreen canvas {
width: 100%;
max-height: 100%;
height: auto;
}
body.game-fullscreen .controls { flex: 0 0 auto; }
body.game-fullscreen .tip { display: none; }
@media (max-width: 620px) {
body { padding: 10px; place-items: start center; }
.briefing { margin-top: 8px; align-items: start; }
.briefing p { font-size: 13px; }
.sector { display: none; }
.hud { grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; padding-left: 12px; gap: 7px; }
.hud.has-credits { grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; gap: 5px; }
.hud.has-credits .stat small { font-size: 8px; letter-spacing: .07em; line-height: 1.05; }
.stat strong { font-size: 19px; }
.hud.has-credits .stat strong { font-size: 17px; }
.controls { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 7px; }
.tip { grid-column: 1 / -1; grid-row: 2; text-align: center; font-size: 12px; padding: 0; }
.control { min-width: 0; width: 100%; padding-inline: 10px; }
.detonator-control { width: 58px; padding-inline: 7px; }
.detonator-icon { margin-right: 3px; }
.debrief { display: block; line-height: 1.45; }
.debrief span:last-child { display: block; margin-top: 3px; }
.overlay { position: relative; padding: 0; background: #0b202a; }
.mission-card { width: 100%; padding: 24px 18px 22px; border: 0; box-shadow: none; }
.mission-card.main-menu { width: 100%; padding: 20px 14px; }
.mission-card.main-menu .mission-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.mission-card.main-menu .mission-actions .primary,
.mission-card.main-menu .mission-actions .secondary { width: 100%; min-width: 0; }
.mission-card h2 { font-size: 32px; }
.mission-card p { font-size: 13px; margin: 12px auto 18px; }
.daily-challenge { margin-bottom: 10px; padding: 7px 9px; }
.daily-challenge h3 { font-size: 15px; }
.daily-challenge > p { margin: 3px 0 5px; }
.daily-guest { align-items: stretch; flex-direction: column; gap: 8px; }
.daily-guest .google-sign-in { width: 100%; }
.depot-card { padding: 18px 12px 16px; }
.depot-header { align-items: flex-start; }
.depot-header .tag { margin-bottom: 5px; }
.depot-header h2 { font-size: 29px; }
.depot-balance { font-size: 16px; }
.depot-items { grid-template-columns: 1fr; }
.depot-item { padding: 9px; }
.depot-inventory { max-height: 56vh; }
.primary { padding: 10px 18px; }
.mission-actions { gap: 10px; }
.runner-network { margin-top: 18px; padding-top: 14px; }
.runner-network-bar { align-items: flex-start; gap: 8px; }
.signed-in strong { max-width: 92px; }
.google-sign-in { padding: 6px 8px; }
.leader-pane { max-height: 132px; margin-top: 11px; }
body.game-fullscreen .hud { min-height: 54px; }
body.game-fullscreen .overlay { position: absolute; inset: 0; padding: 12px; background: rgba(5, 17, 24, .52); }
body.game-fullscreen .mission-card { width: min(430px, 100%); max-height: 100%; overflow-y: auto; border: 1px solid rgba(141, 206, 222, .52); }
body.game-fullscreen .mission-card.revealing-score { overflow: visible; }
body.game-fullscreen .controls { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.crawl-text strong { font-size: clamp(58px, 19vw, 74px); }
.intro-crawl { width: 88%; font-size: 21px; }
.story-intro.playing .intro-crawl { animation-duration: 23.1s; }
}
@media (prefers-reduced-motion: reduce) {
canvas {
-webkit-transition-duration: .12s;
transition-duration: .12s;
}
canvas.impact-stun {
-webkit-transition-duration: .08s;
transition-duration: .08s;
}
canvas.highlight-replay,
canvas.impact-stun-reset {
-webkit-transition: none;
transition: none;
}
.overlay { transition: none; }
.crawl-text,
.crawl-viewport.active .crawl-text,
.mission-card.revealing-score,
.mission-card.revealing-score > .tag,
.mission-card.revealing-score > h2,
.mission-card.revealing-score > .daily-challenge,
.mission-card.revealing-score > .mission-actions,
.mission-card.revealing-score > .runner-network { animation: none; transform: none; opacity: 1; filter: none; }
.story-intro { overflow-y: auto; padding: 38px 20px 76px; perspective: none; }
.intro-fade { display: none; }
.intro-crawl { position: relative; left: auto; bottom: auto; width: min(650px, 100%); margin: auto; transform: none; animation: none !important; font-size: 22px; }
}


.local-bests{margin-top:14px;border-top:1px solid rgba(255,255,255,.14);padding-top:10px;font-size:13px;opacity:.94;text-align:left}
.local-bests h3{margin:0 0 6px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;opacity:.7}
.local-bests ol{margin:0;padding:0;list-style:none}
.local-bests li{display:flex;justify-content:space-between;gap:12px;padding:2px 0;font-variant-numeric:tabular-nums}
.local-bests .lb-score{font-weight:700}
.local-bests .lb-date{opacity:.6;font-size:12px}
.local-bests .lb-empty{opacity:.6;margin:0}
