/* =============================================================================
   Tulip OS v2 — POC
   Retro desk with a CRT computer ("Tulip OS"), draggable floppy tapes, and
   a corkboard. Fully responsive: desktop = single viewport staging, mobile =
   elongated scroll with Monitor → Floppies → Corkboard stacked.
   ============================================================================= */

/* ---------- tokens ---------- */
:root {
  /* room */
  --wall-top:      #31433d;
  --wall-mid:      #1f2d28;
  --wall-bot:      #131a17;
  --desk-top:      #4a5c55;
  --desk-mid:      #2e3c36;
  --desk-bot:      #1a2320;
  --desk-edge:     #655b4f;

  /* machine chassis */
  --chassis:       #efe6d4;
  --chassis-hi:    #ffffff;
  --chassis-shd:   #b8a886;
  --chassis-deep:  #8a7a60;

  /* screen */
  --bezel:         #16201d;
  --crt-green:     #8bc25c;
  --crt-dim:       #3d7820;

  /* win95 chrome */
  --c95-face:      #c0c0c0;
  --c95-hi:        #ffffff;
  --c95-hi2:       #dfdfdf;
  --c95-shd:       #808080;
  --c95-shd2:      #6a6a6a;
  --c95-ink:       #16201d;
  --c95-title1:    #0a246a;
  --c95-title2:    #2a6ca0;
  --c95-win:       #ffe08a;

  /* accent */
  --tulip-red:     #d94a2b;
  --tulip-red-hi:  #ff7a5a;
  --tulip-red-dk:  #8a2010;
  --xlerate-yellow: #f2b400;
  --xlerate-yellow-hi: #ffe27a;
  --xlerate-yellow-dk: #a86f00;
  --bloom-green:   #247c53;
  --bloom-green-hi:#5fd3a4;
  --bloom-green-dk:#195f3d;
  --amber:         #f5c14a;
  --ink:           #16201d;
  --paper:         #f4ebd0;
  --paper-dim:     #d9cd9a;

  /* fonts */
  --f-display:     'Anek Devanagari', sans-serif;
  --f-body:        'Space Grotesk', sans-serif;
  --f-mono:        'Space Mono', monospace;
  --f-pixel:       'Jersey 15', var(--f-mono);
  --f-retro-head:  var(--f-mono);

  /* cursors (reuse from existing site) */
  --cur-arrow:     url('assets/cursors/retro-arrow.svg') 4 4, auto;
  --cur-grab:      url('assets/cursors/grab-open.svg') 12 12, grab;
  --cur-grabbing:  url('assets/cursors/grab-closed.svg') 12 12, grabbing;
  --cur-hand:      url('assets/cursors/page-hand-v2.svg') 10 6, pointer;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: var(--cur-hand); }
img { display: block; max-width: 100%; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 242, 214, 0.08), transparent 20rem),
    radial-gradient(circle at 82% 12%, rgba(95, 211, 164, 0.06), transparent 18rem),
    linear-gradient(180deg, var(--wall-top), var(--wall-mid) 52%, var(--wall-bot));
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  cursor: var(--cur-arrow);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =============================================================================
   SCENE — desktop (single viewport)
   ============================================================================= */

.scene {
  position: relative;
  min-height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* Room backdrop */
.scene-backdrop {
  position: absolute; inset: 0;
  z-index: 0;
}
.wall {
  position: absolute;
  inset: 0 0 36% 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 10rem),
    radial-gradient(circle at 50% 18%, rgba(242, 239, 228, 0.08), transparent 20rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 76px),
    linear-gradient(180deg, var(--wall-top) 0%, var(--wall-mid) 46%, var(--wall-bot) 100%);
}
.wall::after {
  /* wainscoting line + shadow near the wall-desk seam */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background:
    linear-gradient(180deg,
      transparent 0 20%,
      rgba(255,255,255,0.12) 20% 40%,
      rgba(0,0,0,0.22) 40% 100%);
}
.desk-surface {
  position: absolute; left: 0; right: 0; top: 64%; bottom: 0;
  background:
    /* plank seams */
    linear-gradient(180deg,
      transparent 0 42.9%, rgba(255,255,255,0.06) 42.9% 43.2%, transparent 43.2%),
    linear-gradient(180deg,
      transparent 0 84.3%, rgba(255,255,255,0.05) 84.3% 84.6%, transparent 84.6%),
    /* wood grain streaks */
    linear-gradient(180deg,
      transparent 0 18.4%, rgba(255,255,255,0.04) 18.4% 18.7%, transparent 18.7%),
    linear-gradient(180deg,
      transparent 0 61.3%, rgba(255,255,255,0.04) 61.3% 61.6%, transparent 61.6%),
    linear-gradient(180deg, rgba(26, 34, 31, 0), rgba(26, 34, 31, 0.34)),
    linear-gradient(180deg, var(--desk-top) 0%, var(--desk-mid) 56%, var(--desk-bot) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 -24px 60px rgba(0, 0, 0, 0.18);
}
.desk-front-edge { display: none; }
.lamp-glow {
  position: absolute; top: 0; left: 50%;
  width: 80vw; height: 60vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(242, 239, 228, 0.09) 0%, transparent 60%);
  pointer-events: none;
}

/* =============================================================================
   CORKBOARD (right of monitor on desktop)
   ============================================================================= */
.corkboard {
  position: absolute;
  top: 7.2%; right: 4.6%;
  width: clamp(180px, 17.4vw, 240px);
  aspect-ratio: 5 / 6;
  background:
    radial-gradient(ellipse 80% 30% at 30% 20%, rgba(255, 240, 180, 0.12), transparent 70%),
    repeating-radial-gradient(circle at 30% 40%, #b3905a 0 1px, #a6844c 1px 3px),
    linear-gradient(180deg, #c49a60, #8f6b3a);
  border: 14px solid;
  border-color: #6a4423 #4a2d14 #3b2510 #5a381d;
  border-radius: 0;
  box-shadow:
    8px 12px 26px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(0,0,0,0.4),
    inset 2px 2px 0 rgba(255,220,160,0.18),
    inset -2px -2px 0 rgba(0,0,0,0.4);
  padding: 8px 10px;
  z-index: 1;
}

/* Posters */
.poster {
  position: relative;
  padding: 0;
  margin: 0;
}

.poster-dark {
  position: absolute;
  top: 6%; left: 4%;
  width: 52%;
  aspect-ratio: 3 / 4;
  background: #111;
  border: 2px solid #000;
  transform: rotate(-3deg);
  box-shadow: 2px 3px 6px rgba(0,0,0,0.4);
  cursor: var(--cur-hand);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.poster-dark:hover { transform: rotate(-3deg) scale(1.02); box-shadow: 3px 5px 10px rgba(0,0,0,0.5); }
.poster-dark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.poster-polaroid {
  position: absolute;
  top: 4%; right: 4%;
  width: 48%;
  background: var(--paper);
  padding: 6%; padding-bottom: 14%;
  border: 1px solid #aa9660;
  transform: rotate(5deg);
  box-shadow: 2px 3px 8px rgba(0,0,0,0.35);
}
.polaroid-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1c2034;
}
.polaroid-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid-caption {
  font-family: var(--f-mono); font-size: clamp(7px, 0.72vw, 9px); font-weight: 700;
  color: #6a5030; margin-top: 4%;
  text-align: center;
}

.poster-dinner {
  position: absolute;
  left: 12%;
  bottom: 5%;
  width: 76%;
  aspect-ratio: 4 / 3;
  padding: 6px;
  background: #f7f0dc;
  border: 1px solid #aa9660;
  transform: rotate(-1.5deg);
  box-shadow: 3px 5px 10px rgba(0,0,0,0.35);
  cursor: var(--cur-hand);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.poster-dinner:hover { transform: rotate(-1.5deg) scale(1.02); box-shadow: 4px 7px 14px rgba(0,0,0,0.42); }
.poster-dinner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* Pins */
.pin { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; z-index: 2; pointer-events: none; }
.pin::after { content: ''; position: absolute; top: 3px; left: 3px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.pin-red { background: var(--tulip-red); box-shadow: 0 2px 3px rgba(0,0,0,0.5); }
.pin-yellow { background: var(--amber); box-shadow: 0 2px 3px rgba(0,0,0,0.5); }

/* Lightbox (click poster to enlarge) */
.lightbox {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(6px);
  z-index: 200;
  cursor: var(--cur-hand);
  animation: lightbox-fade 0.18s ease;
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 2px solid #000;
}
.lightbox-close {
  position: absolute;
  top: 2vh; right: 2vw;
  width: 44px; height: 44px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 28px; line-height: 1;
  font-family: var(--f-mono);
  cursor: var(--cur-hand);
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

/* Post-it (pinned to the wall — matches site-design2.pen `yellow-sticky`) */
.postit {
  position: absolute;
  right: 3.1%; top: 27.5%;
  width: clamp(96px, 8.4vw, 132px);
  height: clamp(96px, 8.4vw, 132px);
  background: #ffc857;
  box-shadow:
    3px 5px 7px rgba(0, 0, 0, 0.4);
  transform: rotate(3deg);
  padding: 18px 14px 14px;
  font-family: 'Caveat', cursive;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  cursor: var(--cur-grab);
  user-select: none;
  touch-action: none;
  z-index: 3;
}
.postit::before {
  /* sticky-top-shade — darker amber strip at the top (adhesive edge) */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 11px;
  background: #e0a93d;
  opacity: 0.4;
  pointer-events: none;
}
.postit.is-dragging { cursor: var(--cur-grabbing); transform: rotate(1deg) scale(1.02); }
.postit p { margin: 0; }

/* =============================================================================
   COMPUTER (monitor + CPU case)
   ============================================================================= */
.computer {
  position: absolute;
  left: 2%; right: 25%;
  top: 3%; bottom: 4.8%;
  display: flex; flex-direction: column;
  z-index: 2;
}
.monitor {
  position: relative;
  flex: 1 1 auto;
  background: linear-gradient(180deg, #d9e4f3 0%, #bed0e6 54%, #7e95b6 100%);
  border: 2px solid #5b708f;
  border-radius: 18px;
  box-shadow: 4px 10px 24px rgba(0,0,0,0.55);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.monitor::before {
  /* case-shoulders — lighter band across the very top */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 25px;
  background: #b3c5db;
  opacity: 0.75;
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}
.monitor-shoulders {
  position: absolute;
  left: 26%; right: 26%; top: 10px;
  height: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 1;
  pointer-events: none;
}
.monitor-shoulders .vent {
  display: block;
  height: 1.5px;
  background: #5e7593;
  opacity: 0.65;
  border-radius: 0;
}
.monitor-bezel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: linear-gradient(180deg, #9db1ca 0%, #7d90aa 100%);
  border: 2px solid #44546a;
  border-radius: 14px;
  padding: 10px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
}
.monitor-slot-deck {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  padding: 0 6px 2px;
}
.monitor-slot-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: clamp(8px, 0.75vw, 12px);
  font-weight: 700;
  color: #30475e;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.monitor-slot-copy-mark {
  width: clamp(14px, 1vw, 18px);
  height: clamp(14px, 1vw, 18px);
  object-fit: contain;
  flex: 0 0 auto;
}
.monitor-slot {
  position: relative;
  --loaded-accent: #ffc857;
  width: 100%;
  height: 42px;
  background: linear-gradient(180deg, #161616 0%, #2b2b2b 45%, #0c0c0c 100%);
  border: 1px solid #48453f;
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -2px 3px rgba(0,0,0,0.7);
  cursor: var(--cur-hand);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px 0 12px;
  overflow: hidden;
}
.monitor-slot-eject {
  position: relative;
  z-index: 1;
  flex: 0 0 46px;
  width: 46px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #232323 0%, #111 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 2px rgba(0,0,0,0.8);
}
.monitor-slot-eject-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(233, 225, 204, 0.55);
  transform: translate(-50%, -50%);
}
.monitor-slot .tape-slot-mouth {
  position: absolute;
  inset: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.08) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.03);
}
.tape-slot.is-loaded .tape-slot-mouth {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.22) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.tape-slot.is-loaded::before {
  content: '';
  position: absolute;
  top: 7px;
  right: 18px;
  bottom: 7px;
  width: clamp(176px, 44%, 224px);
  border-radius: 5px;
  border: 1px solid rgba(106, 90, 62, 0.56);
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0) 0,
      rgba(0,0,0,0) calc(100% - 11px),
      var(--loaded-accent) calc(100% - 11px),
      var(--loaded-accent) 100%
    ),
    linear-gradient(180deg, #f6f2e8 0%, #ebe4d6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.48),
    0 0 0 1px rgba(0,0,0,0.08);
  z-index: 0;
  pointer-events: none;
  transform: none;
}
.tape-slot.is-loaded::after {
  content: attr(data-loaded-code) "  " attr(data-loaded-title);
  position: absolute;
  top: 50%;
  right: 34px;
  max-width: clamp(144px, 36%, 184px);
  transform: translateY(-50%);
  overflow: hidden;
  color: #34475d;
  font-family: var(--f-mono);
  font-size: clamp(7px, 0.68vw, 9px);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  z-index: 0;
  pointer-events: none;
}
.tape-slot.is-loaded .monitor-slot-label {
  color: #f0e7cd;
}
.monitor-slot-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-mono);
  font-weight: 700;
  color: #d7d0bf;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.monitor-slot-label-small {
  font-size: clamp(8px, 0.7vw, 11px);
  opacity: 0.72;
}
.monitor-slot-label-main {
  font-size: clamp(10px, 0.92vw, 14px);
}
.monitor-port {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4b4b4b 0%, #171717 48%, #050505 100%);
  border: 1px solid #222;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -2px 3px rgba(0,0,0,0.42),
    0 0 0 2px rgba(0, 0, 0, 0.2);
  cursor: var(--cur-hand);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.monitor-port:hover {
  transform: translateY(-1px);
}
.monitor-port:active {
  transform: translateY(1px);
}
.monitor-port:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}
.monitor-port-core {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #111 0%, #2d2d2d 100%);
  border: 1px solid #373737;
  transition: box-shadow 0.14s ease, border-color 0.14s ease;
}
.monitor-port-core::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #262626;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  transition: background 0.14s ease, box-shadow 0.14s ease;
}
.is-on .monitor-port {
  border-color: #242424;
  box-shadow:
    0 0 0 1px rgba(125, 178, 255, 0.26),
    0 0 10px rgba(116, 170, 255, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -2px 3px rgba(0,0,0,0.42);
}
.is-on .monitor-port-core {
  border-color: #57616a;
  box-shadow:
    inset 0 0 0 1px rgba(143, 191, 255, 0.08),
    0 0 0 1px rgba(255,255,255,0.04);
}
.is-on .monitor-port-core::after {
  background: #5793ff;
  box-shadow:
    0 0 0 1px rgba(170, 206, 255, 0.22),
    0 0 5px rgba(110, 171, 255, 0.9),
    0 0 12px rgba(72, 140, 255, 0.64);
}
.screen {
  position: relative;
  height: 100%;
  background:
    radial-gradient(ellipse at 35% 30%,
      #214e40 0%,
      #10231d 70%,
      #050d0a 100%);
  border: 1px solid #0a1a15;
  border-radius: 14px;
  overflow: hidden;
  cursor: var(--cur-arrow);
}
.screen.is-drag-over {
  box-shadow: inset 0 0 0 4px rgba(139, 194, 92, 0.7);
}

/* Monitor footer decor — small PWR indicator */
.monitor-power-led {
  position: absolute; right: 22px; bottom: 14px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a4a35;
  border: 0.5px solid #16201d;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.5);
}
.is-on .monitor-power-led {
  background: #5fd3a4;
  box-shadow: 0 0 6px rgba(95,211,164,0.7), inset 0 0 2px rgba(255,255,255,0.5);
}
.monitor-power-label {
  position: absolute; right: 38px; bottom: 16px;
  font-family: var(--f-mono); font-size: 9px; font-weight: 700;
  color: #5d675d; letter-spacing: 0.12em;
}
.monitor-neck {
  position: absolute; left: 50%; bottom: -12px;
  transform: translateX(-50%);
  width: 14%; height: 14px;
  background: #8ea3c1;
  border: 1px solid #586d8a;
  border-top: 0;
  border-radius: 0 0 2px 2px;
  z-index: 2;
}

/* =============================================================================
   CPU CASE — modeled on site-design2.pen (1115 x 184 reference)
   Percentages below map to that coordinate space.
   ============================================================================= */
.cpu-case {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0;
  aspect-ratio: 1115 / 150;
  width: 100%;
  background: linear-gradient(180deg, #d6e1ef 0%, #b8c9df 68%, #7d93b4 100%);
  border: 1.5px solid #607590;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
  font-family: var(--f-mono);
}

/* Monitor cradle — thin dark strip along the top */
.cpu-cradle {
  position: absolute;
  left: 4.66%; top: 0;
  width: 90.76%; height: 4.9%;
  background: #63748a;
  opacity: 0.45;
  border-radius: 3px;
}

/* Power button */
.cpu-badge {
  position: absolute;
  left: 3.14%; top: 20.1%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 23.23%;
  min-height: 26px;
}
.cpu-badge-dot {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: var(--tulip-red);
  border: 0.8px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset -2px -2px 3px rgba(0,0,0,0.2);
  padding: 0;
  cursor: var(--cur-hand);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.cpu-badge-dot:active {
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.35);
}
.is-on .cpu-badge-dot {
  background: #55d49a;
  box-shadow:
    0 0 0 1px rgba(18, 32, 24, 0.35),
    0 0 10px rgba(85, 212, 154, 0.34),
    inset -2px -2px 3px rgba(0,0,0,0.18);
}
.cpu-badge-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  min-width: 0;
}
.cpu-badge-line {
  font-size: clamp(8px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22313f;
}

/* FDD 5.25 — the tape drive */
.cpu-drive--fdd {
  position: absolute;
  left: 61.9%; top: 0;
  width: 30.94%; height: 100%;
}
.cpu-drive--fdd .cpu-drive-label {
  position: absolute;
  left: 0; top: 11.4%;
  font-size: clamp(6px, 0.75vw, 10px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5d675d;
}
.cpu-drive--fdd .cpu-drive-activity {
  position: absolute;
  left: 29.3%; top: 11.4%;
  width: 9px; height: 9px;
  background: #ffc857;
  border: 0.4px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset -1px -1px 2px rgba(0,0,0,0.25);
}
.cpu-drive-slot {
  position: absolute;
  left: 0; top: 21.7%;
  width: 100%; height: 37.5%;
  background: #1a1a1a;
  border: 1px solid #4a4a4a;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9);
  display: block;
  padding: 0;
  min-width: 0;
  gap: 0;
}
.cpu-drive-flap {
  position: absolute;
  left: 1.8%; right: 1.8%; top: 36%;
  height: 20%;
  background: #3d3d3d;
  border-radius: 1px;
  box-shadow: 0 2px 0 -1px rgba(0,0,0,0.6);
}
.tape-slot-mouth {
  position: absolute;
  left: 1.8%; right: 1.8%; top: 36%;
  height: 20%;
  background: #0a0a0a;
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tape-slot.is-loaded .tape-slot-mouth {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.22) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.tape-slot.is-drag-over {
  border-color: var(--crt-green);
  box-shadow: 0 0 0 2px var(--crt-green), inset 0 1px 2px rgba(0,0,0,0.9);
}
.cpu-drive-eject {
  position: absolute;
  left: 56.2%; top: 67.4%;
  width: 3.14%; height: 8.7%;
  min-width: 24px; min-height: 12px;
  background: #b8b09a;
  border: 0.6px solid #5d675d;
  border-radius: 1px;
  cursor: var(--cur-hand);
  display: grid; place-items: center;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.25);
}
.cpu-drive-eject-arrow {
  display: block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #5d675d;
}

/* CD-ROM 4X — decorative */
.cpu-drive--cd {
  position: absolute;
  left: 61.9%; top: 0;
  width: 30.94%; height: 100%;
  pointer-events: none;
}
.cpu-drive--cd .cpu-drive-label {
  position: absolute;
  left: 0; top: 11.4%;
  font-size: clamp(6px, 0.75vw, 10px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5d675d;
}
.cpu-drive-tray {
  position: absolute;
  left: 0; top: 21.7%;
  width: 100%; height: 25%;
  background: #1a1a1a;
  border: 1px solid #4a4a4a;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9);
}
.cpu-drive-eject--cd {
  position: absolute;
  left: auto; right: 3%; top: 37.5%;
  width: 9%; height: 7.6%;
  min-width: 22px; min-height: 10px;
  background: #b8b09a;
  border: 0.6px solid #5d675d;
  border-radius: 1px;
}

/* Vent grille along the bottom */
.cpu-vent {
  position: absolute;
  left: 1.8%; top: 82.6%;
  width: 95.96%; height: 8.7%;
  background: #2a2a2a;
  opacity: 0.5;
  border-radius: 1px;
  display: flex; flex-direction: column;
  justify-content: space-evenly;
  padding: 2px 0;
}
.cpu-vent-line {
  display: block;
  height: 1px;
  background: #e0d9be;
  opacity: 0.8;
}

/* Property of Tulip Ventures sticker (rotated) */
.cpu-sticker {
  position: absolute;
  left: 67.8%; top: 53.3%;
  width: 22.42%; height: 13.6%;
  background: #f4eedc;
  border: 0.5px solid #8a8470;
  transform: rotate(-2deg);
  transform-origin: top left;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.27);
  display: grid; place-items: center;
  opacity: 0.88;
}
.cpu-sticker span {
  font-size: clamp(6px, 0.7vw, 9px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink);
  white-space: nowrap;
}

/* =============================================================================
   SCREEN STATES (off / boot / desktop)
   ============================================================================= */
.screen-off {
  position: absolute; inset: 0;
  background: #12392e;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: var(--cur-hand);
}
.screen-off-reflection {
  display: none;
}
.screen-off-prompt {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 236, 219, 0.18);
  background: rgba(8, 21, 18, 0.42);
  color: rgba(228, 238, 219, 0.82);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.screen-off:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: -6px;
}
.is-on .screen-off { display: none; }

/* Boot screen */
.boot-screen {
  position: absolute; inset: 0;
  background: #2457b4;
  color: #fff;
  font-family: var(--f-mono);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  z-index: 40;
  animation: boot-fade-in 0.4s ease;
}
.boot-screen[hidden], .win95-taskbar[hidden], .tape-ghost[hidden] { display: none !important; }
@keyframes boot-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.boot-flower { --flower-size: clamp(80px, 18%, 180px); }
.boot-label {
  margin: 0;
  font-size: 14px; font-weight: 700; letter-spacing: 0.15em;
}
.boot-progress {
  width: clamp(116px, 18vw, 184px); height: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.16);
}
.boot-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0 10px,
    rgba(255, 255, 255, 1) 10px 12px,
    transparent 12px 15px
  );
  transition: width 0.1s linear;
}
.boot-readout {
  margin: 0; font-size: 11px; opacity: 0.8;
  min-height: 1em;
}

