/* =================================================================
   BMA — "Afro-Cosmos" layer (v4)
   Loaded after style.css + extras.css. Keeps the brand indigo + gold,
   adds a pan-African palette (terracotta, malachite, Ndebele sky & rose,
   baobab, clay) and turns the whole site into one cinematic night sky.
   ================================================================= */
:root {
  --void: #07061C;
  --night: #0D0A2E;
  --terracotta: #D2643F;
  --malachite: #13A881;
  --sky: #2DB9DA;
  --rose: #E2557E;
  --baobab: #6E3F22;
  --clay: #F1D3AA;
  --ochre: #E59A2F;

  /* theme tokens consumed by style.css */
  --bone: #0B0926;               /* page background */
  --bone-2: rgba(245, 238, 225, .07);
  --ink: #F5EEE1;                /* body text */
  --ink-soft: #B5AFD8;
  --ink-rgb: 245, 238, 225;
  --card: rgba(30, 24, 92, .52);
  --card-2: rgba(244, 182, 63, .1);
  --sel-bg: var(--gold);
  --sel-fg: var(--night);
  --line: rgba(244, 182, 63, .16);
  --glass-blur: blur(14px) saturate(1.2);
  color-scheme: dark;
}

html { background: var(--void); scroll-behavior: auto; }
body { background: transparent; color: var(--ink); overflow-x: clip; }
::selection { background: var(--gold); color: var(--night); }

/* ---------- The sky behind every page ---------- */
#cosmos {
  position: fixed; inset: 0; z-index: -2; width: 100vw; height: 100vh; height: 100lvh;
  pointer-events: none; display: block;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(58, 51, 160, .55), transparent 70%),
    radial-gradient(50% 45% at 10% 70%, rgba(210, 100, 63, .22), transparent 70%),
    radial-gradient(45% 40% at 70% 90%, rgba(19, 168, 129, .16), transparent 70%),
    linear-gradient(180deg, #0B0830 0%, var(--void) 60%, #050414 100%);
}
.cosmos-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Sections float over the sky ---------- */
.section, .tinted, .services-home, .values-band, .voices, .nations, .events-teaser { background: transparent; }
.tinted, .services-home, .voices { position: relative; }
.tinted::before, .services-home::before, .voices::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(22, 18, 74, .45) 18%, rgba(22, 18, 74, .45) 82%, transparent);
}
.cta-band { background: linear-gradient(120deg, rgba(22, 18, 74, .85), rgba(110, 63, 34, .55)); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: var(--bogolan) center / 220px; opacity: .08; pointer-events: none; }
.shop-band { background: linear-gradient(180deg, rgba(13, 10, 46, .2), rgba(22, 18, 74, .75)); }
.ticker { background: rgba(7, 6, 28, .7); backdrop-filter: blur(6px); }
.site-footer { background: rgba(5, 4, 20, .88); backdrop-filter: blur(10px); }
.hero, .banner, .shop-hero { background: transparent !important; }
.hero-glow { background: linear-gradient(90deg, rgba(7, 6, 28, .92) 0%, rgba(7, 6, 28, .55) 38%, transparent 66%); }
@media (max-width: 760px) { .hero-glow { background: linear-gradient(180deg, transparent 0%, rgba(7, 6, 28, .6) 38%, rgba(7, 6, 28, .95) 100%); } }

