/* GENERATED by kit/bake.mjs from kit/hud.css. Do not edit; edit kit/hud.css and re-run kit/fvariants.py. */
/* Copied from scrollcraft/builds/gta6-landing/kit on 2026-11-04 so the editor shares the landing look without breaking when the landing kit changes. */
/* hud.css: the game layer. Type, glass, and every HUD piece the three directions share.
   Pricedown is drawn as vector art (art/baked/pd-live.js); no font file is served. */
@font-face { font-family: "PD"; src: url("vc-metrics.ttf") format("truetype"); font-display: block; } /* VC Metrics: Pricedown advances, no outlines; pd-live.js draws the letters */

:root {
  --pd: "PD", Impact, sans-serif;
  --hud: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --neon: "Mr Dafoe", cursive;
  --brush: "Yellowtail", cursive;

  --sky: #86a9d4; --sky-top: #6f93c9; --haze: #d6e4d6; --butter: #f3ecb6;
  --peach: #f6c3ad; --flamingo: #eeb2bf; --pink: #e77bc9; --magenta: #d92e9b;
  --lav: #9c97d4; --lav-deep: #6c63b4; --mint: #bfeadb; --teal: #82cfc4;
  --ink: #2b2648; --ink-soft: #57527a; --night: #17132a;
  --cash: #8fdc84; --cash-deep: #4f9a55; --loss: #e06363; --gold: #f2a93b; --hud-blue: #5aa0e6;

  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.42), rgba(255,255,255,.14) 60%, rgba(255,255,255,.22));
  --glass-line: rgba(255,255,255,.6);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.18), 0 30px 70px -28px rgba(54,44,120,.45);
}

