:root {
  --bg: #000;
  --panel: #0d0d0d;
  --panel-2: #151515;
  --line: #262626;
  --text: #f5f5f7;
  --muted: #a0a0a0;
  --violet: #ffffff;                                   /* the accent is white now: black and white theme */
  --pink: #d4d4d4;
  --grad: linear-gradient(135deg, #ffffff, #d4d4d4);
  --on-grad: #000;                                      /* text that sits on the accent */
  --ok: #34d399;
  --err: #fb7185;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
/* No scrollbars anywhere: everything still scrolls (wheel, touch, keys), the bars just never show. */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
[hidden] { display: none !important; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
.nav { background: #000; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: auto; height: 32px; display: block; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text);
  padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { border-color: #404040; background: #131313; }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.big { padding: 14px 26px; font-size: 17px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; filter: none; }
.btn.danger { color: var(--err); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 44px 0 26px; }
.hero h1 { margin: 0 auto 12px; font-size: clamp(30px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; }
.hero h1 span, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0 auto; color: var(--muted); font-size: clamp(16px, 2.2vw, 21px); max-width: 52ch; }

/* ---------- try it ---------- */
.grid { --h: 700px; display: grid; grid-template-columns: 330px minmax(0, 1fr) 330px; grid-template-rows: var(--h); gap: 16px; align-items: stretch; padding-bottom: 20px; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; height: 100%; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mini { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; overflow: hidden; }
.mini header, .people header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini header b, .people header b { color: var(--text); font-variant-numeric: tabular-nums; }
/* Cards never grow: fixed size, content scrolls inside. Newest at the bottom, older rows fade upward.
   Hover a card (or touch-scroll on phones) to scroll back through everything. */
.scroll { list-style: none; margin: 0; padding: 6px 4px 6px 8px; flex: 1 1 0; min-height: 0; overflow-y: hidden; overscroll-behavior: contain; }
.card:hover .scroll, .scroll:focus-within { overflow-y: auto; }
@media (hover: none) { .scroll { overflow-y: auto; } }
.feed { -webkit-mask-image: linear-gradient(transparent 0, #000 45%); mask-image: linear-gradient(transparent 0, #000 45%); }
.card:hover .feed { -webkit-mask-image: linear-gradient(transparent 0, #000 14%); mask-image: linear-gradient(transparent 0, #000 14%); }
.ranked { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.card:hover .ranked { -webkit-mask-image: none; mask-image: none; }
.empty { color: #636363; font-size: 14px; padding: 10px 6px; }
.row { display: flex; align-items: center; gap: 10px; padding: 5px 6px; animation: pop .25s ease-out; min-width: 0; }
.row .who { min-width: 0; line-height: 1.25; }
.row .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .who span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #1f1f1f; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #d5d5d5; overflow: hidden; }
.av.sm { width: 28px; height: 28px; font-size: 12px; }
.gift-ic { width: 26px; height: 26px; margin-inline-start: auto; flex: none; object-fit: contain; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.stage { position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 18px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #1b1b1b 0%, var(--panel) 60%); }
.go { text-align: center; max-width: 440px; margin: 0 auto; width: 100%; }
.go h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.go p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.input {
  width: 100%; background: #080808; border: 1px solid #313131; border-radius: 14px; color: var(--text); padding: 15px 16px; font: inherit; font-size: 18px;
}
.input:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.msg { min-height: 22px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.msg.err { color: var(--err); }

.livebar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; z-index: 2; background: linear-gradient(#0d0d0d, transparent); }
.livebar .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 1.6s infinite; }
/* the streamer's photo in place of the dot: a thin green ring that pulses */
.lv-av { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: cover; background: var(--panel-2); border: 1.5px solid var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 1.6s infinite; cursor: pointer; }
.lv-av:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@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); } }
.marquee { position: absolute; inset: 0; list-style: none; margin: 0; padding: 60px 18px 70px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, rgba(0,0,0,.25) 18%, #000 60%); mask-image: linear-gradient(transparent 0, rgba(0,0,0,.25) 18%, #000 60%); }
.marquee li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; animation: rise .35s ease-out; min-width: 0; }
.marquee .bubble { background: #181818; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-width: 0; max-width: 100%; }
.marquee .bubble b { display: block; font-size: 13px; color: #d0d0d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marquee .bubble span { display: block; font-size: 17px; overflow-wrap: anywhere; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.stage-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: 12px; color: #737373; text-align: center; background: linear-gradient(transparent, #0d0d0d 60%); }

.people { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; overflow: hidden; }
.people.top { flex-grow: 1.35; }
.scroll > li { animation: pop .25s ease-out; }
.people li { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 10px; animation: pop .25s ease-out; }
.people .who { min-width: 0; flex: 1; }
.people .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.chip { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #1e1e1e; color: #d5d5d5; font-variant-numeric: tabular-nums; }
.chip.c { color: #7dd3fc; } .chip.l { color: #fda4af; } .chip.g { color: #fcd34d; }

.savebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 12px 0 4px; color: var(--muted); font-size: 14px; }
.savebar label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); }
.savebar a { color: #d0d0d0; }

/* ---------- content sections ---------- */
section.block { padding: 56px 0 8px; }
section.block h2 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 8px; text-align: center; }
section.block .lead { color: var(--muted); text-align: center; margin: 0 auto 28px; max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cards .card { padding: 20px; }
.cards h3 { margin: 0 0 6px; font-size: 18px; }
.cards p { margin: 0; color: var(--muted); font-size: 15px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-weight: 800; margin-bottom: 10px; }
.pro { max-width: 520px; margin: 0 auto; padding: 28px; text-align: center; position: relative; border: 1px solid #3a3a3a; background: linear-gradient(180deg, #161616, var(--panel)); }
.pro .soon { display: inline-block; background: var(--grad); color: var(--on-grad); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.pro .price { font-size: 44px; font-weight: 800; margin: 12px 0 0; letter-spacing: -0.03em; }
.pro .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.pro ul { list-style: none; padding: 0; margin: 16px 0 20px; text-align: start; display: grid; gap: 8px; color: #dbdbdb; }
.pro li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 10px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }
.faq { max-width: 760px; margin: 0 auto; }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer small { display: block; width: 100%; color: #737373; }

/* ---------- auth + account pages ---------- */
.auth { width: min(440px, 100% - 32px); margin: 56px auto; padding: 28px; }
.auth h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.02em; }
.auth p.sub { margin: 0 0 20px; color: var(--muted); }
.auth form { display: grid; gap: 14px; }
.auth label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.auth .input { font-size: 16px; padding: 13px 14px; }
.auth .alt { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.auth .alt a { color: #d0d0d0; }
.account { width: min(820px, 100% - 32px); margin: 40px auto; display: grid; gap: 16px; }
.account .card { padding: 22px; }
.account h2 { margin: 0 0 10px; font-size: 20px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.sess { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.sess:first-of-type { border-top: 0; }
.sess .meta { flex: 1; min-width: 180px; }
.sess .meta span { color: var(--muted); font-size: 13px; display: block; }
.prose { width: min(760px, 100% - 32px); margin: 40px auto; }
.prose h1 { letter-spacing: -0.02em; }
.prose h2 { margin-top: 28px; }
.prose p, .prose li { color: #d3d3d3; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: 1fr; }
  .center { order: -1; }
  .grid { grid-template-rows: none; }
  .col { height: auto; }
  .stage { flex: none; height: 460px; }
  .people { flex: none; height: 380px; }
  .mini { flex: none; height: 200px; }
  .left { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .left { grid-template-columns: 1fr; }
  .mini { height: 190px; }
  .nav .btn { padding: 8px 12px; }
  .brand { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.auth-form { display: grid; gap: 14px; max-width: 420px; }
.auth-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---------- tabs, top participants ---------- */
.tabs { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; appearance: none; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 6px 4px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.rank { width: 20px; text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.chip.hot { background: #313131; color: #fff; }

/* ---------- session stats (account page) ---------- */
.sess-card { border-top: 1px solid var(--line); padding: 4px 0; }
.sess-card summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; cursor: pointer; font-weight: 400; list-style: none; }
.sess-card summary::-webkit-details-marker { display: none; }
.sess-card summary .meta { flex: 1; min-width: 180px; }
.sess-card summary .meta b { font-weight: 700; }
.sess-card summary .meta span { color: var(--muted); font-size: 13px; display: block; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.stat-tiles .tile b { font-size: 22px; }
.tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 12px; }
.tops h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tops ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tops li { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.tops li .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tops li b { font-variant-numeric: tabular-nums; }
.sess-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tile { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tile b { display: block; font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: 12px; }

/* ---------- emoji, emotes, tracked viewers, viewer card ---------- */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.emo { height: 1.5em; width: auto; vertical-align: -0.4em; margin: 0 1px; }
.vw { cursor: pointer; }
.vw:hover { filter: brightness(1.15); }
b.vw:hover, span.vw:not(.av):hover { text-decoration: underline; }
.av { transition: box-shadow .15s; }
.av.trk { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--ring); }
.vc-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .68); display: grid; place-items: center; padding: 16px; overflow: auto; }
.vcard { position: relative; width: min(580px, 100%); max-height: 92vh; overflow-y: auto; background: var(--panel); border: 1px solid #313131; border-radius: 22px; padding: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .7); animation: pop .2s ease-out; }
.vc-x { position: absolute; top: 10px; inset-inline-end: 14px; appearance: none; border: 0; background: #222222; color: #d5d5d5; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.vc-top { display: flex; align-items: center; gap: 20px; }
.vc-photo { width: 168px; height: 168px; border-radius: 50%; flex: none; position: relative; display: grid; place-items: center; background: #171717; }
.vc-photo.trk { box-shadow: 0 0 0 3px var(--panel), 0 0 0 7px var(--ring); }
.vc-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; image-rendering: auto; }
.vc-img.small { width: 96px; height: 96px; } /* only a small photo exists: never stretch it (that is what makes photos blurry) */
.vc-img.letter { display: grid; place-items: center; font-size: 64px; font-weight: 800; color: #d5d5d5; background: #1f1f1f; }
.vc-who { min-width: 0; } .vc-who h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; overflow-wrap: anywhere; } .vc-who small { color: var(--muted); font-size: 14px; }
.vc-track { margin-top: 12px; } .vc-track .msg { margin: 0 0 8px; }
.vc-sw { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.sw { appearance: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sw.on { border-color: #fff; } .sw-pick { width: 30px; height: 26px; border: 0; background: none; padding: 0; cursor: pointer; }
.vc-body section { margin-top: 18px; } .vc-body h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.vc-grid .tile { padding: 10px 12px; } .vc-grid .tile b { font-size: 20px; }
.vc-sub { color: var(--muted); font-size: 13px; margin: 8px 0; }
.vc-rows { display: grid; } .vc-row { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(4, auto); gap: 12px; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--line); }
.vc-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-recent h4 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vc-recent p { margin: 4px 0; padding: 7px 12px; background: #151515; border-radius: 12px; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .vc-top { flex-direction: column; text-align: center; } .vc-row { grid-template-columns: 1fr 1fr; } }

/* ---------- signup photo picker ---------- */
.av-pick { display: flex; align-items: center; gap: 16px; }
.av-pick small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.av-pick b { color: var(--text); font-size: 14px; }
.av-drop { appearance: none; width: 84px; height: 84px; border-radius: 50%; flex: none; border: 2px dashed #404040; background: #080808; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; overflow: hidden; padding: 0; display: grid; place-items: center; }
.av-drop:hover { border-color: var(--violet); color: var(--text); }
.av-drop canvas { width: 100%; height: 100%; display: block; }
.btn.sm { padding: 5px 12px; font-size: 13px; }

/* ---------- embedded (framed by the user page): no site header ---------- */
html.embed .nav { display: none; }
html.embed .hero { padding: 18px 0 6px; }
html.embed .hero h1 { font-size: clamp(26px, 3.6vw, 40px); }
html.embed section.block { padding: 14px 0 0; }
html.embed .cards { margin-bottom: 14px; }
html.embed .cards .card { padding: 14px 16px; }
html.embed .pro { padding: 16px 24px; }
html.embed .pro .price { font-size: 32px; margin: 2px 0 0; }
html.embed .pro ul { margin: 8px 0 12px; gap: 4px; }

/* ---------- language list in the footer, comment translation ---------- */
footer .langs { display: flex; flex-wrap: wrap; gap: 6px 14px; width: 100%; }
footer .langs a { color: var(--muted); text-decoration: none; font-size: 13px; }
footer .langs a:hover, footer .langs a[aria-current] { color: var(--text); text-decoration: underline; }
.tr-btn { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; line-height: 1; padding: 0 3px; margin-inline-start: 4px; cursor: pointer; opacity: .5; vertical-align: baseline; }
.tr-btn:hover, .tr-btn.on { opacity: 1; }
.tr-btn.dim { opacity: .22; }
.tr-btn.dl { opacity: 1; filter: hue-rotate(160deg); }
.tr-btn.busy { opacity: .6; animation: pulse 1s infinite; }
.tr-out { display: inline; white-space: normal; overflow-wrap: anywhere; }
.tr-out.note { display: block; color: #d0d0d0; font-size: .92em; margin-top: 2px; }
.tr-orig[hidden] { display: none; }
.savebar select, .acct-pref select { cursor: pointer; }
/* right-to-left languages (Arabic): flip arrows in text that scripts write */
html[dir="rtl"] .dock .arrow { transform: scaleX(-1); }
html[dir="rtl"] .tr-btn { margin-inline-start: 4px; }

/* ---------- landing page: avatars stream in from the left, hold, then flow out to the right ---------- */

/* ---------- Shout Out showcase ---------- */
.sp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; max-width: 920px; margin: 0 auto; }
.sp-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; counter-reset: sp; }
.sp-steps li { counter-increment: sp; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; }
.sp-steps li::before { content: counter(sp); grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.sp-steps b { font-size: 17px; }
.sp-steps span { color: var(--muted); font-size: 15px; }
.sp-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; color: #dbdbdb; }
.sp-points li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 10px; }
.sp-frame { width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000; border: 1px solid #313131; box-shadow: 0 24px 70px rgba(0, 0, 0, .65), 0 0 0 6px #0d0d0d; margin: 0 auto; }
.sp-video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; pointer-events: none; background: #000; }
.sp-video::-webkit-media-controls, .sp-video::-webkit-media-controls-panel, .sp-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
@media (max-width: 760px) {
  .sp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sp-media { order: -1; }
}

/* Share cards showcase: three real templates fanned out */
.sh-fan { position: relative; width: min(330px, 80vw); aspect-ratio: 9 / 13; margin: 0 auto; }
.sh-fan img { position: absolute; bottom: 0; width: 56%; aspect-ratio: 9 / 16; height: auto; object-fit: cover; border-radius: 22px; border: 1px solid #313131; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); background: #0d0d0d; }
.sh-fan img:nth-child(1) { left: 0; transform: rotate(-9deg); transform-origin: bottom center; }
.sh-fan img:nth-child(2) { right: 0; transform: rotate(9deg); transform-origin: bottom center; }
.sh-fan img:nth-child(3) { left: 22%; z-index: 2; bottom: 4%; }

/* ---------- landing page: sections that open and close ---------- */
/* closed by default (the page needs no script to start closed, so nothing blocks the first paint); css/nojs.css opens them when scripts are off */

/* ---------- landing page: the Share cards fan (see landing-share.js) ---------- */
.sp-share { grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); max-width: 1000px; }
.sp-share .sp-media { width: 100%; }
.sh-name { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.sp-steps.swap { animation: sh-swap .35s ease both; }
@keyframes sh-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sh-deck { --cw: 184px; --ch: calc(var(--cw) * 16 / 9); --step: 30px; --big: 1.55; position: relative; width: 100%; height: calc(var(--ch) + 64px); transition: height .45s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sh-deck.big { height: calc(var(--ch) * var(--big) + 64px); }
.sh-card { position: absolute; left: 50%; top: 32px; width: var(--cw); margin-left: calc(var(--cw) / -2); aspect-ratio: 9 / 16; padding: 0; border: 1px solid #313131; border-radius: 18px; overflow: hidden; background: #0d0d0d; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transform: translateX(calc(var(--k, 0) * var(--step) + var(--dx, 0px))) translateY(calc(var(--ak, 0) * 10px)) rotate(calc(var(--k, 0) * 3.5deg + var(--dr, 0deg))) scale(calc(1 - var(--ak, 0) * 0.045));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, filter .3s ease, box-shadow .3s ease; }
.sh-card canvas { width: 100%; height: 100%; display: block; pointer-events: none; }
.sh-card.front { box-shadow: 0 26px 70px rgba(0, 0, 0, .75), 0 0 0 2px rgba(255, 255, 255, .45); cursor: zoom-in; }
.sh-card:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.sh-card.far { opacity: 0; pointer-events: none; }
.sh-deck.big .sh-card { opacity: .22; filter: saturate(.6); }
.sh-deck.big .sh-card.far { opacity: 0; }
.sh-deck.big .sh-card.front { opacity: 1; filter: none; cursor: zoom-out; transform: translateX(var(--dx, 0px)) translateY(calc(var(--ch) * (var(--big) - 1) / 2)) rotate(var(--dr, 0deg)) scale(var(--big)); }
.sh-deck.dragging .sh-card.front { transition: none; cursor: grabbing; }
.sh-hint { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.sh-try, .sh-live { display: grid; gap: 10px; margin: 0 0 22px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.sh-try b, .sh-live b { font-size: 17px; }
.sh-try > span, .sh-live > span { color: var(--muted); font-size: 15px; }
.sh-live-row { display: flex; gap: 8px; }
.sh-live-row .input { min-width: 0; flex: 1; }
.sh-try-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-clear { justify-self: start; background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.sh-msg { margin: 0; min-height: 0; font-size: 14px; color: var(--muted); }
.sh-msg:empty { display: none; }
.sh-msg.err { color: var(--err); }
.sh-note { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .sp-share { grid-template-columns: minmax(0, 1fr); }
  .sh-deck { --cw: min(52vw, 200px); --step: 30px; }
}
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-deck { transition: none; } .sp-steps.swap { animation: none; } }
.sh-deck > .sh-fan { position: absolute; inset: 0; margin: auto; width: min(330px, 100%); height: 100%; aspect-ratio: auto; }

/* ---------- the free "try it" tool: the live stage and one card with everyone watching ---------- */
.people .row-note { color: var(--muted); font-size: 12px; }
/* the viewer card: TikTok profile, and what this person did in the live */
.vc-prof .vc-bio { margin: 0 0 10px; padding: 10px 12px; background: #151515; border-radius: 12px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.vc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.vc-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #222222; color: #d5d5d5; }
.vc-badge.live { background: rgba(254, 44, 85, .16); color: #ff6b8b; }
.vc-prof .btn { margin-top: 10px; }
.vc-gifts h4 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vc-gift { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.vc-gift img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.vc-gift span:first-of-type { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-gift .vc-sub { margin: 0; }

/* extra TikTok facts in the profile card */
.vc-facts { display: grid; gap: 6px; margin: 10px 0; }
.vc-fact { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.vc-fact b, .vc-fact a { text-align: end; overflow-wrap: anywhere; font-weight: 600; }
.vc-fact a { color: var(--violet); }

/* Continue with TikTok (login and sign-up) */
.auth .tt-btn { width: 100%; margin-top: 10px; justify-content: center; }

/* Home page (V2): the hero, and the try-its under the Shout Out and Comment Clipper sections */
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.sp-try { max-width: 1000px; }
.sp-try .sp-media { display: grid; justify-items: center; gap: 10px; }
.tri { display: grid; gap: 10px; margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.tri h3 { margin: 0; font-size: 18px; }
.tri p { margin: 0; color: var(--muted); font-size: 14px; }
.tri .field { display: flex; flex-direction: row; align-items: stretch; gap: 8px; }
.tri .field .input { min-width: 0; flex: 1; }
.tri-up { justify-self: start; cursor: pointer; }
.tri-note { font-size: 12px !important; }
.tri-canvas { width: 100%; height: 100%; display: block; border-radius: inherit; background: #070707; }
.tri .msg { min-height: 18px; }
@media (max-width: 800px) { .sp-try { grid-template-columns: minmax(0, 1fr); } .sp-try .sp-media { order: -1; } }

/* the invisible trap field on the signup form (people never see it; bots fill it) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Live overlay showcase (landing): gifter pictures floating over a video, thin white rings, a pulsing RGB ring for the biggest gifters */
.ovs-frame { position: relative; }
.ovs-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.ovs-b { position: absolute; left: 0; top: 0; width: var(--d, 44px); height: var(--d, 44px); will-change: transform, opacity; opacity: 0; }
.ovs-b img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255, 255, 255, .95); box-sizing: border-box; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); background: #3e3e3e; }
.ovs-b.rgb { animation: ovs-pulse 1.1s ease-in-out infinite, ovs-glow 3.2s linear infinite; }
.ovs-b.rgb img { border-color: transparent; }
.ovs-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; box-sizing: border-box;
  background: conic-gradient(#ff3b3b, #ffd43b, #3bff6a, #3bd9ff, #4b5bff, #e03bff, #ff3b3b) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box; -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box; animation: ovs-spin 2.2s linear infinite; }
@keyframes ovs-spin { to { transform: rotate(360deg); } }
@keyframes ovs-pulse { 50% { scale: 1.08; } }
@keyframes ovs-glow { 0%, 100% { filter: drop-shadow(0 0 4px #ff3b3b); } 25% { filter: drop-shadow(0 0 4px #ffd43b); } 50% { filter: drop-shadow(0 0 4px #3bff6a); } 75% { filter: drop-shadow(0 0 4px #e03bff); } }
@media (prefers-reduced-motion: reduce) { .ovs-b.rgb, .ovs-ring { animation: none; } }

.ph-cta { text-align: center; margin: 0 0 8px; }

/* ---- price comparison ---- */
.prc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto 18px; }
.prc-card { position: relative; padding: 22px 22px 18px; border-radius: 20px; border: 1px solid var(--line, #313131); background: var(--panel, #141414); }
.prc-card h3 { margin: 0 0 6px; font-size: 18px; }
.prc-price { margin: 0 0 12px; color: var(--muted); }
.prc-price b { font-size: 38px; letter-spacing: -.02em; color: var(--text, #fff); }
.prc-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.prc-card li { padding-inline-start: 24px; position: relative; }
.prc-other { opacity: .8; }
.prc-other .prc-price b { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: #f87171; }
.prc-other li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #f87171; font-weight: 800; }
.prc-us { border-color: #ffffff; box-shadow: 0 0 0 1px #ffffff inset, 0 20px 60px rgba(255, 255, 255, .12); }
.prc-us .prc-price b { color: #ffffff; }
.prc-us li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #ffffff; font-weight: 800; }
.prc-tag { position: absolute; top: -11px; inset-inline-end: 18px; background: #ffffff; color: #0c0c0c; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.prc-free { text-align: center; max-width: 56ch; margin: 0 auto 18px; font-weight: 600; }
@media (max-width: 620px) { .prc { grid-template-columns: minmax(0, 1fr); } }


/* ---- language buttons (the ten most spoken languages) ---- */
.lp { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 940px; }
.lp-pill { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line, #262626); background: var(--panel-2, #151515); color: var(--text, #fff); font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1; transition: background .15s, border-color .15s, transform .15s; }
.lp-pill:hover { border-color: #fff; transform: translateY(-1px); }
.lp-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lp-pill[aria-current="true"] { background: #fff; border-color: transparent; color: #000; }
.lp.lp-busy { opacity: .7; pointer-events: none; }