/* Glass cards everywhere */
.space-card, .tilt-inner, .offer, .event, .passport, .product-card, .co-block, .voice, .ev-card, .pd-details,
.receipt, .pt-way, .drawer-foot, .admin-order, .nw-card, .w3-card, .lb-panel {
  background: var(--card) !important;
  border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ink);
}
.space-card.is-live { background: linear-gradient(150deg, rgba(210, 100, 63, .35), rgba(30, 24, 92, .7)) !important; border-color: rgba(210, 100, 63, .5); }
.tilt-card:hover .tilt-inner { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(244, 182, 63, .35); }
.cart-drawer, .sn-panel { background: #110D3A !important; color: var(--ink); }
.cart-line img, .pc-media, .pd-stage, .receipt-lines img { background: radial-gradient(circle at 50% 40%, #FFF6E6, var(--clay)) !important; }
.icon-btn { background: rgba(245, 238, 225, .1); color: var(--ink); }
.text-link { color: var(--gold); }
.text-link:hover { color: var(--rose); }
.muted, .listeners { color: var(--ink-soft); }
.tag { background: rgba(245, 238, 225, .1); color: var(--ink); }
.btn-ghost-dark { border-color: rgba(245, 238, 225, .6); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--night); }
.chip { border-color: rgba(245, 238, 225, .4); color: var(--ink); }
.value { border-top-color: var(--gold); }
.value .meaning, .symbol { color: var(--malachite); }
.symbol { color: var(--gold); }
.m-num { background: var(--gold); color: var(--night); }
.milestones li::before { background: var(--gold); }
.timeline li[data-type="Workshop"] .event { border-left: 5px solid var(--malachite); }
.timeline li[data-type="AMA"] .event { border-left: 5px solid var(--rose); }
.timeline li[data-type="Meetup"] .event { border-left: 5px solid var(--sky); }
.event { border-left: 5px solid var(--gold); }
.form input:not([type="checkbox"]), .form select, .form textarea,
.co-field input, .co-field select, .co-field textarea, .sn-form input, .admin-login input, .pill span {
  background: rgba(7, 6, 28, .55) !important; color: var(--ink) !important; border-color: rgba(245, 238, 225, .16) !important;
}
.form input:focus, .form select:focus, .form textarea:focus, .co-field input:focus, .sn-form input:focus { border-color: var(--gold) !important; }
.form select option, .co-field select option { background: #110D3A; }
.news-form input[type="email"] { background: rgba(255, 255, 255, .95); color: #1B1650; }
.sn-msg.bot .sn-bubble { background: rgba(245, 238, 225, .08) !important; }
.sn-foot, .sn-form { background: #110D3A !important; }
.notice { color: var(--ink); }
.qty button:hover { background: rgba(245, 238, 225, .08); }
.empty { border-color: rgba(245, 238, 225, .2); }
.news-band { background: linear-gradient(110deg, var(--gold), var(--ochre) 60%, var(--terracotta)); position: relative; }
.news-band::after { content: ""; position: absolute; inset: 0; background: var(--bogolan-dark) center / 200px; opacity: .12; pointer-events: none; }
.news-band .wrap { position: relative; z-index: 1; }
.news-copy, .news-band h2 { color: var(--night); }

/* ---------- Header: glass, compact nav for 9 links ---------- */
.site-header { background: rgba(7, 6, 28, .55); border-bottom: 1px solid rgba(244, 182, 63, .12); view-transition-name: site-header; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--malachite), var(--terracotta), var(--sky), var(--rose), var(--gold));
  transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform .1s linear;
}
.main-nav a.nav-new::after { content: "new"; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; background: var(--terracotta); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
@media (min-width: 961px) and (max-width: 1320px) {
  .main-nav { gap: 0; }
  .main-nav a:not(.btn) { padding: .5rem .45rem; font-size: .9rem; }
  .brand small { display: none; }
  .main-nav a.nav-new::after { display: none; }
}
@media (min-width: 961px) and (max-width: 1100px) { .nav-join { display: none; } }
@media (max-width: 960px) { .main-nav { background: rgba(7, 6, 28, .97); max-height: calc(100svh - 80px); overflow-y: auto; } }

/* ---------- Traditional patterns ---------- */
:root {
  --bogolan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23F1D3AA' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 20h120M0 100h120'/%3E%3Cpath d='M10 30l10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10'/%3E%3Ccircle cx='30' cy='65' r='3' fill='%23F1D3AA'/%3E%3Ccircle cx='60' cy='65' r='9'/%3E%3Ccircle cx='90' cy='65' r='3' fill='%23F1D3AA'/%3E%3Cpath d='M55 60l10 10M65 60l-10 10'/%3E%3Cpath d='M10 90l10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10'/%3E%3C/svg%3E");
  --bogolan-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%230D0A2E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 20h120M0 100h120'/%3E%3Cpath d='M10 30l10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10'/%3E%3Ccircle cx='30' cy='65' r='3' fill='%230D0A2E'/%3E%3Ccircle cx='60' cy='65' r='9'/%3E%3Ccircle cx='90' cy='65' r='3' fill='%230D0A2E'/%3E%3Cpath d='M55 60l10 10M65 60l-10 10'/%3E%3Cpath d='M10 90l10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10 10 10 10-10'/%3E%3C/svg%3E");
}
.kente {
  height: 12px;
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(7,6,28,.55) 6px 7px) ,
    repeating-linear-gradient(90deg,
      var(--gold) 0 44px, var(--night) 44px 50px, var(--malachite) 50px 80px, var(--gold) 80px 88px,
      var(--terracotta) 88px 116px, var(--night) 116px 122px, var(--sky) 122px 136px, var(--night) 136px 142px);
  background-size: auto, 142px 100%;
  animation: kente-drift 18s linear infinite;
  box-shadow: 0 0 24px rgba(244, 182, 63, .25);
}
@keyframes kente-drift { to { background-position: 0 0, 142px 0; } }
.bogolan-band { height: 46px; background: var(--bogolan) center / 92px, linear-gradient(90deg, var(--baobab), #4A2914, var(--baobab)); opacity: .9; }

/* Adinkra glyphs (inline SVG via .adinkra) */
.adinkra { width: 46px; height: 46px; color: var(--gold); display: inline-block; flex: none; }
.adinkra svg { width: 100%; height: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .9rem; font: 600 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.symbol .adinkra { width: 52px; height: 52px; margin-bottom: .7rem; }

/* ---------- Typography with glow ---------- */
h1, h2 { text-wrap: balance; }
.hero h1 { background: linear-gradient(100deg, #FFF6E2 0%, #FFE2A3 40%, var(--gold) 60%, var(--terracotta) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(244, 182, 63, .18)); }
.banner h1 { text-shadow: 0 8px 40px rgba(244, 182, 63, .25); }
.grad-text { background: linear-gradient(90deg, var(--gold), var(--terracotta), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Cinematic reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].revealed { opacity: 1; transform: none; filter: none; }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.section-head h2 { position: relative; }

/* ---------- Page changes: a quiet cross-fade (browsers that support it) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Floating Adinkra / cursor glow ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(244, 182, 63, .12), transparent 60%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Home: "fresh from the timeline" ---------- */
.nw-grid { display: grid; gap: 1.25rem; grid-template-columns: 1.25fr 1fr; align-items: start; }
.nw-list { display: grid; gap: 1rem; }
.nw-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 1.3rem; border-radius: var(--r-lg); text-decoration: none; transition: transform .35s var(--ease), border-color .35s; }
.nw-card:hover { transform: translateX(6px); border-color: rgba(244, 182, 63, .55); }
.nw-date { width: 64px; text-align: center; border-radius: 14px; padding: .55rem 0; background: rgba(244, 182, 63, .12); color: var(--gold); font-size: .78rem; line-height: 1.2; }
.nw-date b { display: block; font: 800 1.5rem/1 var(--display); color: var(--ink); }
.nw-card h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.nw-card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.nw-src { display: inline-block; margin-top: .4rem; font-size: .78rem; color: var(--gold); }
.x-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: rgba(7, 6, 28, .6); min-height: 420px; padding: 1rem; }
.x-embed .x-fallback { display: grid; place-items: center; text-align: center; gap: .8rem; min-height: 380px; color: var(--ink-soft); }
@media (max-width: 900px) { .nw-grid { grid-template-columns: 1fr; } }

/* ---------- Home: web3 + game teasers ---------- */
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(244,182,63,.4); }
.feature h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .4rem; }
.feature p { color: var(--ink-soft); max-width: 42ch; }
.feature .btn { align-self: flex-start; margin-top: .6rem; }
.feature-web3 { background: radial-gradient(80% 70% at 80% 10%, rgba(45, 185, 218, .35), transparent 60%), linear-gradient(160deg, #15124A, #0A0826); }
.feature-game { background: radial-gradient(80% 70% at 20% 10%, rgba(210, 100, 63, .45), transparent 60%), linear-gradient(160deg, #2A1550, #0A0826); }
.feature-art { position: absolute; inset: 0 0 auto 0; height: 62%; z-index: -1; display: grid; place-items: center; }
.feature-art canvas { width: 100%; height: 100%; }
.pulse-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 .6rem; }
.pulse { padding: .35rem .75rem; border-radius: 999px; background: rgba(7, 6, 28, .6); border: 1px solid rgba(45, 185, 218, .35); font-size: .82rem; color: var(--ink); }
.pulse b { color: var(--sky); font-weight: 700; }
.mini-lb { list-style: none; padding: 0; margin: .4rem 0 .8rem; display: grid; gap: .35rem; font-size: .92rem; }
.mini-lb li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem .7rem; border-radius: 10px; background: rgba(7, 6, 28, .5); }
.mini-lb li b { color: var(--gold); }
@media (max-width: 860px) { .feature-duo { grid-template-columns: 1fr; } .feature { min-height: 380px; } }

/* ---------- Network map (nations section) ---------- */
.nations { position: relative; }
.nations::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 30% 50%, rgba(19, 168, 129, .14), transparent 70%); }
.bar i { background: linear-gradient(90deg, var(--malachite), var(--gold), var(--terracotta)); }

/* ---------- Footer ---------- */
.footer-grid h3 { color: var(--gold); }

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  .hero-inner { padding-top: 42vh; }
  .feature { min-height: 360px; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) { .kente { animation: none; } .js [data-reveal] { filter: none; } }

/* =================================================================
   Web3 hub
   ================================================================= */
.w3-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.w3-card { border-radius: 24px; padding: clamp(1.4rem, 3.5vw, 2.2rem); position: relative; overflow: hidden; }
.w3-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.w3-connect { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 .9rem; }
.w3-watch { display: flex; gap: .5rem; flex-wrap: wrap; }
.w3-watch input { flex: 1 1 220px; min-height: 46px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(245,238,225,.2); background: rgba(7,6,28,.6); color: var(--ink); font: inherit; }
.w3-watch input:focus { outline: none; border-color: var(--gold); }
.w3-watch .btn-small { background: var(--gold); color: var(--night); }
.w3-account { margin-top: 1rem; }
.w3-addr-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.w3-addr-row code { font-size: 1.05rem; padding: .3rem .7rem; border-radius: 10px; background: rgba(7,6,28,.6); color: var(--gold); }
.w3-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--malachite); box-shadow: 0 0 12px var(--malachite); }
.w3-dot.watch { background: var(--sky); box-shadow: 0 0 12px var(--sky); }
.w3-bal, .w3-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.1rem 0; }
.w3-bal div, .w3-stats div { padding: .9rem 1rem; border-radius: 16px; background: rgba(7,6,28,.5); border: 1px solid rgba(245,238,225,.08); }
.w3-bal dt, .w3-stats dt { font-size: .78rem; color: var(--ink-soft); }
.w3-bal dd, .w3-stats dd { margin: .2rem 0 0; font: 800 1.45rem/1.1 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.w3-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.w3-pulse { background: radial-gradient(80% 80% at 90% 0%, rgba(45,185,218,.25), transparent 60%), var(--card) !important; }
.w3-pulse dd[data-pulse="height"] { color: var(--sky); }
.w3-beat { display: flex; align-items: center; gap: 3px; height: 40px; margin: .2rem 0 .6rem; }
.w3-beat i { flex: 1; height: 16%; border-radius: 2px; background: linear-gradient(var(--sky), var(--malachite)); opacity: .7; animation: w3beat 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes w3beat { 0%, 100% { height: 14%; } 12% { height: 90%; } 24% { height: 30%; } }
.w3-pulse.beat { animation: w3flash .9s var(--ease); }
@keyframes w3flash { 30% { box-shadow: 0 0 0 2px var(--sky), 0 0 60px rgba(45,185,218,.5); } }

.w3-pass-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.w3-pass-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin: 1.4rem 0; }
.w3-pass-form .full { grid-column: 1 / -1; }
.w3-pass-form label, .w3-pass-form legend { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink-soft); }
.w3-pass-form fieldset { border: 0; padding: 0; margin: 0; }
.w3-pass-form input, .w3-pass-form select { width: 100%; min-height: 48px; padding: 0 .9rem; border-radius: 12px; border: 1px solid rgba(245,238,225,.18); background: rgba(7,6,28,.6); color: var(--ink); font: inherit; }
.w3-pass-form select option { background: #110D3A; }
.w3-pass-form input:focus, .w3-pass-form select:focus { outline: none; border-color: var(--gold); }
.pp-dogs { display: flex; gap: .5rem; flex-wrap: wrap; }
.pp-dog { padding: 0; border-radius: 14px; border: 3px solid transparent; overflow: hidden; cursor: pointer; background: none; transition: transform .2s var(--ease); }
.pp-dog canvas { display: block; width: 64px; height: 64px; image-rendering: pixelated; }
.pp-dog[aria-pressed="true"] { border-color: var(--gold); transform: translateY(-3px); }
.pp-preview { perspective: 1200px; }
.pp-preview canvas { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(244,182,63,.3); transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease); }
.pp-preview:hover canvas { transform: none; }

.w3-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.w3-prop h3 { font-size: 1.2rem; margin: .7rem 0 .4rem; }
.w3-prop-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.w3-opts { display: grid; gap: .5rem; margin: 1rem 0 .5rem; }
.w3-opt { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: .6rem 1rem; border-radius: 14px; border: 1px solid rgba(245,238,225,.16); background: rgba(7,6,28,.55); color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; text-align: left; transition: border-color .2s; }
.w3-opt:hover:not(:disabled) { border-color: var(--gold); }
.w3-opt:disabled { cursor: default; opacity: .7; }
.w3-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(19,168,129,.35), rgba(244,182,63,.3)); transition: width 1s var(--ease); }
.voted .w3-fill { width: var(--p, 0); }
.w3-label, .w3-pct { position: relative; }
.w3-pct { color: var(--gold); }
.w3-opt.mine { border-color: var(--gold); }
.w3-opt.mine .w3-label::after { content: " · your vote"; color: var(--gold); font-weight: 500; font-size: .8rem; }

