.gw{--gw-key: color-mix(in oklch,var(--ww-navy) 70%,var(--ww-ink));--gw-bronze: color-mix(in oklch,var(--ww-gold) 55%,var(--club-oxblood));--gw-silver: color-mix(in oklch,var(--ww-paper) 55%,var(--ww-ink-soft));max-width: 68rem;margin: 0 auto;padding: 1.25rem 1rem calc(2rem + var(--ww-dock) + var(--ww-safe-bottom));color: var(--ww-ink)}.gw-header{display: flex;align-items: end;justify-content: space-between;gap: 1rem;flex-wrap: wrap;margin-bottom: 1rem}.gw-heading{flex: 1 1 26rem;min-width: 0}.gw-kicker{font-family: var(--ww-mono);font-size: .8rem;font-weight: 700;letter-spacing: .12em;text-transform: uppercase;color: var(--ww-ink-soft);margin-bottom: .3rem}.gw h1{font-family: var(--ww-display);font-weight: 800;font-size: clamp(2rem,5vw,2.8rem);line-height: 1.05;margin-bottom: .5rem}.gw h2,.gw-puzzle h2{font-family: var(--ww-display);font-weight: 800;font-size: 1.45rem;line-height: 1.2;margin-bottom: .65rem}.gw h3{font-family: var(--ww-display);font-weight: 700;font-size: 1.05rem;margin-bottom: .4rem}.gw-lede{max-width: 46rem}.gw-cups{display: flex;flex-wrap: wrap;gap: .5rem;list-style: none;margin: 0;padding: 0}.gw-cup{font-family: var(--ww-mono);font-weight: 700;font-size: .85rem;padding: .45rem .8rem;border-radius: 999px;border: 2px dashed var(--ww-line);color: var(--ww-ink-soft)}.gw-cup.is-won{border-style: solid;color: var(--ww-navy);box-shadow: inset 0 -3px 0 color-mix(in oklch,var(--ww-ink) 25%,transparent)}.gw-cup-bronze.is-won{background: var(--gw-bronze);border-color: var(--gw-bronze);color: var(--ww-paper)}.gw-cup-silver.is-won{background: var(--gw-silver);border-color: var(--gw-silver)}.gw-cup-gold.is-won{background: var(--ww-gold);border-color: var(--ww-gold)}.gw-cup-platinum.is-won{background: #d8e3f0;border-color: #d8e3f0}.gw-cup-champion.is-won{background: var(--ww-red,#ef4b3f);border-color: var(--ww-red,#ef4b3f);color: var(--ww-paper)}.gw-rank{margin: .5rem 0 0;font-family: var(--ww-mono);font-weight: 700;font-size: .9rem;color: var(--ww-gold)}.gw-slot-stolen{margin: .25rem 0 0;font-size: .85rem;color: var(--ww-warning-text)}.gw-replay{margin-top: .75rem}.gw-stage{position: relative;container-type: inline-size;padding: .5rem;border-radius: calc(var(--ww-radius) + .5rem);background: var(--gw-key);box-shadow: inset 0 2px 0 color-mix(in oklch,var(--ww-paper) 18%,transparent),0 6px 0 color-mix(in oklch,var(--ww-ink) 45%,transparent),var(--ww-shadow)}.gw-scene{display: block;width: 100%;height: auto;aspect-ratio: 960 / 580;border-radius: var(--ww-radius-sm);background: var(--ww-navy);touch-action: manipulation;cursor: pointer}@container (width < 640px){.gw-scene{aspect-ratio: 480 / 580}}.gw-scene:focus-visible{outline: 3px solid var(--ww-gold);outline-offset: 3px}.gw-status{min-height: 2.6em;margin: .75rem 0 .25rem;font-weight: 600;font-variant-numeric: tabular-nums}.gw-pad{display: grid;grid-template-columns: repeat(6,minmax(0,1fr)) minmax(0,1.4fr);gap: .5rem;margin: .5rem 0}.gw-pad .ww-btn{min-height: max(3rem,var(--ww-control-min));justify-content: center;gap: .35rem;font-weight: 700;box-shadow: 0 4px 0 color-mix(in oklch,var(--ww-ink) 35%,transparent);transition: transform var(--ww-dur-micro) var(--ww-ease-out),box-shadow var(--ww-dur-micro) var(--ww-ease-out)}.gw-pad .ww-btn:active:enabled{transform: translateY(3px);box-shadow: 0 1px 0 color-mix(in oklch,var(--ww-ink) 35%,transparent)}.gw-help{color: var(--ww-ink-soft);font-size: .92rem;line-height: 1.9}.gw-help kbd{font-family: var(--ww-mono);font-size: .8rem;padding: .05rem .4rem;border: 1px solid var(--ww-line);border-bottom-width: 3px;border-radius: 5px;background: var(--ww-paper-2);color: var(--ww-ink)}@media (max-width: 40rem){.gw-pad{grid-template-columns: repeat(3,minmax(0,1fr))}.gw-pad-open{grid-column: 1 / -1}}.gw-bench{margin-top: 1.75rem;padding: 1.25rem;border-radius: var(--ww-radius);background: var(--ww-paper-2);border: 1px solid var(--ww-line)}.gw-bench-grid{display: grid;grid-template-columns: minmax(0,22rem) minmax(0,1fr);gap: 1.25rem;margin-bottom: 1.5rem}@media (max-width: 48rem){.gw-bench-grid{grid-template-columns: minmax(0,1fr)}}.gw-car-view,.gw-reward-car{display: block;width: 100%;height: auto;aspect-ratio: 360 / 150;border-radius: var(--ww-radius-sm)}.gw-stats{display: grid;grid-template-columns: auto minmax(0,1fr);gap: .35rem .75rem;margin-top: .75rem;align-items: center;font-size: .92rem}.gw-stats dt{color: var(--ww-ink-soft)}.gw-stats dd{display: flex;align-items: center;gap: .5rem;margin: 0;font-family: var(--ww-mono);font-variant-numeric: tabular-nums;white-space: nowrap}.gw-stats meter{flex: 1 1 auto;min-width: 3rem;height: .7rem;accent-color: var(--ww-emerald)}.gw-stats .gw-stats-empty{grid-column: 1 / -1;white-space: normal;font-family: var(--ww-font)}.gw-slots{display: grid;grid-template-columns: repeat(auto-fit,minmax(13rem,1fr));gap: 1rem;align-content: start}.gw-slot-parts{display: flex;flex-direction: column;gap: .4rem}.gw-slot-missing{font-size: .88rem;color: var(--ww-ink-soft)}.gw-part,.gw-track{display: flex;flex-direction: column;align-items: start;text-align: left;gap: .1rem;min-height: var(--ww-control-min);padding: .5rem .75rem;white-space: normal}.gw-part-stats,.gw-track-meta{font-family: var(--ww-mono);font-size: .78rem;color: var(--ww-ink-soft)}.gw-part-name,.gw-track-name{font-weight: 700}.gw-part[aria-pressed="true"],.gw-track[aria-pressed="true"],.gw-lock-btn[aria-pressed="true"]{border-color: var(--ww-emerald);box-shadow: inset 0 0 0 2px var(--ww-emerald)}.gw-part[aria-pressed="true"] .gw-part-name::before{content: "✓ ";color: var(--ww-success-text)}.gw-tracks{display: grid;grid-template-columns: repeat(auto-fit,minmax(12rem,1fr));gap: .6rem}.gw-track-cup{font-family: var(--ww-mono);font-size: .75rem;font-weight: 700;letter-spacing: .08em;text-transform: uppercase}.gw-track-bronze .gw-track-cup{color: var(--ww-warning-text)}.gw-track-gold .gw-track-cup{color: var(--ww-warning-text)}.gw-track-platinum .gw-track-cup{color: #c7d6ea}.gw-track-champion .gw-track-cup{color: #ff8a7a}.gw-race-row{display: flex;flex-wrap: wrap;align-items: center;gap: .75rem 1rem;margin-top: 1rem}.gw-race{min-height: max(3rem,var(--ww-control-min));font-weight: 800;box-shadow: 0 4px 0 color-mix(in oklch,var(--ww-ink) 35%,transparent)}.gw-race:active:enabled{transform: translateY(3px);box-shadow: 0 1px 0 color-mix(in oklch,var(--ww-ink) 35%,transparent)}.gw-race-note{flex: 1 1 18rem;color: var(--ww-ink-soft)}.gw-result{margin-top: 1.25rem;padding: 1rem 1.25rem;border-radius: var(--ww-radius-sm);border: 2px solid var(--ww-line);background: var(--ww-paper)}.gw-result[data-outcome="won"]{border-color: var(--ww-emerald)}.gw-result:focus-visible{outline: 3px solid var(--ww-gold);outline-offset: 3px}.gw-result-title{font-size: 1.35rem}.gw-result-times{font-family: var(--ww-mono);font-variant-numeric: tabular-nums;margin-bottom: .75rem}.gw-splits{width: 100%;border-collapse: collapse;font-variant-numeric: tabular-nums;margin-bottom: .75rem;font-size: .92rem}.gw-splits caption{text-align: left;color: var(--ww-ink-soft);margin-bottom: .3rem}.gw-splits th,.gw-splits td{padding: .35rem .5rem;border-bottom: 1px solid var(--ww-line);text-align: left}.gw-advice{font-weight: 600}.gw-foot{display: flex;flex-wrap: wrap;align-items: center;gap: .75rem 1rem;margin-top: 1.5rem}.gw-foot-note{flex: 1 1 18rem;color: var(--ww-ink-soft);font-size: .9rem}.gw-puzzle{position: fixed;inset: 0;margin: auto;height: fit-content;width: min(42rem,calc(100% - 1.5rem));max-height: 94dvh;overflow: auto;padding: 1.25rem;border: 0;border-radius: var(--ww-radius);background: var(--ww-paper);color: var(--ww-ink);box-shadow: 0 0 0 .4rem var(--gw-key),var(--ww-shadow)}.gw-puzzle::backdrop{background: color-mix(in oklch,var(--ww-navy) 78%,transparent)}.gw-puzzle[open]{animation: gw-pop var(--ww-dur-short) var(--ww-ease-play)}.gw-intro{margin-bottom: .75rem}.gw-diagram{display: block;width: 100%;height: auto}.gw-diagram [data-switch]{cursor: pointer}.gw-lock-controls{display: flex;flex-wrap: wrap;gap: .5rem;margin: .75rem 0 .25rem}.gw-lock-btn{font-family: var(--ww-mono);font-variant-numeric: tabular-nums;background: var(--ww-paper-2);border: 1px solid var(--ww-line);box-shadow: 0 3px 0 color-mix(in oklch,var(--ww-ink) 30%,transparent)}.gw-lock-btn:active:enabled{box-shadow: 0 1px 0 color-mix(in oklch,var(--ww-ink) 30%,transparent)}.gw-feedback{min-height: 3em;margin: .5rem 0;font-weight: 600}.gw-dialog-actions{display: flex;flex-wrap: wrap;gap: .5rem}.gw-reward p{margin: .75rem 0}.gw-shake{animation: gw-shake .32s var(--ww-ease-out)}.gw .ww-btn,.gw-puzzle .ww-btn{min-height: var(--ww-control-min)}.gw button:active:enabled,.gw-puzzle button:active:enabled{transform: translateY(1px)}.gw button:disabled,.gw-puzzle button:disabled{opacity: .55;cursor: not-allowed}.gw button:focus-visible,.gw-puzzle button:focus-visible{outline: 3px solid var(--ww-gold);outline-offset: 2px}@media (hover: hover){.gw button:enabled:hover,.gw-puzzle button:enabled:hover{border-color: var(--club-brass)}}.gw-tilt{transform-box: view-box;transform-origin: 210px 96px;transition: transform var(--ww-dur-long) var(--ww-ease-play)}.gw-ball{transition: transform .6s var(--ww-ease-in-out)}.gw-spin{transform-box: fill-box;transform-origin: center;animation: gw-spin var(--spin,2s) linear infinite}.gw-spin-ccw{animation-direction: reverse}.gw-glow{animation: gw-glow 1.2s ease-in-out infinite alternate}@keyframes gw-spin{to{transform: rotate(1turn)}}@keyframes gw-glow{from{opacity: .75}to{opacity: 1}}@keyframes gw-shake{25%{transform: translateX(-6px)}50%{transform: translateX(5px)}75%{transform: translateX(-3px)}}@keyframes gw-pop{from{transform: scale(.94);opacity: 0}}@media (prefers-reduced-motion: reduce){.gw-spin,.gw-glow,.gw-shake,.gw-puzzle[open]{animation: none}.gw-tilt,.gw-ball{transition: none}}html.ww-reduced-motion .gw-spin,html.ww-reduced-motion .gw-glow,html.ww-reduced-motion .gw-shake,html.ww-reduced-motion .gw-puzzle[open]{animation: none}html.ww-reduced-motion .gw-tilt,html.ww-reduced-motion .gw-ball{transition: none}.gw-part,.gw-track{background: var(--ww-paper);border: 1px solid var(--ww-line)}@media (max-width: 40rem){.gw-puzzle{width: calc(100% - .75rem);padding: 1rem .75rem}}.gw-pitch{transform-origin: 200px 112px}.gw-panel{transform-box: view-box}.gw-needle{transition: transform var(--ww-dur-short) var(--ww-ease-out)}.gw-wind{animation: gw-wind .6s linear infinite}.gw-bubble{animation: gw-bubble 1.6s ease-in infinite;animation-delay: var(--d,0s);transform-box: fill-box}@keyframes gw-wind{from{transform: translateX(30px);opacity: 0}50%{opacity: .8}to{transform: translateX(-40px);opacity: 0}}@keyframes gw-bubble{from{transform: translateY(60px);opacity: 0}30%{opacity: 1}to{transform: translateY(-10px);opacity: 0}}@media (prefers-reduced-motion: reduce){.gw-wind,.gw-bubble{animation: none}}html.ww-reduced-motion .gw-wind,html.ww-reduced-motion .gw-bubble{animation: none}.gw-buildings{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: .5rem;margin-bottom: .75rem}.gw-building{display: flex;flex-direction: column;align-items: start;text-align: left;gap: .1rem;padding: .55rem .8rem;white-space: normal;background: var(--ww-paper);border: 1px solid var(--ww-line);border-top: 4px solid var(--gw-tint,var(--ww-line))}.gw-building-garage{--gw-tint: var(--club-oxblood)}.gw-building-hangar{--gw-tint: var(--ww-blue)}.gw-building-greenhouse{--gw-tint: var(--ww-emerald)}.gw-building[aria-pressed="true"]{box-shadow: inset 0 0 0 2px var(--gw-tint);border-color: var(--gw-tint)}.gw-building-name{font-family: var(--ww-display);font-weight: 800;font-size: 1.05rem}.gw-building-meta{font-size: .8rem;color: var(--ww-ink-soft)}@media (max-width: 40rem){.gw-building-meta{display: none}.gw-building{align-items: center;text-align: center}}.gw-levels-row{display: flex;flex-wrap: wrap;align-items: center;gap: .5rem 1rem;margin-bottom: .75rem}.gw-levels{display: inline-grid;grid-template-columns: repeat(3,minmax(0,auto));gap: .35rem;padding: .3rem;border-radius: 999px;background: var(--ww-paper-2);border: 1px solid var(--ww-line)}.gw-level{min-height: var(--ww-control-min);padding: .4rem 1rem;border-radius: 999px;font-weight: 800;background: transparent;border: 2px solid transparent;color: var(--ww-ink-soft)}.gw-level[aria-pressed="true"]{background: var(--ww-paper);color: var(--ww-ink);border-color: var(--gw-level-tint,var(--ww-line));box-shadow: 0 3px 0 color-mix(in oklch,var(--ww-ink) 30%,transparent)}.gw-level-junior{--gw-level-tint: var(--ww-emerald)}.gw-level-standard{--gw-level-tint: var(--ww-blue)}.gw-level-expert{--gw-level-tint: var(--club-oxblood)}.gw-level-note{flex: 1 1 18rem;margin: 0;font-size: .9rem;color: var(--ww-ink-soft)}@media (max-width: 40rem){.gw-levels{display: grid;width: 100%}}.gw-rank:empty{min-height: 1.4rem}.gw-cups:empty{min-height: 2.45rem}.gw-levels:empty{min-height: 3.5rem}.gw-level-note:empty{min-height: 2.8rem}.gw-buildings:empty{min-height: 3.9rem}@media (max-width: 40rem){.gw-cups:empty{min-height: 5.4rem}.gw-level-note:empty{min-height: 5.6rem}.gw-buildings:empty{min-height: 2.75rem}}.gw-slot-tip{margin: 0 0 .45rem;font-size: .84rem;line-height: 1.4;color: var(--ww-ink-soft)}.gw-looks{display: flex;flex-direction: column;gap: .5rem;margin: -.5rem 0 1.5rem}.gw-look-row{display: flex;flex-wrap: wrap;align-items: center;gap: .4rem}.gw-look-label{min-width: 3.5rem;font-family: var(--ww-mono);font-size: .8rem;font-weight: 700;letter-spacing: .08em;text-transform: uppercase;color: var(--ww-ink-soft)}.gw-look{min-height: var(--ww-control-min);padding: .35rem .8rem;font-size: .88rem;background: var(--ww-paper);border: 1px solid var(--ww-line)}.gw-look-paint{padding-left: .5rem;gap: .45rem}.gw-look-paint::before{content: "";width: 1.1rem;height: 1.1rem;border-radius: 50%;background: var(--gw-swatch,var(--ww-line));box-shadow: inset 0 -3px 0 color-mix(in oklch,var(--ww-ink) 30%,transparent),0 0 0 1px var(--ww-line)}.gw-look[aria-pressed="true"]{border-color: var(--ww-emerald);box-shadow: inset 0 0 0 2px var(--ww-emerald)}.gw-look-note{margin: 0;font-size: .85rem;color: var(--ww-ink-soft)}.gw-coach{margin: .75rem 0 0;padding: .6rem .8rem;border-radius: var(--ww-radius-sm);border-left: 4px solid var(--ww-emerald);background: var(--ww-paper);font-weight: 600}.gw-stars{font-size: 1.4rem;letter-spacing: .1em;color: var(--ww-gold);margin: -.25rem 0 .75rem}.gw-stars span{font-size: .9rem;letter-spacing: 0;color: var(--ww-ink);font-weight: 600}.gw-hint{background: var(--ww-paper-2);border: 1px solid var(--ww-line)}
