@font-face { font-family: "Monoton"; src: url("fonts/Monoton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06070b;
  --panel: rgba(14, 16, 24, 0.58);
  --panel-solid: #12141e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceef5;
  --muted: #8f96ab;
  --accent: #8b5cff;
  --accent-2: #ff4fa3;
  --live: #ff3b5c;
  --ok: #3ee0a1;
  --radius: 16px;
  --x: 50vw; --y: 30vh; --x2: 50vw; --y2: 30vh;
  font-family: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
/* body must stay transparent: its background would paint over the z-index:-1 effect layer */
html, body { margin: 0; min-height: 100%; color: var(--text); }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------ background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 700px at 80% -10%, rgba(139, 92, 255, .10), transparent 60%),
  radial-gradient(900px 600px at -10% 110%, rgba(255, 79, 163, .08), transparent 60%),
  var(--bg); }
#bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)}
  60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }

/* ---------------------------------------------------------------- topbar */
/* same columns as .layout: the logo is centered over the player, the chips sit over the side column */
.topbar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 20px;
  max-width: 1400px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 8px; }
.topbar .logo { justify-self: center; }
.topbar .chips { justify-self: end; justify-content: flex-end; flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1200px) { .topbar { grid-template-columns: 1fr; justify-items: center; }
  .topbar .logo, .topbar .chips { justify-self: center; justify-content: center; flex-wrap: wrap; } }
.logo { font-family: "Monoton", cursive; font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: 2px; line-height: 1;
  user-select: none; white-space: nowrap; }
.logo-night { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.25); }
.logo-cinema { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(139, 92, 255, .55)); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(12px); font-size: .85rem; color: var(--muted); }
.chip.ok { color: var(--ok); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.live { background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }

/* ---------------------------------------------------------------- layout */
.layout { display: grid; gap: 20px; padding: 16px clamp(16px, 4vw, 48px) 40px; max-width: 1400px; margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "screen side" "react side" "search side"; grid-template-rows: auto auto 1fr; align-items: start; }
.react-card { grid-area: react; }
.search-card { grid-area: search; }
.screen { grid-area: screen; }
.side { grid-area: side; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; grid-template-areas: "screen" "react" "search" "side"; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  backdrop-filter: blur(6px); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
h3 { margin: 0 0 12px; font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------- screen */
.screen { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,255,.08); background: #000; }
.poster-backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center;
  filter: blur(36px) brightness(.45) saturate(1.3); }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, -1%); } }
