/* Pioneer Roleplay. Black and gold. */
:root {
  --bg: #070605;
  --ink: #0e0c09;
  --panel: #12100c;
  --panel-2: #181510;
  --line: rgba(232, 196, 110, 0.12);
  --line-2: rgba(232, 196, 110, 0.28);
  --text: #f3ede0;
  --muted: #b3a88f;
  --dim: #7d735f;
  --gold: #d6a63a;
  --gold-hi: #f7dc8c;
  --gold-lo: #8c6418;
  --gold-grad: linear-gradient(100deg, #8c6418 0%, #d6a63a 22%, #f7dc8c 48%, #d6a63a 72%, #9a6f1c 100%);
  --live: #ff3b3b;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1240px;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); font: 400 16px/1.6 var(--font); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--gold); color: #000; font-weight: 700; }
.skip:focus { left: 16px; top: 16px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@view-transition { navigation: auto; }

/* grain over everything, very light */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* type */
.gold { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-shine { animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px var(--font); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-hi); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.h-display { font: 400 clamp(52px, 8.4vw, 124px)/0.88 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.h-section { font: 400 clamp(40px, 5.4vw, 72px)/0.92 var(--display); letter-spacing: 0.015em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent; font: 700 14px var(--font); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s, background 0.25s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-gold { color: #140e02; background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 18px 40px -16px rgba(214, 166, 58, 0.7), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 24px 50px -16px rgba(214, 166, 58, 0.85), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.02); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 12px; border-radius: 10px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7, 6, 5, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 4px 14px rgba(214,166,58,0.35)); }
.brand b { font: 400 26px/1 var(--display); letter-spacing: 0.06em; }
.brand small { display: block; margin-top: 2px; font: 600 9.5px var(--font); letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.links a { position: relative; padding: 10px 14px; font: 600 13px var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.links a:hover, .links a.on { color: var(--text); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.nav-live { display: none; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 59, 59, 0.45); background: rgba(255, 59, 59, 0.08); font: 700 12px var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: #ffd5d5; }
.nav-live.show { display: inline-flex; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.6); animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,0.6); } 100% { box-shadow: 0 0 0 10px rgba(255,59,59,0); } }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: none; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--gold-hi); stroke-width: 2; fill: none; stroke-linecap: round; }
.mnav { display: none; padding: 8px 24px 20px; border-top: 1px solid var(--line); background: rgba(7, 6, 5, 0.96); }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 26px var(--display); letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .links, .nav .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open .mnav { display: block; }
  .nav.open { background: rgba(7, 6, 5, 0.96); }
}

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -3; background: radial-gradient(1100px 520px at 70% 78%, rgba(214, 166, 58, 0.26), transparent 65%), radial-gradient(800px 400px at 20% 10%, rgba(214, 166, 58, 0.08), transparent 70%), linear-gradient(180deg, #050403 0%, #0d0a06 55%, #1a1308 100%); }
.hero-sun { position: absolute; z-index: -2; left: 50%; bottom: 14%; width: min(860px, 120vw); aspect-ratio: 1; transform: translateX(-12%); border-radius: 50%; background: radial-gradient(circle, rgba(247, 220, 140, 0.22) 0%, rgba(214, 166, 58, 0.12) 30%, transparent 62%); filter: blur(10px); }
.city { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.hero-fade { position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; padding: 130px 0 120px; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 .serif { display: block; font-size: 0.66em; line-height: 1.05; text-transform: none; margin-top: 6px; }
.hero .lead { font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(14, 12, 9, 0.7); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stat i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(214, 166, 58, 0.12); color: var(--gold-hi); }
.stat i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat b { display: block; font: 400 24px/1 var(--display); letter-spacing: 0.04em; }
.stat small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.stat.live-stat i { background: rgba(255, 59, 59, 0.12); color: #ff8a8a; }
.crest { position: relative; justify-self: center; width: min(400px, 80%); aspect-ratio: 305 / 330; }
.crest img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 60px rgba(214, 166, 58, 0.25)); animation: float 7s ease-in-out infinite; }
.crest::before { content: ''; position: absolute; inset: 8% -6% 0; z-index: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214,166,58,0.35), transparent 65%); filter: blur(30px); animation: pulse 7s ease-in-out infinite; }
.crest .sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; -webkit-mask: url('/assets/img/logo.png') center / contain no-repeat; mask: url('/assets/img/logo.png') center / contain no-repeat; background: linear-gradient(115deg, transparent 38%, rgba(255, 245, 210, 0.75) 50%, transparent 62%); background-size: 260% 100%; animation: sweep 5.5s ease-in-out infinite; animation-delay: 1s; }
.crest .sweep-wrap { position: absolute; inset: 0; z-index: 3; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes sweep { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 600 10px var(--font); letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; text-align: left; padding-top: 120px; }
  .crest { order: -1; width: 150px; justify-self: start; }
  .scroll-cue { display: none; }
}

/* live tape */
.tape { position: relative; z-index: 5; overflow: hidden; background: var(--gold-grad); color: #120c01; transform: rotate(-1.2deg); margin: -26px -20px 0; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.9); }
.tape-track { display: flex; width: max-content; animation: tape 42s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-track span { display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px; font: 400 22px/1 var(--display); letter-spacing: 0.08em; white-space: nowrap; }
.tape-track span::after { content: ''; width: 7px; height: 7px; margin-left: 22px; transform: rotate(45deg); background: #120c01; }
.tape-track a:hover { text-decoration: underline; }
.tape-track .t-live { color: #8a0000; }
@keyframes tape { to { transform: translateX(-50%); } }

/* sections */
.section { position: relative; padding: 120px 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head p { margin: 12px 0 0; color: var(--muted); max-width: 520px; }
.head .h-section { margin-top: 14px; }

/* featured spotlight */
.spot { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.95), 0 0 120px -60px var(--gold); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background-size: cover; background-position: center; }
.player-poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,5,0.2), rgba(7,6,5,0.85)); }
.player-poster > * { position: relative; }
.player-poster h3 { font: 400 40px/1 var(--display); letter-spacing: 0.04em; margin: 12px 0 6px; }
.player-poster p { color: var(--muted); margin: 0 0 18px; }
.player-bar { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; z-index: 2; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 8px; font: 700 11.5px var(--font); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(7, 6, 5, 0.82); border: 1px solid var(--line-2); }
.pill-live { background: var(--live); border-color: transparent; color: #fff; }
.pill-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.pill-gold { color: #120c01; background: var(--gold-grad); border-color: transparent; }
.flist { display: flex; flex-direction: column; gap: 10px; max-height: calc((min(var(--wrap), 100vw - 48px) - 20px) * 0.62 / 1.78); overflow: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.fitem { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease); }
.fitem:hover { border-color: var(--line-2); transform: translateX(3px); }
.fitem.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(214,166,58,0.12), var(--panel)); }
.fitem b { display: block; font-weight: 700; font-size: 15.5px; }
.fitem small { display: block; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fitem .meta { min-width: 0; }
.fitem .v { font: 700 12px var(--font); color: #ffb3b3; white-space: nowrap; }
.ava { position: relative; width: 56px; height: 56px; border-radius: 50%; padding: 2px; background: var(--line-2); flex: none; }
.ava img, .ava span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--panel-2); display: grid; place-items: center; font: 400 24px var(--display); color: var(--gold-hi); }
.ava.is-live { background: conic-gradient(from 0deg, var(--live), #ff9b6b, var(--live)); }
.ava.is-feat { background: var(--gold-grad); }
.ava.is-live::after { content: 'LIVE'; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 1px 6px; border-radius: 5px; background: var(--live); font: 800 9px var(--font); letter-spacing: 0.08em; color: #fff; border: 2px solid var(--bg); }
@media (max-width: 960px) { .spot { grid-template-columns: 1fr; } .flist { max-height: none; } }

/* featured offline cards (no one live) */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.fcard { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.fcard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 60px -30px rgba(214,166,58,0.5); }
.fcard-img { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 120%, rgba(214,166,58,0.35), transparent 60%), #0b0906; background-size: cover; background-position: center; }
.fcard-img .pill { position: absolute; left: 12px; top: 12px; }
.fcard-body { display: flex; align-items: center; gap: 14px; padding: 0 18px 18px; margin-top: -28px; position: relative; }
.fcard-body .ava { width: 64px; height: 64px; }
.fcard-body b { display: block; font: 400 26px/1 var(--display); letter-spacing: 0.04em; margin-top: 24px; }
.fcard-body small { color: var(--dim); font-size: 13px; }
.fcard .watch { position: absolute; right: 14px; bottom: 16px; font: 700 11px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); }

/* all streamers */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.chips button { height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font: 700 12px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.chips button.on { background: var(--gold-grad); color: #120c01; }
.chips em { font-style: normal; opacity: 0.7; margin-left: 4px; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.search svg { width: 16px; height: 16px; stroke: var(--dim); fill: none; stroke-width: 2; }
.search input { width: 180px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.scard { position: relative; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.25s; }
.scard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.scard.live { border-color: rgba(255, 59, 59, 0.45); }
.scard-thumb { position: relative; aspect-ratio: 16 / 9; background: #0b0906 center / cover; }
.scard-thumb .pill { position: absolute; left: 10px; top: 10px; }
.scard-thumb .viewers { left: auto; top: auto; right: 10px; bottom: 10px; }
.scard-off { display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 130%, rgba(214,166,58,0.18), transparent 60%), #0b0906; }
.scard-off .ava { width: 74px; height: 74px; filter: grayscale(0.6); opacity: 0.8; }
.scard-body { display: flex; align-items: center; gap: 12px; padding: 14px; }
.scard-body .ava { width: 40px; height: 40px; }
.scard-body .meta { min-width: 0; }
.scard-body b { display: block; font-weight: 700; }
.scard-body small { display: block; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard:not(.live) .scard-body b { color: var(--muted); }
.elsewhere { position: absolute; left: 10px; top: 10px; }
.empty { padding: 60px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); text-align: center; color: var(--muted); }
.empty img { width: 64px; margin: 0 auto 16px; opacity: 0.8; }
.empty b { display: block; font: 400 30px var(--display); letter-spacing: 0.05em; color: var(--text); margin-bottom: 6px; }
.skel { border-radius: 16px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: skel 1.3s linear infinite; aspect-ratio: 4 / 3.3; }
@keyframes skel { to { background-position: -200% 0; } }
.note { margin-top: 18px; color: var(--dim); font-size: 13px; }

/* streamer page hero */
.page-hero { position: relative; padding: 170px 0 60px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 340px at 80% 0%, rgba(214,166,58,0.18), transparent 70%), linear-gradient(180deg, #0d0a06, var(--bg)); }
.page-hero .city { height: 70%; opacity: 0.55; }
.page-hero .lead { margin-top: 18px; }
.livebar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: stretch; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 18px; padding: 22px 22px 22px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.25s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--line-2); transform: translateX(4px); }
.step::before { counter-increment: s; content: '0' counter(s); font: 400 54px/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold); text-align: center; }
.step h3 { font: 400 28px/1 var(--display); letter-spacing: 0.04em; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.step code { font-family: var(--mono); font-size: 13px; color: var(--gold-hi); background: rgba(214,166,58,0.08); padding: 2px 6px; border-radius: 6px; }
.dcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 34px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 100% 0%, rgba(214,166,58,0.18), transparent 70%), linear-gradient(160deg, #15110a, #0a0806); }
.dcard img.mark { position: absolute; right: -40px; bottom: -50px; width: 260px; opacity: 0.12; transform: rotate(-10deg); }
.dcard h3 { font: 400 52px/0.92 var(--display); text-transform: uppercase; }
.dnums { display: flex; gap: 26px; }
.dnums b { display: block; font: 400 46px/1 var(--display); }
.dnums small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.dnums .on b::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #3ba55d; vertical-align: middle; box-shadow: 0 0 12px #3ba55d; }
@media (max-width: 960px) { .join { grid-template-columns: 1fr; } .step { grid-template-columns: 54px 1fr; } .step .btn { grid-column: 1 / -1; } }

/* rules */
.doc { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 50px 100px -40px rgba(0,0,0,0.95); }
.doc iframe { display: block; width: 100%; height: min(78vh, 900px); border: 0; }
.doc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--panel); border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
.doc-bar b { color: var(--text); }
.ruleset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.rule { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.rule i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: rgba(214,166,58,0.12); color: var(--gold-hi); }
.rule i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rule h3 { font: 400 26px/1 var(--display); letter-spacing: 0.04em; }
.rule p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .ruleset { grid-template-columns: 1fr; } }

/* footer */
.foot { position: relative; padding: 80px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(214,166,58,0.04)); overflow: hidden; }
.foot-big { font: 400 clamp(70px, 17vw, 260px)/0.8 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(214,166,58,0.22); white-space: nowrap; user-select: none; margin-bottom: 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--gold-hi); }
.foot small { color: var(--dim); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* admin */
.admin { max-width: 760px; }
.panel { padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--panel); }
.panel + .panel { margin-top: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.field input, .field select { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0806; color: var(--text); font: inherit; outline: 0; }
.field input:focus, .field select:focus { border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
.alist { display: grid; gap: 8px; }
.aitem { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #0d0b08; }
.aitem .ava { width: 40px; height: 40px; }
.aitem small { color: var(--dim); }
.msg { min-height: 24px; margin-top: 10px; font-size: 14px; }
.msg.ok { color: #7ee2a0; } .msg.err { color: #ff9a9a; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } .aitem { grid-template-columns: 40px 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* phones: two streamer cards per row */
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scard-body { padding: 10px; gap: 8px; }
  .scard-body .ava { width: 30px; height: 30px; }
  .scard-body b { font-size: 14px; }
  .scard-off .ava { width: 54px; height: 54px; }
  .scard-thumb .viewers { display: none; }
  .ava.is-live::after { font-size: 7px; padding: 0 4px; bottom: -5px; }
  .toolbar, .search { width: 100%; }
  .search input { width: 100%; }
  .hero-in { padding-bottom: 90px; }
  .stats { gap: 8px; }
}

/* real in-game photo behind the hero (falls back to the drawn skyline if missing) */
.hero-photo { position: absolute; inset: -4%; z-index: -3; background: center 60% / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; filter: saturate(0.8) contrast(1.08) brightness(0.9); }
.has-photo .hero-photo { opacity: 1; animation: drift 40s ease-in-out infinite alternate; }
.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, #3a2a08, #0b0805); mix-blend-mode: color; opacity: 0.55; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,6,5,0.94) 0%, rgba(7,6,5,0.7) 38%, rgba(7,6,5,0.15) 75%, rgba(7,6,5,0.35) 100%),
  linear-gradient(180deg, rgba(7,6,5,0.6) 0%, transparent 25%, transparent 60%, var(--bg) 100%),
  radial-gradient(900px 500px at 75% 70%, rgba(247,200,90,0.22), transparent 70%); }
.has-photo .city, .has-photo .hero-sun { display: none; }
.page-hero .hero-photo::after { background: linear-gradient(90deg, rgba(7,6,5,0.92), rgba(7,6,5,0.55)), linear-gradient(180deg, rgba(7,6,5,0.5), var(--bg)); }
.page-hero.has-photo::before { opacity: 0; }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
@media (max-width: 960px) { .hero-photo::after { background: linear-gradient(180deg, rgba(7,6,5,0.55), rgba(7,6,5,0.8) 55%, var(--bg)); } }


/* ---------- city mood ---------- */
.mood { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14, 12, 9, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; }
.mood b { font-weight: 700; letter-spacing: 0.02em; }
.mood small { color: var(--dim); font-weight: 600; }
.mood small:empty { display: none; }
.mood-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.hero .hero-sky, .hero .hero-sun, .hero .city, .hero .hero-photo { transition: opacity 2s ease, filter 2s ease; }
.hero[data-mood="asleep"] .hero-sun { opacity: 0.2; }
.hero[data-mood="asleep"] .hero-sky, .hero[data-mood="asleep"] .hero-photo { filter: brightness(0.55) saturate(0.6); }
.hero[data-mood="quiet"] .hero-sun { opacity: 0.45; }
.hero[data-mood="quiet"] .hero-sky { filter: brightness(0.75) saturate(0.8); }
.hero[data-mood="quiet"] .hero-photo { filter: saturate(0.7) contrast(1.05) brightness(0.7); }
.hero[data-mood="awake"] .mood-dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero[data-mood="busy"] .mood { border-color: var(--gold); box-shadow: 0 0 30px -6px rgba(214,166,58,0.6); }
.hero[data-mood="busy"] .mood b { color: var(--gold-hi); }
.hero[data-mood="busy"] .mood-dot { background: var(--gold-hi); animation: busyping 1.4s ease-out infinite; }
.hero[data-mood="busy"] .hero-sun { opacity: 1; filter: blur(10px) brightness(1.5); animation: busyglow 4s ease-in-out infinite alternate; }
.hero[data-mood="busy"] .hero-sky { filter: brightness(1.2) saturate(1.15); }
.hero[data-mood="busy"] .hero-photo { filter: saturate(1) contrast(1.1) brightness(1.05); }
.hero[data-mood="busy"] .crest::before { opacity: 1; filter: blur(30px) brightness(1.6); }
@keyframes busyping { 0% { box-shadow: 0 0 0 0 rgba(247,220,140,0.7); } 100% { box-shadow: 0 0 0 12px rgba(247,220,140,0); } }
@keyframes busyglow { from { transform: translateX(-12%) scale(1); } to { transform: translateX(-12%) scale(1.08); } }

/* ---------- store packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pkg { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform 0.3s var(--ease), border-color 0.25s; }
.pkg:hover { transform: translateY(-5px); border-color: var(--gold); }
.pkg-img { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 120%, rgba(214,166,58,0.3), transparent 60%), #0b0906 center / cover; }
.pkg-body { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
.pkg-body b { font-weight: 700; }
.pkg-body span { font: 400 24px/1 var(--display); color: var(--gold-hi); letter-spacing: 0.03em; white-space: nowrap; }
