@font-face { font-family: "Gothic"; src: url("fonts/PirataOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Jakarta"; font-weight: 500; src: url("fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Jakarta"; font-weight: 700; src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Jakarta"; font-weight: 800; src: url("fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-display: swap; }

:root {
  /* haze: cream on charcoal */
  --bg: #0c0c0d; --panel: #121213; --panel-2: #17171a;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --text: #ffffff; --muted: #b4b4bd; --dim: #7e7e88;
  --accent: #efe3c4; --accent-soft: #e0cfa6; --accent-dark: #6f6249; --crimson: #6f6249;
  --haze: 0 0 14px rgba(226, 214, 182, .45), 0 0 38px rgba(170, 150, 105, .28); --danger: #ef4444;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg) url("img/stars.png") repeat; background-size: 400px; color: var(--text); font: 500 16px/1.6 "Jakarta", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: rgba(239, 227, 196, .3); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
/* soft glow made with a gradient (no blur filter: blur is heavy on phones) */
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; opacity: .5;
  background: radial-gradient(closest-side, var(--glow, #2a2a2a), transparent) !important; }

/* announcement bar */
.bar { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13.5px; }
.bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.bar .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(239, 227, 196, .14); color: var(--accent); font-size: 11px; flex: none; }
.bar b { color: var(--text); } .bar span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bar a { margin-left: auto; color: var(--text); text-decoration: none; white-space: nowrap; font-weight: 700; }

/* header */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 30px/1 "Gothic", serif; color: var(--accent); text-shadow: var(--haze); }
.logo img { display: none; }
.pill-nav { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 17, 17, .92); }
.pill-nav a { padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.pill-nav a:hover, .pill-nav a.on { color: var(--text); background: rgba(255, 255, 255, .06); }
.top .cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.btn svg { width: 17px; height: 17px; flex: none; }
.dash-btn { gap: 8px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  color: var(--text); transition: transform .15s, border-color .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .28); }
.btn.gold { background: var(--accent); color: #0c0c0d; border-color: rgba(239, 227, 196,.35);
  box-shadow: 0 8px 30px -10px rgba(239, 227, 196, .35); }
.btn.gold:hover { border-color: rgba(239, 227, 196,.6); }
.btn.disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 16px; height: 16px; }

/* hero */
.hero { position: relative; display: grid; justify-items: center; text-align: center; padding: 90px 0 70px; }
.wordmark { font: 400 clamp(120px, 22vw, 230px)/.9 "Gothic", serif; color: var(--accent); text-shadow: var(--haze); margin: 0 0 6px; letter-spacing: 0; }
.hero h1 { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; }
.tint { font-family: "Gothic", serif; font-weight: 400; color: var(--accent); text-shadow: var(--haze); letter-spacing: 0; }
.hero p { color: var(--muted); max-width: 52ch; font-size: 17px; margin: 0 auto 28px; }
.hero .actions { justify-content: center; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chips { position: relative; height: 300px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(24, 20, 20, .85); font: 600 13.5px var(--mono); color: #efe3c4; box-shadow: 0 10px 40px -15px #000; animation: float 6s ease-in-out infinite; }
.chip i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-style: normal; font-size: 13px; }
.chip:nth-child(1) { top: 6%; left: 18%; } .chip:nth-child(2) { top: 30%; right: 0; animation-delay: -1.5s; }
.chip:nth-child(3) { top: 55%; left: 6%; animation-delay: -3s; } .chip:nth-child(4) { top: 80%; right: 14%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-9px); } }

.stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 15px; padding-bottom: 30px; }
.stats b { color: var(--text); }
.stats span + span::before { content: "•"; margin-right: 12px; color: var(--dim); }

/* section heading */
section { position: relative; padding: 90px 0; }
.head { text-align: center; margin-bottom: 46px; }
.badge { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 21px;
  border: 1px solid var(--line-2); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), rgba(255,255,255,.02)); }
