/* =====================================================
   $RESPAWN · GTA VI WAVE
   Visual system: pink sunset / electric green / violet.
   Layout intentionally mirrors the approved mockup without
   using screenshots as backgrounds (no duplicated text).
   ===================================================== */
:root {
  --bg: #100c1a;
  --bg-2: #151023;
  --panel: rgba(16, 13, 27, .86);
  --panel-hi: rgba(27, 19, 43, .93);
  --lime: #5aff72;
  --lime-hi: #acff85;
  --pink: #ff45ab;
  --cyan: #48e6ff;
  --violet: #a060ed;
  --text: #f7f4fe;
  --muted: #b1a9c5;
  --border: rgba(241, 108, 221, .29);
  --line: rgba(255,255,255,.12);
  --heading: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --container: 1456px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5; }
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 58% 38% at 94% 6%,rgba(167,30,131,.14),transparent),radial-gradient(ellipse 70% 42% at 20% 90%,rgba(86,30,138,.12),transparent); }
button,input { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
button:disabled { cursor:not-allowed; opacity:.56; }
[hidden] { display:none !important; }
::selection { background:var(--pink);color:white; }
.container { width:min(calc(100% - 72px),var(--container)); margin-inline:auto; }
.site-shell { overflow:clip; }
.skip-link { position:absolute; z-index:90; top:-70px; left:20px; background:var(--lime); color:#090d0b; padding:12px 20px; }
.skip-link:focus { top:20px; }
/* Top navigation */
.site-header { position:sticky; top:0; z-index:60; background:rgba(15,11,25,.90); border-bottom:1px solid rgba(255,100,208,.25); backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px); }
.header-inner { display:flex; align-items:center; gap:24px; min-height:81px; }
.brand { flex:0 0 auto; display:inline-flex; align-items:center; gap:11px; color:white; }
.brand-icon { display:grid; place-items:center; filter:drop-shadow(0 0 8px rgba(90,255,114,.35)); }
.brand-icon img { display:block; }
.brand-copy { display:flex; flex-direction:column; line-height:1; }
.brand-copy strong { font-size:29px; font-weight:900; font-style:italic; letter-spacing:-1.6px; }
.brand-copy strong span { color:var(--lime); }
.brand-copy small { margin-top:4px; font-size:10px; font-weight:700; letter-spacing:3.1px; }
.desktop-nav { display:flex; flex:1; justify-content:center; align-items:center; gap:clamp(14px,2.35vw,37px); white-space:nowrap; }
.desktop-nav a { display:flex; align-items:center; gap:9px; font-weight:700; font-size:13px; transition:color .2s; }
.nav-led,.live-dot,.pulse-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--lime); box-shadow:0 0 12px var(--lime); flex:none; }
.pulse-dot { animation:pulse 1.7s infinite; }
@keyframes pulse { 50%{ opacity:.4; box-shadow:0 0 1px var(--lime); } }
.header-actions { display:flex; align-items:center; gap:12px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1px solid transparent; min-height:45px; padding:12px 22px; border-radius:10px; font-weight:900; letter-spacing:.02em; font-size:13px; text-align:center; text-transform:uppercase; transition:transform .17s,box-shadow .17s,background .17s; white-space:nowrap; }
.btn:hover:not(:disabled) { transform:translateY(-2px); }
.btn:active:not(:disabled) { transform:translateY(0); }
.btn-lime { background:linear-gradient(155deg,#abff85,#53ff68 62%,#26dc64); color:#0c1511; box-shadow:0 0 23px rgba(77,255,101,.28),inset 0 1px rgba(255,255,255,.5); }
.btn-lime:hover:not(:disabled) { color:#0c1511; box-shadow:0 4px 32px rgba(77,255,101,.54); }
.btn-header { font-size:13px; min-width:170px; }
.btn-header span { font-size:23px; line-height:.5; }
.btn-glass,.btn-outline { color:white; border:1px solid rgba(255,255,255,.62); background:rgba(12,12,23,.48); box-shadow:inset 0 0 10px rgba(255,255,255,.03); }
.btn-glass:hover,.btn-outline:hover { background:rgba(255,255,255,.12); }
.btn-lg { min-width:214px; min-height:57px; padding-inline:24px; font-size:16px; }
.btn-small { min-height:34px; font-size:11px; padding:9px 12px; border-radius:7px; }
.menu-toggle { display:none; width:43px; height:42px; padding:12px 9px; background:rgba(255,255,255,.06); border:1px solid var(--border); border-radius:7px; }
.menu-toggle span { display:block; height:2px; margin:4px 0; background:white; }
.mobile-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; padding:12px 6%; border-top:1px solid var(--border); background:#1b1227; }
.mobile-nav a { padding:12px 8px; font-weight:700; }
/* The hero background was generated separately; it has no baked-in controls. */
.hero { min-height:710px; position:relative; isolation:isolate; background:#25102e; }
.hero-image { position:absolute; z-index:-3; inset:0; background:url('assets/vice-city-hero.webp') center 42%/cover no-repeat; }
.hero-vignette {
  position:absolute;
  z-index:-2;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse var(--shade-width, 74%) 85% at 8% 43%, #160e25f5 5%, #1a1029df 39%, #24112b88 68%, transparent 100%),
    linear-gradient(to top, #1b1025, transparent 23%);
}
.hero::after { content:""; position:absolute; z-index:-1; inset:0; opacity:.22; pointer-events:none; background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,rgba(26,7,30,.18) 4px); }
.hero-content { min-height:710px; display:flex; flex-direction:column; justify-content:space-between; padding-top:22px; padding-bottom:28px; }
.top-rail { display:flex; align-items:center; gap:21px; width:fit-content; padding:9px 15px; border-radius:100px; background:rgba(16,12,29,.70); border:1px solid rgba(92,255,121,.45); box-shadow:0 0 17px rgba(92,255,121,.09); }
.rail-status,.countdown-mini { display:flex; align-items:center; gap:9px; color:#d8ffe0; font-size:11px; letter-spacing:1.1px; font-weight:800; }
.rail-separator { height:16px; width:1px; background:rgba(255,255,255,.3); }
.countdown-mini { color:white; }.countdown-mini strong{ color:var(--lime); }
.hero-text { max-width:800px; margin-top:26px; margin-bottom:20px; }
.hero-tags { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-bottom:14px; }
.pill { display:inline-flex; align-items:center; gap:10px; padding:6px 14px; border-radius:8px; font-size:11px; background:rgba(10,12,24,.62); border:1px solid rgba(230,229,255,.4); letter-spacing:1.5px; font-weight:800; }
.solana-mark { color:var(--cyan); font-size:23px;line-height:.7; transform:rotate(-12deg); }
.pill-pink { color:#ffadcf; border-color:rgba(255,86,180,.65); box-shadow:0 0 12px rgba(255,69,171,.18); }
.eyebrow { margin:0; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:2.5px; color:var(--lime); }
.hero-overline { color:#f3c6e5; letter-spacing:5px; font-style:italic; }
.hero h1 { font-family:var(--heading); font-size:clamp(95px,11.5vw,185px); line-height:.79; letter-spacing:-2px; font-weight:900; font-style:italic; margin:9px 0 11px -6px; background:linear-gradient(158deg,#fff 3%,#f9f1ff 21%,#a2ff83 50%,#31ff72 78%); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 8px 1px rgba(0,0,0,.19)); text-shadow:none; }
.hero-subtitle { font-family:var(--heading); font-weight:900; font-style:italic; font-size:clamp(27px,3.15vw,49px); line-height:1; letter-spacing:1px; color:white; margin:10px 0 20px; }
.hero-subtitle span:not(.slashes) { color:var(--pink); }
.slashes { color:var(--lime); }
.hero-description { max-width:600px; margin:0 0 11px; font-size:clamp(15px,1.32vw,18px); line-height:1.6; font-weight:500; text-shadow:0 2px 6px #160b20; }
.hero-tagline { margin:0 0 24px; font-family:var(--heading); letter-spacing:1px; font-style:italic; font-weight:900; font-size:26px; }
.hero-tagline span { color:var(--lime); }
.hero-buttons { display:flex; gap:12px; flex-wrap:wrap; }
.hero-quicklinks { display:flex; flex-wrap:wrap; gap:30px; margin-top:20px; }
.text-link { border:0; background:none; font-size:12px; letter-spacing:.3px; font-weight:800; color:white; padding:0; text-decoration:underline; text-underline-offset:4px; }
.text-link:hover { color:var(--lime); }
.text-link span { padding-left:5px; }
.hero-bottom { display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px; max-width:680px; border-top:1px solid rgba(255,255,255,.22); padding-top:16px; }
.hero-bottom-label { display:flex; align-items:center; font-size:10px; font-weight:800; letter-spacing:1.6px; }
.countdown { display:flex; align-items:flex-start; gap:8px; }
.countdown span { display:flex; flex-direction:column; min-width:41px; text-align:center; }
.countdown strong { font:900 30px/.9 var(--heading); letter-spacing:1px; }
.countdown small { font-size:8px; font-weight:700; letter-spacing:.6px; color:#f3c5eb; }
.countdown em { font:900 24px/1 var(--heading); font-style:normal; color:var(--lime); }
.countdown-source { color:#ffcfec; text-decoration:underline; text-underline-offset:4px; font-size:10px; letter-spacing:.7px; font-weight:800; }
.hero-bottom-line { position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(90deg,var(--pink),var(--lime),var(--pink)); box-shadow:0 0 19px var(--pink); }
/* Global section styling */
.section-block { margin-top:86px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:24px; }
.section-heading h2,.panel-title h2 { margin:2px 0 0; font-family:var(--heading); font-size:clamp(36px,4.6vw,64px); line-height:1; font-weight:900; font-style:italic; letter-spacing:.2px; }
.section-heading h2 span,.panel-title h2 span { color:var(--lime); }
.section-intro { margin:12px 0 0; font-size:14px; color:var(--muted); max-width:650px; }
.section-index { font:700 12px var(--heading); letter-spacing:2px; color:#d99ac9; padding-bottom:7px; }
/* Market */
.market { position:relative; }
.market-heading { align-items:center; }
.market-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.status-badge { font-size:10px; letter-spacing:1px; border:1px solid rgba(255,200,110,.35); color:#ffce86; background:rgba(255,200,110,.08); padding:8px 10px; border-radius:8px; font-weight:800; }
.status-badge.online { color:var(--lime); border-color:rgba(90,255,114,.4); background:rgba(90,255,114,.08); }
.status-badge.error { color:#ff88bd; border-color:rgba(255,100,153,.4); }
.metrics-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:11px; }
.metric-card,.panel,.story-card,.step-card { background:linear-gradient(160deg,rgba(25,22,40,.96),rgba(11,14,26,.97)); border:1px solid var(--border); border-radius:13px; box-shadow:0 12px 30px rgba(0,0,0,.15); }
.metric-card { min-height:112px; padding:15px 16px; border-color:rgba(255,97,191,.45); position:relative; overflow:hidden; }
.metric-card::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--pink),transparent); opacity:.65; }
.metric-card strong { display:block; margin-top:8px; font:800 clamp(20px,2.3vw,32px)/1.15 var(--heading); letter-spacing:.3px; }
.metric-label { color:#d8d1e3; font-size:10px; font-weight:800; letter-spacing:.85px; }
.metric-card small { display:block; margin-top:6px; color:var(--muted); font-size:11px; }
.metric-card small.positive { color:var(--lime); }
.metric-card small.negative { color:#ff5b92; }
.market-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:stretch; gap:14px; margin-top:14px; }
.panel { overflow:hidden; }
.panel-title { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 17px; border-bottom:1px solid var(--line); }
.panel-title h3 { margin:0; font-family:var(--heading); font-size:21px; letter-spacing:.3px; }
.panel-title h3 .live-dot { margin-right:7px; vertical-align:3px; }
.panel-title h2 { font-size:27px; }
.muted-small { font-size:10px; color:#a69dbb; letter-spacing:1.1px; font-weight:800; }
.chart-wrap { height:350px; position:relative; background:#121321; }
.chart-placeholder,.ghost-chart { position:absolute; inset:0; }
.chart-placeholder { display:flex; justify-content:center; align-items:center; overflow:hidden; }
.ghost-chart { opacity:.35; background-image:linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px); background-size:100% 20%,10% 100%; }
.ghost-chart svg { position:absolute; width:100%; height:70%; bottom:6%; }
.placeholder-message { position:relative; z-index:2; display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center; max-width:340px; padding:20px; border:1px solid rgba(255,255,255,.16); background:rgba(16,12,26,.91); border-radius:12px; }
.placeholder-icon { color:var(--lime); font-size:28px; }
.placeholder-message strong { font:900 22px var(--heading); letter-spacing:2px; }
.placeholder-message span:not(.placeholder-icon) { color:var(--muted); font-size:12px; }
.placeholder-message button { margin-top:5px; }
#dex-iframe { width:100%; height:100%; border:0; color-scheme:dark; }
.panel-foot { padding:10px 16px; min-height:37px; border-top:1px solid var(--line); display:flex; gap:10px; align-items:center; justify-content:space-between; color:#9f97b4; font-size:10px; }
.panel-foot .text-link { font-size:10px; text-decoration:none; }
.tiny-dot { width:3px; height:3px; border-radius:50%; background:#a39bad; margin-left:auto; }
.trades-table-wrap { height:350px; overflow:auto; scrollbar-color:#663961 #171220; }
.trades-table { width:100%; border-collapse:collapse; text-align:left; }
.trades-table th { position:sticky; top:0; z-index:1; background:#1e172e; color:#bbb2cc; font-size:10px; font-weight:800; letter-spacing:.4px; padding:10px 11px; }
.trades-table td { border-bottom:1px solid rgba(255,255,255,.07); padding:11px; font-size:11px; }
.trades-table tr:hover td { background:rgba(255,255,255,.045); }
.trades-table .table-empty { text-align:center; padding:90px 20px; font-size:12px; color:var(--muted); }
.trade-kind { display:inline-block; min-width:40px; text-align:center; border:1px solid rgba(90,255,114,.33); background:rgba(90,255,114,.10); color:var(--lime); padding:3px 6px; border-radius:4px; font-size:10px; font-weight:900; }
.trade-kind.sell { border-color:rgba(255,89,143,.37); color:#ff769f; background:rgba(255,89,143,.1); }
.trade-wallet { color:#c4b7d5; font-size:11px; text-decoration:underline; }
.market-disclaimer { margin:12px 2px 0; font-size:10px; color:#958ca9; }
/* Dispatch cards */
.dispatch-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.story-card { overflow:hidden; transition:border-color .2s,transform .2s; }
.story-card:hover { border-color:var(--pink); transform:translateY(-2px); }
.story-image { height:184px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; isolation:isolate; }
.story-image::before { content:""; position:absolute; inset:0; z-index:-2; background:url('assets/vice-city-hero.webp') center/cover; }
.story-image-one::before { background-position:78% 34%; filter:hue-rotate(-11deg) saturate(1.35); transform:scale(1.22); }
.story-image-two::before { background-position:54% 60%; filter:hue-rotate(35deg) saturate(1.4); transform:scale(1.1); }
.story-image-three::before { background-position:85% 80%; filter:hue-rotate(105deg) saturate(.9); transform:scale(1.4); }
.story-image::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(15,11,25,.45),rgba(40,10,49,.03)); z-index:-1; }
.story-category { position:absolute; top:14px; left:14px; border:1px solid rgba(255,255,255,.32); background:rgba(13,9,22,.67); border-radius:5px; padding:4px 9px; color:white; font-size:10px; font-weight:900; letter-spacing:1.1px; }
.story-symbol { font:900 120px/.8 var(--heading); color:rgba(255,255,255,.83); text-shadow:4px 7px 0 rgba(230,28,163,.8),0 0 30px rgba(91,255,114,.5); transform:skewX(-10deg); }
.story-symbol-sub { color:var(--lime); font-size:32px; }
.story-burst { font-size:120px; color:var(--lime); text-shadow:0 0 28px #23fb6b; }
.story-wire { font-size:126px; color:var(--cyan); text-shadow:0 0 25px #48e6ff; }
.story-body { padding:18px 20px 17px; }
.story-body time { font-size:10px; font-weight:800; color:var(--pink); letter-spacing:1.3px; }
.story-body h3 { margin:7px 0; font:900 30px/1 var(--heading); }
.story-body p { margin:0; min-height:63px; font-size:13px; color:#c3bad2; }
.story-footer { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding-top:14px; margin-top:15px; font-size:11px; font-weight:900; letter-spacing:.5px; color:var(--lime); }
.story-link-button { width:100%; border:0; background:none; text-align:left; cursor:pointer; }
/* Job board and preview crew */
.ops-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:17px; }
.job-list { padding:7px 23px 22px; }
.job-item { display:flex; align-items:center; gap:14px; min-height:79px; border-bottom:1px solid var(--line); }
.job-item:last-child { border-bottom:0; }
.job-no { flex:0 0 auto; display:grid; place-items:center; width:59px; height:37px; border-radius:7px; background:rgba(90,255,114,.08); border:1px solid rgba(90,255,114,.34); color:var(--lime); font:800 18px var(--heading); }
.job-no.hot { border-color:var(--pink); color:var(--pink); font-size:16px; }
.job-item > div { flex:1; min-width:0; }
.job-item strong { display:block; font-size:13px; }
.job-item small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.job-state { flex:none; font-size:9px; font-weight:900; border:1px solid var(--line); border-radius:30px; padding:5px 8px; color:#aea3bf; }
.job-state.inprogress { color:var(--lime); border-color:rgba(90,255,114,.5); }
.job-state.highlight { color:#ff95cb; border-color:var(--pink); }
.ops-right { display:grid; grid-template-rows:auto 1fr; gap:16px; }
.promo-card { min-height:255px; position:relative; isolation:isolate; overflow:hidden; padding:29px; border-radius:13px; border:1px solid var(--pink); background:#21152e url('assets/new-wave.webp') 72% center/cover no-repeat; }
.promo-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#190d26 3%,rgba(24,9,36,.83) 43%,rgba(33,11,41,.25)); }
.promo-card h2 { font:900 clamp(31px,3.3vw,48px)/.96 var(--heading);font-style:italic; margin:8px 0; }
.promo-card h2 span { color:var(--lime); }
.promo-card > p:not(.eyebrow) { max-width:380px; margin:14px 0 20px; color:#f9e6f3; font-size:12px; }
.role-list { padding:1px 20px 12px; }
.role { display:flex; align-items:center; gap:14px; border-bottom:1px solid var(--line); padding:11px 0; }
.role:last-child { border-bottom:0; }
.role > span { font-size:25px; color:var(--lime); width:36px; text-align:center; }
.role strong { display:block; font:900 17px var(--heading); letter-spacing:.7px; }
.role small { display:block; font-size:11px; color:var(--muted); }
/* Missions */
.mission-grid { display:grid; grid-template-columns:1.12fr .88fr; gap:16px; }
.mission-list { padding:9px 14px; }
.mission-entry { width:100%; text-align:left; display:flex; align-items:flex-start; gap:13px; padding:13px 10px; border:0; border-bottom:1px solid var(--line); color:white; background:transparent; transition:background .2s; }
.mission-entry:last-child { border-bottom:0; }
.mission-entry:hover,.mission-entry[aria-expanded=true] { background:rgba(90,255,114,.045); }
.mission-no { flex:none; font:900 33px/.93 var(--heading); color:var(--lime); font-style:italic; min-width:43px; }
.mission-title { flex:1; min-width:0; }
.mission-title strong { display:block; font:900 20px/.95 var(--heading); font-style:italic; }
.mission-title small { display:block; font:400 11px/1.4 var(--body); color:#c4bdcd; margin-top:5px; }
.mission-detail { display:none; margin-top:11px; color:#aef4b8; font-size:11px; line-height:1.5; }
.mission-entry[aria-expanded=true] .mission-detail { display:block; }
.mission-state { flex:0 0 auto; min-width:66px; text-align:center; border:1px solid rgba(255,255,255,.25); border-radius:6px; padding:4px 5px; color:#b6adbf; font:800 10px var(--heading); letter-spacing:.3px; }
.mission-state.done { color:var(--lime); border-color:rgba(90,255,114,.6); }
.mission-state.active { color:#90ffbf; border-color:rgba(90,255,114,.42); }
.mission-state.main { color:#ff85b4; border-color:var(--pink); }
.mission-chevron { flex:0 0 auto; color:var(--muted); line-height:1; transition:transform .2s; }
.mission-entry[aria-expanded=true] .mission-chevron { transform:rotate(180deg); color:var(--lime); }
.mission-side { display:grid; gap:16px; grid-template-rows:1fr auto; }
.mission-feature { position:relative; overflow:hidden; isolation:isolate; border:1px solid var(--pink); border-radius:13px; padding:32px; background:url('assets/vice-city-hero.webp') 78% 50%/cover; }
.mission-feature::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(19,8,26,.92) 0%,rgba(30,9,37,.65) 61%,rgba(15,7,25,.82) 100%); }
.mission-feature h3 { font:900 clamp(45px,6vw,92px)/.85 var(--heading);font-style:italic; margin:18px 0 18px; }
.mission-feature h3 span { color:var(--lime); }
.mission-feature > p:not(.eyebrow) { color:#eee2ee; max-width:390px; font-size:13px; }
.mission-date { margin-top:40px; display:flex; flex-direction:column; align-items:center; gap:6px; padding:18px 12px; text-align:center; border:1px solid var(--lime); border-radius:8px; background:rgba(12,14,24,.82); box-shadow:0 0 20px rgba(90,255,114,.12); }
.mission-date small { font-size:11px; font-weight:900; letter-spacing:1.4px; color:var(--lime); }
.mission-date strong { font:900 clamp(40px,5vw,67px)/1 var(--heading); letter-spacing:2px; }
.mission-date a { font-size:10px; font-weight:800; color:#ffbde4; text-decoration:underline; text-underline-offset:4px; }
.mission-cta { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 20px; border:1px solid var(--border); border-radius:12px; background:var(--panel); }
.mission-cta p { font:900 24px var(--heading);font-style:italic; margin:0; }
/* How to buy */
.steps-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.step-card { min-height:215px; padding:22px; position:relative; border-color:rgba(90,255,114,.39); }
.step-no { position:absolute; top:16px; right:20px; font:900 36px var(--heading); color:rgba(90,255,114,.47); }
.step-emoji { display:block; font-size:39px; line-height:1; color:var(--lime); }
.step-card h3 { margin:20px 0 8px; font:900 24px var(--heading); }
.step-card p { margin:0; font-size:12px; color:#c4bdcd; }
.step-card a { color:var(--lime); text-decoration:underline; }
.contract-box { margin-top:20px; border:1px solid var(--lime); border-radius:11px; background:linear-gradient(90deg,rgba(90,255,114,.045),rgba(255,60,180,.05)); padding:17px 20px; display:flex; align-items:center; gap:18px; min-width:0; }
.contract-label { font-size:11px; font-weight:900; letter-spacing:1px; white-space:nowrap; color:var(--lime); }
.contract-box code { font-size:12px; flex:1; min-width:0; overflow-wrap:anywhere; color:#fff; }
.contract-actions { display:flex; gap:7px; flex:none; }
.contract-actions .btn { font-size:10px; min-height:39px; padding:8px 13px; }
/* FAQ */
.faq-section { padding-bottom:72px; }
.faq-list { border-top:1px solid var(--border); }
.faq-list details { border-bottom:1px solid var(--border); background:linear-gradient(110deg,rgba(47,25,55,.26),rgba(14,12,22,.4)); }
.faq-list summary { cursor:pointer; display:flex; justify-content:space-between; align-items:center; padding:19px 23px; list-style:none; font:800 19px var(--heading); letter-spacing:.4px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { font-size:27px; color:var(--lime); transition:transform .2s; }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details p { max-width:960px; margin:0; padding:0 23px 22px; font-size:13px; color:#c8bfd4; line-height:1.8; }
.site-footer { border-top:1px solid var(--border); background:#110c1d; padding:30px 0 24px; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-brand { font:900 30px var(--heading); font-style:italic; }
.footer-brand span { color:var(--lime); font-size:15px; }
.footer-links { display:flex; flex-wrap:wrap; gap:22px; font-size:11px; letter-spacing:1px; font-weight:800; }
.footer-disclaimer { margin-top:18px; font-size:10px; color:#837b94; }
/* Native dialog and toast */
.settings-dialog { width:min(calc(100% - 26px),540px); max-height:min(90vh,720px); overflow:auto; border:1px solid var(--pink); border-radius:16px; background:#1a1227; color:white; padding:29px; box-shadow:0 20px 100px #050209,0 0 40px rgba(255,69,171,.22); }
.settings-dialog::backdrop { background:rgba(8,4,14,.80); backdrop-filter:blur(8px); }
.dialog-head { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.dialog-head h2 { font:900 44px/.95 var(--heading); font-style:italic; margin:5px 0 0; }
.dialog-head h2 span { color:var(--lime); }
.dialog-close { display:grid; place-items:center; flex:none; width:32px; height:32px; border:1px solid var(--border); border-radius:6px; color:white; background:transparent; }
.dialog-description { color:#c1b7ce; font-size:12px; line-height:1.7; margin:20px 0 22px; }
.settings-dialog label { display:block; margin:18px 0 7px; font-size:11px; font-weight:900; letter-spacing:1px; }
.settings-dialog label span { font-weight:500; color:#9f91b3; }
.settings-dialog input { width:100%; outline:none; min-height:44px; border:1px solid #554164; border-radius:7px; background:#120d1b; color:white; padding:10px 12px; font:12px var(--body); }
.settings-dialog input:focus { border-color:var(--lime); box-shadow:0 0 0 2px rgba(90,255,114,.13); }
.field-error { font-size:11px; color:#ff6f9d; min-height:15px; margin:7px 0 -2px; }
.dialog-buttons { display:flex; justify-content:space-between; gap:10px; margin-top:25px; }
.dialog-buttons .btn { min-height:40px; font-size:11px; }
.toast { position:fixed; z-index:100; bottom:24px; right:24px; max-width:360px; padding:13px 17px; border:1px solid var(--lime); border-radius:9px; background:#17241b; color:white; box-shadow:0 10px 40px rgba(0,0,0,.42); font-size:12px; font-weight:700; opacity:0; pointer-events:none; transform:translateY(20px); transition:opacity .22s,transform .22s; }
.toast.visible { opacity:1; transform:translateY(0); }
.toast.error { border-color:var(--pink); background:#351225; }
/* Responsive: tablet */
@media (max-width:1200px) {
  .desktop-nav { gap:16px; }.desktop-nav a { font-size:12px; }
  .brand-copy strong { font-size:25px; }.btn-header { min-width:auto; }
  .hero { min-height:640px; }.hero-content { min-height:640px; }
  .metrics-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .metric-card { min-height:101px; }
  .market-grid { grid-template-columns:1.2fr 1fr; }
  .mission-state { font-size:9px; }.mission-entry { gap:9px; }
}
@media (max-width:950px) {
  .container { width:min(calc(100% - 42px),var(--container)); }
  .desktop-nav { display:none; }.menu-toggle { display:block; }
  .header-inner { min-height:72px; justify-content:space-between; }
  .hero { min-height:615px; }.hero-content { min-height:615px; }
  .hero-image { background-position:62% center; }
  .hero { --shade-width:95%; }

  .hero h1 { font-size:clamp(94px,17vw,140px); }
  .hero-text { max-width:610px; }
  .section-block { margin-top:68px; }
  .market-grid,.ops-grid,.mission-grid { grid-template-columns:1fr; }
  .chart-wrap { height:340px; }
  .trades-table-wrap { height:auto; min-height:230px; max-height:330px; }
  .ops-right { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .promo-card { min-height:auto; }.crew-preview { min-height:auto; }
  .mission-side { grid-template-columns:1fr; }
  .mission-feature { min-height:480px; }
  .contract-box { flex-wrap:wrap; }.contract-actions { width:100%; justify-content:end; }
}
@media (max-width:680px) {
  .container { width:calc(100% - 32px); }
  .header-inner { min-height:66px; gap:8px; }
  .brand-icon img { width:35px; height:35px; }.brand-copy strong { font-size:23px; }.brand-copy small { font-size:8px; letter-spacing:2.4px; }
  .btn-header { min-height:38px; font-size:10px; padding:8px 10px; }.btn-header span { display:none; }
  .hero { min-height:670px; }.hero-content { min-height:670px; padding-top:19px; padding-bottom:24px; }
  .hero-image { background-position:67% center; }
  .hero { --shade-width:115%; }

  .top-rail { gap:10px; padding:8px 10px; }.rail-status,.countdown-mini { font-size:9px; letter-spacing:0; }
  .hero-text { margin-top:20px; }
  .hero-tags { gap:5px; }.pill { padding:5px 8px; font-size:9px; letter-spacing:.5px; }
  .hero-overline { font-size:10px; letter-spacing:2px; }
  .hero h1 { font-size:clamp(78px,18.3vw,120px); margin:6px 0 8px -4px; letter-spacing:-1.3px; }
  .hero-subtitle { font-size:clamp(23px,6.5vw,42px); margin:7px 0 16px; }
  .hero-description { font-size:13px; line-height:1.65; max-width:420px; }
  .hero-tagline { font-size:22px; margin-bottom:20px; }
  .hero-buttons { flex-direction:column; gap:9px; max-width:300px; }.btn-lg { min-height:51px; width:100%; font-size:13px; }
  .hero-quicklinks { margin-top:15px; gap:18px; }
  .hero-bottom { gap:11px; padding-top:14px; }.hero-bottom-label { font-size:9px; width:100%; }
  .countdown strong { font-size:29px; }.countdown span { min-width:40px; }.countdown-source { margin-left:4px; }
  .section-block { margin-top:57px; }.section-heading { align-items:start; }.section-index { display:none; }
  .section-heading h2 { font-size:44px; }.eyebrow { font-size:10px; letter-spacing:1.5px; }.section-intro { font-size:12px; }
  .market-heading { flex-direction:column; }.market-tools { justify-content:start; }
  .metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.metric-card { padding:12px; min-height:98px; }.metric-card strong { font-size:23px; }.metric-label { font-size:9px; }
  .chart-wrap { height:280px; }.panel-title { padding:12px; }.panel-title h3 { font-size:19px; }
  .dispatch-grid { grid-template-columns:1fr; }.story-image { height:185px; }.story-body p { min-height:0; }
  .ops-right { grid-template-columns:1fr; }.promo-card { min-height:250px; }
  .job-list { padding:7px 11px 15px; }.job-item { gap:8px; }.job-no { width:48px; }.job-item strong { font-size:12px; }.job-state { font-size:8px; }
  .mission-entry { padding:12px 4px; }.mission-no { font-size:27px; min-width:33px; }.mission-title strong { font-size:18px; }.mission-state { min-width:57px; }.mission-feature { min-height:435px; }
  .steps-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.step-card { padding:16px; min-height:220px; }.step-card h3 { font-size:21px; }.step-card p { font-size:11px; }
  .contract-box { gap:10px; padding:15px; }.contract-label { width:100%; }.contract-box code { width:100%; flex:auto; }.contract-actions { justify-content:stretch; }.contract-actions .btn { flex:1; }
  .faq-list summary { font-size:16px; padding:15px; }
  .footer-inner { align-items:start; flex-direction:column; }.footer-links { gap:15px; }
  .settings-dialog { padding:21px; }.dialog-head h2 { font-size:38px; }.dialog-buttons { flex-wrap:wrap; }.dialog-buttons .btn { flex:1; }
  .toast { left:18px; right:18px; bottom:18px; max-width:none; }
}
@media (max-width:395px) {
  .brand-copy strong { font-size:19px; }.brand-copy small { font-size:7px; letter-spacing:1.8px; }
  .btn-header { font-size:9px; padding:8px; }
  .hero h1 { font-size:76px; }
  .hero-subtitle { font-size:23px; }
  .countdown { gap:4px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* A recessed instrument panel, with gauge markings separate from market data. */
.market {
  padding:clamp(14px,2.4vw,32px);
  border:1px solid #514158;
  border-radius:22px;
  background:radial-gradient(ellipse at top right,#332037,transparent 56%),#10121d;
  box-shadow:inset 0 2px #ffffff12,0 14px 38px #06061066;
}
.market-heading { margin-bottom:18px; }
.price-console {
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 24px;
  padding:20px clamp(14px,2.2vw,28px) 28px;
  overflow:hidden;
  border:1px solid #365059;
  border-radius:15px 15px 5px 5px;
  background:linear-gradient(115deg,#102d34,#101924 54%,#231a30);
}
.price-console::after {
  content:"";
  position:absolute;
  inset:auto 16px 7px;
  height:6px;
  background:repeating-linear-gradient(107deg,#87c8ce88 0 2px,transparent 2px 12px);
}
.price-readout { min-width:0; }
.price-readout .metric-label { text-transform:uppercase; color:#b4d7dd; }
.price-readout strong,.market .metric-card strong,#feed-time {
  font-family:ui-monospace,Consolas,monospace;
  font-variant-numeric:tabular-nums;
}
.price-readout strong { display:block; margin:4px 0; font-size:clamp(30px,4.8vw,64px); line-height:1.1; letter-spacing:-.05em; color:#e6fff9; overflow-wrap:anywhere; }
.price-readout small { color:#c5d0db; }
.price-readout .positive { color:#98f5bf; }
.price-readout .negative { color:#ff97b5; }
.feed-context { display:grid; min-width:0; gap:6px; font-size:.85rem; }
.feed-context strong { color:#e0dfed; overflow-wrap:anywhere; }
#feed-time { color:#bcbed1; font-size:.75rem; }
#feed-time::before { content:""; display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; background:#edc579; }
#feed-time[data-state="online"]::before { background:#84f3b7; box-shadow:0 0 8px #65edaa88; }
#feed-time[data-state="error"]::before { background:#ff90aa; }
.market .metrics-grid { margin-top:7px; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.market .metric-card { min-height:90px; background:#151b28; border-color:#343d50; border-radius:5px; }
.market .metric-card::before { background:linear-gradient(90deg,#77c5c8,transparent); }
.market .metric-card strong { font-size:clamp(16px,1.6vw,24px); overflow-wrap:anywhere; }
.market .panel { border-color:#364452; background:#121826; }
.market .panel-title { background:linear-gradient(100deg,#1c2f39,#201d30); }
@media (max-width:820px) {
  .market .metrics-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .market .metric-card { grid-column:span 2; }
  .market .metric-card:nth-last-child(-n+2) { grid-column:span 3; }
}
@media (max-width:480px) {
  .market .metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .market .metric-card,.market .metric-card:nth-last-child(-n+2) { grid-column:auto; }
  .market .metric-card:last-child { grid-column:1/-1; }
  .market-tools { justify-content:flex-start; }
}

/* Vice City editorial spread: one cover story and two short dispatches. */
.dispatch-section .eyebrow, .dispatch-section .section-heading h2 span { color:#ff8aab; }
.dispatch-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
.story-card {
  display:grid;
  grid-template-columns:minmax(118px,.65fr) minmax(0,1fr);
  border-color:#503145;
  background:#201522;
}
.story-image { height:auto; min-height:180px; }
.story-image .story-category { top:12px; left:12px; font-size:9px; }
.story-body { align-self:center; padding:clamp(16px,2vw,30px); }
.story-body p { min-height:0; }
.story-body time, .story-footer { color:#ffafbd; }
.story-card:first-child {
  position:relative;
  grid-row:span 2;
  display:grid;
  grid-template-columns:1fr;
  isolation:isolate;
  min-height:360px;
}
.story-card:first-child .story-image { position:absolute; inset:0; z-index:-1; }
.story-image-one::before { transform:none; background-position:65% center; }
.story-image-one::after { background:linear-gradient(0deg,#190f20 0%,rgba(27,13,32,.91) 22%,transparent 80%); }
.story-card:first-child .story-body { align-self:end; padding:clamp(22px,3vw,46px); }
.story-card:first-child h3 { font-size:clamp(38px,4.8vw,76px); line-height:.94; max-width:12ch; }
.story-card:first-child p { color:#f5e5ef; max-width:42ch; margin-top:12px; }
.story-image-two { background:linear-gradient(155deg,#37234c,#ac4867 66%,#f28271); }
.story-image-three { background:linear-gradient(140deg,#08313b,#10676b 64%,#1a404d); }
.story-image-two::before,.story-image-three::before { content:none; }
/* Illustrated map blips and the sunset masthead belong to the dispatch only. */
.dispatch-section .section-heading {
  border-top: 3px solid #ff829c;
  padding-top: 18px;
  background: radial-gradient(ellipse at top right, #46203c88, transparent 64%);
}
.dispatch-section .section-heading h2 {
  font-style: italic;
  text-shadow: 2px 3px #612f50;
}
.dispatch-section .section-heading h2 span {
  background: linear-gradient(180deg, #ffdfa0 12%, #ff809e 70%, #e58be0);
  background-clip: text;
  color: transparent;
}
.dispatch-section .story-card {
  border-bottom: 3px solid var(--dispatch-accent, #ff86b0);
  background: linear-gradient(130deg, #302032, #1a1425);
}
.dispatch-section .story-card:nth-child(2) { --dispatch-accent: #ffcd87; }
.dispatch-section .story-card:nth-child(3) { --dispatch-accent: #98f2de; }
.dispatch-icon {
  width: min(72%, 104px);
  color: var(--dispatch-accent, #ffdeb2);
  filter: drop-shadow(2px 3px 0 #1a1228);
  margin-top: 26px;
}
.story-image-one .dispatch-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 70px;
  margin: 0;
  border: 2px solid #ffcea9;
  border-radius: 50%;
  background: #302137eb;
  transform: rotate(-8deg);
}
.dispatch-section .story-category {
  max-width: calc(100% - 16px);
  left: 8px;
  padding: 4px 6px;
  background: #201526;
  border-color: var(--dispatch-accent, #ff86b0);
  letter-spacing: .6px;
}
.dispatch-section .story-body h3 { font-style: italic; }
.dispatch-section .story-footer { color: var(--dispatch-accent); }
.dispatch-section .story-footer:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Operations board with a ruled ledger and stamped status markers. */
.jobs-panel { background:#102327; border:1px solid #335454; }
.jobs-panel .panel-title { padding:22px; border-bottom:1px solid #3a605c; background:linear-gradient(110deg,#163a39,#10252d); }
.jobs-panel .panel-title h2 { font-size:clamp(31px,3vw,48px); }
.jobs-panel .panel-title h2 span,.jobs-panel .muted-small { color:#94e5cc; }
.job-list { padding:4px clamp(12px,2vw,28px) 12px; }
.job-item { min-height:80px; border-color:#304544; }
.job-no { color:#9ce7d3; background:transparent; border:0; border-right:2px solid #3c756d; border-radius:0; width:52px; justify-content:start; }
.job-no.hot { color:#ffb28d; border-color:#ff9f80; }
.job-item strong { font:800 20px/1.15 var(--heading); }
.job-item small { color:#bdcfcf; }
.job-state { border-radius:4px; letter-spacing:.3px; color:#c4d5d6; }
.job-state.highlight { color:#ffbf99; border-color:#b97754; }

/* Getaway route: numbered stops joined by a dashed road marking. */
.buy-section .eyebrow,.buy-section .section-heading h2 span { color:#ffc488; }
.steps-grid { gap:0; overflow:hidden; border-radius:14px; border:1px solid #594456; background:linear-gradient(105deg,#322339,#251d32 60%,#182735); }
.step-card { min-height:195px; border:0; border-radius:0; box-shadow:none; background:none; padding:22px; }
.step-card::before { content:""; position:absolute; left:22px; right:-22px; top:41px; border-top:2px dashed #90778c; }
.step-card:last-child::before { display:none; }
.step-no { position:relative; top:auto; right:auto; display:inline-grid; place-items:center; width:38px; height:38px; border-radius:50%; border:2px solid #ffca99; color:#ffca99; background:#2b2132; font:800 19px var(--heading); }
.step-card h3 { margin:15px 0 5px; }
.step-card p { font-size:13px; }
.step-card a,.contract-label { color:#ffcd99; }
.buy-section .contract-box { background:#261e2a; border-color:#805f56; }
.buy-section .contract-actions .btn-lime { background:#ffd09e; color:#281b20; border-color:#ffd09e; }

/* Split FAQ keeps the index visible alongside the accordion. */
.faq-section { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); align-items:start; gap:clamp(24px,5vw,90px); }
.faq-section .section-heading { display:block; margin:0; }
.faq-section .section-heading h2 { max-width:8ch; margin:12px 0; }
.faq-section .eyebrow,.faq-section .section-heading h2 span { color:#c8adff; }
.faq-list { border:0; display:grid; gap:8px; }
.faq-list details { border:1px solid #41364d; background:#201b29; border-radius:9px; }
.faq-list details[open] { background:#2a2035; border-color:#a884cb; }
.faq-list summary { gap:16px; }
.faq-list summary span { flex:none; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#3c3048; color:#e7caff; font:400 22px/1 sans-serif; }
.faq-list summary:focus-visible { outline:2px solid #d0b2ff; outline-offset:2px; border-radius:8px; }

/* Closing postcard: warm horizon, layered lettering and a dark navigation strip. */
.site-footer { border-top:3px solid #ffab9b; padding:clamp(42px,6vw,92px) 0 24px;
  background:linear-gradient(0deg,#150e20 0%,rgba(28,13,31,.94) 32%,rgba(45,15,45,.45) 100%),url('assets/vice-city-hero.webp') 66% 41%/cover;
}
.footer-inner { align-items:end; }
.footer-brand { display:flex; flex-direction:column; font-size:clamp(50px,7.7vw,116px); line-height:.9; letter-spacing:-.035em; color:#ffe2cb; text-shadow:2px 3px #a43665,4px 6px #3d193e; }
.footer-brand span { color:#ffb6b1; font-size:clamp(13px,1.6vw,20px); letter-spacing:.18em; margin-top:16px; text-shadow:none; }
.footer-links { padding:5px 14px; gap:6px 16px; background:#201523; border:1px solid #705163; border-radius:8px; }
.footer-links a { display:inline-flex; align-items:center; min-height:38px; }
.footer-links a:hover { color:#ffbdab; }
.footer-disclaimer { padding-top:20px; margin-top:30px; border-top:1px solid #705163; color:#c9b7c6; line-height:1.7; }

@media (max-width:950px) {
  .dispatch-grid { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); }
  .story-card { grid-template-columns:minmax(108px,.55fr) minmax(0,1fr); }
}
@media (max-width:680px) {
  .dispatch-grid,.faq-section { grid-template-columns:1fr; }
  .story-card:first-child { grid-row:auto; min-height:320px; }
  .story-card:not(:first-child) .story-image { min-height:155px; }
  .steps-grid { grid-template-columns:1fr; }
  .step-card { min-height:0; padding:17px 18px 17px 76px; }
  .step-no { position:absolute; top:19px; left:18px; }
  .step-card::before { left:36px; right:auto; top:38px; bottom:-20px; border-top:0; border-left:2px dashed #90778c; }
  .step-card h3 { margin:0 0 5px; }
  .job-item strong { font-size:16px; }
  .jobs-panel .panel-title { padding:17px; }
  .faq-section .section-heading h2 { max-width:none; }
  .footer-inner { align-items:start; }
  .footer-links { gap:4px 16px; }
}

.brand-icon img,.footer-brand img { object-fit:contain; border-radius:12%; }
.footer-brand { display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:clamp(12px,2vw,26px); }
.footer-brand img { grid-row:span 2; width:clamp(64px,8vw,108px); height:auto; }
.footer-brand b { font-weight:inherit; }
.footer-brand span { grid-column:2; }
@media (max-width:420px) { .footer-brand { font-size:clamp(38px,11vw,48px); } }

/* A spray-painted crown and marker underline follow the live title text. */
.hero #hero-title {
  position:relative; width:max-content; max-width:100%;
  transform:rotate(-2deg); transform-origin:left bottom;
  filter:drop-shadow(2px 3px 0 #291029) drop-shadow(2px 2px 0 #fd5ca3);
}
#hero-title::before {
  content:""; position:absolute; top:-.23em; right:.05em; width:.48em; height:.31em;
  background:#ffd672; transform:rotate(10deg);
  clip-path:polygon(0 19%,30% 47%,45% 0,62% 44%,100% 10%,79% 90%,15% 100%,0 19%,18% 38%,24% 79%,74% 70%,84% 33%,60% 62%,45% 22%,33% 64%);
}
#hero-title::after {
  content:""; position:absolute; left:5%; bottom:-.07em; width:76%; height:.07em;
  background:#ff72ae; clip-path:polygon(0 62%,100% 0,94% 44%,29% 95%,8% 87%);
}
.hero-buy {
  grid-area:buy;
  justify-self:start;
  min-height:48px;
  padding-inline:23px;
  gap:20px;
  color:#2b1020;
  background:linear-gradient(115deg,#ffa886,#ff796f 74%);
  border:1px solid #ffc7ac;
  border-radius:7px;
  box-shadow:0 3px 0 #7f3547, 0 6px 16px #160b2080;
}
.hero-buy:hover:not(:disabled) { background:#ffae92; }
.hero-buy:focus-visible { outline:3px solid white; outline-offset:4px; }
.hero-lower .hero-bottom { grid-area:timer; }

/* One wide plate beside the countdown, with a separate touch target. */
.hero-lower {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,min(49%,520px));
  grid-template-areas:"buy ca" "timer ca";
  gap:12px 20px;
  align-items:end;
}
.hero-contract {
  grid-area:ca;
  justify-self:end;
  width:100%;
  display:grid;
  grid-template:"heading action" auto "address action" auto / minmax(0,1fr) auto;
  gap:6px 14px;
  align-items:center;
  padding:16px 24px;
  border:3px double #706d62;
  border-radius:12px;
  color:#192c48;
  background:
    radial-gradient(circle at 9px 9px,#343047 2px,#fff 3px,transparent 4px),
    radial-gradient(circle at calc(100% - 9px) 9px,#343047 2px,#fff 3px,transparent 4px),
    radial-gradient(circle at 9px calc(100% - 9px),#343047 2px,#fff 3px,transparent 4px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px),#343047 2px,#fff 3px,transparent 4px),
    repeating-linear-gradient(0deg,transparent 0 2px,#76623c09 2px 3px),
    linear-gradient(167deg,#e2d6ba,#fff9e9 32%,#f3ead5 65%,#dacdb1);
  box-shadow:inset 0 0 0 2px #fffbed,inset 0 0 0 3px #ab9e85,0 3px 0 #655e52,0 8px 18px #17102080;
}
.hero-contract h2 { grid-area:heading; display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; margin:0; }
.hero-contract h2 i { color:#203754; font:bold italic 25px/1 Georgia,serif; letter-spacing:.6px; text-shadow:0 -1px #fff,0 1px #0a1931,1px 2px #a39b8d; }
.hero-contract h2 span { color:#354450; font:800 11px/1.2 var(--heading); letter-spacing:1px; text-transform:uppercase; }
.hero-contract code { grid-area:address; font:600 14px/1.45 monospace; overflow-wrap:anywhere; user-select:all; text-shadow:0 1px #fff; }
.hero-contract .btn { grid-area:action; min-width:78px; min-height:38px; padding:6px 8px; font-size:11px; color:#fff9ec; background:#233952; border:1px solid #17273e; box-shadow:0 1px #fff; }
.hero-contract .btn:hover:enabled { background:#344e6a; }
[data-action="copy-ca"]:disabled { opacity:.65; cursor:default; transform:none; }
@media (max-width:680px) {
  .hero-lower { grid-template-columns:minmax(0,1fr); grid-template-areas:"buy" "timer" "ca"; gap:14px; }
  .hero-contract { max-width:440px; padding:12px 15px; gap:5px 10px; }
  .hero-buy { padding-inline:12px; font-size:12px; }
}
@media (pointer:coarse) {
  .hero-contract .btn { min-height:44px; }
}

/* Crew contact sheets use the same five-panel illustration at every viewport. */
.jobs-panel .job-list {
  display: grid;
  gap: 10px;
  padding: 16px clamp(10px, 1.5vw, 22px) 20px;
}
.jobs-panel .job-item {
  --contact-ink: #93e4d2;
  display: grid;
  grid-template-columns: clamp(64px, 6vw, 86px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  background: linear-gradient(105deg, #233738, #142428 65%);
  border: 1px solid #3a5556;
  border-left: 3px solid var(--contact-ink);
  border-radius: 5px;
}
.contact-portrait {
  width: 100%;
  aspect-ratio: 1;
  grid-column: 1;
  background: #223839 url("assets/crew-contacts.webp") var(--portrait-x, 0%) center / 500% 100% no-repeat;
  border: 1px solid #ffffff38;
  border-radius: 2px;
}
.jobs-panel .contact-2 { --portrait-x: 25%; --contact-ink: #c7baff; }
.jobs-panel .contact-3 { --portrait-x: 50%; --contact-ink: #ffb39e; }
.jobs-panel .contact-4 { --portrait-x: 75%; --contact-ink: #a3e3ab; }
.jobs-panel .contact-5 { --portrait-x: 100%; --contact-ink: #f6afda; }
.contact-name {
  display: block;
  margin-bottom: 4px;
  color: var(--contact-ink);
  font: 700 11px/1.2 var(--heading);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.jobs-panel .job-item small { font-size: 12px; line-height: 1.4; }
.jobs-panel .job-state {
  justify-self: start;
  white-space: nowrap;
  border-radius: 2px;
  background: #102125;
  transform: rotate(-2deg);
}
@media (max-width: 720px) {
  .jobs-panel .job-item {
    grid-template-columns: clamp(58px, 17vw, 80px) minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
  }
  .contact-portrait { grid-row: span 2; }
  .jobs-panel .job-state { grid-column: 2; }
}

/* Dispatch: a late-night radio masthead above a city cover and two news clippings. */
.dispatch-section .dispatch-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 3vw, 38px);
  border-top: 2px solid #ffaf84;
  border-bottom: 1px solid #ab6578;
  background: linear-gradient(105deg, #291929 35%, #6e3455 72%, #ef947b);
}
.dispatch-masthead::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: -45%;
  width: min(46%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-linear-gradient(to bottom, #ffce92 0 6%, transparent 6% 8%);
  opacity: .55;
}
.dispatch-section .dispatch-masthead h2 {
  font-size: clamp(40px, 7vw, 100px);
  letter-spacing: -.045em;
  line-height: 1;
}
.dispatch-masthead .eyebrow { text-transform: uppercase; }
.dispatch-section .story-card { border-radius: 5px; }
.dispatch-section .story-card:first-child .story-body {
  width: 100%;
  background: linear-gradient(transparent, #190e20e8 40%);
}
.dispatch-section .story-card:not(:first-child) {
  color: #312238;
  background: #f5e8d6;
  border-color: #c9af9b;
}
.dispatch-section .story-card:not(:first-child) .story-body p { color: #534553; }
.dispatch-section .story-card:not(:first-child) :is(time, .story-footer) { color: #71344c; }
.dispatch-section .story-card:not(:first-child) .story-footer {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-color: #ba9b99;
}
.dispatch-section .story-image-two {
  background: #242834 url("assets/dispatch-rockstar.webp") center / cover no-repeat;
}
.dispatch-section .story-image-three {
  background: #242834 url("assets/dispatch-crew.webp") center / cover no-repeat;
}
@media (max-width: 680px) {
  .dispatch-masthead::after { right: -18%; opacity: .25; }
  .dispatch-section .story-card:not(:first-child) {
    grid-template-columns: minmax(90px, 30%) minmax(0, 1fr);
  }
}

/* The pins and route share a coordinate system as each instruction grows. */
.buy-section .steps-grid {
  --route: #ff49ad;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(to bottom, #12152418 0 68px, #171624f5 115px),
              url("assets/getaway-map.svg") center top / auto 220px repeat;
}
.buy-section .step-card { min-width: 0; padding: 32px 18px 22px; }
.buy-section .step-no {
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  border-color: #ff87c7;
  background: #381d37;
  color: white;
  box-shadow: 0 0 0 4px #201a2e;
}
.buy-section .step-card::before {
  left: 37px;
  right: -37px;
  top: 49px;
  height: 4px;
  border: 0;
  background: var(--route);
  box-shadow: 0 0 8px #ff49ad88;
}
.buy-section .step-card h3 { margin-top: 40px; }
.buy-section .step-card p { color: #e5dfe8; line-height: 1.55; }

@media (max-width: 800px) {
  .buy-section .steps-grid {
    grid-template-columns: 1fr;
    background: linear-gradient(90deg, transparent, #171624f5 64px),
                url("assets/getaway-map.svg") left top / auto 220px repeat;
  }
  .buy-section .step-card { min-height: 0; padding: 19px 14px 18px 62px; }
  .buy-section .step-no { position: absolute; left: 10px; top: 16px; }
  .buy-section .step-card::before {
    left: 27px;
    right: auto;
    top: 35px;
    bottom: -35px;
    width: 4px;
    height: auto;
  }
  .buy-section .step-card h3 { margin: 0 0 5px; }
}

/* The motel sign doubles as the way back to the top. */
.motel-footer { padding: 0 0 18px; background: #111a27; border-top: 2px solid #ecad92; }
.motel-sign, .motel-sign img { display: block; width: 100%; }
.motel-sign img { height: clamp(210px, 31vw, 540px); object-fit: cover; object-position: center; }
.motel-directory { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 22px; border-bottom: 1px solid #59606b; }
.motel-directory nav, .motel-directory [role=group] { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(10px,2vw,32px); }
.motel-directory :is(a,button) { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 2px; background: transparent; border: 0; font: 700 15px var(--heading); color: #ffe8d4; cursor: pointer; }
.motel-directory button { color: #ffb1b8; }
.motel-directory :is(a,button):hover { text-decoration: underline; text-underline-offset: 4px; }
.motel-footer :focus-visible { outline: 2px solid #ffd990; outline-offset: -2px; }
.motel-footer .footer-disclaimer { border: 0; margin-top: 0; padding-top: 12px; color: #c2c6ce; }
@media (max-width: 600px) {
  .motel-directory { display: block; }
  .motel-directory nav { justify-content: space-between; }
  .motel-directory [role=group] { border-top: 1px solid #343c49; gap: 20px; }
}
/* A single set of briefings serves the split pause menu and its inline mobile layout. */
.mission-console {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 4px 14px;
  padding: clamp(8px,1.4vw,20px);
  border: 1px solid #564458;
  border-radius: 12px;
  background: #151522;
}
.mission-console .mission-entry {
  grid-column: 1;
  align-items: center;
  min-height: 54px;
  background: #232332;
  border: 1px solid transparent;
  border-left: 3px solid #383947;
  padding: 9px 12px;
}
.mission-console .mission-entry:hover { background: #303044; }
.mission-console .mission-entry[aria-expanded=true] { background: #413047; border-color: #795168; border-left-color: #ff96b9; }
.mission-console .mission-no { font-size: 23px; min-width: 28px; color: #e4bcbe; }
.mission-console .mission-entry:focus-visible, .mission-source:focus-visible { outline: 2px solid #ffd2a9; outline-offset: -2px; }
.mission-file {
  grid-column: 2;
  grid-row: 1 / span 8;
  padding: clamp(18px,3vw,44px);
  background: linear-gradient(155deg,#221b32dd,#131924f7 68%), url("assets/getaway-map.svg") center/cover;
  border: 1px solid #714b66;
  border-radius: 6px;
}
.mission-file[hidden] { display: none; }
.mission-handler { display: flex; align-items: center; gap: 14px; }
.handler-photo { width: 76px; aspect-ratio: 1; border: 2px solid #ffc3a7; border-radius: 4px; background: url("assets/crew-contacts.webp") var(--portrait-x) center/500% 100%; }
.mission-handler strong { display: block; font-size: 20px; }
.mission-handler small, .mission-file dt { color: #ffb9cb; font: 800 12px var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.mission-file h3 { font: italic 900 clamp(30px,4vw,62px)/1 var(--heading); margin: 24px 0 18px; }
.mission-file dt { margin-top: 16px; }
.mission-file dd { margin: 5px 0 0; line-height: 1.5; color: #eadfe9; }
.mission-source { display: inline-block; padding: 10px 0; border: 0; background: none; color: #ffd3b4; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) {
  .mission-console { grid-template-columns: minmax(0,1fr); }
  .mission-file { grid-column: 1; grid-row: auto; margin-bottom: 5px; }
  .handler-photo { width: 52px; }
  .mission-file h3 { margin: 16px 0; }
}

/* A native exclusive disclosure group keeps the inbox usable without JavaScript. */
.faq-list .intel-thread { background: #171923; border-color: #393747; }
.intel-thread { --speaker: #acdfaf; --face: 75%; }
.intel-analyst { --speaker: #c7baff; --face: 25%; }
.faq-list .intel-thread[open] { background: #20202c; border-color: var(--speaker); }
.faq-list .intel-thread summary { line-height: 1.25; letter-spacing: 0; }
.intel-reply {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  padding: 0 clamp(12px,2vw,23px) 20px;
}
.intel-avatar {
  aspect-ratio: 1;
  border: 2px solid var(--speaker);
  border-radius: 50%;
  background: url("assets/crew-contacts.webp") var(--face) center / 500% 100%;
}
.intel-bubble { border-radius: 0 15px 15px; padding: 13px 16px; background: #30313d; }
.intel-bubble strong { color: var(--speaker); font: 800 14px var(--heading); }
.intel-thread .intel-bubble p { padding: 4px 0 0; color: #f0edf4; font-size: 14px; line-height: 1.55; }
.intel-bubble a { display: inline-flex; align-items: center; min-height: 44px; color: var(--speaker); text-decoration: underline; text-underline-offset: 3px; }
#official-contract { scroll-margin-top: 100px; }
#official-contract:target { outline: 2px solid #ffa0cb; outline-offset: 4px; }
@media (max-width: 680px) {
  .intel-reply { grid-template-columns: 34px minmax(0,1fr); gap: 8px; }
  .intel-bubble { padding: 11px 12px; }
}

/* Station presets and their active bulletin share the same width. */
.dispatch-section .story-image-one::before {
  background: url("assets/dispatch-studio.webp") center / cover no-repeat;
  filter: none;
  transform: none;
}
.dispatch-section .story-image-one::after { background: linear-gradient(0deg,#1e17264d,transparent 50%); }
.dispatch-tuner {
  min-width: 0;
  margin: 0 0 10px;
  padding: 12px;
  background: #1b1623;
  border: 1px solid #725264;
  border-radius: 7px;
}
.dispatch-tuner legend { padding-inline: 7px; font: 800 12px var(--heading); color: #ffcaab; text-transform: uppercase; letter-spacing: .1em; }
.tuner-scale { position: relative; height: 20px; margin-bottom: 8px; border-bottom: 1px solid #ac828c; background: repeating-linear-gradient(90deg,#c59890 0 1px,transparent 1px 2%) left bottom / 100% 8px no-repeat; }
.tuner-scale i { position: absolute; inset-block: 0; left: var(--needle); width: 3px; background: #ff809f; transition: left .2s ease-out; }
.tuner-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
.tuner-presets label { position: relative; cursor: pointer; }
.tuner-presets input { position: absolute; opacity: 0; }
.tuner-presets span { display: grid; place-items: center; min-height: 44px; border-radius: 4px; background: #352b3c; color: #ffe9e2; font-weight: 800; }
.tuner-presets input:checked + span { background: #ffbb9c; color: #291726; }
.tuner-presets input:focus-visible + span { outline: 2px solid white; outline-offset: 2px; }
.dispatch-section .story-card[hidden] { display: none; }
.dispatch-tuner:not([hidden]) + .dispatch-grid { display: block; }
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-card {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: 0; background: #261c2b; color: #fff2e6;
}
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-card[hidden] { display: none; }
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-image {
  position: relative; inset: auto; z-index: auto; height: auto; min-height: clamp(215px,22vw,330px);
}
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-body {
  align-self: center; padding: clamp(18px,3vw,42px); background: none; color: #ffd5bf; font-size: 12px;
}
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-body h3 { font-size: clamp(30px,4vw,64px); max-width: none; }
.dispatch-tuner:not([hidden]) + .dispatch-grid .story-body p { color: #eee2e9; font-size: 15px; line-height: 1.5; }
.dispatch-tuner:not([hidden]) + .dispatch-grid :is(time,.story-footer) { color: #ffd5bf; }
@media (max-width: 640px) {
  .dispatch-tuner:not([hidden]) + .dispatch-grid .story-card { grid-template-columns: minmax(0,1fr); }
  .dispatch-tuner:not([hidden]) + .dispatch-grid .story-image { min-height: clamp(165px,48vw,240px); }
}
@media (prefers-reduced-motion: reduce) { .tuner-scale i { transition: none; } }

/* Keep each station icon as a corner badge so the new artwork stays visible. */
.dispatch-section :is(.story-image-two,.story-image-three) .dispatch-icon {
  position: absolute; right: 12px; bottom: 12px; width: 44px; margin: 0;
  border-radius: 50%; background: #211a29dc; border: 1px solid currentColor;
}