/* Tulip flower (used in boot + wallpaper) — uses real mark image */
.tulip-flower {
  --flower-size: clamp(120px, 20vmin, 260px);
  position: relative;
  width: var(--flower-size);
  height: var(--flower-size);
  background-image: url('assets/tulip-logo-mark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.petal, .flower-core { display: none; }

/* Desktop */
.desktop {
  position: absolute; inset: 0;
  background: #2457b4 url('assets/screensaver.svg') center / cover no-repeat;
  z-index: 30;
  overflow: hidden;
  font-family: var(--f-mono);
}
.desktop[hidden] { display: none; }
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 34px;
  background: rgba(242, 239, 228, 0.92);
  border-bottom: 1px solid rgba(6, 18, 15, 0.35);
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px;
  font-size: 12px; font-weight: 700;
  z-index: 5;
}
.menubar-brand,
.menubar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.menubar-brand {
  color: #16201d;
  font-weight: 700;
  font-family: var(--f-mono);
}
.menubar-brand-mark {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.menubar-status {
  margin-left: auto;
  justify-content: flex-end;
  font-family: var(--f-mono);
  color: rgba(22, 32, 29, 0.86);
}
.menubar-city {
  opacity: 0.7;
}
.menubar-clock { color: var(--ink); }

.desktop-wallpaper {
  position: absolute; inset: 34px 0 0 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.wallpaper-flower { display: none; }

/* Icon grid */
.icon-grid {
  position: absolute;
  inset: 52px 0 12px 0;
  --left-cluster-left: clamp(12px, 2vw, 18px);
  --right-cluster-right: clamp(14px, 2.2vw, 22px);
  --icon-col-step: clamp(104px, 11vw, 122px);
  --icon-row-step: clamp(102px, 12vh, 116px);
  --top-row: clamp(10px, 2vw, 18px);
  --bottom-row: clamp(6px, 1.8vw, 18px);
  pointer-events: none;
}
.desktop-icon {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 6px;
  padding: 6px 8px;
  width: clamp(88px, 10vw, 108px);
  pointer-events: auto;
  background: transparent;
  font-family: var(--f-mono); font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.42);
  cursor: var(--cur-arrow);
  transition: transform 0.16s ease;
}
.desktop-icon--phone-only { display: none; }
.desktop-icon[data-app="team"] {
  left: var(--left-cluster-left);
  top: var(--top-row);
}
.desktop-icon[data-app="resources"] {
  left: calc(var(--left-cluster-left) + var(--icon-col-step));
  top: var(--top-row);
}
.desktop-icon[data-app="contact"] {
  right: var(--right-cluster-right);
  top: auto;
  bottom: var(--bottom-row);
}
.desktop-icon[data-app="membership"] {
  left: var(--left-cluster-left);
  top: calc(var(--top-row) + var(--icon-row-step));
}
.desktop-icon[data-app="xlerate"] {
  right: calc(var(--right-cluster-right) + var(--icon-col-step));
  top: var(--top-row);
}
.desktop-icon[data-app="odyssey"] {
  right: var(--right-cluster-right);
  top: var(--top-row);
}
.desktop-icon[data-app="bloom"] {
  right: calc(var(--right-cluster-right) + var(--icon-col-step));
  top: calc(var(--top-row) + var(--icon-row-step));
}
.desktop-icon[data-app="trips"] {
  right: var(--right-cluster-right);
  top: calc(var(--top-row) + var(--icon-row-step));
}
.desktop-icon[data-app="events"] {
  left: calc(var(--left-cluster-left) + var(--icon-col-step));
  top: calc(var(--top-row) + var(--icon-row-step));
}
.desktop-icon[data-app="manifesto"] {
  left: var(--left-cluster-left);
  top: auto;
  bottom: var(--bottom-row);
}
.desktop-icon[data-app="snake"] {
  left: calc(50% - var(--icon-col-step));
  bottom: var(--bottom-row);
}
.desktop-icon[data-app="pong"] {
  left: 50%;
  bottom: var(--bottom-row);
}
.desktop-icon--right { /* right-column items */ }
.desktop-icon:focus-visible {
  outline: none;
}
.icon-tile {
  position: relative;
  display: block;
  width: 64px; height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: center / contain no-repeat;
  box-shadow: 0 8px 0 rgba(9, 22, 18, 0.34);
  flex-shrink: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.icon-label {
  display: block;
  text-align: center;
  line-height: 1.2;
  max-width: 104px;
  word-wrap: break-word;
}
.desktop-icon:hover .icon-tile,
.desktop-icon:focus-visible .icon-tile {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 3px rgba(190, 225, 255, 0.22),
    0 10px 0 rgba(9, 22, 18, 0.34);
}

/* Per-app PNG icons — pure image, no chrome */
.icon-team       { background-image: url('assets/app-icons/team.png'); }
.icon-events     { background-image: url('assets/app-icons/events.png'); }
.icon-manifesto  { background-image: url('assets/app-icons/manifesto.png'); }
.icon-snake      { background-image: url('assets/app-icons/snake.png'); }
.icon-contact    { background-image: url('assets/app-icons/contact.png'); }
.icon-membership { background-image: url('assets/app-icons/membership.png'); }
.icon-resources  { background-image: url('assets/app-icons/resources.png'); }
.icon-pong       { background-image: url('assets/app-icons/pong.png'); }
.icon-trips      { background-image: url('assets/app-icons/trips.png'); }
.icon-odyssey    { background-image: url('assets/app-icons/odyssey-squared-stickers.png'); background-size: cover; }
.icon-bloom      { background-image: url('assets/app-icons/bloom-legacy.png'); }
.icon-xlerate    { background-image: url('assets/app-icons/xlerate-legacy.jpg'); }
.icon-recaps    { background-image: url('assets/app-icons/recaps.png?v=2026-04-30a'); }

/* =============================================================================
   APP WINDOW (Win95 chrome)
   ============================================================================= */
.window-layer {
  position: absolute;
  inset: 34px 0 0 0;
  z-index: 4;
  pointer-events: none;
}
.window-layer .app-window { pointer-events: auto; }

.app-window {
  position: absolute;
  background: #ece8db;
  border: 1px solid rgba(17, 26, 23, 0.18);
  border-radius: 14px;
  box-shadow:
    0 22px 44px rgba(0,0,0,0.24),
    0 8px 18px rgba(0,0,0,0.16);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
  display: flex; flex-direction: column;
  min-width: 240px; min-height: 120px;
  resize: none;
  overflow: hidden;
}
.app-window.is-maximized {
  left: 0 !important; top: 0 !important;
  width: 100% !important; height: 100% !important;
  border-radius: 0;
  resize: none;
}
.app-window.is-minimized { display: none; }
.app-window.is-focused { z-index: 10; }
.window-resize-handle {
  position: absolute;
  z-index: 4;
  background: transparent;
}
.window-resize-handle-n,
.window-resize-handle-s {
  left: 14px;
  right: 14px;
  height: 12px;
}
.window-resize-handle-e,
.window-resize-handle-w {
  top: 14px;
  bottom: 14px;
  width: 12px;
}
.window-resize-handle-n { top: 0; cursor: ns-resize; }
.window-resize-handle-s { bottom: 0; cursor: ns-resize; }
.window-resize-handle-e { right: 0; cursor: ew-resize; }
.window-resize-handle-w { left: 0; cursor: ew-resize; }
.window-resize-handle-ne,
.window-resize-handle-se,
.window-resize-handle-sw,
.window-resize-handle-nw {
  width: 16px;
  height: 16px;
}
.window-resize-handle-ne { top: 0; right: 0; cursor: nesw-resize; }
.window-resize-handle-se { right: 0; bottom: 0; cursor: nwse-resize; }
.window-resize-handle-sw { left: 0; bottom: 0; cursor: nesw-resize; }
.window-resize-handle-nw { top: 0; left: 0; cursor: nwse-resize; }
.app-window.is-maximized .window-resize-handle {
  display: none;
}

.window-titlebar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 9px;
  background: linear-gradient(180deg, var(--c95-title2), var(--c95-title1));
  border-bottom: 1px solid rgba(6, 18, 15, 0.35);
  color: #fff;
  cursor: var(--cur-hand);
  user-select: none;
}
.window-titlebar:active { cursor: var(--cur-grabbing); }
.window-controls {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.window-title {
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.03em;
  justify-self: center;
  min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.window-titlebar-spacer {
  width: 72px;
  justify-self: end;
}
.window-btn {
  width: 16px; height: 16px;
  border: 1px solid rgba(17, 26, 23, 0.32);
  border-radius: 999px;
  cursor: var(--cur-hand);
  position: relative;
  flex-shrink: 0;
}
.window-close { background: #ff5f57; }
.window-minimize { background: #ffbd2e; }
.window-maximize { background: #28c840; }
.window-btn::before,
.window-btn::after {
  content: '';
  position: absolute;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.app-window:hover .window-btn::before,
.app-window:hover .window-btn::after {
  opacity: 0.55;
}
.window-close::before,
.window-close::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  background: #5e1b12;
  transform-origin: center;
}
.window-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.window-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.window-minimize::before {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 2px;
  background: #6a4812;
  transform: translate(-50%, -50%);
}
.window-maximize::before {
  inset: 3px;
  border: 1px solid #165b1e;
  border-radius: 999px;
}

.window-body {
  flex: 1 1 auto;
  overflow: auto;
  background: #f3eee3;
  margin: 0;
  padding: 18px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

/* Common content primitives */
.window-body h3 { font-family: var(--f-mono); font-size: 15px; font-weight: 700; margin: 4px 0 8px; }
.window-body h4 { font-family: var(--f-mono); font-size: 13px; font-weight: 700; margin: 12px 0 4px; color: #2a6ca0; }
.window-body p { margin: 0 0 8px; }
.window-body a { color: var(--c95-title2); font-weight: 700; text-decoration: none; }
.window-body a:hover { text-decoration: underline; }
.window-body .divider { border-top: 1px dashed var(--c95-shd); margin: 12px 0; }
.window-body .kv { font-family: var(--f-mono); }
.window-body .kv b { display: inline-block; min-width: 140px; color: var(--c95-title2); }
.window-body ul.tight { margin: 6px 0; padding-left: 22px; }

/* Win95 button */
.w95-btn {
  display: inline-block;
  background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--c95-hi), inset 2px 2px 0 var(--c95-hi2), inset -1px -1px 0 var(--c95-shd), inset -2px -2px 0 var(--c95-shd2);
  padding: 8px 16px;
  font-family: var(--f-mono); font-weight: 700; font-size: 13px;
  color: var(--ink);
  cursor: var(--cur-hand);
  text-decoration: none;
  position: relative;
}
.w95-btn:active {
  box-shadow: inset -1px -1px 0 var(--c95-hi), inset -2px -2px 0 var(--c95-hi2), inset 1px 1px 0 var(--c95-shd), inset 2px 2px 0 var(--c95-shd2);
  padding-top: 9px; padding-bottom: 7px;
}
.w95-btn:focus-visible { outline: 1px dotted var(--ink); outline-offset: -4px; }

/* =============================================================================
   APP-SPECIFIC BODIES
   ============================================================================= */

/* Manifesto */
.app-manifesto .window-body {
  background: #081420;
  padding: 10px;
}

.manifesto-space {
  position: relative;
  display: grid;
  place-items: start center;
  margin: -0.18rem;
  min-height: 100%;
  padding: clamp(1.2rem, 3.2vw, 2.45rem) clamp(1rem, 3vw, 2.35rem);
  overflow: hidden;
  border: 1px solid rgba(110, 142, 224, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 22%, rgba(144, 194, 255, 0.28), transparent 20rem),
    radial-gradient(circle at 84% 18%, rgba(101, 224, 201, 0.18), transparent 18rem),
    radial-gradient(circle at 52% 62%, rgba(110, 142, 224, 0.18), transparent 24rem),
    radial-gradient(circle at 50% 105%, rgba(255, 200, 87, 0.12), transparent 18rem),
    linear-gradient(160deg, #0b2034 0%, #10253a 34%, #091628 66%, #07111f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.24);
}

.manifesto-space::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 7% 17%, rgba(255, 255, 255, 0.94) 0 1px, transparent 1.5px),
    radial-gradient(circle at 14% 62%, rgba(201, 224, 255, 0.76) 0 1px, transparent 1.5px),
    radial-gradient(circle at 23% 34%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.5px),
    radial-gradient(circle at 36% 14%, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.5px),
    radial-gradient(circle at 49% 26%, rgba(255, 255, 255, 0.54) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 76%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 22%, rgba(208, 236, 255, 0.76) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.64) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 72%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 10%, rgba(255, 255, 255, 0.94) 0 1.4px, transparent 2px),
    radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.88) 0 1.2px, transparent 2px),
    radial-gradient(circle at 66% 88%, rgba(201, 224, 255, 0.82) 0 1.2px, transparent 2px),
    radial-gradient(circle at 58% 8%, rgba(255, 200, 87, 0.22) 0 2px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px);
  opacity: 0.86;
  pointer-events: none;
}

.manifesto-space::after {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border: 1px solid rgba(110, 142, 224, 0.12);
  border-radius: 50%;
  opacity: 0.54;
  transform: rotate(-10deg);
  pointer-events: none;
}

.manifesto-cosmos,
.manifesto-journal {
  position: relative;
  z-index: 1;
}

.manifesto-cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manifesto-cosmos::before,
.manifesto-cosmos::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}

.manifesto-cosmos::before {
  top: 12%;
  left: 8%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    34px 18px 0 rgba(255, 255, 255, 0.82),
    88px 10px 0 rgba(201, 224, 255, 0.9),
    124px 34px 0 rgba(255, 255, 255, 0.72),
    172px 20px 0 rgba(255, 200, 87, 0.78),
    236px 62px 0 rgba(255, 255, 255, 0.82),
    302px 24px 0 rgba(201, 224, 255, 0.76),
    412px 14px 0 rgba(255, 255, 255, 0.84),
    516px 48px 0 rgba(255, 255, 255, 0.74);
  opacity: 0.95;
}

.manifesto-cosmos::after {
  right: 11%;
  bottom: 12%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    -28px -16px 0 rgba(255, 255, 255, 0.76),
    -76px -30px 0 rgba(201, 224, 255, 0.84),
    -132px 8px 0 rgba(255, 255, 255, 0.72),
    -194px -24px 0 rgba(255, 200, 87, 0.7),
    -246px 18px 0 rgba(255, 255, 255, 0.84),
    -308px -42px 0 rgba(201, 224, 255, 0.72);
  opacity: 0.9;
}

.manifesto-planet,
.manifesto-planet-ring,
.manifesto-star {
  position: absolute;
}

.manifesto-orbit {
  position: absolute;
  border: 1px solid rgba(110, 142, 224, 0.16);
  border-radius: 50%;
}

.manifesto-orbit-alpha {
  top: 6%;
  left: 3%;
  width: 94%;
  height: 76%;
  transform: rotate(12deg);
}

.manifesto-orbit-beta {
  top: 18%;
  left: 18%;
  width: 64%;
  height: 48%;
  transform: rotate(-18deg);
}

.manifesto-comet {
  position: absolute;
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(110, 142, 224, 0.86), rgba(255, 255, 255, 0));
  opacity: 0.7;
}

.manifesto-comet-alpha {
  top: 18%;
  right: 11%;
  transform: rotate(26deg);
}

.manifesto-comet-beta {
  bottom: 20%;
  left: 10%;
  transform: rotate(-18deg);
}

.manifesto-planet-blue {
  top: 8%;
  right: 7%;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.56), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #8dc3ff, #4d78d9 52%, #223b7d);
  box-shadow:
    0 0 0 0.24rem rgba(148, 195, 255, 0.1),
    0 0 2.2rem rgba(110, 142, 224, 0.38);
  opacity: 0.96;
}

.manifesto-planet-gold {
  bottom: 13%;
  left: 3.5%;
  width: 6.8rem;
  height: 6.8rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.48), transparent 18%),
    radial-gradient(circle at 60% 58%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #ffd47b, #ffb547 46%, #915319);
  box-shadow:
    0 0 0 0.22rem rgba(255, 200, 87, 0.08),
    0 0 2rem rgba(255, 200, 87, 0.18);
  opacity: 0.9;
}

.manifesto-planet-ring {
  top: 11%;
  right: 4.7%;
  width: 9.6rem;
  height: 1.7rem;
  border-top: 2px solid rgba(255, 200, 87, 0.42);
  border-bottom: 2px solid rgba(110, 142, 224, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
  opacity: 0.9;
}

.manifesto-star {
  width: 1.15rem;
  height: 1.15rem;
  filter: drop-shadow(0 0 0.45rem rgba(255, 255, 255, 0.46));
}

.manifesto-star::before,
.manifesto-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  transform: translate(-50%, -50%);
}

.manifesto-star::before {
  width: 2px;
  height: 100%;
}

.manifesto-star::after {
  width: 100%;
  height: 2px;
}

.manifesto-star-1 {
  top: 15%;
  left: 11%;
  transform: scale(1.02);
}

.manifesto-star-2 {
  top: 22%;
  right: 27%;
  transform: scale(0.84);
}

.manifesto-star-3 {
  bottom: 20%;
  left: 12%;
  transform: scale(1.18);
}

.manifesto-star-4 {
  top: 52%;
  right: 8%;
  transform: scale(0.94);
}

.manifesto-star-5 {
  top: 10%;
  left: 58%;
  transform: scale(0.78);
}

.manifesto-star-6 {
  bottom: 10%;
  right: 26%;
  transform: scale(1.08);
}

.manifesto-journal {
  position: relative;
  display: grid;
  gap: 1.5rem;
  width: min(100%, 1280px);
}

.manifesto-journal::before {
  content: "";
  position: absolute;
  inset: 10% -4% -6%;
  background: radial-gradient(circle at 50% 50%, rgba(110, 142, 224, 0.24), transparent 64%);
  filter: blur(26px);
  opacity: 0.84;
  pointer-events: none;
}

.journal-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: min(64%, 1250px);
  justify-self: center;
  padding: 0 0.35rem;
  color: rgba(230, 235, 239, 0.72);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(110, 142, 224, 0.18);
  text-transform: uppercase;
}

.journal-page {
  position: relative;
  overflow: hidden;
  width: min(64%, 1250px);
  max-width: 100%;
  justify-self: center;
  padding: 2.1rem 2.15rem 2.3rem;
  border: 1px solid rgba(118, 127, 142, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 229, 0.98)),
    #fffdf2;
  box-shadow:
    0 30px 54px rgba(0, 0, 0, 0.36),
    12px 12px 0 rgba(7, 18, 14, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transform-origin: center top;
}

.journal-page::before {
  content: none;
}

.journal-page::after {
  content: none;
}

.journal-fastener {
  display: none;
}

.journal-fastener-left {
  left: 16%;
  transform: rotate(-8deg);
}

.journal-fastener-right {
  right: 15%;
  transform: rotate(7deg);
}

.journal-page > * {
  position: relative;
  z-index: 1;
}

.journal-page p,
.journal-page li {
  color: #2e3731;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.66;
}

.journal-page p {
  margin: 0 0 0.96rem;
}

.journal-page .journal-section-block {
  margin-bottom: 1.45rem;
}

.journal-page a {
  color: var(--c95-title2);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.journal-intro {
  font-style: italic;
  color: #525247;
}

.journal-kicker {
  margin: 0 0 0.8rem;
  color: #2e3731;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-divider {
  height: 1px;
  margin: 1.28rem 0 1.18rem;
  background: linear-gradient(90deg, rgba(47, 77, 156, 0.36), rgba(22, 32, 29, 0.08));
}

.journal-quote {
  display: block;
  margin: 0.38rem 0;
  padding: 0.12rem 0 0.12rem 0.82rem;
  border-left: 2px solid var(--tulip-red);
  background: transparent;
  color: #2e3731;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.66;
}

.journal-closer {
  display: grid;
  gap: 0.34rem;
  margin: 0.3rem 0 1.45rem;
  padding: 0;
  list-style: none;
}

.journal-closer li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
}

