

:root {
  --bg: #f6f2e9;
  --bg-2: #efebe2;
  --panel: #ebe7de;
  --panel-2: #e6e2d9;
  --panel-3: #e2ded5;
  --line: rgba(159, 70, 33, 0.101);
  --line-soft: rgba(82, 80, 75, 0.079);
  --text: #171512;
  --muted: #63605b;
  --dim: #63605b;
  --lime: #9f4621;
  --lime-2: #9f4621;
  --purple: #2e6b5f;
  --blue: #346a60;
  --orange: #7b5b1d;
  --pink: #984a28;
  --danger: #903022;
  --radius: 3px;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: #f6f2e9; background: var(--lime); }

.pixel { font-family: var(--display); letter-spacing: .01em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.lime { color: var(--lime); }
.purple { color: var(--purple); }
.blue { color: var(--blue); }
.orange { color: var(--orange); }
.hide { display: none !important; }
.container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--lime); box-shadow: none; }

.btn {
  border: 1px solid var(--line-soft); background: rgba(232, 228, 220, 0.518); color: var(--text);
  min-height: 44px; padding: 0 18px; border-radius: 2px; display: inline-flex; align-items: center;
  justify-content: center; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(159, 70, 33, 0.274); background: rgba(224, 220, 212, 0.684); }
