/* ==========================================================
   Halloween Costume Contest
   Charcoal night, drifting nebula, glowing stars, pumpkin light.
   ========================================================== */
@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }
:root {
    --ink: #15151A;
    --panel: #1C1C21;
    --panel-2: #24242B;
    --panel-3: #2E2E37;
    --line: rgba(255, 255, 255, .09);
    --text: #F2EFEA;
    --muted: #A7A2B0;
    --pumpkin: #F2700F;
    --pumpkin-hi: #FF8A2A;
    --gold: #E8C24A;
    --violet: #7A3FC4;
    --violet-soft: #B98CE0;
    --ecto: #2E9E6B;
    --ecto-hi: #43C98A;
    --blood: #C8102E;
    --a0: #F2700F; --a1: #7A3FC4; --a2: #2E9E6B; --a3: #C8102E;
    --radius: 6px;
    --display: "Rubik", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, sans-serif;
    --body: "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    background: var(--ink);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Sky ---------- */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); pointer-events: none; }
.nebula { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.nebula-a { width: 70vmax; height: 55vmax; left: -18vmax; top: -20vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--violet) 55%, transparent), transparent); animation: drift-a 18s ease-in-out infinite; }
.nebula-b { width: 60vmax; height: 50vmax; right: -20vmax; bottom: -22vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--pumpkin) 32%, transparent), transparent); animation: drift-b 22s ease-in-out infinite; }
.nebula-c { width: 45vmax; height: 40vmax; left: 30vw; top: 25vh; background: radial-gradient(closest-side, color-mix(in srgb, var(--ecto) 18%, transparent), transparent); animation: drift-c 26s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(8vw,5vh) scale(1.08); } 66% { transform: translate(3vw,10vh) scale(.95); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(-9vw,-6vh) scale(1.1); } 75% { transform: translate(-4vw,-12vh) scale(.94); } }
@keyframes drift-c { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-10vw,6vh); } }
.star { position: absolute; border-radius: 50%; animation-name: twinkle; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.page { position: relative; z-index: 1; }

/* ---------- Shared controls ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45em;
    min-height: 44px; padding: .6em 1.1em; border: 0; border-radius: var(--radius);
    background: var(--pumpkin); color: #fff; font-weight: 700; letter-spacing: .01em;
    cursor: pointer; text-decoration: none; transition: background .15s, transform .08s;
}
.btn:hover { background: var(--pumpkin-hi); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--panel-3); }
.btn-dark:hover { background: color-mix(in srgb, var(--panel-3) 80%, #fff 8%); }
.btn-violet { background: var(--violet); }
.btn-violet:hover { background: color-mix(in srgb, var(--violet) 85%, #fff); }
.btn-ecto { background: var(--ecto); }
.btn-ecto:hover { background: color-mix(in srgb, var(--ecto) 85%, #fff); }
.btn-danger { background: var(--blood); }
.btn-danger:hover { background: color-mix(in srgb, var(--blood) 85%, #fff); }
.btn-sm { min-height: 34px; padding: .35em .75em; font-size: .85rem; }
.btn-block { width: 100%; }

.field { display: grid; gap: .35rem; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.input, .select, .textarea {
    width: 100%; min-height: 44px; padding: .6em .75em;
    background: color-mix(in srgb, var(--ink) 80%, #000); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
}
.textarea { min-height: 84px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pumpkin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pumpkin) 20%, transparent); }
.inline-err { color: #ff6b81; font-size: .85rem; font-weight: 600; }
.muted { color: var(--muted); }

/* ---------- Header brand (title, logo, or both) ---------- */
.brand { display: flex; align-items: center; gap: .6em; min-width: 0; }
.brand-logo { display: block; width: auto; height: auto; object-fit: contain; }
.brand-title { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }

/* ==========================================================
   PHONE
   ========================================================== */
.ph-top {
    position: sticky; top: 0; z-index: 20;
    background: #000;
    border-bottom: 2px solid var(--pumpkin);
    padding: calc(env(safe-area-inset-top) + .6rem) 1rem .6rem;
}
.ph-top-row { display: flex; align-items: center; gap: .75rem; }
.ph-title { flex: 1; min-width: 0; margin: 0; font-size: 1.3rem; }
.ph-title .brand-logo { max-height: 42px; max-width: 60vw; }
.ph-tabs { flex: none; display: flex; background: var(--panel); border-radius: var(--radius); padding: 3px; }
.ph-tab { border: 0; background: none; padding: .45em .9em; border-radius: 4px; font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; }
.ph-tab[aria-selected="true"] { background: var(--pumpkin); color: #fff; }

.ph-main { max-width: 640px; margin: 0 auto; padding: 1rem 1rem calc(env(safe-area-inset-bottom) + 2rem); }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .15rem 0 .75rem; scrollbar-width: none; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; gap: .35em; scroll-snap-align: start;
    min-height: 40px; padding: .4em .85em; border-radius: 999px;
    border: 1px solid var(--line); background: var(--panel); color: var(--text);
    font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ecto-hi); box-shadow: 0 0 8px var(--ecto-hi); }