.journal-closer li::before {
  content: "■";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--tulip-red);
  font-size: 0.58rem;
  line-height: 1.85;
}

.journal-footnote {
  font-size: 0.78em;
  vertical-align: super;
}

.journal-signature {
  margin-left: 108px;
}

.journal-signature span {
  display: inline-block;
  margin-left: 48px;
}

@media (max-width: 900px) {
  .manifesto-space {
    padding: 0.95rem;
  }

  .manifesto-journal,
  .journal-page {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .manifesto-space {
    padding: 0.72rem;
    border-radius: 18px;
  }

  .journal-page {
    padding: 13px 13px 36px 19px;
  }
}

/* Team */
.app-team .window-body,
.app-membership .window-body {
  background: #f3eee3;
  padding: 20px;
}

.team-page {
  display: grid;
  gap: 0;
}

.team-hero,
.member-hero,
.resources-hero,
.events-hero {
  display: grid;
  gap: 0;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #1b2633;
}

.team-kicker,
.member-kicker,
.resources-kicker,
.events-kicker {
  margin: 0;
  display: block;
  width: 100%;
  padding: 0;
  border-bottom: 0;
  color: rgba(70, 96, 150, 0.9);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-hero h3,
.member-hero h3,
.resources-hero h3,
.events-hero h3 {
  display: block;
  margin: 8px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(35, 71, 136, 0.2);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1;
}

.team-intro,
.member-hero p:not(.member-kicker),
.resources-intro,
.events-intro {
  margin: 0;
  width: 100%;
  max-width: none;
  color: #273445;
  font-size: 14px;
  line-height: 1.65;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.board-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border: 2px solid rgba(22, 32, 29, 0.2);
  border-radius: 10px;
  background: #fffdf2;
}

.board-card-main {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.board-photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid rgba(22, 32, 29, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #ddd7ca, #c9c1b0);
  cursor: var(--cur-hand);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.board-photo-frame:hover,
.board-photo-frame:focus-visible {
  border-color: rgba(42, 108, 160, 0.72);
  box-shadow: 0 0 0 2px rgba(42, 108, 160, 0.18);
  outline: none;
}

.board-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.board-meta strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 14px;
}

.board-meta p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  color: var(--c95-title2);
}

.board-role {
  font-weight: 700;
}

.board-side-note {
  display: grid;
  grid-template-rows: auto 1px minmax(90px, 1fr);
  min-height: 100%;
  align-content: stretch;
  justify-items: stretch;
  gap: 8px;
  padding: 8px 14px 14px;
  border: 2px solid rgba(22, 32, 29, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8dd 0%, #fffdf2 100%);
  color: #556676;
  text-align: left;
}

.board-side-note-main,
.board-side-note-extra {
  display: block;
}

.board-side-note-main {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 0;
  padding-top: 0;
  font-family: var(--f-retro-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c95-title1);
  text-align: left;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.72);
}

.board-side-note-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(22, 32, 29, 0.14);
}

.board-side-note-extra {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 90px;
  gap: 12px;
  padding-top: 4px;
  text-wrap: pretty;
}

.board-side-note-extra span {
  display: block;
  max-width: none;
  text-align: left;
}

.board-side-note-extra span + span {
  margin-top: 0;
}

/* Program pages */
.app-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.window-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.window-link:hover,
.window-link:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.window-link.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.app-xlerate .window-body {
  padding: 0;
  background: #f3eee3;
}

.xlerate-shell {
  position: relative;
  display: grid;
  gap: 0.78rem;
  padding: clamp(0.85rem, 1.55vw, 1.08rem);
  min-height: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.xlerate-shell::before,
.bloom-shell::before,
.odyssey-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 72px);
  opacity: 0.18;
  pointer-events: none;
}

.xlerate-shell > *,
.bloom-shell > *,
.odyssey-shell > * {
  position: relative;
  z-index: 1;
}

.xlerate-shell p,
.xlerate-shell li,
.bloom-shell p,
.bloom-shell li {
  color: rgba(241, 236, 224, 0.82);
}

.xlerate-hero,
.bloom-hero,
.bloom-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
}

.xlerate-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0.82rem;
}

.xlerate-hero-copy,
.bloom-hero-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.xlerate-hero-copy {
  gap: 0.42rem;
}

.xlerate-hero-text {
  margin-bottom: 0.38rem;
}

.xlerate-kicker,
.xlerate-panel-kicker,
.xlerate-stat-label,
.xlerate-jury-role,
.xlerate-hero-badge span,
.bloom-kicker,
.bloom-panel-kicker,
.bloom-stat-label,
.bloom-guest-meta p {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.xlerate-kicker,
.xlerate-panel-kicker,
.xlerate-stat-label,
.xlerate-jury-role {
  color: rgba(255, 212, 120, 0.88);
}

.bloom-kicker,
.bloom-panel-kicker,
.bloom-stat-label,
.bloom-guest-meta p {
  color: rgba(180, 255, 218, 0.88);
}

.window-body .xlerate-shell h3,
.window-body .bloom-shell h3 {
  margin: 0 0 0.85rem;
  color: #fff8ea;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 0.92;
}

.window-body .xlerate-shell h3 {
  display: block;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(35, 71, 136, 0.2);
  font-family: var(--f-mono);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1;
}

.window-body .bloom-shell h3 {
  max-width: 13ch;
  color: #fffdf5;
}

.xlerate-tag-row,
.bloom-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.xlerate-tag-row {
  flex-wrap: nowrap;
  gap: clamp(0.38rem, 0.72vw, 0.68rem);
}

.xlerate-tag,
.bloom-tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xlerate-tag {
  border: 1px solid rgba(255, 200, 87, 0.18);
  background: rgba(255, 200, 87, 0.08);
  color: #fff4d4;
}

.bloom-tag {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fffdf2;
}

.xlerate-hero-visual,
.bloom-hero-visual {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
}

.xlerate-hero-visual {
  min-height: 220px;
}

.xlerate-hero-visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0d0f0e;
}

.xlerate-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 8, 2, 0.06), rgba(12, 8, 2, 0.68)),
    radial-gradient(circle at 50% 14%, rgba(255, 200, 87, 0.12), transparent 36%);
}

.xlerate-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.xlerate-hero-link {
  position: absolute;
  inset: 0;
  display: block;
  cursor: var(--cur-hand);
}

.xlerate-hero-link:focus-visible {
  outline: 3px solid var(--tulip-red);
  outline-offset: -6px;
}

.odyssey-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.2);
  transform-origin: center;
}

.xlerate-hero-badge {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.32rem;
  width: 100%;
  margin-top: auto;
  padding: 0.82rem;
  border: 1px solid rgba(255, 200, 87, 0.18);
  border-radius: 18px;
  background: rgba(10, 12, 10, 0.72);
  backdrop-filter: blur(12px);
}

.xlerate-hero-badge strong {
  color: #fff8ea;
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1.05;
}

.xlerate-hero-badge p {
  margin: 0;
}

.xlerate-stat-grid,
.bloom-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.xlerate-stat-card,
.xlerate-jury-card,
.bloom-stat-card,
.bloom-panel,
.bloom-guest-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 11, 10, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.xlerate-stat-card,
.bloom-stat-card {
  display: grid;
  gap: 0.45rem;
  min-height: 160px;
  padding: 0.95rem;
  border-radius: 18px;
}

.xlerate-program-grid .xlerate-stat-card {
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 0.62rem;
}

.xlerate-program-grid {
  grid-auto-rows: 1fr;
}

.xlerate-program-grid .xlerate-stat-card strong {
  align-self: start;
  min-height: 0;
}

.xlerate-stat-card strong,
.bloom-stat-card strong {
  color: #fff8ea;
  font-family: var(--f-display);
  font-size: clamp(1.28rem, 2.3vw, 1.7rem);
  font-weight: 500;
  line-height: 0.96;
}

.bloom-stat-card strong {
  color: #fffdf5;
}

.xlerate-section-head,
.bloom-section-head {
  display: grid;
  gap: 0.4rem;
}

.window-body .xlerate-section-head h4,
.window-body .bloom-panel h4,
.window-body .bloom-section-head h4,
.window-body .bloom-footer h4 {
  margin: 0;
  color: #fffdf5;
  font-family: var(--f-display);
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1;
}

.xlerate-section-note,
.bloom-section-head p,
.bloom-guest-card > p {
  margin: 0;
  color: rgba(241, 236, 224, 0.72);
}

.xlerate-batch,
.xlerate-jury,
.bloom-guests {
  display: grid;
  gap: 0.8rem;
}

.xlerate-batch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.xlerate-startup-card,
.xlerate-jury-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem;
  border-radius: 18px;
}

.xlerate-startup-card {
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 11, 10, 0.42);
}

.xlerate-startup-card-featured {
  border-color: rgba(255, 200, 87, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.08), rgba(255, 200, 87, 0.015)),
    rgba(8, 11, 10, 0.46);
}

.xlerate-startup-mark,
.xlerate-startup-status {
  color: rgba(255, 212, 120, 0.9);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xlerate-startup-card strong,
.xlerate-jury-card strong {
  color: #fff8ea;
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1.05;
}

.xlerate-startup-card p:last-child,
.xlerate-jury-card p:last-child {
  margin: 0;
}

.xlerate-jury-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.xlerate-story-deck {
  display: grid;
  gap: 0.72rem;
  padding-top: 0.2rem;
}

.xlerate-deck-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 2px solid rgba(22, 32, 29, 0.16);
}

.xlerate-deck-top > div:first-child {
  display: grid;
  gap: 0.22rem;
}

.window-body .xlerate-deck-top h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-pixel);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}

.xlerate-deck-meta {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.xlerate-slide-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(217, 74, 43, 0.22);
  border-radius: 999px;
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.xlerate-slide-arrows {
  display: flex;
  gap: 0.34rem;
}

.xlerate-slide-arrows button {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid rgba(22, 32, 29, 0.22);
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-pixel);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

.xlerate-slide-arrows button:hover,
.xlerate-slide-arrows button:focus-visible,
.xlerate-tab:hover,
.xlerate-tab:focus-visible,
.xlerate-choice:hover,
.xlerate-choice:focus-visible {
  border-color: var(--tulip-red);
  outline: none;
}

.xlerate-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.xlerate-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.46rem 0.62rem;
  border: 2px solid rgba(22, 32, 29, 0.18);
  border-radius: 999px;
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xlerate-tab.is-active {
  border-color: var(--c95-title1);
  background: var(--c95-title1);
  color: #fffdf2;
}

.xlerate-slide-deck {
  display: grid;
  margin-top: 0.45rem;
  min-height: 23.5rem;
}

.xlerate-slide {
  display: grid;
  align-content: start;
  gap: 0.78rem;
  min-width: 0;
  animation: xlerate-slide-in 0.18s ease;
}

.xlerate-slide[hidden] {
  display: none;
}

@keyframes xlerate-slide-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.xlerate-program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xlerate-showcase {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 19rem;
}

.xlerate-picker {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  max-height: 19rem;
  overflow: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.xlerate-picker-compact {
  max-height: 17.5rem;
}

.xlerate-picker-compact .xlerate-choice {
  grid-template-columns: 2.2rem minmax(0, 1fr);
  min-height: 4.15rem;
  align-items: center;
  gap: 0.14rem 0.62rem;
  padding: 0.58rem 0.68rem;
}

.xlerate-picker-compact .xlerate-choice span {
  align-self: center;
  justify-self: center;
  font-size: 0.64rem;
}

.xlerate-picker-compact .xlerate-choice strong {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
}

.xlerate-picker-compact .xlerate-choice em {
  font-size: 0.58rem;
  line-height: 1.2;
  white-space: normal;
}

.xlerate-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "mark name"
    "mark meta";
  gap: 0.12rem 0.56rem;
  min-height: 3.65rem;
  padding: 0.56rem 0.64rem;
  border: 2px solid rgba(22, 32, 29, 0.16);
  background: #fffdf2;
  text-align: left;
}

.xlerate-choice span {
  grid-area: mark;
  align-self: start;
  color: var(--c95-title1);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.xlerate-choice strong {
  grid-area: name;
  min-width: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1;
}

.xlerate-choice em {
  grid-area: meta;
  color: rgba(22, 32, 29, 0.68);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.xlerate-choice.is-active {
  border-color: var(--tulip-red);
  background:
    linear-gradient(180deg, rgba(217, 74, 43, 0.1), rgba(217, 74, 43, 0.03)),
    #fffdf2;
}

.xlerate-spotlight {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.48rem;
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 2px solid rgba(22, 32, 29, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.16), rgba(255, 253, 242, 0.86) 42%),
    #fffdf2;
}

.xlerate-startup-spotlight[role="link"],
.xlerate-jury-spotlight[role="link"] {
  cursor: var(--cur-hand);
}

.xlerate-startup-spotlight[role="link"]:focus-visible,
.xlerate-jury-spotlight[role="link"]:focus-visible {
  outline: 2px solid var(--c95-title2);
  outline-offset: 3px;
}

.xlerate-spotlight strong {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.88;
}

.xlerate-jury-spotlight strong {
  font-size: 2.4rem;
}

.xlerate-spotlight p {
  max-width: 48ch;
  margin: 0;
}

.xlerate-startup-spotlight > p:last-child {
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xlerate-spotlight .xlerate-startup-mark,
.xlerate-spotlight .xlerate-startup-status,
.xlerate-spotlight .xlerate-jury-role {
  justify-self: start;
}

.odyssey-shell.xlerate-shell::after {
  display: none;
}

.odyssey-shell .xlerate-hero-image {
  object-position: center 38%;
  transform: scale(1.08);
  transform-origin: center 42%;
}

.odyssey-shell .xlerate-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0.82rem;
  align-items: stretch;
}

.odyssey-shell .xlerate-hero-copy {
  min-width: 0;
  gap: 0.16rem;
}

.window-body .odyssey-shell.xlerate-shell h3 {
  max-width: none;
  margin-top: -0.42rem;
  margin-bottom: 0.92rem;
  padding-bottom: 0.9rem;
}

.odyssey-shell .xlerate-tag-row {
  flex-wrap: nowrap;
}

.odyssey-shell .xlerate-kicker,
.odyssey-shell .xlerate-panel-kicker,
.odyssey-shell .xlerate-stat-label,
.odyssey-shell .xlerate-startup-mark,
.odyssey-shell .xlerate-startup-status,
.odyssey-shell .xlerate-jury-role,
.odyssey-shell .xlerate-choice span {
  color: var(--tulip-red-dk);
}

.odyssey-shell .xlerate-slide-count {
  border-color: rgba(138, 32, 16, 0.28);
  background: rgba(138, 32, 16, 0.09);
  color: var(--tulip-red-dk);
}

.odyssey-shell .xlerate-tab.is-active {
  border-color: var(--tulip-red-dk);
  background: var(--tulip-red-dk);
}

.odyssey-shell .xlerate-choice.is-active {
  border-color: var(--tulip-red-dk);
  background:
    linear-gradient(180deg, rgba(138, 32, 16, 0.11), rgba(138, 32, 16, 0.035)),
    #fffdf2;
}

.odyssey-shell .xlerate-slide-arrows button:hover,
.odyssey-shell .xlerate-slide-arrows button:focus-visible,
.odyssey-shell .xlerate-tab:hover,
.odyssey-shell .xlerate-tab:focus-visible,
.odyssey-shell .xlerate-choice:hover,
.odyssey-shell .xlerate-choice:focus-visible {
  border-color: var(--tulip-red-dk);
}

.odyssey-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odyssey-route-card {
  align-content: start;
  gap: 0.42rem;
  min-height: 118px;
  padding: 0.62rem;
  cursor: var(--cur-hand);
  text-align: left;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.xlerate-program-grid .odyssey-route-card {
  grid-template-rows: auto auto auto auto;
  gap: 0.34rem;
}

.window-body .odyssey-route-card strong {
  min-height: 0;
  font-size: 1.15rem;
  line-height: 0.98;
}

.odyssey-route-card:hover,
.odyssey-route-card:focus-visible {
  border-color: rgba(138, 32, 16, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(138, 32, 16, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.odyssey-route-card p {
  margin-bottom: 0;
  font-size: 0.68rem;
  line-height: 1.28;
}

.odyssey-route-card .xlerate-stat-label {
  font-size: 0.62rem;
}

.odyssey-route-card-action {
  align-self: end;
  justify-self: start;
  margin-top: 0.04rem;
  color: var(--tulip-red-dk);
  font-family: var(--f-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odyssey-route-list {
  display: grid;
  gap: 0.28rem;
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
}

.odyssey-route-list li {
  position: relative;
  padding-left: 0.9rem;
  color: rgba(22, 32, 29, 0.78);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  line-height: 1.35;
}

.odyssey-route-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--tulip-red);
}

.odyssey-route-dialog {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: 100%;
  padding: clamp(0.85rem, 2.4vw, 1.25rem);
  overflow: hidden;
}

.odyssey-route-dialog[hidden] {
  display: none;
}

.odyssey-route-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 14, 0.54);
  backdrop-filter: blur(2px);
}

.odyssey-route-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.78rem;
  width: min(100%, 900px);
  max-height: calc(100% - 1rem);
  overflow: auto;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 2px solid rgba(22, 32, 29, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.12), rgba(255, 253, 242, 0.94) 34%),
    #fffdf2;
  box-shadow: 0 28px 80px rgba(8, 18, 28, 0.32);
  color: var(--ink);
}

.odyssey-route-dialog-panel:focus {
  outline: none;
}

.odyssey-route-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.68rem;
  border-bottom: 2px solid rgba(22, 32, 29, 0.12);
}

.window-body .odyssey-route-dialog-head h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-pixel);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 400;
  line-height: 0.92;
}

.odyssey-route-dialog-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(22, 32, 29, 0.24);
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: var(--cur-hand);
}

.odyssey-route-dialog-close:hover,
.odyssey-route-dialog-close:focus-visible {
  border-color: var(--tulip-red-dk);
  color: var(--tulip-red-dk);
  outline: none;
}