.poster::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.92) 100%); }
.poster-meta { position: relative; z-index: 1; pointer-events: none; }
.poster.idle .poster-img, .poster.idle .poster-backdrop { display: none; }
.poster { overflow: hidden; aspect-ratio: 16 / 9; position: relative; display: flex; align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%),
    radial-gradient(800px 420px at 70% 30%, rgba(139,92,255,.45), transparent 60%),
    radial-gradient(600px 400px at 20% 80%, rgba(255,79,163,.35), transparent 60%),
    linear-gradient(135deg, #1b1530, #0c0e18); }
.poster.idle { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%), linear-gradient(135deg, #10121b, #07080c); }
.poster-meta { padding: 24px 28px 96px; }
.poster h2 { margin: 8px 0 4px; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.5px; }
.poster .subtitle { margin: 0; color: #c7cbe0; }
.poster .filename { margin: 6px 0 0; color: var(--muted); font-size: .82rem; font-family: ui-monospace, monospace; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: 1.4px;
  padding: 4px 8px; border-radius: 6px; background: var(--live); color: #fff; }
.badge.off { background: rgba(255,255,255,.15); }

/* ---------------------------------------------------------------- player */
.player { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 16px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.player.disabled { pointer-events: none; opacity: .45; }

.progress { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.progress-track { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22);
  transition: height .12s ease; overflow: hidden; }
.progress:hover .progress-track, .progress.dragging .progress-track { height: 7px; }
.progress-buffer, .progress-played, .progress-hover { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.progress-buffer { background: rgba(255,255,255,.28); }
.progress-hover { background: rgba(255,255,255,.28); opacity: 0; transition: opacity .12s; }
.progress:hover .progress-hover { opacity: 1; }
.progress.dragging .progress-hover { opacity: 0; }
.progress.dragging .progress-played { transition: none; }
.progress-played { background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 1; }
.progress-thumb { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(139,92,255,.35); transform: scale(0); transition: transform .12s ease; z-index: 2; }
.progress:hover .progress-thumb, .progress.dragging .progress-thumb { transform: scale(1); }
.progress-tooltip { position: absolute; bottom: 22px; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,.85); font-size: .78rem; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none;
  transition: opacity .1s; white-space: nowrap; }
.progress:hover .progress-tooltip, .progress.dragging .progress-tooltip { opacity: 1; }

.controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.controls .left, .controls .right { display: flex; align-items: center; gap: 2px; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; color: #fff; opacity: .9; transition: background .15s, opacity .15s, transform .1s; }
.icon:hover { background: rgba(255,255,255,.12); opacity: 1; }
.icon:active { transform: scale(.92); }
.icon svg { width: 22px; height: 22px; fill: currentColor; }
.icon.big svg { width: 28px; height: 28px; }
.icon text { font-size: 6.5px; font-weight: 700; fill: currentColor; font-family: Inter, sans-serif; }
.icon.active { color: var(--accent-2); }
.time { margin-left: 10px; font-size: .9rem; font-variant-numeric: tabular-nums; color: #dfe2ee; }
.time .sep { opacity: .5; margin: 0 2px; }

.volume { display: flex; align-items: center; }
.volume input { width: 0; opacity: 0; transition: width .2s ease, opacity .2s ease; accent-color: #fff; }
.volume:hover input, .volume input:focus { width: 90px; opacity: 1; margin-right: 6px; }

.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; bottom: 48px; min-width: 220px; padding: 8px; border-radius: 12px;
  background: rgba(16,18,28,.96); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.5);
  display: none; z-index: 5; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.menu.open { display: block; }
.menu > .menu-title:first-child { position: sticky; top: -8px; margin: -8px -8px 0; padding: 14px 18px 6px;
  background: rgba(16,18,28,.98); z-index: 1; }
.menu-title { font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); padding: 6px 10px; }
.menu-item { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px;
  border: 0; background: transparent; border-radius: 8px; cursor: pointer; text-align: left; font-size: .9rem; }
.menu-item:hover { background: rgba(255,255,255,.08); }
.menu-item.selected::after { content: "✓"; color: var(--accent-2); font-weight: 700; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 8px; }
.stepper button { border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.stepper span { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ side */
.person { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px rgba(139,92,255,.4); }
.name { font-weight: 600; font-size: 1.05rem; }
.warn { margin: 10px 0 0; color: #ffb4c0; font-size: .92rem; line-height: 1.4; }
.room { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.viewers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.viewer { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px;
  background: rgba(255,255,255,.06); font-size: .85rem; }
.viewer i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: .7rem; font-weight: 700; background: rgba(139,92,255,.35); }
.actions { display: flex; flex-direction: column; gap: 8px; }
.btn { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; font-weight: 600;
  background: rgba(255,255,255,.05); transition: transform .1s, filter .15s, background .15s; }
.btn:hover { background: rgba(255,255,255,.1); }
.btn:active { transform: scale(.98); }
.btn.primary { border: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 24px rgba(139,92,255,.35); }
.btn.primary:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .4; cursor: not-allowed; filter: none; }

.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line); min-width: 260px; flex: 1; max-width: 420px; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input, .url-row input { flex: 1; border: 0; background: transparent; padding: 11px 0; font: inherit; color: var(--text); outline: none; }
.url-row { display: flex; gap: 10px; margin-top: 16px; padding: 4px 4px 4px 14px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); }

/* ------------------------------------------------------------- misc */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px;
  background: rgba(16,18,28,.96); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.5); z-index: 20; }
.toast.ok { border-color: rgba(62,224,161,.6); }
.toast.bad { border-color: rgba(255,59,92,.6); }

/* --------------------------------------------------------------- watched */
.watched ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; }
.watched li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 12px; }
.watched .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.watched .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watched .thumb .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.watched .thumb .dur { position: absolute; right: 4px; bottom: 6px; font-size: .68rem; padding: 1px 5px; border-radius: 4px;
  background: rgba(0,0,0,.75); font-variant-numeric: tabular-nums; }
.watched li.queueable { cursor: pointer; transition: background .15s; }
.watched li.queueable:hover { background: rgba(255,255,255,.05); }
.watched li.gone { opacity: .5; }
.watched ul.locked li { opacity: .45; filter: saturate(.6); pointer-events: none; }
.watched .thumb .add { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(0,0,0,.45);
  transition: opacity .15s; }
.watched .thumb .add span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.watched li.queueable:hover .add { opacity: 1; }
.watched .file { font-size: .85rem; font-weight: 600; word-break: break-all; line-height: 1.25; }
.watched .meta { font-size: .76rem; color: var(--muted); margin-top: 3px; }

/* ---------------------------------------------------------------- search */
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.search-head h3 { margin: 0; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 14px;
  border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .88rem; transition: background .15s, color .15s; }
.tab svg { width: 18px; height: 18px; fill: currentColor; }
.tab:hover { color: var(--text); }
.tab.on[data-tab="youtube"] { background: rgba(255, 0, 51, .16); color: #ff5470; }
.tab.on[data-tab="torbox"] { background: rgba(62, 224, 161, .14); color: var(--ok); }
.search-card .search { max-width: none; width: 100%; padding: 4px 4px 4px 12px; }
.btn.small { padding: 8px 14px; border-radius: 9px; }
.results { margin-top: 14px; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.results > .result { flex: 0 0 232px; scroll-snap-align: start; }
.results > .placeholder { flex: 1; margin-top: 0; }
.results:empty { display: none; }
.result { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  cursor: pointer; transition: transform .15s, box-shadow .15s; }
.result:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(255, 84, 112, .5); }
.result .rthumb { position: relative; aspect-ratio: 16 / 9; }
.result .rthumb .dur { position: absolute; right: 6px; bottom: 6px; font-size: .72rem; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.8); }
.result .rthumb .dl { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(0,0,0,.45);
  font-weight: 700; font-size: .85rem; transition: opacity .15s; }
.result:hover .rthumb .dl { opacity: 1; }
.result .rbody { padding: 10px 12px 12px; }
.result .rtitle { font-weight: 600; font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result .rmeta { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.result.downloading { pointer-events: none; }
.result .progressbar { height: 3px; background: rgba(255,255,255,.1); }
.result .progressbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff3355, #ff8a5c); transition: width .2s; }
.placeholder { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; margin-top: 14px; }

/* ------------------------------------------------------- control / locks */
.player.locked { pointer-events: none; }
.player.locked .controls, .player.locked .progress { opacity: .45; }
.locked-area { position: relative; opacity: .45; pointer-events: none; filter: saturate(.6); }
.viewer.owner { background: rgba(139, 92, 255, .22); box-shadow: inset 0 0 0 1px rgba(139, 92, 255, .6); }
.viewer .crown { margin-left: 2px; font-size: .8rem; }

/* ------------------------------------------------------------ owner / vote */
.grow-col { flex: 1; min-width: 0; }
.owner-card .crown { font-size: .95rem; }
.avatar { overflow: hidden; }
.avatar img, .mini-avatar img, .viewer i img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.me-chip { color: var(--text); padding-left: 5px; }
.mini-avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); overflow: hidden; }
.viewer i { overflow: hidden; }
.viewer.me { box-shadow: 0 0 0 2px var(--accent-2), 0 0 14px rgba(255, 79, 163, .45); }
.viewer.me.owner { box-shadow: 0 0 0 2px var(--accent-2), inset 0 0 0 1px rgba(139, 92, 255, .6), 0 0 14px rgba(255, 79, 163, .45); }
/* gavel: vote to take the control away */
.gavel { position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; color: #ffb86b;
  transition: background .15s, transform .1s, border-color .15s; }
.gavel:hover { background: rgba(255, 184, 107, .12); border-color: rgba(255, 184, 107, .45); }
.gavel:active { transform: scale(.92); }
.gavel svg { width: 22px; height: 22px; transition: transform .2s; transform-origin: 70% 70%; }
.gavel.voted { background: rgba(255, 184, 107, .16); border-color: rgba(255, 184, 107, .6); }
.gavel.voted svg { transform: rotate(-18deg); }
.gavel:disabled { color: var(--muted); cursor: not-allowed; opacity: .5; }
.gavel.strike svg { animation: strike .35s ease; }
@keyframes strike { 0% { transform: rotate(0); } 40% { transform: rotate(-38deg); } 70% { transform: rotate(8deg); } 100% { transform: rotate(-18deg); } }
.gavel-badge { position: absolute; top: -7px; right: -9px; min-width: 26px; padding: 2px 6px; border-radius: 999px;
  background: linear-gradient(90deg, #ff8a5c, #ff3b5c); color: #fff; font-size: .68rem; font-weight: 700;
  font-variant-numeric: tabular-nums; box-shadow: 0 4px 12px rgba(255, 59, 92, .45); }
.gavel-badge.pop { animation: pop .3s ease; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.ban-field { margin-top: 12px; min-height: 44px; padding: 8px; border-radius: 12px; border: 1px dashed rgba(255, 184, 107, .28);
  background: rgba(255, 184, 107, .04); display: flex; align-items: center; }
.ban-field .voters { display: flex; flex-wrap: wrap; gap: 6px; }
.voters .viewer { font-size: .8rem; }
.flying { position: fixed; z-index: 50; margin: 0; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

.matches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.matches button { border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.matches button:hover { border-color: var(--accent); }
.quality { margin-right: 4px; padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35);
  font-size: .72rem; font-weight: 700; letter-spacing: .4px; color: #fff; opacity: .85; font-variant-numeric: tabular-nums; }
.origin { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; fill: currentColor; flex: none; }
.origin.torbox { color: #2ecc71; }
.origin.youtube { color: #ff3b3b; }
.origin.local { color: #f5b942; }
.queue-list .qname .origin { width: 13px; height: 13px; margin-right: 5px; }
.flying-avatar { position: fixed; z-index: 50; margin: 0; pointer-events: none; transform-origin: 0 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.15); }
.person.entering .avatar, .person.entering .grow-col { visibility: hidden; }
.owner-ghost { position: fixed; z-index: 49; pointer-events: none; padding: 0; }
.ban-gavel { position: fixed; z-index: 51; width: 30px; height: 30px; pointer-events: none; color: #ffb86b;
  fill: none; stroke: currentColor; transform-origin: 70% 70%; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.queue h3 { display: flex; align-items: center; gap: 8px; }
.queue-count { font-size: .7rem; letter-spacing: .4px; padding: 2px 7px; border-radius: 999px; background: rgba(139,92,255,.18);
  color: #cbb8ff; font-variant-numeric: tabular-nums; }
.queue-count:empty { display: none; }
.queue-list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow: auto; }
.queue-list li { display: grid; grid-template-columns: 18px 84px 1fr auto; gap: 10px; align-items: center; padding: 6px;
  border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid transparent; overflow: hidden; }
.queue-list .qpos { font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.queue-list .qeq, .queue-list .qnow { display: none; }
.queue-list .qthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.queue-list .qthumb .dur { position: absolute; right: 4px; bottom: 4px; font-size: .64rem; padding: 1px 5px; border-radius: 4px;
  background: rgba(0,0,0,.75); font-variant-numeric: tabular-nums; }
.queue-list .qthumb .dur:empty { display: none; }
.queue-list .qinfo { min-width: 0; }
.queue-list .qname { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-list .qby { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .74rem; color: var(--muted); }
.queue-list .qby .mini-avatar { width: 16px; height: 16px; font-size: .55rem; font-style: normal; }
/* being prepared (info/stream in the background) / its start already cached */
.queue-list .qprep { display: none; align-items: center; gap: 5px; margin-left: auto; font-style: normal; font-size: .7rem; color: #ffcf7a; }
.queue-list li.preparing .qprep { display: inline-flex; }
.queue-list .qaway { display: none; margin-left: auto; font-style: normal; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.queue-list .qby .mini-avatar { flex-shrink: 0; }
.queue-list .qby > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-list .qby { overflow: hidden; }
.queue-list .qprep, .queue-list .qaway { flex-shrink: 0; white-space: nowrap; }  /* the nick shortens first */
.queue-list .qprep b, .queue-list .qaway b { font-weight: inherit; }
.queue-list li.away .qaway { display: inline-flex; }
.queue-list li.away .qprep { display: none; }
.queue-list li.away .qthumb, .queue-list li.away .qinfo { filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s; }
.queue-list .qprep .spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,207,122,.3); border-top-color: #ffcf7a;
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.queue-list .qcache { display: none; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  place-items: center; background: rgba(0,0,0,.7); color: #7dffb0; }
.queue-list li.cached .qcache { display: grid; }
.queue-list .qactions { display: flex; align-items: center; gap: 2px; }
.queue-list .qx { width: 28px; height: 28px; border-radius: 8px; border: 0; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--muted); transition: background .15s, color .15s; }
.queue-list .qx:hover { background: rgba(255,70,70,.15); color: #ff6b6b; }
.queue-list .qx.off { display: none; }
/* vote to move up */
.queue-list .qvote { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font: 700 .76rem Inter, sans-serif;
  font-variant-numeric: tabular-nums; transition: background .15s, color .15s, border-color .15s; }
.queue-list .qvote .n { display: inline-block; min-width: 8px; text-align: center; }
.queue-list .qvote:hover:not(:disabled) { color: #fff; border-color: rgba(139,92,255,.6); }
.queue-list .qvote.voted { background: rgba(139,92,255,.22); border-color: rgba(139,92,255,.7); color: #e3d9ff; }
.queue-list .qvote.hot { color: #ffd27a; border-color: rgba(255,200,100,.55); }
.queue-list .qvote.voted.hot { background: rgba(255,190,90,.16); }
.queue-list .qvote:disabled { cursor: default; opacity: .55; }
.queue-list .qvote.off { display: none; }
.queue-list li.hot { border-color: rgba(255,200,100,.28); background: rgba(255,190,90,.05); }
/* now playing (top row) */
.queue-list li.now { border-color: rgba(139,92,255,.45); background: linear-gradient(90deg, rgba(139,92,255,.16), rgba(255,79,163,.08)); }
.queue-list li.now .qpos, .queue-list li.now .qactions { display: none; }
.queue-list li.now .qeq { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 14px; }
.queue-list li.now .qeq i { width: 3px; border-radius: 2px; background: linear-gradient(var(--accent-2), var(--accent)); animation: eq 0.9s ease-in-out infinite; }
.queue-list li.now .qeq i:nth-child(2) { animation-delay: -.3s; }
.queue-list li.now .qeq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.queue-list li.now .qnow { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: #cbb8ff; margin-bottom: 2px; }
.queue-list li.now { grid-template-columns: 18px 84px 1fr; }
.queue-list li.leaving { pointer-events: none; z-index: 0; }
.ban-shield { position: fixed; z-index: 52; width: 42px; height: 47px; pointer-events: none; transform-origin: 50% 60%;
  filter: drop-shadow(0 0 10px rgba(90,200,255,.7)) drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.ban-shield svg { width: 100%; height: 100%; }
.ban-shield path { fill: #3aa8ff; stroke: #d8f1ff; stroke-width: 1.4; stroke-linejoin: round; }
.ban-shield path.shine { fill: rgba(255,255,255,.35); stroke: none; }
.ban-ring { position: fixed; z-index: 51; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none;
  border: 2px solid #ffe08a; box-shadow: 0 0 12px rgba(255,224,138,.8); }

/* ------------------------------------------------------- danmaku + reactions */
.react-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; }
.dm-form { display: flex; align-items: center; gap: 10px; flex: 1 1 420px; min-width: 0; }
.dm-form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: #fff; font: 600 .92rem Inter, sans-serif; outline: none; }
.dm-form input:focus { border-color: rgba(139,92,255,.6); background: rgba(255,255,255,.06); }
.dm-colors { display: flex; gap: 5px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.35); cursor: pointer; padding: 0;
  transition: transform .12s, box-shadow .12s; }
.swatch:hover { transform: scale(1.15); }
.swatch.on { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px rgba(255,255,255,.8); }
.dm-send { height: 40px; padding: 0 16px; }
.rx-emojis { display: flex; gap: 4px; }
.rx-emojis .emoji { width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: rgba(255,255,255,.04);
  font-size: 1.25rem; cursor: pointer; display: grid; place-items: center; transition: background .12s, border-color .12s; }
.rx-emojis .emoji:hover { background: rgba(255,255,255,.1); border-color: var(--line); }
/* anti-flood: short delay after sending */
.dm-form .dm-send:disabled { opacity: .55; cursor: default; filter: grayscale(.4); }
.rx-emojis .emoji:disabled { cursor: default; opacity: .45; }

/* ----------------------------------------------------------- search pages */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager .page { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,.04); color: var(--text); font: 700 .85rem Inter, sans-serif; font-variant-numeric: tabular-nums; }
.pager .page:hover:not(:disabled) { border-color: rgba(255,84,112,.6); }
.pager .page.on { background: rgba(255, 0, 51, .18); border-color: rgba(255,84,112,.7); color: #ff7a8f; cursor: default; }
.pager .page:disabled:not(.on) { opacity: .35; cursor: default; }
.result.skeleton { pointer-events: none; }
.result.skeleton .rthumb, .result.skeleton .line { background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.05) 75%);
  background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.result.skeleton .line { height: 12px; border-radius: 6px; margin-bottom: 8px; }
.result.skeleton .line.short { width: 55%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.result .rthumb .dl span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,0,51,.85); }
.dur.live { background: #e0182f !important; color: #fff; font-weight: 800; letter-spacing: .5px; }
.player.is-live .progress { visibility: hidden; }
.player.is-live #t-pos { color: #ff5470; font-weight: 800; letter-spacing: .4px; }
.player.is-live .time .sep, .player.is-live #t-dur, .player.is-live #btn-back, .player.is-live #btn-forward { display: none; }

/* ---------------------------------------------------------------- TorBox */
.results.tb { display: block; overflow: visible; padding: 0; }
.tb-section + .tb-section { margin-top: 14px; }
.tb-section h4 { margin: 0 0 8px; font-size: .95rem; font-weight: 700; }
.tb-section h4 .muted { font-weight: 500; font-size: .8rem; }
.tb-row { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.tb-row > .placeholder { flex: 1; margin-top: 0; padding: 16px; }
.tb-card { flex: 0 0 150px; scroll-snap-align: start; }
.tb-card .rthumb { aspect-ratio: 2 / 3; }
.tb-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(62, 224, 161, .55); }
.tb-card .rthumb .dl span, .tb-episode .dl span { background: rgba(30, 170, 120, .9); }
.tb-card .rthumb .dur { font-weight: 700; color: #ffd36b; }
.tb-card .rthumb .dur.imdb { display: inline-flex; align-items: center; gap: 4px; color: #fff; }
.dur.imdb b { background: #f5c518; color: #000; font-weight: 900; font-size: .6rem; padding: 0 3px; border-radius: 2px; }
.tb-rating { position: absolute; right: 5px; top: 5px; font-size: .66rem; font-weight: 800; padding: 1px 6px; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4); }

body.modal-open { overflow: hidden; }
.tb-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: rgba(3, 4, 8, .72); backdrop-filter: blur(6px); animation: tb-fade .15s ease-out; }
.tb-modal.hidden { display: none; }
@keyframes tb-fade { from { opacity: 0; } }
.tb-box { width: min(980px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column;
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; animation: tb-pop .18s cubic-bezier(.2,.8,.2,1); }
@keyframes tb-pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.tb-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tb-heading { flex: 1; min-width: 0; }
.tb-heading h3 { margin: 0; font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-heading small { color: var(--muted); font-size: .8rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.tb-icon:hover { border-color: rgba(62, 224, 161, .6); }
.tb-icon.hidden { display: none; }
.tb-body { padding: 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.tb-body .placeholder { margin-top: 0; }
.tb-loading { padding: 40px; text-align: center; color: var(--muted); }
.tb-loading::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 12px; border-radius: 50%;
  border: 3px solid rgba(62, 224, 161, .2); border-top-color: var(--ok); animation: tb-spin .8s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }

.tb-show { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.tb-poster { flex: 0 0 96px; aspect-ratio: 2 / 3; border-radius: 10px; }
.tb-overview { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tb-seasons, .tb-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: thin; }
.tb-chip { flex: 0 0 auto; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--muted); font-weight: 600; font-size: .82rem; cursor: pointer; }
.tb-chip:hover { color: var(--text); }
.tb-chip.on { background: rgba(62, 224, 161, .14); border-color: rgba(62, 224, 161, .55); color: var(--ok); }
.tb-chip .muted { font-weight: 500; opacity: .8; }

.tb-episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.tb-episode { display: flex; gap: 12px; padding: 8px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .15s, background .15s; }
.tb-episode:hover { border-color: rgba(62, 224, 161, .5); background: rgba(62, 224, 161, .05); }
.tb-still { position: relative; flex: 0 0 128px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.tb-still .dl { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(0,0,0,.45); transition: opacity .15s; }
.tb-still .dl span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.tb-episode:hover .tb-still .dl { opacity: 1; }
.tb-num { position: absolute; left: 5px; top: 5px; font-size: .68rem; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: rgba(0,0,0,.75); }
.tb-ep-body { min-width: 0; }
.tb-ep-title { font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-ep-meta { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.tb-ep-overview { margin: 4px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tb-sources { display: flex; flex-direction: column; gap: 6px; }
.tb-source { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; font: inherit;
  transition: border-color .15s, background .15s; }
.tb-source:hover { border-color: rgba(62, 224, 161, .55); background: rgba(62, 224, 161, .06); }
.tb-q { flex: 0 0 86px; text-align: center; font-size: .72rem; font-weight: 800; padding: 4px 6px; border-radius: 6px;
  background: rgba(255,255,255,.08); color: var(--muted); }
.tb-q-4k { background: rgba(255, 196, 60, .16); color: #ffcf5a; }
.tb-q-1080p { background: rgba(62, 224, 161, .14); color: var(--ok); }
.tb-q-720p { background: rgba(90, 160, 255, .15); color: #7fb2ff; }
.tb-src-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-release { font-size: .84rem; font-weight: 600; overflow-wrap: anywhere; }
.tb-file, .tb-langs { font-size: .74rem; color: var(--muted); overflow-wrap: anywhere; }
.tb-file:empty, .tb-langs:empty { display: none; }
.tb-src-meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .74rem; color: var(--muted); }
.tb-src-meta b { color: var(--text); font-size: .82rem; }
@media (max-width: 640px) {
  .tb-modal { padding: 0; }
  .tb-box { max-height: 100vh; height: 100%; border-radius: 0; }
  .tb-q { flex-basis: 64px; }
}

/* ------------------------------------------------- room: page open or not */
.viewer { transition: background .3s, box-shadow .3s; }
.viewers .viewer.away { filter: grayscale(1); opacity: .5; background: rgba(255,255,255,.04); }
.viewers .viewer.online:not(.owner) { background: linear-gradient(90deg, rgba(139,92,255,.22), rgba(255,79,163,.16)); }
.viewers .viewer.online:not(.owner):not(.me) { box-shadow: inset 0 0 0 1px rgba(139,92,255,.45); }
.viewers .viewer.arrive { animation: viewer-arrive .9s cubic-bezier(.2,.8,.3,1) both; }
.viewers .viewer.leave { animation: viewer-leave .7s ease-out both; }
@keyframes viewer-arrive {
  0%   { filter: grayscale(1); opacity: .5; transform: scale(1); }
  45%  { filter: grayscale(0) drop-shadow(0 0 10px rgba(255,79,163,.85)); opacity: 1; transform: scale(1.1); }
  100% { filter: grayscale(0) drop-shadow(0 0 0 rgba(255,79,163,0)); opacity: 1; transform: scale(1); }
}
@keyframes viewer-leave {
  0%   { filter: grayscale(0); opacity: 1; transform: scale(1); }
  40%  { transform: scale(.94); }
  100% { filter: grayscale(1); opacity: .5; transform: scale(1); }
}

/* the owner's card: gray while they are away */
#owner-row .avatar, #owner-row .name { transition: filter .7s, opacity .7s; }
#owner-row.away .avatar, #owner-row.away .name { filter: grayscale(1); opacity: .5; }
#owner-row.arrive .avatar { animation: viewer-arrive .9s cubic-bezier(.2,.8,.3,1); }

/* ------------------------------------------- crown votes (room chips) */
.viewers .viewer.votable { cursor: pointer; }
.viewers .viewer.votable:hover { box-shadow: inset 0 0 0 1px rgba(255, 207, 122, .7); }
.viewers .viewer.crown-mine, .viewers .viewer.online.crown-mine:not(.me) { box-shadow: inset 0 0 0 1px rgba(255, 207, 122, .9), 0 0 12px rgba(255, 207, 122, .25); }
.viewers .viewer.me.crown-mine { box-shadow: 0 0 0 2px var(--accent-2), inset 0 0 0 1px rgba(255, 207, 122, .9); }
.crown-vote { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; }
.crown-vote .cv-icon { display: inline-block; font-size: .85rem; line-height: 1; transform-origin: 50% 85%;
  transform: scale(var(--to)); filter: grayscale(1) brightness(1.15); opacity: .85; }
.crown-vote.full .cv-icon { opacity: 1; filter: grayscale(1) brightness(1.5) drop-shadow(0 0 4px rgba(255, 255, 255, .45)); }
.crown-vote .cv-icon.grow { animation: crown-grow .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.crown-vote .cv-count { font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes crown-grow { from { transform: scale(var(--from)); } to { transform: scale(var(--to)); } }
.viewer .crown { display: inline-block; }
.viewer .crown.won { animation: crown-won 1s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes crown-won {
  0%   { transform: scale(.6) rotate(-15deg); filter: grayscale(1); }
  55%  { transform: scale(1.6) rotate(8deg); filter: grayscale(0) drop-shadow(0 0 8px rgba(255, 207, 122, .9)); }
  100% { transform: scale(1) rotate(0); filter: grayscale(0); }
}

/* ------------------------------------------------ general reset (admin only) */
.admin-bar { position: fixed; left: 14px; bottom: 14px; z-index: 40; }
.admin-bar.hidden { display: none; }
.btn.reset { background: transparent; border-color: rgba(255, 255, 255, .08); color: var(--muted); font-size: .75rem;
  font-weight: 500; padding: 6px 11px; opacity: .45; transition: opacity .2s, color .2s, border-color .2s, background .2s; }
.btn.reset:hover, .btn.reset:focus-visible { opacity: 1; background: rgba(255, 59, 92, .12); border-color: rgba(255, 59, 92, .6); color: #ff8a9e; }
.confirm-box { width: min(420px, 100%); padding: 22px 22px 18px; background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: tb-pop .18s cubic-bezier(.2,.8,.2,1); }
.confirm-box h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--text); text-transform: none; letter-spacing: 0; }
.confirm-box p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.btn.danger { background: var(--live); border-color: var(--live); color: #fff; }
.btn.danger:hover { filter: brightness(1.1); }
