@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&display=swap');

:root {
    color-scheme: dark;
    --night: #001217;
    --ink: #001e25;
    --panel: #003641;
    --teal: #20c8b7;
    --mint: #9af3dc;
    --orange: #f36a16;
    --yellow: #ffd15c;
    --paper: #fff0c8;
    --muted: #8baaa7;
    --line: rgba(154, 243, 220, .19);
    --display: 'Archivo Black', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --mono: 'Space Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--night);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--paper);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(90deg, rgba(32, 200, 183, .027) 1px, transparent 1px) 0 0 / 52px 52px,
        linear-gradient(rgba(32, 200, 183, .027) 1px, transparent 1px) 0 0 / 52px 52px,
        radial-gradient(circle at 10% 12%, rgba(32, 200, 183, .14), transparent 31rem),
        radial-gradient(circle at 88% 80%, rgba(243, 106, 22, .08), transparent 27rem),
        var(--night);
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.top-bar {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem clamp(.75rem, 4vw, 3rem);
    border-bottom: 1px solid var(--line);
    background: rgba(0, 25, 32, .91);
    backdrop-filter: blur(12px);
}

.brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--mint);
    font-weight: 950;
    letter-spacing: -.04em;
    text-decoration: none;
}

.brand span { color: var(--orange); }

.network-light {
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font: 850 .61rem ui-monospace, monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.network-light i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px var(--teal);
    animation: blink 1.3s steps(2) infinite;
}

.back-link {
    min-height: 44px;
    padding: .46rem .75rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 209, 92, .55);
    border-radius: 999px;
    color: var(--yellow);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .16s ease;
}

.back-link:hover {
    color: var(--night);
    background: var(--yellow);
    transform: rotate(1deg);
}

main {
    width: min(1050px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: clamp(1.6rem, 5vw, 3.5rem) 0 3rem;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(245px, .7fr);
    align-items: end;
    gap: clamp(1rem, 4vw, 2rem);
    margin-bottom: 1.25rem;
}

.eyebrow {
    margin: 0 0 .38rem;
    color: var(--yellow);
    font: 900 .68rem ui-monospace, monospace;
    letter-spacing: .15em;
}

.intro h1 {
    margin: 0;
    font-size: clamp(2.7rem, 8vw, 5.2rem);
    line-height: .8;
    letter-spacing: -.075em;
    text-transform: uppercase;
}

.intro h1 em {
    display: block;
    color: var(--orange);
    font-style: normal;
}

.intro > p {
    margin: 0;
    padding: .25rem 0 .25rem 1rem;
    border-left: 3px solid var(--teal);
    color: #b7ceca;
    font-size: .86rem;
    line-height: 1.58;
}

.game-card {
    position: relative;
    padding: clamp(.6rem, 2.5vw, 1.2rem);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(0, 54, 65, .84), rgba(0, 22, 28, .97));
    box-shadow:
        7px 7px 0 var(--teal),
        10px 10px 0 #000,
        0 30px 90px rgba(0, 0, 0, .48);
    rotate: -.22deg;
    transform-origin: center;
}

.game-card::after {
    content: "DATA CROSSING // CLAIMS DENIED";
    position: absolute;
    right: 1.1rem;
    bottom: -.6rem;
    padding: .25rem .48rem;
    color: var(--night);
    background: var(--orange);
    font: 950 .52rem ui-monospace, monospace;
    letter-spacing: .08em;
    transform: rotate(-1deg);
}

.score-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .7rem;
}

.score-strip > div {
    min-width: 0;
    padding: .63rem .72rem;
    border: 1px solid rgba(154, 243, 220, .15);
    border-radius: 10px;
    background: rgba(0, 18, 23, .72);
}

.score-strip span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.score-strip strong {
    display: block;
    margin-top: .12rem;
    overflow: hidden;
    color: var(--yellow);
    font: 950 clamp(.85rem, 3.2vw, 1.28rem) ui-monospace, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#employment {
    color: var(--orange);
    font-size: clamp(.72rem, 2.6vw, 1rem);
    text-transform: uppercase;
}

.score-strip > div.bump strong { animation: bump .2s ease-out; }

.game-layout {
    display: grid;
    grid-template-columns: minmax(330px, 1fr) 250px;
    align-items: start;
    gap: .85rem;
}