.head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.025em; margin: 0 0 10px; font-weight: 800; }
.head p { color: var(--muted); margin: 0; }
.arc { display: block; width: 100%; height: 120px; opacity: .5; }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 26px; min-height: 330px; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--accent-soft); font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.card .art { flex: 1; position: relative; display: grid; place-items: center; min-height: 180px; }
.card.text-bottom { justify-content: flex-end; }
.card.text-bottom .art { order: -1; }

/* art: automod node map */
.nodes { position: relative; width: 100%; max-width: 360px; height: 190px; }
.nodes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { position: absolute; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #1d1818; font-size: 12.5px; font-weight: 700; color: #efe3c4; white-space: nowrap; }
/* art: radar */
.radar { width: 230px; height: 230px; border-radius: 50%; position: relative;
  background: repeating-radial-gradient(circle, transparent 0 28px, rgba(255,255,255,.07) 28px 29px); }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(239, 227, 196,.28), transparent 25%); animation: spin 4s linear infinite; }
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.blip.red { background: var(--danger); box-shadow: 0 0 14px var(--danger); animation: pulse 2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
/* art: scanned account */
.scan { position: relative; width: 120px; height: 140px; }
.scan .id { position: absolute; inset: 12px; border-radius: 14px; background: linear-gradient(160deg, #6d5d55, #2a2321); display: grid; place-items: center; font-size: 42px; overflow: hidden; }
.scan .id::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: scanline 2.4s ease-in-out infinite; }
.scan b { position: absolute; width: 16px; height: 16px; border-color: rgba(255,255,255,.4); border-style: solid; }
.scan b:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; } .scan b:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.scan b:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; } .scan b:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
@keyframes scanline { 0%, 100% { top: 10%; } 50% { top: 88%; } }
/* art: case log */
.cases { width: 100%; max-width: 380px; font: 13px var(--mono); }
.case { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.25); margin-bottom: 8px; color: #d9d0cc; }
.case em { font-style: normal; color: var(--dim); } .case .tag { margin-left: auto; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; }
.tag.ban { background: rgba(239,68,68,.15); color: #fca5a5; } .tag.jail { background: rgba(239, 227, 196,.15); color: var(--accent-soft); } .tag.warn { background: rgba(250,204,21,.12); color: #fde68a; }
.card img.shot { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
/* art: role buttons */
.rolebtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 300px; }
.rolebtns span { padding: 7px 14px; border-radius: 8px; background: #2a2626; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.rolebtns span.picked { background: rgba(239, 227, 196,.18); border-color: rgba(239, 227, 196,.45); color: var(--accent-soft); }

.more { display: flex; justify-content: center; margin-top: 34px; }
.more .btn { font-size: 14px; padding: 9px 16px; }
.more .btn b { color: var(--accent-soft); }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.035), transparent 60%), var(--panel); }
.feature i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); margin-bottom: 14px; }
.feature h4 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.divider { display: flex; align-items: center; gap: 20px; justify-content: center; margin: 80px 0 24px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(220px, 18vw); background: linear-gradient(90deg, transparent, var(--line-2)); }
.divider::after { transform: scaleX(-1); }

/* final CTA */
.final { position: relative; overflow: hidden; text-align: center; border: 1px solid var(--line); border-radius: 34px; padding: 80px 24px;
  background: radial-gradient(60% 80% at 15% 100%, rgba(107,106,102,.22), transparent 60%), radial-gradient(60% 80% at 85% 100%, rgba(239, 227, 196,.16), transparent 60%), var(--panel); }
.final .pre { color: var(--muted); font-size: clamp(18px, 2.4vw, 23px); margin: 0 0 6px; }
.final h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 30px; letter-spacing: -.02em; }

/* footer */
footer { margin-top: 90px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; padding: 40px 0 50px; font-size: 14px; }
.foot h5 { margin: 0 0 12px; font-size: 14px; } .foot .logo { display: flex; color: var(--text); margin: 0; }
.foot a:not(.logo) { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: var(--text); } .foot small { color: var(--dim); display: block; margin-top: 10px; line-height: 1.5; }
.totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #1f1a1a; border: 1px solid var(--line-2); text-decoration: none; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.show { opacity: 1; pointer-events: auto; }