.odyssey-route-dialog-summary {
  max-width: 58ch;
  margin: 0;
  color: rgba(22, 32, 29, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
}

.odyssey-route-calendar-list {
  display: grid;
  gap: 0.48rem;
}

.odyssey-route-calendar-item {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.28fr) minmax(0, 1fr);
  min-height: 4rem;
  border: 2px solid rgba(22, 32, 29, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.odyssey-route-calendar-date {
  display: grid;
  align-content: center;
  gap: 0.22rem;
  padding: 0.58rem;
  border-right: 2px solid rgba(22, 32, 29, 0.12);
  background: rgba(138, 32, 16, 0.08);
}

.odyssey-route-calendar-date span,
.odyssey-route-calendar-date em {
  font-family: var(--f-mono);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.odyssey-route-calendar-date span {
  color: var(--tulip-red-dk);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.odyssey-route-calendar-date em {
  color: rgba(22, 32, 29, 0.64);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.odyssey-route-calendar-copy {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  padding: 0.58rem 0.7rem;
}

.odyssey-route-calendar-copy strong {
  color: var(--ink);
  font-family: var(--f-pixel);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 0.98;
}

.odyssey-route-calendar-copy p {
  margin: 0;
  color: rgba(22, 32, 29, 0.72);
  font-size: 0.7rem;
  line-height: 1.32;
}

.odyssey-cohort-panel {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 2px solid rgba(22, 32, 29, 0.18);
  background: #fffdf2;
}

.odyssey-cohort-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.odyssey-cohort-head strong {
  color: var(--ink);
  font-family: var(--f-pixel);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1;
}

.odyssey-cohort-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.odyssey-cohort-card {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  min-height: 5rem;
  padding: 0.7rem 0.72rem;
  border: 1px solid rgba(22, 32, 29, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.odyssey-cohort-card strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.76rem;
  line-height: 1.28;
}

.odyssey-cohort-card span {
  color: var(--tulip-red-dk);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .odyssey-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odyssey-cohort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bloom-shell {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: -0.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(122, 255, 188, 0.18);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 183, 66, 0.26), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(116, 255, 219, 0.24), transparent 24rem),
    radial-gradient(circle at 48% 100%, rgba(94, 134, 255, 0.18), transparent 28rem),
    linear-gradient(135deg, #09120f 0%, #10211b 42%, #08110d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 38px rgba(8, 12, 10, 0.14);
}

.bloom-hero,
.bloom-story-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
}

.bloom-hero-visual {
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(82, 104, 168, 0.08), transparent 52%),
    url("assets/app-icons/bloom-legacy.png") center / 114% auto no-repeat,
    #000;
}

.bloom-hero-visual::before,
.bloom-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.bloom-hero-visual::before {
  inset: 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(110, 142, 224, 0.12), transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
}

.bloom-hero-visual::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
}

.bloom-hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  aspect-ratio: 1;
  object-fit: contain;
}

.bloom-hero-logo-bloom {
  display: none;
}

.bloom-showcase {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.bloom-deck,
.bloom-slide-rail,
.bloom-guest-reel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(8, 11, 10, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bloom-deck {
  display: grid;
  min-height: 330px;
  overflow: hidden;
}

.bloom-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.42fr);
  gap: 1rem;
  min-height: 330px;
  padding: 1.05rem;
}

.bloom-slide[hidden] {
  display: none;
}

.bloom-slide-copy {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-width: 0;
}

.bloom-slide-copy p:last-child {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  line-height: 1.52;
}

.bloom-slide-metric {
  display: block;
  color: #fffdf5;
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.1vw, 3.45rem);
  font-weight: 500;
  line-height: 0.92;
}

.window-body .bloom-slide h4,
.window-body .bloom-guest-reel-head h4 {
  margin: 0;
  color: #fffdf5;
  font-family: var(--f-display);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1;
}

.bloom-slide-side {
  display: grid;
  gap: 0.75rem;
  align-content: space-between;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(223, 255, 237, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.bloom-slide-number,
.bloom-slide-rail-head span {
  color: rgba(180, 255, 218, 0.88);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bloom-slide-points {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloom-slide-points li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(239, 247, 243, 0.82);
  line-height: 1.38;
}

.bloom-slide-points li:first-child {
  padding-top: 0;
  border-top: 0;
}

.bloom-signal-meter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
  align-items: end;
  height: 3.5rem;
  padding-top: 0.4rem;
}

.bloom-signal-meter span {
  display: block;
  min-height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #b4ffda, #73adff);
  transform-origin: bottom;
  animation: bloom-signal 1.6s ease-in-out infinite;
}

.bloom-signal-meter span:nth-child(1) { height: 38%; animation-delay: 0s; }
.bloom-signal-meter span:nth-child(2) { height: 58%; animation-delay: 0.12s; }
.bloom-signal-meter span:nth-child(3) { height: 82%; animation-delay: 0.24s; }
.bloom-signal-meter span:nth-child(4) { height: 64%; animation-delay: 0.36s; }
.bloom-signal-meter span:nth-child(5) { height: 46%; animation-delay: 0.48s; }

@keyframes bloom-signal {
  0%, 100% { transform: scaleY(0.52); opacity: 0.58; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bloom-signal-meter span {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .bloom-slide-progress span,
  .bloom-guest-card {
    transition: none;
  }
}

.bloom-slide-rail {
  display: grid;
  gap: 0.62rem;
  align-content: start;
  padding: 0.72rem;
}

.bloom-slide-rail-head,
.bloom-guest-reel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.bloom-slide-rail-head {
  align-items: center;
}

.bloom-slide-rail-head .bloom-panel-kicker,
.bloom-guest-reel-head .bloom-panel-kicker {
  margin: 0;
}

.bloom-slide-tabs {
  display: grid;
  gap: 0.42rem;
}

.bloom-slide-tab {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
  min-height: 2.62rem;
  padding: 0.42rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: #fffdf2;
  cursor: var(--cur-hand);
  text-align: left;
}

.bloom-slide-tab span {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(180, 255, 218, 0.14);
  color: #b4ffda;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.bloom-slide-tab strong {
  overflow: hidden;
  color: inherit;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.bloom-slide-tab.is-active,
.bloom-slide-tab:hover,
.bloom-slide-tab:focus-visible {
  border-color: rgba(180, 255, 218, 0.38);
  background: rgba(180, 255, 218, 0.14);
  color: #b4ffda;
  outline: none;
}

.bloom-slide-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}

.bloom-slide-nav,
.bloom-reel-nav {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf2;
  cursor: var(--cur-hand);
  font-family: var(--f-display);
  font-size: 1.35rem;
  line-height: 1;
}

.bloom-slide-nav:hover,
.bloom-slide-nav:focus-visible,
.bloom-reel-nav:hover,
.bloom-reel-nav:focus-visible {
  border-color: rgba(180, 255, 218, 0.38);
  background: rgba(180, 255, 218, 0.14);
  color: #b4ffda;
  outline: none;
}

.bloom-slide-progress {
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bloom-slide-progress span {
  display: block;
  width: calc((var(--bloom-progress) / var(--bloom-total)) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b4ffda, #73adff);
  transition: width 0.28s ease;
}

.bloom-guest-reel-wrap,
.bloom-guest-reel-head > div:first-child {
  display: grid;
  gap: 0.55rem;
}

.bloom-guest-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.42rem;
}

.bloom-guest-reel {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.68rem;
  scroll-padding: 0.68rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bloom-guest-reel::-webkit-scrollbar {
  display: none;
}

.bloom-guest-track {
  display: flex;
  gap: 0.72rem;
  align-items: stretch;
}

.bloom-guest-card {
  flex: 0 0 clamp(16rem, 37%, 20rem);
  scroll-snap-align: start;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.bloom-guest-card.is-active {
  border-color: rgba(180, 255, 218, 0.32);
  background:
    linear-gradient(180deg, rgba(180, 255, 218, 0.09), rgba(255, 255, 255, 0.015)),
    rgba(8, 11, 10, 0.46);
  transform: translateY(-2px);
}

.bloom-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 20px;
}

.bloom-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloom-list li {
  display: grid;
  gap: 0.22rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bloom-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.bloom-list strong,
.bloom-guest-meta strong {
  color: #fffdf5;
}

.bloom-list span,
.bloom-guest-meta span {
  color: rgba(239, 247, 243, 0.76);
}

.bloom-guest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.bloom-guest-card {
  min-height: 180px;
  padding: 0.95rem;
  border-radius: 20px;
}

.bloom-guest-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.bloom-guest-index {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7fffc7, #73adff);
  color: #08100d;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.bloom-guest-meta {
  display: grid;
  gap: 0.16rem;
}

.bloom-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(223, 255, 237, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(243, 255, 249, 0.12), rgba(255, 224, 153, 0.14)),
    rgba(255, 255, 255, 0.07);
}

.bloom-footer-copy {
  display: grid;
  gap: 0.35rem;
}

.bloom-footnote {
  margin: 0;
  color: rgba(246, 255, 250, 0.88);
}

.bloom-footer .bloom-apply-link {
  min-width: 260px;
  background: linear-gradient(135deg, #fcfff4, #d4ffe7 48%, #8effc4);
  color: #04100a;
  border-color: rgba(242, 255, 230, 0.98);
}

.bloom-footer .bloom-apply-link.secondary,
.bloom-footer .bloom-apply-link:hover,
.bloom-footer .bloom-apply-link:focus-visible {
  background: linear-gradient(135deg, #ffffff, #e6fff1 44%, #a5ffd0);
  color: #04100a;
}

.app-bloom .window-body {
  padding: 0;
  overflow: auto;
  background: #f3eee3;
}

.bloom-shell.xlerate-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.78rem;
  margin: 0;
  padding: clamp(0.85rem, 1.55vw, 1.08rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bloom-shell .xlerate-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0.82rem;
}

.bloom-shell .xlerate-hero-copy {
  min-width: 0;
  gap: 0.42rem;
}

.window-body .bloom-shell.xlerate-shell h3 {
  display: block;
  max-width: none;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(38, 130, 88, 0.22);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: clamp(1.48rem, 2.35vw, 2.16rem);
  font-weight: 700;
  line-height: 1;
}

.bloom-shell .xlerate-hero-text p,
.bloom-shell .xlerate-section-note,
.bloom-shell .xlerate-stat-card p,
.bloom-shell .xlerate-spotlight p,
.bloom-apply-panel p {
  color: rgba(22, 32, 29, 0.74);
}

.bloom-shell .xlerate-kicker,
.bloom-shell .xlerate-panel-kicker,
.bloom-shell .xlerate-stat-label,
.bloom-shell .xlerate-startup-mark,
.bloom-shell .xlerate-startup-status,
.bloom-shell .xlerate-jury-role,
.bloom-shell .xlerate-choice span,
.bloom-shell .xlerate-slide-count {
  color: #247c53;
}

.bloom-shell .xlerate-tag {
  padding: 0.34rem 0.48rem;
  border-color: rgba(36, 124, 83, 0.22);
  background: rgba(36, 124, 83, 0.08);
  color: #195f3d;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
}

.bloom-shell .xlerate-hero-visual {
  min-height: 220px;
  border-color: rgba(22, 32, 29, 0.16);
  border-radius: 18px;
  background: #000;
}

.bloom-shell .xlerate-hero-visual::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at 50% 54%, rgba(180, 255, 218, 0.1), transparent 38%);
}

.bloom-shell .xlerate-hero-image {
  border-radius: inherit;
  object-position: center;
  transform: scale(1.02);
}

.bloom-shell .xlerate-slide-count {
  border-color: rgba(36, 124, 83, 0.28);
  background: rgba(36, 124, 83, 0.08);
}

.bloom-shell .xlerate-tab.is-active {
  border-color: #247c53;
  background: #247c53;
  color: #fffdf2;
}

.bloom-shell .xlerate-choice.is-active {
  border-color: #247c53;
  background:
    linear-gradient(180deg, rgba(36, 124, 83, 0.1), rgba(36, 124, 83, 0.03)),
    #fffdf2;
}

.bloom-shell .bloom-guest-picker {
  gap: 0.5rem;
}

.bloom-shell .bloom-guest-picker .xlerate-choice {
  grid-template-columns: 2.2rem minmax(0, 1fr);
  min-height: 4.45rem;
  align-items: center;
  gap: 0.14rem 0.62rem;
  padding: 0.58rem 0.68rem;
}

.bloom-shell .bloom-guest-picker .xlerate-choice span {
  align-self: center;
  justify-self: center;
  font-size: 0.64rem;
}

.bloom-shell .bloom-guest-picker .xlerate-choice strong {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
}

.bloom-shell .bloom-guest-picker .xlerate-choice em {
  display: -webkit-box;
  min-height: 1.5rem;
  overflow: hidden;
  font-size: 0.58rem;
  line-height: 1.2;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bloom-shell .xlerate-slide-arrows button:hover,
.bloom-shell .xlerate-slide-arrows button:focus-visible,
.bloom-shell .xlerate-tab:hover,
.bloom-shell .xlerate-tab:focus-visible,
.bloom-shell .xlerate-choice:hover,
.bloom-shell .xlerate-choice:focus-visible {
  border-color: #247c53;
}

.bloom-shell .xlerate-spotlight {
  background:
    linear-gradient(135deg, rgba(180, 255, 218, 0.18), rgba(255, 253, 242, 0.88) 42%),
    #fffdf2;
}

.bloom-shell .xlerate-spotlight strong,
.bloom-apply-panel strong {
  color: var(--ink);
}

.bloom-shell .xlerate-jury-spotlight strong {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

.bloom-shell .xlerate-startup-spotlight > p:last-child {
  height: auto;
  line-height: 1.42;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.bloom-signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bloom-signal-card {
  min-height: 142px;
}

.bloom-mini-guest-flow {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.05rem;
  padding: 1.15rem 1.25rem;
  border: 2px solid rgba(22, 32, 29, 0.16);
  background:
    linear-gradient(135deg, rgba(36, 124, 83, 0.08), rgba(255, 253, 242, 0.92)),
    #fffdf2;
  overflow: hidden;
}

.bloom-mini-guest-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.bloom-mini-guest-head p {
  margin: 0;
  color: rgba(22, 32, 29, 0.72);
  font-size: 1rem;
  line-height: 1.46;
}

.bloom-mini-guest-head .xlerate-stat-label {
  font-size: 0.84rem;
}

.bloom-mini-guest-rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.bloom-mini-guest-track {
  display: flex;
  width: max-content;
  gap: 0.78rem;
  animation: bloom-guest-flow 32s linear infinite;
}

.bloom-mini-guest {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.22rem 0.82rem;
  align-items: center;
  width: 17.2rem;
  min-height: 6.7rem;
  padding: 0.82rem 0.95rem;
  border: 2px solid rgba(22, 32, 29, 0.16);
  background: #fffdf2;
  color: inherit;
  transition: border-color 0.14s ease, transform 0.14s ease, background 0.14s ease;
}

.bloom-mini-guest:hover {
  border-color: #247c53;
  background: #f3fff8;
  transform: translateY(-1px);
}

.bloom-mini-guest-photo {
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(36, 124, 83, 0.2);
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  background: #e8efe8;
}

.bloom-mini-guest-photo--fallback {
  display: inline-grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.32), transparent 36%),
    linear-gradient(135deg, #247c53, #6ba389);
  color: #fffdf2;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.bloom-mini-guest-copy {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.bloom-mini-guest-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 1rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bloom-mini-guest-copy em {
  overflow: hidden;
  color: rgba(22, 32, 29, 0.64);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@keyframes bloom-guest-flow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.24rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .bloom-mini-guest-rail {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .bloom-mini-guest-track {
    animation: none;
    width: auto;
  }

  .bloom-mini-guest-track .bloom-mini-guest:nth-child(n + 10) {
    display: none;
  }
}

.bloom-apply-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  align-self: end;
  margin-top: 0;
  padding: 0.82rem;
  border: 2px solid rgba(22, 32, 29, 0.18);
  background:
    linear-gradient(135deg, rgba(36, 124, 83, 0.1), rgba(255, 253, 242, 0.88)),
    #fffdf2;
}

.bloom-apply-panel > div {
  display: grid;
  gap: 0.22rem;
}

.bloom-apply-panel strong {
  font-family: var(--f-pixel);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.bloom-apply-panel p {
  margin: 0;
  font-size: 0.78rem;
}

.bloom-apply-panel .bloom-apply-link {
  flex: 0 0 auto;
  min-width: 7.5rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.95rem;
  border: 2px solid #16201d;
  border-right-color: rgba(22, 32, 29, 0.48);
  border-bottom-color: rgba(22, 32, 29, 0.48);
  border-radius: 0;
  background: #fffdf2;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.1;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.76),
    inset -1px -1px 0 rgba(22, 32, 29, 0.2);
}

.bloom-apply-panel .bloom-apply-link:hover,
.bloom-apply-panel .bloom-apply-link:focus-visible {
  border-color: #247c53;
  border-right-color: #1f6847;
  border-bottom-color: #1f6847;
  background: #e9f4d9;
  color: var(--ink);
  outline: 2px solid #247c53;
  outline-offset: 1px;
  transform: none;
}

.bloom-apply-panel .bloom-apply-link:active {
  background: #dcebc9;
  box-shadow:
    inset -1px -1px 0 rgba(255, 255, 255, 0.64),
    inset 1px 1px 0 rgba(22, 32, 29, 0.28);
}

.app-odyssey .window-body {
  position: relative;
  padding: 0;
  overflow: auto;
  background: #f3eee3;
}

.app-odyssey .window-body.is-odyssey-route-dialog-open {
  overflow: hidden;
}

.odyssey-shell {
  position: static;
  display: grid;
  gap: 0.9rem;
  padding: clamp(0.85rem, 1.55vw, 1.08rem);
  min-height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.odyssey-shell::before {
  opacity: 0.5;
}

.odyssey-shell::after {
  content: "";
  position: absolute;
  top: -1.8rem;
  right: -1rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(255, 220, 150, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.1rem rgba(116, 165, 230, 0.08),
    0 0 0 2.2rem rgba(255, 203, 112, 0.04);
  pointer-events: none;
}

.odyssey-shell p,
.odyssey-shell li {
  color: #eaf0ec;
}

.odyssey-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.odyssey-kicker,
.odyssey-section-tag,
.odyssey-stat-label,
.odyssey-map-kicker,
.odyssey-startup-mark {
  margin: 0;
  color: #94c6ff;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.odyssey-stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.odyssey-stamp {
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f1e2;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odyssey-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0.82rem;
  align-items: stretch;
}

.odyssey-hero-copy {
  display: grid;
  gap: 0.68rem;
  align-content: start;
}

.odyssey-hero-copy > div:not(.odyssey-stamp-row) {
  display: grid;
  gap: 0.62rem;
}

.odyssey-hero-visual {
  position: relative;
  display: grid;
  gap: 0.42rem;
  align-content: start;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #111824;
}

.odyssey-hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #0c1624;
}

.odyssey-hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 16, 24, 0.02), rgba(11, 16, 24, 0.68)),
    radial-gradient(circle at 48% 20%, rgba(255, 212, 107, 0.14), transparent 36%);
  pointer-events: none;
}

.odyssey-hero-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #223a52, #102338 58%, #0c1624);
}

.odyssey-hero-placeholder span {
  padding: 0.55rem 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 18, 28, 0.46);
  color: rgba(247, 243, 233, 0.74);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.odyssey-hero-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  margin: 0;
  color: #fff8ea;
  font-family: var(--f-display);
  font-size: clamp(0.98rem, 1.75vw, 1.12rem);
  font-weight: 500;
  line-height: 1.14;
}

.odyssey-section-rule {
  border-top: 2px solid rgba(22, 32, 29, 0.16);
}

.odyssey-command-board,
.odyssey-field-layout,
.odyssey-bottom-layout {
  display: grid;
  gap: 0.9rem;
}

.odyssey-command-board {
  align-items: start;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  grid-template-areas:
    "copy map"
    "notes map"
    "guest startups";
}

.odyssey-field-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.odyssey-bottom-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.odyssey-command-copy {
  grid-area: copy;
  display: grid;
  gap: 0.9rem;
}

.odyssey-brief-notes {
  grid-area: notes;
  display: grid;
  gap: 0.72rem;
}

.odyssey-guest-panel {
  grid-area: guest;
}

.odyssey-startups-panel {
  grid-area: startups;
}

.window-body .odyssey-shell h3 {
  margin: 0;
  max-width: 13ch;
  color: #f7f3e9;
  font-family: var(--f-display);
  font-size: 2.8rem;
  line-height: 0.92;
}

.odyssey-lead {
  margin: 0;
  max-width: 62ch;
  color: rgba(236, 243, 239, 0.88);
  font-size: 1rem;
  line-height: 1.52;
}

.odyssey-quote {
  margin: 0;
  max-width: 56ch;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 213, 123, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 213, 123, 0.08), rgba(255, 213, 123, 0.02)), rgba(255, 255, 255, 0.04);
  color: #f0e7d2;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  line-height: 1.18;
}

.odyssey-stat-grid,
.odyssey-signal-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.odyssey-stat-card,
.odyssey-paper-panel,
.odyssey-source-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 18, 28, 0.42);
}

.odyssey-stat-card,
.odyssey-paper-panel,
.odyssey-source-panel,
.odyssey-map-panel {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(8, 18, 28, 0.12);
}

.odyssey-stat-card {
  display: grid;
  gap: 0.35rem;
  min-height: 116px;
  padding: 0.84rem;
}

.odyssey-stat-card strong,
.odyssey-module-card strong,
.odyssey-guest-card strong,
.odyssey-startup-card strong,
.odyssey-map-head strong {
  color: #f7f3e9;
  font-family: var(--f-display);
}

.odyssey-map-panel {
  grid-area: map;
  position: relative;
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(255, 219, 155, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 214, 118, 0.12), transparent 8rem),
    radial-gradient(circle at 18% 78%, rgba(86, 139, 214, 0.22), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, #13283d, #0f2234 100%);
}

.odyssey-calendar-panel {
  grid-area: auto;
  gap: 0.82rem;
  padding: 0.95rem;
}

.odyssey-map-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.odyssey-map-head > div {
  display: grid;
  gap: 0.12rem;
}

.odyssey-route-count {
  flex: 0 0 auto;
  padding: 0.24rem 0.5rem;
  border: 1px solid rgba(255, 212, 107, 0.22);
  border-radius: 999px;
  color: #ffd46b;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.odyssey-route-calendar,
.odyssey-route-detail-stack {
  display: grid;
  gap: 0.72rem;
}

.odyssey-route-calendar {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.58fr);
  align-items: stretch;
}

.odyssey-route-detail-stack {
  align-content: start;
  max-height: 31rem;
  overflow: auto;
  padding-right: 0.18rem;
}

.odyssey-calendar-board {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0.72rem;
  min-width: 0;
  min-height: 100%;
}

.odyssey-route-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.odyssey-route-insights .odyssey-stat-card {
  min-height: 0;
  padding: 0.82rem;
}

.odyssey-calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.odyssey-calendar-months span,
.odyssey-route-hint {
  color: rgba(247, 243, 233, 0.62);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.odyssey-route-hint {
  justify-self: center;
  text-align: center;
}

.odyssey-calendar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.38rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.odyssey-calendar-grid::-webkit-scrollbar,
.odyssey-guest-reel::-webkit-scrollbar {
  display: none;
}

.odyssey-calendar-week {
  display: grid;
  gap: 0.22rem;
  align-content: start;
  min-width: 0;
  min-height: 8.1rem;
  padding: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.045);
  color: #f7f3e9;
  cursor: var(--cur-hand);
  text-align: left;
}

.odyssey-calendar-week-code,
.odyssey-calendar-week-range,
.odyssey-calendar-week small {
  font-family: var(--f-mono);
  font-weight: 700;
  line-height: 1;
}

.odyssey-calendar-week-code {
  display: inline-flex;
  width: fit-content;
  padding: 0.12rem 0.3rem;
  border: 1px solid rgba(255, 212, 107, 0.22);
  border-radius: 999px;
  background: rgba(255, 212, 107, 0.08);
  color: #ffd46b;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.odyssey-calendar-week-range,
.odyssey-calendar-week small {
  overflow: hidden;
  color: rgba(230, 237, 231, 0.64);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odyssey-calendar-week strong {
  overflow: hidden;
  color: inherit;
  font-family: var(--f-display);
  font-size: 0.98rem;
  line-height: 0.98;
}

.odyssey-calendar-week.is-active,
.odyssey-calendar-week:hover,
.odyssey-calendar-week:focus-visible {
  border-color: rgba(255, 212, 107, 0.36);
  background: rgba(255, 212, 107, 0.16);
  color: #ffd46b;
  outline: none;
}

.odyssey-route-detail {
  display: grid;
  gap: 0.74rem;
  align-content: start;
  min-height: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.odyssey-route-detail[hidden] {
  display: none;
}

.odyssey-route-detail-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  align-items: start;
}

.odyssey-route-summary {
  margin: 0;
  color: rgba(230, 237, 231, 0.78);
  font-size: 0.8rem;
  line-height: 1.38;
}

.odyssey-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "guest startups";
  gap: 0.9rem;
}

.odyssey-support-grid .odyssey-guest-panel {
  grid-area: guest;
}

.odyssey-support-grid .odyssey-startups-panel {
  grid-area: startups;
}

.odyssey-route-week-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.34rem 0.56rem;
  border: 1px solid rgba(255, 212, 107, 0.24);
  border-radius: 999px;
  color: #ffd46b;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odyssey-route-week-copy {
  display: grid;
  gap: 0.2rem;
}

.odyssey-route-week-copy strong {
  color: #f7f3e9;
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1;
}

.odyssey-route-week-copy p {
  margin: 0;
  color: rgba(230, 237, 231, 0.78);
  font-size: 0.84rem;
  line-height: 1.42;
}

.odyssey-route-week-events {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.odyssey-route-stop {
  position: relative;
  display: grid;
  grid-template-columns: 3.45rem minmax(0, 1fr);
  gap: 0.56rem;
  align-items: start;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.odyssey-route-stop::before {
  display: none;
}

.odyssey-route-date {
  color: #ffd46b;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.odyssey-route-copy {
  display: grid;
  gap: 0.15rem;
  padding: 0.46rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.odyssey-route-copy strong {
  color: #f7f3e9;
  font-size: 1rem;
  line-height: 1;
}

.odyssey-route-copy span {
  color: rgba(230, 237, 231, 0.72);
  font-size: 0.83rem;
}

.odyssey-route-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  align-content: center;
  min-height: 100%;
}

.odyssey-route-nav {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f3e9;
  font-family: var(--f-mono);
  font-weight: 700;
  cursor: var(--cur-hand);
}

.odyssey-route-nav {
  min-height: 2.15rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odyssey-route-nav:hover,
.odyssey-route-nav:focus-visible {
  border-color: rgba(255, 212, 107, 0.36);
  background: rgba(255, 212, 107, 0.15);
  color: #ffd46b;
  outline: none;
}

.odyssey-paper-panel,
.odyssey-source-panel {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
}

.odyssey-source-note {
  display: grid;
  gap: 0.42rem;
  padding: 0 0.1rem;
}

.odyssey-source-note .odyssey-source-list {
  gap: 0.44rem;
}

.odyssey-panel-head,
.odyssey-source-list {
  display: grid;
  gap: 0.28rem;
}

.odyssey-panel-head-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.odyssey-panel-head-compact {
  gap: 0.14rem;
}

.odyssey-panel-head p,
.odyssey-source-list p,
.odyssey-module-card p,
.odyssey-guest-card span,
.odyssey-startup-card p,
.odyssey-stat-card p {
  margin: 0;
  color: rgba(234, 240, 236, 0.86);
}

.odyssey-module-matrix,
.odyssey-guest-grid,
.odyssey-startup-grid {
  display: grid;
  gap: 0.7rem;
}

.odyssey-module-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odyssey-guest-reel {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.1rem 0 0.35rem;
  scroll-padding: 0.1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.odyssey-guest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odyssey-startup-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.odyssey-module-card,
.odyssey-guest-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.82rem 0.86rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.odyssey-guest-card {
  flex: 0 0 min(13.8rem, 74%);
  min-height: 7.8rem;
  scroll-snap-align: start;
}

.odyssey-guest-date {
  color: #ffd46b;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.odyssey-mini-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.36rem;
}

.odyssey-mini-controls button,
.odyssey-startup-choice {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f3e9;
  cursor: var(--cur-hand);
  font-family: var(--f-mono);
  font-weight: 700;
}

.odyssey-mini-controls button {
  min-height: 1.85rem;
  padding: 0 0.54rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.odyssey-startup-showcase {
  display: grid;
  grid-template-columns: minmax(7.8rem, 0.72fr) minmax(0, 1.28fr);
  gap: 0.65rem;
  align-items: stretch;
}

.odyssey-startup-tabs {
  display: grid;
  gap: 0.4rem;
}

.odyssey-startup-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.42rem;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.44rem 0.5rem;
  border-radius: 13px;
  text-align: left;
}

.odyssey-startup-choice span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 212, 107, 0.14);
  color: #ffd46b;
  font-size: 0.62rem;
}

.odyssey-startup-choice strong,
.odyssey-startup-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odyssey-startup-choice strong {
  color: inherit;
  font-size: 0.74rem;
  line-height: 1;
}

.odyssey-startup-choice small {
  color: rgba(230, 237, 231, 0.62);
  font-size: 0.58rem;
}

.odyssey-startup-choice.is-active,
.odyssey-startup-choice:hover,
.odyssey-startup-choice:focus-visible,
.odyssey-mini-controls button:hover,
.odyssey-mini-controls button:focus-visible {
  border-color: rgba(255, 212, 107, 0.36);
  background: rgba(255, 212, 107, 0.15);
  color: #ffd46b;
  outline: none;
}

.odyssey-startup-card {
  display: grid;
  gap: 0.22rem;
  min-height: 0;
  padding: 0.35rem 0 0.5rem;
  border: 1px solid rgba(255, 221, 157, 0.12);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 216, 129, 0.16), rgba(255, 216, 129, 0.02)),
    linear-gradient(180deg, #173451, #10263b 100%);
}

.odyssey-startup-spotlight {
  align-content: start;
  min-height: 100%;
  padding: 0.85rem;
  border-radius: 16px;
}

.odyssey-startup-spotlight > div {
  display: grid;
  gap: 0.08rem;
}

.odyssey-startup-card p {
  max-width: 18ch;
  font-size: 0.8rem;
  line-height: 1.34;
}

.odyssey-startup-card strong,
.odyssey-startup-card p {
  color: #f4efe4;
}

.odyssey-footer .window-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.odyssey-footer .window-link:hover,
.odyssey-footer .window-link:focus-visible {
  transform: none;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.odyssey-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding-top: 0.2rem;
}

/* Membership (3 columns) */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 22px;
}
.plan-card {
  background: #fffdf2;
  border: 2px solid rgba(22, 32, 29, 0.2);
  border-radius: 10px;
  min-height: 420px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 7px;
}
.plan-card--featured { border-color: var(--tulip-red); }
.plan-card .chip { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--c95-title2); letter-spacing: 0.1em; }
.plan-card--featured .chip { color: var(--tulip-red); }
.plan-card .name { font-family: var(--f-display); font-size: 28px; font-weight: 700; line-height: 1; }
.plan-card .duration { font-family: var(--f-mono); font-size: 12px; color: #6a6a6a; }
.plan-card .price { font-family: var(--f-display); font-size: 36px; font-weight: 700; line-height: 1; margin-top: 4px; }
.plan-card--featured .price { color: var(--tulip-red); }
.plan-card .per { font-family: var(--f-mono); font-size: 12px; color: var(--c95-title2); }
.plan-card .sep { height: 1px; background: rgba(22, 32, 29, 0.15); margin: 6px 0; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 8px; }
.plan-card li { font-family: var(--f-mono); font-size: 11px; padding: 2px 0; }
.plan-card li::before { content: '■ '; color: var(--tulip-red); }
.plan-card .fit { font-family: var(--f-mono); font-size: 11px; line-height: 1.48; color: #4f5752; margin: 6px 0 8px; }
.plan-card .w95-btn {
  align-self: stretch;
  margin-top: auto;
  text-align: center;
  background: #fffdf2;
  border: 2px solid rgba(22, 32, 29, 0.35);
  border-radius: 8px;
  box-shadow: none;
  padding: 10px 14px;
  font-size: 14px;
  transition: background 120ms ease, border-color 120ms ease;
}
.plan-card .w95-btn:hover,
.plan-card .w95-btn:focus-visible {
  background: #fff6db;
  border-color: var(--tulip-red);
}
.plan-card--featured .w95-btn {
  background: var(--tulip-red);
  color: #fff;
  border-color: var(--tulip-red);
}
.plan-card--featured .w95-btn:hover,
.plan-card--featured .w95-btn:focus-visible {
  background: var(--tulip-red-hi);
  border-color: var(--tulip-red-hi);
}
.member-contact,
.member-note {
  font-family: var(--f-mono);
}
.member-note {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.65;
  color: #4f5752;
}
.member-perk-flow {
  width: calc(100% + 36px);
  margin: 0 -18px 16px;
  padding: 8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.member-perk-track {
  display: flex;
  width: max-content;
  animation: member-perk-flow 18s linear infinite;
  will-change: transform;
}
.member-perk-flow:hover .member-perk-track {
  animation-play-state: paused;
}
.member-perk-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.member-perk {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #24342b;
  white-space: nowrap;
}
.member-perk::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  color: var(--tulip-red);
  background: currentColor;
}
@keyframes member-perk-flow {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .member-perk-flow {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .member-perk-track {
    width: auto;
    animation: none;
  }
  .member-perk-group {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-right: 0;
  }
  .member-perk-group + .member-perk-group {
    display: none;
  }
}
.member-contact {
  font-size: 11px;
  font-weight: 700;
  color: var(--c95-title2);
}
.member-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(22, 32, 29, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.member-contact a {
  color: var(--tulip-red);
  text-decoration: none;
}
.member-contact a:hover,
.member-contact a:focus-visible {
  text-decoration: underline;
}
.member-note {
  font-size: 10px;
}

/* Resources (File Explorer) */
.app-resources .window-body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(35, 71, 136, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f2e6 0%, #efe7d7 100%);
}

.app-resources .explorer-address {
  display: none;
}

.explorer-address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 253, 242, 0.92);
  border-bottom: 2px solid rgba(22, 32, 29, 0.18);
  padding: 10px 12px;
  font-size: 12px;
}

.explorer-address b {
  font-weight: 700;
}

.explorer-dropdown {
  flex: 1;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(22, 32, 29, 0.18);
  border-radius: 7px;
  padding: 6px 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #27487c;
  font-family: var(--f-mono);
}

.explorer-path {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer-path-meta {
  padding: 6px 10px;
  border: 1px solid rgba(22, 32, 29, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #516053;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.explorer-nav {
  display: flex;
  gap: 6px;
}

.explorer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid rgba(35, 71, 136, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f8ff, #dfeaf9);
  color: #234788;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.explorer-nav a:hover,
.explorer-nav a:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.app-resources .explorer-nav button {
  display: none;
}

.explorer-canvas {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.resources-shell {
  display: grid;
  gap: 0;
  min-height: 100%;
  align-content: start;
}

.resources-stat-row,
.resources-notes {
  display: none !important;
}

.resources-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.resource-stat {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.resource-stat strong {
  font-family: var(--f-mono);
  font-size: 1.05rem;
  color: #fff5d0;
}

.resource-stat span {
  color: rgba(248, 242, 230, 0.72);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resources-verticals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border: 2px solid rgba(22, 32, 29, 0.16);
  border-radius: 14px;
  background: #fffdf5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-card-icon {
  position: relative;
  width: 44px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: #ecd680;
  box-shadow: inset 0 1px 0 #fff2bb, inset 0 -1px 0 #b69a49;
}

.resource-card-icon::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 42%;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: inherit;
}

.resource-card-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 32, 29, 0.18);
  background: #f3eee3;
  color: #234788;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card-copy {
  display: grid;
  gap: 6px;
}

.resource-card-copy h4 {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 1.08rem;
  line-height: 1.1;
}

.resource-card-copy p {
  margin: 0;
}

.resource-card-subcopy {
  color: #234788;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.resource-card-stat {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2ebda;
}

.resource-card-stat strong {
  font-family: var(--f-mono);
  font-size: 0.98rem;
}

.resource-card-stat span {
  color: #61584c;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-chip {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2f8;
  color: #27487c;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.resource-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(35, 71, 136, 0.26);
  border-radius: 999px;
  background: linear-gradient(180deg, #f2f7ff, #e1ebfa);
  color: #234788;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.resources-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 2px solid rgba(22, 32, 29, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 245, 0.88);
}

.resource-panel-kicker {
  margin: 0;
  color: #6a7383;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-panel h4 {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.96rem;
  line-height: 1.15;
}

.resource-panel p {
  margin: 0;
}

.resource-mini-list {
  display: grid;
  gap: 8px;
}

.resource-mini-list span {
  padding: 9px 10px;
  border-radius: 10px;
  background: #f3eee3;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  line-height: 1.35;
}

[data-resource-theme="vault"] {
  background: linear-gradient(180deg, #fffdf6 0%, #f7f0df 100%);
}

[data-resource-theme="vault"] .resource-card-pill,
[data-resource-theme="vault"] .resource-card-stat {
  background: #efe3c1;
}

[data-resource-theme="toolbox"] {
  background: linear-gradient(180deg, #fbfff8 0%, #eaf4e5 100%);
}

[data-resource-theme="toolbox"] .resource-card-pill,
[data-resource-theme="toolbox"] .resource-card-stat {
  background: #dcebd3;
}

[data-resource-theme="toolbox"] .resource-card-icon {
  background: #d5c57f;
}

[data-resource-theme="ecosystem"] {
  background: linear-gradient(180deg, #f9fcff 0%, #e8f0f8 100%);
}

[data-resource-theme="ecosystem"] .resource-card-pill,
[data-resource-theme="ecosystem"] .resource-card-stat {
  background: #dce8f4;
}

[data-resource-theme="ecosystem"] .resource-card-icon {
  background: #decf8f;
}

.explorer-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 253, 242, 0.92);
  border-top: 2px solid rgba(22, 32, 29, 0.16);
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink);
}

.app-resources .explorer-status span:first-child {
  display: none;
}

.explorer-status span {
  padding: 4px 10px;
  border: 1px solid rgba(22, 32, 29, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .resources-verticals,
  .resources-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .resources-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explorer-address {
    align-items: stretch;
  }

  .explorer-dropdown {
    min-width: 0;
  }
}

/* Contact */
.app-contact .window-body {
  background: #0b1016;
  padding: clamp(10px, 1.35vw, 14px);
  overflow: hidden;
}

.contact-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(0.55rem, 1.1vw, 0.85rem);
  min-height: 0;
  height: 100%;
  color: var(--paper);
}

.contact-intro {
  display: grid;
  gap: 0.35rem;
}

.contact-intro h3,
.contact-intro p {
  margin: 0;
}

.contact-intro h3 {
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  line-height: 1.05;
}

.contact-intro p:not(.contact-kicker) {
  max-width: 92ch;
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  line-height: 1.45;
}

.contact-kicker {
  margin: 0;
  color: #9ba79d;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.78fr);
  gap: clamp(0.6rem, 1.1vw, 0.9rem);
  align-items: stretch;
  min-height: 0;
}

.contact-terminal {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.45rem;
  min-height: 0;
  padding: 0.75rem;
  border: 2px solid rgba(63, 94, 181, 0.4);
  border-radius: 10px;
  background:
    radial-gradient(circle at top right, rgba(88, 120, 210, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 20%),
    #090d12;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 12px 24px rgba(7, 18, 14, 0.18);
  color: var(--paper);
}

.contact-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 22px);
  opacity: 0.42;
  pointer-events: none;
}

.contact-terminal > * {
  position: relative;
  z-index: 1;
}

.contact-terminal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.1rem 0 0.45rem;
  border-bottom: 1px solid rgba(115, 140, 220, 0.22);
  color: rgba(214, 223, 255, 0.76);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-tty-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 0.15rem 0 0.25rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  line-height: 1.38;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 142, 224, 0.3) transparent;
}

.contact-tty-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  color: rgba(214, 223, 255, 0.86);
}

.contact-tty-sigil {
  color: rgba(110, 142, 224, 0.65);
  flex-shrink: 0;
}

.contact-tty-sigil-prompt {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.contact-tty-hist-value {
  color: #edf2ff;
}

.contact-tty-check {
  color: var(--crt-green);
  flex-shrink: 0;
}

.contact-tty-line--sys { color: rgba(214, 223, 255, 0.72); }
.contact-tty-line--pending { color: var(--amber); }
.contact-tty-line--success { color: var(--crt-green); }
.contact-tty-line--error { color: #ff8f8b; }
.contact-tty-line--muted { color: rgba(214, 223, 255, 0.42); font-size: 0.72rem; }

.contact-tty-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.contact-tty-input-row--textarea {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
}

.contact-tty-field {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #edf2ff;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  outline: none;
  caret-color: rgba(200, 215, 255, 0.9);
}

.contact-tty-field::placeholder {
  color: rgba(178, 190, 229, 0.38);
}

.contact-tty-field:focus {
  border: none;
  box-shadow: none;
}

.contact-tty-textarea {
  flex: none;
  width: 100%;
  min-height: 58px;
  resize: none;
  padding-left: 1.1rem;
}

@keyframes tty-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.contact-tty-field--error {
  animation: tty-shake 0.35s ease;
  color: #ff8f8b;
}

.contact-tty-transmit,
.contact-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(110, 142, 224, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(110, 142, 224, 0.14), rgba(47, 77, 156, 0.08)),
    #0c1118;
  color: #eff4ff;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: var(--cur-hand);
}

.contact-tty-transmit:hover,
.contact-tty-transmit:focus-visible,
.contact-link-btn:hover,
.contact-link-btn:focus-visible {
  border-color: rgba(110, 142, 224, 0.72);
  box-shadow: 0 0 0 3px rgba(110, 142, 224, 0.12);
  outline: none;
  text-decoration: none;
}

.contact-tty-transmit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-tty-retry {
  background: none;
  border: none;
  color: rgba(110, 142, 224, 0.9);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  cursor: var(--cur-hand);
  text-decoration: underline;
  padding: 0;
}

.contact-tty-retry:hover {
  color: #eff4ff;
}

.contact-side {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 0;
}

.contact-note {
  display: grid;
  gap: 0.28rem;
  padding: 0.65rem;
  border: 2px solid rgba(22, 32, 29, 0.2);
  border-radius: 10px;
  background: #fffdf2;
  color: var(--ink);
}

.contact-note strong {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.contact-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-links {
  display: grid;
  gap: 0.35rem;
}

.contact-links .contact-link-btn {
  width: 100%;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Bloom */
.app-bloom .window-body { padding: 0; background: #f3eee3; overflow: auto; display: block; }
.bloom-toolbar { display: flex; gap: 4px; padding: 4px 6px; background: var(--c95-face); border-bottom: 1px solid var(--c95-shd); }
.bloom-toolbar button {
  padding: 4px 10px; background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--c95-hi), inset -1px -1px 0 var(--c95-shd);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
}
.bloom-toolbar button:active { box-shadow: inset -1px -1px 0 var(--c95-hi), inset 1px 1px 0 var(--c95-shd); }
.bloom-live { margin-left: auto; color: var(--tulip-red); font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
.bloom-live::before { content: '●'; margin-right: 4px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
/* Events archive */
.app-events .window-body,
.app-past-events .window-body {
  padding: 20px;
  overflow: auto;
  background: #f3eee3;
}
.events-empty {
  min-height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: center;
}
.events-hero {
  justify-self: stretch;
}
.events-hero-heading {
  position: relative;
  display: block;
  margin: 0;
  border-bottom: 0;
}
.events-hero-heading h3 {
  padding-right: 200px;
}
.events-hero-heading .events-past-button {
  position: absolute;
  top: -6px;
  right: 0;
  margin-top: 0;
}
.events-luma-viewport {
  --events-luma-scale: 0.76;
  justify-self: stretch;
  width: 100%;
  height: clamp(470px, 64vh, 590px);
  overflow: hidden;
  border: 1px solid #bfcbda88;
  border-radius: 4px;
  background: #f3eee3;
}
.events-luma-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f3eee3;
}

@media (min-width: 721px) {
  .events-luma-frame {
    width: calc(100% / var(--events-luma-scale));
    height: calc(100% / var(--events-luma-scale));
    transform: scale(var(--events-luma-scale));
    transform-origin: top left;
  }
}

@media (max-width: 720px) {
  .events-luma-viewport {
    height: 520px;
  }
  .events-hero-heading {
    display: grid;
    gap: 0;
  }
  .events-hero-heading h3 {
    padding-right: 0;
  }
  .events-hero-heading .events-past-button {
    position: static;
    justify-self: start;
    margin: -2px 0 12px;
  }
  .events-archive-title-row {
    grid-template-columns: 1fr;
  }
  .events-back-button {
    justify-self: start;
  }
}
.events-past-button {
  min-width: 180px;
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid #16201d;
  border-right-color: rgba(22, 32, 29, 0.45);
  border-bottom-color: rgba(22, 32, 29, 0.45);
  border-radius: 0;
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: var(--cur-hand);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.72),
    inset -1px -1px 0 rgba(22, 32, 29, 0.18);
}
.events-past-button:hover,
.events-past-button:focus-visible {
  background: #fff4bf;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.events-past-button:active {
  box-shadow:
    inset 2px 2px 0 rgba(0, 0, 0, 0.2),
    inset -1px -1px 0 rgba(255, 255, 255, 0.24);
}
.events-archive {
  display: grid;
  gap: 14px;
}
.events-archive-head {
  display: grid;
  gap: 6px;
}
.events-archive-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.events-archive-head h3,
.events-archive-head p {
  margin: 0;
}
.events-back-button {
  min-height: 30px;
  padding: 6px 10px;
  border: 2px solid #16201d;
  border-right-color: rgba(22, 32, 29, 0.45);
  border-bottom-color: rgba(22, 32, 29, 0.45);
  border-radius: 0;
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: var(--cur-hand);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.72),
    inset -1px -1px 0 rgba(22, 32, 29, 0.18);
}
.events-back-button:hover,
.events-back-button:focus-visible {
  background: #fff4bf;
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.events-filter-button {
  min-height: 30px;
  padding: 6px 10px;
  border: 2px solid #16201d;
  border-right-color: rgba(22, 32, 29, 0.45);
  border-bottom-color: rgba(22, 32, 29, 0.45);
  border-radius: 0;
  background: #fffdf2;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: var(--cur-hand);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.72),
    inset -1px -1px 0 rgba(22, 32, 29, 0.18);
}
.events-filter-button:hover,
.events-filter-button:focus-visible {
  background: #fff4bf;
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.events-filter-button.is-active {
  background: var(--blue);
  color: var(--cream);
  border-color: #081935;
  box-shadow:
    inset 2px 2px 0 rgba(0, 0, 0, 0.2),
    inset -1px -1px 0 rgba(255, 255, 255, 0.24);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.event-card[hidden] {
  display: none;
}
.event-card {
  display: block;
  width: 100%;
  min-height: 396px;
  perspective: 1400px;
  appearance: none;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: var(--cur-hand);
  transition: transform 0.14s ease;
}
.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.event-card-inner {
  display: grid;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 396px;
  transform-style: preserve-3d;
  transition: transform 0.68s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.event-card.is-flipped .event-card-inner {
  transform: rotateY(180deg);
}
.event-card-face {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(22, 32, 29, 0.2);
  border-radius: 10px;
  background: #fffdf2;
  box-shadow: 0 10px 18px rgba(22, 32, 29, 0.08);
  backface-visibility: hidden;
}
.event-card-front {
  background: #fffdf2;
}
.event-card-back {
  justify-content: stretch;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 130, 0.26), transparent 34%),
    linear-gradient(180deg, #fff8e7 0%, #f4eddc 100%);
  transform: rotateY(180deg);
}
.event-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-bottom: 2px solid rgba(22, 32, 29, 0.2);
  background: #d7d3c9;
}
.event-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 14px 40px;
}
.event-card-copy strong,
.event-card-back-copy strong,
.event-card-date,
.event-card-teaser,
.event-card-summary,
.event-card-kicker,
.event-card-hint {
  margin: 0;
  display: block;
}
.event-card-date,
.event-card-kicker {
  color: #5d675d;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}
.event-card-teaser {
  max-width: 100%;
  color: var(--ink);
  display: -webkit-box;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.event-card-hint {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: #7c4f0d;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-card-back-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding-bottom: 36px;
}
.event-card-back-copy strong {
  font-size: 1.18rem;
  line-height: 1.18;
}
.event-card-summary {
  color: var(--ink);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .event-card,
  .event-card-inner {
    min-height: 350px;
  }
}

/* Atlas (trips) */
.app-trips .window-body {
  padding: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #081935;
  overscroll-behavior: contain;
}
.app-trips.is-trip-overlay-open .window-body {
  overflow: hidden;
}
.atlas-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 100%;
  background: linear-gradient(180deg, #08152d, #0c1f41 100%);
}
.atlas-map-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  min-height: 100%;
  padding-bottom: 22px;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, #0a1d3f, #081935 100%);
}
.atlas-map-panel::after {
  content: "";
  display: block;
  height: 22px;
}
.atlas-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px 12px;
}
.atlas-city-card {
  min-height: 118px;
  padding: 13px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(9, 26, 59, 0.82), rgba(7, 19, 41, 0.92));
  color: #f7f1e6;
  text-align: left;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: var(--cur-hand);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease;
}
.atlas-city-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.atlas-city-card-city {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
.atlas-city-card-date {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 241, 230, 0.78);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.atlas-city-card-route {
  display: block;
  margin-top: 8px;
  color: #f3df8a;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.atlas-city-card-copy {
  display: block;
  margin-top: 8px;
  color: rgba(247, 241, 230, 0.8);
  font-size: 11.5px;
  line-height: 1.45;
}
.atlas-city-card:hover,
.atlas-city-card:focus-visible,
.atlas-city-card.is-active {
  border-color: rgba(255, 214, 117, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 214, 117, 0.18), rgba(255, 214, 117, 0.06)),
    linear-gradient(180deg, rgba(9, 26, 59, 0.88), rgba(7, 19, 41, 0.98));
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.atlas-city-card:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 1px;
}
.atlas-map {
  --atlas-map-toolbar-space: 66px;
  position: relative;
  min-height: clamp(300px, calc(56vh - 22px), 498px);
  display: grid;
  align-items: center;
  margin: 14px 18px 22px;
  padding: 0 0 46px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.atlas-map-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 710 / 364;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  padding: 2px;
  border: 1px solid rgba(90, 156, 235, 0.96);
  border-radius: 18px;
  background: rgba(90, 156, 235, 0.96);
  box-shadow: none;
}
.atlas-map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border: 3px solid rgba(111, 185, 255, 0.98);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(2, 18, 48, 0.78),
    0 0 0 1px rgba(2, 18, 48, 0.35);
}
.atlas-map-stage {
  position: absolute;
  inset: 2px;
  --atlas-map-scale: 1;
  overflow: hidden;
  border-radius: 15px;
  background: #061d50;
  transform: scale(var(--atlas-map-scale));
  transform-origin: 54% 40%;
  transition: transform 0.16s ease;
}
.atlas-map-legend {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 21, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 241, 230, 0.92);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(3px);
}
.atlas-map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff9279;
  box-shadow:
    0 0 0 2px rgba(255, 146, 121, 0.24),
    0 0 10px rgba(255, 101, 78, 0.92),
    0 0 18px rgba(255, 101, 78, 0.58);
}
.atlas-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: pixelated;
}
.atlas-pin {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: var(--cur-hand);
  transform: translate(-10px, -26px);
}
.atlas-pin:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.atlas-pin-head {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  background:
    radial-gradient(circle at 34% 30%, #ffd3bc 0 20%, transparent 21%),
    linear-gradient(180deg, #ffb59d 0%, #ef6550 48%, #cc3a24 100%);
  border: 1px solid rgba(122, 35, 22, 0.92);
  border-radius: 50% 50% 50% 0;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: rotate(-45deg);
  transition: filter 0.12s ease, transform 0.12s ease;
}
.atlas-pin:hover .atlas-pin-head,
.atlas-pin.is-active .atlas-pin-head {
  filter: drop-shadow(0 0 3px rgba(255, 220, 120, 0.72));
  transform: rotate(-45deg) scale(1.06);
}
.atlas-shell.is-awaiting-selection .atlas-pin-head {
  animation: atlas-pin-pulse 1.7s ease-in-out infinite;
}
.atlas-shell.is-awaiting-selection .atlas-pin:nth-of-type(2) .atlas-pin-head {
  animation-delay: 0.28s;
}
.atlas-pin-center {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 247, 236, 0.96);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.atlas-pin-tip {
  position: absolute;
  left: 8px;
  top: 15px;
  width: 3px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(120, 93, 74, 0.82), rgba(78, 55, 39, 0.92));
  box-shadow: 0 0 0 1px rgba(22, 32, 29, 0.12);
  transform: rotate(45deg);
}
.atlas-pin-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  z-index: 5;
  padding: 4px 10px 3px;
  border-radius: 8px;
  background: #fff4bf;
  border: 1px solid rgba(152, 126, 57, 0.72);
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.36);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  color: #1b1b1b;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  visibility: hidden;
}
.atlas-pin:hover .atlas-pin-label,
.atlas-pin:focus-visible .atlas-pin-label {
  background: #ffe9a2;
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}
.atlas-trip-overlay[hidden] {
  display: none !important;
}
.atlas-trip-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
}
.atlas-trip-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.62);
  backdrop-filter: blur(4px);
  cursor: var(--cur-hand);
}
.atlas-trip-overlay-card {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  max-height: calc(100% - 20px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 24px 28px 26px;
  margin: 0 auto;
  display: grid;
  align-content: start;
  gap: 22px;
  border-radius: 22px;
  border: 1px solid rgba(17, 26, 23, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, #f3ecdd, #eadfc7 100%);
  box-shadow: 0 24px 48px rgba(4, 10, 22, 0.55);
}
.atlas-trip-overlay-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 26, 23, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: var(--cur-hand);
}
.atlas-trip-overlay-close:hover,
.atlas-trip-overlay-close:focus-visible {
  background: #fff;
  outline: none;
}
.atlas-detail-head {
  display: grid;
  gap: 14px;
  padding: 0 42px 20px 0;
  border-bottom: 1px solid rgba(17, 26, 23, 0.12);
}
.atlas-detail-kicker,
.atlas-detail-section-label {
  margin: 0;
  color: var(--c95-title1);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.atlas-detail-head h3 {
  margin: 10px 0 0;
  color: #16201d;
  font-size: 24px;
  line-height: 1;
}
.window-body .atlas-detail-tagline {
  margin: 22px 0 0;
  max-width: 56ch;
  color: #3d4a4d;
  font-size: 11px;
  line-height: 1.35;
}
.atlas-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.atlas-detail-meta span {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(17, 26, 23, 0.18);
  background: rgba(255, 253, 242, 0.72);
  color: #344448;
  font-size: 9px;
  line-height: 1.2;
}
.atlas-detail-hero {
  min-height: 0;
  border: 1px solid rgba(17, 26, 23, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.24), transparent 14rem),
    linear-gradient(180deg, #d8c9ac, #cbb896 100%);
  display: grid;
  align-content: start;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.atlas-detail-hero-copy {
  display: none;
  gap: 3px;
  padding: 8px 12px;
  justify-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 27, 58, 0.06), rgba(12, 27, 58, 0));
}
.atlas-detail-hero.has-image .atlas-detail-hero-copy {
  justify-items: start;
  text-align: left;
}
.atlas-detail-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(54vh, 520px);
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid rgba(17, 26, 23, 0.18);
  background: #d7d3c9;
}
.atlas-detail-hero-image[hidden] {
  display: none !important;
}
.atlas-detail-hero strong {
  font-size: 16px;
}
.atlas-detail-hero p {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: #4b5b5d;
}
.atlas-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.atlas-detail-stat {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 26, 23, 0.16);
  background: rgba(255, 255, 255, 0.78);
}
.atlas-detail-stat strong {
  display: block;
  font-size: 19px;
  line-height: 1;
}
.atlas-detail-stat span {
  display: block;
  margin-top: 5px;
  color: #566365;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.atlas-detail-section {
  padding: 9px;
  border: 1px solid rgba(17, 26, 23, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}
.atlas-detail-richtext {
  display: grid;
  gap: 8px;
}
.atlas-detail-richtext p {
  margin: 0;
  color: #23343c;
  font-size: 14px;
  line-height: 1.68;
}
.atlas-detail-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.atlas-detail-list li {
  margin: 0;
  color: #23343c;
  font-size: 14px;
  line-height: 1.62;
}
.atlas-trip-calendar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.atlas-trip-day {
  display: grid;
  grid-template-columns: 54px repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(17, 26, 23, 0.14);
  border-radius: 12px;
  background: rgba(255, 253, 242, 0.7);
}
.window-body .atlas-trip-day h4 {
  margin: 0;
  color: var(--c95-title1);
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.atlas-trip-slot {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-left: 3px solid rgba(42, 108, 160, 0.62);
  border-radius: 8px;
  background: #fffdf2;
}
.atlas-trip-slot time {
  color: #657172;
  font-size: 9px;
  font-weight: 700;
}
.atlas-trip-slot strong {
  color: #23343c;
  font-size: 10px;
  line-height: 1.25;
}
.atlas-trip-slot span {
  color: #4d5b5d;
  font-size: 9px;
  line-height: 1.24;
}
.atlas-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #143979, #0e2756);
  border: 1px solid rgba(8, 18, 40, 0.22);
  box-shadow: 0 8px 16px rgba(14, 39, 86, 0.22);
  color: #fff4d3;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.atlas-detail-link:hover,
.atlas-detail-link:focus-visible {
  background: linear-gradient(180deg, #1a438c, #123166);
}
.atlas-detail-link[hidden] {
  display: none !important;
}
.atlas-detail-stats[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .atlas-city-grid {
    grid-template-columns: 1fr;
  }
  .atlas-map {
    min-height: 320px;
    --atlas-map-toolbar-space: 54px;
  }
  .atlas-detail-head {
    flex-direction: column;
  }
  .atlas-trip-overlay-card {
    width: min(100%, 700px);
    padding: 22px;
  }
  .atlas-trip-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 901px) {
  .atlas-trip-overlay-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .atlas-detail-head,
  .atlas-detail-stats {
    grid-column: auto;
  }
  .atlas-detail-hero {
    grid-column: auto;
    align-self: start;
  }
  .atlas-detail-hero-image {
    max-height: min(54vh, 520px);
  }
  .atlas-detail-section {
    grid-column: auto;
    align-self: start;
  }
  .atlas-trip-calendar {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .atlas-trip-day {
    grid-template-columns: 54px repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }
  .atlas-trip-slot {
    padding: 6px;
  }
  .atlas-trip-slot span {
    font-size: 9px;
    line-height: 1.24;
  }
}
@media (max-width: 560px) {
  .atlas-trip-overlay-card {
    width: 100%;
    padding: 18px;
    border-radius: 18px;
  }
  .atlas-detail-stats {
    grid-template-columns: 1fr;
  }
  .atlas-trip-calendar {
    grid-template-columns: 1fr;
  }
}

@keyframes atlas-pin-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 200, 90, 0));
    transform: rotate(-45deg) scale(1);
  }
  55% {
    filter: drop-shadow(0 0 6px rgba(255, 214, 117, 0.98));
    transform: rotate(-45deg) scale(1.12);
  }
}