.w3-safe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.w3-verdict { margin-top: .9rem; padding: .8rem 1rem; border-radius: 14px; font-weight: 600; }
.w3-verdict:empty { display: none; }
.w3-verdict.good { background: rgba(19,168,129,.18); color: #7BE8C6; }
.w3-verdict.bad { background: rgba(226,85,126,.16); color: #FFB3C6; }
.w3-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.w3-rules li { padding: 1rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--terracotta); color: var(--ink-soft); }
.w3-rules b { color: var(--ink); }
@media (max-width: 900px) { .w3-grid, .w3-pass-grid, .w3-safe-grid { grid-template-columns: 1fr; } .pp-preview canvas { transform: none; } }
@media (max-width: 520px) { .w3-pass-form { grid-template-columns: 1fr; } }
.x-embed > a.twitter-timeline { display: none; }
.x-embed.loaded .x-fallback { display: none; }
.x-embed.loaded { padding: 0; min-height: 0; }
.symbol { display: flex; flex-direction: column; align-items: flex-start; }
/* feature cards: art sits on top, copy below */
.feature { justify-content: flex-start; min-height: 0; }
.feature-art { position: relative; inset: auto; height: clamp(170px, 22vw, 220px); margin: calc(-1 * clamp(1.6rem, 4vw, 2.6rem)) calc(-1 * clamp(1.6rem, 4vw, 2.6rem)) 1.2rem; z-index: 0; overflow: hidden; }
.feature-art canvas { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.feature-game .feature-art { background: linear-gradient(180deg, rgba(210,100,63,.15), transparent); }
.feature .tag, .nw-card .tag { align-self: flex-start; justify-self: start; }
.nw-date { align-self: start; }
.nw-card > span:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.w3-prop-head .tag { white-space: nowrap; flex: none; }
@media (max-width: 900px) { .x-embed { min-height: 260px; } .x-embed .x-fallback { min-height: 220px; } }


/* =================================================================
   Classic header with dropdowns (v5)
   ================================================================= */
.site-header { background: rgba(9, 7, 32, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(244, 182, 63, .22); }
.site-header::after { background: var(--gold); height: 2px; }
.nav-row { min-height: 74px; gap: 1.5rem; }
.brand b { font-size: 1.15rem; letter-spacing: -.01em; }
.brand small { letter-spacing: .06em; text-transform: uppercase; font-size: .66rem; color: var(--gold); opacity: .85; }
.main-nav { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.nav-item { position: relative; }
.main-nav .nav-top {
  display: inline-flex; align-items: center; gap: .35rem; height: 44px; padding: 0 .85rem; border: 0; border-radius: 8px; background: none;
  color: var(--on-dark-soft); font: 600 .95rem/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
}
.main-nav .nav-top::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav .nav-top:hover, .nav-item:focus-within > .main-nav .nav-top, .main-nav .nav-top[aria-expanded="true"] { color: var(--on-dark); }
.nav-item.is-current > .main-nav .nav-top { color: var(--gold); }
.nav-item.is-current > .main-nav .nav-top::after, .main-nav .nav-top:hover::after { transform: scaleX(1); }
.chev { transition: transform .2s; opacity: .8; }
.main-nav .nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 290px; padding: .5rem; border-radius: 14px;
  background: #110D36; border: 1px solid rgba(244, 182, 63, .22); box-shadow: 0 24px 50px -16px rgba(0,0,0,.75);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.nav-drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }   /* hover bridge */
.nav-drop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.main-nav .nav-drop a { white-space: normal; color: inherit; display: block; padding: .65rem .85rem; border-radius: 10px; text-decoration: none; border-left: 2px solid transparent; transition: background .15s, border-color .15s; }
.main-nav .nav-drop a b { display: block; font: 600 .95rem/1.25 var(--body); color: var(--on-dark); }
.main-nav .nav-drop a small { display: block; margin-top: .15rem; font-size: .8rem; line-height: 1.35; color: var(--on-dark-soft); }
.main-nav .nav-drop a:hover, .main-nav .nav-drop a:focus-visible { background: rgba(244, 182, 63, .08); border-left-color: var(--gold); }
.main-nav .nav-drop a[aria-current="page"] b { color: var(--gold); }
.nav-item.open > .nav-drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) { .has-drop:hover > .nav-drop { opacity: 1; visibility: visible; transform: none; } .has-drop:hover > .main-nav .nav-top .chev { transform: rotate(180deg); } }
.nav-join { min-height: 42px; padding: .6rem 1.15rem; margin: 0; box-shadow: 0 4px 0 var(--gold-deep); }
.main-nav a.nav-new::after { display: none; }
@media (min-width: 961px) and (max-width: 1180px) {
  .brand small { display: none; }
  .main-nav .nav-top { padding: 0 .6rem; font-size: .9rem; }
  .main-nav { gap: .6rem; }
}
@media (min-width: 961px) and (max-width: 1060px) { .nav-join { display: none; } }

/* phones + tablets: slide-down panel with accordions */
@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: calc(74px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: .8rem;
    padding: .8rem 1.1rem 1.4rem; background: #0B0926; border-bottom: 1px solid rgba(244,182,63,.2);
    max-height: calc(100svh - 74px); overflow-y: auto; transform: translateY(-110%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(245,238,225,.08); }
  .main-nav .nav-top { width: 100%; height: 54px; justify-content: space-between; padding: 0 .3rem; font-size: 1.08rem; color: var(--on-dark); }
  .main-nav .nav-top::after { display: none; }
  .nav-drop { position: static; translate: none; min-width: 0; padding: 0 0 .6rem; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open > .nav-drop { display: block; }
  .main-nav .nav-drop a { padding: .6rem .8rem; font-size: 1rem; }
  .nav-join { width: 100%; }
}

/* breadcrumbs + back to top */
.crumbs-nav { margin-bottom: 1rem; font-size: .85rem; color: var(--on-dark-soft); }
.crumbs-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs-nav li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.crumbs-nav a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs-nav a:hover { color: var(--gold); }
.crumbs-nav [aria-current] { color: var(--gold); }
.to-top { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,182,63,.4); background: rgba(9,7,32,.9); color: var(--gold); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; text-decoration: none; font-size: 1.1rem; }
.to-top.show { opacity: 1; visibility: visible; }
.footer-grid-v5 { grid-template-columns: 1.8fr repeat(5, 1fr); gap: 2rem; }
.footer-grid-v5 .footer-news { grid-column: 1; }
@media (max-width: 1100px) { .footer-grid-v5 { grid-template-columns: repeat(3, 1fr); } .footer-grid-v5 .footer-news { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid-v5 { grid-template-columns: 1fr 1fr; } }
.main-nav a.nav-top { padding: 0 .85rem; color: var(--on-dark-soft); }
.main-nav a.nav-top:hover { background: none; color: var(--on-dark); }
.main-nav .is-current > a.nav-top { color: var(--gold); }
@media (max-width: 960px) { .main-nav a.nav-top { padding: 0 .3rem; color: var(--on-dark); font-size: 1.08rem; } .main-nav .is-current > .nav-top { color: var(--gold); } }
/* Web3: chapter network */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.net-card { padding: 1.3rem 1.3rem 1.2rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .8rem; }
.net-top { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.net-top h3 { margin: 0; font-size: 1.15rem; }
.net-top p { margin: 0; }
.net-flag { font-size: 2rem; line-height: 1; }
.net-count { text-align: right; font-size: .75rem; color: var(--ink-soft); }
.net-count b { display: block; font: 800 1.35rem/1 var(--display); color: var(--gold); }
.net-card .bar { margin: 0; }
.net-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: auto; }
.net-actions .btn-small, .net-new .btn-small { background: var(--gold); color: var(--night); }
.net-new { border-style: dashed; border-color: rgba(244,182,63,.4); background: rgba(244,182,63,.05) !important; }
.net-new h3 { margin: 0; }
.net-new .btn { align-self: flex-start; margin-top: auto; }
.net-ways { list-style: none; counter-reset: w; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.net-ways li { counter-increment: w; position: relative; padding: 1rem 1rem 1rem 3.2rem; border-radius: 16px; background: rgba(7,6,28,.45); color: var(--ink-soft); }
.net-ways li::before { content: counter(w); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font: 800 .85rem var(--display); }
.net-ways b { color: var(--ink); }
@media (max-width: 760px) { .net-ways { grid-template-columns: 1fr; } }

/* =================================================================
   Header v6: compact, solid, single-line, fits every screen
   ================================================================= */
:root { --hdr-h: 64px; }
@media (max-width: 960px) { :root { --hdr-h: 58px; } }
.site-header { position: sticky; top: 0; z-index: 100; background: #0A0826; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid rgba(244,182,63,.25); box-shadow: 0 6px 24px -12px rgba(0,0,0,.8); }
.site-header .nav-row { min-height: var(--hdr-h); height: var(--hdr-h); gap: 1rem; flex-wrap: nowrap; }
.site-header .brand { flex: 0 1 auto; min-width: 0; gap: .55rem; }
.site-header .brand img { width: 36px; height: 36px; flex: none; }
.site-header .brand span { min-width: 0; }
.site-header .brand b { font-size: 1rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header .brand small { font-size: .6rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header .main-nav .nav-top { height: 38px; padding: 0 .7rem; font-size: .9rem; }
.site-header .main-nav .nav-top::after { left: .7rem; right: .7rem; bottom: 4px; }
.site-header .nav-join { min-height: 36px; padding: .45rem .95rem; font-size: .88rem; box-shadow: 0 3px 0 var(--gold-deep); }
.site-header .cart-btn { width: 40px; height: 40px; flex: none; }
.site-header .menu-btn { width: 44px; height: 44px; padding: 11px; flex: none; }

/* dropdown panel: tighter, always on screen */
.site-header .nav-drop { top: calc(100% + 6px); min-width: 250px; padding: .35rem; border-radius: 12px; }
.site-header .main-nav .nav-drop a { padding: .5rem .7rem; }
.site-header .main-nav .nav-drop a b { font-size: .9rem; }
.site-header .main-nav .nav-drop a small { font-size: .76rem; }
@media (min-width: 961px) {
  .site-header .nav-item:nth-last-child(-n+2) .nav-drop { left: auto; right: 0; translate: none; }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .site-header .brand small { display: none; }
  .site-header .main-nav .nav-top { padding: 0 .5rem; font-size: .86rem; }
  .site-header .main-nav { gap: .5rem; }
}
@media (min-width: 961px) and (max-width: 1080px) { .site-header .nav-join { display: none; } }

/* phones + tablets */
@media (max-width: 960px) {
  .site-header .brand small { display: none; }
  .site-header .main-nav {
    position: fixed; top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: auto; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    max-height: calc(100dvh - var(--hdr-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain;
    padding: .4rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); background: #0A0826; box-shadow: 0 24px 40px -10px rgba(0,0,0,.8);
  }
  .site-header .main-nav .nav-top { height: 50px; font-size: 1rem; padding: 0 .2rem; }
  .site-header .main-nav .nav-drop a { padding: .55rem .7rem; }
  .site-header .nav-join { width: 100%; min-height: 46px; font-size: 1rem; margin-top: .4rem; }
}
@media (max-width: 360px) { .site-header .brand b { font-size: .92rem; } .site-header .brand img { width: 32px; height: 32px; } .site-header .wrap { width: calc(100% - 1.5rem); } }
/* while the phone menu is open: no page scroll, no floating buttons on top of it */
html.nav-open { overflow: hidden; }
html.nav-open .sn-launch, html.nav-open .to-top, html.nav-open .cursor-glow { display: none !important; }
.skip:focus { top: calc(var(--hdr-h) + .5rem); }

/* Events: coming up */
.ev-up-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .ev-up-grid { grid-template-columns: 1fr; } }
.ev-next { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ev-next li { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; padding: 1rem; border-radius: 18px; background: var(--card); border: 1px solid rgba(244,182,63,.4); }
.ev-next time { text-align: center; border-radius: 14px; padding: .6rem .3rem; background: var(--gold); color: var(--night); font-weight: 600; font-size: .8rem; line-height: 1.2; }
.ev-next time b { display: block; font: 800 1.8rem/1 var(--display); }
.ev-next time small { display: block; margin-top: .25rem; font-size: .68rem; }
.ev-next h3 { margin: .4rem 0 .3rem; }
.ev-none { padding: 1rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px dashed rgba(244,182,63,.45); color: var(--ink-soft); }
.ev-reg-h { margin: 1.8rem 0 .8rem; font-size: 1.2rem; }
.ev-regular { display: grid; gap: .7rem; }
.ev-reg { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.ev-reg:hover { border-color: var(--gold); transform: translateX(4px); }
.ev-reg .tag { justify-self: start; }
.ev-reg b { font: 700 1.08rem var(--display); }
.ev-reg small { color: var(--gold); font-weight: 600; }
.ev-upcoming .x-embed { position: sticky; top: calc(var(--hdr-h, 64px) + 1rem); }

/* =================================================================
   DDABUJA registration (pop-up + page)
   ================================================================= */
.dd-pop { padding: 0; border: 0; background: transparent; width: min(640px, 100vw); max-width: 100vw; max-height: 100dvh; color: var(--ink); }
.dd-pop::backdrop { background: rgba(3, 2, 14, .78); backdrop-filter: blur(4px); }
.dd-pop[open] { animation: dd-in .45s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dd-pop-inner { position: relative; max-height: min(92dvh, 900px); overflow-y: auto; overscroll-behavior: contain; padding: 1.6rem clamp(1.1rem, 4vw, 2rem) 1rem; border-radius: 24px; background: radial-gradient(90% 60% at 100% 0%, rgba(19,168,129,.22), transparent 60%), radial-gradient(70% 50% at 0% 0%, rgba(244,182,63,.18), transparent 60%), #120E3A; border: 1px solid rgba(244,182,63,.4); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); }
.dd-x { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245,238,225,.2); background: rgba(10,8,38,.8); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dd-badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--malachite); color: #fff; font: 700 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; }
.dd-pop-head h2 { margin: .5rem 0 .3rem; font-size: clamp(2rem, 7vw, 2.8rem); background: linear-gradient(90deg, #FFF6E2, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dd-sub { color: var(--ink-soft); margin: 0 0 .6rem; }
.dd-when { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 1rem; font-size: .88rem; color: var(--gold); }
.dd-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.dd-form .full { grid-column: 1 / -1; }
.dd-f label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.dd-f input, .dd-f select { width: 100%; min-height: 48px; padding: 0 .9rem; border-radius: 12px; border: 1px solid rgba(245,238,225,.2); background: rgba(7,6,28,.6); color: var(--ink); font: inherit; font-size: 16px; }
.dd-f select option { background: #110D3A; }
.dd-f input:focus, .dd-f select:focus { outline: none; border-color: var(--gold); }
.dd-f [aria-invalid="true"] { border-color: var(--rose); }
.dd-note { margin: 0; font-size: .8rem; color: var(--ink-soft); padding: .6rem .8rem; border-radius: 10px; background: rgba(210,100,63,.12); border-left: 3px solid var(--terracotta); }
.dd-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.dd-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--malachite); }
.dd-actions .btn { width: 100%; }
.dd-form .form-msg.ok { color: #7BE8C6; } .dd-form .form-msg.err { color: #FFB3C6; }
.dd-form.is-done .dd-f, .dd-form.is-done .dd-note, .dd-form.is-done .dd-check { opacity: .45; pointer-events: none; }
.dd-later { display: block; margin: .6rem auto 0; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; padding: .5rem; }
@media (max-width: 560px) { .dd-form { grid-template-columns: 1fr; } .dd-pop { margin: auto 0 0; } .dd-pop-inner { border-radius: 22px 22px 0 0; } }
.dd-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }
.dd-card, .dd-side { padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.dd-side { position: sticky; top: calc(var(--hdr-h, 64px) + 1rem); }
.dd-facts { margin: 0 0 1.2rem; display: grid; gap: .6rem; }
.dd-facts dt { font-size: .75rem; color: var(--ink-soft); }
.dd-facts dd { margin: 0; font-weight: 600; color: var(--gold); }
@media (max-width: 900px) { .dd-page { grid-template-columns: 1fr; } .dd-side { position: static; } }

/* #DDOKO */
.ddoko { position: relative; }
.ddoko::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 30%, rgba(210,100,63,.28), transparent 70%), radial-gradient(50% 60% at 10% 80%, rgba(244,182,63,.14), transparent 70%); pointer-events: none; }
.ddoko-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.ddoko-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.ddoko-stats { margin: 0; display: grid; gap: .7rem; }
.ddoko-stats div { display: flex; flex-direction: column; padding: 1rem 1.2rem; border-radius: 18px; background: var(--card); border: 1px solid rgba(210,100,63,.45); }
.ddoko-stats dd { margin: 0; font: 800 clamp(1.6rem, 3.4vw, 2.3rem)/1 var(--display); background: linear-gradient(90deg, var(--gold), var(--terracotta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ddoko-stats dt { color: var(--ink-soft); font-size: .9rem; margin-top: .2rem; }
.ddoko-sub { margin: 2.2rem 0 1rem; }
.ddoko-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .8rem; }
.ddoko-shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #07061C; cursor: zoom-in; aspect-ratio: 4 / 5; }
.ddoko-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s var(--ease); }
.ddoko-shot:hover img { transform: scale(1.04); }
.ddoko-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-size: .82rem; text-align: left; }
.ddoko-view { padding: 0; border: 0; background: #07061C; border-radius: 16px; max-width: min(96vw, 900px); max-height: 92dvh; color: var(--ink); }
.ddoko-view::backdrop { background: rgba(0,0,0,.85); }
.ddoko-view img { display: block; max-width: 100%; max-height: 82dvh; margin: 0 auto; }
.ddoko-view p { margin: 0; padding: .7rem 1rem; text-align: center; color: var(--ink-soft); }
.ddoko-proof-cta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--card); border: 1px dashed rgba(210,100,63,.55); }
.ddoko-proof-cta p { margin: 0; flex: 1; min-width: 220px; color: var(--ink-soft); }
.ddoko-proof-cta b { color: var(--ink); }
.ddoko-flame { font-size: 1.8rem; }
.nw-hot { border-color: rgba(210,100,63,.6); }
.nw-hot .nw-date { background: linear-gradient(160deg, var(--terracotta), var(--gold)); color: var(--night); }
.nw-hot .nw-date b { color: var(--night); }
@media (max-width: 860px) { .ddoko-head { grid-template-columns: 1fr; } .ddoko-stats { grid-template-columns: repeat(3, 1fr); } .ddoko-stats div { padding: .8rem; } .ddoko-stats dt { font-size: .76rem; } }

/* ---------- v9: DDABUJA QR codes, tickets and guest list ---------- */
.dd-qr { background: #fff; border-radius: 14px; padding: 6px; line-height: 0; }
.dd-qr svg { width: 100%; height: auto; display: block; }
.dd-scan { display: grid; grid-template-columns: 132px 1fr; gap: 1rem; align-items: center; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.dd-scan h3 { margin: 0 0 .3rem; } .dd-scan p { margin: 0 0 .6rem; font-size: .88rem; }
.dd-pop-scan { display: flex; gap: .9rem; align-items: center; margin: 0 0 1rem; padding: .7rem; border-radius: 14px; background: rgba(7,6,28,.5); border: 1px dashed rgba(244,182,63,.4); }
.dd-pop-scan .dd-qr { width: 96px; flex: none; } .dd-pop-scan p { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.dd-when a { color: var(--gold); }
@media (max-width: 760px), (pointer: coarse) { .dd-pop-scan { display: none; } }
.dd-mini-ticket { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; padding: 1rem; border-radius: 16px; background: rgba(19,168,129,.12); border: 1px solid rgba(19,168,129,.5); }
.dd-mini-ticket b { display: block; font-size: 1.15rem; } .dd-mini-ticket span { color: var(--gold); font-weight: 700; font-size: .9rem; } .dd-mini-ticket p { margin: .4rem 0 .7rem; font-size: .86rem; color: var(--ink-soft); }
.dd-ticket-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dd-ticket { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: center; max-width: 900px; margin: 0 auto; padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: 26px; border: 2px dashed rgba(244,182,63,.6); background: radial-gradient(80% 80% at 100% 0%, rgba(19,168,129,.22), transparent 60%), var(--card); }
.dd-ticket h2 { margin: .5rem 0 .2rem; font-size: clamp(1.7rem, 5vw, 2.4rem); }
.dd-ticket-ref { margin: 0 0 1rem; color: var(--gold); letter-spacing: .06em; }
.dd-ticket-qr { text-align: center; } .dd-ticket-qr small { display: block; margin-top: .5rem; color: var(--ink-soft); }
@media (max-width: 700px) { .dd-ticket { grid-template-columns: 1fr; } .dd-ticket-qr { order: -1; max-width: 260px; margin: 0 auto; } .dd-mini-ticket { grid-template-columns: 110px 1fr; } }
@media print { .site-header, .site-footer, #register, #guests, .page-banner, .dd-ticket-actions, #dd-pop, canvas { display: none !important; } body { background: #fff !important; color: #000 !important; } .dd-ticket { border-color: #000; background: #fff; } }
.dd-guest-tools { margin: 0 0 1rem; max-width: 360px; }
.dd-guest-tools input { width: 100%; min-height: 46px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,6,28,.6); color: var(--ink); font: inherit; font-size: 16px; }
.dd-guests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; counter-reset: g; }
.dd-guests li { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; min-width: 0; }
.dd-guests li > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-guests li[hidden] { display: none; }
.dd-ini { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #0D0A2E; background: hsl(calc(var(--h) * 60 + 30) 80% 62%); }
.dd-more { margin-top: 1rem; } .dd-empty { padding: 1.4rem; border-radius: 16px; border: 1px dashed var(--line); text-align: center; }
.dd-total { color: var(--gold); font-size: 1.2em; }
/* Spaces hosts */
.host-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.host-card { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start; padding: 1.3rem; border-radius: 22px; background: radial-gradient(80% 80% at 0% 0%, rgba(244,182,63,.14), transparent 60%), var(--card); border: 1px solid var(--line); }
.host-card:first-child { border-color: rgba(244,182,63,.55); }
.host-av { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--terracotta)); box-shadow: 0 0 0 3px rgba(244,182,63,.35); }
.host-av img { width: 100%; height: 100%; object-fit: cover; } .host-av b { font-size: 1.8rem; color: #0D0A2E; }
.host-card h3 { margin: .4rem 0 .3rem; } .host-card h3 small { font-weight: 500; color: var(--ink-soft); font-size: .8em; }
.host-card p { margin: 0 0 .8rem; font-size: .92rem; }
.host-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.host-solo { grid-column: 1 / -1; }
.host-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.feed-title { margin: 0 0 .6rem; color: var(--gold); }
@media (max-width: 520px) { .host-card { grid-template-columns: 56px 1fr; } .host-av { width: 56px; height: 56px; } }
/* daily Spaces line-up */
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
#last24 .grid .slot { height: 100%; }
.slot { position: relative; overflow: hidden; display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.2rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.slot.is-on { border-color: rgba(19,168,129,.7); background: radial-gradient(90% 90% at 0% 0%, rgba(19,168,129,.22), transparent 60%), var(--card); }
.slot-time { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: .6rem .3rem; border-radius: 16px; background: rgba(7,6,28,.6); border: 1px solid rgba(244,182,63,.35); }
.slot-time b { font-family: var(--display, inherit); font-size: 1.35rem; color: var(--gold); line-height: 1.1; }
.slot-time span { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.slot-time small { font-size: .7rem; color: var(--ink-soft); margin-top: .3rem; }
.slot h3 { margin: .35rem 0 .25rem; } .slot h3 small { font-weight: 500; font-size: .75em; color: var(--ink-soft); }
.slot p { margin: 0 0 .7rem; font-size: .9rem; }
.slot .status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.slot .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.slot.is-on .status { color: #7BE8C6; } .slot.is-on .status .dot { background: #13A881; box-shadow: 0 0 0 4px rgba(19,168,129,.25); animation: pulse 1.6s infinite; }
.slot .wave { position: absolute; left: 0; right: 0; bottom: 0; }
.feed-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.feed-tabs button { min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,6,28,.6); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.feed-tabs button small { color: var(--ink-soft); font-weight: 400; }
.feed-tabs button[aria-selected="true"] { background: var(--gold); color: #0D0A2E; border-color: var(--gold); } .feed-tabs button[aria-selected="true"] small { color: #0D0A2E; }
@media (max-width: 420px) { .slot { grid-template-columns: 80px 1fr; } .slot-time b { font-size: 1.1rem; } }
.slot { align-items: start; } .slot-time { min-height: 96px; }