/* reveal on scroll (only when JS runs) */
/* entrance: the wordmark's letters rise in one by one, everything else un-blurs after (springy ease) */
@keyframes letter-in { from { opacity: 0; transform: translateY(75px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes unblur { from { opacity: 0; filter: blur(10px); transform: translateY(12px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes glow-in { from { text-shadow: none; } }
.js .wordmark span { display: inline-block; opacity: 0; animation: letter-in .9s cubic-bezier(.2,1.25,.35,1) forwards;
  animation-delay: calc(.1s + var(--n) * 90ms); will-change: transform, filter; }
.js .wordmark { animation: glow-in 1.4s ease .5s backwards; }
.js .enter { opacity: 0; animation: unblur .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--n) * 90ms); }
.js .top { animation: unblur .7s ease .05s backwards; }
@media (prefers-reduced-motion: reduce) { .js .wordmark span, .js .enter, .js .top { animation: none; opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(50px); filter: blur(10px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,1.1,.35,1), filter .8s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* commands page */
.cmd-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 40px 0 20px; }
.cmd-layout > * { min-width: 0; }
.side { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.side button { text-align: left; background: none; border: 1px solid transparent; color: var(--muted); padding: 9px 12px; border-radius: 12px; font: 700 14.5px "Jakarta", sans-serif; cursor: pointer; display: flex; justify-content: space-between; }
.side button:hover { color: var(--text); background: rgba(255,255,255,.03); }
.side button.on { color: var(--text); background: rgba(255,255,255,.06); border-color: var(--line); }
.side button small { color: var(--dim); font-weight: 600; }
.search { width: 100%; padding: 13px 16px 13px 42px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a39a96' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px 50%;
  color: var(--text); font: 500 15px "Jakarta", sans-serif; margin-bottom: 16px; }
.search:focus { outline: 2px solid rgba(239, 227, 196,.5); outline-offset: 1px; }
.row { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--panel); margin-bottom: 10px; }
.row .t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.row .n { font-weight: 800; font-size: 16px; } .row .c { font-size: 12px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.row .p { margin-left: auto; font: 12px var(--mono); color: var(--accent-soft); background: rgba(239, 227, 196,.1); padding: 2px 8px; border-radius: 6px; }
.row .d { color: var(--muted); font-size: 14.5px; margin: 4px 0 10px; }
.row code { display: block; font: 13px var(--mono); color: #efe3c4; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; overflow-x: auto; white-space: nowrap; }
.row .a { margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* legal pages */
.legal { max-width: 760px; padding: 60px 0 10px; }
.legal section { padding: 0; }
.legal h1 em { font-style: normal; color: var(--accent-soft); }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; margin: 0 0 8px; }
.legal .updated { color: var(--accent-soft); font-weight: 700; margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; } .legal p, .legal li { color: #d8cfcb; }
.legal code { font: 13px var(--mono); background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.legal a { color: var(--accent-soft); }

/* patch notes */
.notes-hero { text-align: center; padding: 70px 0 40px; }
.notes-hero h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin: 0 0 10px; }
.notes-hero p { color: var(--muted); margin: 0 0 24px; }
.jumps { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jumps a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font: 700 13px var(--mono); }
.jumps a:hover { color: var(--text); border-color: var(--line-2); }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), rgba(239, 227, 196,.15) 30%, var(--line)); }
.update { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 24px; margin-bottom: 20px; scroll-margin-top: 20px; }
.update.first { border-color: rgba(239, 227, 196,.35); background: radial-gradient(120% 80% at 0% 0%, rgba(239, 227, 196,.08), transparent 60%), var(--panel); }
.update .pin { position: absolute; left: -32px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--dim); }
.update.first .pin { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(239, 227, 196,.15); }
.update header { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; margin-bottom: 14px; }
.ver { font: 800 15px var(--mono); padding: 7px 11px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--text); }
.update.first .ver { background: linear-gradient(180deg, rgba(239, 227, 196,.3), rgba(107,106,102,.3)); color: #fff; border-color: rgba(239, 227, 196,.45); }
.titles h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.titles p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.latest { font: 800 10.5px var(--mono); letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; color: #0c0d0d; background: var(--accent); }
.meta { text-align: right; } .meta time { display: block; font-weight: 700; font-size: 13.5px; } .meta small { color: var(--dim); font-size: 12px; }
.group h4 { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; color: #ded5d1; font-size: 15px; border-top: 1px solid rgba(255,255,255,.04); }
.group li:first-child { border-top: 0; }
.group li span { flex: none; font: 800 10.5px var(--mono); letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; min-width: 74px; text-align: center; }
.tag-new { color: #a7f3d0; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.25); }
.tag-improved { color: var(--accent-soft); background: rgba(239, 227, 196,.12); border: 1px solid rgba(239, 227, 196,.25); }
.tag-fixed { color: #bfdbfe; background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.25); }

@media (max-width: 880px) {
  .timeline { padding-left: 22px; } .timeline::before { left: 4px; } .update .pin { left: -25px; }
  .update { padding: 18px; } .update header { grid-template-columns: auto 1fr; } .meta { grid-column: 1 / -1; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .group li span { min-width: 64px; }
  .top { grid-template-columns: 1fr auto; } .pill-nav { display: none; }
  .top .invite-btn { display: none; }
  .hero { grid-template-columns: 1fr; padding: 60px 0 50px; } .chips { height: 210px; }
  .bento, .features { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .cmd-layout { grid-template-columns: 1fr; } .side { position: static; flex-direction: row; flex-wrap: wrap; }
  .side button { padding: 7px 11px; font-size: 13.5px; border-color: var(--line); } .side button small { display: none; }
  section { padding: 56px 0; } .arc { height: 60px; } .head { margin-bottom: 30px; }
  .card { min-height: 0; } .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .wordmark span, .js .enter, .js .reveal { opacity: 1 !important; filter: none !important; transform: none !important; } }

/* "ask haze" help chat */
.hz-btn { position: fixed; right: 18px; bottom: 18px; z-index: 9999; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--panel-2); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px #000, 0 0 22px rgba(239, 227, 196,.12);
  transition: transform .15s; }
.hz-btn:hover { transform: translateY(-2px); }
.hz-btn img { width: 40px; height: 40px; }
.hz-btn.open { transform: scale(.92); }
.hz-box { position: fixed; right: 18px; bottom: 88px; z-index: 9999; width: min(360px, calc(100vw - 24px)); height: min(500px, calc(100vh - 120px)); height: min(500px, calc(100dvh - 120px));
  display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 18px; background: #181818; box-shadow: 0 24px 60px -20px #000; overflow: hidden; }
.hz-box[hidden] { display: none; }
.hz-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hz-head img { width: 34px; height: 34px; }
.hz-head b { display: block; font: 400 22px/1 "Gothic", serif; color: var(--accent); text-shadow: var(--haze); }
.hz-head small { color: var(--dim); font-size: 12px; }
.hz-x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px; }
.hz-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hz-msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; line-height: 1.5; }
.hz-msg p { margin: 0 0 6px; } .hz-msg p:last-child { margin: 0; }
.hz-msg.bot { background: var(--panel-2); border: 1px solid var(--line); align-self: flex-start; color: #e4e4e7; }
.hz-msg.me { background: var(--accent); color: #0c0c0d; align-self: flex-end; font-weight: 600; }
.hz-msg code { font: 600 12.5px var(--mono); background: rgba(255,255,255,.07); padding: 1px 5px; border-radius: 5px; }
.hz-msg a { color: var(--accent); }
.hz-sub { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px !important; }
.hz-cmd { display: block; text-decoration: none; padding: 7px 9px; margin-top: 5px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.hz-cmd:hover { border-color: var(--line-2); }
.hz-cmd span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hz-foot { color: var(--dim); font-size: 12.5px; margin-top: 6px !important; }
.hz-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.hz-chips[hidden] { display: none; }
.hz-chips button { border: 1px solid var(--line-2); background: none; color: var(--accent); border-radius: 999px; padding: 6px 11px; font: 600 12.5px "Jakarta", sans-serif; cursor: pointer; }
.hz-in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.hz-in input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; color: var(--text); padding: 10px 12px; font: 500 16px "Jakarta", sans-serif; }
.hz-in input:focus { outline: none; border-color: var(--line-2); }
.hz-in button { width: 42px; border: 0; border-radius: 12px; background: var(--accent); color: #0c0c0d; font-weight: 800; font-size: 18px; cursor: pointer; }
.totop { bottom: 88px !important; }
.hz-clear { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 17px; cursor: pointer; padding: 6px; }
.hz-clear + .hz-x { margin-left: 0; }
.hz-fix { color: var(--dim); font-size: 12px; font-style: italic; }
/* phones: a near full-width sheet; the script moves it above the on-screen keyboard */
@media (max-width: 520px) {
  .hz-box { left: 8px; right: 8px; width: auto; bottom: 8px; height: min(560px, calc(100vh - 24px)); height: min(560px, calc(100dvh - 24px)); }
  .hz-btn.open { opacity: 0; pointer-events: none; }
}

/* ===================== homepage v2 ===================== */
/* tall pill buttons with a faint tinted gradient */
.pbtn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none;
  color: #fff; font-weight: 700; font-size: 16px; background-color: #0e0e0e;
  background-image: linear-gradient(rgba(239, 227, 196, .16), rgba(120, 118, 112, .14)); border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: background-color .2s, transform .2s, border-color .2s; }
.pbtn:hover { background-color: #121213; border-color: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.pbtn svg { width: 18px; height: 18px; flex: none; }
.pbtn svg.lucide-chevron-right { width: 16px; height: 16px; margin-right: -6px; opacity: .7; }
.pbtn.sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.pbtn.white { background: var(--accent); color: #111; border-color: transparent; box-shadow: 0 8px 30px -10px rgba(239, 227, 196, .5); }
.pbtn.white:hover { background: #fff; }

.x { overflow-x: clip; }
.x svg.lucide { width: 18px; height: 18px; }
/* hero */
.x-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; min-height: 520px; padding: 70px 0 40px; }
.x-hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 800; }
.x-hero h1 .x-word { font: 400 1.12em/1 "Gothic", serif; color: var(--accent); text-shadow: var(--haze); letter-spacing: 0; }
.x-hero p { color: var(--muted); font-size: 17.5px; max-width: 48ch; margin: 0 0 28px; }
.x-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.x-actions.center { justify-content: center; }
.tint { background: linear-gradient(90deg, #fbf1d8, #c2ad7e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-chips { position: relative; height: 400px; }
.x-chip { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: 12px; background: rgba(26, 26, 26, .9); border: 1px solid var(--line); font: 600 13.5px var(--mono); color: #d4d4d8;
  box-shadow: 0 16px 40px -20px #000; animation: drift 7s ease-in-out infinite; animation-delay: var(--d); }
.x-chip svg { width: 15px !important; height: 15px !important; color: var(--accent); }
@keyframes drift { 50% { transform: translateY(-10px); } }
.x-cloud { position: absolute; right: 4%; top: 30%; width: 150px; filter: drop-shadow(0 0 26px rgba(226, 214, 182, .35)); animation: drift 6s ease-in-out infinite; }
.x-powering { text-align: center; color: var(--muted); margin: 0 0 40px; font-size: 15.5px; }
.x-powering b { color: var(--text); font-variant-numeric: tabular-nums; }

/* sections */
.x-sec { padding: 90px 0 20px; }
.x-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.x-badge { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 16px;
  background: radial-gradient(circle at 50% 30%, #2a2a2a, #0f0f10); border: 1px solid var(--line-2); color: var(--accent);
  box-shadow: 0 0 30px -6px rgba(239, 227, 196, .25); }
.x-head h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.03em; margin: 0 0 10px; font-weight: 800; }
.x-head p { color: var(--muted); margin: 0; }
.x-card { position: relative; overflow: hidden; border-radius: 22px; padding: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), #0c0c0d; }
.x-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(500px circle at 20% 0%, rgba(239, 227, 196, .06), transparent 45%); }
.x-card h3 { margin: 0 0 6px; font-size: 18px; } .x-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.x-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-art { height: 170px; display: grid; place-items: center; margin: -6px -6px 18px; border-radius: 16px; position: relative;
  background: radial-gradient(circle at 50% 60%, rgba(239, 227, 196, .07), transparent 70%); }
.x-glyph { width: 84px; height: 96px; display: grid; place-items: center; border-radius: 18px; color: #0c0c0d;
  background: linear-gradient(160deg, #f1efe9, #9e9a90); box-shadow: 0 0 40px -6px rgba(239, 227, 196, .35); }
.x-glyph svg { width: 40px !important; height: 40px !important; }
.x-filters { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 10px; }
.x-filters span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px var(--mono); color: #d4d4d8; background: #131314; }
.x-radar i { position: absolute; border-radius: 50%; border: 1px solid rgba(239, 227, 196, .14); }
.x-radar i:nth-child(1) { width: 60px; height: 60px; } .x-radar i:nth-child(2) { width: 120px; height: 120px; }
.x-radar i:nth-child(3) { width: 180px; height: 180px; background: conic-gradient(from 0deg, rgba(239, 227, 196, .16), transparent 25%); animation: spin 4s linear infinite; }
.x-more { text-align: center; margin-top: 26px; }
.x-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 16px; padding: 34px; }
.x-wide-text p { margin-bottom: 18px; }
.x-mock { display: grid; gap: 8px; }
.x-mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #131314; border: 1px solid var(--line); }
.x-mock-row svg { color: var(--accent); } .x-mock-row b { flex: 1; font-size: 14.5px; }
.x-sw { width: 38px; height: 22px; border-radius: 999px; background: #3f3f46; position: relative; }
.x-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #d4d4d8; }
.x-sw.on { background: var(--accent); } .x-sw.on::after { left: 19px; background: #0c0c0d; }
.x-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-steps { display: grid; gap: 8px; margin-top: 16px; }
.x-steps span { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; background: #131314; font-size: 13.5px; color: #d4d4d8; }
.x-steps svg { width: 15px !important; height: 15px !important; color: var(--accent); }
.x-form { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: #131314; border: 1px solid var(--line); }
.x-form small { color: var(--dim); font-size: 12px; font-weight: 700; } .x-form div { padding: 9px 12px; border-radius: 10px; background: #1b1b1e; font-size: 14px; }
.x-form .x-q { color: #d4d4d8; } .x-form .x-answer { background: rgba(239, 227, 196, .1); color: var(--accent); display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.x-vc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.x-vc svg { width: 40px !important; height: 40px !important; padding: 10px; border-radius: 10px; background: #17171a; border: 1px solid var(--line); color: #d4d4d8; }
.x-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.x-feat { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), #0c0c0d;
  transition: border-color .2s, transform .2s; }
.x-feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.x-feat > svg { width: 34px !important; height: 34px !important; padding: 8px; border-radius: 10px; background: #17171a; border: 1px solid var(--line); color: var(--accent); }
.x-feat h3 { margin: 14px 0 4px; font-size: 16px; } .x-feat p { margin: 0; color: var(--muted); font-size: 13.5px; }
.x-count { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin-top: 60px; }
.x-cta { position: relative; overflow: hidden; text-align: center; margin: 100px 0 40px; padding: 70px 24px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(600px circle at 50% 120%, rgba(239, 227, 196, .12), transparent 60%), #0a0a0b; }
.x-cta p { color: var(--muted); margin: 0 0 6px; } .x-cta h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 26px; letter-spacing: -.03em; }
.x-cta-cloud { width: 90px; margin-bottom: 10px; filter: drop-shadow(0 0 20px rgba(226, 214, 182, .35)); }
@media (max-width: 860px) {
  .x-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 10px; }
  .x-chips { height: 230px; }
  .x-cloud { width: 100px; top: 20%; }
  .x-bento, .x-two, .x-wide { grid-template-columns: 1fr; }
  .x-wide { padding: 24px; }
  .x-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .x-grid { grid-template-columns: 1fr; }
  .pbtn { height: 46px; padding: 0 18px; font-size: 15px; }
  .x-sec { padding-top: 70px; }
}

.top .dash-btn { border-radius: 999px; background-color: #0e0e0e; background-image: linear-gradient(rgba(239, 227, 196, .16), rgba(120, 118, 112, .14));
  border: 1px solid rgba(255, 255, 255, .07); color: #fff; }
.top .invite-btn { border-radius: 999px; }
.x .tint { font: inherit; letter-spacing: inherit; }
@media (max-width: 520px) {
  .x-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .x-feat { padding: 14px; } .x-feat h3 { font-size: 14.5px; margin-top: 10px; } .x-feat p { font-size: 12.5px; }
  .x-cloud { right: 2%; top: auto; bottom: 0; width: 84px; }
  .x-chips { height: 250px; }
}
/* scroll hint at the bottom of the first screen */
.x-scroll { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap;
  background-color: rgba(14, 14, 14, .85); background-image: linear-gradient(rgba(239, 227, 196, .16), rgba(120, 118, 112, .14));
  border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); box-shadow: 0 12px 40px -12px #000; transition: opacity .35s, transform .35s; }
.x-scroll svg { width: 17px !important; height: 17px !important; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.x-scroll.gone { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }
@media (prefers-reduced-motion: reduce) { .x-scroll svg { animation: none; } }

/* patch notes: a Ferris wheel that faces you. Drag it up or down and the cards ride around, staying upright */
.wheel { position: relative; max-width: 980px; margin: 0 auto; padding-bottom: 8px; }
.wheel-stage { position: relative; height: 620px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.wheel-stage.dragging { cursor: grabbing; }
.wheel-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(239, 227, 196,.2); pointer-events: none; }
.wheel-ring .hub { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--panel); border: 2px solid var(--dim); }
.wheel-on .update { position: absolute; left: 50%; top: 50%; width: min(560px, 86%); height: auto; margin: 0;
  transform: translate(-50%, -50%) translate(var(--x, 0px), var(--y, 0px)) scale(var(--s, 1)); opacity: var(--o, 1); z-index: var(--z, 1); will-change: transform; }
.wheel-on .update:not(.active) { filter: saturate(.7) brightness(.8); }
.wheel-ui { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; color: var(--dim); font-size: 12.5px; }
.wheel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(239, 227, 196,.15); }
.earlier { text-align: center; margin-top: 36px; color: var(--muted); }
.earlier h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin: 0 0 8px; }
@media (max-width: 880px) { .wheel-stage { height: 640px; } .wheel-on .update { padding: 18px; } }

/* the patch notes page fits on one screen, so swiping anywhere spins the wheel and there's nothing else to scroll to */
body:has(#wheel) { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
body:has(#wheel) > footer, body:has(#wheel) .totop { display: none; }
body:has(#wheel) > main { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; }
body:has(#wheel) .notes-hero { padding: 18px 0 4px; }
body:has(#wheel) .notes-hero .badge { display: none; }
body:has(#wheel) .notes-hero h1 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 4px; }
body:has(#wheel) .notes-hero p { margin: 0; font-size: 14px; }
body:has(#wheel) .wheel { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; padding-bottom: 12px; }
body:has(#wheel) .wheel-stage { flex: 1; height: auto; min-height: 0; }
.earlier-card .titles p { line-height: 1.7; }
@media (max-width: 700px) {
  body:has(#wheel) > .bar, body:has(#wheel) .notes-hero p { display: none; }
  body:has(#wheel) .notes-hero { padding: 6px 0 0; }
  .wheel-on .update { padding: 16px; }
  .wheel-on .titles h2 { font-size: 18px; } .wheel-on .titles p { font-size: 13.5px; }
  .wheel-on .group li { font-size: 14px; padding: 5px 0; }
  .wheel-on .group li:nth-child(n+4) { display: none; }
}
.notes-legal { text-align: center; margin: 8px 0 0; font-size: 12px; color: var(--dim); }
.notes-legal a { color: var(--dim); text-decoration: none; } .notes-legal a:hover { color: var(--text); }