/* Snake / Pong */
.app-snake .window-body, .app-pong .window-body { padding: 0; display: flex; align-items: stretch; justify-content: stretch; background: #101416; }
.arcade-shell {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 12px;
  padding: 12px;
  color: var(--paper);
}
.arcade-main {
  min-width: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
}
.arcade-scorebar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--paper);
}
.arcade-scorebar strong {
  color: #f3df8a;
}
.arcade-status,
.arcade-controls {
  width: 100%;
  margin: 0;
  font-family: var(--f-mono);
  text-align: center;
}
.arcade-status {
  min-height: 34px;
  font-size: 11px;
  line-height: 1.4;
}
.arcade-status[data-tone="accent"] { color: #f3df8a; }
.arcade-status[data-tone="success"] { color: #8ff0a4; }
.arcade-status[data-tone="danger"] { color: #ff9c9c; }
.arcade-status[data-tone="muted"] { color: rgba(244, 240, 230, 0.78); }
.arcade-controls {
  font-size: 10px;
  color: rgba(244, 240, 230, 0.6);
}
.arcade-board {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.arcade-board-head h4,
.arcade-board-head p {
  margin: 0;
}
.arcade-board-head h4 {
  font-family: var(--f-mono);
  font-size: 13px;
  color: #fff3cd;
}
.arcade-board-head p {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(244, 240, 230, 0.62);
}
.arcade-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.arcade-entry,
.arcade-empty {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--f-mono);
}
.arcade-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.arcade-entry-rank {
  color: #f3df8a;
  font-size: 10px;
}
.arcade-entry-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.arcade-entry-copy strong,
.arcade-entry-copy span,
.arcade-empty {
  font-size: 10px;
  line-height: 1.35;
}
.arcade-entry-copy span,
.arcade-empty {
  color: rgba(244, 240, 230, 0.75);
}
.arcade-submit {
  display: grid;
  gap: 8px;
}
.arcade-submit-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(244, 240, 230, 0.75);
}
.arcade-name-input {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 2px inset #808080;
  background: #f3eee3;
  color: #111;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.arcade-save-btn {
  min-height: 34px;
  border: 2px outset #808080;
  background: #d7d2c8;
  color: #111;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: var(--cur-hand);
}
.arcade-save-btn:hover,
.arcade-save-btn:focus-visible {
  background: #ece8de;
}
.snake-canvas, .pong-canvas {
  display: block;
  background: #d7d2c8;
  border: 2px inset #808080;
  max-width: 100%;
  image-rendering: pixelated;
}
.pong-canvas { background: #000; }
@media (max-width: 760px) {
  .arcade-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Media Player (tape playback) */
.app-recaps .window-body {
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(95, 211, 164, 0.16), transparent 22rem),
    radial-gradient(circle at bottom right, rgba(82, 98, 216, 0.22), transparent 24rem),
    linear-gradient(160deg, #081420 0%, #10253a 48%, #0b1826 100%);
  color: #f4f0e6;
}
.recaps-shell {
  display: grid;
  gap: 20px;
  padding: 22px;
}
.recaps-head {
  display: grid;
  gap: 6px;
}
.recaps-kicker {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.72);
}
.recaps-head h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 0.95;
  color: #fff;
}
.recaps-head p {
  margin: 0;
  max-width: 46ch;
  font-family: var(--f-body);
  color: rgba(244, 240, 230, 0.82);
}
.recaps-grid {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.recap-card {
  display: grid;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}
.recap-floppy-disk {
  width: 100%;
  --tape-height: clamp(56px, 7vw, 64px);
  pointer-events: none;
  cursor: inherit;
  touch-action: auto;
}
.recap-floppy-disk .floppy-brand {
  font-size: clamp(7px, 0.7vw, 9px);
}
.recap-floppy-disk .floppy-file {
  font-size: clamp(13px, 1.35vw, 16px);
}
.recap-card-meta {
  padding-left: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(244, 240, 230, 0.76);
}
.recap-card-play {
  padding-left: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.recap-card:hover,
.recap-card:focus-visible {
  transform: none;
  box-shadow: none;
}
.recap-card:hover .recap-floppy-disk,
.recap-card:focus-visible .recap-floppy-disk {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}
.recap-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
  border-radius: 10px;
}
.app-mediaplayer .window-body { padding: 0; background: var(--c95-face); display: flex; flex-direction: column; }
.mp-viewport {
  background: #000;
  aspect-ratio: 16 / 9;
  margin: 8px;
  border: 2px inset #808080;
  position: relative;
  overflow: hidden;
}
.mp-viewport::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0.2) 0 1px, transparent 1px 3px);
  pointer-events: none; z-index: 2;
}
.mp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.mp-frame-flower {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #8bd46a;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  gap: 8px;
}
.mp-frame-flower .tulip-flower { --flower-size: 140px; }
.mp-frame-flower p { color: #fff; font-size: 14px; letter-spacing: 0.1em; }
.mp-rec-dot {
  position: absolute; top: 8px; left: 10px;
  width: 10px; height: 10px; border-radius: 50%; background: #ff2222;
  box-shadow: 0 0 8px #ff2222;
  animation: blink 1.4s infinite;
}
.mp-rec-lbl { position: absolute; top: 7px; left: 26px; color: #ff2222; font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
.mp-timecode { position: absolute; top: 7px; right: 10px; color: #8bd46a; font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
.mp-transport { display: flex; gap: 4px; padding: 8px; align-items: center; border-top: 1px solid var(--c95-shd); }
.mp-transport button {
  padding: 6px 10px;
  background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--c95-hi), inset -1px -1px 0 var(--c95-shd);
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: #2a6ca0;
  min-width: 40px;
}
.mp-transport button:active {
  box-shadow: inset -1px -1px 0 var(--c95-hi), inset 1px 1px 0 var(--c95-shd);
}
.mp-scrub {
  flex: 1;
  height: 14px;
  background: #808080;
  border: 1px inset #808080;
  margin: 0 8px;
  position: relative;
  cursor: var(--cur-hand);
}
.mp-scrub-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--c95-title1);
}
.mp-scrub-fill::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border: 1px solid #0d1d48;
  background: #d7ddf2;
  transform: translateY(-50%);
  box-shadow: inset 1px 1px 0 #fff;
}

