/* Direction: Forecourt at night — charcoal deck, electric lime pulse, wide uppercase plates, mono meter numbers */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  color-scheme: dark;
  --canvas: #0c0e11;
  --surface: #14181d;
  --surface-2: #1c232a;
  --border: #283038;
  --border-strong: #555658;
  --ink: #edf2ec;
  --muted: #98a4ac;
  --accent: #c8f934;
  --accent-hover: #d0fa52;
  --accent-ink: #0c0e11;
  --accent-text: #c8f934;
  --accent-strong: #daff5f;
  --accent-soft: #1e2a10;
  --accent-border: #617821;
  --success: #52e08a;
  --success-ink: #ffffff;
  --success-soft: #1b3c2c;
  --success-strong: #52e08a;
  --warning: #f6b63f;
  --warning-ink: #ffffff;
  --warning-soft: #3f331b;
  --warning-strong: #f6b63f;
  --danger: #ff6a59;
  --danger-ink: #ffffff;
  --danger-soft: #412221;
  --danger-strong: #ff6a59;
  --chart-1: #c8f934;
  --chart-2: #15dac7;
  --chart-3: #7dc6ff;
  --chart-4: #ee97fd;
  --chart-5: #fca19f;
  --chart-6: #efb230;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 800;
  --display-tracking: 0.03em;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --card-pad: 1.25rem;
  --x-on-photo: #ffffff;
  --x-grid: rgb(200 249 52 / 0.07);
  --x-deck: rgb(12 14 17 / 0.84);
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f3f3;
  --border: #ddddde;
  --border-strong: #b6b7b8;
  --ink: #0c0e11;
  --muted: #6d6e70;
  --accent: #a9d32c;
  --accent-hover: #90b325;
  --accent-ink: #0c0e11;
  --accent-text: #5e7619;
  --accent-strong: #5e7619;
  --accent-soft: #f3f9e1;
  --accent-border: #d8eba0;
  --success: #52e08a;
  --success-ink: #0c0e11;
  --success-soft: #eafbf1;
  --success-strong: #2d7d4d;
  --warning: #f6b63f;
  --warning-ink: #0c0e11;
  --warning-soft: #fef6e8;
  --warning-strong: #896623;
  --danger: #ff6a59;
  --danger-ink: #0c0e11;
  --danger-soft: #ffedeb;
  --danger-strong: #b74c3f;
  --chart-1: #7c9d08;
  --chart-2: #05a293;
  --chart-3: #117dbe;
  --chart-4: #ad7de7;
  --chart-5: #ba436a;
  --chart-6: #ce7c13;
}

/* Forecourt — page entrance, tank gauges, glowing deck cards */

@keyframes fc-page-in {
  from { transform: translateY(18px); }
  to { transform: none; }
}
@keyframes fc-gauge-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes fc-gauge-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes fc-breathe {
  0%, 100% { box-shadow: 0 0 0 1px var(--border), 0 0 24px rgb(200 249 52 / 0.1); }
  50% { box-shadow: 0 0 0 1px var(--accent), 0 0 48px rgb(200 249 52 / 0.2); }
}

.fc-page {
  animation: fc-page-in 0.5s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.fc-gauge-fill {
  transform-origin: left center;
  animation: fc-gauge-x 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.fc-gauge-fill-v {
  transform-origin: bottom center;
  animation: fc-gauge-y 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.fc-card {
  transition: border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
}
.fc-card:hover {
  background-color: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 40px rgb(0 0 0 / 0.55);
  transform: translateY(-2px);
}
.fc-glow {
  box-shadow: 0 0 0 1px var(--border), 0 26px 60px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.04);
}
.fc-hero {
  animation: fc-breathe 6s ease-in-out infinite;
}
.fc-grid-bg {
  background-image: linear-gradient(var(--x-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--x-grid) 1px, transparent 1px);
  background-size: 52px 52px;
}
.fc-deck {
  background-color: var(--x-deck);
  backdrop-filter: blur(10px);
}
html.reduced-motion .fc-page,
html.reduced-motion .fc-gauge-fill,
html.reduced-motion .fc-gauge-fill-v,
html.reduced-motion .fc-hero,
html.reduced-motion .fc-card:hover {
  animation: none;
  transform: none;
}