/* ---------- type ---------- */
.pd { font-family: var(--pd); font-weight: 400; line-height: .86; letter-spacing: .01em; margin: 0; }
.pd--out { color: #fff; -webkit-text-stroke: .11em #0d0b14; paint-order: stroke fill; text-shadow: .05em .07em 0 rgba(23,19,42,.55); }
.pd--gold { color: var(--gold); -webkit-text-stroke: .11em #0d0b14; paint-order: stroke fill; text-shadow: .05em .07em 0 rgba(23,19,42,.45); }
.pd--cash { color: var(--cash); -webkit-text-stroke: .12em #0d0b14; paint-order: stroke fill; }
.pd--plus { color: #6fb46f; -webkit-text-stroke: .12em #0d0b14; paint-order: stroke fill; }
.pd--loss { color: var(--loss); -webkit-text-stroke: .12em #0d0b14; paint-order: stroke fill; }
.pd--ink { color: var(--ink); }
.pd--mint { background: linear-gradient(180deg,#fff 0%,#d4f1e4 45%,#7fcfc3 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(.045em 0 0 var(--ink)) drop-shadow(-.045em 0 0 var(--ink)) drop-shadow(0 .045em 0 var(--ink)) drop-shadow(0 -.045em 0 var(--ink)) drop-shadow(.06em .08em 0 rgba(43,38,72,.35)); }
.pd--sunrise { background: linear-gradient(180deg,#fff4c6 0%,#f9c8b4 45%,#ee9ec4 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(.045em 0 0 var(--ink)) drop-shadow(-.045em 0 0 var(--ink)) drop-shadow(0 .045em 0 var(--ink)) drop-shadow(0 -.045em 0 var(--ink)) drop-shadow(.06em .08em 0 rgba(43,38,72,.35)); }
/* hand-set letters: hud.js splits [data-human] into spans with tiny random rotation and baseline */
[data-human] .hl { display: inline-block; transform: translateY(var(--dy,0)) rotate(var(--rot,0deg)) scale(var(--sc,1)); transform-origin: 50% 80%; }
[data-human] .hw { display: inline-block; white-space: nowrap; }

.neon { font-family: var(--neon); font-weight: 400; color: #fff; -webkit-text-stroke: .085em var(--pink); paint-order: stroke fill; text-shadow: .06em .07em 0 #1d1424; line-height: 1; }
.brush { font-family: var(--brush); color: var(--magenta); text-shadow: .045em .045em 0 #141018, .09em .09em 0 #5bc8ee; line-height: 1; }

.hud-label { font: 600 .78rem/1 var(--hud); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- help box (top-left, game style) ---------- */
.helpbox { position: fixed; top: 22px; left: 22px; z-index: 40; max-width: 330px; padding: 14px 16px; background: rgba(10,9,16,.78); color: #fff;
  font: 500 15px/1.4 var(--text); border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .35s, transform .35s; }
.helpbox b { color: var(--gold); font-weight: 600; }
.helpbox.is-hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }

/* ---------- loading spinner (bottom-right) ---------- */
.loader { display: inline-flex; align-items: center; gap: .7em; font: 600 .95rem/1 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.loader i { width: 1.35em; height: 1.35em; border-radius: 50%; border: .18em solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- minimap ---------- */
.minimap { position: fixed; left: 22px; bottom: 22px; z-index: 40; width: 300px; }
.minimap__frame { position: relative; height: 178px; border-radius: 22px; overflow: hidden; perspective: 520px; }
.minimap__frame canvas { position: absolute; left: -30%; top: -62%; width: 160%; height: 210%; transform: rotateX(52deg); transform-origin: 50% 70%; cursor: pointer; }
.minimap__dist { position: absolute; left: 14px; top: 10px; font: 600 15px/1 var(--text); color: #fff; text-shadow: 0 1px 3px rgba(20,16,48,.55); z-index: 2; }
.minimap__n { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; background: #0d0b14; color: #fff; font: 700 11px/20px var(--hud); text-align: center; }
.minimap__player { position: absolute; left: 50%; bottom: 30px; z-index: 2; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: #0d0b14; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.65); }
.minimap__player svg { width: 13px; height: 13px; fill: #fff; }
.minimap__label { position: absolute; right: 12px; top: 10px; z-index: 2; font: 600 12px/1 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(20,16,48,.55); }
.minimap__bars { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5px; margin-top: 7px; }
.minimap__bars span { height: 7px; border-radius: 2px; background: rgba(13,11,20,.35); overflow: hidden; }
.minimap__bars span::before { content: ""; display: block; height: 100%; width: var(--f, 100%); background: var(--c); transition: width .3s; }
.minimap__legend { position: absolute; bottom: calc(100% + 10px); left: 0; display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transform: translateY(6px); transition: .25s; pointer-events: none; }
.minimap:hover .minimap__legend, .minimap:focus-within .minimap__legend { opacity: 1; transform: none; pointer-events: auto; }
.minimap__legend button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--hud); letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.minimap__legend button:focus-visible { outline: 2px solid var(--hud-blue); }
.minimap__legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* ---------- weapon wheel ---------- */
.wheel { position: relative; width: min(560px, 92vw); aspect-ratio: 1; user-select: none; }
.wheel svg.wheel__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel__seg { fill: rgba(70,68,92,.5); stroke: rgba(255,255,255,.55); stroke-width: 1.5; cursor: pointer; transition: fill .2s; }
.wheel__seg:hover { fill: rgba(90,88,120,.62); }
.wheel__seg.is-on { fill: url(#wheelBlue); }
.wheel__seg:focus-visible { outline: none; stroke: #fff; stroke-width: 4; }
.wheel__icon { pointer-events: none; color: #fff; }
.wheel__ammo { pointer-events: none; font: 600 15px/1 var(--hud); fill: #fff; letter-spacing: .06em; text-anchor: middle; }
.wheel__hub { position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.05) 70%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.wheel__name { font: 700 clamp(18px, 3.2vw, 26px)/1.05 var(--hud); letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.wheel__desc { font: 500 13px/1.35 var(--text); opacity: .9; max-width: 15em; margin: .5em auto 0; }
.wheel__pager { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; font: 700 16px/1 var(--hud); pointer-events: auto; }
.wheel__pager button { all: unset; cursor: pointer; color: var(--hud-blue); font: 700 22px/1 var(--hud); padding: 2px 6px; }
.wheel__pager button:focus-visible { outline: 2px solid #fff; border-radius: 4px; }
.wheel__arc { fill: none; stroke: var(--hud-blue); stroke-width: 7; stroke-linecap: round; transition: d .25s; }

/* ---------- switch wheel (three takes) ---------- */
.switch { position: relative; width: min(440px, 86vw); aspect-ratio: 1; }
.switch svg { width: 100%; height: 100%; overflow: visible; }
.switch__wedge { cursor: pointer; }
.switch__wedge image, .switch__wedge foreignObject { pointer-events: none; }
.switch__shade { fill: rgba(60,58,84,.32); transition: fill .2s; }
.switch__wedge:hover .switch__shade { fill: rgba(60,58,84,.12); }
.switch__wedge.is-on .switch__shade { fill: rgba(255,255,255,0); }
.switch__rim { fill: none; stroke-width: 11; opacity: .55; transition: opacity .2s, stroke-width .2s; }
.switch__wedge.is-on .switch__rim { opacity: 1; stroke-width: 15; }
.switch__wedge:focus-visible { outline: none; }
.switch__wedge:focus-visible .switch__rim { opacity: 1; stroke-width: 17; }
.switch__tag { font: 700 22px/1 var(--hud); fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(13,11,20,.6); stroke-width: 4px; letter-spacing: .08em; }

/* ---------- cash counter ---------- */
.cash { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .06em; }
.cash__total { font-size: clamp(64px, 9vw, 132px); }
.cash__line { font-size: clamp(30px, 3.6vw, 52px); opacity: 0; transform: translateY(.35em); transition: opacity .25s, transform .25s; }
.cash__line.is-in { opacity: 1; transform: none; }
.coin { display: inline-flex; align-items: center; gap: .12em; font-size: clamp(40px, 5vw, 76px); }
.coin svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- phone with the short preview ---------- */
.phone { position: relative; width: min(330px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 11px;
  background: linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,.18)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--glass-shadow), 0 50px 90px -40px rgba(43,38,72,.6); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0d0b14; isolation: isolate; }
.phone__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone__notch { position: absolute; top: 9px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 99px; background: #0d0b14; z-index: 9; }

/* ---------- short preview overlays (one class per preset, each loops 6s) ---------- */
.short { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; container-type: inline-size; }
.short > * { position: absolute; }
.short .s-hook { left: 7%; right: 7%; top: 15%; font-size: 15cqw; text-align: center; transform: rotate(-4deg); }
.short .s-cap { left: 8%; right: 8%; bottom: 17%; text-align: center; font: 600 5.2cqw/1.25 var(--text); color: #fff; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0,0,0,.4); }
.short .s-cap b { color: #f5d042; font-weight: 700; }
.short .s-stars { right: 6%; top: 7%; font-size: 4.5cqw; }
.short .s-bars::before, .short .s-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 13%; background: #000; }
.short .s-bars { inset: 0; }
.short .s-bars::before { top: 0; } .short .s-bars::after { bottom: 0; }
.short .s-out { inset: 0; display: grid; place-content: center; text-align: center; background: rgba(13,11,20,.18); }
.short .s-out .pd { font-size: 13cqw; }
.short .s-out .pd + .pd { font-size: 9cqw; margin-top: .25em; }
.short .s-radio { left: 6%; bottom: 26%; padding: 3cqw 4cqw; border-radius: 4cqw; font: 700 4.4cqw/1.1 var(--hud); color: #fff; letter-spacing: .06em;
  background: rgba(20,18,36,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.short .s-radio .neon { font-size: 9cqw; display: block; }
.short .s-ticker { left: 0; right: 0; bottom: 8%; height: 8cqw; background: #f5d042; color: #0d0b14; font: 700 4.6cqw/8cqw var(--hud); white-space: nowrap; overflow: hidden; }
.short .s-ticker span { display: inline-block; padding-left: 100%; animation: tick 6s linear infinite; }
.short .s-ticker::before { content: "BREAKING"; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; padding: 0 3cqw; background: #e04848; color: #fff; }
@keyframes tick { to { transform: translateX(-100%); } }
.short .s-map { inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 0, rgba(13,11,20,.0) 0); }
.short .s-cashline { left: 6%; top: 24%; font-size: 9cqw; display: flex; flex-direction: column; gap: .05em; }
.short .s-tc { left: 5%; top: 4%; font: 600 3.4cqw/1 ui-monospace, Menlo, monospace; color: rgba(255,255,255,.75); letter-spacing: .06em; }

/* animation timeline: 6s loop, restarted whenever the preset changes */
.short.is-play .a-hook { animation: hookIn 6s cubic-bezier(.2,.9,.3,1.2) infinite; }
.short.is-play .a-cap { animation: capIn 6s steps(1) infinite; }
.short.is-play .a-out { animation: outIn 6s ease infinite; }
.short.is-play .a-bars::before { animation: barTop 6s ease infinite; }
.short.is-play .a-bars::after { animation: barBot 6s ease infinite; }
.short.is-play .a-side { animation: sideIn 6s cubic-bezier(.2,.9,.3,1) infinite; }
.short.is-play .a-line1 { animation: lineIn 6s ease infinite; animation-delay: .0s; }
.short.is-play .a-line2 { animation: lineIn2 6s ease infinite; }
.short.is-play .a-line3 { animation: lineIn3 6s ease infinite; }
@keyframes hookIn { 0% { opacity: 0; transform: rotate(-4deg) scale(1.9); } 6% { opacity: 1; transform: rotate(-4deg) scale(1); } 40% { opacity: 1; } 46%, 100% { opacity: 0; transform: rotate(-4deg) scale(.96); } }
@keyframes capIn { 0%, 12% { opacity: 0; } 13%, 72% { opacity: 1; } 73%, 100% { opacity: 0; } }
@keyframes outIn { 0%, 74% { opacity: 0; transform: scale(1.12); } 78%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes barTop { 0% { transform: translateY(-100%); } 8%, 92% { transform: none; } 100% { transform: translateY(-100%); } }
@keyframes barBot { 0% { transform: translateY(100%); } 8%, 92% { transform: none; } 100% { transform: translateY(100%); } }
@keyframes sideIn { 0%, 18% { opacity: 0; transform: translateX(-30%); } 24%, 80% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; transform: translateX(-30%); } }
@keyframes lineIn { 0%, 4% { opacity: 0; transform: translateY(.3em); } 8%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }
@keyframes lineIn2 { 0%, 14% { opacity: 0; transform: translateY(.3em); } 18%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }
@keyframes lineIn3 { 0%, 24% { opacity: 0; transform: translateY(.3em); } 28%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }

/* ---------- mission passed overlay ---------- */
.passed { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.passed::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,42,0), rgba(23,19,42,.55) 40%, rgba(23,19,42,.55) 60%, rgba(23,19,42,0)); }
.passed.is-on { opacity: 1; pointer-events: auto; }
.passed > * { position: relative; }
.passed .pd--gold { font-size: clamp(56px, 10vw, 150px); }
.passed .pd--out { font-size: clamp(34px, 5vw, 76px); margin-top: .2em; }
.passed .passed__sub { margin-top: 28px; font: 500 17px/1.5 var(--text); color: #fff; max-width: 30em; }
.passed.is-on .pd--gold { animation: passIn .7s cubic-bezier(.2,.9,.3,1.3) both; }
.passed.is-on .pd--out { animation: passIn .7s .25s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes passIn { from { opacity: 0; transform: scale(1.6); filter: blur(6px); } }
.passed__close { margin-top: 26px; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .short.is-play * , .short.is-play *::before, .short.is-play *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .loader i { animation: none; }
}
@media (max-width: 720px) {
  .minimap { width: 190px; left: 12px; bottom: 12px; }
  .minimap__frame { height: 118px; border-radius: 16px; }
  .minimap__label { display: none; }
  .helpbox { top: 12px; left: 12px; right: 12px; max-width: none; font-size: 14px; }
}

/* gradient fills need the clip on each hand-set letter */
.pd--mint[data-human], .pd--sunrise[data-human] { background: none; filter: none; color: inherit; }
.pd--mint[data-human] .hl, .pd--sunrise[data-human] .hl { -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(.045em 0 0 var(--ink)) drop-shadow(-.045em 0 0 var(--ink)) drop-shadow(0 .045em 0 var(--ink)) drop-shadow(0 -.045em 0 var(--ink)) drop-shadow(.06em .08em 0 rgba(43,38,72,.35)); }
.pd--mint[data-human] .hl { background-image: linear-gradient(180deg,#fff 0%,#d4f1e4 45%,#7fcfc3 100%); }
.pd--sunrise[data-human] .hl { background-image: linear-gradient(180deg,#fff4c6 0%,#f9c8b4 45%,#ee9ec4 100%); }
.short .s-bars::before, .short .s-bars::after { height: 8%; }
.short .s-hook { font-size: 13cqw; }
.switch__tag { font-family: var(--pd); letter-spacing: 0; stroke-width: 5px; }