/* =============================================================================
   FLOPPY DISKS — tapes only, positioned beside the computer
   ============================================================================= */
.tape-stack {
  position: absolute;
  /* Centered in the strip between the monitor (computer ends at 75%) and the viewport right edge */
  left: 87.5%;
  top: auto;
  bottom: 5%;
  transform: translateX(-50%);
  width: clamp(214px, 21vw, 254px);
  height: auto;
  padding: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
}
.tape-stack::after {
  content: '';
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -8px;
  height: 16px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 44%, transparent 72%);
  filter: blur(1px);
}
.tape-stack > .floppy { pointer-events: auto; }
.tape-stack > .floppy + .floppy {
  margin-top: -2px;
}

.floppy {
  --tape-height: clamp(31px, 4.6vh, 43px);
  --stripe-width: clamp(10px, 1vw, 12px);
  --floppy-stripe: #ffc857;
  --floppy-file-ink: #2a3a4d;
  --tape-shift-x: 0px;
  --tape-shift-y: 0px;
  --tape-rotate: 0deg;
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--tape-height);
  background: linear-gradient(180deg, #515c57 0%, #1d1f1f 22%, #060606 55%, #101010 100%);
  border: 1px solid #2e2b28;
  border-radius: 10px;
  box-shadow:
    0 6px 12px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -2px 0 rgba(0,0,0,0.35);
  cursor: var(--cur-grab);
  user-select: none;
  touch-action: none;
  padding: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  transform: translate(var(--tape-shift-x), var(--tape-shift-y)) rotate(var(--tape-rotate));
  transform-origin: 50% 52%;
  color: var(--ink);
  overflow: hidden;
}
.floppy:hover {
  transform: translate(calc(var(--tape-shift-x) - 5px), var(--tape-shift-y)) rotate(var(--tape-rotate));
  box-shadow: 0 10px 18px rgba(0,0,0,0.42);
  z-index: 10;
}
.floppy.is-dragging {
  cursor: var(--cur-grabbing);
  opacity: 0.55;
  transform: scale(0.98);
}
.floppy.is-inserted { visibility: hidden; }