.chip.is-done .dot { background: var(--pumpkin); box-shadow: 0 0 8px var(--pumpkin); }
.chip.is-closed .dot { background: var(--muted); box-shadow: none; }
.chip.is-waiting .dot { background: transparent; border: 1.5px solid var(--muted); box-shadow: none; }
.chip.is-live:not(.is-done) .dot { animation: live-dot 1.2s ease-in-out infinite; }
@keyframes live-dot { 50% { transform: scale(1.5); } }
.notice.is-waiting { border-left-color: var(--muted); }

.cat-head { display: flex; align-items: flex-start; gap: .6rem; margin: .25rem 0 1rem; }
.cat-emoji { font-size: 1.5rem; line-height: 1.7rem; height: 1.7rem; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--pumpkin) 45%, transparent)); }
.cat-name { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.cat-desc { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

.notice {
    display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .75rem .9rem;
    background: var(--panel); border-left: 4px solid var(--gold); border-radius: var(--radius); font-weight: 600;
}
.notice.is-closed { border-left-color: var(--muted); }

.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 520px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
    position: relative; display: flex; flex-direction: column; text-align: left;
    padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    background: var(--panel); cursor: pointer; transition: border-color .15s, transform .12s, box-shadow .2s;
}
.card:active { transform: scale(.98); }
.card:disabled { cursor: default; }
.card-photo { position: relative; aspect-ratio: 1 / 1; background: var(--panel-2); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.sigil { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-size: 3rem; font-weight: 900; color: rgba(255, 255, 255, .85); background: radial-gradient(circle at 30% 25%, var(--violet), color-mix(in srgb, var(--violet) 30%, #000) 70%); }
.card-num { position: absolute; top: .45rem; left: .45rem; min-width: 2rem; padding: .1rem .45rem; border-radius: 4px; background: rgba(21, 21, 26, .82); font-weight: 800; font-size: .8rem; text-align: center; }
.card-body { padding: .6rem .7rem .75rem; }
.card-name { font-weight: 800; font-size: .98rem; line-height: 1.2; }
.card-sub { margin-top: .15rem; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.card.is-mine { border-color: var(--pumpkin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pumpkin) 25%, transparent), 0 0 26px color-mix(in srgb, var(--pumpkin) 35%, transparent); }
.card-check { position: absolute; top: .45rem; right: .45rem; display: none; align-items: center; gap: .3em; padding: .15rem .5rem; border-radius: 4px; background: var(--pumpkin); font-weight: 800; font-size: .75rem; }
.card.is-mine .card-check { display: inline-flex; }
/* after voting: the pick stays lit, the rest fade back */
.grid-cards.has-vote .card:not(.is-mine) { filter: grayscale(.9) brightness(.45); }
.grid-cards.has-vote .card:not(.is-mine):active { filter: grayscale(.5) brightness(.7); }
.notice.is-voted { border-left-color: var(--ecto-hi); }
/* vote confirmation sheet */
dialog.vote-confirm { width: min(380px, calc(100% - 2rem)); text-align: center; }
.vc-body { justify-items: center; gap: .35rem; padding: 1.4rem 1.2rem 1rem; }
.vc-photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 4px solid var(--pumpkin); box-shadow: 0 0 30px color-mix(in srgb, var(--pumpkin) 45%, transparent); margin-bottom: .6rem; }
.vc-photo img { width: 100%; height: 100%; object-fit: cover; }
.vc-photo .sigil { font-size: 3rem; }
.vc-cat { font-weight: 700; color: var(--gold); font-size: .9rem; }
.vc-name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; }
.vc-sub { color: var(--muted); font-size: .92rem; }
.vc-foot { justify-content: stretch; }
.vc-foot .btn { flex: 1; }
.card.is-winner { border-color: var(--gold); box-shadow: 0 0 30px color-mix(in srgb, var(--gold) 45%, transparent); }

.winner-strip { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; padding: .75rem; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 22%, #000), color-mix(in srgb, var(--gold) 10%, #000)); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.winner-strip .ws-photo { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex: none; }
.winner-strip .ws-label { font-size: .78rem; font-weight: 800; color: var(--gold); }
.winner-strip .ws-name { font-family: var(--display); font-size: 1.4rem; font-weight: 800; line-height: 1; }

/* phone trivia */
.tv-card { background: var(--panel); border-radius: 12px; padding: 1.25rem; text-align: center; }
.tv-big { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.05; margin: .25rem 0 .5rem; }
.tv-emoji { font-size: 3.2rem; }
.tv-join { display: grid; gap: .75rem; text-align: left; }
.tv-q { font-weight: 800; font-size: 1.15rem; line-height: 1.3; margin: 0 0 1rem; text-align: left; }
.tv-timer { height: 6px; border-radius: 3px; background: var(--panel-3); overflow: hidden; margin-bottom: 1rem; }
.tv-timer > i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; }
.answers { display: grid; gap: .65rem; }
.answer {
    display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 64px; padding: .7rem 1rem;
    border: 0; border-radius: 10px; color: #fff; font-weight: 800; font-size: 1.05rem; text-align: left; cursor: pointer;
    transition: transform .08s, opacity .2s, box-shadow .2s;
}
.answer .glyph { font-size: 1.6rem; flex: none; }
.answer:active { transform: scale(.98); }
.answer.a0 { background: var(--a0); }
.answer.a1 { background: var(--a1); }
.answer.a2 { background: var(--a2); }
.answer.a3 { background: var(--a3); }
.answers.is-tf .answer.a0 { background: var(--ecto); }
.answers.is-tf .answer.a1 { background: var(--blood); }
.answers.is-locked .answer { opacity: .35; cursor: default; }
.answers.is-locked .answer.is-picked { opacity: 1; box-shadow: 0 0 0 3px #fff; }
.result { margin-top: 1rem; padding: 1rem; border-radius: 10px; font-weight: 800; font-size: 1.15rem; text-align: center; }
.result.good { background: color-mix(in srgb, var(--ecto) 20%, transparent); border: 1px solid var(--ecto-hi); }
.result.bad { background: color-mix(in srgb, var(--blood) 18%, transparent); border: 1px solid #ff6b81; }
.score-line { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; color: var(--muted); font-weight: 700; }
.score-line b { display: block; font-size: 1.6rem; color: var(--text); }

.toast {
    position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 1.25rem); z-index: 50;
    transform: translateX(-50%) translateY(150%); max-width: calc(100% - 2rem);
    padding: .75rem 1rem; border-radius: var(--radius); background: var(--panel-3); font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s ease;
}
.toast.is-on { transform: translateX(-50%) translateY(0); }

/* ==========================================================
   ADMIN
   ========================================================== */
.ad-top {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem;
    padding: .7rem 1.25rem; background: #000; border-bottom: 2px solid var(--pumpkin);
}
.ad-brand { font-family: var(--display); font-size: 1.3rem; font-weight: 800; line-height: 1; flex: 1; min-width: 0; }
.ad-nav { display: flex; gap: .25rem; overflow-x: auto; }
.ad-nav a { padding: .45em .8em; border-radius: var(--radius); color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.ad-nav a:hover { color: var(--text); background: var(--panel-2); }
.ad-main { max-width: 1240px; margin: 0 auto; padding: 1.25rem 1rem 4rem; display: grid; gap: 1.5rem; }
.ad-section { scroll-margin-top: 80px; }
.ad-h { display: flex; align-items: center; gap: .75rem; margin: 0 0 .75rem; }
.ad-h h2 { margin: 0; flex: 1; font-size: 1.1rem; font-weight: 800; }
.panel { background: color-mix(in srgb, var(--panel) 92%, transparent); border: 1px solid var(--line); border-radius: 10px; }
.panel-head { padding: .65rem 1rem; background: color-mix(in srgb, var(--ink) 80%, #000); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: .6rem; }
.panel-body { padding: 1rem; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { position: relative; overflow: hidden; padding: 1rem 1.1rem; border-radius: 10px; color: #fff; }
.stat b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.stat span { font-size: .85rem; font-weight: 600; opacity: .9; }
.stat i { position: absolute; right: -.1em; bottom: -.25em; font-style: normal; font-size: 4.6rem; opacity: .18; line-height: 1; }
.stat-pumpkin { background: linear-gradient(135deg, var(--pumpkin), color-mix(in srgb, var(--pumpkin) 70%, #000)); }
.stat-violet { background: linear-gradient(135deg, var(--violet), color-mix(in srgb, var(--violet) 55%, #000)); }
.stat-ecto { background: linear-gradient(135deg, var(--ecto), color-mix(in srgb, var(--ecto) 60%, #000)); }
.stat-gold { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 88%, #000), color-mix(in srgb, var(--gold) 55%, #000)); }

.deck { display: grid; gap: 1rem; }
@media (min-width: 900px) { .deck { grid-template-columns: 1.3fr 1fr; } }
.screen-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .5rem; }
.screen-btn { display: grid; gap: .25rem; justify-items: center; padding: .8rem .5rem; border: 2px solid var(--line); border-radius: 10px; background: var(--panel-2); cursor: pointer; font-weight: 700; font-size: .88rem; }
.screen-btn .e { font-size: 1.7rem; }
.screen-btn[aria-pressed="true"] { border-color: var(--pumpkin); background: color-mix(in srgb, var(--pumpkin) 16%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--pumpkin) 25%, transparent); }
.row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--panel-3); transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--ecto); }
.switch input:checked + span::after { transform: translateX(22px); }

.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; padding: .55rem .75rem; font-size: .8rem; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: .3em; padding: .15em .55em; border-radius: 4px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.badge-open { background: color-mix(in srgb, var(--ecto) 20%, transparent); color: var(--ecto-hi); }
.badge-closed { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.badge-wait { background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--muted); }
.badge-live { background: color-mix(in srgb, var(--pumpkin) 20%, transparent); color: var(--pumpkin-hi); }
.mini-bars { display: grid; gap: .3rem; min-width: 220px; }
.mini-bar { display: grid; grid-template-columns: minmax(80px, 140px) 1fr 2.5rem; gap: .5rem; align-items: center; font-size: .82rem; }
.mini-bar .track { height: 8px; background: var(--panel-3); border-radius: 4px; overflow: hidden; }
.mini-bar .fill { height: 100%; background: var(--pumpkin); border-radius: 4px; transition: width .6s ease; }
.mini-bar .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar .ct { text-align: right; font-weight: 800; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.person { background: var(--panel-2); border-radius: 10px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); text-align: left; padding: 0; }
.person:hover { border-color: var(--pumpkin); }
.person .card-photo { aspect-ratio: 4 / 3; }
.person .p-body { padding: .55rem .65rem .7rem; }
.person .p-name { font-weight: 800; font-size: .92rem; }
.person .p-cats { margin-top: .25rem; font-size: .9rem; letter-spacing: .1em; }
.person-add { display: grid; place-items: center; min-height: 180px; border: 2px dashed var(--line); background: none; color: var(--muted); font-weight: 700; }
.person-add:hover { color: var(--text); border-color: var(--pumpkin); }

.show-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .9rem 1rem; }
.show-now { flex: 1; min-width: 220px; }
.show-now .k { font-size: .78rem; color: var(--muted); font-weight: 700; }
.show-now .v { font-weight: 800; font-size: 1.05rem; }
.btn-next { min-height: 56px; padding: .7em 1.6em; font-size: 1.1rem; }
.round-block + .round-block { margin-top: 1rem; }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-item { display: grid; grid-template-columns: 2rem 1fr auto; gap: .6rem; align-items: center; padding: .55rem .75rem; border-top: 1px solid var(--line); }
.q-item.is-used { opacity: .55; }
.q-item.is-live { background: color-mix(in srgb, var(--pumpkin) 12%, transparent); opacity: 1; }
.q-num { font-weight: 800; color: var(--muted); text-align: center; }
.q-text { font-weight: 600; font-size: .92rem; min-width: 0; }
.q-meta { font-size: .78rem; color: var(--muted); }
.q-actions { display: flex; gap: .3rem; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; border-radius: var(--radius); background: var(--panel-3); cursor: pointer; font-size: .9rem; }
.icon-btn:hover { background: color-mix(in srgb, var(--panel-3) 80%, #fff 8%); }

.flash { padding: .75rem 1rem; border-radius: var(--radius); background: color-mix(in srgb, var(--ecto) 18%, transparent); border: 1px solid var(--ecto); font-weight: 600; }
.ad-msg { font-size: .88rem; font-weight: 600; color: var(--gold); min-height: 1.2em; }

/* modal */
dialog.modal[open] { display: flex; flex-direction: column; }
dialog.modal > form.main, dialog.modal > form#hd-new-form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
dialog.modal { width: min(680px, calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
dialog.modal::backdrop { background: rgba(8, 8, 12, .72); backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; background: color-mix(in srgb, var(--ink) 80%, #000); border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; flex: 1; font-size: 1.05rem; font-weight: 800; }
.modal-body { padding: 1.1rem; display: grid; gap: .9rem; overflow-y: auto; min-height: 0; flex: 1 1 auto; align-content: start; }
.modal-head, .modal-foot { flex: none; }
.modal-foot { display: flex; gap: .5rem; justify-content: flex-end; padding: .85rem 1.1rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal-foot .spacer { flex: 1; }
.two { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.check { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 80%, #000); cursor: pointer; font-weight: 600; font-size: .9rem; }
.check:has(input:checked) { border-color: var(--pumpkin); background: color-mix(in srgb, var(--pumpkin) 14%, transparent); }
.opt-row { display: grid; grid-template-columns: auto 1fr; gap: .5rem; align-items: center; }
.opt-row input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ecto); }
.photo-drop { display: flex; align-items: center; gap: .9rem; }
.photo-drop .prev { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--panel-2); flex: none; }
.photo-drop .prev img { width: 100%; height: 100%; object-fit: cover; }
.file-pick { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.file-pick .btn { cursor: pointer; }

/* login */
.login-wrap { min-height: calc(100dvh - 60px); display: grid; place-items: center; padding: 1.5rem; }
.login-card { width: min(380px, 100%); background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: 12px; padding: 2rem 1.5rem 1.5rem; display: grid; gap: 1rem; text-align: center; }
.login-card h1 { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
    .star, .nebula { animation: none !important; }
    * { transition-duration: .01ms !important; }
}

/* ==========================================================
   PHOTO DESK (helpers)
   ========================================================== */
.hd-head { display: flex; align-items: center; gap: .75rem; margin: .25rem 0 .9rem; }
.hd-head .cat-name { flex: 1; min-width: 0; }
.hd-search { margin-bottom: .1rem; }
.hd-card .card-photo { aspect-ratio: 1 / 1; }
.hd-nophoto { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: .25rem; color: var(--muted); font-weight: 700; font-size: .85rem; background: repeating-linear-gradient(135deg, var(--panel) 0 12px, var(--panel-2) 12px 24px); }
.hd-nophoto span { font-size: 2rem; }
.hd-nophoto.big { min-height: 240px; border-radius: 10px; font-size: 1rem; }
.hd-nophoto.big span { font-size: 3rem; }
.hd-preview { border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.hd-preview img { width: 100%; max-height: 52vh; object-fit: contain; background: #000; }
.hd-busy { min-height: 240px; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.hd-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.hd-pick .btn { cursor: pointer; }
.hd-head .cat-name { font-size: 1.45rem; white-space: nowrap; }
.hd-pick .btn { white-space: nowrap; font-size: .92rem; padding-left: .6em; padding-right: .6em; }

/* theme picker (Back Stage settings) */
.theme-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.theme-pick { position: relative; display: grid; justify-items: center; gap: .3rem; padding: .7rem .5rem; border: 2px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--ink) 80%, #000); cursor: pointer; text-align: center; }
.theme-pick input { position: absolute; opacity: 0; pointer-events: none; }
.theme-pick:has(input:checked) { border-color: var(--pumpkin); box-shadow: 0 0 18px color-mix(in srgb, var(--pumpkin) 30%, transparent); }
.theme-pick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.tp-icon { font-size: 1.8rem; line-height: 1; }
.tp-name { font-weight: 800; font-size: .9rem; }
.tp-sw { display: flex; gap: 3px; }
.tp-sw i { width: 14px; height: 14px; border-radius: 3px; }
.tp-glyphs { font-size: .85rem; letter-spacing: .05em; }

/* phone: countdown before a category opens, and the closing clock */
.ph-cd { margin-bottom: 1rem; padding: 1rem; border-radius: 12px; text-align: center; background: color-mix(in srgb, var(--pumpkin) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--pumpkin) 50%, transparent); }
.ph-cd .muted { font-weight: 700; }
.ph-cd-num { font-family: var(--display); font-weight: 900; font-size: 4.2rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px color-mix(in srgb, var(--pumpkin) 60%, transparent); }
.notice.is-clock { border-left-color: var(--ecto-hi); }
.notice.is-clock b { font-variant-numeric: tabular-nums; }
.grid-cards.is-waiting .card { filter: brightness(.8); }

/* phone: bonus question alert */
.ph-bonus { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--pumpkin) 55%, #000), color-mix(in srgb, var(--violet) 45%, #000) 75%); border: 2px solid var(--gold); animation: ph-bonus-in .5s cubic-bezier(.2, 1.4, .3, 1) both; }
.ph-bonus.is-triple { background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--gold) 55%, #000), color-mix(in srgb, var(--blood) 50%, #000) 75%); }
.ph-bonus::before { content: ""; position: absolute; inset: -50%; background: repeating-conic-gradient(color-mix(in srgb, var(--gold) 30%, transparent) 0 10deg, transparent 10deg 24deg); animation: ph-rays 8s linear infinite; }
.ph-bonus > * { position: relative; }
.ph-bonus .muted { color: #fff; opacity: .85; }
.ph-bonus-coin { width: 150px; height: 150px; margin: .5rem auto 1rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFF6C8, var(--gold) 40%, color-mix(in srgb, var(--gold) 55%, #000)); box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--gold) 70%, #fff), 0 0 40px color-mix(in srgb, var(--gold) 80%, transparent); animation: coin-bounce 1s ease-in-out infinite; }
.ph-bonus-coin span { font-family: var(--display); font-weight: 900; font-size: 4.2rem; color: #fff; text-shadow: 0 4px 0 color-mix(in srgb, var(--gold) 45%, #000); }
@keyframes ph-bonus-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ph-rays { to { transform: rotate(360deg); } }
@keyframes coin-bounce { 0%, 60% { transform: none; } 80% { transform: translateY(-8px) rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.ph-mult { display: inline-block; margin-bottom: .6rem; padding: .2rem .6rem; border-radius: 4px; background: var(--gold); color: #1a1400; font-weight: 800; font-size: .85rem; }

/* phone: menu, join, leaderboard, vote nudge */
.ph-menu-btn { flex: none; width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: var(--panel); color: var(--text); font-size: 1.2rem; cursor: pointer; }
dialog.ph-menu { width: min(360px, calc(100% - 2rem)); }
.ph-menu .modal-body { gap: .6rem; }
.pm-who { color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pm-staff { justify-self: center; margin-top: .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.join-card { text-align: center; }
.join-card .tv-join { margin-top: .75rem; }
.nudge { width: 100%; margin-top: 1rem; border: 0; color: var(--text); text-align: left; font: inherit; font-weight: 700; cursor: pointer; background: color-mix(in srgb, var(--ecto) 18%, var(--panel)); }
.ph-board { margin-top: 1rem; background: var(--panel); border-radius: 12px; overflow: hidden; }
.ph-board summary { padding: .85rem 1rem; font-weight: 800; cursor: pointer; list-style: none; }
.ph-board summary::-webkit-details-marker { display: none; }
.ph-board ol { list-style: none; margin: 0; padding: 0 .5rem .6rem; }
.ph-board li { display: grid; grid-template-columns: 2rem 1fr auto; gap: .5rem; align-items: center; padding: .55rem .5rem; border-radius: 8px; font-weight: 700; }
.ph-board li + li { border-top: 1px solid var(--line); }
.ph-board li.is-me { background: color-mix(in srgb, var(--pumpkin) 18%, transparent); }
.ph-board .rk { text-align: center; color: var(--muted); }
.ph-board .sc { color: var(--gold); font-variant-numeric: tabular-nums; }

/* phone: answer result celebration */
.ph-win { position: relative; overflow: hidden; display: grid; justify-items: center; gap: .15rem; padding: 1.1rem 1rem 1.2rem; animation: ph-bonus-in .5s cubic-bezier(.2, 1.5, .3, 1) both; }
.ph-win-icon { font-size: 2.6rem; line-height: 1; animation: coin-bounce 1.2s ease-in-out 2; }
.ph-win-title { font-family: var(--display); font-weight: 900; font-size: 1.7rem; }
.ph-win-pts { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--gold); text-shadow: 0 0 18px color-mix(in srgb, var(--gold) 60%, transparent); }
.ph-win-sub { font-size: .85rem; font-weight: 600; color: var(--muted); }
.ph-confetti { position: absolute; inset: 0; pointer-events: none; }
.ph-confetti i { position: absolute; left: 50%; top: 40%; width: 8px; height: 12px; border-radius: 2px; background: var(--gold); opacity: 0;
    animation: ph-conf 1.3s var(--d) cubic-bezier(.2, .8, .3, 1) forwards; }
.ph-confetti i[style*="--c:1"] { background: var(--pumpkin); }
.ph-confetti i[style*="--c:2"] { background: var(--ecto-hi); }
@keyframes ph-conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(var(--x) * 3.2px), calc(60px + var(--c) * 40px)) rotate(540deg); } }
.ph-miss { animation: ph-shake .45s ease; }
@keyframes ph-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.rehearsal-pill { margin-left: .5rem; vertical-align: middle; font-family: var(--body); animation: banner-pulse 1.6s ease-in-out infinite; }
@keyframes banner-pulse { 50% { opacity: .55; } }

.parade-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .6rem .75rem; border-radius: 8px; background: color-mix(in srgb, var(--violet) 22%, var(--panel)); border: 1px solid color-mix(in srgb, var(--violet) 55%, transparent); }
.parade-bar[hidden] { display: none; }
.pb-label { flex: 1; min-width: 180px; font-weight: 800; }

/* phone: announcement banner and live reaction bar */
.ph-ann { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--pumpkin) 85%, #000); font-weight: 800; box-shadow: 0 0 24px color-mix(in srgb, var(--pumpkin) 40%, transparent); animation: ph-bonus-in .45s cubic-bezier(.2, 1.4, .3, 1) both; }
.ph-ann span { flex: 1; }
.ph-ann button { border: 0; background: none; color: #fff; font-size: 1rem; cursor: pointer; opacity: .8; }
.react-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; justify-content: space-around; padding: .6rem .5rem calc(env(safe-area-inset-bottom) + .6rem); background: color-mix(in srgb, #000 88%, transparent); border-top: 2px solid var(--pumpkin); backdrop-filter: blur(8px); }
.react-bar[hidden] { display: none; }
.react-bar button { width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--panel-2); font-size: 1.7rem; cursor: pointer; }
.react-bar button.pop { animation: react-pop .35s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes react-pop { 50% { transform: scale(1.35); } }
body.has-react .ph-main { padding-bottom: calc(env(safe-area-inset-bottom) + 6rem); }
.react-float { position: fixed; bottom: 70px; z-index: 30; font-size: 2rem; pointer-events: none; animation: react-up 1.2s ease-out forwards; }
@keyframes react-up { to { transform: translateY(-160px) scale(1.4); opacity: 0; } }

.singer-list { display: grid; gap: .4rem; }
.singer-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .7rem; border-radius: 8px; background: var(--panel-2); }

.pending-box { margin-bottom: 1rem; border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.person.is-pending { cursor: default; }
.person.is-pending:hover { border-color: var(--line); }

/* recap page */
.recap-page { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; display: grid; gap: 1.5rem; }
.rc-hero { text-align: center; }
.rc-kicker { color: var(--gold); font-weight: 800; }
.rc-title { margin: .3rem 0 .8rem; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.rc-stats { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; color: var(--muted); font-weight: 700; }
.rc-stats b { color: var(--text); font-size: 1.3rem; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.rc-card { display: grid; justify-items: center; gap: .35rem; padding: 1.2rem 1rem; border-radius: 14px; text-align: center; background: color-mix(in srgb, var(--panel) 92%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.rc-award { font-weight: 800; color: var(--gold); }
.rc-photo { width: 150px; height: 150px; margin: .4rem 0; border-radius: 50%; overflow: hidden; border: 4px solid var(--gold); box-shadow: 0 0 30px color-mix(in srgb, var(--gold) 35%, transparent); }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; }
.rc-name { font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1.1; }
.rc-detail { color: var(--muted); font-size: .92rem; }
.rc-votes { font-weight: 800; font-size: .85rem; color: var(--ecto-hi); }
.rc-runners { display: grid; gap: .2rem; margin-top: .4rem; font-size: .88rem; font-weight: 600; }
.rc-runners em { font-style: normal; color: var(--muted); margin-left: .3rem; }
.rc-trivia h2 { margin: 0 0 .75rem; font-family: var(--display); font-weight: 900; }
.ph-board-list { list-style: none; margin: 0; padding: .5rem; border-radius: 12px; background: var(--panel); }
.ph-board-list li { display: grid; grid-template-columns: 2rem 1fr auto; gap: .5rem; align-items: center; padding: .55rem .5rem; font-weight: 700; }
.ph-board-list li + li { border-top: 1px solid var(--line); }
.ph-board-list .rk { text-align: center; color: var(--muted); }
.ph-board-list .sc { color: var(--gold); }

.archive-link { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem .7rem; border-radius: 8px; background: var(--panel-2); color: var(--text); font-weight: 700; text-decoration: none; }
.archive-link:hover { background: var(--panel-3); }

/* question editor: picture answers */
.pic-row { display: grid; grid-template-columns: auto 56px auto 1fr auto; gap: .5rem; align-items: center; }
.pic-row input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ecto); }
.pic-prev { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); font-size: 1.4rem; }
.pic-prev img { width: 100%; height: 100%; object-fit: cover; }
.pic-row .btn { cursor: pointer; }

/* phone: question pictures and picture answers */
.tv-img { margin: 0 0 1rem; border-radius: 10px; overflow: hidden; background: #000; }
.tv-img img { width: 100%; max-height: 38vh; object-fit: contain; }
.answers.is-pics { grid-template-columns: 1fr 1fr; }
.answers.is-pics .answer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .35rem .4rem; padding: .45rem; min-height: 0; font-size: .95rem; }
.answers.is-pics .ans-pic { grid-column: 1 / -1; }
.answers.is-pics .answer .glyph { font-size: 1.1rem; }
.ans-pic { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.ans-pic img { width: 100%; height: 100%; object-fit: cover; }

/* staff sign in: a real tappable button, quieter than the guest actions */
.pm-staff-btn { margin-top: .4rem; background: transparent; border: 1.5px solid var(--line); color: var(--muted); }
.pm-staff-btn:hover { background: var(--panel-2); color: var(--text); }

.keys-list { grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
kbd { display: inline-block; min-width: 1.8rem; margin-right: .5rem; padding: .15rem .45rem; border-radius: 5px; background: var(--panel-3); border: 1px solid var(--line); border-bottom-width: 3px; font-family: var(--body); font-weight: 800; text-align: center; }

.voter-group { padding: .6rem .75rem; border-radius: 8px; background: var(--panel-2); }
.vg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.vg-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.vg-list span { padding: .2rem .55rem; border-radius: 999px; background: var(--panel-3); font-size: .85rem; font-weight: 700; }
.vg-list em { font-style: normal; font-weight: 500; color: var(--muted); }
.activity-box { max-height: 420px; overflow-y: auto; }

.team-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .3rem .25rem .7rem; border-radius: 999px; background: var(--panel-2); font-weight: 700; }
.team-chip .icon-btn { width: 26px; height: 26px; font-size: .75rem; border-radius: 50%; }

.team-pick { display: grid; gap: .5rem; margin-top: 1rem; }
.team-pick .btn { justify-content: space-between; min-height: 52px; font-size: 1.05rem; }
.team-pick em { font-style: normal; padding: .1rem .55rem; border-radius: 999px; background: var(--pumpkin); font-size: .85rem; }
.ph-board em { font-style: normal; font-size: .8rem; }

/* phone remote */
.rm { display: grid; gap: .8rem; }
.rm-now { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rm-now > div { display: grid; gap: .1rem; padding: .7rem .8rem; border-radius: 10px; background: var(--panel); font-size: .8rem; }
.rm-now b { font-size: 1rem; }
.rm-big { min-height: 60px; font-size: 1.15rem; }
.rm-sub { text-align: center; font-size: .85rem; font-weight: 600; margin-top: -.3rem; }
.rm-card { display: grid; gap: .6rem; padding: .9rem; border-radius: 12px; background: color-mix(in srgb, var(--panel) 92%, transparent); border: 1px solid var(--line); }
.rm-h { font-weight: 800; display: flex; justify-content: space-between; }
.rm-q { font-size: .85rem; font-weight: 600; }
.rm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.rm-grid2:has(> [hidden]) > :not([hidden]) { grid-column: 1 / -1; }
.rm-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.rm-grid3 .btn { padding: .5rem .3rem; font-size: .88rem; }
.rm-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.rm-screens .screen-btn { padding: .55rem .2rem; font-size: .75rem; }
.rm-screens .screen-btn .e { font-size: 1.3rem; }
.rm-status { font-size: .85rem; font-weight: 700; }

.seg-list { list-style: none; margin: 0; padding: 0; }
.seg-item { display: grid; grid-template-columns: 2rem 1fr auto; gap: .6rem; align-items: center; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.seg-item.is-now { background: color-mix(in srgb, var(--ecto) 16%, transparent); box-shadow: inset 4px 0 0 var(--ecto-hi); }
.seg-label { font-weight: 700; }
.seg-add { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .5rem; padding: .75rem; }
@media (max-width: 700px) { .seg-add { grid-template-columns: 1fr; } }

.tv-timer-pick { min-width: 150px; }
.tv-timer-pick span { font-size: .75rem; }
.tv-timer-pick .select { min-height: 36px; padding: .35em .6em; }

.pause-btn.is-paused, #rm-pause.is-paused { background: var(--gold); color: #1a1400; animation: soft-pulse 1.4s ease-in-out infinite; }
@keyframes soft-pulse { 50% { opacity: .7; } }
.ph-paused { border-left-color: var(--gold); }