.btn:disabled,
.btn:disabled:hover { cursor: not-allowed; opacity: .58; transform: none; box-shadow: none; }
.btn-primary:disabled,
.btn-primary:disabled:hover { color: #63605b; background: #eae6dd; border-color: var(--line); }
.btn-primary { color: #f4f0e7; background: var(--lime); border-color: var(--lime); box-shadow: none; }
.btn-primary:hover { background: #99441f; border-color: #99441f; box-shadow: none; }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 35px; padding: 0 13px; border-radius: 2px; font-size: 12px; }
.btn-icon { width: 42px; padding: 0; }
.btn-block { width: 100%; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 1.8; }

/* Marketing */
.marketing { overflow: hidden; background: radial-gradient(circle at 72% 9%, rgba(151, 198, 188, 0.086), transparent 28%), var(--bg); }
.marketing-nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 74px; border-bottom: 1px solid transparent;
  transition: .25s ease; display: flex; align-items: center;
}
.marketing-nav.scrolled { background: rgba(246, 242, 233, 0.605); backdrop-filter: blur(18px); border-color: var(--line-soft); }
.marketing-nav .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; border-radius: 2px; object-fit: cover; box-shadow: none; }
.brand .pixel { font-size: 18px; }
.marketing-links { display: flex; align-items: center; gap: 31px; color: #494742; font-size: 13px; font-weight: 600; }
.marketing-links a { transition: color .2s ease; }
.marketing-links a:hover { color: var(--lime); }
.nav-actions { display: flex; justify-content: flex-end; gap: 10px; }
.mobile-menu { display: none; }

.hero {
  min-height: 720px; padding: 148px 0 80px; position: relative; display: flex; align-items: center;
  background-image: url("/img/clubhouse.svg");
  background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f2e9 0%, #f6f2e9 39%, rgba(246, 242, 233, 0.677) 48%, rgba(246, 242, 233, 0.086) 72%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 670px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; margin-bottom: 25px;
  color: #35332f; background: rgba(241, 237, 228, 0.533); border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; backdrop-filter: blur(8px);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: none; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(52px, 6vw, 86px); line-height: .91; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 span { color: var(--lime); text-shadow: none; }
.hero-copy > p { max-width: 570px; margin: 27px 0 29px; color: #524f4b; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chain { display: flex; align-items: center; gap: 12px; margin-top: 25px; color: #63605b; font-size: 12px; }
.hero-chain b { color: #42403c; font-weight: 600; }
.chain-symbol { display: grid; place-items: center; width: 26px; height: 26px; color: var(--lime); background: rgba(159, 70, 33, 0.058); border: 1px solid var(--line); border-radius: 2px; }

.marquee { border-block: 1px solid var(--line-soft); background: #f4f0e7; overflow: hidden; }
.marquee-track { width: max-content; padding: 14px 0; display: flex; gap: 42px; animation: ticker 36s linear infinite; }
.marquee-item { color: #63605b; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 42px; }
.marquee-item::after { content: "✦"; color: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 108px 0; position: relative; }
.section-alt { background: #f1ede4; border-block: 1px solid rgba(23, 21, 18, 0.018); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 43px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.section-head p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.feature-card { min-height: 250px; padding: 25px; background: linear-gradient(150deg, rgba(227, 223, 215, 0.634), rgba(239, 235, 226, 0.634)); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(159, 70, 33, 0.202); box-shadow: none; }
.feature-icon { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 49px; color: var(--lime); border: 1px solid var(--line); background: rgba(159, 70, 33, 0.032); border-radius: 3px; }
.feature-card:nth-child(2) .feature-icon { color: var(--purple); background: rgba(46, 107, 95, 0.043); border-color: rgba(46, 107, 95, 0.13); }
.feature-card:nth-child(4) .feature-icon { color: var(--blue); background: rgba(52, 106, 96, 0.043); border-color: rgba(52, 106, 96, 0.13); }
.feature-card:nth-child(5) .feature-icon { color: var(--orange); background: rgba(123, 91, 29, 0.043); border-color: rgba(123, 91, 29, 0.13); }
.feature-card h3 { margin: 0 0 10px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 28px 34px 10px 0; counter-increment: step; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 51px; right: 28px; width: calc(100% - 84px); height: 1px; transform: translateX(50%); background: repeating-linear-gradient(90deg, rgba(159, 70, 33, 0.18) 0 5px, transparent 5px 11px); }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 25px; color: var(--lime); border: 1px solid rgba(159, 70, 33, 0.245); background: #ede9e0; border-radius: 3px; font: 700 19px "Pixelify Sans", monospace; position: relative; z-index: 1; }
.step h3 { margin: 0 0 9px; font-size: 16px; }
.step p { max-width: 210px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.roadmap-section { overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(159, 70, 33, 0.054), transparent 33%), linear-gradient(180deg, #f2eee5, #f6f2e9); border-block: 1px solid rgba(159, 70, 33, 0.05); }
.roadmap-track { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; position: relative; }
.roadmap-card { min-width: 0; min-height: 405px; padding: 22px; position: relative; z-index: 1; background: linear-gradient(155deg, rgba(231, 227, 218, 0.698), rgba(241, 237, 228, 0.698)); border: 1px solid rgba(159, 70, 33, 0.13); border-radius: 3px; box-shadow: none; }
.roadmap-card:not(:last-child)::after { content: "›"; width: 25px; height: 25px; display: grid; place-items: center; position: absolute; z-index: 3; top: 24px; right: -21px; color: var(--lime); background: #f1ede4; border: 1px solid rgba(159, 70, 33, 0.173); border-radius: 50%; font: 700 20px/1 "Pixelify Sans", monospace; }
.roadmap-card header { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.roadmap-phase { display: inline-flex; align-items: center; min-height: 31px; padding: 0 10px; color: var(--lime); background: rgba(159, 70, 33, 0.043); border: 1px solid rgba(159, 70, 33, 0.151); border-radius: 2px; font: 700 12px "Pixelify Sans", monospace; letter-spacing: .04em; text-transform: uppercase; }
.roadmap-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--lime); background: rgba(159, 70, 33, 0.036); border: 1px solid rgba(159, 70, 33, 0.115); border-radius: 2px; box-shadow: none; }
.roadmap-icon .icon { width: 21px; height: 21px; }
.roadmap-card h3 { min-height: 51px; margin: 0 0 19px; color: #9e4620; font-size: clamp(22px,2vw,29px); line-height: 1; }
.roadmap-card ul { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.roadmap-card li { position: relative; padding-left: 19px; color: #46443f; font-size: 12px; line-height: 1.45; }
.roadmap-card li::before { content: "◆"; position: absolute; left: 0; top: .08em; color: var(--lime); font-size: 9px; filter: none); }
.roadmap-end { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 20px; color: #63605b; font: 600 13px "Pixelify Sans", monospace; letter-spacing: .08em; text-transform: uppercase; }
.roadmap-end i { color: var(--lime); font-style: normal; }

.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.use-card { background: #ede9e0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: .25s ease; cursor: pointer; }
.use-card:hover { transform: translateY(-4px); border-color: rgba(159, 70, 33, 0.202); box-shadow: none; }
.use-art { height: 154px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.use-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, var(--glow), transparent 56%), linear-gradient(180deg, #f0ece3, #efebe3); z-index: -2; }
.use-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--glow); opacity: .35; box-shadow: none; z-index: -1; }
.pixel-scene { font-size: 64px; filter: none); transition: transform .25s ease; }
.use-card:hover .pixel-scene { transform: scale(1.08) translateY(-3px); }
.pixel-scene { width: 118px; height: 118px; display: grid; place-items: center; }
.room-sprite { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.room-sprite-tile { fill: rgba(159, 70, 33, 0.648); }
.room-sprite-tile.alt { fill: rgba(23, 21, 18, 0.518); }
.room-sprite text { font-family: var(--display); letter-spacing: 0; dominant-baseline: middle; }
.trend-art .room-sprite { width: 74px; height: 74px; }
.use-art .room-sprite { width: 128px; height: 128px; }
.room-banner .room-sprite { width: 100%; height: 100%; }
.room-badge { position: absolute; top: 11px; left: 11px; padding: 5px 7px; color: var(--badge); background: rgba(246, 242, 233, 0.562); border: 1px solid color-mix(in srgb, var(--badge) 35%, transparent); border-radius: 2px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.use-body { padding: 19px; }
.use-body h3 { margin: 0 0 9px; font-size: 15px; }
.use-body p { min-height: 62px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.use-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: #63605b; font-size: 10px; }
.use-meta strong { color: var(--lime); font-weight: 700; }

.token-card { position: relative; padding: 39px; background: radial-gradient(circle at 88% 0%, rgba(159, 70, 33, 0.065), transparent 29%), #ede9e0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.token-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 38px; }
.token-top h2 { margin: 0 0 10px; font-size: 39px; }
.token-top p { max-width: 510px; margin: 0; color: var(--muted); line-height: 1.65; }
.soon-pill { padding: 9px 12px; color: var(--lime); border: 1px solid var(--line); background: rgba(159, 70, 33, 0.036); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.token-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; }
.token-item { padding: 20px; border-right: 1px solid var(--line-soft); }
.token-item:last-child { border: 0; }
.token-item span { display: block; margin-bottom: 14px; color: #63605b; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.token-item strong { font: 600 16px "Pixelify Sans", monospace; }
.token-item .known { color: var(--lime); }
.token-live-card .token-top { margin-bottom: 27px; }
.token-live-card .token-top h2 { margin-top: 10px; }
.token-live-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.65fr); overflow: hidden; border: 1px solid var(--line-soft); border-radius: 3px; }
.token-live-item { min-width: 0; min-height: 105px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: rgba(245, 241, 232, 0.259); }
.token-live-item + .token-live-item { border-left: 1px solid var(--line-soft); }
.token-live-item > span { color: #63605b; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.token-live-item code { color: #2a2824; font: 600 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; overflow-wrap: anywhere; }
.token-live-link { transition: .2s ease; }
.token-live-link strong { display: flex; align-items: center; gap: 9px; color: var(--lime); font: 600 17px "Pixelify Sans", monospace; }
.token-live-link:hover { background: rgba(159, 70, 33, 0.04); }
.token-live-link:hover strong { color: #873c1c; }

.cta-panel { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 275px; border: 1px solid var(--line); background: #ede9e0; border-radius: 3px; overflow: hidden; }
.cta-small, .cta-big { padding: 47px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.cta-small { border-right: 1px solid var(--line-soft); }
.cta-panel h3 { margin: 0 0 10px; font-size: 25px; }
.cta-panel p { margin: 0 0 24px; color: var(--muted); }
.cta-big { position: relative; background: radial-gradient(circle at 83% 48%, rgba(159, 70, 33, 0.072), transparent 28%); }
.cta-mascot { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); font-size: 94px; filter: none); }

.footer { padding: 72px 0 29px; border-top: 1px solid var(--line-soft); background: #f6f2e9; }
.footer-grid { display: grid; grid-template-columns: 2.1fr repeat(4, 1fr); gap: 34px; }
.footer-brand p { max-width: 250px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-col h4 { margin: 4px 0 18px; color: #2d2a27; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.footer-col a { display: block; margin: 12px 0; color: #63605b; font-size: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 57px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: #63605b; font-size: 10px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 2px; color: var(--muted); }
.socials a:hover { color: var(--lime); border-color: var(--line); }

/* Product app */
.product { min-height: 100vh; background: radial-gradient(circle at 52% -15%, rgba(165, 206, 198, 0.086), transparent 32%), #f6f2e9; }
.app-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.side-nav { position: sticky; top: 0; height: 100vh; padding: 22px 16px; border-right: 1px solid var(--line-soft); background: rgba(246, 242, 233, 0.677); display: flex; flex-direction: column; z-index: 30; }
.side-nav .brand { padding: 0 8px 24px; }
.side-nav .brand-mark { width: 31px; height: 31px; }
.nav-group { display: grid; gap: 4px; }
.app-nav-link { position: relative; min-height: 45px; padding: 0 13px; display: flex; align-items: center; gap: 13px; color: #63605b; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .18s; }
.app-nav-link:hover { color: #282622; background: rgba(23, 21, 18, 0.018); }
.app-nav-link.active { color: var(--lime); background: rgba(159, 70, 33, 0.054); border-color: rgba(159, 70, 33, 0.058); }
.app-nav-link .count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; color: #eeeae1; background: var(--lime); border-radius: 999px; font-size: 9px; font-weight: 900; }
.side-create { margin-top: auto; }
.side-footer { display: flex; gap: 16px; padding: 20px 10px 6px; color: #63605b; }

.app-main { min-width: 0; }
.app-topbar { position: sticky; top: 0; z-index: 25; height: 73px; padding: 0 28px; display: grid; grid-template-columns: minmax(220px, 480px) auto; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line-soft); background: rgba(246, 242, 233, 0.59); backdrop-filter: blur(18px); }
.search-box { position: relative; }
.search-box .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #63605b; width: 16px; }
.search-box input { width: 100%; height: 41px; padding: 0 42px 0 40px; color: #282623; background: #ede9e0; border: 1px solid var(--line-soft); border-radius: 2px; outline: none; font-size: 12px; transition: .2s; }
.search-box input:focus { border-color: rgba(159, 70, 33, 0.202); box-shadow: none; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.top-actions .btn-icon { position: relative; }
.top-count { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; color: #eeeae1; background: var(--lime); border-radius: 999px; font-size: 8px; font-weight: 900; }
.wallet-chip { max-width: 180px; min-height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: #33312d; background: #ede9e0; border: 1px solid var(--line-soft); border-radius: 2px; cursor: pointer; font-size: 11px; font-weight: 700; }
.wallet-chip.pending { border-color: rgba(46, 107, 95, 0.23); box-shadow: none; }
.wallet-avatar { width: 24px; height: 24px; display: grid; place-items: center; color: #eeeae1; background: var(--lime); border-radius: 2px; font-size: 11px; }
.app-content { width: min(1190px, calc(100% - 56px)); margin: 0 auto; padding: 28px 0 70px; }

.app-hero { min-height: 291px; padding: 41px; display: flex; align-items: center; position: relative; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 3px; background-image: url("/img/clubhouse.svg"); background-size: cover; background-position: center; box-shadow: none; }
.app-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f2e9 0%, #f6f2e9 34%, rgba(246, 242, 233, 0.684) 45%, rgba(246, 242, 233, 0.115) 68%); }
.app-hero-copy { position: relative; z-index: 1; max-width: 450px; }
.app-hero h1 { margin: 0 0 14px; font: 600 clamp(34px,4vw,54px)/.95 "Pixelify Sans", monospace; letter-spacing: -.02em; }
.app-hero p { margin: 0 0 22px; color: #585651; font-size: 13px; line-height: 1.6; }
.app-section { margin-top: 35px; }
.app-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.app-section-head h2 { margin: 0; font-size: 18px; }
.text-btn { padding: 0; color: #63605b; background: none; border: 0; cursor: pointer; font-size: 11px; }
.text-btn:hover { color: var(--lime); }

.trending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trend-card { min-width: 0; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; cursor: pointer; transition: .2s; }
.trend-card:hover { transform: translateY(-3px); border-color: rgba(159, 70, 33, 0.173); }
.trend-art { height: 119px; display: grid; place-items: center; font-size: 47px; position: relative; background: radial-gradient(circle at 50% 40%, var(--glow), transparent 55%), #f1ede4; }
.trend-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: var(--glow); opacity: .4; }
.trend-card-body { padding: 13px; }
.trend-card h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.verified { color: var(--lime); font-size: 10px; }
.handle { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; color: #63605b; font-size: 9px; }
.tag { display: inline-flex; margin-top: 10px; padding: 4px 6px; color: var(--tag, var(--purple)); background: color-mix(in srgb, var(--tag, var(--purple)) 9%, transparent); border: 1px solid color-mix(in srgb, var(--tag, var(--purple)) 18%, transparent); border-radius: 2px; font-size: 8px; font-weight: 800; }
.room-card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.room-card-badges .tag { margin-top: 0; }
.stock-reward-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; color: #eeeae2; background: var(--lime); border: 1px solid rgba(159, 70, 33, 0.396); border-radius: 999px; font-size: 8px; font-weight: 850; white-space: nowrap; }
.stock-reward-chip .icon { width: 10px; height: 10px; stroke-width: 2.5; }
.trend-stats { display: flex; gap: 11px; margin-top: 10px; color: #63605b; font-size: 9px; }
.price-up { margin-top: 10px; color: var(--lime); font-size: 9px; }
.market-pending { margin-top: 10px; color: #63605b; font-size: 9px; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr); gap: 19px; margin-top: 35px; }
.feed-tabs { display: flex; gap: 5px; margin: 14px 0; overflow-x: auto; scrollbar-width: none; }
.feed-tab { min-height: 31px; padding: 0 13px; color: #63605b; background: #eeeae2; border: 1px solid var(--line-soft); border-radius: 2px; cursor: pointer; font-size: 10px; font-weight: 700; white-space: nowrap; }
.feed-tab.active { color: var(--lime); border-color: var(--line); background: rgba(159, 70, 33, 0.043); }
.post-card { margin-bottom: 12px; padding: 18px; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.post-head { display: flex; align-items: center; gap: 10px; }
.avatar { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #f5f1e8; background: var(--avatar, var(--lime)); border-radius: 2px; font-size: 18px; box-shadow: none; }
.avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.post-author { min-width: 0; }
.post-author strong { font-size: 11px; }
.post-author span { margin-left: 4px; color: #63605b; font-size: 9px; }
.post-type { margin-left: auto; padding: 4px 6px; color: var(--lime); background: rgba(159, 70, 33, 0.043); border-radius: 2px; font-size: 8px; }
.post-copy { margin: 16px 0 15px; color: #312f2b; font-size: 13px; line-height: 1.65; }
.post-image { width: 100%; aspect-ratio: 2.05; object-fit: cover; border: 1px solid var(--line-soft); border-radius: 2px; }
.post-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; color: #63605b; }
.post-action { display: flex; align-items: center; gap: 5px; background: none; border: 0; color: inherit; cursor: pointer; font-size: 9px; }
.post-action:hover, .post-action.liked { color: var(--pink); }
.post-action.saved { color: var(--orange); }
.post-action.reposted { color: var(--blue); }
.post-action .icon { width: 14px; height: 14px; }
.side-card { margin-bottom: 13px; padding: 17px; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.side-card h3 { margin: 0 0 14px; font-size: 13px; }
.creator-row { display: flex; align-items: center; gap: 9px; margin: 10px 0; }
.creator-row .avatar { width: 29px; height: 29px; border-radius: 2px; font-size: 14px; }
.creator-name { min-width: 0; flex: 1; }
.creator-name strong, .creator-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-name strong { font-size: 10px; }
.creator-name span { color: #63605b; font-size: 8px; margin-top: 3px; }
.follow-btn { min-height: 27px; padding: 0 9px; color: var(--lime); background: rgba(159, 70, 33, 0.043); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; font-size: 8px; font-weight: 800; }
.phood-card { min-height: 190px; background: radial-gradient(circle at 90% 85%, rgba(159, 70, 33, 0.108), transparent 42%), #eeeae1; }
.coin-stack { margin: 23px 0 15px; font-size: 55px; text-align: center; filter: none); }

.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.page-title-row h1 { margin: 0 0 6px; font-size: 31px; }
.page-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.category-pills { display: flex; gap: 7px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.category-pill { min-height: 35px; padding: 0 14px; color: #63605b; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 700; white-space: nowrap; }
.category-pill.active { color: #f2eee5; background: var(--lime); border-color: var(--lime); }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.explore-grid .trend-art { height: 160px; }
.empty-state { grid-column: 1/-1; padding: 70px 30px; text-align: center; border: 1px dashed var(--line-soft); border-radius: 3px; color: var(--muted); }

/* Room */
.room-wrap { width: min(1040px, calc(100% - 56px)); margin: 0 auto; padding: 25px 0 80px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 15px; color: #63605b; font-size: 11px; }
.back-link:hover { color: var(--lime); }
.room-header { overflow: hidden; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.room-banner { height: 164px; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 45%, var(--glow), transparent 48%), linear-gradient(180deg,#ebe7de,#f6f2e9); font-size: 75px; }
.room-banner::before { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, #eeeae1); pointer-events: none; }
.room-banner span { position: relative; z-index: 2; filter: none); }
.room-banner > img, .room-art-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.room-banner > img { position: absolute; inset: 0; }
.trend-art .room-art-image { position: absolute; inset: 0; }
.room-info { position: relative; padding: 20px 24px 22px; }
.room-title-line { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.room-title-line h1 { margin: 8px 0 5px; font-size: 24px; }
.room-handle { color: #63605b; font-size: 10px; }
.room-desc { max-width: 700px; margin: 14px 0 17px; color: #54524d; font-size: 11px; line-height: 1.65; }
.room-metrics { display: flex; flex-wrap: wrap; gap: 23px; }
.room-metric strong, .room-metric span { display: block; }
.room-metric strong { font-size: 13px; }
.room-metric span { margin-top: 4px; color: #63605b; font-size: 9px; }
.room-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.identity-badges, .room-socials, .profile-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.identity-badges .tag { margin-top: 0; }
.identity-badges .stock-reward-chip { padding: 6px 9px; font-size: 9px; }
.stock-reward-metric strong { color: var(--lime); }
.official-badge, .unverified-label { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 2px; font-size: 8px; font-weight: 800; }
.official-badge { color: var(--lime); background: rgba(159, 70, 33, 0.043); border: 1px solid var(--line); }
.unverified-label { color: #63605b; background: rgba(23, 21, 18, 0.022); border: 1px solid var(--line-soft); }
.room-socials { margin-top: 10px; }
.room-social, .social-link { display: inline-flex; align-items: center; gap: 6px; color: #63605b; font-size: 9px; }
.room-social:hover, .social-link:hover { color: var(--lime); }
.social-link .icon { width: 13px; height: 13px; }
.profile-socials { margin-top: 17px; }
.room-tabs { position: sticky; top: 72px; z-index: 20; margin-top: 10px; padding: 7px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; background: rgba(243, 239, 230, 0.677); border: 1px solid var(--line-soft); border-radius: 3px; backdrop-filter: blur(15px); box-shadow: none; }
.room-tab { flex: 1 0 92px; min-height: 39px; display: grid; place-items: center; color: #63605b; background: #ece8df; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 10px; font-weight: 700; transition: .18s ease; }
.room-tab:hover { color: #282623; border-color: var(--line-soft); background: #e5e1d9; }
.room-tab:active { transform: translateY(1px); }
.room-tab.active { color: var(--lime); border-color: rgba(159, 70, 33, 0.158); background: rgba(159, 70, 33, 0.054); box-shadow: none; }
.world-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr); gap: 16px; }
.world-main { display: grid; gap: 16px; }
.world-stage-card { padding: 0; overflow: hidden; }
.world-root { min-height: 780px; background: radial-gradient(circle at top, rgba(159, 70, 33, 0.058), transparent 46%), #f1ede4; }
.world-shell { display: grid; gap: 14px; padding: 14px; }
.world-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.world-header h3 { margin: 3px 0 5px; font-size: 24px; }
.world-header p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; max-width: 54ch; }
.world-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.world-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(237, 233, 224, 0.648); border: 1px solid var(--line-soft); color: var(--text); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.world-music { padding: 0 14px; }
.world-music-frame { width: 1px; min-width: 100%; height: 1px; min-height: 1px; opacity: 0; position: absolute; inset: 0; pointer-events: none; border: 0; }
.world-stage { position: relative; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(241, 237, 228, 0.158), rgba(245, 241, 232, 0.605)); }
.world-canvas { width: 100%; height: auto; display: block; aspect-ratio: 1200 / 760; background: #f1ede4; }
.world-hud { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none; }
.world-hud-row { display: flex; gap: 8px; pointer-events: auto; }
.world-hud-copy { max-width: 320px; padding: 10px 12px; border-radius: 2px; background: rgba(246, 242, 233, 0.547); border: 1px solid rgba(159, 70, 33, 0.13); color: #45423e; font-size: 10px; line-height: 1.5; pointer-events: auto; }
.world-caption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 0 14px 14px; color: var(--muted); font-size: 10px; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.theme-card { width: 100%; text-align: left; padding: 11px 10px; border-radius: 2px; background: #ede9e0; border: 1px solid var(--line-soft); color: var(--text); cursor: pointer; display: grid; gap: 4px; }
.theme-card.active { border-color: rgba(159, 70, 33, 0.302); box-shadow: none; }
.theme-card strong { font-size: 10px; letter-spacing: .02em; }
.theme-card span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.world-avatar-form { display: grid; gap: 10px; }
.world-avatar-form .field span { font-size: 9px; }
.world-avatar-form .field select,
.world-avatar-form .field input[type="color"] { min-height: 42px; }

body.world-open { overflow: hidden; }
body.world-open .world-root {
  position: fixed;
  inset: 0;
  z-index: 90;
  min-height: 100vh;
  background: #f6f2e9;
}
.world-experience { position: relative; width: 100%; height: 100%; overflow: hidden; background: #f6f2e9; color: #171512; }
.world-experience .world-canvas { width: 100%; height: 100%; aspect-ratio: auto; display: block; cursor: crosshair; touch-action: none; image-rendering: auto; }
.world-loading { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 9px; background: radial-gradient(circle at center, #e4e1d8, #f6f2e9 66%); transition: opacity .35s ease, visibility .35s ease; }
.world-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.world-loading span { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(159, 70, 33, 0.13); border-top-color: #9f4621; animation: world-spin .8s linear infinite; }
.world-loading strong { margin-top: 8px; font-family: var(--display); font-size: 24px; }
.world-loading small { color: #63605b; font-size: 11px; }
@keyframes world-spin { to { transform: rotate(360deg); } }
.world-topbar { position: absolute; z-index: 5; top: 18px; left: 20px; right: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; pointer-events: none; }
.world-title { display: grid; gap: 2px; padding: 12px 15px; border: 1px solid rgba(159, 70, 33, 0.158); border-radius: 3px; background: rgba(246, 242, 233, 0.547); box-shadow: none; backdrop-filter: blur(12px); }
.world-title strong { font-size: 17px; }
.world-title small { color: #5f5d58; font-size: 10px; }
.world-top-actions { display: flex; gap: 9px; pointer-events: auto; }
.world-control,
.world-exit { min-height: 42px; padding: 0 15px; border: 1px solid rgba(23, 21, 18, 0.13); border-radius: 2px; background: rgba(246, 242, 233, 0.562); color: #171512; font: 700 11px inherit; cursor: pointer; backdrop-filter: blur(12px); }
.world-control:hover { border-color: rgba(159, 70, 33, 0.396); color: #9f4621; }
.world-control:disabled { opacity: .48; cursor: default; }
.world-control.active { border-color: #9f4621; color: #9f4621; box-shadow: none; }
.world-exit { border-color: rgba(159, 70, 33, 0.346); background: #9f4621; color: #f6f2e9; }
.world-exit:hover { background: #80391a; }
.world-status { position: absolute; z-index: 4; left: 20px; top: 112px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 999px; background: rgba(246, 242, 233, 0.518); border: 1px solid rgba(23, 21, 18, 0.072); color: #62605b; font-size: 10px; backdrop-filter: blur(10px); }
.world-status b { color: #181613; }
.world-status span:last-child { padding-left: 8px; border-left: 1px solid rgba(23, 21, 18, 0.086); }
.world-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #9f4621; box-shadow: none; }
.world-voice-dock { position: absolute; z-index: 6; left: 50%; bottom: 70px; display: flex; align-items: center; gap: 7px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid rgba(159, 70, 33, 0.216); border-radius: 3px; background: rgba(246, 242, 233, 0.648); box-shadow: none; transform: translateX(-50%); backdrop-filter: blur(14px); }
.world-voice-dock[hidden] { display: none; }
.world-voice-state { display: flex; align-items: center; gap: 7px; padding: 0 8px 0 3px; color: #282622; font-size: 10px; white-space: nowrap; }
.world-voice-state > span { width: 7px; height: 7px; border-radius: 50%; background: #9f4621; box-shadow: none; }
.world-voice-dock > button { min-height: 38px; padding: 0 11px; border: 1px solid rgba(23, 21, 18, 0.094); border-radius: 2px; background: rgba(23, 21, 18, 0.043); color: #201e1b; cursor: pointer; }
.world-voice-dock > button span { margin-right: 5px; }
.world-voice-dock > button b { font-size: 9px; }
.world-voice-dock > button.active { border-color: #9f4621; background: rgba(159, 70, 33, 0.094); color: #9f4621; }
.world-voice-dock > button:disabled { opacity: .48; cursor: default; }
.world-voice-dock > .world-voice-leave { border-color: rgba(128, 43, 30, 0.252); color: #6b2419; }
.world-voice-device { display: flex; align-items: center; gap: 6px; color: #63605b; font-size: 9px; }
.world-voice-device select { width: min(170px, 25vw); height: 38px; padding: 0 26px 0 9px; border: 1px solid rgba(23, 21, 18, 0.094); border-radius: 2px; background: #ece8df; color: #292724; font-size: 9px; }
.world-crosshair { position: absolute; z-index: 3; left: 50%; top: 50%; width: 8px; height: 8px; border: 1px solid rgba(23, 21, 18, 0.396); border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; opacity: .65; }
.world-chatbox { position: absolute; z-index: 5; right: 20px; bottom: 58px; width: min(360px, calc(100vw - 40px)); height: 300px; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid rgba(159, 70, 33, 0.144); border-radius: 3px; overflow: hidden; background: rgba(246, 242, 233, 0.576); box-shadow: none; backdrop-filter: blur(14px); transition: height .2s ease; }
.world-chatbox > header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(23, 21, 18, 0.072); }
.world-chatbox > header button { width: 28px; height: 28px; border: 0; border-radius: 2px; background: rgba(23, 21, 18, 0.058); color: #292723; cursor: pointer; }
.world-chat-messages { min-height: 0; overflow-y: auto; padding: 11px 13px; display: grid; align-content: start; gap: 9px; }
.world-chat-messages div { display: grid; gap: 2px; }
.world-chat-messages b { color: #9f4621; font-size: 10px; }
.world-chat-messages span,
.world-chat-messages p { margin: 0; color: #2c2a26; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.world-chat-messages p { color: #63605b; }
.world-chatbox form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid rgba(23, 21, 18, 0.072); }
.world-chatbox input { min-width: 0; height: 40px; padding: 0 12px; border: 1px solid rgba(23, 21, 18, 0.086); border-radius: 2px; background: rgba(239, 235, 227, 0.677); color: white; outline: 0; }
.world-chatbox input:focus { border-color: #9f4621; }
.world-chatbox form button { padding: 0 14px; border: 0; border-radius: 2px; background: #9f4621; color: #f6f2e9; font-weight: 800; cursor: pointer; }
.world-chatbox.collapsed { height: 53px; }
.world-chatbox.collapsed .world-chat-messages,
.world-chatbox.collapsed form { display: none; }
.world-customizer { position: absolute; z-index: 7; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); padding: 20px; overflow-y: auto; background: rgba(246, 242, 233, 0.691); border-left: 1px solid rgba(159, 70, 33, 0.158); box-shadow: none; transform: translateX(105%); transition: transform .24s ease; backdrop-filter: blur(18px); }
.world-customizer.open { transform: translateX(0); }
.world-customizer > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.world-customizer > header div { display: grid; gap: 5px; }
.world-customizer > header strong { font-size: 18px; }
.world-customizer > header button { width: 38px; height: 38px; border: 1px solid rgba(23, 21, 18, 0.101); border-radius: 2px; background: rgba(23, 21, 18, 0.043); color: #171512; font-size: 21px; cursor: pointer; }
.world-customizer form { display: grid; gap: 18px; }
.world-customizer fieldset { display: grid; gap: 12px; margin: 0; padding: 15px; border: 1px solid rgba(23, 21, 18, 0.079); border-radius: 3px; }
.world-customizer legend { padding: 0 8px; color: #9f4621; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.world-customizer label { display: grid; gap: 6px; color: #63605b; font-size: 10px; }
.world-customizer input,
.world-customizer select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid rgba(23, 21, 18, 0.094); border-radius: 2px; background: #ebe7de; color: #171512; outline: 0; }
.world-customizer input[type="color"] { padding: 5px; }
.world-customizer input:focus,
.world-customizer select:focus { border-color: #9f4621; }
.world-custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.world-item-studio > p,
.world-item-studio > small { margin: 0; color: #63605b; font-size: 10px; line-height: 1.55; }
.world-studio-action { min-height: 42px; border: 1px solid rgba(159, 70, 33, 0.252); border-radius: 2px; background: rgba(159, 70, 33, 0.072); color: #9f4621; font-weight: 800; cursor: pointer; }
.world-item-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; max-height: 150px; overflow-y: auto; }
.world-item-list > p { grid-column: 1 / -1; margin: 0; padding: 10px; border: 1px dashed rgba(23, 21, 18, 0.086); border-radius: 2px; color: #63605b; font-size: 10px; text-align: center; }
.world-item-list button { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 2px; background: #ede9e0; color: #383632; font-size: 9px; text-align: left; cursor: pointer; }
.world-item-list button.selected { border-color: #9f4621; color: #9f4621; }
.world-item-list button span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 3px; background: var(--item-color); box-shadow: none; }
.world-item-actions { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 7px; }
.world-item-actions button { min-height: 36px; padding: 5px; border: 1px solid rgba(23, 21, 18, 0.086); border-radius: 2px; background: rgba(23, 21, 18, 0.036); color: #2a2824; font-size: 9px; cursor: pointer; }
.world-studio-notice { position: absolute; z-index: 12; top: 92px; left: 50%; max-width: min(440px, calc(100vw - 30px)); transform: translateX(-50%); padding: 11px 15px; border: 1px solid rgba(159, 70, 33, 0.252); border-radius: 2px; background: rgba(246, 242, 233, 0.677); color: #262420; font-size: 11px; box-shadow: none; }
.world-save { min-height: 46px; border: 0; border-radius: 2px; background: #9f4621; color: #f6f2e9; font-weight: 900; cursor: pointer; }
.world-instructions { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 10px 14px; border: 1px solid rgba(23, 21, 18, 0.086); border-radius: 999px; background: rgba(246, 242, 233, 0.518); color: #63605b; font-size: 10px; white-space: nowrap; backdrop-filter: blur(10px); }
.world-instructions b { color: #171512; }
.world-instructions span { margin: 0 5px; color: #9f4621; }
.world-audio { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.world-audio iframe { width: 1px; height: 1px; border: 0; }
.world-voice-audio { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.world-live-screens { position: absolute; z-index: 3; inset: 0; overflow: hidden; pointer-events: none; }
.world-live-tv { position: absolute; min-width: 42px; min-height: 30px; overflow: hidden; border: 2px solid #e8e4dc; border-radius: 3px; background: #f6f2e9; box-shadow: none; transform-origin: center; }
.world-live-tv iframe { width: 100%; height: 100%; border: 0; background: #f6f2e9; pointer-events: none; }
.world-live-tv > span { position: absolute; top: 4px; left: 4px; max-width: calc(100% - 8px); padding: 2px 5px; overflow: hidden; border-radius: 3px; background: rgba(246, 242, 233, 0.562); color: #9f4621; font-size: clamp(5px, .65vw, 8px); font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.world-media-panel { position: absolute; z-index: 8; inset: 72px 72px 58px; display: none; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(159, 70, 33, 0.202); border-radius: 3px; background: #f6f2e9; box-shadow: none; }
.world-media-panel.open { display: grid; }
.world-media-panel header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #ece8df; }
.world-media-panel header button { width: 34px; height: 34px; border: 1px solid rgba(23, 21, 18, 0.101); border-radius: 2px; background: rgba(23, 21, 18, 0.043); color: white; font-size: 20px; cursor: pointer; }
.world-media-panel iframe { width: 100%; height: 100%; border: 0; background: #f6f2e9; }
.world-media-panel > a { padding: 10px 14px; color: #9f4621; font-size: 10px; text-align: center; background: #ece8df; }
.world-control-icon { display: inline-grid; place-items: center; font-size: 15px; line-height: 1; }
.world-control-label { margin-left: 5px; }
.world-mobile-controls { display: none; }

@media (max-width: 720px) {
  .world-topbar { top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); align-items: start; }
  .world-title { min-width: 0; max-width: calc(100% - 184px); padding: 9px 11px; }
  .world-title .eyebrow,
  .world-title small { display: none; }
  .world-title strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .world-top-actions { gap: 5px; }
  .world-control,
  .world-exit { width: 40px; min-width: 40px; min-height: 40px; padding: 0; font-size: 0; }
  .world-control-icon { font-size: 16px; }
  .world-control-label { display: none; }
  .world-status { left: max(10px, env(safe-area-inset-left)); top: calc(max(10px, env(safe-area-inset-top)) + 50px); max-width: calc(100vw - 20px); }
  .world-status span:last-child { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .world-voice-dock { left: auto; right: max(10px, env(safe-area-inset-right)); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 104px); width: min(226px, calc(100vw - 176px)); max-height: 164px; flex-wrap: wrap; justify-content: flex-end; padding: 7px; transform: none; }
  .world-voice-state { width: 100%; justify-content: flex-end; padding: 1px 4px 2px; }
  .world-voice-dock > button { min-width: 44px; min-height: 42px; padding: 0 8px; }
  .world-voice-dock > button b { display: none; }
  .world-voice-dock > button span { margin: 0; font-size: 16px; }
  .world-voice-device { order: 5; width: 100%; }
  .world-voice-device span { display: none; }
  .world-voice-device select { width: 100%; height: 40px; font-size: 11px; }
  .world-chatbox { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100vw - 20px); height: min(52dvh, 320px); }
  .world-chatbox.collapsed { width: 138px; height: 48px; }
  .world-chatbox > header { min-height: 48px; padding: 8px 10px 8px 13px; }
  .world-chatbox > header button { width: 34px; height: 34px; }
  .world-chatbox input { height: 44px; font-size: 16px; }
  .world-chatbox form button { min-width: 58px; min-height: 44px; }
  .world-mobile-controls { position: absolute; z-index: 5; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); width: 142px; height: 94px; display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(2, 44px); gap: 6px; pointer-events: auto; transition: opacity .18s ease; }
  .world-mobile-controls button { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(23, 21, 18, 0.13); border-radius: 3px; color: #171512; background: rgba(246, 242, 233, 0.562); box-shadow: none; font-size: 14px; backdrop-filter: blur(10px); touch-action: none; user-select: none; }
  .world-mobile-controls button.active { color: #f6f2e9; border-color: #9f4621; background: #9f4621; transform: scale(.96); }
  .world-mobile-controls button:nth-child(1) { grid-column: 2; grid-row: 1; }
  .world-mobile-controls button:nth-child(2) { grid-column: 1; grid-row: 2; }
  .world-mobile-controls button:nth-child(3) { grid-column: 2; grid-row: 2; }
  .world-mobile-controls button:nth-child(4) { grid-column: 3; grid-row: 2; }
  .world-chatbox:not(.collapsed) ~ .world-mobile-controls { opacity: 0; pointer-events: none; }
  .world-instructions { display: none; }
  .world-crosshair { opacity: .32; }
  .world-customizer { width: 100vw; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-left: 0; }
  .world-customizer > header { position: sticky; z-index: 2; top: -16px; margin: -16px -16px 18px; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); background: rgba(246, 242, 233, 0.698); }
  .world-customizer input,
  .world-customizer select { min-height: 46px; font-size: 16px; }
  .world-item-list { grid-template-columns: 1fr; }
  .world-media-panel { inset: max(68px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); }
  .world-save { min-height: 50px; }
}
.chat-panel.compact { min-height: 0; }
.room-side .members-grid .member-card .avatar { width: 36px; height: 36px; }
.room-body { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(240px,.7fr); gap: 16px; margin-top: 16px; }
.content-card { padding: 19px; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.content-card + .content-card { margin-top: 12px; }
.content-card h3 { margin: 0 0 14px; font-size: 13px; }
.pinned { border-color: rgba(159, 70, 33, 0.137); }
.pinned-label { display: flex; align-items: center; gap: 7px; color: var(--lime); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pinned p { margin: 13px 0 0; color: #3c3a36; font-size: 12px; line-height: 1.65; }
.module-list { display: grid; gap: 8px; }
.module-row { min-height: 53px; padding: 0 12px; display: flex; align-items: center; gap: 11px; background: #eae6de; border: 1px solid var(--line-soft); border-radius: 2px; cursor: pointer; }
.module-icon { width: 31px; height: 31px; display: grid; place-items: center; color: var(--lime); background: rgba(159, 70, 33, 0.043); border-radius: 2px; }
.module-name { flex: 1; }
.module-name strong, .module-name span { display: block; }
.module-name strong { font-size: 10px; }
.module-name span { margin-top: 3px; color: #63605b; font-size: 8px; }
.online { color: var(--lime); font-size: 8px; }
.chart { height: 95px; position: relative; overflow: hidden; }
.chart svg { width: 100%; height: 100%; }
.price-line { display: flex; justify-content: space-between; align-items: center; }
.price-line strong { font-size: 25px; }
.price-line span { color: var(--lime); font-size: 10px; }
.market-card { text-align: center; }
.market-card > p { margin: 0 0 16px; color: #63605b; font-size: 9px; line-height: 1.6; }
.market-empty-icon, .market-modal-icon { width: 48px; height: 48px; margin: 14px auto; display: grid; place-items: center; color: #63605b; background: #e9e5dc; border: 1px solid var(--line-soft); border-radius: 2px; }
.market-modal-icon { width: 62px; height: 62px; color: var(--lime); }
.module-row:disabled { opacity: .6; cursor: not-allowed; }
.compact-empty { margin-top: 13px; padding: 17px; color: #63605b; background: #eae6de; border: 1px dashed var(--line-soft); border-radius: 2px; font-size: 10px; text-align: center; }

.chat-panel { display: grid; grid-template-rows: 1fr auto; min-height: 570px; padding: 0; overflow: hidden; }
.chat-list { padding: 19px; overflow-y: auto; max-height: 620px; }
.chat-msg { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 20px; }
.chat-msg .avatar { width: 31px; height: 31px; font-size: 14px; }
.chat-bubble strong { font-size: 10px; }
.chat-time { margin-left: 7px; color: #63605b; font-size: 8px; }
.chat-bubble p { margin: 6px 0 0; color: #3d3a36; font-size: 11px; line-height: 1.55; }
.reaction { display: inline-flex; margin-top: 7px; padding: 4px 7px; background: #e4e1d8; border: 1px solid var(--line-soft); border-radius: 999px; color: #595652; font-size: 9px; }
.chat-composer { padding: 12px; display: flex; gap: 8px; border-top: 1px solid var(--line-soft); background: #efebe2; }
.chat-composer input { min-width: 0; flex: 1; height: 41px; padding: 0 13px; color: var(--text); background: #e9e5dd; border: 1px solid var(--line-soft); border-radius: 2px; outline: none; font-size: 11px; }
.chat-composer input:focus { border-color: rgba(159, 70, 33, 0.18); }
.chat-empty { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #63605b; text-align: center; }
.chat-empty > div { width: 48px; height: 48px; display: grid; place-items: center; color: var(--lime); background: rgba(159, 70, 33, 0.036); border: 1px solid var(--line); border-radius: 3px; }
.chat-empty h3 { margin: 17px 0 7px; color: #282623; }
.chat-empty p { margin: 0; font-size: 10px; }
.comment-thread { margin: 14px 0 18px; display: grid; gap: 10px; max-height: 280px; overflow: auto; }
.comment-target { margin-bottom: 15px; }
.members-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.member-card { padding: 12px; display: flex; align-items: center; gap: 10px; background: #eae6de; border: 1px solid var(--line-soft); border-radius: 2px; }
.member-card .creator-name { flex: 1; }
.role { color: var(--lime); font-size: 8px; }

.notification-list { display: grid; gap: 9px; }
.notification { min-height: 74px; padding: 14px; display: flex; align-items: center; gap: 13px; color: inherit; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; cursor: pointer; text-align: left; appearance: none; width: 100%; }
.notification.unread { border-color: rgba(159, 70, 33, 0.122); background: linear-gradient(90deg, rgba(159, 70, 33, 0.025), #eeeae1 30%); }
.notification-copy { min-width: 0; flex: 1; }
.notification-copy p { margin: 0 0 5px; color: #3f3c38; font-size: 11px; line-height: 1.45; }
.notification-copy span { color: #63605b; font-size: 9px; }
.notification-time { color: #63605b; font-size: 8px; white-space: nowrap; }
.profile-card { padding: 27px; background: linear-gradient(135deg,#e6e2d9,#eeeae1); border: 1px solid var(--line-soft); border-radius: 3px; }
.profile-card .avatar { width: 74px; height: 74px; font-size: 36px; border-radius: 3px; }
.profile-card h1 { margin: 17px 0 4px; font-size: 24px; }
.profile-stats { display: flex; gap: 25px; margin-top: 20px; }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { font-size: 14px; }
.profile-stats span { margin-top: 4px; color: #63605b; font-size: 9px; }
.ledger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ledger-card { padding: 15px; background: #ece8df; border: 1px solid var(--line-soft); border-radius: 3px; }
.ledger-card span { display: block; color: #63605b; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.ledger-card strong { display: block; margin-top: 10px; font: 700 18px "Pixelify Sans", monospace; }
.ledger-card p { margin: 8px 0 0; color: #63605b; font-size: 10px; line-height: 1.55; }
.profile-ledger { margin-top: 18px; }
.settings-card { overflow: hidden; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.settings-section { padding: 23px; border-bottom: 1px solid var(--line-soft); }
.settings-section h2 { margin: 0 0 8px; font-size: 15px; }
.settings-section > p { margin: 0 0 19px; color: #63605b; font-size: 9px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 11px; }
.toggle-row small { margin-top: 5px; color: #63605b; font-size: 9px; }
.toggle-row input { width: 18px; height: 18px; accent-color: var(--lime); }
.settings-actions { padding: 18px 23px; display: flex; gap: 9px; }
.form-error { min-height: 17px; padding: 0 23px 14px; color: var(--danger); font-size: 10px; }
.media-editor { display: flex; align-items: center; gap: 18px; }
.media-preview { width: 84px; height: 84px; border-radius: 3px; font-size: 38px; }
.media-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.upload-status { width: 100%; color: #63605b; font-size: 9px; line-height: 1.5; }
.upload-status.error { color: var(--danger); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.banner-upload-preview { width: 100%; aspect-ratio: 8 / 3; display: grid; place-items: center; overflow: hidden; color: #f6f2e9; background: radial-gradient(circle at 50% 45%, #246c5e, transparent 48%), #f1ede4; border: 1px solid var(--line-soft); border-radius: 3px; font-size: 62px; }
.banner-upload-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.empty-icon { width: 52px; height: 52px; margin: 0 auto 17px; display: grid; place-items: center; color: var(--lime); background: rgba(159, 70, 33, 0.036); border: 1px solid var(--line); border-radius: 3px; }
.empty-state h2 { margin: 0 0 8px; color: #292724; font-size: 16px; }
.empty-state p { margin: 0; color: #63605b; font-size: 10px; }

.mobile-bottom { display: none; }

/* Modal and toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(246, 242, 233, 0.562); backdrop-filter: blur(9px); animation: fade .16s ease; }
.modal { width: min(490px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; padding: 25px; background: #ece8df; border: 1px solid rgba(159, 70, 33, 0.13); border-radius: 3px; box-shadow: none; animation: pop .2s ease; }
.modal-lg { width: min(660px, 100%); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.modal-head h2 { margin: 0 0 7px; font-size: 21px; }
.modal-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.close-btn { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; color: #63605b; background: #e5e2d9; border: 1px solid var(--line-soft); border-radius: 2px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 7px; margin-bottom: 13px; }
.field.full { grid-column: 1/-1; }
.field label { color: #63605b; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.field input, .field textarea, .field select { width: 100%; color: #1c1a16; background: #e7e3db; border: 1px solid var(--line-soft); border-radius: 2px; outline: none; font-size: 11px; }
.field input, .field select { height: 42px; padding: 0 12px; }
.field textarea { min-height: 92px; padding: 11px 12px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(159, 70, 33, 0.216); }
.field select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#63605b 50%),linear-gradient(135deg,#63605b 50%,transparent 50%); background-position: calc(100% - 16px) 17px,calc(100% - 11px) 17px; background-size:5px 5px,5px 5px; background-repeat:no-repeat; }
.wallet-option { width: 100%; min-height: 69px; margin-bottom: 9px; padding: 0 15px; display: flex; align-items: center; gap: 13px; color: #282622; background: #e7e3db; border: 1px solid var(--line-soft); border-radius: 2px; cursor: pointer; text-align: left; }
.wallet-option:hover { border-color: rgba(159, 70, 33, 0.194); }
.wallet-option-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #eeeae1; background: var(--lime); border-radius: 2px; font-size: 19px; }
.wallet-option-copy { flex: 1; }
.wallet-option-copy strong, .wallet-option-copy span { display: block; }
.wallet-option-copy strong { font-size: 12px; }
.wallet-option-copy span { margin-top: 4px; color: #63605b; font-size: 9px; }
.notice { margin: 14px 0; padding: 12px; color: #55524e; background: rgba(52, 106, 96, 0.036); border: 1px solid rgba(52, 106, 96, 0.101); border-radius: 2px; font-size: 9px; line-height: 1.55; }
.trade-summary { margin: 18px 0; padding: 15px; background: #e7e3db; border: 1px solid var(--line-soft); border-radius: 2px; }
.trade-row { display: flex; justify-content: space-between; margin: 10px 0; color: #63605b; font-size: 10px; }
.trade-row strong { color: #282622; }
.trade-row.total { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.trade-row.total strong { color: var(--lime); font-size: 14px; }
.module-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 0 0 18px; }
.module-select { min-width: min(360px, 100%); margin: 0; }
.module-select span { color: #63605b; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.module-select select { margin-top: 7px; }
.module-balance { padding: 14px 16px; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; min-width: 170px; }
.module-balance strong { display: block; font: 700 18px "Pixelify Sans", monospace; }
.module-balance span { display: block; margin-top: 5px; color: #63605b; font-size: 9px; }
.module-page-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.75fr); gap: 16px; }
.module-catalog { display: grid; gap: 12px; }
.module-card { padding: 16px; background: #eeeae1; border: 1px solid var(--line-soft); border-radius: 3px; }
.module-card.installed { border-color: rgba(159, 70, 33, 0.115); }
.module-card-top { display: flex; gap: 12px; }
.module-card-top .module-icon { margin-top: 1px; }
.module-card h3 { margin: 0 0 5px; font-size: 14px; }
.module-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.module-card-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 13px 0; color: #63605b; font-size: 9px; }
.module-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.module-row-actions { display: flex; gap: 8px; margin-left: auto; }
.module-row-actions .text-btn { font-size: 10px; }
.module-enabled { border-color: rgba(159, 70, 33, 0.122); }
.module-disabled { opacity: .84; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { width: 100%; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #23211d; background: none; border: 0; cursor: pointer; text-align: left; font-size: 12px; font-weight: 700; }
.faq-a { display: none; padding: 0 25px 16px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
#toast-root { position: fixed; z-index: 200; right: 19px; bottom: 19px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: 350px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; color: #262320; background: #e6e3da; border: 1px solid rgba(159, 70, 33, 0.158); border-radius: 2px; box-shadow: none; font-size: 10px; animation: toast-in .25s ease; }
.toast::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.97) translateY(5px); opacity: 0; } }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1100px) {
  .marketing-links { gap: 18px; }
  .feature-grid, .rooms-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card:nth-child(n+4), .use-card:nth-child(n+4) { min-height: auto; }
  .token-grid { grid-template-columns: repeat(3, 1fr); }
  .token-item { border-bottom: 1px solid var(--line-soft); }
  .token-item:nth-child(3) { border-right: 0; }
  .trending-grid { grid-template-columns: repeat(3, 1fr); }
  .trending-grid .trend-card:nth-child(n+4) { display: none; }
  .explore-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 680px); }
  .marketing-nav { height: 64px; }
  .marketing-nav .container { grid-template-columns: 1fr auto; }
  .marketing-links, .nav-actions .btn-ghost { display: none; }
  .mobile-menu { display: grid; }
  .nav-actions .btn-primary { display: none; }
  .hero { min-height: 700px; padding: 120px 0 70px; align-items: end; background-image: url("/img/clubhouse.svg"); background-position: 68% center; }
  .hero::before { background: linear-gradient(180deg, rgba(246, 242, 233, 0.029), rgba(246, 242, 233, 0.59) 44%, #f6f2e9 66%); }
  .hero h1 { font-size: clamp(48px, 13vw, 69px); }
  .hero-copy > p { font-size: 15px; }
  .section { padding: 78px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .feature-grid, .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 225px; }
  .feature-icon { margin-bottom: 30px; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 30px 0; }
  .step:nth-child(2)::after { display: none; }
  .roadmap-track { display: flex; overflow-x: auto; margin-right: -16px; padding: 2px 16px 14px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .roadmap-track::-webkit-scrollbar { display: none; }
  .roadmap-card { min-width: min(76vw, 325px); scroll-snap-align: start; }
  .token-card { padding: 28px; }
  .token-top { display: block; }
  .soon-pill { display: inline-flex; margin-top: 18px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-small { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-row: span 2; }

  .app-shell { display: block; }
  .side-nav { display: none; }
  .app-topbar { height: 63px; padding: 0 16px; grid-template-columns: minmax(100px,1fr) auto; }
  .top-actions .btn-icon { display: none; }
  .wallet-chip { max-width: 132px; }
  .app-content, .room-wrap { width: min(100% - 28px, 680px); padding-bottom: 100px; }
  .app-hero { min-height: 255px; padding: 28px; }
  .trending-grid { grid-template-columns: repeat(2, minmax(145px,1fr)); }
  .trending-grid .trend-card:nth-child(3) { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .home-side { display: none; }
  .explore-grid { grid-template-columns: repeat(2,1fr); }
  .room-body { grid-template-columns: 1fr; }
  .room-body > section { grid-row: 1; }
  .world-layout, .module-page-grid { grid-template-columns: 1fr; }
  .module-toolbar { flex-wrap: wrap; }
  .room-side { grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .room-side .content-card + .content-card { margin-top: 0; }
  .mobile-bottom { position: fixed; inset: auto 0 0; z-index: 50; height: calc(65px + env(safe-area-inset-bottom)); padding: 5px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: rgba(246, 242, 233, 0.691); border-top: 1px solid var(--line-soft); backdrop-filter: blur(17px); }
  .mobile-link { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #63605b; background: none; border: 0; font-size: 8px; cursor: pointer; }
  .mobile-link .icon { width: 18px; height: 18px; }
  .mobile-link.active { color: var(--lime); }
  .mobile-create { width: 41px; height: 41px; margin-top: -17px; display: grid; place-items: center; color: #eeeae2; background: var(--lime); border-radius: 3px; box-shadow: none; }
  .room-tabs { top: 62px; }
}

@media (max-width: 560px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  button, a, input, select, textarea { touch-action: manipulation; }
  .brand .pixel { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: 670px; background-position: 72% center; }
  .hero-badge { font-size: 9px; }
  .hero h1 { font-size: 43px; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { min-width: 0; width: 100%; padding-inline: 7px; gap: 6px; font-size: 11px; }
  .feature-grid { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feature-card { min-width: 78vw; scroll-snap-align: start; }
  .rooms-grid { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .use-card { min-width: 76vw; scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-left: 66px; min-height: 95px; }
  .step-num { position: absolute; left: 0; top: 23px; }
  .step::after { display: none; }
  .roadmap-card { min-width: 84vw; min-height: 390px; padding: 19px; }
  .roadmap-card h3 { min-height: 0; font-size: 26px; }
  .roadmap-card:not(:last-child)::after { right: -21px; }
  .roadmap-end { justify-content: flex-start; gap: 10px; font-size: 10px; }
  .token-card { padding: 23px 18px; }
  .token-top h2 { font-size: 32px; }
  .token-live-grid { grid-template-columns: 1fr; }
  .token-live-item { min-height: 92px; padding: 18px; }
  .token-live-item + .token-live-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .token-live-item code { font-size: 12px; }
  .token-grid { grid-template-columns: repeat(2,1fr); }
  .token-item:nth-child(3) { border-right: 1px solid var(--line-soft); }
  .token-item:nth-child(even) { border-right: 0; }
  .cta-small, .cta-big { padding: 31px 25px; }
  .cta-big { padding-right: 110px; }
  .cta-mascot { right: 15px; font-size: 68px; }
  .footer { padding: 52px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1/-1; grid-row: auto; margin-bottom: 15px; }
  .footer-bottom { align-items: start; flex-direction: column-reverse; }

  .app-content, .room-wrap { width: calc(100% - 20px); }
  .app-content { padding-top: 18px; }
  .room-wrap { padding-top: 14px; }
  .app-topbar { gap: 9px; padding: 0 10px; }
  .app-topbar .search-box, .app-topbar .top-actions { min-width: 0; }
  .app-topbar .search-box input { height: 43px; }
  .app-topbar .search-box input { padding-right: 10px; }
  .app-topbar .search-box input::placeholder { color: transparent; }
  .wallet-chip span:last-child { display: none; }
  .wallet-chip { min-width: 41px; width: 41px; padding: 0; justify-content: center; }
  .app-hero { min-height: 285px; padding: 19px; align-items: end; border-radius: 3px; background-image: url("/img/clubhouse.svg"); background-position: 52% center; }
  .app-hero::before { background: linear-gradient(180deg, rgba(246, 242, 233, 0.014), rgba(246, 242, 233, 0.677) 58%, #f6f2e9 75%); }
  .app-hero-copy { width: 100%; min-width: 0; }
  .app-hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .app-hero p { display: none; }
  .app-hero .btn { min-height: 40px; }
  .app-hero .hero-actions { width: 100%; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .app-hero .hero-actions .btn { min-width: 0; padding-inline: 8px; font-size: 10px; }
  .app-section { margin-top: 28px; }
  .app-section-head { gap: 10px; }
  .app-section-head > .dim { max-width: 48%; text-align: right; overflow-wrap: anywhere; }
  .page-title-row { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .page-title-row h1 { font-size: 26px; overflow-wrap: anywhere; }
  .trending-grid { display: flex; overflow-x: auto; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .trending-grid .trend-card, .trending-grid .trend-card:nth-child(3) { min-width: 154px; display: block; }
  .explore-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .explore-grid .trend-art { height: 130px; }
  .post-card, .content-card, .profile-card, .settings-section { padding: 15px; }
  .post-head { align-items: flex-start; }
  .post-author span { display: block; margin: 3px 0 0; }
  .post-copy { margin: 13px 0; font-size: 12px; }
  .post-action { min-width: 36px; min-height: 38px; justify-content: center; }
  .notification { align-items: flex-start; padding: 12px; }
  .notification-time { margin-left: auto; }
  .room-banner { height: 140px; font-size: 62px; }
  .room-title-line { display: block; }
  .room-actions { margin-top: 17px; }
  .room-actions .btn { flex: 1; }
  .room-header { border-radius: 3px; }
  .room-info { padding: 17px; }
  .room-title-line h1 { overflow-wrap: anywhere; }
  .room-metrics { gap: 17px; }
  .room-tabs { margin-left: -2px; margin-right: -2px; padding: 5px; }
  .room-tab { min-height: 43px; font-size: 9px; }
  .settings-actions { flex-direction: column; }
  .room-side { display: block; }
  .room-side .content-card + .content-card { margin-top: 12px; }
  .members-grid { grid-template-columns: 1fr; }
  .ledger-grid { grid-template-columns: 1fr; }
  .profile-stats { flex-wrap: wrap; gap: 17px 23px; }
  .module-toolbar { align-items: stretch; flex-direction: column; }
  .module-select, .module-balance { width: 100%; min-width: 0; }
  .module-card { padding: 14px; }
  .module-actions .btn { flex: 1; min-width: 130px; }
  .module-row { min-height: 64px; padding: 9px 10px; }
  .module-row-actions { flex-direction: column; align-items: flex-end; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .field input, .field select, .field textarea,
  .modal input, .modal select, .modal textarea { font-size: 16px; }
  .modal-backdrop { padding: 8px 0 0; place-items: end center; }
  .modal { width: 100%; max-height: calc(100dvh - 8px); padding: 18px 16px max(22px, env(safe-area-inset-bottom)); border-radius: 3px 3px 0 0; border-bottom: 0; }
  .modal-head { margin-bottom: 17px; }
  .modal-head h2 { font-size: 19px; }
  #toast-root { left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .toast { width: 100%; max-width: none; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 39px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-grid .trend-art { height: 170px; }
  .world-custom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) and (orientation: landscape) and (max-height: 520px) {
  .world-title { display: none; }
  .world-status { top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); }
  .world-mobile-controls { transform: scale(.86); transform-origin: left bottom; }
  .world-chatbox { max-height: calc(100dvh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* GMFRENS — friendly clubhouse redesign */
:root {
  --bg: #f3efe6;
  --bg-2: #eae6dd;
  --panel: #e4e0d8;
  --panel-2: #ddd9d1;
  --panel-3: #d5d1c9;
  --line: rgba(159, 70, 33, 0.202);
  --line-soft: rgba(23, 21, 18, 0.079);
  --text: #171512;
  --muted: #4e4b47;
  --dim: #63605b;
  --lime: #9f4621;
  --lime-2: #9f4621;
  --purple: #25564d;
  --blue: #306157;
  --orange: #7a5b1d;
  --pink: #68331c;
  --danger: #812b1e;
  --radius: 3px;
  --shadow: none;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 86, 77, 0.072), transparent 24rem),
    radial-gradient(circle at 91% 26%, rgba(159, 70, 33, 0.05), transparent 30rem),
    var(--bg);
  font-family: "Avenir Next", "Nunito Sans", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pixel { font-family: inherit; font-weight: 850; letter-spacing: -.035em; }
.container { width: min(1320px, calc(100% - 64px)); }
.eyebrow { color: var(--lime); letter-spacing: .08em; font-size: 11px; }
.eyebrow::before { width: 9px; height: 9px; border-radius: 50%; box-shadow: none; }

.btn {
  min-height: 48px;
  padding-inline: 21px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.05);
  border-color: rgba(23, 21, 18, 0.101);
  font-size: 13px;
  box-shadow: none;
}
.btn:hover { transform: translateY(-3px) rotate(-.4deg); background: rgba(23, 21, 18, 0.086); border-color: rgba(23, 21, 18, 0.173); }
.btn-primary {
  color: #f0ece3;
  background: var(--lime);
  border-color: #853b1b;
  box-shadow: none;
}
.btn-primary:hover { background: #823a1b; border-color: #662d15; box-shadow: none; }
.btn-sm { min-height: 38px; }
.btn-icon { width: 48px; padding: 0; }

/* Public clubhouse */
.marketing { background: transparent; }
.marketing-nav { height: 90px; }
.marketing-nav .container {
  grid-template-columns: 1fr auto 1fr;
  padding: 10px 12px 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
}
.marketing-nav.scrolled { background: transparent; border: 0; backdrop-filter: none; }
.marketing-nav.scrolled .container {
  background: rgba(235, 231, 222, 0.605);
  border-color: rgba(23, 21, 18, 0.072);
  box-shadow: none;
  backdrop-filter: blur(24px);
}
.brand { gap: 12px; font-size: 20px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(159, 70, 33, 0.468); box-shadow: none; }
.brand .pixel { font-size: 20px; letter-spacing: -.02em; }
.marketing-links { gap: 25px; color: #363430; font-size: 12px; }
.marketing-links a, .marketing-links button { position: relative; }
.marketing-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 3px;
  border-radius: 4px; background: var(--lime); transition: right .2s ease;
}
.marketing-links a:hover::after { right: 0; }

.hero {
  min-height: min(860px, 94vh);
  padding: 170px 0 100px;
  background-image: url("/img/atrium.svg");
  background-size: cover;
  background-position: 64% center;
}
.hero::before {
  background:
    linear-gradient(90deg, #f3efe6 0%, rgba(243, 239, 230, 0.698) 30%, rgba(243, 239, 230, 0.403) 51%, rgba(243, 239, 230, 0.029) 73%),
    linear-gradient(180deg, rgba(243, 239, 230, 0.058), transparent 65%);
}
.hero::after { height: 130px; background: linear-gradient(transparent, var(--bg)); }
.hero-copy { max-width: 690px; }
.hero-badge {
  margin-bottom: 30px; padding: 10px 15px; color: #171512;
  background: rgba(37, 86, 77, 0.094); border-color: rgba(37, 86, 77, 0.245);
  letter-spacing: .06em; text-transform: none; font-size: 12px;
}
.live-dot { width: 9px; height: 9px; box-shadow: none; }
.hero h1 { max-width: 680px; font-size: clamp(60px, 7.5vw, 108px); line-height: .86; letter-spacing: -.07em; }
.hero h1 span { display: inline-block; color: var(--lime); transform: rotate(-2deg); text-shadow: none; }
.hero-copy > p { max-width: 560px; color: #312f2b; font-size: 18px; line-height: 1.65; }
.hero-chain { color: #5a5752; }
.chain-symbol { width: 32px; height: 32px; color: #efebe3; background: var(--lime); border: 0; border-radius: 50%; }

.marquee { transform: rotate(-1deg) scale(1.01); border: 0; background: var(--lime); box-shadow: none; }
.marquee-track { padding: 17px 0; gap: 34px; }
.marquee-item { color: #f0ece3; font-size: 12px; letter-spacing: .09em; gap: 34px; }
.marquee-item::after { color: #2e6b5f; }

.section { padding: 120px 0; }
.section-alt { background: rgba(37, 86, 77, 0.032); border-block-color: rgba(37, 86, 77, 0.086); }
.section-head { align-items: center; margin-bottom: 55px; }
.section-head h2 { font-size: clamp(42px, 5vw, 69px); line-height: .95; }
.section-head p { color: #494742; font-size: 15px; }

.feature-grid { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature-card {
  grid-column: span 2;
  min-height: 280px;
  padding: 30px;
  background: #e2ded5;
  border: 2px solid rgba(23, 21, 18, 0.072);
  border-radius: 4px;
  box-shadow: none;
}
.feature-card:nth-child(1), .feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:nth-child(1) { background: linear-gradient(145deg, #9f4621, #9f4621); color: #eeeae2; transform: rotate(-1deg); }
.feature-card:nth-child(2) { background: linear-gradient(145deg, #26594f, #2e6b5f); color: #171512; transform: rotate(1deg); }
.feature-card:hover { transform: translateY(-7px) rotate(.5deg); border-color: rgba(23, 21, 18, 0.216); }
.feature-card:nth-child(1):hover { transform: translateY(-7px) rotate(-1.5deg); }
.feature-icon {
  width: 58px; height: 58px; margin-bottom: 62px; color: #eeeae2;
  background: rgba(23, 21, 18, 0.396); border: 0; border-radius: 3px; transform: rotate(-4deg);
}
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(4) .feature-icon, .feature-card:nth-child(5) .feature-icon { color: inherit; background: rgba(23, 21, 18, 0.094); border: 0; }
.feature-card h3 { font-size: 20px; }
.feature-card p { color: inherit; opacity: .76; font-size: 14px; }

.steps { gap: 16px; }
.step { min-height: 260px; padding: 26px; background: rgba(23, 21, 18, 0.032); border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 4px; }
.step:nth-child(even) { margin-top: 28px; }
.step:not(:last-child)::after { display: none; }
.step-num { width: 58px; height: 58px; margin-bottom: 38px; color: #eeeae2; background: var(--lime); border: 0; border-radius: 50%; font-family: inherit; box-shadow: none; }
.step:nth-child(2) .step-num { background: var(--purple); box-shadow: none; }
.step:nth-child(3) .step-num { background: var(--orange); box-shadow: none; }
.step:nth-child(4) .step-num { background: var(--blue); box-shadow: none; }
.step h3 { font-size: 18px; }
.step p { font-size: 13px; }

.rooms-grid { gap: 20px; }
.use-card { background: #e3dfd6; border: 2px solid rgba(23, 21, 18, 0.072); border-radius: 4px; box-shadow: none; }
.use-card:nth-child(odd) { transform: rotate(-.6deg); }
.use-card:nth-child(even) { transform: rotate(.6deg); }
.use-card:hover { transform: translateY(-7px) rotate(0); border-color: rgba(159, 70, 33, 0.331); }
.use-art { height: 190px; }
.room-badge { top: 15px; left: 15px; padding: 7px 10px; background: rgba(243, 239, 230, 0.576); border-radius: 999px; }
.use-body { padding: 23px; }

.reward-section { overflow: hidden; background: linear-gradient(135deg, #9f4621 0%, #8d3e1d 48%, #235249 140%); color: #eeeae2; }
.reward-section .eyebrow { color: #e1baa9; }
.reward-section .eyebrow::before { background: #e1baa9; }
.reward-story { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.reward-copy h2 { max-width: 620px; margin: 14px 0 24px; font-size: clamp(45px, 5vw, 72px); line-height: .92; }
.reward-copy > p { max-width: 590px; color: #d3d0c8; font-size: 16px; line-height: 1.7; }
.reward-notes { display: grid; gap: 12px; margin-top: 30px; color: #dcd8cf; font-weight: 750; font-size: 13px; }
.reward-notes span { display: flex; align-items: center; gap: 9px; }
.reward-notes .icon { width: 17px; }
.ticker-cloud { min-height: 440px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 13px; position: relative; }
.ticker-cloud::before { content: "20"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); color: rgba(238, 234, 226, 0.058); font-size: 290px; font-weight: 900; line-height: 1; }
.ticker-cloud span { z-index: 1; padding: 13px 18px; color: #171512; background: #e2ded5; border: 2px solid rgba(23, 21, 18, 0.144); border-radius: 999px; box-shadow: none; font-size: 14px; font-weight: 850; transform: rotate(calc((var(--i) - 8) * .5deg)); }
.ticker-cloud span:nth-child(3n) { background: #2e6b5f; }
.ticker-cloud span:nth-child(4n) { color: #eeeae2; background: #7b5b1d; box-shadow: none; }
.ticker-cloud span.ticker-unavailable { color: #63605b; background: #d5d1c9; border-color: rgba(23, 21, 18, 0.058); box-shadow: none; filter: saturate(.2); opacity: .58; }
.ticker-cloud span.ticker-unavailable small { margin-left: 6px; color: #56534e; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
select { color-scheme: dark; }
select option { color: #171512; background-color: #e4e0d8; }
select option:checked { color: #171512; background-color: #b7b4ac; }
select option:disabled { color: #63605b; background-color: #ebe7de; }

.roadmap-section { background: radial-gradient(circle at 50% 0%, rgba(37, 86, 77, 0.115), transparent 35%), #efebe3; border-block-color: rgba(37, 86, 77, 0.115); }
.roadmap-track { gap: 19px; }
.roadmap-card { min-height: 390px; padding: 25px; background: #e1ddd4; border: 2px solid rgba(23, 21, 18, 0.072); border-radius: 4px; box-shadow: none; }
.roadmap-card:nth-child(2), .roadmap-card:nth-child(4) { margin-top: 26px; }
.roadmap-card:not(:last-child)::after { display: none; }
.roadmap-card header { border-bottom-color: rgba(23, 21, 18, 0.072); }
.roadmap-phase { min-height: 34px; color: #eeeae2; background: var(--lime); border: 0; border-radius: 999px; font-family: inherit; }
.roadmap-icon { color: #eeeae2; background: var(--purple); border: 0; border-radius: 50%; }
.roadmap-card h3 { color: #171512; font-size: 26px; }
.roadmap-card li { color: #44413d; font-size: 13px; }
.roadmap-card li::before { content: "☻"; color: var(--lime); filter: none; }
.roadmap-end { font-family: inherit; }

.cta-panel { grid-template-columns: .65fr 1.35fr; min-height: 360px; border: 2px solid rgba(23, 21, 18, 0.086); background: #e2ded5; border-radius: 4px; box-shadow: none; }
.cta-small { background: linear-gradient(145deg, rgba(37, 86, 77, 0.13), rgba(37, 86, 77, 0.029)); }
.cta-big { position: relative; align-items: center; overflow: hidden; background: linear-gradient(135deg, #d3cfc7, #e2ded5); }
.cta-big > div:first-child { position: relative; z-index: 2; max-width: 520px; }
.cta-big h3 { margin-top: 12px; font-size: clamp(37px, 4vw, 58px); }
.cta-big p { max-width: 470px; }
.cta-mascot { position: absolute; width: 320px; max-width: 48%; height: auto; right: -16px; bottom: -72px; filter: none); }

.footer { padding-top: 90px; background: #f4f0e7; border-top-color: rgba(23, 21, 18, 0.072); }
.footer-grid { gap: 45px; }
.footer-col h4 { color: #1b1916; }
.footer-col a { color: #5d5b56; }
.footer-bottom { color: #63605b; }

/* Signed-in clubhouse */
.product { background: #eeeae1; }
.app-shell { grid-template-columns: 256px minmax(0,1fr); }
.side-nav {
  padding: 25px 18px;
  border-right: 1px solid rgba(23, 21, 18, 0.065);
  background: linear-gradient(180deg, #e4e0d8, #ede9e0);
}
.side-nav .brand { padding: 0 10px 29px; }
.side-nav .brand-mark { width: 40px; height: 40px; }
.app-nav-link { margin-bottom: 5px; min-height: 49px; border-radius: 3px; color: #5a5752; font-size: 13px; }
.app-nav-link:hover { color: #171512; background: rgba(23, 21, 18, 0.043); }
.app-nav-link.active { color: #eeeae2; background: var(--lime); box-shadow: none; }
.app-nav-link.active .icon { color: inherit; }
.side-create { margin-top: 14px; }
.side-footer { color: #63605b; font-weight: 850; }

.app-topbar { height: 86px; padding: 0 34px; background: rgba(238, 234, 225, 0.562); border-bottom-color: rgba(23, 21, 18, 0.058); backdrop-filter: blur(24px); }
.search-box input { height: 48px; padding-left: 44px; color: #171512; background: rgba(23, 21, 18, 0.043); border-color: rgba(23, 21, 18, 0.072); border-radius: 999px; }
.search-box input:focus { border-color: rgba(159, 70, 33, 0.324); box-shadow: none; }
.wallet-chip { min-height: 48px; border-radius: 999px; background: #dad6ce; border: 1px solid rgba(23, 21, 18, 0.086); }
.wallet-avatar { border-radius: 50%; color: #eeeae2; background: var(--lime); }
.app-content { width: min(1220px, calc(100% - 68px)); padding: 36px 0 90px; }
.app-hero {
  min-height: 390px;
  padding: 50px;
  border: 2px solid rgba(23, 21, 18, 0.086);
  border-radius: 4px;
  background-image: url("/img/atrium.svg");
  background-position: 65% center;
  box-shadow: none;
}
.app-hero::before { background: linear-gradient(90deg, #f0ece4 0%, rgba(240, 236, 228, 0.706) 31%, rgba(240, 236, 228, 0.41) 54%, transparent 78%); }
.app-hero-copy { max-width: 550px; }
.app-hero h1 { margin-top: 13px; font-family: inherit; font-size: clamp(42px,5vw,68px); font-weight: 850; line-height: .92; letter-spacing: -.055em; }
.app-hero p { max-width: 490px; color: #36332f; font-size: 14px; }
.app-section { margin-top: 42px; }
.app-section-head h2 { font-size: 21px; letter-spacing: -.025em; }

.trending-grid, .explore-grid { gap: 18px; }
.trend-card { background: #e2ded5; border: 2px solid rgba(23, 21, 18, 0.065); border-radius: 4px; box-shadow: none; }
.trend-card:hover { transform: translateY(-6px) rotate(.3deg); border-color: rgba(159, 70, 33, 0.302); }
.trend-art { height: 150px; }
.trend-card-body { padding: 17px; }
.trend-card h3 { font-size: 14px; }
.tag, .market-pending { border-radius: 999px; }

.ledger-grid { gap: 14px; }
.ledger-card { position: relative; overflow: hidden; min-height: 150px; padding: 21px; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.ledger-card::after { content: ""; position: absolute; width: 72px; height: 72px; right: -31px; bottom: -33px; background: var(--lime); border-radius: 50%; opacity: .12; }
.ledger-card:nth-child(2)::after { background: var(--purple); opacity: .22; }
.ledger-card:nth-child(3)::after { background: var(--orange); opacity: .22; }
.ledger-card:nth-child(4)::after { background: var(--blue); opacity: .22; }
.ledger-card span { color: #5a5752; font-size: 10px; }
.ledger-card strong { margin-top: 14px; font-family: inherit; font-size: 20px; }
.ledger-card p { color: #63605b; }

.feed-tabs, .category-pills { gap: 8px; padding: 6px; background: rgba(23, 21, 18, 0.029); border: 1px solid rgba(23, 21, 18, 0.058); border-radius: 999px; }
.feed-tab, .category-pill { border-radius: 999px; }
.feed-tab.active, .category-pill.active { color: #eeeae2; background: var(--lime); box-shadow: none; }
.post-card, .side-card, .content-card, .profile-card, .settings-card, .module-card, .notification, .empty-state {
  background: #e2ded5;
  border-color: rgba(23, 21, 18, 0.072);
  border-radius: 4px;
}
.post-card { padding: 22px; }
.post-type { border-radius: 999px; }
.post-signed { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 5px 8px; color: #eeeae2; background: var(--lime); border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.post-signed .icon { width: 11px; height: 11px; stroke-width: 2.6; }
.post-signed + .post-type { margin-left: 0; }
.post-action { border-radius: 999px; }
.side-card { padding: 21px; }
.creator-logo { overflow: hidden; padding: 0; border: 2px solid var(--lime); }
.creator-logo img { width: 100%; height: 100%; object-fit: cover; }
.follow-btn { border-radius: 999px; }
.stock-garden-card { background: linear-gradient(145deg, rgba(159, 70, 33, 0.086), #e2ded5 65%); }
.stock-garden-card .eyebrow { margin-bottom: 12px; }
.mini-tickers { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.mini-tickers span { padding: 6px 9px; color: #eeeae2; background: var(--lime); border-radius: 999px; font-size: 9px; font-weight: 850; }
.mini-tickers span:nth-child(even) { background: var(--purple); }

.page-title-row { margin-bottom: 30px; }
.page-title-row .eyebrow { margin-bottom: 10px; }
.page-title-row h1 { font-size: 42px; }
.room-header { background: #e2ded5; border: 2px solid rgba(23, 21, 18, 0.072); border-radius: 4px; box-shadow: none; }
.room-banner { height: 260px; }
.room-info { padding: 28px; }
.room-tabs { padding: 7px; background: rgba(23, 21, 18, 0.032); border-radius: 999px; }
.room-tab { border-radius: 999px; }
.room-tab.active { color: #eeeae2; background: var(--lime); }
.content-card { padding: 23px; }
.pinned { background: linear-gradient(145deg, rgba(159, 70, 33, 0.079), #e2ded5); }
.profile-card { padding: 32px; background: linear-gradient(135deg, #d4d1c9, #e2ded5); }
.settings-section { border-color: rgba(23, 21, 18, 0.065); }
.field input, .field select, .field textarea, .modal input, .modal select, .modal textarea { color: #171512; background: rgba(23, 21, 18, 0.04); border-color: rgba(23, 21, 18, 0.079); border-radius: 3px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(159, 70, 33, 0.324); box-shadow: none; }
.modal-backdrop { background: rgba(246, 242, 233, 0.518); backdrop-filter: blur(16px); }
.modal { padding: 30px; background: #ddd9d1; border: 2px solid rgba(159, 70, 33, 0.144); border-radius: 4px; box-shadow: none; }
.notice { border-radius: 3px; }
.faq-item { border-radius: 3px; }

.connected-wallet-card { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 15px; margin-bottom: 17px; padding: 18px; background: rgba(23, 21, 18, 0.04); border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.connected-wallet-card .wallet-avatar { width: 54px; height: 54px; display: grid; place-items: center; font-size: 20px; }
.connected-wallet-card div { min-width: 0; }
.connected-wallet-card small, .connected-wallet-card strong, .connected-wallet-card code { display: block; }
.connected-wallet-card small { color: #63605b; font-size: 9px; }
.connected-wallet-card strong { margin: 5px 0; font-size: 16px; }
.connected-wallet-card code { overflow: hidden; color: #5a5752; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.btn-danger-soft { color: #6a2419; background: rgba(144, 48, 34, 0.05); border-color: rgba(144, 48, 34, 0.158); }
.btn-danger-soft:hover { color: #171512; background: rgba(144, 48, 34, 0.101); border-color: rgba(144, 48, 34, 0.259); }

.room-wall-composer { margin-bottom: 18px; padding: 20px; border: 2px solid rgba(159, 70, 33, 0.13); background: linear-gradient(145deg, rgba(159, 70, 33, 0.05), #e2ded5 58%); }
.wall-composer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wall-composer-head .avatar { flex: 0 0 auto; width: 42px; height: 42px; }
.wall-composer-head div { min-width: 0; }
.wall-composer-head strong, .wall-composer-head span { display: block; }
.wall-composer-head strong { color: #171512; font-size: 13px; }
.wall-composer-head span { margin-top: 3px; overflow: hidden; color: #63605b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wall-composer-avatar { display: grid; place-items: center; color: #eeeae2; background: var(--lime); }
.room-wall-composer textarea { width: 100%; min-height: 92px; max-height: 180px; padding: 16px 17px; resize: none; color: #171512; background: rgba(246, 242, 233, 0.36); border: 1px solid rgba(23, 21, 18, 0.086); border-radius: 3px; outline: none; line-height: 1.55; }
.room-wall-composer textarea:focus { border-color: rgba(159, 70, 33, 0.36); box-shadow: none; }
.wall-composer-actions { display: flex; align-items: end; gap: 11px; margin-top: 12px; }
.wall-composer-actions label { display: grid; gap: 5px; }
.wall-composer-actions label > span { color: #63605b; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.wall-composer-actions select { min-height: 43px; padding: 0 35px 0 13px; color: #201e1b; background: #d4d1c9; border: 1px solid rgba(23, 21, 18, 0.086); border-radius: 999px; }
.wall-sign-note { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 12px 0; color: #63605b; font-size: 9px; }
.wall-sign-note .icon { width: 13px; height: 13px; color: var(--lime); }
.wall-composer-actions .btn { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .marketing-links { gap: 15px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card, .feature-card:nth-child(1), .feature-card:nth-child(2) { grid-column: span 1; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .reward-story { gap: 30px; }
  .ticker-cloud { min-height: 360px; }
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), 1320px); }
  .marketing-nav { height: 76px; }
  .marketing-nav .container { display: flex; justify-content: space-between; }
  .marketing-nav .nav-actions { margin-left: auto; }
  .marketing-nav .mobile-menu { display: grid !important; color: #eeeae2; background: var(--lime); border-color: var(--lime); box-shadow: none; }
  .marketing-nav .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 760px; padding: 130px 0 76px; align-items: end; background-position: 68% center; }
  .hero::before { background: linear-gradient(180deg, rgba(243, 239, 230, 0.043) 20%, rgba(243, 239, 230, 0.576) 58%, #f3efe6 91%); }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(52px, 13vw, 78px); }
  .hero-copy > p { font-size: 16px; }
  .section { padding: 85px 0; }
  .section-head { align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(1), .feature-card:nth-child(2), .feature-card:last-child { grid-column: auto; transform: none; }
  .feature-card { min-height: 230px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .step:nth-child(even) { margin-top: 0; }
  .reward-story { grid-template-columns: 1fr; }
  .ticker-cloud { min-height: 260px; }
  .ticker-cloud::before { font-size: 210px; }
  .roadmap-card:nth-child(2), .roadmap-card:nth-child(4) { margin-top: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-big { min-height: 400px; }
  .cta-mascot { width: 290px; }
  .app-shell { display: block; }
  .app-main { padding-bottom: 76px; }
  .app-content { width: calc(100% - 28px); }
  .app-hero { min-height: 350px; padding: 31px; }
}

@media (max-width: 560px) {
  .brand .pixel { font-size: 17px; }
  .hero { min-height: 710px; background-size: auto 100%; background-position: 61% center; }
  .hero { overflow: hidden; }
  .hero-copy { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
  .hero h1 { width: 100%; max-width: 340px; font-size: 44px; line-height: .91; overflow-wrap: normal; text-wrap: wrap; }
  .hero h1 span { display: block; width: fit-content; max-width: 100%; }
  .hero-copy > p { width: 100%; max-width: 340px; font-size: 14px; overflow-wrap: normal; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .btn { min-width: 0; width: 100%; }
  .hero-chain { max-width: 330px; font-size: 10px; }
  .section-head h2 { font-size: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 220px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .reward-copy h2 { font-size: 43px; }
  .ticker-cloud { gap: 9px; }
  .ticker-cloud span { padding: 10px 13px; font-size: 11px; }
  .roadmap-track { grid-template-columns: 1fr; }
  .cta-small { padding: 27px; }
  .cta-big { min-height: 480px; padding: 31px; align-items: flex-start; }
  .cta-big h3 { font-size: 41px; }
  .cta-mascot { right: 50%; bottom: -86px; transform: translateX(50%); max-width: 78%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-topbar { height: 72px; padding-inline: 12px; }
  .app-hero { width: 100%; max-width: 100%; min-height: 350px; padding: 22px; border-radius: 4px; background-image: url("/img/atrium.svg"); background-position: 62% center; }
  .app-hero::before { background: linear-gradient(180deg, rgba(243, 239, 230, 0.029), rgba(243, 239, 230, 0.648) 55%, #f3efe6 78%); }
  .app-hero-copy { align-self: flex-end; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
  .app-hero .eyebrow { display: none; }
  .app-hero h1 { position: static; width: 100%; max-width: 300px; height: auto; clip: auto; white-space: normal !important; text-wrap: wrap; font-size: 30px; line-height: .95; overflow: visible; }
  .app-hero h1 .lime { display: block; }
  .app-hero p { display: none; }
  .app-hero .hero-actions { display: grid; grid-template-columns: 1fr; }
  .app-hero .hero-actions .btn { width: 100%; }
  .ledger-card { min-height: 130px; }
  .page-title-row h1 { font-size: 34px; }
  .modal { border-radius: 4px 4px 0 0; }
  .room-wall-composer { padding: 16px; }
  .wall-composer-actions { align-items: stretch; flex-wrap: wrap; }
  .wall-composer-actions label { flex: 1 1 120px; }
  .wall-sign-note { order: 3; width: 100%; margin: 0; }
  .wall-composer-actions .btn { flex: 1 1 150px; }
  .post-signed { margin-left: 0; }
}

/* Documentation and official contract identity */
.hero-contract,
.footer-ca {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  margin-top: 14px;
  padding: 9px 13px;
  color: #413f3a;
  background: rgba(23, 21, 18, 0.04);
  border: 1px solid rgba(23, 21, 18, 0.079);
  border-radius: 999px;
  cursor: pointer;
  transition: .2s ease;
}
.hero-contract:hover,
.footer-ca:hover { color: #171512; border-color: rgba(159, 70, 33, 0.302); background: rgba(159, 70, 33, 0.05); }
.hero-contract span,
.footer-ca span { flex: 0 0 auto; color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.hero-contract code,
.footer-ca code { min-width: 0; overflow: hidden; color: inherit; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hero-contract .icon { width: 14px; height: 14px; }
.footer-ca { max-width: 260px; margin-top: 18px; }

.docs-page { background: #eeeae1; }
.docs-site {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 85% 4%, rgba(37, 86, 77, 0.122), transparent 27rem),
    radial-gradient(circle at 12% 18%, rgba(159, 70, 33, 0.05), transparent 25rem),
    #eeeae1;
}
.docs-site .marketing-nav.scrolled .container { background: rgba(235, 231, 222, 0.662); }
.docs-hero { position: relative; padding: 180px 0 92px; border-bottom: 1px solid rgba(23, 21, 18, 0.065); }
.docs-hero::after {
  content: "?";
  position: absolute;
  right: max(5vw, 30px);
  top: 74px;
  color: rgba(159, 70, 33, 0.025);
  font-size: clamp(280px, 34vw, 560px);
  font-weight: 900;
  line-height: .8;
  pointer-events: none;
}
.docs-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; gap: 80px; }
.docs-hero-copy h1 { max-width: 850px; margin: 19px 0 25px; font-size: clamp(55px, 7vw, 100px); line-height: .88; letter-spacing: -.07em; }
.docs-hero-copy > p { max-width: 760px; margin: 0; color: #45433f; font-size: 17px; line-height: 1.75; }
.docs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.docs-status-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(212, 209, 201, 0.691), rgba(226, 222, 213, 0.691));
  border: 2px solid rgba(23, 21, 18, 0.086);
  border-radius: 4px;
  box-shadow: none;
}
.docs-status-card small { display: block; margin: -11px 0 7px 25px; color: #63605b; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.docs-status-card > strong { display: block; font-size: 21px; }
.docs-status-card > p { margin: 14px 0 22px; color: #5a5752; font-size: 12px; line-height: 1.65; }
.docs-status-dot { display: block; width: 12px; height: 12px; background: var(--orange); border-radius: 50%; box-shadow: none; }
.docs-status-dot.is-live { background: var(--lime); box-shadow: none; }
.docs-status-card dl { display: grid; gap: 11px; margin: 0; }
.docs-status-card dl div { display: flex; justify-content: space-between; gap: 20px; padding-top: 11px; border-top: 1px solid rgba(23, 21, 18, 0.065); }
.docs-status-card dt { color: #63605b; font-size: 10px; }
.docs-status-card dd { margin: 0; color: #1e1c19; font-size: 10px; font-weight: 800; text-align: right; }

.docs-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: clamp(48px, 8vw, 120px); padding-top: 80px; padding-bottom: 120px; }
.docs-sidebar { position: sticky; top: 115px; display: grid; gap: 4px; padding: 19px; background: rgba(226, 222, 213, 0.518); border: 1px solid rgba(23, 21, 18, 0.065); border-radius: 3px; backdrop-filter: blur(18px); }
.docs-sidebar > span { margin: 4px 10px 11px; color: #63605b; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.docs-sidebar a { padding: 9px 10px; color: #5a5752; border-radius: 2px; font-size: 11px; font-weight: 700; transition: .18s ease; }
.docs-sidebar a:hover { color: #eeeae2; background: var(--lime); transform: translateX(3px); }
.docs-sidebar .docs-x-link { margin-top: 12px; padding-top: 15px; color: var(--lime); border-top: 1px solid rgba(23, 21, 18, 0.065); border-radius: 0; }
.docs-sidebar .docs-x-link:hover { color: var(--lime); background: transparent; }
.docs-content { min-width: 0; max-width: 980px; }
.docs-section { position: relative; padding: 0 0 100px; margin: 0 0 100px; border-bottom: 1px solid rgba(23, 21, 18, 0.072); scroll-margin-top: 130px; }
.docs-section h2 { margin: 0 0 24px; font-size: clamp(35px, 4vw, 55px); line-height: 1; letter-spacing: -.045em; }
.docs-section > h3 { margin: 35px 0 16px; }
.docs-section > p { max-width: 850px; color: #4f4c48; font-size: 15px; line-height: 1.82; }
.docs-section .docs-lead { color: #262320; font-size: 19px; line-height: 1.7; }
.docs-number { display: inline-grid; place-items: center; width: 42px; height: 31px; margin-bottom: 20px; color: #eeeae2; background: var(--lime); border-radius: 999px; font-size: 11px; font-weight: 900; box-shadow: none; }

.docs-callout { margin: 31px 0; padding: 23px 25px; background: rgba(37, 86, 77, 0.072); border: 1px solid rgba(37, 86, 77, 0.173); border-left: 5px solid var(--purple); border-radius: 3px; }
.docs-callout strong { display: block; margin-bottom: 7px; color: #171512; font-size: 14px; }
.docs-callout p { margin: 0; color: #43413d; font-size: 13px; line-height: 1.7; }
.docs-callout-warning { background: rgba(123, 91, 29, 0.05); border-color: rgba(123, 91, 29, 0.137); border-left-color: var(--orange); }
.docs-callout-danger { background: rgba(144, 48, 34, 0.05); border-color: rgba(144, 48, 34, 0.144); border-left-color: var(--danger); }
.docs-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 39px 0 10px; }
.docs-flow-step { position: relative; min-height: 190px; padding: 22px; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 4px; }
.docs-flow-step > i { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 28px; color: #eeeae2; background: var(--lime); border-radius: 50%; }
.docs-flow-step:nth-child(even) > i { background: var(--purple); color: #171512; }
.docs-flow-step > span { position: absolute; top: 25px; right: 23px; color: #63605b; font-size: 10px; font-weight: 900; }
.docs-flow-step strong { display: block; font-size: 14px; }
.docs-flow-step p { margin: 8px 0 0; color: #63605b; font-size: 11px; line-height: 1.55; }

.docs-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0; }
.docs-card-grid-three { grid-template-columns: repeat(3, 1fr); }
.docs-card { padding: 25px; color: #1e1c19; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.docs-card-lime { color: #eeeae2; background: linear-gradient(145deg, #9f4621, #9f4621); border-color: #823a1b; }
.docs-card h3 { margin: 0 0 15px; font-size: 16px; }
.docs-card > b { display: block; color: var(--lime); font-size: 18px; }
.docs-card ul { margin: 0; padding-left: 18px; }
.docs-card li { margin: 10px 0; color: #4f4c48; font-size: 12px; line-height: 1.55; }
.docs-card-lime li { color: #dbd7cf; }
.docs-card p { margin: 10px 0 0; color: #5c5a55; font-size: 12px; line-height: 1.65; }
.docs-formula { margin: 33px 0; padding: 30px; overflow: hidden; background: #f0ece4; border: 1px solid rgba(159, 70, 33, 0.158); border-radius: 4px; }
.docs-formula > span { display: block; color: #63605b; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.docs-formula code { display: block; margin: 17px 0; color: var(--lime); font-size: clamp(16px, 2.5vw, 25px); white-space: nowrap; }
.docs-formula p { margin: 0; color: #5a5752; font-size: 12px; line-height: 1.6; }
.docs-table { margin: 30px 0; overflow: hidden; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.docs-table > div { display: grid; grid-template-columns: .5fr 1.2fr 1.4fr; gap: 20px; padding: 18px 21px; background: rgba(226, 222, 213, 0.54); border-top: 1px solid rgba(23, 21, 18, 0.058); }
.docs-table > div:first-child { border-top: 0; }
.docs-table .docs-table-head { color: #63605b; background: #eae6dd; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.docs-table strong { color: var(--lime); font-size: 12px; }
.docs-table span { color: #5a5752; font-size: 11px; line-height: 1.5; }

.docs-process { display: grid; gap: 13px; margin: 34px 0; padding: 0; list-style: none; }
.docs-process li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 18px; align-items: start; padding: 20px; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.065); border-radius: 3px; }
.docs-process li > span { display: grid; place-items: center; width: 42px; height: 42px; color: #eeeae2; background: var(--lime); border-radius: 3px; font-weight: 900; }
.docs-process strong { font-size: 14px; }
.docs-process p { margin: 7px 0 0; color: #5a5752; font-size: 12px; line-height: 1.62; }
.docs-subhead { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.docs-subhead span { padding: 5px 8px; color: #eeeae2; background: var(--lime); border-radius: 999px; font-size: 9px; }
.docs-assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.docs-asset { min-height: 113px; padding: 16px; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.065); border-radius: 3px; }
.docs-asset > span { display: block; color: var(--lime); font-size: 15px; font-weight: 900; }
.docs-asset small { display: block; min-height: 28px; margin-top: 5px; color: #5a5752; font-size: 9px; line-height: 1.35; }
.docs-asset i { display: block; margin-top: 8px; color: #63605b; font-size: 8px; font-style: normal; line-height: 1.35; }
.docs-assets-upcoming .docs-asset { opacity: .62; filter: saturate(.4); }
.docs-assets-upcoming .docs-asset > span { color: #5a5752; }
.docs-fineprint { padding-left: 13px; border-left: 3px solid rgba(23, 21, 18, 0.108); font-size: 11px !important; }

.docs-official { margin: 25px 0; overflow: hidden; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.docs-official-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 19px; background: #e2ded5; border-top: 1px solid rgba(23, 21, 18, 0.058); font-size: 11px; }
.docs-official-row:first-child { border: 0; }
.docs-official-row span { color: #63605b; }
.docs-official-row a { color: var(--lime); font-weight: 800; }
.docs-address { margin: 12px 0; padding: 18px 20px; background: #eae6dd; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.docs-address > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.docs-address span { color: #1e1c19; font-size: 12px; font-weight: 850; }
.docs-address strong { color: #63605b; font-size: 9px; }
.docs-address a { display: flex; align-items: center; gap: 10px; color: var(--lime); }
.docs-address code { min-width: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.docs-address .icon { width: 14px; height: 14px; }
.docs-copy-ca { margin-top: 12px; }
.docs-faq { display: grid; gap: 10px; }
.docs-faq details { padding: 0 21px; background: #e2ded5; border: 1px solid rgba(23, 21, 18, 0.072); border-radius: 3px; }
.docs-faq summary { padding: 19px 0; cursor: pointer; color: #1e1c19; font-size: 13px; font-weight: 800; }
.docs-faq p { margin: 0; padding: 0 0 21px; color: #5a5752; font-size: 12px; line-height: 1.7; }
.docs-end { margin-top: -30px; padding: 45px; background: linear-gradient(135deg, #9f4621, #9f4621); color: #eeeae2; border-radius: 4px; box-shadow: none; }
.docs-end > span { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.docs-end h2 { max-width: 720px; margin: 13px 0 25px; font-size: clamp(35px, 5vw, 58px); line-height: .94; }
.docs-end .btn-primary { color: #171512; background: #eeeae2; border-color: #eeeae2; box-shadow: none; }
.docs-end .btn { margin: 0 8px 8px 0; }

@media (max-width: 1050px) {
  .docs-hero .container { grid-template-columns: 1fr; gap: 42px; }
  .docs-status-card { max-width: 660px; }
  .docs-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
  .docs-card-grid-three { grid-template-columns: repeat(2, 1fr); }
  .docs-assets { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .docs-hero { padding: 135px 0 70px; }
  .docs-hero-copy h1 { font-size: clamp(48px, 12vw, 75px); }
  .docs-shell { display: block; padding-top: 45px; }
  .docs-sidebar { position: relative; top: auto; display: flex; gap: 6px; margin-bottom: 70px; overflow-x: auto; }
  .docs-sidebar > span, .docs-sidebar .docs-x-link { display: none; }
  .docs-sidebar a { flex: 0 0 auto; color: #423f3b; background: rgba(23, 21, 18, 0.04); }
  .docs-flow { grid-template-columns: repeat(2, 1fr); }
  .docs-section { padding-bottom: 75px; margin-bottom: 75px; }
}

@media (max-width: 560px) {
  .hero-contract { max-width: 100%; }
  .hero-contract code { font-size: 9px; }
  .docs-hero .container, .docs-shell { width: min(calc(100% - 30px), 1320px); }
  .docs-site .marketing-nav .nav-actions > .btn-primary { display: none; }
  .docs-hero .container,
  .docs-hero-copy,
  .docs-status-card,
  .docs-content { min-width: 0; max-width: 100%; }
  .docs-hero-copy h1 { max-width: 100%; font-size: 45px; overflow-wrap: break-word; }
  .docs-hero-copy > p { max-width: 100%; overflow-wrap: break-word; }
  .docs-hero-copy > p, .docs-section .docs-lead { font-size: 15px; }
  .docs-status-card { width: 100%; padding: 23px; overflow: hidden; border-radius: 4px; }
  .docs-status-card dl div { min-width: 0; }
  .docs-status-card dd { min-width: 0; overflow-wrap: anywhere; }
  .docs-sidebar { margin-bottom: 55px; padding: 10px; border-radius: 3px; }
  .docs-flow, .docs-card-grid, .docs-card-grid-three { grid-template-columns: 1fr; }
  .docs-flow-step { min-height: 170px; }
  .docs-table { overflow-x: auto; }
  .docs-table > div { min-width: 650px; }
  .docs-formula { padding: 22px; }
  .docs-formula code { font-size: 13px; }
  .docs-assets { grid-template-columns: repeat(2, 1fr); }
  .docs-official-row, .docs-address > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .docs-address code { font-size: 10px; }
  .docs-end { padding: 30px; border-radius: 4px; }
  .docs-end .btn { width: 100%; margin-right: 0; }
}


/* ===========================================================================
   The application layer.
   ---------------------------------------------------------------------------
   Loaded after the machine re-themed upstream sheet, and after site.css, so this
   file is where the app is reconciled with the paper system rather than merely
   recoloured: the utility tokens that replaced inline styles, the six accents
   that replaced arbitrary creator hex, and the handful of structural rules that
   let the app sit under the site's own chrome.
   =========================================================================== */

/* ------------------------------------------------------- utility tokens ---
   scripts/patch-app.mjs rewrites every inline style attribute in the upstream
   client into these tokens, because a style attribute is parsed and then refused
   under a style-src that has no 'unsafe-inline'. */

[data-u~="fs8"]   { font-size: 10px; }
[data-u~="fs9"]   { font-size: 11px; }
[data-u~="fs10"]  { font-size: 12px; }
[data-u~="fs11"]  { font-size: 13px; }
[data-u~="lh155"] { line-height: 1.55; }
[data-u~="lh16"]  { line-height: 1.6; }
[data-u~="lh17"]  { line-height: 1.7; }
[data-u~="lh18"]  { line-height: 1.8; }
[data-u~="mt10"]  { margin-top: 10px; }
[data-u~="mt12"]  { margin-top: 12px; }
[data-u~="mt14"]  { margin: 14px 0 0; }
[data-u~="mt15"]  { margin-top: 15px; }
[data-u~="mt18"]  { margin-top: 18px; }
[data-u~="mt25"]  { margin-top: 25px; }
[data-u~="center"] { text-align: center; }
[data-u~="stagger"] { --i: 0; }

/* ------------------------------------------------------------- accents ----
   A room's colour is picked by its creator and arrives as arbitrary hex. Painted
   raw on cream, a 100% saturated lime reads as a printing fault, so accentToken()
   in the client sorts the hex into one of six by hue and the palette does the rest.
   Every custom property the upstream sheet consumes is set here in one place. */

/* These properties are used for chip text as well as for the chip's own tint, so each one takes
   the darker step of its hue. --clay on a --clay tint measured 2.82:1 on the room header. */
[data-accent]          { --tag: var(--slate); --glow: var(--slate); --badge: var(--slate); --avatar: var(--slate); --item-color: var(--slate); }
[data-accent="accent"] { --tag: var(--clay-ink); --glow: var(--clay-ink); --badge: var(--clay-ink); --avatar: var(--clay-ink); --item-color: var(--clay-ink); }
[data-accent="pine"]   { --tag: var(--pine);  --glow: var(--pine);  --badge: var(--pine);  --avatar: var(--pine);  --item-color: var(--pine); }
[data-accent="warn"]   { --tag: #b07a17;      --glow: #b07a17;      --badge: #b07a17;      --avatar: #b07a17;      --item-color: #b07a17; }
[data-accent="danger"] { --tag: #a33224;      --glow: #a33224;      --badge: #a33224;      --avatar: #a33224;      --item-color: #a33224; }
[data-accent="cool"]   { --tag: #33566f;      --glow: #33566f;      --badge: #33566f;      --avatar: #33566f;      --item-color: #33566f; }
[data-accent="plum"]   { --tag: #6a4470;      --glow: #6a4470;      --badge: #6a4470;      --avatar: #6a4470;      --item-color: #6a4470; }
[data-accent="slate"]  { --tag: var(--slate); --glow: var(--slate); --badge: var(--slate); --avatar: var(--slate); --item-color: var(--slate); }

/* toast() used to write two declarations onto the element on its way out. */
.toast-out { opacity: 0; transform: translateY(8px); }

/* ---------------------------------------------------------- the shell -----
   The upstream app owns the whole viewport and puts its own rail at the left
   edge. Here it is a pane under the site header, so the rail starts below the
   header and the site's own navigation stays reachable from inside the app. */

body { background: var(--paper); color: var(--ink); font-family: var(--body); }

.appshell { min-height: 60vh; }
.appshell__mount:empty { min-height: 40vh; }

.appshell__noscript { padding: clamp(40px, 6vw, 80px) 0; }
.appshell__noscript .hero__facts { max-width: 420px; margin: 26px 0; }

.app-shell .app-rail,
.app-shell .app-sidebar,
.app-shell .sidebar { top: 61px; }

/* The app's own surfaces: flat paper panels separated by hairlines, never glow. */
.content-card, .settings-card, .side-card, .post-card, .room-body > section > article {
  border: 1px solid var(--rule);
  background: var(--paper);
}

.pixel { font-family: var(--display); letter-spacing: -0.025em; }

/* Nothing in the app may push the page sideways at 390. */
.app-shell, .appshell, .room-body, .app-main { max-width: 100%; min-width: 0; }
.app-shell img, .appshell img { max-width: 100%; }

@media (max-width: 700px) {
  .app-shell .app-rail, .app-shell .app-sidebar, .app-shell .sidebar { top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .toast-out { transition: none; }
}

/* The feed is paged rather than endless: the route has a height budget and an infinite feed
   spends all of it on posts nobody scrolled to. */
.feed-more {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* The room chip prints its own hue at 9% behind 8px text. Even at --clay-ink that measured
   4.12:1, so the chip's text takes the darkest step of the accent. */
.tag, .official-badge { color: #8e3315; }
[data-accent="pine"] .tag, .tag[data-accent="pine"] { color: #164439; }
