/* Évvi — evvimp3.com.br */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --sky-top: #070414; --sky-mid: #160c2e; --sky-low: #2a1440;
  --surface: rgba(27, 18, 44, .78); --surface-2: rgba(40, 27, 63, .72); --solid: #1c1330;
  --soft: rgba(255, 255, 255, .055); --soft-2: rgba(255, 255, 255, .09);
  --line: rgba(214, 186, 255, .15); --line-strong: rgba(214, 186, 255, .3);
  --txt: #f7f1fc; --muted: #b8a7cc; --faint: #8d7ca3;
  --accent: #f3a8ca; --accent-2: #b99df6; --accent-ink: #2b0f2c;
  --grad: linear-gradient(100deg, #e98fbd, #b28af2);
  --gold: #f5d68e; --gold-ink: #3a2808;
  --ok: #92e2b0; --ok-bg: rgba(84, 190, 130, .14);
  --warn: #f6cf86; --warn-bg: rgba(240, 180, 80, .13);
  --err: #ffb2c4; --err-bg: rgba(255, 110, 150, .13);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(185, 120, 255, .45);
}
:root[data-theme="light"] {
  color-scheme: light;
  --sky-top: #f7d9cf; --sky-mid: #f1e2df; --sky-low: #e9d3dc;
  --surface: rgba(255, 250, 245, .86); --surface-2: rgba(255, 246, 238, .9); --solid: #fffaf4;
  --soft: rgba(181, 99, 122, .07); --soft-2: rgba(181, 99, 122, .12);
  --line: rgba(201, 150, 60, .45); --line-strong: #c9963c;
  --txt: #3a2430; --muted: #7b5c66; --faint: #a08790;
  --accent: #b5637a; --accent-2: #8a68c2; --accent-ink: #fff;
  --grad: linear-gradient(100deg, #c26b85, #9a72cf);
  --gold: #c9963c; --gold-ink: #fff;
  --ok: #3f8a5b; --ok-bg: #e6f3ea;
  --warn: #93641f; --warn-bg: #fbf0dc;
  --err: #a43c55; --err-bg: #fbe6eb;
  --shadow: 0 22px 50px -30px rgba(120, 60, 70, .45);
  --glow: 0 0 0 1px var(--line), 0 24px 50px -34px rgba(170, 100, 90, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--txt); line-height: 1.55;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) fixed;
  background-color: var(--sky-mid); overflow-x: hidden;
}
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'SOFT' 100, 'WONK' 0; font-weight: 600; letter-spacing: -.012em; line-height: 1.15; margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 2px; border-radius: 10px; }