/* Write-protect notch (top-right) */
.floppy-notch {
  position: absolute;
  left: 7px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.82);
}

/* Center hub hole with gold ring */
.floppy-hub {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -2px 3px rgba(0,0,0,0.55);
  background:
    radial-gradient(circle at 24% 50%, rgba(255,255,255,0.08), transparent 34%),
    radial-gradient(circle at 76% 50%, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(180deg, #2d2d2d 0%, #0f0f0f 100%);
}
.floppy-hub::before,
.floppy-hub::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1.5px solid #f1eee6;
  border-radius: 50%;
  background: #0f0f0f;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.85);
  box-sizing: border-box;
}
.floppy-hub::before { left: 8px; }
.floppy-hub::after { right: 8px; }

/* Read/write window strip at the bottom */
.floppy-rw {
  position: absolute;
  left: 63px;
  top: 6px;
  width: 9px;
  bottom: 6px;
  background: linear-gradient(90deg, #2e2118 0%, #c7b39b 52%, #3a291d 100%);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}

/* Paper label covering the top half */
.floppy-label {
  position: absolute;
  left: 78px;
  top: 6px;
  right: 8px;
  bottom: 6px;
  background: linear-gradient(180deg, #f6f2e8 0%, #ede6d9 100%);
  border: 1px solid rgba(106,90,62,0.45);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 8px 4px 7px;
  box-sizing: border-box;
  text-align: left;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.floppy-stripe {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--stripe-width);
  background: var(--floppy-stripe);
}
.floppy-brand {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: clamp(5px, 0.5vw, 7px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
  opacity: 0.58;
  text-transform: uppercase;
}
.floppy-file {
  flex: 1 1 auto;
  font-family: var(--f-mono);
  font-size: clamp(7px, 0.72vw, 10px);
  font-weight: 700;
  color: var(--floppy-file-ink);
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* Per-floppy stripe color */
.floppy--001 { --floppy-stripe: #ffc857; }
.floppy--002 { --floppy-stripe: #5fd3a4; }
.floppy--003 { --floppy-stripe: #5878d2; }
.floppy--004 { --floppy-stripe: #f3b640; }
.floppy--005 { --floppy-stripe: #5fd3a4; }

/* Ghost during drag */
.tape-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%) rotate(-6deg);
  transition: transform 0.06s;
  width: 188px;
  height: 46px;
  background: linear-gradient(180deg, #515c57 0%, #1d1f1f 22%, #060606 55%, #101010 100%) !important;
  border-radius: 10px;
  border: 1px solid #2e2b28;
  box-shadow: 6px 6px 16px rgba(0,0,0,0.48);
  opacity: 0.92;
}
.tape-ghost[hidden] { display: none; }

/* =============================================================================
   WIN95 TASKBAR (on screen)
   ============================================================================= */
.win95-taskbar {
  display: none !important;
}
.start-btn {
  padding: 3px 10px 3px 6px;
  background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--c95-hi), inset -1px -1px 0 var(--c95-shd);
  display: flex; align-items: center; gap: 6px;
  font-weight: 700;
}
.start-flag {
  display: inline-block; width: 16px; height: 12px;
  background:
    linear-gradient(90deg, var(--tulip-red) 0 50%, #8bc25c 50%),
    linear-gradient(0deg,  var(--c95-title2) 0 50%, var(--amber) 50%);
  background-size: 100% 50%, 100% 50%;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}
.taskbar-apps { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.taskbar-app {
  padding: 4px 10px;
  min-width: 140px;
  background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset 1px 1px 0 var(--c95-hi), inset -1px -1px 0 var(--c95-shd);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  text-align: left;
}
.taskbar-app.is-active {
  box-shadow: inset -1px -1px 0 var(--c95-hi), inset 1px 1px 0 var(--c95-shd);
  background: #a8a8a8;
}
.tray {
  padding: 3px 8px;
  background: var(--c95-face);
  border: 1px solid var(--ink);
  box-shadow: inset -1px -1px 0 var(--c95-hi), inset 1px 1px 0 var(--c95-shd);
  display: flex; gap: 6px; align-items: center;
}
.tray-led { width: 8px; height: 8px; border-radius: 50%; background: var(--crt-green); box-shadow: 0 0 4px var(--crt-green); }

/* =============================================================================
   LIGHT THEME OVERRIDES — Bloom / XLerate / Odyssey
   Flips the dark-themed program pages to the Team/Events cream style
   (blue title bar + #f3eee3 body). Content and layout unchanged.
   ============================================================================= */
.bloom-shell,
.xlerate-shell,
.odyssey-shell {
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bloom-shell::before,
.xlerate-shell::before,
.odyssey-shell::before {
  display: none;
}

.xlerate-shell p, .xlerate-shell li,
.bloom-shell p, .bloom-shell li,
.odyssey-shell p, .odyssey-shell li {
  color: var(--ink);
}

.window-body .xlerate-shell h3,
.window-body .bloom-shell h3,
.window-body .odyssey-shell h3 {
  color: var(--ink);
}

.window-body .xlerate-section-head h4,
.window-body .bloom-panel h4,
.window-body .bloom-slide h4,
.window-body .bloom-section-head h4,
.window-body .bloom-guest-reel-head h4,
.window-body .bloom-footer h4 {
  color: var(--ink);
}

.xlerate-kicker,
.xlerate-panel-kicker,
.xlerate-stat-label,
.xlerate-jury-role,
.xlerate-startup-mark,
.xlerate-startup-status,
.bloom-kicker,
.bloom-panel-kicker,
.bloom-stat-label,
.bloom-guest-meta p,
.odyssey-kicker,
.odyssey-section-tag,
.odyssey-stat-label,
.odyssey-map-kicker,
.odyssey-startup-mark {
  color: var(--c95-title1);
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-kicker {
  color: var(--xlerate-yellow-dk);
}

.bloom-shell .xlerate-kicker {
  color: var(--bloom-green);
}

.xlerate-tag,
.bloom-tag,
.odyssey-stamp {
  border: 1px solid rgba(22, 32, 29, 0.22);
  background: #fffdf2;
  color: var(--ink);
}

.xlerate-stat-card,
.xlerate-jury-card,
.xlerate-startup-card,
.bloom-stat-card,
.bloom-panel,
.bloom-deck,
.bloom-slide-rail,
.bloom-guest-reel,
.bloom-guest-card,
	.odyssey-stat-card,
	.odyssey-paper-panel,
	.odyssey-source-panel,
	.odyssey-module-card,
	.odyssey-route-detail,
	.odyssey-calendar-week,
	.odyssey-guest-card,
	.odyssey-startup-choice,
	.odyssey-startup-card {
	  border: 2px solid rgba(22, 32, 29, 0.2);
	  background: #fffdf2;
	  box-shadow: none;
	}

.odyssey-guest-card {
  border-style: dashed;
}

.odyssey-map-panel {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background: #fffdf2;
  box-shadow: none;
  align-self: start;
}

.xlerate-startup-card-featured {
  border-color: var(--xlerate-yellow);
  background: linear-gradient(180deg, rgba(217, 154, 0, 0.1), rgba(217, 154, 0, 0.025)), #fffdf2;
}

.xlerate-stat-card strong,
.xlerate-jury-card strong,
.xlerate-startup-card strong,
.bloom-stat-card strong,
.bloom-slide-metric,
.bloom-slide-tab strong,
	.odyssey-stat-card strong,
	.odyssey-module-card strong,
	.odyssey-calendar-week strong,
	.odyssey-route-week-copy strong,
	.odyssey-guest-card strong,
	.odyssey-startup-choice strong,
	.odyssey-startup-card strong,
	.odyssey-map-head strong,
.bloom-list strong,
.bloom-guest-meta strong {
  color: var(--ink);
}

.bloom-list span,
.bloom-slide-points li,
.bloom-guest-meta span,
.xlerate-section-note,
.bloom-section-head p,
.bloom-guest-card > p,
.odyssey-lead,
	.odyssey-panel-head p,
	.odyssey-source-list p,
	.odyssey-module-card p,
	.odyssey-route-summary,
	.odyssey-route-week-copy p,
	.odyssey-guest-card span,
	.odyssey-startup-card p,
.odyssey-stat-card p,
.odyssey-startup-card strong,
.odyssey-route-copy strong,
.odyssey-route-copy span,
.bloom-footnote {
  color: var(--ink);
}

.bloom-list li {
  border-top-color: rgba(22, 32, 29, 0.18);
}

.xlerate-hero-visual {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background:
    linear-gradient(180deg, #fffdf2, #ece8d9);
}

.odyssey-hero-visual {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background:
    linear-gradient(180deg, #fffdf2, #ece8d9);
}

.odyssey-hero-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(22, 32, 29, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #dde5e4, #d3d7cf 58%, #c5d0d3);
}

.odyssey-hero-placeholder span {
  border-color: rgba(22, 32, 29, 0.28);
  background: rgba(255, 253, 242, 0.88);
  color: var(--ink);
}

.odyssey-hero-photo-frame::after {
  background:
    linear-gradient(180deg, rgba(255, 253, 242, 0.02), rgba(22, 32, 29, 0.36)),
    radial-gradient(circle at 48% 20%, rgba(217, 74, 43, 0.08), transparent 38%);
}

.bloom-hero-visual {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background: #000;
}

.xlerate-hero-visual::after {
  display: none;
}

.bloom-hero-visual::before,
.bloom-hero-visual::after {
  display: none;
}

.bloom-hero-logo-bloom {
  display: block;
}

.xlerate-hero-badge {
  border: 1px solid rgba(22, 32, 29, 0.22);
  background: rgba(255, 253, 242, 0.92);
  backdrop-filter: none;
}

.xlerate-hero-badge strong {
  color: var(--ink);
}

.window-body .xlerate-section-head h4,
.window-body .xlerate-shell h3,
.xlerate-stat-card strong,
.xlerate-startup-card strong,
.xlerate-jury-card strong,
.xlerate-hero-badge strong,
.xlerate-spotlight strong,
.xlerate-jury-spotlight strong {
  font-family: var(--f-pixel);
  font-weight: 400;
  letter-spacing: 0;
}

.window-body .xlerate-shell h3 {
  font-size: 2.55rem;
  line-height: 0.92;
}

.window-body .xlerate-section-head h4 {
  font-size: 2rem;
  line-height: 0.96;
}

.xlerate-stat-card strong,
.xlerate-startup-card strong,
.xlerate-jury-card strong {
  font-size: 1.6rem;
  line-height: 0.96;
}

.xlerate-hero-badge strong {
  font-size: 1.18rem;
  line-height: 1;
}

.window-body .bloom-shell.xlerate-shell h3 {
  font-size: clamp(1.42rem, 2.15vw, 2.02rem);
  line-height: 1.02;
}

.bloom-shell .xlerate-tag-row {
  flex-wrap: nowrap;
  gap: 0.32rem;
}

.bloom-shell .xlerate-hero-copy {
  overflow: hidden;
}

.odyssey-hero-caption {
  color: var(--ink);
}

.odyssey-quote {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background: #fffdf2;
  color: var(--ink);
}

.odyssey-source-note {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(22, 32, 29, 0.14);
}

.odyssey-source-note .odyssey-source-list {
  gap: 0.38rem;
}

.odyssey-route-count {
  border-color: rgba(217, 74, 43, 0.18);
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.odyssey-calendar-months span,
.odyssey-route-hint {
  color: rgba(22, 32, 29, 0.56);
}

.odyssey-route-detail,
.odyssey-calendar-week {
  border: 2px solid rgba(22, 32, 29, 0.18);
  background: rgba(255, 253, 242, 0.86);
}

.odyssey-calendar-week-code,
.odyssey-route-week-index {
  border-color: rgba(217, 74, 43, 0.18);
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.odyssey-calendar-week-range,
.odyssey-calendar-week small {
  color: rgba(22, 32, 29, 0.58);
}

.odyssey-route-week-events {
  padding-left: 0;
}

.odyssey-route-stop {
  grid-template-columns: 3.45rem minmax(0, 1fr);
  border-top-color: rgba(22, 32, 29, 0.14);
}

.odyssey-route-stop::before {
  display: none;
}

.odyssey-route-date {
  color: var(--tulip-red);
}

.odyssey-route-copy {
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
}

.odyssey-route-nav,
.odyssey-mini-controls button,
.odyssey-startup-choice {
  border: 1px solid rgba(22, 32, 29, 0.18);
  background: #fffdf2;
  color: var(--ink);
}

.odyssey-startup-choice span,
.odyssey-guest-date {
  color: var(--tulip-red);
}

.odyssey-startup-choice span {
  background: rgba(217, 74, 43, 0.08);
}

.odyssey-startup-choice small {
  color: rgba(22, 32, 29, 0.62);
}

.odyssey-calendar-week.is-active,
.odyssey-calendar-week:hover,
.odyssey-calendar-week:focus-visible,
.odyssey-startup-choice.is-active,
.odyssey-startup-choice:hover,
.odyssey-startup-choice:focus-visible,
.odyssey-route-nav:hover,
.odyssey-route-nav:focus-visible,
.odyssey-mini-controls button:hover,
.odyssey-mini-controls button:focus-visible {
  border-color: rgba(217, 74, 43, 0.28);
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.odyssey-calendar-week.is-active small,
.odyssey-startup-choice.is-active small {
  color: var(--ink);
}

.odyssey-module-card {
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
  box-shadow: none;
}

.odyssey-startup-grid {
  gap: 0.6rem;
}

.odyssey-startup-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
}

.odyssey-startup-card {
  gap: 0.34rem;
  padding: 0.68rem 0.72rem 0.74rem;
  border: 1px solid rgba(22, 32, 29, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(217, 74, 43, 0.08), rgba(217, 74, 43, 0.01) 52%),
    #fffdf2;
}

.odyssey-startup-top {
  display: flex;
  align-items: center;
  gap: 0.46rem;
}

.odyssey-startup-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  padding: 0.14rem 0.32rem;
  border: 1px solid rgba(148, 198, 255, 0.22);
  border-radius: 999px;
}

.odyssey-startup-card strong {
  font-size: 1rem;
}

.odyssey-startup-card p {
  max-width: none;
  font-size: 0.73rem;
  line-height: 1.38;
}

.odyssey-startup-mark {
  border-color: rgba(217, 74, 43, 0.18);
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.odyssey-guest-card {
  gap: 0.22rem;
  padding: 0.72rem 0.76rem;
  border: 1px dashed rgba(22, 32, 29, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(217, 74, 43, 0.06), transparent 54%),
    #fffdf2;
}

.odyssey-guest-card strong {
  font-size: 0.8rem;
  line-height: 1.08;
}

.odyssey-guest-card span {
  font-size: 0.68rem;
  line-height: 1.24;
}

.odyssey-shell::after {
  display: none;
}

.bloom-footer {
  border: 2px solid rgba(22, 32, 29, 0.2);
  background: #fffdf2;
}

.bloom-footer .bloom-apply-link {
  background: linear-gradient(135deg, #d94a2b, #ff7a5a);
  color: #fff;
  border-color: rgba(22, 32, 29, 0.28);
}

.bloom-footer .bloom-apply-link.secondary,
.bloom-footer .bloom-apply-link:hover,
.bloom-footer .bloom-apply-link:focus-visible {
  background: linear-gradient(135deg, #c43a1d, #ff6a48);
  color: #fff;
}

.bloom-guest-index {
  background: linear-gradient(135deg, var(--tulip-red), var(--tulip-red-hi));
  color: #fff;
}

.bloom-slide-side {
  border-color: rgba(22, 32, 29, 0.16);
  background: rgba(217, 74, 43, 0.045);
}

.bloom-slide-number,
.bloom-slide-rail-head span {
  color: var(--tulip-red);
}

.bloom-slide-points li {
  border-top-color: rgba(22, 32, 29, 0.14);
}

.bloom-signal-meter span {
  background: linear-gradient(180deg, var(--tulip-red-hi), var(--tulip-red));
}

.bloom-slide-tab,
.bloom-slide-nav,
.bloom-reel-nav {
  border-color: rgba(22, 32, 29, 0.18);
  background: #fffdf2;
  color: var(--ink);
}

.bloom-slide-tab span {
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.bloom-slide-tab.is-active,
.bloom-slide-tab:hover,
.bloom-slide-tab:focus-visible,
.bloom-slide-nav:hover,
.bloom-slide-nav:focus-visible,
.bloom-reel-nav:hover,
.bloom-reel-nav:focus-visible {
  border-color: rgba(217, 74, 43, 0.32);
  background: rgba(217, 74, 43, 0.08);
  color: var(--tulip-red);
}

.bloom-slide-progress {
  background: rgba(22, 32, 29, 0.12);
}

.bloom-slide-progress span {
  background: linear-gradient(90deg, var(--tulip-red), var(--tulip-red-hi));
}

.bloom-guest-card.is-active {
  border-color: rgba(217, 74, 43, 0.28);
  background:
    linear-gradient(180deg, rgba(217, 74, 43, 0.08), rgba(217, 74, 43, 0.01) 52%),
    #fffdf2;
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-kicker,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-panel-kicker,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-stat-label,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-jury-role,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-startup-mark,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-startup-status,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-choice span,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-slide-count {
  color: var(--xlerate-yellow-dk);
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-slide-count {
  border-color: rgba(217, 154, 0, 0.26);
  background: rgba(217, 154, 0, 0.1);
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-tab.is-active {
  border-color: var(--xlerate-yellow-dk);
  background: var(--xlerate-yellow-dk);
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-choice.is-active {
  border-color: var(--xlerate-yellow);
  background:
    linear-gradient(180deg, rgba(217, 154, 0, 0.12), rgba(217, 154, 0, 0.035)),
    #fffdf2;
}

.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-slide-arrows button:hover,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-slide-arrows button:focus-visible,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-tab:hover,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-tab:focus-visible,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-choice:hover,
.xlerate-shell:not(.bloom-shell):not(.odyssey-shell) .xlerate-choice:focus-visible {
  border-color: var(--xlerate-yellow);
}

.bloom-shell .xlerate-kicker,
.bloom-shell .xlerate-panel-kicker,
.bloom-shell .xlerate-stat-label,
.bloom-shell .xlerate-jury-role,
.bloom-shell .xlerate-startup-mark,
.bloom-shell .xlerate-startup-status,
.bloom-shell .xlerate-choice span,
.bloom-shell .xlerate-slide-count,
.bloom-slide-number,
.bloom-slide-rail-head span,
.bloom-slide-tab span,
.bloom-slide-tab.is-active,
.bloom-slide-tab:hover,
.bloom-slide-tab:focus-visible,
.bloom-slide-nav:hover,
.bloom-slide-nav:focus-visible,
.bloom-reel-nav:hover,
.bloom-reel-nav:focus-visible {
  color: var(--bloom-green);
}

.bloom-shell .xlerate-tag,
.bloom-shell .xlerate-slide-count,
.bloom-shell .xlerate-tab.is-active,
.bloom-shell .xlerate-choice.is-active,
.bloom-shell .xlerate-slide-arrows button:hover,
.bloom-shell .xlerate-slide-arrows button:focus-visible,
.bloom-shell .xlerate-tab:hover,
.bloom-shell .xlerate-tab:focus-visible,
.bloom-shell .xlerate-choice:hover,
.bloom-shell .xlerate-choice:focus-visible,
.bloom-slide-tab.is-active,
.bloom-slide-tab:hover,
.bloom-slide-tab:focus-visible,
.bloom-slide-nav:hover,
.bloom-slide-nav:focus-visible,
.bloom-reel-nav:hover,
.bloom-reel-nav:focus-visible,
.bloom-guest-card.is-active {
  border-color: rgba(36, 124, 83, 0.32);
}

.bloom-shell .xlerate-tag,
.bloom-shell .xlerate-slide-count,
.bloom-shell .xlerate-choice.is-active,
.bloom-slide-side,
.bloom-slide-tab span,
.bloom-slide-tab.is-active,
.bloom-slide-tab:hover,
.bloom-slide-tab:focus-visible,
.bloom-slide-nav:hover,
.bloom-slide-nav:focus-visible,
.bloom-reel-nav:hover,
.bloom-reel-nav:focus-visible,
.bloom-guest-card.is-active {
  background:
    linear-gradient(180deg, rgba(36, 124, 83, 0.1), rgba(36, 124, 83, 0.025)),
    #fffdf2;
}

.bloom-shell .xlerate-tab.is-active,
.bloom-footer .bloom-apply-link,
.bloom-footer .bloom-apply-link.secondary,
.bloom-footer .bloom-apply-link:hover,
.bloom-footer .bloom-apply-link:focus-visible,
.bloom-apply-panel .bloom-apply-link,
.bloom-apply-panel .bloom-apply-link:hover,
.bloom-apply-panel .bloom-apply-link:focus-visible,
.bloom-guest-index {
  background: linear-gradient(135deg, var(--bloom-green), var(--bloom-green-hi));
  color: #fff;
}

.bloom-apply-panel .bloom-apply-link,
.bloom-apply-panel .bloom-apply-link:hover,
.bloom-apply-panel .bloom-apply-link:focus-visible {
  border-color: var(--bloom-green-dk);
  border-right-color: var(--bloom-green-dk);
  border-bottom-color: var(--bloom-green-dk);
}

.bloom-signal-meter span {
  background: linear-gradient(180deg, var(--bloom-green-hi), var(--bloom-green));
}

.bloom-slide-progress span {
  background: linear-gradient(90deg, var(--bloom-green), var(--bloom-green-hi));
}

/* =============================================================================
   TABLET / NARROW DESKTOP (701px–900px)
   Keeps the desktop scene composition, but compresses the right-side props and
   chrome so the original staging still fits on tablets.
   ============================================================================= */
@media (max-width: 900px) and (min-width: 701px) {
  body { overflow: hidden; }

  .scene {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  .computer {
    left: 4%;
    right: 20%;
    top: 3.5%;
    bottom: 3.5%;
  }
  .monitor {
    padding: 20px;
    gap: 10px;
  }
  .monitor::before {
    height: 20px;
  }
  .monitor-shoulders {
    top: 8px;
    height: 10px;
    left: 24%;
    right: 24%;
  }
  .monitor-bezel {
    padding: 8px;
  }
  .monitor-slot-deck {
    grid-template-columns: auto minmax(240px, 1fr) auto;
    gap: 8px;
    padding: 0 2px 2px;
  }
  .monitor-slot-copy {
    gap: 6px;
    font-size: clamp(7px, 0.72vw, 10px);
  }
  .monitor-slot-copy-mark {
    width: 14px;
    height: 14px;
  }
  .monitor-slot {
    height: 38px;
    gap: 10px;
    padding: 0 12px 0 10px;
  }
  .monitor-slot-eject {
    flex-basis: 40px;
    width: 40px;
    height: 20px;
  }
  .monitor-slot-eject-mark {
    width: 16px;
  }
  .monitor-slot-label {
    gap: 8px;
  }
  .monitor-slot-label-small {
    font-size: clamp(7px, 0.68vw, 9px);
  }
  .monitor-slot-label-main {
    font-size: clamp(9px, 0.82vw, 12px);
  }
  .monitor-port {
    width: 24px;
    height: 24px;
  }

  .corkboard {
    top: 7%;
    right: 1.2%;
    width: 15%;
    border-width: 10px;
    padding: 6px 8px;
  }
  .polaroid-caption {
    font-size: 8px;
  }
  .postit {
    right: 1.6%;
    top: 28%;
    width: clamp(82px, 7vw, 108px);
    height: clamp(82px, 7vw, 108px);
    padding: 14px 12px 10px;
    font-size: clamp(13px, 1.1vw, 18px);
  }

  .tape-stack {
    left: auto;
    right: 0.8%;
    top: auto;
    bottom: 3.5%;
    width: clamp(130px, 16vw, 152px);
    padding: 0;
    gap: 0;
    transform: none;
  }
  .tape-stack::after {
    bottom: -6px;
    height: 12px;
  }
  .tape-stack > .floppy {
    --tape-height: 34px;
  }
  .tape-stack > .floppy + .floppy {
    margin-top: -2px;
  }
  .floppy:hover {
    transform: translate(calc(var(--tape-shift-x) - 2px), var(--tape-shift-y)) rotate(var(--tape-rotate));
  }
  .floppy-notch {
    left: 7px;
    top: 9px;
    width: 5px;
    height: 5px;
  }
  .floppy-hub {
    left: 6px;
    width: 54px;
    height: 26px;
  }
  .floppy-hub::before,
  .floppy-hub::after {
    width: 12px;
    height: 12px;
    border-width: 1.5px;
  }
  .floppy-hub::before { left: 8px; }
  .floppy-hub::after { right: 8px; }
  .floppy-rw {
    left: 63px;
    top: 6px;
    width: 9px;
    bottom: 6px;
  }
  .floppy-label {
    left: 78px;
    top: 6px;
    right: 8px;
    bottom: 6px;
    gap: 5px;
    padding: 4px 8px 4px 7px;
    border-radius: 5px;
  }
  .floppy-brand {
    font-size: 5px;
  }
  .floppy-file {
    font-size: 7px;
    letter-spacing: 0;
  }

  .icon-grid {
    --left-cluster-left: 8px;
    --right-cluster-right: 8px;
    --icon-col-step: 88px;
    --icon-row-step: 86px;
    --top-row: 8px;
    --bottom-row: 8px;
  }
  .desktop-icon {
    width: 76px;
    gap: 4px;
    font-size: 10px;
  }
  .icon-tile {
    width: 52px;
    height: 52px;
  }
  .desktop-icon--phone-only {
    display: none;
  }
}

/* very small */
@media (max-width: 480px) {
  .tape-stack > .floppy {
    width: min(100%, 144px);
    flex-basis: 144px;
    --tape-height: 40px;
  }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: 1fr; }
  .bloom-slide-tabs { grid-template-columns: 1fr; }
  .bloom-guest-reel-head { display: grid; }
  .bloom-guest-controls { justify-content: start; }
}

/* =============================================================================
   BLOOM APPLY — 4-step wizard form (replaces the old terminal UI)
   ============================================================================= */
.app-bloom_apply .window-body {
  padding: 0;
  overflow: auto;
  background: var(--paper);
}
.apply-shell {
  display: grid;
  gap: 16px;
  padding: 22px 26px 24px;
}
.apply-head {
  display: grid;
  gap: 6px;
}
.apply-kicker {
  margin: 0;
  color: var(--c95-title1);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.apply-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.05;
  color: var(--ink);
}
.apply-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.apply-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--c95-face);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.apply-step-pill-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c95-hi2);
  border: 1px solid var(--ink);
  font-size: 10px;
}
.apply-step-pill.is-done {
  opacity: 1;
  background: color-mix(in srgb, var(--amber) 25%, var(--c95-face));
}
.apply-step-pill.is-active {
  opacity: 1;
  background: var(--tulip-red);
  color: #fff;
  border-color: var(--tulip-red-dk);
}
.apply-step-pill.is-active .apply-step-pill-index {
  background: #fff;
  color: var(--tulip-red-dk);
  border-color: var(--tulip-red-dk);
}
.apply-form {
  display: grid;
  gap: 14px;
}
.apply-step {
  margin: 0;
  padding: 14px 16px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--c95-face);
  box-shadow:
    inset 1px 1px 0 var(--c95-hi),
    inset 2px 2px 0 var(--c95-hi2),
    inset -1px -1px 0 var(--c95-shd),
    inset -2px -2px 0 var(--c95-shd2);
  display: grid;
  gap: 12px;
}
.apply-step[hidden],
.apply-form [hidden] { display: none !important; }
.apply-step-title {
  padding: 2px 8px;
  margin-left: -4px;
  border: 1px solid var(--ink);
  background: var(--c95-title1);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.apply-field {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}
.apply-field-group {
  display: grid;
  gap: 6px;
}
.apply-label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
}
.apply-optional {
  color: var(--c95-shd2);
  font-weight: 400;
}
.apply-hint {
  margin: 0;
  color: var(--c95-shd2);
  font-family: var(--f-mono);
  font-size: 11px;
}
.apply-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 13px;
  box-shadow: inset 1px 1px 0 var(--c95-shd2);
}
.apply-input:focus,
.apply-textarea:focus {
  outline: 2px solid var(--c95-title2);
  outline-offset: 0;
}
.apply-textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.45;
}
.apply-choices {
  display: grid;
  gap: 4px;
}
.apply-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink);
  cursor: var(--cur-hand);
}
.apply-choice input {
  margin: 0;
  cursor: var(--cur-hand);
}
.apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border: 1px dashed var(--c95-shd);
  background: #fff;
}
.apply-consent input {
  margin-top: 3px;
  cursor: var(--cur-hand);
}
.apply-consent-text {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.apply-error {
  padding: 8px 10px;
  border: 1px solid var(--tulip-red);
  border-left-width: 3px;
  background: color-mix(in srgb, var(--tulip-red) 14%, transparent);
  color: var(--tulip-red-dk);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
}
.apply-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.apply-progress {
  flex: 0 0 auto;
  color: var(--c95-shd2);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.apply-back[disabled] {
  opacity: 0.55;
  cursor: default;
}
.w95-btn--primary {
  background: var(--tulip-red);
  color: #fff;
  border-color: var(--tulip-red-dk);
}
.w95-btn--primary:active {
  background: var(--tulip-red-dk);
}
.apply-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 24px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--c95-face);
  box-shadow:
    inset 1px 1px 0 var(--c95-hi),
    inset 2px 2px 0 var(--c95-hi2),
    inset -1px -1px 0 var(--c95-shd),
    inset -2px -2px 0 var(--c95-shd2);
  text-align: center;
}
.apply-success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tulip-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 40px;
  line-height: 1;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.apply-success h3 {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--ink);
}
.apply-success p {
  margin: 0;
  max-width: 46ch;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
}
.apply-success-detail {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c95-shd2);
}

/* =============================================================================
   PHONE SHELL (<= 700px)
   Recasts the monitor as an iPhone 4-style handset on phone screens only.
   ============================================================================= */
@media (max-width: 700px) {
  html { background: #111714; }

  body {
    min-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    background:
      radial-gradient(circle at 22% 10%, rgba(124, 173, 255, 0.16), transparent 20rem),
      radial-gradient(circle at 76% 84%, rgba(95, 211, 164, 0.14), transparent 18rem),
      linear-gradient(180deg, #1b2421 0%, #111714 100%);
  }
  body,
  body * {
    cursor: none !important;
  }

  .scene {
    --phone-stage-height: calc(100dvh - max(12px, env(safe-area-inset-top, 0px)) - max(12px, env(safe-area-inset-bottom, 0px)));
    display: grid;
    place-items: center;
    min-height: 100dvh;
    height: 100dvh;
    padding:
      max(12px, env(safe-area-inset-top, 0px))
      12px
      max(12px, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    background: transparent;
  }

  .scene-backdrop,
  .corkboard,
  .postit,
  .tape-stack,
  .tape-ghost,
  .monitor-shoulders,
  .monitor-slot-deck,
  .monitor-power-led,
  .monitor-power-label,
  .monitor-neck {
    display: none !important;
  }

  .computer {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    order: initial;
    width: min(100%, calc(var(--phone-stage-height) * 390 / 760));
    max-height: var(--phone-stage-height);
    margin: 0;
    aspect-ratio: 390 / 760;
  }

  .monitor {
    height: 100%;
    gap: 0;
    padding: 8px;
    border-radius: 42px;
    border: 1px solid #d8dce4;
    background:
      linear-gradient(180deg, #eef1f7 0%, #b2bbc9 8%, #6a7382 16%, #c3c9d3 100%);
    box-shadow:
      0 24px 44px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.84),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  }
  .monitor::before,
  .monitor::after { content: none; }

  .monitor-bezel {
    position: relative;
    height: 100%;
    padding: 0;
    border-radius: 34px;
    border: 1px solid #30353e;
    background:
      radial-gradient(circle at calc(50% - 40px) 30px, #39414c 0 3px, #11161d 3.2px 5px, transparent 5.2px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 14%),
      linear-gradient(180deg, #14171d 0%, #090b0f 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -12px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  .monitor-bezel::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 50%;
    width: 52px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #242932 0%, #0f1217 100%);
    transform: translateX(-50%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 20;
    pointer-events: none;
  }
  .monitor-bezel::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transform: translateX(-50%);
    background:
      radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.04), transparent 55%),
      linear-gradient(180deg, #0f1116 0%, #050608 100%);
    box-shadow:
      0 0 0 1px rgba(235, 239, 244, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 -1px 0 rgba(0, 0, 0, 0.55);
    z-index: 20;
    pointer-events: none;
  }

  .screen {
    position: absolute;
    inset: 52px 16px 78px;
    height: auto;
    border: 1px solid #10141a;
    border-radius: 8px;
    background: #08111d;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.03),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    --phone-safe-top: 0px;
    --phone-safe-bottom: 0px;
  }
  .screen::before,
  .screen::after { content: none; }
  .screen.is-drag-over {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.03),
      inset 0 0 0 3px rgba(139, 194, 92, 0.7);
  }

  .screen-off,
  .boot-screen {
    padding: 26px 18px 24px;
  }

  .boot-screen {
    gap: 14px;
  }
  .boot-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: center;
  }
  .boot-progress {
    width: min(56vw, 180px);
  }
  .boot-readout {
    max-width: 22ch;
    font-size: 10px;
    text-align: center;
  }

  .desktop {
    border-radius: inherit;
  }

  .menubar {
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    padding: 0 8px;
    gap: 6px;
    border-radius: 0;
    background: rgba(242, 239, 228, 0.96);
    box-shadow: inset 0 -1px 0 rgba(6, 18, 15, 0.18);
  }
  .menubar-brand { gap: 6px; }
  .menubar-brand-mark {
    width: 14px;
    height: 14px;
  }
  .menubar-status { gap: 6px; }
  .menubar-city { display: none; }
  .desktop-wallpaper { inset: 28px 0 0 0; }

  .icon-grid {
    inset: 36px 6px 10px 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(78px, auto);
    gap: 8px 4px;
    align-content: start;
    overflow: auto;
    padding: 8px 2px 12px;
    scrollbar-width: none;
  }
  .icon-grid::-webkit-scrollbar { display: none; }
  .desktop-icon {
    position: static;
    width: auto;
    gap: 5px;
    padding: 4px 2px;
  }
  .desktop-icon[data-app="xlerate"] { order: 30; }
  .desktop-icon[data-app="bloom"] { order: 31; }
  .desktop-icon[data-app="odyssey"] { order: 32; }
  .desktop-icon--phone-only { display: flex; }
  .icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    box-shadow: 0 4px 0 rgba(9, 22, 18, 0.28);
  }
  .icon-label {
    max-width: 74px;
    font-size: 9px;
  }

  .window-layer {
    inset: 28px 0 0 0;
  }
  .app-window {
    inset: 0 !important;
    min-width: 0;
    min-height: 0;
    width: auto !important;
    height: auto !important;
    resize: none;
    border-radius: 0;
    box-shadow: none;
  }
  .window-resize-handle {
    display: none;
  }
  .window-titlebar {
    gap: 10px;
    padding: 10px 12px 8px;
    cursor: default;
  }
  .window-titlebar:active { cursor: default; }
  .window-title {
    font-size: 11px;
  }
  .window-controls { gap: 6px; }
  .window-titlebar-spacer { width: 0; }
  .window-body {
    padding: 14px;
    font-size: 12px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .app-mediaplayer .window-body,
  .app-bloom_apply .window-body {
    padding: 0;
  }
  .app-trips .window-body {
    overflow: auto;
  }
  .app-trips .atlas-shell {
    height: auto;
    min-height: 100%;
  }
  .app-trips .atlas-map-panel {
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 100%;
    padding-bottom: 14px;
  }
  .app-trips .atlas-map-panel::after {
    height: 14px;
  }
  .app-trips .atlas-map {
    grid-row: 1;
    min-height: 230px;
    margin: 10px 10px 14px;
    padding: 12px 10px 28px;
    border-radius: 18px;
  }
  .app-trips .atlas-city-grid {
    grid-row: 2;
    padding: 12px;
  }

  .win95-taskbar {
    display: none !important;
  }
  .start-btn { display: none; }
  .taskbar-app {
    min-width: 92px;
    padding: 4px 8px;
    font-size: 10px;
  }
  .tray {
    padding: 3px 6px;
  }

  .plans-grid,
  .events-grid,
  .recaps-grid {
    grid-template-columns: 1fr;
  }

  .xlerate-shell {
    display: flex;
    flex-direction: column;
  }

  .xlerate-hero {
    display: contents;
  }

  .xlerate-hero-copy { order: 1; }
  .xlerate-story-deck { order: 2; }
  .xlerate-hero-visual {
    order: 3;
    min-height: 180px;
  }

  .xlerate-tag-row {
    flex-wrap: wrap;
  }

  .window-body .xlerate-shell h3 {
    font-size: 2rem;
  }

  .window-body .xlerate-deck-top h4 {
    font-size: 1.3rem;
  }

  .window-body .xlerate-section-head h4 {
    font-size: 1.45rem;
  }

  .xlerate-stat-card strong,
  .xlerate-startup-card strong,
  .xlerate-jury-card strong {
    font-size: 1.25rem;
  }

  .xlerate-spotlight strong,
  .xlerate-jury-spotlight strong {
    font-size: 2rem;
  }

  .xlerate-hero,
  .xlerate-stat-grid,
  .odyssey-route-grid,
  .xlerate-batch-grid,
  .xlerate-jury-grid,
  .bloom-hero,
  .bloom-showcase,
	  .bloom-slide,
	  .bloom-story-grid,
	  .bloom-stat-grid,
	  .bloom-guest-grid,
	  .odyssey-hero,
	  .odyssey-route-calendar,
	  .odyssey-route-insights,
	  .odyssey-support-grid,
	  .odyssey-command-board,
	  .odyssey-field-layout,
	  .odyssey-bottom-layout,
	  .odyssey-stat-grid,
	  .odyssey-signal-strip,
	  .odyssey-module-matrix,
	  .odyssey-guest-grid,
	  .odyssey-startup-showcase,
	  .odyssey-startup-grid,
	  .board-grid {
	    grid-template-columns: 1fr;
	  }

  .bloom-deck,
  .bloom-slide {
    min-height: 0;
  }

  .bloom-shell.xlerate-shell {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin: 0;
  }

  .bloom-shell .xlerate-hero {
    display: grid;
    order: 1;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bloom-shell .xlerate-hero-copy,
  .bloom-shell .xlerate-story-deck,
  .bloom-shell .bloom-mini-guest-flow,
  .bloom-shell .bloom-apply-panel {
    order: initial;
  }

  .bloom-shell .xlerate-story-deck {
    order: 2;
  }

  .bloom-shell .bloom-mini-guest-flow {
    order: 3;
  }

  .bloom-shell .bloom-apply-panel {
    order: 4;
  }

  .bloom-shell .xlerate-hero-copy {
    gap: 0.55rem;
  }

  .window-body .bloom-shell.xlerate-shell h3 {
    max-width: none;
    font-size: clamp(1.38rem, 7.2vw, 1.84rem);
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .bloom-shell .xlerate-hero-text {
    margin-bottom: 0;
  }

  .bloom-shell .xlerate-tag-row {
    flex-wrap: wrap;
    gap: 0.34rem;
  }

  .bloom-shell .xlerate-tag {
    font-size: 0.56rem;
  }

  .bloom-shell .xlerate-hero-visual {
    order: initial;
    min-height: clamp(190px, 34vh, 240px);
    padding: 0.35rem;
    border-radius: 18px;
  }

  .bloom-shell .xlerate-hero-image {
    object-fit: contain;
    object-position: center;
    transform: scale(1.22);
  }

  .bloom-shell .xlerate-deck-top {
    gap: 8px;
  }

  .bloom-shell .xlerate-deck-meta {
    gap: 8px;
    align-items: center;
  }

  .bloom-shell .xlerate-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bloom-shell .xlerate-tab {
    width: 100%;
  }

  .bloom-slide-rail,
  .bloom-slide-tabs {
    gap: 8px;
  }

  .bloom-slide-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bloom-slide-tab {
    min-height: 44px;
  }

  .bloom-guest-reel-head {
    align-items: start;
  }

  .bloom-guest-card {
    flex-basis: min(86%, 19rem);
  }

  .xlerate-deck-top {
    display: grid;
    gap: 10px;
  }

  .xlerate-deck-meta {
    justify-content: space-between;
  }

  .xlerate-tabs {
    gap: 6px;
  }

  .xlerate-tab {
    min-height: 34px;
    padding: 6px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .xlerate-slide-deck {
    min-height: 0;
  }

  .xlerate-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .xlerate-picker,
  .xlerate-picker-compact {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 58vw);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 6px;
  }

  .xlerate-choice {
    min-height: 72px;
  }

  .xlerate-spotlight {
    min-height: 220px;
  }

  .window-body .odyssey-shell h3 {
    font-size: 2rem;
  }

  .odyssey-support-grid {
    grid-template-areas:
      "guest"
      "startups";
  }

	  .odyssey-command-board {
	    grid-template-areas:
	      "copy"
	      "map"
	      "notes"
	      "guest"
	      "startups";
	  }

	  .odyssey-calendar-grid {
	    grid-template-columns: repeat(6, minmax(7.4rem, 1fr));
	  }

	  .odyssey-route-detail {
	    min-height: 0;
	  }

	  .odyssey-panel-head-row {
	    display: grid;
	  }

	  .odyssey-mini-controls {
	    justify-content: start;
	  }

  .odyssey-guest-card {
    flex-basis: min(82%, 15rem);
  }

  .odyssey-cohort-grid {
    grid-template-columns: 1fr;
  }

  .odyssey-startup-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recaps-shell {
    padding: 16px;
    gap: 14px;
  }
  .recaps-head h3 {
    font-size: 32px;
  }
  .recap-floppy-disk {
    --tape-height: 58px;
  }
  .recap-floppy-disk .floppy-file {
    font-size: 15px;
  }

  .mp-transport {
    flex-wrap: wrap;
  }
  .mp-transport button {
    min-width: 36px;
    padding: 6px 8px;
  }
  .mp-scrub {
    order: 2;
    flex-basis: 100%;
    margin: 2px 0 0;
  }

  .apply-shell {
    padding: 18px 18px 22px;
  }
}
