/* VRChat Loader — shared styles. System fonts only: the site CSP blocks external fonts. */
:root {
  --bg: #07050d;
  --bg2: #0d0919;
  --panel: rgba(255, 255, 255, .04);
  --panel-solid: #120d22;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(167, 139, 250, .35);
  --text: #f4f0ff;
  --dim: #a79fc2;
  --faint: #70688c;
  --accent: #8b5cf6;
  --accent2: #c084fc;
  --accent-deep: #6d28d9;
  --ok: #34d399;
  --err: #f87171;
  --warn: #fbbf24;
  --radius: 16px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); }

/* ---------- Ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::before, .bg::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: .55;
}
.bg::before {
  background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 65%);
  top: -28vmax; left: -12vmax; animation: drift 22s ease-in-out infinite alternate;
}
.bg::after {
  background: radial-gradient(circle, rgba(192, 38, 211, .32), transparent 65%);
  bottom: -30vmax; right: -14vmax; animation: drift 28s ease-in-out infinite alternate-reverse;
}
.bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.12); } }

/* ---------- Layout ---------- */
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent2); margin-bottom: 14px;
}
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.lead { color: var(--dim); font-size: 1.08rem; max-width: 56ch; }
.center { text-align: center; }
.center h2 { margin-bottom: 14px; }
.center .lead { margin-inline: auto; }
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--accent2) 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(7, 5, 13, .66); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent-deep));
  box-shadow: 0 6px 20px rgba(139, 92, 246, .45);
}
.brand-mark svg { width: 18px; height: 18px; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; color: var(--dim); font-size: .94rem; font-weight: 500; transition: color .15s; }
.links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 22px rgba(139, 92, 246, .35), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(139, 92, 246, .5), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { background: var(--panel); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(139, 92, 246, .1); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }
.btn:focus-visible, .field input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--line); background: var(--panel); border-radius: 99px;
  font-size: .84rem; color: var(--dim); margin-bottom: 24px;
}
.pill b { background: rgba(139, 92, 246, .22); color: var(--accent2); padding: 2px 9px; border-radius: 99px; font-size: .74rem; letter-spacing: .04em; }
.dot { display: inline-block; width: 8px; margin-right: 6px; vertical-align: 1px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
.dot.off { background: var(--faint); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.45rem; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: var(--faint); }

/* App window preview */
.window {
  position: relative; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 18, 48, .9), rgba(14, 10, 28, .92));
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(139, 92, 246, .08), 0 0 80px -10px rgba(139, 92, 246, .35);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .5s ease;
}
.window:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.window-bar i:first-child { background: #f87171; opacity: .8; }
.window-bar i:nth-child(2) { background: #fbbf24; opacity: .8; }
.window-bar i:nth-child(3) { background: #34d399; opacity: .8; }
.window-bar span { margin-left: 10px; font-size: .78rem; color: var(--faint); font-family: var(--mono); }
.window-body { padding: 22px; display: grid; gap: 14px; }
.row-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.row-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(139, 92, 246, .18); color: var(--accent2); flex: none; }
.row-ico svg { width: 20px; height: 20px; }
.row-card strong { display: block; font-size: .92rem; }
.row-card small { color: var(--faint); font-size: .78rem; }
.row-card .tag { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--ok); background: rgba(52, 211, 153, .12); padding: 3px 10px; border-radius: 99px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); animation: fill 3.6s ease-in-out infinite; }
@keyframes fill { 0% { width: 6%; } 70%, 100% { width: 100%; } }
.window-foot { display: flex; justify-content: space-between; font-size: .78rem; color: var(--faint); font-family: var(--mono); }
.window-note { text-align: center; font-size: .72rem; color: var(--faint); margin-top: 14px; }

/* ---------- Cards / features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  transition: transform .25s, border-color .25s, background .25s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .16), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent2); background: linear-gradient(135deg, rgba(139, 92, 246, .26), rgba(139, 92, 246, .08));
  border: 1px solid rgba(167, 139, 250, .25);
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px;
  font-weight: 700; font-size: .92rem; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 4px 16px rgba(139, 92, 246, .4);
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: .9rem; }

/* ---------- Download panel ---------- */
.dl-panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; margin-top: 44px;
  padding: 40px; border-radius: 22px; border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(109, 40, 217, .05) 55%, rgba(255, 255, 255, .02));
  box-shadow: 0 30px 80px -30px rgba(139, 92, 246, .45);
}
.dl-panel h3 { font-size: 1.6rem; margin-bottom: 8px; }
.dl-panel p { color: var(--dim); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.meta span { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: .8rem; color: var(--dim); }
.notes { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--dim); white-space: pre-wrap; }
.dl-actions { display: grid; gap: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
details { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; transition: border-color .2s; }
details[open] { border-color: var(--line-strong); }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--accent2); transition: transform .2s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--dim); font-size: .95rem; }