.play-column { min-width: 0; }

.canvas-shell {
    position: relative;
    width: min(100%, 540px);
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #3f696c;
    border-radius: 15px;
    background: #001217;
    box-shadow: 0 0 0 4px #061e23, 0 20px 50px rgba(0, 0, 0, .46);
    isolation: isolate;
}

.canvas-shell::before {
    content: "LIVE // NO ADULT SUPERVISION";
    position: absolute;
    z-index: 3;
    top: .45rem;
    left: .5rem;
    padding: .24rem .37rem;
    color: rgba(255, 240, 200, .66);
    background: rgba(0, 18, 23, .74);
    font: 850 .46rem ui-monospace, monospace;
    letter-spacing: .05em;
    pointer-events: none;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    background: var(--night);
    touch-action: none;
}

.overlay {
    position: absolute;
    z-index: 7;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 18, 23, .82);
    backdrop-filter: blur(7px);
    transition: opacity .2s, visibility .2s;
}

.overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.overlay-card {
    position: relative;
    width: min(430px, 100%);
    padding: clamp(1rem, 4vw, 1.7rem);
    overflow: hidden;
    border: 1px solid var(--orange);
    border-radius: 17px;
    background: linear-gradient(150deg, #00414b, #001a20);
    box-shadow:
        5px 5px 0 var(--orange),
        8px 8px 0 #000,
        0 24px 60px #000;
    rotate: .28deg;
    text-align: center;
}

.overlay-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(-12deg, transparent 0 18px, rgba(255, 209, 92, .028) 18px 20px);
}

.stamp {
    position: relative;
    display: inline-grid;
    width: 68px;
    height: 68px;
    margin-bottom: .65rem;
    place-items: center;
    border: 3px double var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font: 950 .67rem/1 ui-monospace, monospace;
    transform: rotate(-8deg);
}

.overlay-kicker {
    position: relative;
    margin: 0 0 .3rem;
    color: var(--yellow);
    font: 900 .59rem ui-monospace, monospace;
    letter-spacing: .12em;
}

.overlay-card h2 {
    position: relative;
    margin: .25rem 0 .7rem;
    font-size: clamp(1.35rem, 5vw, 1.95rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.overlay-card p:not(.overlay-kicker) {
    position: relative;
    margin: 0 auto 1rem;
    color: #b7ceca;
    font-size: .78rem;
    line-height: 1.48;
}

.overlay-card b { color: var(--mint); }

#start {
    position: relative;
    width: 100%;
    min-height: 49px;
    padding: .65rem;
    border: 0;
    border-radius: 9px;
    color: #261300;
    background: linear-gradient(var(--yellow), #ffad2d);
    box-shadow: 0 6px 0 #9f420b;
    font-weight: 950;
    font-size: .75rem;
    letter-spacing: .055em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .1s;
}

#start:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 0 #9f420b; }
#start:active { transform: translateY(5px); box-shadow: 0 1px 0 #9f420b; }

.overlay-card > small {
    position: relative;
    display: block;
    margin-top: .8rem;
    color: #789795;
    font-size: .6rem;
}

kbd {
    padding: .09rem .23rem;
    border: 1px solid #607d7d;
    border-radius: 3px;
    color: var(--yellow);
    background: #001217;
}

.event-banner {
    position: absolute;
    z-index: 5;
    top: 1.9rem;
    left: 50%;
    width: min(88%, 420px);
    padding: .55rem .75rem;
    border: 1px solid var(--yellow);
    border-left: 8px solid var(--orange);
    color: var(--paper);
    background: rgba(0, 29, 35, .94);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -140%);
}

.event-banner.show { animation: banner-in 3.8s ease both; }
.event-banner small { display: block; color: var(--teal); font: 900 .46rem ui-monospace, monospace; letter-spacing: .11em; }
.event-banner strong { display: block; margin: .12rem 0; color: var(--yellow); font: 950 .8rem ui-monospace, monospace; }
.event-banner span { display: block; color: #b7ceca; font-size: .62rem; }

.touch-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: ". up ." "left down right";
    gap: .45rem;
    width: min(100%, 540px);
    margin: .75rem auto 0;
}

.touch-controls .up { grid-area: up; }
.touch-controls .left { grid-area: left; }
.touch-controls .down { grid-area: down; }
.touch-controls .right { grid-area: right; }

.touch-controls button {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    padding: .35rem;
    border: 1px solid rgba(154, 243, 220, .28);
    border-bottom: 4px solid #001217;
    border-radius: 9px;
    color: var(--mint);
    background: #063b43;
    font: 900 .58rem ui-monospace, monospace;
    letter-spacing: .045em;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
}

.touch-controls button span { color: var(--yellow); font-size: 1.15rem; }
.touch-controls button small { font: inherit; }
.touch-controls button.pressed,
.touch-controls button:active { border-bottom-width: 1px; background: var(--teal); color: var(--night); transform: translateY(3px); }
.touch-controls button.pressed span,
.touch-controls button:active span { color: var(--night); }

.ops-panel {
    position: sticky;
    top: .75rem;
    overflow: hidden;
    border: 1px solid rgba(154, 243, 220, .18);
    border-radius: 12px;
    background: rgba(0, 18, 23, .8);
    box-shadow: inset 0 0 40px rgba(32, 200, 183, .035);
}

.ops-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .67rem .72rem;
    border-bottom: 1px solid rgba(154, 243, 220, .14);
    color: var(--mint);
    background: rgba(0, 54, 65, .72);
    font: 900 .57rem ui-monospace, monospace;
    letter-spacing: .09em;
}

