:root {
  --bg: #0b100d;
  --panel: rgba(14, 22, 17, 0.86);
  --panel-strong: rgba(18, 31, 23, 0.94);
  --text: #edf7ec;
  --muted: #a8b8aa;
  --line: rgba(184, 235, 172, 0.18);
  --growth: #a9ff84;
  --danger: #ff8e59;
  --ash: #898f86;
  --gold: #ffd76a;
  --shadow: rgba(0, 0, 0, 0.45);
  --tile-size: 32px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: radial-gradient(circle at 20% 10%, rgba(67, 105, 56, 0.26), transparent 30%), radial-gradient(circle at 82% 18%, rgba(132, 80, 33, 0.22), transparent 28%), linear-gradient(180deg, #080b09 0%, #10150f 100%); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.stream-body { width: 100vw; height: 100vh; overflow: hidden; background: #050805; }
a { color: var(--growth); text-decoration: none; } a:hover { text-decoration: underline; }
.shell { width: min(1180px, calc(100vw - 28px)); margin: 0 auto; padding: 22px 0 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(56, 88, 43, 0.55), rgba(56, 31, 22, 0.55)); box-shadow: 0 12px 30px var(--shadow); font-size: 27px; }
.brand h1 { margin: 0; font-size: 26px; line-height: 1; letter-spacing: 0.5px; }
.ticker { color: var(--gold); font-weight: 800; }
.brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.035); color: var(--text); font-size: 13px; }
.nav a:hover, .button-link:hover { text-decoration: none; background: rgba(169, 255, 132, 0.1); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 18px; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 22px; box-shadow: 0 20px 50px var(--shadow); overflow: hidden; }
.panel-pad { padding: 18px; }
.world-card { min-height: 620px; display: flex; flex-direction: column; }
.world-header, .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.16); }
.world-header h2, .panel-header h2 { margin: 0; font-size: 16px; letter-spacing: 0.4px; }
.transport-pill { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:var(--muted); border:1px solid rgba(255,255,255,0.08); border-radius:999px; padding:7px 10px; background:rgba(0,0,0,0.16); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: 12px; color: var(--muted); background: rgba(0,0,0,0.2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ash); box-shadow: 0 0 10px var(--ash); }
.status-live .status-dot { background: var(--growth); box-shadow: 0 0 12px var(--growth); }
.status-error .status-dot { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.status-catchup .status-dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.world-stage { position: relative; flex: 1; min-height: 470px; padding: 18px; background: linear-gradient(rgba(255,255,255,0.02), rgba(0,0,0,0.1)), repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px); }
.pixel-world { position: relative; width: 100%; height: 100%; min-height: 430px; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; background: linear-gradient(180deg, #172a25 0%, #1a2a1d 43%, #2a2719 100%); overflow: hidden; image-rendering: pixelated; isolation: isolate; }
.pixel-world.phase-ashlands { background: linear-gradient(180deg, #151313, #2d241e 55%, #191615); }
.pixel-world.phase-burned-forest { background: linear-gradient(180deg, #1b1714, #3a281d 55%, #181512); }
.pixel-world.phase-recovering-forest { background: linear-gradient(180deg, #172014, #2c2f1b 60%, #2c2317); }
.pixel-world.phase-healthy-forest { background: linear-gradient(180deg, #142316, #213c20 60%, #253018); }
.pixel-world.phase-ancient-forest { background: linear-gradient(180deg, #0d1f17, #153a26 52%, #22381d); }
.world-sky { position: absolute; inset: 0 0 auto 0; height: 42%; background: linear-gradient(180deg, rgba(21, 42, 40, 0.78), rgba(24, 39, 30, 0.22), transparent); z-index: 1; }
.moon { position: absolute; top: 34px; right: 54px; width: 22px; height: 22px; border-radius: 50%; background: #faeeb9; box-shadow: 0 0 28px rgba(255, 236, 157, 0.32); opacity: 0.86; }
.cloud { position: absolute; width: 84px; height: 18px; opacity: 0.18; background: rgba(226, 247, 222, 0.6); box-shadow: 22px -9px 0 5px rgba(226, 247, 222, 0.44), 48px 0 0 2px rgba(226, 247, 222, 0.36); filter: blur(1px); animation: cloud-drift 32s linear infinite; }
.cloud-a { top: 66px; left: -120px; } .cloud-b { top: 118px; left: 30%; animation-duration: 45s; opacity: 0.12; }
@keyframes cloud-drift { to { transform: translateX(125vw); } }
.horizon { position: absolute; left: 0; right: 0; bottom: 18%; height: 10px; background: rgba(0, 0, 0, 0.24); box-shadow: 0 12px 0 rgba(0,0,0,0.08), 0 -18px 60px rgba(169,255,132,0.08); z-index: 5; }
.tile-grid { position: absolute; inset: 28% 0 0 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); z-index: 2; transform: perspective(650px) rotateX(9deg); transform-origin: center top; }
.tile { position: relative; border: 1px solid rgba(0,0,0,0.08); min-height: 20px; }
.tile::after { content: ""; position: absolute; inset: 0; opacity: 0.14; background-image: linear-gradient(45deg, rgba(255,255,255,0.3) 0 1px, transparent 1px 7px); }
.tile-grass { background: #2f6d2d; } .tile-grass-deep { background: #1f5429; } .tile-moss { background: #53733a; } .tile-grass-dry { background: #736b38; } .tile-dirt { background: #5a3d28; } .tile-ash { background: #4b4c47; } .tile-char { background: #242321; } .tile-smoke { background: #343332; }
.entity-layer { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.world-entity { position: absolute; width: 54px; height: 72px; transform: translate(-50%, -84%); user-select: none; pointer-events: none; animation: entity-pop 420ms steps(4, end) both; }
.entity-micro { transform: translate(-50%, -70%) scale(0.58); } .entity-small { transform: translate(-50%, -78%) scale(0.76); } .entity-medium { transform: translate(-50%, -84%) scale(1); } .entity-large { transform: translate(-50%, -88%) scale(1.22); } .entity-whale { transform: translate(-50%, -92%) scale(1.55); }
@keyframes entity-pop { from { opacity: 0; filter: brightness(1.8); } to { opacity: 1; filter: brightness(1); } }
.pixel-sprite { position: relative; display: block; width: 54px; height: 72px; }
.pixel-sprite i { position: absolute; display: block; image-rendering: pixelated; }
.stem, .trunk, .ancient-trunk { left: 24px; bottom: 7px; width: 8px; height: 26px; background: #8a5731; box-shadow: inset -3px 0 rgba(0,0,0,0.2); }
.ancient-trunk { left: 20px; width: 14px; height: 38px; background: #916139; }
.leaf { width: 16px; height: 16px; background: #70bf4c; box-shadow: inset -4px -4px rgba(0,0,0,0.12); }
.leaf-l { left: 15px; bottom: 31px; } .leaf-c { left: 23px; bottom: 40px; background: #8fe760; } .leaf-r { left: 28px; bottom: 31px; }
.crown { background: #2f9b43; box-shadow: inset -6px -6px rgba(0,0,0,0.14); }
.crown-a { left: 13px; bottom: 41px; width: 28px; height: 24px; } .crown-b { left: 5px; bottom: 28px; width: 44px; height: 24px; background: #287e38; } .crown-c { left: 17px; bottom: 20px; width: 30px; height: 18px; background: #3aa24b; }
.pine { left: 9px; width: 38px; height: 22px; background: #1f7b3f; clip-path: polygon(50% 0, 100% 100%, 0 100%); } .pine-a { bottom: 49px; } .pine-b { bottom: 34px; transform: scale(1.22); background: #206a36; } .pine-c { bottom: 18px; transform: scale(1.45); background: #174f2d; }
.ancient { background: #2ca24a; box-shadow: inset -8px -8px rgba(0,0,0,0.14); }
.ancient-a { left: 10px; bottom: 47px; width: 36px; height: 28px; } .ancient-b { left: 0; bottom: 31px; width: 56px; height: 30px; background: #1e803d; } .ancient-c { left: 9px; bottom: 18px; width: 42px; height: 26px; background: #3bb857; }
.glow { left: 0; bottom: 12px; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle, rgba(169,255,132,0.22), transparent 68%); animation: glow-pulse 1.8s ease-in-out infinite alternate; }
@keyframes glow-pulse { to { opacity: 0.35; transform: scale(1.16); } }
.shadow { left: 8px; bottom: 4px; width: 40px; height: 8px; background: rgba(0,0,0,0.28); border-radius: 50%; }
.leafpile { bottom: 5px; width: 20px; height: 9px; background: #b77738; } .leafpile-a { left: 13px; } .leafpile-b { left: 25px; background: #8a6334; }
.dead-stem { left: 25px; bottom: 8px; width: 7px; height: 32px; background: #59443a; transform: rotate(-8deg); }
.dead-branch { width: 20px; height: 5px; background: #59443a; bottom: 29px; } .dead-branch-a { left: 12px; transform: rotate(23deg); } .dead-branch-b { left: 26px; transform: rotate(-26deg); }
.stump-top { left: 16px; bottom: 21px; width: 24px; height: 8px; background: #b57542; border: 2px solid rgba(0,0,0,0.2); } .stump-body { left: 17px; bottom: 7px; width: 22px; height: 18px; background: #815130; } .axe-mark { left: 22px; bottom: 16px; width: 12px; height: 4px; background: #e0c198; transform: rotate(-18deg); }
.flame { bottom: 5px; clip-path: polygon(50% 0, 95% 70%, 68% 100%, 30% 100%, 5% 70%); animation: fire-flicker 0.48s steps(2, end) infinite alternate; }
.flame-a { left: 15px; width: 28px; height: 46px; background: #ff6b2b; } .flame-b { left: 22px; width: 18px; height: 34px; background: #ffd04c; animation-delay: 0.1s; } .flame-c { left: 8px; width: 20px; height: 31px; background: #c74320; animation-delay: 0.18s; } .flame-d { left: 34px; width: 22px; height: 36px; background: #ff8e59; animation-delay: 0.24s; }
@keyframes fire-flicker { to { transform: translateY(-3px) scaleX(1.08); filter: brightness(1.22); } }
.ember { width: 6px; height: 6px; background: #ffd76a; bottom: 46px; animation: ember-rise 1.2s ease-in-out infinite; } .ember-a { left: 18px; } .ember-b { left: 38px; animation-delay: 0.4s; }
@keyframes ember-rise { to { transform: translateY(-22px); opacity: 0; } }
.smoke { left: 10px; bottom: 48px; width: 38px; height: 28px; border-radius: 50%; background: rgba(110, 112, 106, 0.28); filter: blur(3px); animation: smoke-rise 2s ease-in-out infinite; } .smoke-big { width: 58px; height: 42px; }
@keyframes smoke-rise { to { transform: translateY(-25px) scale(1.45); opacity: 0.05; } }
.weather-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.smoke-puff { position: absolute; bottom: 14%; width: 72px; height: 34px; border-radius: 50%; background: rgba(120,120,116,0.14); filter: blur(8px); animation: ambient-smoke 6s ease-in-out infinite; }
@keyframes ambient-smoke { 0% { transform: translateY(0) scale(0.8); opacity: 0; } 40% { opacity: 0.55; } 100% { transform: translateY(-180px) scale(1.7); opacity: 0; } }
.firefly { position: absolute; width: 5px; height: 5px; background: #d9ff8a; box-shadow: 0 0 10px #d9ff8a; animation: firefly 3.5s ease-in-out infinite alternate; }
@keyframes firefly { to { transform: translate(22px, -18px); opacity: 0.35; } }
.world-vignette { position: absolute; inset: 0; z-index: 30; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,0.46); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255,255,255,0.07); }
.stat .label { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.stat .value { font-size: 24px; font-weight: 800; letter-spacing: 0.3px; }
.stat .value.good { color: var(--growth); } .stat .value.bad { color: var(--danger); } .stat .value.gold { color: var(--gold); }
.health-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.health-fill { height: 100%; width: 50%; background: linear-gradient(90deg, var(--danger), var(--gold), var(--growth)); transition: width 420ms ease; }
.event-list { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; padding-right: 4px; }
.event-item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.07); background: rgba(0,0,0,0.18); }
.event-item.event-buy { border-color: rgba(169,255,132,0.16); } .event-item.event-sell { border-color: rgba(255,142,89,0.22); }
.event-icon { font-size: 23px; line-height: 1; } .event-title { font-weight: 750; font-size: 13px; } .event-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.copy-block { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,0.2); color: var(--muted); line-height: 1.55; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; } .table th, .table td { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 8px; text-align: left; } .table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-note { margin-top: 22px; color: var(--muted); font-size: 12px; text-align: center; }
.stream-frame { width: 100vw; height: 100vh; display: grid; grid-template-columns: 1fr 390px; gap: 0; background: #050805; }
.stream-world-wrap { padding: 18px; height: 100vh; } .stream-world-wrap .pixel-world { min-height: 0; height: 100%; border-radius: 18px; }
.stream-sidebar { height: 100vh; border-left: 1px solid var(--line); background: rgba(8, 13, 9, 0.94); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.stream-title { font-size: 34px; margin: 0; line-height: 0.95; } .stream-title span { color: var(--gold); } .stream-claim { color: var(--muted); margin: 0; font-size: 14px; }
.stream-events { flex: 1; overflow: hidden; } .stream-events .event-list { max-height: none; height: 100%; overflow: hidden; }
.loading, .error-box { padding: 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.08); color: var(--muted); }
.error-box { border-color: rgba(255,142,89,0.35); color: #ffd0bb; }
@media (max-width: 920px) { .hero-grid, .content-grid { grid-template-columns: 1fr; } .topbar { align-items: flex-start; flex-direction: column; } .nav { justify-content: flex-start; } .stream-frame { grid-template-columns: 1fr; grid-template-rows: 1fr auto; } .stream-sidebar { height: auto; max-height: 42vh; border-left: 0; border-top: 1px solid var(--line); } }
/* Explicit sprite markers used by STEP006 tests and future art overrides. */
.sprite-sprout {}
.sprite-sapling {}
.sprite-tree-medium {}
.sprite-pine-large {}
.sprite-ancient-tree {}
.sprite-fallen-leaves {}
.sprite-dead-sapling {}
.sprite-stump {}
.sprite-fire {}
.sprite-wildfire {}

/* STEP011 — OBS/Pump.fun stream polish. The /stream route is a 16:9 safe composition. */
.stream-polished { background: #030503; }
.stream-stage { width: 100vw; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) 360px; background: radial-gradient(circle at 30% 8%, rgba(82, 123, 62, 0.16), transparent 28%), linear-gradient(180deg, #050805, #020302); overflow: hidden; }
.stream-main { position: relative; min-width: 0; height: 100vh; padding: 22px 20px 22px 24px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; }
.stream-top-hud { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 76px; }
.stream-brand-lockup { display: flex; align-items: center; gap: 14px; padding: 11px 15px; border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; background: rgba(3, 8, 4, 0.72); box-shadow: 0 14px 38px rgba(0,0,0,0.34); }
.stream-logo { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, rgba(61, 105, 45, 0.65), rgba(88, 49, 27, 0.58)); border: 1px solid rgba(255,255,255,0.10); font-size: 30px; }
.stream-brand-lockup h1 { margin: 0; font-size: clamp(30px, 3vw, 52px); line-height: 0.92; letter-spacing: -0.04em; }
.stream-brand-lockup h1 span { color: var(--gold); }
.stream-brand-lockup p { margin: 5px 0 0; font-size: clamp(13px, 1.2vw, 18px); color: var(--muted); }
.stream-system-strip { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.stream-status, .stream-transport { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; background: rgba(0,0,0,0.35); }
.stream-world-card { position: relative; min-height: 0; border-radius: 24px; padding: 12px; background: linear-gradient(145deg, rgba(169,255,132,0.10), rgba(255,142,89,0.08)); border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 24px 70px rgba(0,0,0,0.42); overflow: hidden; }
.stream-world-card::before { content: "LIVE MARKET FOREST"; position: absolute; left: 24px; top: 22px; z-index: 60; color: rgba(237,247,236,0.58); font-size: 11px; font-weight: 900; letter-spacing: 0.18em; text-shadow: 0 2px 12px rgba(0,0,0,0.6); pointer-events: none; }
.stream-pixel-world { min-height: 0; height: 100%; border-radius: 18px; }
.stream-lower-third { min-height: 112px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr); gap: 14px; }
.latest-spotlight { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.10); border-radius: 20px; background: rgba(3, 8, 4, 0.78); box-shadow: 0 16px 42px rgba(0,0,0,0.34); overflow: hidden; }
.latest-spotlight.spotlight-buy { border-color: rgba(169,255,132,0.30); box-shadow: 0 0 36px rgba(169,255,132,0.08); }
.latest-spotlight.spotlight-sell { border-color: rgba(255,142,89,0.36); box-shadow: 0 0 36px rgba(255,96,42,0.08); }
.latest-spotlight.spotlight-whale { animation: spotlight-pulse 1.4s ease-in-out infinite alternate; }
@keyframes spotlight-pulse { to { filter: brightness(1.15); transform: translateY(-1px); } }
.spotlight-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: rgba(255,255,255,0.06); font-size: 35px; }
.spotlight-kicker { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: 0.15em; }
.spotlight-title { margin-top: 4px; font-size: clamp(21px, 2.1vw, 34px); font-weight: 950; line-height: 1.02; letter-spacing: -0.04em; }
.spotlight-meta { margin-top: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stream-mini-stats div { min-width: 0; padding: 13px 11px; border-radius: 17px; background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.08); }
.stream-mini-stats span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.10em; }
.stream-mini-stats strong { display: block; margin-top: 4px; color: var(--text); font-size: clamp(18px, 1.4vw, 26px); line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-side-panel { height: 100vh; padding: 22px 18px; border-left: 1px solid rgba(255,255,255,0.09); background: rgba(4, 8, 5, 0.94); display: flex; flex-direction: column; gap: 14px; box-shadow: -18px 0 55px rgba(0,0,0,0.34); }
.stream-side-header { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.side-label { color: var(--text); font-weight: 950; font-size: 25px; letter-spacing: -0.04em; }
.side-subline { margin-top: 2px; color: var(--muted); font-size: 12px; }
.stream-health-block { padding: 13px; border-radius: 17px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.24); }
.health-label-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.stream-health-bar { height: 16px; }
.stream-score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.score { padding: 13px; border-radius: 17px; background: rgba(0,0,0,0.24); border: 1px solid rgba(255,255,255,0.08); }
.score span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.11em; }
.score strong { display: block; margin-top: 5px; font-size: 28px; line-height: 1; }
.score.buy strong { color: var(--growth); } .score.sell strong { color: var(--danger); }
.stream-event-rail { flex: 1; max-height: none; overflow: hidden; gap: 9px; }
.stream-event-rail .event-item { grid-template-columns: 39px 1fr; padding: 11px; border-radius: 16px; background: rgba(255,255,255,0.035); }
.stream-event-rail .event-icon { font-size: 28px; }
.stream-event-rail .event-title { font-size: 13px; line-height: 1.15; }
.stream-event-rail .event-meta { font-size: 11px; }
.stream-footer-badge { margin-top: auto; padding: 11px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.24); color: var(--muted); font-size: 11px; text-align: center; text-transform: uppercase; letter-spacing: 0.09em; }

@media (max-aspect-ratio: 4/3) {
  .stream-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .stream-side-panel { display: none; }
  .stream-lower-third { grid-template-columns: 1fr; }
}
/* data-obs-safe-area marker: stream.html root safe composition target */

/* STEP021A — Final Brand Asset Integration */
.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 34px rgba(0,0,0,0.38);
  background: rgba(0,0,0,0.28);
}
.launch-nav .nav-buy,
.button-primary {
  border-color: rgba(255,215,106,0.36);
  background: linear-gradient(135deg, rgba(169,255,132,0.16), rgba(255,142,89,0.12));
  color: var(--text);
  font-weight: 800;
}

.brand-hero {
  position: relative;
  min-height: clamp(420px, 48vw, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 18px;
  background: #050805;
  isolation: isolate;
}
.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/brand/hero_split_forest_art.png');
  background-size: cover;
  background-position: center center;
  filter: saturate(1.08) contrast(1.05) brightness(0.90);
  transform: scale(1.01);
}
.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 30%, rgba(0,0,0,0.42) 53%, rgba(0,0,0,0.14) 100%),
    radial-gradient(circle at 18% 48%, rgba(21, 50, 24, 0.54), transparent 38%),
    linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.10) 42%, rgba(0,0,0,0.36));
}
.brand-hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: clamp(26px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.70);
}
.brand-hero h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-shadow: 0 4px 28px rgba(0,0,0,0.78);
}
.brand-hero p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(237,247,236,0.84);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.brand-hero-art { display: none; }
@media (max-width: 920px) {
  .brand-hero { min-height: 560px; align-items: flex-end; }
  .brand-hero::before { background-position: 58% center; }
  .brand-hero::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.50) 45%, rgba(0,0,0,0.92) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.10));
  }
  .brand-hero-copy { width: 100%; padding: 28px; }
}

.launch-live-grid .world-card { min-height: 600px; }
.stream-logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.38);
  background: rgba(0,0,0,0.32);
}
.about-launch-panel h2 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.about-launch-panel .copy-block p { margin: 0 0 14px; }
.about-launch-panel .copy-block p:last-child { margin-bottom: 0; }

@media (max-width: 920px) {
  .brand-hero { grid-template-columns: 1fr; }
  .brand-hero-art { min-height: 280px; }
}

/* STEP022A — Fast Launch Link Layer */
.token-panel h2 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 48px); line-height: 0.98; letter-spacing: -0.05em; }
.token-panel .copy-block p { margin: 0 0 10px; }
.token-panel .copy-block p:last-child { margin-bottom: 0; }
.token-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.copy-button { min-height: 36px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.035); color: var(--text); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.copy-button:disabled { opacity: 0.52; cursor: not-allowed; }
.copy-button:not(:disabled):hover { background: rgba(169, 255, 132, 0.1); }
.ca-box { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; background: rgba(0,0,0,0.24); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.ca-box span { color: var(--gold); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.16em; }
.ca-box code { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
[data-buy-link].is-coming-soon { opacity: 0.88; }
[data-buy-link].is-live { border-color: rgba(169,255,132,0.55); box-shadow: 0 0 26px rgba(169,255,132,0.08); }


/* STEP022B — Homepage hero cleanup + live view polish */
.world-header-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.hero-split-art { min-height: 430px; grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr); }
.hero-split-art .brand-hero-copy { padding-right: clamp(18px, 3vw, 44px); }
.hero-split-art .brand-hero-art { position: relative; min-height: 430px; border-left: 1px solid rgba(255,255,255,0.08); box-shadow: inset 22px 0 46px rgba(0,0,0,0.24); }
.hero-split-art .brand-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,5,0.20), transparent 24%, rgba(0,0,0,0.18)); pointer-events: none; }
.hero-split-art .hero-actions .button-primary { color: var(--gold); }

.stream-v2 .stream-stage { grid-template-columns: minmax(0, 1fr) 380px; background: radial-gradient(circle at 28% 8%, rgba(169,255,132,0.14), transparent 24%), radial-gradient(circle at 78% 22%, rgba(255,86,34,0.10), transparent 32%), #030503; }
.stream-v2 .stream-main { padding: 18px 18px 18px 22px; gap: 12px; }
.stream-v2 .stream-top-hud { min-height: 72px; }
.stream-v2 .stream-brand-lockup { border-radius: 20px; background: linear-gradient(135deg, rgba(4,10,5,0.84), rgba(8,14,8,0.70)); }
.stream-v2 .stream-world-card { padding: 10px; border-radius: 26px; background: linear-gradient(135deg, rgba(169,255,132,0.12), rgba(255,142,89,0.08)); }
.stream-v2 .stream-world-card::before { color: rgba(255,215,106,0.84); text-shadow: 0 2px 16px rgba(0,0,0,0.72); }
.stream-v2 .stream-side-panel { width: 380px; padding: 20px 16px; background: linear-gradient(180deg, rgba(5,10,6,0.98), rgba(3,6,4,0.96)); }
.stream-buy-button { min-height: 34px; padding: 8px 14px; border: 1px solid rgba(255,215,106,0.30); border-radius: 999px; background: linear-gradient(135deg, rgba(169,255,132,0.16), rgba(255,142,89,0.10)); color: var(--text); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.stream-buy-button:hover { text-decoration: none; background: rgba(169,255,132,0.16); }
.stream-token-card { padding: 11px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.24); display: grid; gap: 8px; }
.stream-token-card span { color: var(--gold); font-size: 10px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.16em; }
.stream-token-card code { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.stream-token-card .copy-button { width: 100%; }
.stream-v2 .loading { color: var(--muted); }
.stream-v2 .stream-event-rail .loading { border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; background: rgba(0,0,0,0.22); padding: 14px; line-height: 1.35; }

@media (max-width: 920px) {
  .hero-split-art { grid-template-columns: 1fr; }
  .hero-split-art .brand-hero-art { min-height: 320px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-actions .button-link { flex: 1 1 180px; }
}