/* ---------- CTA + footer ---------- */
.cta {
  text-align: center; padding: 64px 28px; border-radius: 26px; border: 1px solid var(--line-strong);
  background: radial-gradient(600px 240px at 50% 0%, rgba(139, 92, 246, .3), transparent 70%), var(--panel);
}
.cta h2 { margin-bottom: 12px; }
.cta .hero-actions { justify-content: center; margin: 28px 0 0; }
footer { border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--faint); font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Auth pages ---------- */
.auth { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 20px 64px; }
.auth-card {
  width: min(440px, 100%); padding: 38px 34px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 18, 48, .72), rgba(14, 10, 28, .78));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 70px -20px rgba(139, 92, 246, .35);
}
.auth-card h1 { font-size: 1.85rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--dim); margin-bottom: 26px; font-size: .96rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--dim); margin-bottom: 7px; }
.input-wrap { position: relative; }
.field input {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(7, 5, 13, .65); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: rgba(255, 255, 255, .18); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.field input.bad { border-color: var(--err); }
.eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; background: none; color: var(--faint); border-radius: 8px; cursor: pointer;
}
.eye:hover { color: var(--text); }
.eye svg { width: 18px; height: 18px; }
.input-wrap input[type="password"], .input-wrap input.has-eye { padding-right: 46px; }
.strength { display: flex; gap: 5px; margin-top: 9px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.strength[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
.strength[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-s="3"] i:nth-child(-n+3) { background: #a3e635; }
.strength[data-s="4"] i { background: var(--ok); }
.hint { font-size: .8rem; color: var(--faint); margin-top: 7px; min-height: 1.1em; }
.msg { padding: 11px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.msg.ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.auth-foot { margin-top: 22px; text-align: center; font-size: .92rem; color: var(--dim); }
.auth-foot a { color: var(--accent2); font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.fine { font-size: .78rem; color: var(--faint); text-align: center; margin-top: 16px; }

/* ---------- Dashboard ---------- */
.dash { padding: 44px 0 90px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.dash-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.dash-head p { color: var(--dim); margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; }
.panel { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.panel h2 { font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: 4px; }
.panel .sub { color: var(--dim); font-size: .9rem; margin-bottom: 18px; }
.panel.hot { border-color: var(--line-strong); background: linear-gradient(135deg, rgba(139, 92, 246, .15), rgba(255, 255, 255, .03)); }
.keys { display: grid; gap: 10px; }
.key-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(7, 5, 13, .5); }
.key-row code { font-family: var(--mono); font-size: .92rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.key-row small { display: block; color: var(--faint); font-size: .76rem; margin-top: 2px; }
.key-row .grow { flex: 1; min-width: 0; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; flex: none; }
.badge.ok { color: var(--ok); background: rgba(52, 211, 153, .12); }
.badge.off { color: var(--err); background: rgba(248, 113, 113, .12); }
.badge.lock { color: #c4b5fd; background: rgba(139, 92, 246, .14); }
.badge.unlocked { color: var(--faint); background: rgba(255, 255, 255, .06); }
.key-row small.hwid { margin-top: 4px; line-height: 1.5; }
.key-row small.hwid code { font-size: .74rem; letter-spacing: 0; overflow-wrap: anywhere; color: var(--dim); }
.empty { text-align: center; padding: 26px 12px; color: var(--dim); font-size: .92rem; border: 1px dashed var(--line); border-radius: 12px; }
.empty b { display: block; color: var(--text); margin-bottom: 4px; }
.redeem { display: flex; gap: 10px; }
.redeem input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(7, 5, 13, .65);
  font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase;
}
.redeem input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); color: var(--faint); }
.redeem input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.kv { display: grid; gap: 12px; font-size: .92rem; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kv div:last-child { border: 0; padding: 0; }
.kv span { color: var(--faint); }
.kv b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.skeleton { height: 18px; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Release channel switch (dashboard) */
.dl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.dl-head h2 { margin: 0; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(7, 5, 13, .5); }
.seg button { border: 0; background: none; padding: 5px 13px; border-radius: 7px; color: var(--dim); font-weight: 600; font-size: .82rem; cursor: pointer; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: rgba(139, 92, 246, .28); color: #fff; }
.seg button[data-chan="beta"][aria-pressed="true"] { background: rgba(251, 191, 36, .2); color: var(--warn); }
[hidden] { display: none !important; }
.tag-beta { color: var(--warn); background: rgba(251, 191, 36, .1); display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(251, 191, 36, .4); }

/* ---------- Announcement banner ---------- */
.announce {
  --tone: #c084fc; --tone-bg: rgba(139, 92, 246, .14); --tone-edge: rgba(167, 139, 250, .35);
  position: relative; border-bottom: 1px solid var(--tone-edge);
  background: linear-gradient(90deg, var(--tone-bg), rgba(7, 5, 13, .6) 70%);
  animation: annIn .4s cubic-bezier(.2, .7, .2, 1) both; transition: opacity .25s, transform .25s;
}
.announce::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tone); box-shadow: 0 0 14px var(--tone); }
.announce .wrap { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; }
.announce-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--tone); background: var(--tone-bg); border: 1px solid var(--tone-edge); }
.announce-ico svg { width: 18px; height: 18px; }
.announce-body { flex: 1; min-width: 0; align-self: center; }
.announce-body b { display: block; font-size: .95rem; margin-bottom: 1px; }
.announce-body p { color: var(--dim); font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.announce-body b[hidden] + p { color: var(--text); }
.announce-x { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--faint); cursor: pointer; transition: background .15s, color .15s; }
.announce-x:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.announce-x svg { width: 16px; height: 16px; }
.announce.out { opacity: 0; transform: translateY(-8px); }
.tone-blue   { --tone: #60a5fa; --tone-bg: rgba(59, 130, 246, .14); --tone-edge: rgba(96, 165, 250, .35); }
.tone-green  { --tone: #34d399; --tone-bg: rgba(52, 211, 153, .12); --tone-edge: rgba(52, 211, 153, .35); }
.tone-yellow { --tone: #fbbf24; --tone-bg: rgba(251, 191, 36, .12); --tone-edge: rgba(251, 191, 36, .35); }
.tone-red    { --tone: #f87171; --tone-bg: rgba(248, 113, 113, .13); --tone-edge: rgba(248, 113, 113, .4); }
@keyframes annIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Forum ---------- */
.links a.on { color: var(--text); }
.forum { padding: 40px 0 90px; }
.f-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.f-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); overflow-wrap: anywhere; }
.f-head p { color: var(--dim); margin-top: 6px; max-width: 70ch; }
.f-head .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--faint); margin-bottom: 12px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent2); }
.crumbs i { font-style: normal; opacity: .6; }
.f-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.f-list { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.f-list > .f-row + .f-row { border-top: 1px solid var(--line); }
.f-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-decoration: none; transition: background .15s; }
a.f-row:hover { background: rgba(139, 92, 246, .07); }
.f-row .grow { flex: 1; min-width: 0; }
.f-row h3 { font-size: 1rem; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; }
.f-row p { color: var(--dim); font-size: .88rem; margin-top: 2px; }
.f-row small { color: var(--faint); font-size: .8rem; display: block; margin-top: 3px; overflow-wrap: anywhere; }
.f-row .nums { display: flex; gap: 18px; flex: none; text-align: center; }
.f-row .nums b { display: block; font-size: 1rem; }
.f-row .nums span { font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.f-row .last { width: 200px; flex: none; font-size: .82rem; color: var(--faint); }
.f-row .last b { display: block; color: var(--dim); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--accent2); background: linear-gradient(135deg, rgba(139, 92, 246, .26), rgba(139, 92, 246, .08)); border: 1px solid rgba(167, 139, 250, .25); }
.cat-ico svg { width: 20px; height: 20px; }
.chip { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; vertical-align: 2px; margin-right: 6px; }
.chip.pin { color: var(--accent2); background: rgba(139, 92, 246, .18); }
.chip.lock { color: var(--warn); background: rgba(251, 191, 36, .12); }
.chip.staff { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.chip.cat { color: var(--dim); background: rgba(255, 255, 255, .07); font-weight: 600; }
.chip.banned { color: var(--err); background: rgba(248, 113, 113, .12); }
.side-box { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.side-box h2 { font-size: 1rem; margin-bottom: 12px; }
.side-box p { color: var(--dim); font-size: .88rem; }
.side-box + .side-box { margin-top: 16px; }
.recent { display: grid; gap: 12px; }
.recent a { text-decoration: none; display: block; }
.recent a b { display: block; font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; line-height: 1.35; }
.recent a:hover b { color: var(--accent2); }
.recent small { color: var(--faint); font-size: .78rem; }
.f-search { display: flex; gap: 8px; }
.f-input, .f-text, .f-select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(7, 5, 13, .65); transition: border-color .15s, box-shadow .15s; font: inherit; color: inherit;
}
.f-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f-select option { background: var(--panel-solid); }
.f-text { min-height: 150px; resize: vertical; line-height: 1.55; }
.f-input:focus, .f-text:focus, .f-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.f-input::placeholder, .f-text::placeholder { color: var(--faint); }

/* Thread view */
.posts { display: grid; gap: 14px; }
.post { display: grid; grid-template-columns: 170px 1fr; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; scroll-margin-top: 90px; }
.post.is-staff { border-color: var(--line-strong); }
.post.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px rgba(192, 132, 252, .55); } 100% { box-shadow: none; } }
.post-author { padding: 20px 16px; border-right: 1px solid var(--line); background: rgba(7, 5, 13, .35); text-align: center; }
.post-author b { display: block; margin-top: 10px; font-size: .95rem; overflow-wrap: anywhere; }
.post-author small { display: block; color: var(--faint); font-size: .76rem; margin-top: 3px; }
.post-author .chip { margin: 6px 0 0; }
.avatar-lg { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: #fff; text-transform: uppercase; }
.avatar-lg.avatar-sm { width: 40px; height: 40px; border-radius: 12px; font-size: .95rem; margin: 0; flex: none; }
.post-main { min-width: 0; display: flex; flex-direction: column; }
.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--faint); }
.post-meta a { color: var(--faint); text-decoration: none; }
.post-meta a:hover { color: var(--accent2); }
.post-body { padding: 18px 20px; flex: 1; overflow-wrap: anywhere; font-size: .96rem; }
.post-body .txt { white-space: pre-wrap; }
.post-body a { color: var(--accent2); }
.post-body blockquote { margin: 6px 0; padding: 8px 14px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .035); border-radius: 0 10px 10px 0; color: var(--dim); white-space: pre-wrap; }
.post-body pre { margin: 8px 0; padding: 12px 14px; border-radius: 10px; background: rgba(7, 5, 13, .75); border: 1px solid var(--line); font-family: var(--mono); font-size: .85rem; overflow-x: auto; white-space: pre; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px 12px 20px; flex-wrap: wrap; }
.post-foot small { color: var(--faint); font-size: .76rem; font-style: italic; }
.post-tools { display: flex; gap: 6px; margin-left: auto; }
.btn-xs { padding: 5px 11px; font-size: .8rem; border-radius: 8px; }
.btn-danger { color: #fecaca; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.btn-danger:hover { background: rgba(248, 113, 113, .2); border-color: rgba(248, 113, 113, .55); }
.btn-danger.armed { background: var(--err); color: #1a0505; }
.mod-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 14px; margin-bottom: 16px; border-radius: 14px; border: 1px dashed var(--line-strong); background: rgba(139, 92, 246, .06); font-size: .86rem; }
.mod-bar > span { color: var(--accent2); font-weight: 700; margin-right: 4px; }
.mod-bar .f-select { width: auto; padding: 6px 34px 6px 12px; font-size: .84rem; border-radius: 9px; }
.composer { margin-top: 20px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.composer h2 { font-size: 1.05rem; margin-bottom: 12px; }
.composer .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.composer .hint { margin: 0; }
.field-gap { display: grid; gap: 14px; }
.field-gap label { display: block; font-size: .82rem; font-weight: 600; color: var(--dim); margin-bottom: 7px; }
.counter { font-size: .76rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--err); }
.notice { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); text-align: center; margin-top: 20px; }
.notice a { color: var(--accent2); font-weight: 600; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pager a, .pager span { min-width: 38px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; text-align: center; font-size: .88rem; }
.pager a:hover { border-color: var(--line-strong); }
.pager .cur { background: rgba(139, 92, 246, .28); border-color: var(--line-strong); font-weight: 700; }
.pager .gap { border: 0; background: none; color: var(--faint); }
.edit-box { display: grid; gap: 10px; }
.edit-box .row { display: flex; gap: 8px; justify-content: flex-end; }

@media (max-width: 960px) {
  .f-grid { grid-template-columns: 1fr; }
  .f-row .last { display: none; }
}
@media (max-width: 640px) {
  .f-row { padding: 14px 16px; gap: 12px; }
  .f-row .nums { display: none; }
  .post { grid-template-columns: 1fr; }
  .post-author { display: flex; align-items: center; gap: 12px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .post-author b { margin: 0; }
  .avatar-lg { width: 38px; height: 38px; border-radius: 11px; font-size: .95rem; margin: 0; flex: none; }
  .post-author .chip { margin: 0; }
  .post-author .av { width: 46px !important; height: 46px !important; font-size: 1.1rem !important; margin: 0 !important; }
  .post-author .uname { margin-top: 0; }
  .post-author .rbadges { justify-content: flex-start; }
}

/* ---------- Community: shared ---------- */
/* The homepage gives every <section> big vertical padding; community pages use sections as cards. */
.forum section, .profile section, .dm section, .tk-page section, .voice section { padding: 0; }
.av { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: inline-grid; place-items: center; overflow: hidden; position: relative; color: #fff; font-weight: 700; font-size: calc(var(--s) * .42); line-height: 1; user-select: none; background: var(--panel-solid); }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.online { overflow: visible; }
.av.online img { border-radius: 50%; }
.av.online::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 9px; min-height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--bg); }
.uname { color: var(--text); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.uname:hover { text-decoration: underline; }
.rbadges { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.rbadge { --rc: #a78bfa; display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: 2px 8px 2px 7px; border-radius: 99px; color: var(--text); background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); white-space: nowrap; }
.rbadge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }
.rbadge.more { --rc: #70688c; }
.rbadge.more::before { display: none; }
.mention { color: #e9d5ff; background: rgba(139, 92, 246, .22); padding: 0 4px; border-radius: 5px; text-decoration: none; font-weight: 600; }
.mention:hover { background: rgba(139, 92, 246, .38); }
.linkish { background: none; border: 0; color: var(--accent2); cursor: pointer; font-size: .82rem; font-weight: 600; padding: 0; }
.linkish:hover { text-decoration: underline; }
.ico { display: inline-grid; place-items: center; }
.ico svg { width: 18px; height: 18px; }
.links a { position: relative; }
.links .nbadge { position: static; margin-left: 6px; vertical-align: 1px; }

/* Nav: icon buttons, badges, dropdowns */
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; color: var(--dim); background: var(--panel); border: 1px solid var(--line); cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.icon-btn:hover, .icon-btn.on, .icon-btn[aria-expanded="true"] { color: var(--text); border-color: var(--line-strong); background: rgba(139, 92, 246, .12); }
.nbadge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 800; display: inline-grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); line-height: 1; }
.me-btn { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; display: grid; }
.me-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.dd { position: relative; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 300px; border-radius: 16px; border: 1px solid var(--line-strong); background: #120d22; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8); overflow: hidden; animation: ddIn .16s ease both; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.me-panel { padding: 8px; }
.me-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.me-head b { display: block; margin-bottom: 3px; }
.me-panel a, .me-panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--dim); background: none; border: 0; cursor: pointer; font-size: .92rem; text-align: left; }
.me-panel a:hover, .me-panel button:hover { background: rgba(139, 92, 246, .14); color: var(--text); }
.me-panel .out:hover { background: rgba(248, 113, 113, .12); color: #fecaca; }
.notif-panel { width: min(380px, calc(100vw - 24px)); }
.np-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.np-list { max-height: min(460px, 70vh); overflow-y: auto; }
.np-item { display: flex; gap: 12px; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; }
.np-item:last-child { border-bottom: 0; }
.np-item:hover { background: rgba(139, 92, 246, .08); }
.np-item.unread { background: rgba(139, 92, 246, .1); }
.np-item.unread p::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); margin-right: 7px; vertical-align: 1px; }
.np-item p { font-size: .88rem; line-height: 1.4; color: var(--text); }
.np-item small { color: var(--faint); font-size: .76rem; }
.np-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(139, 92, 246, .18); color: var(--accent2); flex: none; }
.np-empty { padding: 34px 16px; text-align: center; color: var(--faint); font-size: .9rem; }
.hide-wide { display: none; }