.ops-head i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 9px var(--orange);
    animation: blink .9s steps(2) infinite;
}

.next-lanes,
.event-readout,
.legend,
.tips {
    padding: .72rem;
    border-bottom: 1px solid rgba(154, 243, 220, .12);
}

.next-lanes > span,
.event-readout > span,
.legend > span,
.tips > span {
    display: block;
    margin-bottom: .45rem;
    color: var(--muted);
    font: 850 .51rem ui-monospace, monospace;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.next-lanes ol {
    display: grid;
    gap: .34rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.next-lanes li {
    display: grid;
    grid-template-columns: 1.25rem 1fr auto;
    align-items: center;
    gap: .4rem;
    min-height: 27px;
    padding: .25rem .38rem;
    border: 1px solid rgba(154, 243, 220, .1);
    border-radius: 5px;
    background: rgba(0, 54, 65, .3);
    font: 850 .51rem ui-monospace, monospace;
    text-transform: uppercase;
}

.next-lanes li i { color: var(--yellow); font-style: normal; font-size: .78rem; text-align: center; }
.next-lanes li b { overflow: hidden; color: #c7dad6; text-overflow: ellipsis; white-space: nowrap; }
.next-lanes li small { color: var(--orange); font: 800 .45rem ui-monospace, monospace; }

.event-readout strong {
    display: block;
    overflow: hidden;
    color: var(--yellow);
    font: 900 .63rem ui-monospace, monospace;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.event-readout small { display: block; margin-top: .25rem; color: #6f8e8b; font-size: .5rem; line-height: 1.35; }

.legend ul {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legend li {
    display: grid;
    grid-template-columns: 1.35rem 3.4rem 1fr;
    align-items: center;
    gap: .28rem;
}

.legend li i {
    width: 1.2rem;
    height: 1.2rem;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    font: 950 .67rem ui-monospace, monospace;
}

.legend li b { color: #c7dad6; font: 900 .5rem ui-monospace, monospace; }
.legend li small { overflow: hidden; color: #688582; font: .46rem ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.safe-mark { color: var(--mint); }
.road-mark { color: var(--orange); }
.river-mark { color: #38a9e3; }
.cookie-mark { color: var(--yellow); border-radius: 50%; }

.tips p { margin: 0; color: #91aaa7; font-size: .57rem; line-height: 1.45; }

.panel-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .38rem;
    padding: .68rem;
}

.panel-actions button {
    min-width: 0;
    min-height: 44px;
    padding: .3rem;
    border: 1px solid rgba(154, 243, 220, .2);
    border-radius: 7px;
    color: var(--mint);
    background: #05343c;
    font: 900 .49rem ui-monospace, monospace;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
}

.panel-actions button span { margin-right: .12rem; font-size: .72rem; }
.panel-actions button:hover:not(:disabled) { border-color: var(--yellow); color: var(--yellow); }
.panel-actions button:disabled { opacity: .35; cursor: not-allowed; }
.panel-actions button[aria-pressed="true"] { color: var(--orange); }

.status {
    min-height: 1.35em;
    margin: .8rem 0 0;
    color: var(--muted);
    font: 800 .68rem ui-monospace, monospace;
    text-align: center;
}

.status::before { content: "> "; color: var(--teal); }
.disclaimer { margin: 1rem auto 0; color: #627f7c; font-size: .64rem; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.canvas-shell.crash { animation: crash .14s linear 4; }
.canvas-shell.pickup { animation: pickup .3s ease-out; }

@keyframes blink { 50% { opacity: .22; } }
@keyframes bump { 50% { color: var(--mint); transform: scale(1.1); } }
@keyframes crash { 25% { transform: translateX(-6px) rotate(-.35deg); } 75% { transform: translateX(6px) rotate(.35deg); } }
@keyframes pickup { 50% { box-shadow: 0 0 0 4px #061e23, 0 0 32px rgba(255, 209, 92, .55); } }
@keyframes banner-in {
    0% { opacity: 0; transform: translate(-50%, -140%); }
    10%, 78% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -140%); }
}

@media (max-width: 780px) {
    .intro { grid-template-columns: 1fr; gap: .8rem; }
    .intro > p { max-width: 630px; }
    .network-light { display: none; }
    .back-link { margin-left: auto; }
    .game-layout { grid-template-columns: 1fr; }
    .ops-panel { position: static; width: min(100%, 540px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
    .ops-head,
    .legend,
    .tips,
    .panel-actions { grid-column: 1 / -1; }
    .next-lanes { border-right: 1px solid rgba(154, 243, 220, .12); }
    .legend ul { grid-template-columns: 1fr 1fr; column-gap: .7rem; }
}

@media (max-width: 520px) {
    main { width: min(100% - .7rem, 1050px); padding-top: 1.1rem; }
    .top-bar { min-height: 56px; padding-inline: .55rem; }
    .brand { font-size: .9rem; }
    .back-link { padding-inline: .53rem; font-size: .58rem; }
    .eyebrow { font-size: .58rem; }
    .game-card {
        width: calc(100% - 1rem);
        margin-inline: auto;
        padding: .42rem;
        border-radius: 15px;
        box-shadow:
            4px 4px 0 var(--teal),
            7px 7px 0 #000,
            0 22px 60px rgba(0, 0, 0, .48);
    }
    .score-strip { gap: .28rem; }
    .score-strip > div { padding: .45rem .34rem; }
    .score-strip span { font-size: .41rem; letter-spacing: .02em; }
    .score-strip strong { font-size: .84rem; }
    #employment { font-size: .66rem; }
    .canvas-shell { border-radius: 10px; }
    .overlay { padding: .5rem; }
    .overlay-card { padding: .85rem .7rem; }
    .stamp { width: 53px; height: 53px; margin-bottom: .4rem; font-size: .55rem; }
    .overlay-card h2 { margin-bottom: .5rem; }
    .overlay-card p:not(.overlay-kicker) { margin-bottom: .75rem; font-size: .7rem; }
    .overlay-card > small { margin-top: .58rem; font-size: .51rem; }
    .touch-controls { gap: .32rem; }
    .touch-controls button { min-height: 46px; }
    .ops-panel { grid-template-columns: 1fr; }
    .ops-head,
    .legend,
    .tips,
    .panel-actions { grid-column: auto; }
    .next-lanes { border-right: 0; }
    .legend ul { grid-template-columns: 1fr; }
    .legend li { grid-template-columns: 1.35rem 4.1rem minmax(0, 1fr); }
    .legend li small {
        overflow: visible;
        line-height: 1.35;
        text-overflow: clip;
        white-space: normal;
    }
}

@media (max-width: 350px) {
    .touch-controls button small { display: none; }
    .touch-controls button span { font-size: 1.25rem; }
    .legend ul { grid-template-columns: 1fr; }
}

@media (hover: hover) and (pointer: fine) and (min-width: 781px) {
    .touch-controls { grid-template-columns: repeat(4, 1fr); grid-template-areas: "left up down right"; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* The public site escaped containment and got into the game client. */
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(90deg, rgba(32, 200, 183, .03) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(rgba(32, 200, 183, .03) 1px, transparent 1px) 0 0 / 36px 36px,
        radial-gradient(circle at 10% 12%, rgba(32, 200, 183, .14), transparent 31rem),
        radial-gradient(circle at 88% 80%, rgba(243, 106, 22, .08), transparent 27rem),
        var(--night);
}

body::after {
    content: "";
    position: fixed;
    z-index: 999;
    inset: 0;
    opacity: .15;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.top-bar {
    position: sticky;
    z-index: 40;
    top: 0;
    min-height: 76px;
    border-bottom: 2px solid var(--line);
    background: rgba(0, 18, 23, .9);
}

.brand { gap: .65rem; color: var(--paper); font-family: var(--display); }
.brand .brand-emblem {
    position: relative;
    width: 52px;
    height: 40px;
    flex: 0 0 auto;
    display: block;
    color: #020808;
    border: 2px solid #020808;
    border-radius: 48% 52% 44% 56% / 57% 43% 55% 45%;
    background: linear-gradient(135deg, var(--teal) 0 53%, var(--yellow) 54% 100%);
    box-shadow: 3px 3px 0 var(--orange), inset 0 0 0 2px rgba(255, 240, 200, .35);
    transform: rotate(-4deg);
}
.brand .brand-emblem::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(0, 18, 23, .5); border-radius: inherit; }
.brand .brand-emblem i { position: absolute; z-index: 1; top: 50%; font: normal 1.15rem/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif; transform: translateY(-50%); }
.brand .brand-emblem i:first-child { left: 5px; }
.brand .brand-emblem i:last-child { right: 4px; }
.brand .brand-copy { display: grid; gap: .05rem; color: var(--paper); line-height: 1; }
.brand .brand-copy b { color: var(--paper); font-size: .98rem; }
.brand .brand-copy small { color: var(--muted); font: 700 .47rem/1.2 var(--mono); letter-spacing: .035em; text-transform: uppercase; }

.back-link { border: 2px solid #020808; border-radius: 2px; box-shadow: 3px 3px 0 var(--orange); font-family: var(--mono); }
.eyebrow, .network-light, .score-strip span, .score-strip strong, .status, .ops-panel { font-family: var(--mono); }
.intro h1, .overlay-card h2 { font-family: var(--display); font-weight: 400; }

.frame-tape {
    position: relative;
    z-index: 8;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin: -1.95rem 0 .85rem .65rem;
    padding: .38rem .72rem;
    overflow-wrap: anywhere;
    color: #020808;
    background: var(--yellow);
    border: 2px solid #020808;
    box-shadow: 3px 3px 0 var(--orange);
    font: 700 .57rem/1.25 var(--mono);
    letter-spacing: .055em;
    transform: rotate(-1.35deg);
}

.game-card {
    border: 2px solid #020808;
    border-radius: 4px;
    outline: 1px solid var(--line);
    outline-offset: -5px;
    box-shadow: 7px 7px 0 var(--orange), 10px 10px 0 #000, 0 30px 90px rgba(0, 0, 0, .48);
}
.score-strip > div, .canvas-shell, .ops-panel, .overlay-card, .touch-controls button, .panel-actions button { border-radius: 3px; }
.score-strip > div { border: 2px solid #020808; box-shadow: 3px 3px 0 rgba(32, 200, 183, .32); }
.canvas-shell { border: 2px solid #020808; outline: 2px solid #37656a; outline-offset: -5px; }
.ops-panel { border: 2px solid #020808; box-shadow: 4px 4px 0 var(--teal), 7px 7px 0 #000; transform: rotate(.16deg); }
.overlay-card { border: 2px solid #020808; outline: 2px solid var(--orange); outline-offset: -5px; }

@media (max-width: 520px) {
    .top-bar { min-height: 62px; }
    .brand { gap: .45rem; }
    .brand .brand-emblem { width: 43px; height: 33px; }
    .brand .brand-emblem i { font-size: .94rem; }
    .brand .brand-copy b { font-size: .8rem; }
    .brand .brand-copy small { max-width: 92px; font-size: .36rem; }
    .back-link { font-size: .51rem; }
    .frame-tape { margin: -1.15rem 0 .65rem .45rem; padding: .3rem .46rem; font-size: .43rem; }
    .game-card { border-radius: 3px; box-shadow: 4px 4px 0 var(--orange), 7px 7px 0 #000, 0 22px 60px rgba(0, 0, 0, .48); }
}