/* ---------- céu ---------- */
#sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
#sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb { position: fixed; top: clamp(18px, 6vh, 60px); right: clamp(-30px, 5vw, 90px); width: clamp(110px, 17vw, 190px); aspect-ratio: 1; z-index: -1; pointer-events: none; transition: opacity .8s ease; }
.orb svg { width: 100%; height: 100%; display: block; overflow: visible; }
.orb.moon { filter: drop-shadow(0 0 40px rgba(255, 240, 210, .35)); }
.orb.sun { filter: drop-shadow(0 0 50px rgba(255, 200, 90, .55)); }
.orb.sun .rays { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
:root[data-theme="light"] .orb.moon, :root[data-theme="dark"] .orb.sun { opacity: 0; }
.clouds { position: fixed; inset: auto 0 0 0; height: 46vh; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; left: -40vw; width: 38vw; min-width: 260px; opacity: .2; animation: drift linear infinite; }
:root[data-theme="light"] .cloud { opacity: .75; }
.cloud path { fill: #d9c6f3; }
:root[data-theme="light"] .cloud path { fill: #fff; }
@keyframes drift { to { transform: translateX(150vw); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- estrutura ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 18px 16px 72px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 22px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--txt); }
.logo { font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'SOFT' 100; font-size: clamp(2.1rem, 6vw, 2.9rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.squiggle { width: 86px; height: 11px; color: var(--accent); margin: 4px 0 0 2px; }
.tag { color: var(--muted); font-size: .95rem; font-weight: 600; margin-top: 4px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: .82rem; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f8f; box-shadow: 0 0 0 0 rgba(255, 95, 143, .6); animation: pulse 1.8s infinite; }
.live.off i { background: var(--faint); animation: none; }
.live small { color: var(--muted); font-weight: 700; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 95, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 143, 0); } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s; }
.icon-btn:hover { transform: rotate(-12deg) scale(1.06); }
.icon-btn svg { width: 19px; height: 19px; }
:root[data-theme="dark"] .ico-sun, :root[data-theme="light"] .ico-moon { display: none; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px;
  box-shadow: var(--shadow); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.card + .card { margin-top: 16px; }
.card.vip { border-color: color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: var(--shadow), inset 0 1px 0 color-mix(in srgb, var(--gold) 35%, transparent); }
.card-title { font-size: clamp(1.45rem, 4vw, 1.8rem); }
.sub { color: var(--muted); margin: 6px 0 0; font-size: .97rem; }
.layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; }
  .layout .side-a { position: sticky; top: 18px; }
}
.stack > * + * { margin-top: 16px; }
footer.foot { text-align: center; color: var(--faint); font-size: .85rem; margin-top: 40px; }
footer.foot a { color: var(--muted); }

/* ---------- formulários ---------- */
.l { display: block; font-weight: 800; font-size: .9rem; margin: 0 0 7px; }
.field { margin-top: 16px; }
input[type=text], input[type=url], input[type=password], input[type=number], input[type=search], textarea {
  width: 100%; padding: 13px 15px; border-radius: 15px; border: 1.5px solid var(--line); background: var(--soft);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s; font-size: 1rem;
}
input::placeholder { color: var(--faint); }
input:focus { border-color: var(--accent-2); background: var(--soft-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 18%, transparent); }
.hint { color: var(--muted); font-size: .84rem; margin-top: 7px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 20px;
  border: 0; border-radius: 16px; cursor: pointer; font-weight: 800; font-size: 1.02rem; text-decoration: none;
  background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), filter .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn.gold { background: linear-gradient(100deg, #f7d98f, #eab45c); color: #3a2808; box-shadow: 0 14px 30px -14px rgba(234, 180, 92, .8); }
.btn.ghost { background: var(--soft); color: var(--txt); border: 1.5px solid var(--line); box-shadow: none; }
.btn.sm { min-height: 38px; width: auto; padding: 7px 14px; font-size: .88rem; border-radius: 12px; }
.btn.xs { min-height: 32px; width: auto; padding: 5px 11px; font-size: .8rem; border-radius: 10px; box-shadow: none; }
.btn.ok { background: #3da56b; color: #fff; box-shadow: none; }
.btn.danger { background: transparent; color: var(--err); border: 1.5px solid color-mix(in srgb, var(--err) 45%, transparent); box-shadow: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 15px; }
.tabs button { border: 0; background: transparent; padding: 10px; border-radius: 11px; font-weight: 800; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.tabs button.on { background: var(--solid); color: var(--txt); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); }

.drop, .filepick { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1.8px dashed var(--line-strong); background: var(--soft); cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.drop { flex-direction: column; text-align: center; padding: 26px 16px; gap: 6px; }
.drop:hover, .drop.over, .filepick:hover { border-color: var(--accent-2); background: var(--soft-2); }
.drop input, .filepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .ico, .filepick .ico { width: 30px; height: 30px; color: var(--accent); flex: 0 0 auto; }
.drop span, .filepick .fp-sub { color: var(--muted); font-size: .85rem; }
.filepick strong { display: block; font-size: .95rem; }
.filepick.done, .drop.done { border-style: solid; border-color: color-mix(in srgb, var(--ok) 70%, transparent); background: var(--ok-bg); }
.filepick.done .ico, .drop.done .ico { color: var(--ok); }

.skip { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 18px; cursor: pointer; border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); transition: background .2s, border-color .2s, transform .2s; }
.skip:hover { transform: translateY(-1px); }
.skip input { position: absolute; opacity: 0; pointer-events: none; }
.skip .dot { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 8px; border: 2px solid var(--gold); display: grid; place-items: center; transition: background .2s; }
.skip .dot::after { content: ''; width: 11px; height: 6px; border: solid var(--gold-ink); border-width: 0 0 2.6px 2.6px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.skip.on { background: color-mix(in srgb, var(--gold) 18%, transparent); border-color: var(--gold); }
.skip.on .dot { background: var(--gold); }
.skip.on .dot::after { opacity: 1; }
.skip.locked { cursor: default; }
.skip .t { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.skip .t b { font-size: 1.02rem; }
.skip .t span { color: var(--muted); font-size: .85rem; }
.skip .price { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; color: var(--gold); white-space: nowrap; }

.req { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.req-head { display: flex; gap: 12px; align-items: center; }
.req-head .t { display: flex; flex-direction: column; line-height: 1.3; }
.req-head .t span { color: var(--muted); font-size: .88rem; }
.req-ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f7a6c4, #c26b85 45%, #9a72cf); }
.req-ico svg { width: 21px; height: 21px; }
.req-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.btn.ig { background: linear-gradient(100deg, #f58fb2, #b56fd6); }

.msg { padding: 12px 15px; border-radius: 14px; font-weight: 700; font-size: .92rem; margin-top: 14px; }
.msg.err { background: var(--err-bg); color: var(--err); }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.note { background: var(--warn-bg); color: var(--warn); }
.closed { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 13px 15px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-size: .92rem; }
.closed b { color: inherit; }
.as { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.as b { color: var(--txt); }
.progress { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }

/* ---------- filas ---------- */
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.qhead h2 { font-size: 1.32rem; display: flex; align-items: center; gap: 8px; }
.badge { padding: 4px 11px; border-radius: 999px; background: var(--soft-2); color: var(--muted); font-weight: 800; font-size: .8rem; white-space: nowrap; }
.vip .badge { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.q { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q li { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--soft); border: 1px solid transparent; }
.q li.new { animation: pop .35s cubic-bezier(.34, 1.56, .64, 1) both; }
.q li.me { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.q li.empty { justify-content: center; color: var(--faint); font-weight: 700; font-size: .92rem; padding: 18px 12px; background: transparent; border: 1.5px dashed var(--line); animation: none; }
.q .pos { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: .9rem; background: var(--soft-2); }
.q li:first-child:not(.empty) .pos { background: var(--grad); color: #fff; }
.vip .q li:first-child:not(.empty) .pos { background: linear-gradient(135deg, #f7d98f, #e5a94f); color: #3a2808; }
.q .who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.q .name-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.q .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q .who > span { color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q .kind { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--soft-2); color: var(--muted); white-space: nowrap; }
.q .kind.youtube { color: #ff7a8a; } .q .kind.spotify { color: #5fd88d; }
:root[data-theme="light"] .q .kind.youtube { color: #c7354b; } :root[data-theme="light"] .q .kind.spotify { color: #1b8a47; }
.you { font-size: .68rem; font-weight: 900; padding: 2px 7px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); }
.star { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 99px; font-size: .76rem; font-weight: 900; background: linear-gradient(135deg, #f8dc95, #eab45c); color: #3a2808; white-space: nowrap; }
.star svg { width: 11px; height: 11px; fill: currentColor; }
.rank .pos { background: linear-gradient(135deg, #f8dc95, #eab45c) !important; color: #3a2808 !important; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.qmore { text-align: center; margin-top: 10px; }

.counts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.counts .card { margin: 0; }
.count-card { text-align: center; padding: 20px 14px; }
.count-card h2 { font-size: 1.15rem; }
.count-num { font-family: 'Fraunces', serif; font-size: 3.2rem; font-weight: 700; line-height: 1.05; margin-top: 8px; color: var(--accent); }
.vip .count-num { color: var(--gold); }
.count-lbl { color: var(--muted); font-weight: 800; font-size: .88rem; }
.count-num.bump { animation: bump .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 40% { transform: scale(1.18); } }
.live-tip { text-align: center; color: var(--muted); font-size: .92rem; margin: 4px 8px 0; }
.live-tip b { color: var(--txt); }

/* ---------- confirmação ---------- */
.confirm { text-align: center; }
.big-pos { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100; font-size: 4.2rem; font-weight: 700; line-height: 1; color: var(--accent); margin: 12px auto; display: grid; place-items: center; width: 140px; height: 140px; background: var(--soft-2); border-radius: 58% 42% 55% 45% / 49% 56% 44% 51%; animation: blob 8s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 44% 56% 41% 59% / 57% 45% 55% 43%; } }

/* ---------- pagamento ---------- */
.pay { max-width: 520px; margin: 0 auto; }
.amount { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1.1; margin-top: 8px; }
.what { color: var(--muted); font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.qr { display: block; width: 220px; max-width: 100%; margin: 16px auto; background: #fff; padding: 10px; border-radius: 18px; }
.keyval { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .85rem; word-break: break-all; background: var(--soft); border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 12px 14px; }
.copyrow { display: flex; gap: 8px; margin-top: 8px; }
.copyrow input { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }
.paycode { font-family: ui-monospace, Consolas, monospace; font-size: 1.7rem; font-weight: 900; letter-spacing: .2em; padding: 8px 18px 8px 24px; border-radius: 99px; background: var(--soft-2); display: inline-block; color: var(--accent); }
.sep { display: flex; align-items: center; gap: 12px; color: var(--faint); font-weight: 800; font-size: .82rem; margin: 18px 0; }
.sep::before, .sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.status { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 800; font-size: .92rem; margin-top: 16px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.steps { padding-left: 20px; margin: 12px 0 0; color: var(--muted); }
.steps li + li { margin-top: 4px; }

/* ---------- links ---------- */
.bio-page .wrap { max-width: 460px; }
.bio { text-align: center; padding: 10px 0 6px; }
.avatar { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto; border: 3px solid var(--solid); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-2) 30%, transparent), 0 20px 40px -18px rgba(0, 0, 0, .6); }
.bio h1 { font-size: 2.6rem; margin-top: 16px; }
.bio-links { display: grid; gap: 12px; margin-top: 24px; }
.bio-btn { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 18px 12px 12px; border-radius: 22px; text-decoration: none; color: var(--txt); background: var(--surface); border: 1px solid var(--line); font-weight: 800; box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), border-color .2s; }
.bio-btn:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.bio-btn .ico { flex: 0 0 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; }
.bio-btn .ico svg { width: 23px; height: 23px; }
.bio-btn .t { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.bio-btn .t small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.bio-btn .arrow { color: var(--faint); }
.spotify .ico { background: #1db954; } .instagram .ico { background: linear-gradient(135deg, #f7a6c4, #c26b85 45%, #9a72cf); }
.youtube .ico { background: #e11d48; } .whatsapp .ico { background: #25d366; }

/* ---------- painel ---------- */
.adm-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .adm-grid.two { grid-template-columns: 1fr 1fr; } .adm-grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) and (max-width: 1050px) { .adm-grid.four { grid-template-columns: 1fr 1fr; } }
.adm-grid > .card { margin: 0; }
.ctl h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ctl .row { display: flex; gap: 8px; margin-top: 12px; }
.ctl .row input { min-width: 0; }
.switch { position: relative; width: 52px; height: 30px; flex: 0 0 52px; border-radius: 99px; background: var(--soft-2); border: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.switch[aria-checked="true"] { background: #3da56b; }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.pill { font-size: .74rem; font-weight: 900; padding: 3px 9px; border-radius: 99px; background: var(--soft-2); color: var(--muted); }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.err { background: var(--err-bg); color: var(--err); }
.pill.gold { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold); }
.ent { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ent > li { min-width: 0; padding: 13px 14px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); animation: pop .3s ease both; }
.ent > li.empty { text-align: center; color: var(--faint); font-weight: 700; border-style: dashed; background: transparent; }
.ent .head { display: flex; gap: 10px; align-items: flex-start; }
.ent .pos { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: .88rem; background: var(--soft-2); }
.ent .info { flex: 1; min-width: 0; }
.ent .info b { font-size: 1.02rem; overflow-wrap: anywhere; }
.ent .title { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.ent .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ent .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.ent audio { width: 100%; height: 40px; margin-top: 10px; }
.rate { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.rate input { width: 64px; padding: 6px 8px; border-radius: 10px; font-size: .88rem; text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5, 2, 12, .82); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.lightbox img, .lightbox iframe { max-width: min(96vw, 900px); max-height: 86vh; border-radius: 16px; background: #fff; }
.lightbox iframe { width: min(96vw, 900px); height: 86vh; border: 0; }
.lightbox button { position: absolute; top: 16px; right: 16px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 14px; background: var(--solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-weight: 800; max-width: calc(100vw - 32px); }

@media (max-width: 520px) {
  .card { padding: 18px; border-radius: 22px; }
  .live small { display: none; }
  .q li { padding: 9px 10px; gap: 10px; }
  .q .kind { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