/* Autocomplete popup */
.suggest { position: fixed; z-index: 90; max-height: 280px; overflow-y: auto; padding: 6px; border-radius: 14px; border: 1px solid var(--line-strong); background: #160f2a; box-shadow: 0 18px 50px -10px rgba(0, 0, 0, .85); }
.sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: .9rem; }
.sg-item.on { background: rgba(139, 92, 246, .24); }
.sg-item code { font-family: var(--mono); color: var(--accent2); font-size: .86rem; white-space: nowrap; }
.sg-item small { color: var(--faint); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Forum additions */
.post-author .av { margin: 0 auto; }
.post-author .uname { display: block; margin-top: 10px; font-size: .98rem; }
.post-author .rbadges { justify-content: center; margin-top: 6px; }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.react { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: .85rem; cursor: pointer; color: var(--dim); transition: border-color .15s, background .15s; }
.react b { font-size: .78rem; font-weight: 700; }
.react:hover { border-color: var(--line-strong); }
.react.mine { border-color: rgba(167, 139, 250, .6); background: rgba(139, 92, 246, .2); color: var(--text); }
.react:disabled { cursor: default; }
.react-add { position: relative; }
.react-pal { position: absolute; bottom: calc(100% + 6px); left: 0; display: flex; gap: 2px; padding: 5px; border-radius: 12px; border: 1px solid var(--line-strong); background: #160f2a; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); z-index: 5; }
.react-pal button { border: 0; background: none; font-size: 1.15rem; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.react-pal button:hover { background: rgba(139, 92, 246, .25); transform: scale(1.15); }
.online-list { display: flex; flex-wrap: wrap; gap: 6px; }
.online-list a { display: inline-flex; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(7, 5, 13, .45); border: 1px solid var(--line); }
.stat-grid b { display: block; font-size: 1.15rem; }
.stat-grid span { font-size: .74rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Profile ---------- */
.profile { padding: 40px 0 90px; }
.p-card { position: relative; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.p-banner { height: 130px; background: linear-gradient(120deg, var(--pc, #8b5cf6), rgba(109, 40, 217, .4) 60%, rgba(7, 5, 13, .2)); opacity: .85; }
.p-main { position: relative; display: flex; gap: 22px; align-items: flex-end; padding: 0 28px 24px; margin-top: -58px; flex-wrap: wrap; }
.p-main > .av { box-shadow: 0 0 0 6px #0f0b1c; }
.p-main .av.online::after { box-shadow: 0 0 0 5px #0f0b1c; }
.p-id { flex: 1; min-width: 220px; padding-bottom: 4px; }
.p-id h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); overflow-wrap: anywhere; }
.p-id .meta-line { color: var(--faint); font-size: .86rem; margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.p-id .rbadges { margin-top: 10px; }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 6px; }
.p-bio { padding: 0 28px 24px; color: var(--dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.p-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 20px; align-items: start; }
.act-list { display: grid; }
.act-list a { display: block; padding: 14px 18px; text-decoration: none; border-top: 1px solid var(--line); }
.act-list a:first-child { border-top: 0; }
.act-list a:hover { background: rgba(139, 92, 246, .06); }
.act-list b { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.act-list p { color: var(--dim); font-size: .88rem; margin-top: 3px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-list small { color: var(--faint); font-size: .78rem; }
.tabbar { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); }
.tabbar button { border: 0; background: none; color: var(--dim); font-weight: 600; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.tabbar button[aria-selected="true"] { background: rgba(139, 92, 246, .22); color: var(--text); }
.role-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.role-toggle { --rc: #a78bfa; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px dashed var(--line); background: none; color: var(--faint); font-size: .8rem; font-weight: 600; cursor: pointer; }
.role-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rc); opacity: .5; }
.role-toggle[aria-pressed="true"] { border-style: solid; border-color: color-mix(in srgb, var(--rc) 55%, transparent); background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--text); }
.role-toggle[aria-pressed="true"]::before { opacity: 1; }
.role-toggle:disabled { opacity: .4; cursor: not-allowed; }
.avatar-edit { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Messages ---------- */
.dm-page { padding: 24px 0 30px; }
.dm { display: grid; grid-template-columns: 330px 1fr; height: calc(100vh - 66px - 54px); min-height: 480px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.dm-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.dm-side-head { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.dm-side-head h1 { font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.dm-list { overflow-y: auto; flex: 1; }
.dm-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; }
.dm-item:hover { background: rgba(139, 92, 246, .07); }
.dm-item.on { background: rgba(139, 92, 246, .16); }
.dm-item .grow { flex: 1; min-width: 0; }
.dm-item .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.dm-item b { font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-item small { color: var(--faint); font-size: .74rem; flex: none; }
.dm-item p { color: var(--faint); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-item.unread p { color: var(--text); font-weight: 600; }
.dm-item .nbadge { position: static; box-shadow: none; }
.dm-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dm-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dm-head .grow { flex: 1; min-width: 0; }
.dm-head small { display: block; color: var(--faint); font-size: .78rem; }
.dm-back { display: none; }
.dm-scroll { flex: 1; overflow-y: auto; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 3px; }
.dm-day { align-self: center; font-size: .74rem; color: var(--faint); padding: 3px 12px; margin: 12px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .05); }
.bubble-row { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; }
.bubble-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble { padding: 9px 13px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); overflow-wrap: anywhere; font-size: .94rem; position: relative; }
.bubble .txt, .bubble blockquote { white-space: pre-wrap; }
.bubble pre { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: rgba(7, 5, 13, .7); font-family: var(--mono); font-size: .82rem; overflow-x: auto; }
.bubble blockquote { border-left: 3px solid var(--accent); padding-left: 10px; color: var(--dim); margin: 4px 0; }
.bubble a { color: var(--accent2); }
.mine .bubble { background: linear-gradient(135deg, rgba(139, 92, 246, .55), rgba(109, 40, 217, .55)); border-color: rgba(167, 139, 250, .4); }
.mine .bubble a { color: #fff; }
.bubble.deleted { font-style: italic; color: var(--faint); background: none; }
.bubble-meta { font-size: .7rem; color: var(--faint); white-space: nowrap; padding-bottom: 3px; display: flex; gap: 6px; align-items: center; }
.bubble-meta button { border: 0; background: none; color: var(--faint); cursor: pointer; font-size: .7rem; padding: 0; opacity: 0; }
.bubble-row:hover .bubble-meta button { opacity: 1; }
.bubble-meta button:hover { color: var(--err); }
.seen { align-self: flex-end; font-size: .72rem; color: var(--faint); margin: 2px 4px 0; }
.dm-compose { display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--line); }
.dm-compose .f-text { min-height: 46px; max-height: 180px; resize: none; padding: 12px 14px; }
.dm-compose .btn { height: 46px; flex: none; }
.dm-empty { flex: 1; display: grid; place-items: center; text-align: center; color: var(--faint); padding: 30px; }
.dm-empty b { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.dm-note { padding: 12px 16px; margin: 0 14px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--dim); font-size: .88rem; text-align: center; }

/* ---------- Tickets ---------- */
.tk-page { padding: 40px 0 90px; }
.tk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-tabs a { padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--dim); display: inline-flex; gap: 8px; align-items: center; }
.tk-tabs a.on { color: var(--text); border-color: var(--line-strong); background: rgba(139, 92, 246, .2); }
.tk-tabs a span { font-size: .74rem; color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; flex: none; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.open { color: var(--ok); background: rgba(52, 211, 153, .12); }
.status.waiting { color: var(--warn); background: rgba(251, 191, 36, .12); }
.status.closed { color: var(--faint); background: rgba(255, 255, 255, .06); }
.tk-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.tk-chat { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); display: flex; flex-direction: column; min-height: 420px; }
.tk-msgs { padding: 10px 6px; display: grid; }
.tk-msg { display: flex; gap: 14px; padding: 10px 16px; border-radius: 12px; }
.tk-msg:hover { background: rgba(255, 255, 255, .025); }
.tk-msg .grow { flex: 1; min-width: 0; }
.tk-msg .who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tk-msg .who small { color: var(--faint); font-size: .74rem; }
.tk-msg .body { margin-top: 3px; overflow-wrap: anywhere; font-size: .95rem; }
.tk-msg .body .txt { white-space: pre-wrap; }
.tk-msg .body pre { margin: 6px 0; padding: 10px 12px; border-radius: 10px; background: rgba(7, 5, 13, .75); border: 1px solid var(--line); font-family: var(--mono); font-size: .84rem; overflow-x: auto; }
.tk-msg .body blockquote { margin: 4px 0; padding: 6px 12px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .035); border-radius: 0 8px 8px 0; color: var(--dim); white-space: pre-wrap; }
.tk-msg .body a { color: var(--accent2); }
.tk-msg.cont { padding-top: 2px; }
.tk-msg.cont .gutter { width: 40px; flex: none; }
.tk-sys { display: flex; gap: 12px; align-items: flex-start; margin: 6px 16px; padding: 10px 14px; border-radius: 12px; background: rgba(139, 92, 246, .09); border: 1px solid rgba(167, 139, 250, .22); font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.tk-sys small { display: block; color: var(--faint); font-size: .74rem; margin-top: 3px; white-space: normal; }
.tk-sys code, .tk-msg code { font-family: var(--mono); font-size: .86em; }
.tk-sys.note { background: rgba(251, 191, 36, .07); border: 1px dashed rgba(251, 191, 36, .4); }
.tk-sys.note::before { content: "Staff note"; flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); padding-top: 3px; }
.tk-sys.eph { background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-strong); }
.tk-sys.eph.failed { border-color: rgba(248, 113, 113, .5); }
.tk-sys.eph::before { content: "Only you"; flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent2); padding-top: 3px; }
.tk-compose { border-top: 1px solid var(--line); padding: 14px; margin-top: auto; }
.tk-compose .f-text { min-height: 90px; }
.tk-compose .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.tk-side .side-box h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 12px; }
.tk-owner { display: flex; gap: 12px; align-items: center; }
.tk-owner small { display: block; color: var(--faint); font-size: .78rem; }
.quick { display: grid; gap: 8px; }
.quick .btn { justify-content: flex-start; }
.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.cat-pick label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(7, 5, 13, .5); cursor: pointer; font-weight: 600; font-size: .9rem; transition: border-color .15s, background .15s; }
.cat-pick input { accent-color: var(--accent); }
.cat-pick label:has(input:checked) { border-color: var(--accent); background: rgba(139, 92, 246, .14); }

@media (max-width: 960px) {
  .p-grid, .tk-grid { grid-template-columns: 1fr; }
  .dm { grid-template-columns: 1fr; }
  .dm.has-conv .dm-side { display: none; }
  .dm:not(.has-conv) .dm-main { display: none; }
  .dm-back { display: inline-grid; }
}
@media (max-width: 640px) {
  .hide-wide { display: inline-grid; }
  .nav-cta { gap: 6px; }
  .p-main { padding: 0 18px 20px; }
  .p-bio { padding: 0 18px 20px; }
  .bubble-row { max-width: 92%; }
  .dm-page { padding: 0; }
  .dm-page .wrap { width: 100%; }
  .dm { border-radius: 0; border-left: 0; border-right: 0; height: calc(100vh - 66px); }
}

/* ---------- Voice ---------- */
.voice { padding: 24px 0 30px; }
.vc { display: grid; grid-template-columns: 290px 1fr; height: calc(100vh - 66px - 54px); min-height: 520px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.vc-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: rgba(7, 5, 13, .35); }
.vc-side-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.vc-side-head h1 { font-size: 1.2rem; }
.vc-conn { font-size: .74rem; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.vc-conn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.vc-conn.ok::before { background: var(--ok); }
.vc-channels { flex: 1; overflow-y: auto; padding: 10px 8px; display: grid; align-content: start; gap: 2px; }
.vc-chan { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; background: none; color: var(--dim); font-weight: 600; font-size: .92rem; cursor: pointer; text-align: left; transition: background .15s, color .15s; }
.vc-chan:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.vc-chan.on { background: rgba(139, 92, 246, .2); color: var(--text); }
.vc-chan .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-lock svg { width: 13px; height: 13px; color: var(--faint); }
.vc-count { font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: rgba(52, 211, 153, .15); color: var(--ok); }
.vc-occ { display: grid; gap: 1px; padding: 0 0 4px 30px; }
.vc-occ-row { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; font-size: .84rem; color: var(--dim); }
.vc-occ-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-ic svg { width: 14px; height: 14px; color: var(--err); }
.vc-call-box { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.vc-call-box h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 10px; }
.vc-call-box .f-input { padding: 9px 12px; }
.vc-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: radial-gradient(800px 400px at 50% 30%, rgba(139, 92, 246, .1), transparent 70%); }
.vc-stage-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.vc-stage-head svg { width: 18px; height: 18px; color: var(--accent2); }
.vc-sub { margin-left: auto; font-size: .8rem; color: var(--faint); }
.vc-tiles { flex: 1; overflow-y: auto; padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; align-content: center; }
.vc-tiles.big { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center; }
.vc-tile { position: relative; display: grid; justify-items: center; align-content: start; gap: 12px; padding: 26px 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(7, 5, 13, .55); text-align: center; transition: border-color .15s; }
.vc-av { border-radius: 50%; transition: box-shadow .12s; }
.vc-tile.speaking .vc-av { box-shadow: 0 0 0 3px var(--ok), 0 0 24px rgba(52, 211, 153, .55); }
.vc-tile.speaking { border-color: rgba(52, 211, 153, .45); }
.vc-name { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .95rem; min-width: 0; max-width: 100%; }
.vc-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-flags { display: inline-flex; gap: 3px; }
.vc-state { font-size: .76rem; color: var(--warn); }
.vc-vol { width: 80%; accent-color: var(--accent); opacity: 0; transition: opacity .15s; }
.vc-tile:hover .vc-vol, .vc-vol:focus { opacity: 1; }
.vc-controls { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.vc-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; transition: background .15s, transform .1s; }
.vc-btn svg { width: 22px; height: 22px; }
.vc-btn:hover { background: rgba(255, 255, 255, .12); }
.vc-btn:active { transform: scale(.95); }
.vc-btn.off { background: rgba(248, 113, 113, .18); border-color: rgba(248, 113, 113, .45); color: #fecaca; }
.vc-btn.hang { background: #dc2626; border-color: #dc2626; color: #fff; }
.vc-btn.hang:hover { background: #b91c1c; }
.vc-mic { width: auto; max-width: 240px; padding: 10px 34px 10px 12px; font-size: .84rem; }
.vc-controls { position: relative; }
.vc-stats { font-size: .74rem; color: var(--faint); font-variant-numeric: tabular-nums; min-height: 1em; }
.vc-settings { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 20; width: min(380px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-strong); background: #120d22; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .85); animation: ddIn .16s ease both; }
.vc-settings h3 { font-size: .95rem; }
.vc-settings .hint { margin: 0; }
.vc-set-row { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--dim); }
.vc-set-row .f-select { padding: 9px 34px 9px 12px; font-size: .88rem; }
.vc-upload { font-weight: 500; font-size: .76rem; color: var(--faint); }
.vc-upload.warn { color: var(--warn); }
.vc-toggle { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.vc-toggle input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.vc-toggle b { display: block; font-size: .88rem; }
.vc-toggle small { display: block; color: var(--faint); font-size: .78rem; line-height: 1.35; }
.vc-empty { flex: 1; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 30px; color: var(--dim); }
.vc-empty b { color: var(--text); font-size: 1.2rem; }
.vc-empty p { max-width: 44ch; font-size: .92rem; }
.vc-empty-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--accent2); background: rgba(139, 92, 246, .16); border: 1px solid var(--line-strong); }
.vc-empty-ico svg { width: 30px; height: 30px; }
.call-pulse { position: relative; border-radius: 50%; }
.call-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ok); animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

.vc-live { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; background: #ef4444; color: #fff; line-height: 1.2; }
.vc-btn.live { background: rgba(52, 211, 153, .2); border-color: rgba(52, 211, 153, .55); color: #a7f3d0; }
.vc-tile.sharing { cursor: pointer; }
.vc-tile.sharing:hover { border-color: var(--line-strong); }
.vc-banner { margin: 12px 16px 0; padding: 10px 14px; border-radius: 12px; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4); color: #fde68a; font-size: .88rem; text-align: center; cursor: pointer; }
.vc-screen { position: relative; margin: 14px 16px 0; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); flex: 1 1 auto; min-height: 220px; display: flex; }
.vc-screen:fullscreen { margin: 0; border: 0; border-radius: 0; }
.vc-video { width: 100%; height: 100%; max-height: calc(100vh - 66px - 54px - 260px); object-fit: contain; background: #000; display: block; }
.vc-screen:fullscreen .vc-video { max-height: none; height: 100vh; }
.vc-screen-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .2s; flex-wrap: wrap; }
.vc-screen:hover .vc-screen-bar, .vc-screen:focus-within .vc-screen-bar { opacity: 1; }
.vc-screen-bar b { font-size: .9rem; }
.vc-screen-bar small { color: var(--dim); font-size: .76rem; font-variant-numeric: tabular-nums; }
.vc-switch { display: inline-flex; gap: 4px; margin-left: 8px; }
.vc-switch button { border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--dim); font-size: .76rem; padding: 3px 9px; border-radius: 8px; cursor: pointer; }
.vc-switch button.on { color: #fff; border-color: var(--line-strong); background: rgba(139, 92, 246, .35); }
.vc-sbtn { margin-left: auto; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vc-sbtn svg { width: 16px; height: 16px; }
.vc-tiles.strip { flex: 0 0 auto; display: flex; overflow-x: auto; padding: 12px 16px; gap: 10px; align-content: initial; }
.vc-tiles.strip .vc-tile { flex: 0 0 150px; padding: 12px 10px; gap: 6px; }
.vc-tiles.strip .vc-av .av { width: 52px !important; height: 52px !important; font-size: 1.2rem !important; }
.vc-tiles.strip .vc-vol { display: none; }
/* Incoming call popup (any page) */
.call-toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: min(440px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid rgba(52, 211, 153, .45); background: #120d22; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .85), 0 0 40px -10px rgba(52, 211, 153, .4); animation: ddIn .2s ease both; }
.call-toast .grow { flex: 1; min-width: 0; }
.call-toast b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-toast small { color: var(--dim); font-size: .84rem; white-space: nowrap; }
.call-accept { background: #16a34a; box-shadow: none; }
.call-accept:hover { background: #15803d; box-shadow: none; }
.call-accept svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .vc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: calc(100vh - 66px - 54px); }
  .vc-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .vc-channels { max-height: 260px; }
  .vc-stage { min-height: 460px; }
}
@media (max-width: 640px) {
  .voice { padding: 0; }
  .voice .wrap { width: 100%; }
  .vc { border-radius: 0; border-left: 0; border-right: 0; }
  .vc-tiles { padding: 16px; grid-template-columns: repeat(2, 1fr); }
  .vc-tiles.big { grid-template-columns: repeat(2, 1fr); }
  .vc-vol { opacity: 1; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; z-index: 100;
  padding: 12px 20px; border-radius: 12px; font-size: .92rem; font-weight: 500;
  background: #1c1433; border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
/* Grid items cascade in instead of landing all at once */
.js .cards .reveal:nth-child(3n+2), .js .steps .reveal:nth-child(4n+2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3n), .js .steps .reveal:nth-child(4n+3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4n) { transition-delay: .24s; }

/* ---------- Page-load entrance + small touches ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero .wrap > div:first-child > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; }
.js .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s; }
.js .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s; }
.js .hero .wrap > div:first-child > :nth-child(5) { animation-delay: .32s; }
.nav { transition: background .25s, border-color .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(7, 5, 13, .88); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.btn:active { transform: translateY(0) scale(.98); }
.dl-panel.beta { margin-top: 18px; border-color: rgba(251, 191, 36, .3); background: linear-gradient(135deg, rgba(251, 191, 36, .08), rgba(255, 255, 255, .02) 60%); box-shadow: none; }
.dl-panel.beta h3 { font-size: 1.3rem; }
.dl-panel.beta h3 .tag-beta { margin-left: 10px; vertical-align: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .dl-panel, .dash-grid { grid-template-columns: 1fr; }
  .hero .wrap { gap: 44px; }
  .window { transform: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .links { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .dl-panel { padding: 26px 22px; }
  .auth-card { padding: 30px 22px; }
  .hero-stats { gap: 24px; }
  .redeem { flex-direction: column; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
