/* =====================================================================
   FUNQUE  -  design system
   Graphite and champagne gold: one accent colour, quiet surfaces. Built on Bootstrap 5.3 (dark theme) + custom tokens.
   ===================================================================== */
@font-face { font-family: 'Orbitron'; src: url('../vendor/fonts/orbitron.woff') format('woff'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../vendor/fonts/rajdhani-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../vendor/fonts/rajdhani-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../vendor/fonts/rajdhani-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../vendor/fonts/rajdhani-700.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0b0f;
  --bg-2: #101218;
  --panel: rgba(20,22,28, .62);
  --panel-2: rgba(28,31,38, .55);
  --line: rgba(255,255,255, .16);
  --line-2: rgba(255,255,255, .30);
  --text: #ece9e2;
  --muted: #9b978d;
  --cyan: #d6b36a;
  --mag: #e8cf9a;
  --vio: #9a8560;
  --lime: #8fbf9a;
  --amber: #d6b36a;
  --red: #d9776f;
  --grad: linear-gradient(135deg, #ecd7a6, #c19a52);
  --grad-soft: linear-gradient(135deg, rgba(214,179,106,.12), rgba(214,179,106,.04));
  --font-display: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1.05rem;
  --bs-border-color: var(--line);
  --bs-link-color: var(--cyan);
  --bs-link-hover-color: #ecd7a6;
  --bs-secondary-color: var(--muted);
}

* { -webkit-tap-highlight-color: transparent; }
html { color-scheme: dark; }
body {
  font-family: var(--font-body); font-weight: 500; letter-spacing: .01em; color: var(--text);
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(154,133,96,.26), transparent 60%),
    radial-gradient(900px 520px at 104% 6%, rgba(214,179,106,.17), transparent 55%),
    radial-gradient(800px 520px at 50% 118%, rgba(232,207,154,.16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh; position: relative;
}
/* drifting perspective grid */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 72%);
  animation: gridmove 18s linear infinite;
}
@keyframes gridmove { to { background-position: 46px 46px, 46px 46px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; } }

h1, h2, h3, h4, h5, .display-font { font-family: var(--font-display); letter-spacing: .04em; font-weight: 700; }
a { text-decoration: none; }
::selection { background: rgba(214,179,106,.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(154,133,96,.35); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(214,179,106,.5); background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- brand ---------- */
.fq-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 900; letter-spacing: .18em; font-size: 1.15rem; color: #fff; }
.fq-brand svg { width: 48px; height: 34px; filter: drop-shadow(0 0 10px rgba(214,179,106,.7)); }
.fq-brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(154,133,96,.45)); }
.text-muted, .text-secondary { color: var(--muted) !important; }
.text-cyan { color: var(--cyan) !important; } .text-mag { color: var(--mag) !important; } .text-lime { color: var(--lime) !important; } .text-amber { color: var(--amber) !important; } .text-red { color: var(--red) !important; }
.eyebrow { font-family: var(--font-display); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }

/* ---------- surfaces ---------- */
.fq-card, .glass {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
}
.fq-card.edge { position: relative; }
.fq-card.edge::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(214,179,106,.55), transparent 35%, transparent 65%, rgba(232,207,154,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.fq-card-h { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.fq-card-h h5, .fq-card-h h6 { margin: 0; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: #dcd8cf; }
.fq-card-b { padding: 1rem 1.1rem; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 12px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-fq { color: #0a0b0f; border: 0; background: var(--grad); background-size: 140% 140%; box-shadow: 0 0 0 0 rgba(214,179,106,.0), 0 8px 26px -8px rgba(154,133,96,.7); }
.btn-fq:hover { color: #0a0b0f; background-position: 100% 0; box-shadow: 0 0 22px 0 rgba(214,179,106,.45), 0 8px 30px -8px rgba(232,207,154,.6); transform: translateY(-1px); }
.btn-fq:disabled { opacity: .5; box-shadow: none; }
.btn-ghost { color: #e6e2d9; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: #fff; background: rgba(214,179,106,.1); border-color: var(--cyan); box-shadow: 0 0 18px -4px rgba(214,179,106,.5); }
.btn-ok { color: #0a0f0b; background: var(--lime); border: 0; box-shadow: 0 6px 22px -8px rgba(143,191,154,.7); }
.btn-ok:hover { color: #0a0f0b; background: #caff6b; box-shadow: 0 0 20px rgba(143,191,154,.5); }
.btn-no { color: #ffd9e0; background: rgba(217,119,111,.12); border: 1px solid rgba(217,119,111,.55); }
.btn-no:hover { color: #fff; background: rgba(217,119,111,.35); }
.btn-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.btn-sm { font-size: .78rem; }
.btn-lg { font-size: 1rem; padding: .8rem 1.5rem; }

/* ---------- forms ---------- */
.form-control, .form-select {
  background: rgba(10,11,15,.7); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; font-weight: 500;
}
.form-control::placeholder { color: #78756d; }
.form-control:focus, .form-select:focus { background: rgba(10,11,15,.9); color: #fff; border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(214,179,106,.15), 0 0 24px -6px rgba(214,179,106,.5); }
.form-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.form-check-input { background-color: rgba(10,11,15,.8); border-color: var(--line-2); }
.form-check-input:checked { background-color: var(--vio); border-color: var(--cyan); }
.form-switch .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(214,179,106,.2); }
.input-group-text { background: rgba(10,11,15,.7); border-color: var(--line-2); color: var(--muted); }
.form-range::-webkit-slider-thumb { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.form-range::-webkit-slider-runnable-track { background: rgba(255,255,255,.25); }
.form-range::-moz-range-thumb { background: var(--cyan); }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #dcd8cf; white-space: nowrap; }
.chip.pending { color: var(--amber); border-color: rgba(214,179,106,.5); background: rgba(214,179,106,.1); }
.chip.accepted { color: var(--cyan); border-color: rgba(214,179,106,.5); background: rgba(214,179,106,.1); }
.chip.playing { color: #fff; border-color: rgba(232,207,154,.7); background: rgba(232,207,154,.22); box-shadow: 0 0 16px -2px rgba(232,207,154,.6); }
.chip.played { color: var(--lime); border-color: rgba(143,191,154,.5); background: rgba(143,191,154,.1); }
.chip.declined, .chip.cancelled { color: var(--red); border-color: rgba(217,119,111,.5); background: rgba(217,119,111,.1); }
.chip.skipped { color: #cfcbc2; }
.chip.live { color: var(--lime); border-color: rgba(143,191,154,.5); background: rgba(143,191,154,.08); }
.chip.ended { color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--muted); }
.dot.on { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.6s infinite; }
.dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }

/* ---------- nav ---------- */
.fq-nav { backdrop-filter: blur(14px); background: rgba(9,10,14,.6); border-bottom: 1px solid var(--line); }
.fq-nav .nav-link { color: #cfcbc2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.fq-nav .nav-link:hover, .fq-nav .nav-link.active { color: var(--cyan); }
.dropdown-menu { background: rgba(14,17,40,.96); border: 1px solid var(--line-2); backdrop-filter: blur(14px); }
.dropdown-item { color: #e6e2d9; } .dropdown-item:hover { background: rgba(214,179,106,.12); color: #fff; }
.modal-content { background: rgba(14,15,20,.96); border: 1px solid var(--line-2); border-radius: 20px; backdrop-filter: blur(20px); }
.modal-header, .modal-footer { border-color: var(--line); }
.btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
.nav-tabs, .nav-pills { --bs-nav-link-color: var(--muted); }
.fq-tabs { display: flex; gap: .25rem; padding: .25rem; background: rgba(10,11,15,.6); border: 1px solid var(--line); border-radius: 14px; }
.fq-tabs button { flex: 1; border: 0; background: transparent; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; padding: .55rem .4rem; border-radius: 10px; position: relative; }
.fq-tabs button.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.fq-tabs .badge-dot { position: absolute; top: 4px; right: 8px; min-width: 18px; height: 18px; border-radius: 9px; font-size: .68rem; line-height: 18px; background: var(--mag); color: #fff; padding: 0 5px; box-shadow: 0 0 10px var(--mag); }

/* ---------- tables ---------- */
.fq-table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-hover-bg: rgba(214,179,106,.05); --bs-table-hover-color: #fff; margin: 0; }
.fq-table thead th { font-family: var(--font-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom-color: var(--line-2); white-space: nowrap; }
.fq-table td { vertical-align: middle; }
.pagination { --bs-pagination-bg: transparent; --bs-pagination-border-color: var(--line); --bs-pagination-color: #dcd8cf; --bs-pagination-hover-bg: rgba(214,179,106,.1); --bs-pagination-hover-color: #fff; --bs-pagination-hover-border-color: var(--cyan); --bs-pagination-active-bg: var(--vio); --bs-pagination-active-border-color: var(--cyan); --bs-pagination-disabled-bg: transparent; --bs-pagination-disabled-border-color: var(--line); }

/* ---------- stat tiles ---------- */
.stat { padding: 1rem 1.1rem; position: relative; overflow: hidden; }
.stat .k { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1.15; color: #fff; text-shadow: 0 0 22px rgba(154,133,96,.5); }
.stat .s { font-size: .82rem; color: var(--muted); }
.stat i.bg { position: absolute; right: -6px; bottom: -14px; font-size: 4.2rem; opacity: .07; color: var(--cyan); }

/* ---------- generated cover art ---------- */
.cover { --h: 200; width: 52px; height: 52px; flex: none; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(145deg, hsl(var(--h) 14% 30%), hsl(var(--h) 16% 17%));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.cover::after { content: '\f49e'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 1.4rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.cover.lg { width: 84px; height: 84px; border-radius: 22px; } .cover.lg::after { font-size: 2.3rem; }
.cover.sm { width: 40px; height: 40px; border-radius: 11px; } .cover.sm::after { font-size: 1.05rem; }

/* ---------- lists ---------- */
.row-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); transition: border-color .2s, background .2s, transform .2s; }
.row-item:hover { border-color: var(--line-2); background: rgba(214,179,106,.04); }
.row-item .ttl { font-weight: 700; font-size: 1.08rem; line-height: 1.15; color: #fff; }
.row-item .sub { color: var(--muted); font-size: .92rem; line-height: 1.15; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item .grow > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-item.enter { animation: slidein .35s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.handle { cursor: grab; color: var(--muted); } .row-item.dragging { opacity: .4; border-style: dashed; } .row-item.over { border-color: var(--cyan); box-shadow: 0 0 20px -6px var(--cyan); }
.empty { text-align: center; color: var(--muted); padding: 1.6rem 1rem; font-size: .95rem; }
.empty i { display: block; font-size: 1.8rem; opacity: .5; margin-bottom: .3rem; }
.scroll-y { overflow-y: auto; }

/* ---------- now playing ---------- */
.now { position: relative; overflow: hidden; padding: 1.2rem; }
.now::after { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(232,207,154,.25), transparent); pointer-events: none; }
.progress-fq { height: 8px; border-radius: 8px; background: rgba(255,255,255,.2); overflow: hidden; cursor: pointer; }
.progress-fq > div { height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px rgba(214,179,106,.7); transition: width .9s linear; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 4px; background: var(--grad); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; }
.eq.paused i { animation-play-state: paused; }
@keyframes eq { 0%,100% { height: 20%; } 50% { height: 100%; } }

/* ---------- polls ---------- */
.pbar { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.03); }
.pbar .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(214,179,106,.35), rgba(154,133,96,.35)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.pbar .in { position: relative; display: flex; justify-content: space-between; gap: .6rem; padding: .6rem .85rem; font-weight: 700; }
.pbar.mine { border-color: var(--lime); box-shadow: 0 0 18px -6px var(--lime); }
.pbar.win { border-color: var(--amber); box-shadow: 0 0 22px -4px var(--amber); } .pbar.win .fill { background: linear-gradient(90deg, rgba(214,179,106,.5), rgba(232,207,154,.35)); }
button.pbar { width: 100%; text-align: left; color: inherit; }
button.pbar:hover:not(:disabled) { border-color: var(--cyan); box-shadow: 0 0 22px -8px var(--cyan); }
button.pbar:disabled { opacity: 1; cursor: default; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: .2rem; font-size: 2.2rem; }
.stars button { background: none; border: 0; padding: 0 .1rem; color: #38406f; transition: transform .15s, color .15s, filter .15s; }
.stars button.on { color: var(--amber); filter: drop-shadow(0 0 10px rgba(214,179,106,.8)); } .stars button:hover { transform: scale(1.18); }
.stars.ro { font-size: 1rem; pointer-events: none; }

/* ---------- toast ---------- */
#fq-toasts { position: fixed; z-index: 3000; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; max-width: min(92vw, 380px); }
.fq-toast { padding: .75rem 1rem; border-radius: 14px; background: rgba(14,15,20,.96); border: 1px solid var(--line-2); box-shadow: 0 10px 40px -10px #000; animation: slidein .25s ease; display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.fq-toast.ok { border-color: rgba(143,191,154,.6); } .fq-toast.ok i { color: var(--lime); }
.fq-toast.err { border-color: rgba(217,119,111,.7); } .fq-toast.err i { color: var(--red); }
.fq-toast.info i { color: var(--cyan); }

/* =====================================================================  LANDING  */
.hero { padding: 6rem 0 4rem; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: 1.02; font-weight: 900; }
.hero p.lead { color: #cfcbc2; font-size: 1.3rem; max-width: 40rem; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: float 12s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-30px) translateX(20px); } }
.feature { padding: 1.4rem; height: 100%; transition: transform .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--cyan); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--cyan); margin-bottom: .8rem; }
.feature h5 { font-size: .95rem; letter-spacing: .12em; }
.phone { width: 270px; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #1b2050, #0a0c22); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(154,133,96,.6); margin: 0 auto; }
.phone .screen { border-radius: 26px; background: #070920; padding: 1rem .8rem; min-height: 420px; }

/* =====================================================================  AUTH */
.auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 2rem 0; }
.auth-card { width: min(94vw, 440px); padding: 2rem; }

/* =====================================================================  ADMIN */
.adm { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; min-height: 0; padding: 1.2rem .9rem; border-right: 1px solid var(--line); background: rgba(9,10,14,.7); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 1.2rem; overflow: hidden; }
.adm-side > .nav { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.adm-side .nav-link { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; border-radius: 12px; color: #aab2e4; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.adm-side .nav-link:hover { color: #fff; background: rgba(214,179,106,.07); }
.adm-side .nav-link.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.adm-side .nav-link i { font-size: 1.1rem; color: var(--cyan); }
.adm-main { padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 3rem; min-width: 0; }
.adm-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.adm-top h1 { font-size: 1.35rem; margin: 0; }
@media (max-width: 991px) { .adm { grid-template-columns: 1fr; } .adm-side { position: static; height: auto; overflow: visible; flex-direction: row; flex-wrap: wrap; align-items: center; padding: .7rem; } .adm-side .nav { flex-direction: row !important; flex-wrap: wrap; } .adm-side > .nav { overflow: visible; } .adm-side .nav-link span { display: none; } }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; height: 100%; position: relative; }
.chart .bar { width: 100%; max-width: 26px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #d6b36a, #8c7444); min-height: 2px; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.chart .bar.b { background: linear-gradient(180deg, var(--mag), var(--vio)); box-shadow: 0 0 14px -2px rgba(232,207,154,.5); margin-top: -4px; opacity: .9; }
.chart .lbl { font-size: .62rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.chart .col:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; background: #000; border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 8px; font-size: .75rem; white-space: nowrap; z-index: 5; }
.feed-item { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.feed-item:last-child { border: 0; } .feed-item i { color: var(--cyan); margin-top: 2px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: 18px; padding: 1.6rem; text-align: center; color: var(--muted); transition: all .2s; cursor: pointer; background: rgba(255,255,255,.02); }
.dropzone.over, .dropzone:hover { border-color: var(--cyan); background: rgba(214,179,106,.06); color: #fff; box-shadow: 0 0 30px -10px var(--cyan); }
.up-row { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; }
.up-row .bar { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgba(255,255,255,.2); overflow: hidden; } .up-row .bar > div { height: 100%; width: 0; background: var(--grad); transition: width .2s; }

/* =====================================================================  HOST CONSOLE */
.console-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.15fr) minmax(300px, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 1199px) { .console-grid { grid-template-columns: 1fr; } }
.console-col { display: grid; gap: 1rem; min-width: 0; }
.col-scroll { max-height: calc(100vh - 330px); min-height: 160px; overflow-y: auto; padding-right: 4px; display: grid; gap: .55rem; align-content: start; }
.req-card { padding: .8rem; border-radius: 16px; border: 1px solid rgba(214,179,106,.35); background: linear-gradient(135deg, rgba(214,179,106,.07), rgba(255,255,255,.02)); animation: slidein .3s ease; }
.req-card .actions { display: flex; gap: .45rem; margin-top: .6rem; }
.req-card .actions .btn { flex: 1; }
.topbar { position: relative; z-index: 20; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; padding: .8rem 1.1rem; }
.topbar .title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin: 0; }
.qr-box { background: #fff; border-radius: 16px; padding: 10px; width: min(100%, 230px); margin: 0 auto; box-shadow: 0 0 40px -6px rgba(214,179,106,.55); }
.qr-box img { width: 100%; display: block; }
.code-pill { font-family: var(--font-display); letter-spacing: .4em; font-size: 1.5rem; font-weight: 800; color: #fff; text-shadow: 0 0 20px var(--cyan); }
.mini-stat { text-align: center; padding: .6rem .4rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.mini-stat b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: #fff; } .mini-stat span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fb-item { padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.fb-item.unread { border-color: rgba(214,179,106,.5); box-shadow: 0 0 20px -10px var(--cyan); }
.dist-row { display: grid; grid-template-columns: 26px 1fr 30px; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.dist-row .t { height: 7px; border-radius: 7px; background: rgba(255,255,255,.18); overflow: hidden; } .dist-row .t > div { height: 100%; background: linear-gradient(90deg, var(--amber), var(--mag)); }

/* =====================================================================  GUEST (phone) */
body.guest { padding-bottom: 86px; -webkit-user-select: none; user-select: none; }
body.guest input, body.guest textarea { -webkit-user-select: text; user-select: text; }
.g-wrap { max-width: 560px; margin: 0 auto; padding: 0 1rem; }
.g-head { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px); background: rgba(9,10,14,.72); border-bottom: 1px solid var(--line); padding: .7rem 0; }
.g-head h1 { font-size: 1rem; margin: 0; letter-spacing: .1em; }
.g-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .5rem .8rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(9,10,14,.88); backdrop-filter: blur(20px); border-top: 1px solid var(--line-2); }
.g-nav .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.g-nav button { background: none; border: 0; color: var(--muted); display: grid; justify-items: center; gap: 2px; padding: .35rem 0; border-radius: 12px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; position: relative; }
.g-nav button i { font-size: 1.35rem; } .g-nav button.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); } .g-nav button.active i { color: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.g-nav .badge-dot { position: absolute; top: 2px; right: 22%; min-width: 17px; height: 17px; border-radius: 9px; font-size: .65rem; line-height: 17px; background: var(--mag); color: #fff; box-shadow: 0 0 10px var(--mag); }
.gift-panel { overflow: hidden; border-color: rgba(214,179,106,.42); background: radial-gradient(ellipse at 100% 0, rgba(214,179,106,.12), transparent 55%), rgba(14,15,23,.96); box-shadow: 0 12px 36px rgba(0,0,0,.24), 0 0 24px -16px var(--amber); }
.gift-prompt { display: flex; align-items: center; gap: .7rem; margin: .8rem 0 .65rem; }
.gift-prompt-icon { display: grid; place-items: center; flex: none; width: 2.45rem; height: 2.45rem; border: 1px solid rgba(214,179,106,.38); border-radius: 14px; color: var(--amber); background: linear-gradient(145deg, rgba(214,179,106,.2), rgba(255,255,255,.04)); box-shadow: 0 0 18px -8px var(--amber); }
.gift-prompt-icon i { font-size: 1.15rem; }
.gift-prompt b, .gift-prompt small { display: block; }
.gift-prompt b { color: #fff; font-size: .95rem; }
.gift-prompt small { color: var(--muted); font-size: .76rem; }
.gift-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin: .6rem 0 .25rem; }
.gift-choice { position: relative; display: grid; justify-items: center; gap: .12rem; min-width: 0; min-height: 82px; padding: .42rem .25rem .38rem; overflow: hidden; border: 1px solid rgba(214,179,106,.3); border-radius: 15px; color: #fff; background: linear-gradient(155deg, rgba(214,179,106,.16), rgba(255,255,255,.045) 58%, rgba(154,133,96,.1)); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 5px 13px rgba(0,0,0,.2); cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.gift-choice::before { position: absolute; inset: 0; content: ""; opacity: 0; background: radial-gradient(circle at 50% 20%, rgba(214,179,106,.25), transparent 65%); transition: opacity .16s ease; }
.gift-choice > * { position: relative; }
.gift-choice .gift-icon { font-size: 1.65rem; line-height: 1.05; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); transition: transform .16s ease; }
.gift-choice b { max-width: 100%; overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.gift-choice small { padding: .12rem .38rem; border: 1px solid rgba(214,179,106,.24); border-radius: 999px; color: #f2d89e; background: rgba(0,0,0,.22); font-size: .61rem; font-weight: 700; white-space: nowrap; }
.gift-choice:hover:not(:disabled), .gift-choice:focus-visible { transform: translateY(-3px); border-color: rgba(214,179,106,.82); outline: none; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.28), 0 0 18px -8px var(--amber); }
.gift-choice:hover:not(:disabled)::before, .gift-choice:focus-visible::before { opacity: 1; }
.gift-choice:hover:not(:disabled) .gift-icon, .gift-choice:focus-visible .gift-icon { transform: scale(1.13) rotate(-5deg); }
.gift-choice:active:not(:disabled) { transform: scale(.96); }
.gift-choice:disabled { cursor: not-allowed; filter: grayscale(.85); opacity: .46; box-shadow: none; }
.gift-scroll-cue { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: .55rem .8rem; border: 1px solid rgba(214,179,106,.16); border-radius: 12px; color: var(--muted); background: rgba(214,179,106,.045); text-align: center; font-size: .76rem; }
.gift-scroll-cue > i { color: var(--amber); font-size: 1rem; animation: cue-down 1.4s ease-in-out infinite; }
.gift-scroll-cue b { color: #e8dfcb; font-weight: 700; }
@keyframes cue-down { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.gift-topup { overflow: hidden; border: 1px solid rgba(214,179,106,.2); border-radius: 13px; background: rgba(0,0,0,.16); }
.gift-topup summary { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .68rem .8rem; color: #e7d8b5; cursor: pointer; font-size: .82rem; font-weight: 700; list-style: none; }
.gift-topup summary::-webkit-details-marker { display: none; }
.gift-topup summary > span > i { color: var(--amber); }
.gift-topup-chevron { color: var(--muted); font-size: .75rem; transition: transform .16s ease; }
.gift-topup[open] .gift-topup-chevron { transform: rotate(180deg); }
.gift-topup-body { padding: 0 .75rem .75rem; }
@media (prefers-reduced-motion: reduce) { .gift-choice, .gift-choice::before, .gift-choice .gift-icon { transition: none; } }
.searchbox { position: relative; }
.searchbox i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 1.15rem; }
.searchbox input { padding: .95rem 3rem .95rem 2.8rem; font-size: 1.15rem; border-radius: 16px; }
.searchbox .clear { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); }
.searchbox .spin { position: absolute; right: 3rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--line-2); border-top-color: var(--cyan); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
mark { background: none; padding: 0; font-weight: inherit; color: var(--cyan); text-shadow: 0 0 12px rgba(214,179,106,.6); font-weight: 700; }
.sheet-back { position: fixed; inset: 0; z-index: 100; background: rgba(2,3,10,.7); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet { width: min(100%, 560px); background: rgba(13,16,40,.98); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 1.2rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom)); animation: up .28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 80px -20px rgba(154,133,96,.6); }
.sheet .grab { width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); margin: -.4rem auto 1rem; }
@keyframes up { from { transform: translateY(100%); } } @keyframes fade { from { opacity: 0; } }
.emoji-bar { display: flex; gap: .4rem; justify-content: space-between; }
.emoji-bar button { flex: 1; font-size: 1.6rem; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: .35rem 0; transition: transform .12s; } .emoji-bar button:active { transform: scale(1.3); }
.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; } .pill { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: #dcd8cf; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; } .pill.on { background: var(--grad-soft); color: #fff; border-color: var(--cyan); box-shadow: 0 0 16px -6px var(--cyan); }
.banner { padding: .7rem 1rem; border-radius: 14px; border: 1px solid rgba(214,179,106,.5); background: rgba(214,179,106,.09); color: #ffd48a; font-weight: 600; }
.join-back { position: fixed; inset: 0; z-index: 200; background: radial-gradient(900px 600px at 50% 0, rgba(154,133,96,.35), transparent 60%), var(--bg); display: grid; place-items: center; padding: 1.4rem; }

/* =====================================================================  STAGE (projector) */
body.stage { overflow: hidden; background: #07080b; cursor: none; height: 100vh; }
body.stage.show-cursor { cursor: default; }
body.stage::before { opacity: .35; }
#bgfx { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(60vw 50vh at 20% 20%, hsl(var(--h,270) 90% 45% / .38), transparent 70%),
  radial-gradient(60vw 50vh at 85% 80%, hsl(calc(var(--h,270) + 120) 90% 45% / .30), transparent 70%), #07080b; transition: background 1.2s; }
.st { position: fixed; inset: 0; display: grid; }
.st-idle { grid-template-columns: 1.15fr .85fr; gap: 3vw; padding: 5vh 5vw; align-items: center; }
.st-idle .hero-logo { font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: 1; font-family: var(--font-display); font-weight: 900; letter-spacing: .16em; }
.st-idle .tag { font-size: clamp(1.1rem, 2.4vw, 2rem); color: #c9d0ff; letter-spacing: .18em; text-transform: uppercase; }
.st-idle .qr-box { width: min(32vh, 30vw); padding: 14px; border-radius: 22px; }
#idUrl { max-width: 32vw; margin-inline: auto; overflow-wrap: anywhere; }
.st-idle .next-list { display: grid; gap: .6rem; margin-top: 3vh; max-width: 46rem; }
.st-nrow { display: flex; gap: 1rem; align-items: center; padding: .8rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: clamp(1rem, 1.9vw, 1.6rem); }
.st-nrow b { color: var(--cyan); font-family: var(--font-display); } .st-nrow .who { margin-left: auto; color: var(--mag); font-weight: 700; }
.st-play { grid-template-rows: auto 1fr auto auto; padding: 3.5vh 4vw 3vh; gap: 2vh; }
.st-top { display: flex; align-items: center; gap: 1.4rem; }
.st-top .song { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.05; }
.st-top .artist { font-size: clamp(1rem, 1.8vw, 1.6rem); color: #cfcbc2; letter-spacing: .1em; }
.st-top .singer { margin-left: auto; text-align: right; } .st-top .singer small { display: block; font-size: .85rem; letter-spacing: .3em; color: var(--cyan); text-transform: uppercase; font-weight: 700; }
.st-top .singer b { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2.3rem); color: #fff; text-shadow: 0 0 28px var(--mag); }
.lyrics { display: grid; align-content: center; justify-items: center; text-align: center; gap: 1.6vh; overflow: hidden; padding: 0 2vw; position: relative; }
.ly { font-weight: 700; line-height: 1.12; color: rgba(255,255,255,.28); font-size: clamp(1.5rem, 3.4vw, 3.2rem); transition: all .45s cubic-bezier(.2,.8,.2,1); max-width: 90%; }
.ly.cur { font-size: clamp(2.2rem, 6vw, 5.6rem); font-weight: 800; color: rgba(255,255,255,.35); position: relative; text-shadow: 0 0 40px rgba(154,133,96,.0);
  background: linear-gradient(90deg, #fff 0, #fff var(--p, 0%), rgba(255,255,255,.28) calc(var(--p, 0%) + .5%), rgba(255,255,255,.28) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 22px rgba(214,179,106,.55)); }
.ly.prev { opacity: .35; transform: scale(.9); } .ly.n1 { opacity: .75; } .ly.n2 { opacity: .45; }
.ly.dots { letter-spacing: .5em; color: var(--cyan); font-size: clamp(2rem, 5vw, 4rem); }
#viz { width: 100%; height: 12vh; display: block; opacity: .9; }
.st-bottom { display: flex; align-items: center; gap: 1.2rem; font-size: clamp(.95rem, 1.6vw, 1.4rem); }
.st-bottom .bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; } .st-bottom .bar > div { height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 16px var(--cyan); }
.st-bottom .upn { color: #cfcbc2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48%; } .st-bottom .upn b { color: var(--cyan); }
.st-mini-qr { position: fixed; right: 2vw; bottom: 9vh; width: 11vh; background: #fff; border-radius: 12px; padding: 5px; opacity: .92; box-shadow: 0 0 30px -6px var(--cyan); z-index: 5; } .st-mini-qr img { width: 100%; display: block; }
.countdown { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(2,3,10,.82); backdrop-filter: blur(10px); text-align: center; }
.countdown .n { font-family: var(--font-display); font-size: clamp(8rem, 30vw, 22rem); font-weight: 900; line-height: 1; animation: pop 1s ease infinite; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.15); opacity: .0; } }
.countdown .who { font-size: clamp(1.4rem, 3.4vw, 3rem); letter-spacing: .2em; text-transform: uppercase; }
.st-poll { position: fixed; z-index: 10; right: 2.5vw; top: 19vh; width: min(30vw, 480px); padding: 1.3rem; border-radius: 24px; background: rgba(10,11,15,.52); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); box-shadow: 0 0 60px -20px var(--vio); animation: slidein .5s; }
.st-poll h3 { font-size: clamp(.95rem, 1.5vw, 1.35rem); line-height: 1.25; margin-bottom: .9rem; }
.st-poll .pbar .in { font-size: clamp(1rem, 1.5vw, 1.35rem); }
.crown { color: var(--amber); text-shadow: 0 0 18px var(--amber); }
.floaters { position: fixed; inset: 0; pointer-events: none; z-index: 15; overflow: hidden; }
.floater { position: absolute; bottom: -12vh; display: grid; justify-items: center; font-size: clamp(2.4rem, 6vh, 4.6rem); animation: floatup 5.5s ease-in forwards; filter: drop-shadow(0 0 16px rgba(255,255,255,.5)); }
.floater small { font-size: .28em; font-family: var(--font-body); font-weight: 700; padding: 1px 10px; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; margin-top: 2px; }
@keyframes floatup { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translateY(-8vh) scale(1.1); } 100% { transform: translateY(-115vh) translateX(var(--dx, 0)) scale(1); opacity: 0; } }
.stage-gift-overlay { position: fixed; z-index: 18; left: 2.5vw; bottom: 14vh; width: min(48vw, 560px); pointer-events: none; }
.stage-gift-card { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(10,11,15,.78); box-shadow: 0 8px 28px rgba(0,0,0,.3); backdrop-filter: blur(8px); animation: gift-pop 3.2s ease-out forwards; }
.stage-gift-card.is-big { padding: .9rem 1rem; border-color: rgba(214,179,106,.65); box-shadow: 0 0 26px rgba(214,179,106,.22); }
.stage-gift-icon { flex: none; font-size: clamp(2rem, 4vh, 3rem); line-height: 1; }
.stage-gift-card.is-big .stage-gift-icon { font-size: clamp(2.6rem, 5vh, 3.8rem); }
.stage-gift-animal { flex: none; font-size: clamp(2.5rem, 6vh, 4rem); line-height: 1; filter: drop-shadow(0 0 12px rgba(255,190,80,.45)); }
.stage-gift-animal.is-lion { font-size: clamp(3rem, 7vh, 4.5rem); animation: lion-roar .9s ease-in-out infinite alternate; }
.stage-lion-overlay { position: fixed; z-index: 19; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; pointer-events: none; text-align: center; }
.stage-lion-art { width: min(52vw, 480px); max-height: 54vh; overflow: visible; opacity: .3; filter: drop-shadow(0 0 30px rgba(255,190,80,.35)); animation: lion-roar .7s ease-in-out infinite alternate; }
.stage-lion-overlay span { max-width: 90vw; padding: .3rem .9rem; border-radius: 999px; background: rgba(8,9,13,.44); color: rgba(255,255,255,.82); font-size: clamp(1.1rem, 2.2vw, 2rem); font-weight: 800; text-shadow: 0 2px 8px #000; }
.stage-gift-details { min-width: 0; display: grid; gap: .05rem; }
.stage-gift-details b { overflow: hidden; color: #fff; font-size: clamp(1rem, 1.5vw, 1.3rem); text-overflow: ellipsis; white-space: nowrap; }
.stage-gift-details small { color: #d6b36a; font-size: clamp(.8rem, 1.1vw, 1rem); }
@keyframes lion-roar { from { transform: scale(.92) rotate(-4deg); } to { transform: scale(1.08) rotate(4deg); } }
@keyframes gift-pop { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 12%, 78% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (max-width: 700px) { .stage-gift-overlay { left: 3vw; bottom: 12vh; width: min(94vw, 460px); } .stage-lion-art { width: min(76vw, 400px); max-height: 48vh; } }
.stage-fullscreen-hint { position: fixed; z-index: 60; left: 50%; bottom: max(2rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2rem); padding: .8rem 1.3rem; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10,11,15,.92); color: #fff; font-size: clamp(.95rem, 1.6vw, 1.25rem); text-align: center; box-shadow: 0 8px 36px rgba(0,0,0,.5); pointer-events: none; }
.stage-fullscreen-hint kbd { padding: .15rem .45rem; border: 1px solid var(--line-2); border-radius: 5px; background: rgba(255,255,255,.1); color: #fff; font: inherit; }
.stage-audio-enable { position: fixed; z-index: 45; right: 1.5rem; bottom: 1.5rem; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(10,11,15,.72); color: #fff; font-size: .9rem; font-weight: 700; box-shadow: 0 4px 18px rgba(0,0,0,.25); cursor: pointer; }
.stage-audio-enable:hover { background: rgba(10,11,15,.92); }
.arm { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(2,3,10,.9); text-align: center; cursor: pointer; }
.stage-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -1; background: #000; display: none; }
.stage-video.on { display: block; filter: brightness(1.16) contrast(1.04); }
.yt-wrap.on { filter: brightness(1.16) contrast(1.04); }
.yt-fallback { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 2rem; background: rgba(5,6,10,.88); text-align: center; }
.yt-fallback-card { width: min(92vw, 68rem); padding: clamp(2.5rem, 7vw, 6rem); border: 1px solid var(--line-2); border-radius: 28px; background: rgba(17,18,24,.97); box-shadow: 0 20px 70px rgba(0,0,0,.55); cursor: pointer; }
.yt-fallback-title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; }
.yt-fallback-copy { font-size: clamp(1.2rem, 2.4vw, 2rem); }
.yt-fallback-button { font-size: clamp(1.25rem, 2.5vw, 2rem); padding: .8em 1.5em; }
.hidden { display: none !important; }

/* =====================================================================  POSTER (print) */
.poster { max-width: 820px; margin: 2rem auto; padding: 3rem; text-align: center; }
.poster h1 { font-size: 3.2rem; font-weight: 900; }
.poster .qr-box { width: 420px; max-width: 80%; padding: 18px; }
@media print { body { background: #fff !important; color: #000 !important; } body::before, .no-print { display: none !important; } .poster, .poster * { color: #000 !important; } .poster { border: 0; box-shadow: none; background: #fff; } .glow-text { background: none !important; -webkit-text-fill-color: #000 !important; color: #000 !important; filter: none !important; } .qr-box { box-shadow: none; border: 3px solid #000; } }

/* lyrics stay readable on top of any music video */
.lyrics { text-shadow: 0 2px 14px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.9); }
.stage-video.on ~ * .lyrics::before, body:has(.stage-video.on) .lyrics::before { content: ''; position: absolute; inset: -4vh -2vw; z-index: -1; background: radial-gradient(ellipse at center, rgba(9,10,14,.4), rgba(9,10,14,0) 72%); pointer-events: none; }


/* =====================================================================
   MATURE PASS - one accent (champagne gold) on graphite; colour is kept for status only
   ===================================================================== */
body { background: radial-gradient(1000px 560px at 10% -10%, rgba(214,179,106,.07), transparent 60%), radial-gradient(900px 520px at 100% 110%, rgba(255,255,255,.035), transparent 60%), var(--bg); background-attachment: fixed; }
body::before { opacity: .22; animation: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
h1, h2, h3, h4, h5, .display-font { letter-spacing: .03em; font-weight: 600; }
.glow-text, .fq-brand span { filter: none; }
.fq-brand svg { filter: none; }
.fq-card, .glass { box-shadow: 0 8px 30px -16px rgba(0,0,0,.85); backdrop-filter: blur(10px); }
.fq-card.edge::before { background: linear-gradient(135deg, rgba(214,179,106,.32), transparent 30%, transparent 70%, rgba(214,179,106,.18)); }
.btn { font-weight: 600; letter-spacing: .07em; }
.btn-fq { box-shadow: none; }
.btn-fq:hover { box-shadow: 0 6px 22px -10px rgba(214,179,106,.6); transform: none; }
.btn-ghost:hover { box-shadow: none; }
.btn-ok:hover { background: #a3cdab; box-shadow: none; }
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 .18rem rgba(214,179,106,.14); }
.form-range::-webkit-slider-thumb { box-shadow: none; }
.form-check-input:checked { background-color: #b8914a; border-color: var(--cyan); }
.qr-box { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -20px rgba(0,0,0,.9); }

.cant { text-align: center; margin-top: .5rem; padding: 1rem; border: 1px dashed var(--line-2); border-radius: 14px; }

/* tables + youtube */
.where { color: var(--cyan) !important; } .where b { color: #fff; font-weight: 700; }
.yt a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; margin-left: .35rem; }
.yt.ok { color: var(--lime); }
.tb-create { padding: .9rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.tb-row { padding: .65rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.tb-row.off { opacity: .5; }
.yt-item { display: flex; gap: .75rem; align-items: center; padding: .5rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.yt-item:hover { border-color: var(--cyan); background: rgba(214,179,106,.05); }
.yt-item img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #000; flex: none; }
.yt-wrap { pointer-events: none; } .yt-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.adm-side .badge-dot { min-width: 18px; height: 18px; border-radius: 9px; font-size: .68rem; line-height: 18px; text-align: center; background: var(--mag, #c4623f); color: #fff; padding: 0 5px; }

/* sponsors */
.ad-card { display: flex; gap: 12px; align-items: stretch; text-decoration: none; color: inherit; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); border-radius: 12px; overflow: hidden; position: relative; }
.ad-card img { width: 96px; object-fit: cover; flex: none; }
.ad-card .ad-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ad-tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8f9c; }
.ad-h { font-weight: 700; color: #fff; line-height: 1.2; } .ad-p { font-size: .82rem; color: #aeb2bd; }
.ad-cta { margin-top: 4px; align-self: flex-start; font-size: .75rem; color: #d6b36a; border: 1px solid rgba(214,179,106,.5); border-radius: 999px; padding: 2px 10px; }
.ad-card:has(.adsbygoogle) { display: block; padding: 6px 10px; }
.ad-sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.72); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.ad-sheet-in { width: 100%; max-width: 420px; background: #11131a; border: 1px solid rgba(214,179,106,.3); border-radius: 16px; padding: 12px; }
.ad-sheet .ad-card img { width: 120px; }
/* projector */
.st-sponsor { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.2rem; max-width: 46rem; padding: 1rem 1.4rem; border: 1px solid rgba(214,179,106,.3); border-radius: 16px; background: rgba(255,255,255,.04); transition: opacity .6s; }
.st-sponsor.hidden { display: none; }
.st-sponsor img { height: 6.5rem; max-width: 12rem; object-fit: cover; border-radius: 10px; }
.st-sponsor .sp-t { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #8a8f9c; }
.st-sponsor .sp-h { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1.15; } .st-sponsor .sp-p { font-size: 1.2rem; color: #aeb2bd; }

/* ===== Performance mode (added) =====
   The drifting grid and the live blur behind every card made the browser repaint the whole screen on every frame,
   which is what made pages (and the stage with a video playing) feel slow on phones and ordinary PCs.
   This keeps the same look with a static grid and slightly more solid cards. Delete this whole block to get the old look back. */
body::before { animation: none; }
.orb { animation: none; }
.fq-card, .glass, .fq-nav, .dropdown-menu, .modal-content, .adm-side, .g-head, .g-nav, .sheet-back, .countdown, .st-poll, .stage-gift-card {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.fq-card, .glass { background: rgba(20,22,28,.92); }
.fq-nav { background: rgba(9,10,14,.94); }
.adm-side { background: rgba(9,10,14,.96); }
.g-head { background: rgba(9,10,14,.95); }
.g-nav { background: rgba(9,10,14,.97); }
.sheet-back { background: rgba(2,3,10,.85); }
.countdown { background: rgba(2,3,10,.92); }
.st-poll { background: rgba(10,11,15,.86); }

