﻿/* ShowclubVIP License Portal: the product's dark look with its red accent. */
:root {
    --bg: #121214;
    --panel: #1d1d21;
    --line: #34343a;
    --text: #e9e9ec;
    --muted: #9a9aa3;
    --red: #d8262f;
    --red-dark: #a51d24;
    --ok: #3fae5a;
    --warn: #e0a526;
}

* { box-sizing: border-box; }

/* hidden always hides, whatever display a class gives (Joe, 2026-11-04: the MP3 tags dialog's hidden Close button showed). */
[hidden] { display: none !important; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.45 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: #ff6b72; }

.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
    background: #0b0b0c;
    border-bottom: 2px solid var(--red);
    /* Stays at the top while the page scrolls under it (Joe, 2026-10-16). */
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
.brand .sub { color: var(--muted); font-size: 14px; padding-top: 6px; }

@media (max-width: 480px) {
    .brand img { height: 34px; }
}

.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.topbar nav a { color: var(--text); text-decoration: none; }
.topbar nav a:hover { color: #ff6b72; }

form.inline { display: inline; margin: 0; }

button.link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

/* The page beside the side menu, the window's full width (Joe, 2026-10-31: "it could stand to be a little wider"). */
main.page { flex: 1; padding: 22px 28px 48px; min-width: 0; }
main.signed-out { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }

/* The side menu (Joe, 2026-10-31): the links that were across the top, each with its icon; folded, only the icons.
   Settings at its foot holds My account, the signing key and Sign out. */
.shell { display: flex; min-height: 100vh; }
.side {
    position: sticky; top: 0; height: 100vh; width: 244px; flex-shrink: 0; z-index: 20;
    display: flex; flex-direction: column; background: #0b0b0c; border-right: 1px solid #26262b; transition: width .18s ease;
}
.side svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.side-top { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 10px; }
.side-fold { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
.side-fold:hover { background: rgba(255, 255, 255, .06); }
.side-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; }
.side-brand img { display: block; width: 153px; height: auto; }
.side-brand span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.side-links { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; }
.side-link {
    display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 11px; border-radius: 8px;
    color: #c8c8cf; text-decoration: none; font-size: 14px; white-space: nowrap; cursor: pointer; list-style: none;
}
.side-link::-webkit-details-marker { display: none; }
.side-link:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.side-link.on { background: rgba(216, 38, 47, .18); color: #fff; font-weight: 600; }
.side-link.on svg { color: #ff4d55; }
/* Requests while song requests wait (Joe, 2026-11-21, option C): the club screens' red glow, slowly breathing, with the count;
   folded, the glow alone (the count is in the link's tooltip). */
.side-link.waiting { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 77, 85, .7), 0 0 12px rgba(216, 38, 47, .55); animation: side-waiting 2.4s ease-in-out infinite; }
.side-link.waiting svg { color: #ff4d55; }
.side-count {
    margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px; border: 1px solid #ff4d55;
    color: #ff4d55; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}
@keyframes side-waiting { 50% { box-shadow: inset 0 0 0 1px rgba(255, 77, 85, .35), 0 0 4px rgba(216, 38, 47, .25); } }
@media (prefers-reduced-motion: reduce) { .side-link.waiting { animation: none; } }
.side-settings { position: relative; padding: 10px; border-top: 1px solid #26262b; }
.side-settings[open] > .side-link { background: rgba(255, 255, 255, .08); color: #fff; }
.side-menu {
    position: absolute; left: 10px; bottom: 64px; width: 230px; padding: 6px; z-index: 30;
    display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
}
.side-menu-who { padding: 8px 10px 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.side-menu form { margin: 0; }
.side-menu a, .side-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px;
    background: transparent; color: var(--text); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer;
}
.side-menu a:hover, .side-menu button:hover { background: rgba(255, 255, 255, .06); }
.side-menu svg { width: 20px; height: 20px; }
.shell.folded .side { width: 64px; }
.shell.folded .side-brand, .shell.folded .side-link > span { display: none; }
@media (max-width: 760px) {
    .side { width: 64px; }
    .side-brand, .side-link > span { display: none; }
    main.page { padding: 16px; }
}

h1 { font-size: 26px; font-weight: 500; margin: 0 0 16px; }
h1:focus { outline: none; }
h2 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 18px; }
.field-note { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }

input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=datetime-local], textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: #0f0f11;
    color: var(--text);
    font: inherit;
}

textarea { min-height: 70px; }

/* Every drop-down dark, as the fields (Joe, 2026-10-31: the browser's white ones stood out). */
select { padding: 8px 10px; border-radius: 4px; border: 1px solid var(--line); background: #0f0f11; color: var(--text); font: inherit; }

/* As wide as the switch and its words only, not the whole line (Joe, 2026-10-26: taps far off flipped a switch). */
.check { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; color: var(--text); font-size: 15px; margin: 4px 0; }
/* The Update tab's When choice (Joe, 2026-11-17): plain, as the other boxes; the time box wraps on narrow screens. */
.update-when { border: 0; padding: 0; margin: 8px 0 12px; }
.update-when legend { padding: 0; margin-bottom: 4px; }
.update-when .check { flex-wrap: wrap; }
.update-when input[type=datetime-local], .filters input[type=datetime-local] { width: auto; color-scheme: dark; }

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--red-dark);
    background: linear-gradient(var(--red), var(--red-dark));
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.btn.grey { border-color: #5b6068; background: linear-gradient(#90959c, #7c8189); }

/* A file picker's button as a grey button (Import IPEs, Docs), the file name beside it in the page's text colour. */
input[type=file] { color: var(--muted); font: inherit; font-size: 14px; }
input[type=file]::file-selector-button {
    margin-right: 10px; padding: 8px 16px; border-radius: 4px; border: 1px solid #5b6068;
    background: linear-gradient(#90959c, #7c8189); color: #fff; font: inherit; cursor: pointer;
}
input[type=file]::file-selector-button:hover { filter: brightness(1.08); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
/* Scrolls sideways only when the columns are wider than the page; its bar in the portal's dark look (Joe, 2026-11-19). */
.table-wrap { overflow-x: auto; }
.table-wrap::-webkit-scrollbar { height: 10px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.table-wrap::-webkit-scrollbar-thumb { background: #34343a; border-radius: 6px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: #4a4a52; }
.table-wrap::-webkit-scrollbar-corner { background: transparent; }

.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.pill.ok { background: rgba(63, 174, 90, .18); color: var(--ok); }
.pill.warn { background: rgba(224, 165, 38, .18); color: var(--warn); }
.pill.bad { background: rgba(216, 38, 47, .2); color: #ff6b72; }
/* The Clubs page's health (Joe, 2026-10-15). */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot.bad { background: #ff6b72; }
.dot.warn { background: var(--warn); }
.dot.ok { background: var(--ok); }
.panel.attention { border: 1px solid rgba(216, 38, 47, .55); margin-bottom: 14px; }
.panel.attention h2 { margin-top: 0; }
.panel.attention td { padding: 6px 10px 6px 0; }
.filter-check { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }

.error { color: #ff6b72; margin: 10px 0; }
.notice { color: var(--ok); margin: 10px 0; }
.muted { color: var(--muted); }

.code {
    font: 600 28px/1.2 Consolas, "Courier New", monospace;
    letter-spacing: 3px;
    padding: 12px 16px;
    background: #0f0f11;
    border: 1px dashed var(--red);
    border-radius: 4px;
    display: inline-block;
}

pre.key { white-space: pre-wrap; word-break: break-all; background: #0f0f11; padding: 12px; border-radius: 4px; }

.login { max-width: 380px; margin: 0 auto; }

.login-logo { display: block; width: min(380px, 100%); height: auto; margin: 32px auto 20px; }

/* PIN boxes are plain text shown as dots: browsers then leave them (and the name box above) alone instead of filling in the portal login. */
.pin-field { -webkit-text-security: disc; text-security: disc; }

/* Two-factor sign-in (2026-10-03). */
.two-factor h3 { margin: 20px 0 6px; font-size: 16px; }
.totp-qr { background: #fff; padding: 8px; border-radius: 8px; }
.backup-codes ul { columns: 2; list-style: none; padding: 0; }
.backup-codes code { font-size: 16px; letter-spacing: .05em; }
.key-list { list-style: none; padding: 0; }
.key-list li { padding: 4px 0; }
.inline-form { margin-top: 10px; }
.area-search .area-row { display: flex; gap: 8px; align-items: center; }
.area-search .area-row input { width: 90px; text-align: center; }


/* Club pages (Joe, 2026-10-04): breadcrumbs, a summary strip, section tabs and sub-tabs, so a club's settings are easy to find. */
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #ff6b72; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 18px; }
.summary div { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.summary span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 18px; }
.tabs a { padding: 10px 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-bottom-color: var(--red); }
.tabs a.danger { color: var(--red); margin-left: auto; }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.subtabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); text-decoration: none; font-size: 14px; }
.subtabs a:hover { color: var(--text); }
.subtabs a.on { color: #fff; background: var(--red-dark); border-color: var(--red); }
.panel.slim { padding-top: 12px; padding-bottom: 12px; }
.small { font-size: 13px; }
ul.plain { margin: 0; padding-left: 18px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.filters input[type=search] { flex: 1 1 220px; max-width: 360px; }
.filters .spacer { flex: 1; }
input[type=search], input[type=number], .select {
    padding: 8px 10px; background: #0f0f11; color: inherit; border: 1px solid var(--line); border-radius: 4px; font: inherit;
}
input[type=number] { width: 100%; }
.genre-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.genre-tile { text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #2a2a30; color: var(--text); cursor: pointer; font: inherit; }
.genre-tile span { display: block; color: var(--muted); font-size: 12px; }
.genre-tile.special { background: rgba(216, 38, 47, .25); border-color: var(--red); }
.genre-tile:has(input:checked) { background: rgba(216, 38, 47, .25); border-color: var(--red); }
.genre-tile input { margin: 0 6px 0 0; vertical-align: middle; }
.dup-group { border-top: 1px solid var(--line); padding: 10px 0; }

/* Long lists scroll in their own box, so the page itself stays short and the buttons below stay in reach (Joe, 2026-10-04). */
.scroll-box { max-height: 60vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; }
.scroll-box.short { max-height: 35vh; }
.scroll-box.tall { max-height: 70vh; }
.panel.scroll-box { padding: 0 16px; }
.scroll-box thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.genre-tiles.scroll-box { padding: 8px; }

/* Danger Zone (Joe, 2026-10-05): deleting a club. */
.panel.danger { border: 1px solid var(--red); }
.panel.danger h2 { color: var(--red); }
.danger-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.danger-confirm label { flex-basis: 100%; }
.danger-confirm input { max-width: 320px; }
.error-text { color: var(--red); }

/* Special Track seasons on a calendar (season-calendar.js; Joe, 2026-10-11): the club screen's way, in the portal's look. */
input.season-field { max-width: 150px; cursor: pointer; }
.season-calendar {
    position: absolute; top: calc(100% + 4px); left: 10px; z-index: 50; width: 320px; padding: 12px;
    border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
}
.season-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.season-month-name { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.season-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.season-nav, .season-day, .season-thanksgiving, .season-clear, .season-close {
    border: 1px solid #5b6068; border-radius: 4px; background: linear-gradient(#90959c, #7c8189); color: #fff; font: inherit; cursor: pointer;
}
.season-nav { width: 44px; height: 36px; font-size: 22px; line-height: 1; }
.season-day { height: 36px; }
.season-day.chosen, .season-thanksgiving.chosen { border-color: var(--red-dark); background: linear-gradient(var(--red), var(--red-dark)); }
.season-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.season-thanksgiving, .season-clear, .season-close { min-width: 90px; height: 34px; }
/* A date on the same calendar (date-picker.js; Joe, 2026-11-01: a Promo's end date), with weekdays and today marked. */
input.date-field { width: 150px; max-width: 150px; cursor: pointer; }
.date-weekday { text-align: center; color: var(--muted); font-size: 12px; font-weight: 600; padding-bottom: 2px; }
.date-calendar .season-day.date-today:not(.chosen) { border-color: var(--red); box-shadow: 0 0 6px var(--red); }
.date-calendar .season-day:disabled { opacity: .3; cursor: default; }
.date-pick-today {
    min-width: 90px; height: 34px; border: 1px solid #5b6068; border-radius: 4px; background: linear-gradient(#90959c, #7c8189); color: #fff; font: inherit; cursor: pointer;
}
.date-pick { position: relative; display: inline-block; }

/* The club answered while edits on the page weren't saved (club-activity.js; Joe, 2026-10-11): offered, never forced. */
.club-answered {
    position: fixed; left: 50%; bottom: 18px; z-index: 100; display: flex; align-items: center; gap: 14px; max-width: min(760px, calc(100vw - 32px));
    padding: 12px 16px; transform: translateX(-50%); border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 6px;
    background: var(--panel); box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
}

/* Song requests (Joe, 2026-10-16): the drop box for a request's MP3. */
.song-requests .filters { display: flex; gap: 14px; margin: 8px 0 12px; }
.song-requests .filters a { color: var(--muted, #9aa0a8); text-decoration: none; padding-bottom: 2px; }
.song-requests .filters a.on { color: inherit; border-bottom: 2px solid var(--red); }
.song-requests td { vertical-align: top; }
.song-file-cell { min-width: 220px; }
.drop-song { display: block; margin-top: 4px; padding: 10px; border: 2px dashed var(--line); border-radius: 6px; text-align: center; cursor: pointer; font-size: 0.85em; color: var(--muted, #9aa0a8); }
.drop-song:hover, .drop-song.over { border-color: var(--red); color: inherit; }
.drop-song.busy { border-style: solid; cursor: progress; }
.drop-song.failed { border-color: #d8a026; color: #f0c060; }
.library-song { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.song-actions { white-space: nowrap; }
.song-actions form + form { margin-left: 6px; }
.vo-kind + .vo-kind { margin-top: 10px; }

/* Switches and checkboxes (Joe, 2026-11-01: "there should be places that are toggles, and that's for turning things on
   or off; for selecting multiple, the good 'ole fashioned check box"). A checkbox marked role="switch" turns a setting or a
   feature on or off: the ON/OFF switch, as on the club's screens (Joe, 2026-10-26: "make it extremely obvious whether it's
   on or off"): off, the glossy gunmetal with OFF and the knob left; on, the red fill and red glow with ON and the knob
   right. Every other checkbox picks things (rows, items, an option for one action): the square box below. Both are real
   checkboxes underneath: forms, keyboard (space), screen readers and the page scripts work as before. */
input[type=checkbox][role=switch] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    position: relative;
    width: 76px;
    height: 36px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(180deg, #6a6f78 0%, #52565e 49%, #44474e 51%, #4e525a 100%);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .55);
    cursor: pointer;
    vertical-align: middle;
    transition: background-color .15s ease, border-color .15s ease;
}

input[type=checkbox][role=switch]::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d9dbe0, #8e9299);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 4px rgba(0, 0, 0, .6);
    transition: left .15s ease;
}

input[type=checkbox][role=switch]::after {
    content: "OFF";
    position: absolute;
    top: 0;
    right: 10px;
    color: #c4c4cc;
    font: 700 13px/34px system-ui, sans-serif;
    letter-spacing: .08em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

input[type=checkbox][role=switch]:checked {
    border-color: rgba(255, 92, 92, .8);
    background: linear-gradient(180deg, #e0353a, #a3161b);
    box-shadow: 0 0 0 1px rgba(255, 59, 59, .4), 0 0 18px rgba(255, 40, 40, .45);
}
input[type=checkbox][role=switch]:checked::before { left: 44px; background: linear-gradient(180deg, #fff, #d6d6dc); }
input[type=checkbox][role=switch]:checked::after { content: "ON"; right: auto; left: 13px; color: #fff; }
input[type=checkbox][role=switch]:hover:not(:disabled) { border-color: rgba(255, 92, 92, .8); }
input[type=checkbox][role=switch]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
input[type=checkbox][role=switch]:disabled { opacity: .45; cursor: not-allowed; }

/* A little smaller in table rows, where a switch picks a row; still ON / OFF. */
td input[type=checkbox][role=switch], th input[type=checkbox][role=switch] { width: 60px; height: 28px; border-radius: 14px; }
td input[type=checkbox][role=switch]::before, th input[type=checkbox][role=switch]::before { top: 3px; left: 3px; width: 20px; height: 20px; }
td input[type=checkbox][role=switch]:checked::before, th input[type=checkbox][role=switch]:checked::before { left: 35px; }
td input[type=checkbox][role=switch]::after, th input[type=checkbox][role=switch]::after { right: 7px; font-size: 11px; line-height: 26px; }
td input[type=checkbox][role=switch]:checked::after, th input[type=checkbox][role=switch]:checked::after { left: 9px; }

@media (prefers-reduced-motion: reduce) {
    input[type=checkbox][role=switch], input[type=checkbox][role=switch]::before { transition: none; }
}


/* The checkbox: a square in the same gunmetal; ticked, the red fill and glow with a white tick. */
input[type=checkbox]:not([role=switch]) {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    position: relative;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 4px;
    background: linear-gradient(180deg, #5a5e66, #3e4148);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
    cursor: pointer;
    vertical-align: middle;
}
input[type=checkbox]:not([role=switch]):checked {
    border-color: rgba(255, 92, 92, .8);
    background: linear-gradient(180deg, #e0353a, #a3161b);
    box-shadow: 0 0 0 1px rgba(255, 59, 59, .35), 0 0 10px rgba(255, 40, 40, .4);
}
input[type=checkbox]:not([role=switch]):checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
input[type=checkbox]:not([role=switch]):hover:not(:disabled) { border-color: rgba(255, 92, 92, .8); }
input[type=checkbox]:not([role=switch]):focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
input[type=checkbox]:not([role=switch]):disabled { opacity: .45; cursor: not-allowed; }
label.check:has(input[type=checkbox]:not([role=switch])) { gap: 10px; }

/* The genre tiles keep their gap before the name (own round 92: the switch's margin took it). */
/* Blocked Genres: the tile is the button, red when blocked, as on the Genres tab (Joe, 2026-10-26: "shouldn't use checks or
   toggle switches"). Its tick box stays for the form, out of sight; the keyboard still reaches it. */
.genre-tile { position: relative; }
.genre-tile input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.genre-tile:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }

/* Windows High Contrast: on and off still look different (own round 92). */
@media (forced-colors: active) {
    input[type=checkbox] { border-color: CanvasText; }
    input[type=checkbox][role=switch]::before { background: CanvasText; forced-color-adjust: none; }
    input[type=checkbox]:checked { background: Highlight; forced-color-adjust: none; }
    input[type=checkbox][role=switch]:checked::before { background: HighlightText; }
    input[type=checkbox]:not([role=switch]):checked::after { border-color: HighlightText; }
    input[type=checkbox]::after { color: CanvasText; forced-color-adjust: none; }
    input[type=checkbox]:checked::after { color: HighlightText; }
}

/* A change the club hasn't applied yet (Joe, 2026-10-26): shown at once, its tile dashed and marked until the club answers. */
.genre-tile.waiting { border-style: dashed; }
.genre-tile .waiting-note { color: #f0b45a; font-style: normal; }

/* Club Configuration as the club's own screen has it (Joe, 2026-10-30): its tabs, Music sub-tabs, cards and − / + boxes. */
.club-config { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); margin-bottom: 18px; }
.cc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); }
.cc-tab { padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: #2a2b30; color: var(--text); text-decoration: none; font-weight: 600; }
.cc-tab:hover { border-color: var(--red); }
.cc-tab.on { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-body { padding: 16px 18px; }
.cc-subtabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.cc-subtab { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; background: #2a2b30; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .03em; cursor: pointer; margin: 0; }
.cc-subtab:hover { border-color: var(--red); }
.cc-subtab.on { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-head { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.cc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 24px; margin: 4px 0 12px; }
.cc-field { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; color: var(--text); font-size: 13px; font-weight: 600; margin: 8px 0; }
.cc-field.narrow { max-width: 320px; }
/* Edit Entertainer (Joe, 2026-11-01): every box the same width (the PIN box ran across the page), and the ones that can't
   be changed greyed so they don't pass for editable. */
.ipe-form .cc-field input:not([type=number]) { max-width: 320px; }
.cc-field input[readonly] { background: var(--panel); color: var(--muted); border-style: dashed; cursor: not-allowed; }
.cc-field input:not([type]), .cc-field input[type=password] { max-width: 320px; }
.cc-field input[type=time], .cc-field select { max-width: 220px; }
.cc-stepper { display: inline-flex; align-items: stretch; gap: 6px; }
.cc-stepper input[type=number] { width: 96px; text-align: center; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.cc-stepper input[type=number]::-webkit-inner-spin-button, .cc-stepper input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cc-step { width: 40px; min-height: 38px; border: 1px solid var(--line); border-radius: 5px; background: #2a2b30; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.cc-step:hover { border-color: var(--red); }
.cc-step:active { background: var(--red-dark); }
.cc-shows td .cc-stepper input[type=number] { width: 84px; }
.cc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cc-tile { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px; margin: 0; border: 1px solid var(--line); border-radius: 6px; background: #2a2b30; color: var(--text); text-align: center; font-weight: 600; cursor: pointer; }
.cc-tile input { display: none; }
.cc-tile:has(input:checked) { border-color: var(--red); background: var(--red-dark); color: #fff; box-shadow: 0 0 10px rgba(225, 40, 45, .45); }
.cc-blocks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.cc-blocks-head .btn { margin: 0; }
.cc-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 14px; margin-bottom: 12px; }
.cc-block { border: 1px solid var(--line); border-radius: 8px; background: #17181b; overflow: hidden; }
.cc-block-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #2a2b30; }
.cc-block-head > span { flex: 1; font-weight: 600; }
.cc-block-head .check { margin: 0; }
.cc-block-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 8px 12px 12px; }
.cc-rent-slot { grid-template-columns: auto auto auto; align-items: end; justify-content: start; }
.cc-remove { margin: 0; }
.cc-remove input { display: none; }
.cc-remove span { display: inline-block; padding: 6px 12px; border: 1px solid var(--red); border-radius: 5px; color: #fff; background: #4a1416; font-weight: 600; cursor: pointer; }
.cc-remove:has(input:checked) span { background: var(--red); }
.cc-block-off, .cc-block-gone { display: none; padding: 6px 12px; font-weight: 700; color: #fff; background: #7a1418; }
.cc-block:has(.cc-block-active:not(:checked)) { border-color: var(--red); background: repeating-linear-gradient(135deg, #2a0d0f 0 12px, #1d0a0b 12px 24px); }
.cc-block:has(.cc-block-active:not(:checked)) .cc-block-off { display: block; }
.cc-block:has(.cc-remove input:checked) { opacity: .55; border-style: dashed; }
.cc-block:has(.cc-remove input:checked) .cc-block-gone { display: block; }
.cc-add-pick, .cc-day-pick { display: none; }
.cc-new { display: none; }
#block-add:checked ~ .cc-blocks .cc-new, .cc-add-pick:checked + .cc-new { display: block; }
.cc-add { margin-top: 4px; }
.cc-add-pick:checked ~ .cc-add { display: none; }
#block-add:checked ~ .cc-blocks-head label[for=block-add] { display: none; }
.cc-dual-stage { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; margin-bottom: 12px; border: 1px solid var(--red); border-radius: 6px; background: #3a0d10; color: #fff; }
.cc-day { display: none; margin-top: 10px; }
.cc-days:has(#rent-day-0:checked) .cc-day-0 { display: block; }
.cc-days:has(#rent-day-0:checked) label[for=rent-day-0] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-1:checked) .cc-day-1 { display: block; }
.cc-days:has(#rent-day-1:checked) label[for=rent-day-1] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-2:checked) .cc-day-2 { display: block; }
.cc-days:has(#rent-day-2:checked) label[for=rent-day-2] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-3:checked) .cc-day-3 { display: block; }
.cc-days:has(#rent-day-3:checked) label[for=rent-day-3] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-4:checked) .cc-day-4 { display: block; }
.cc-days:has(#rent-day-4:checked) label[for=rent-day-4] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-5:checked) .cc-day-5 { display: block; }
.cc-days:has(#rent-day-5:checked) label[for=rent-day-5] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-days:has(#rent-day-6:checked) .cc-day-6 { display: block; }
.cc-days:has(#rent-day-6:checked) label[for=rent-day-6] { border-color: var(--red); background: var(--red-dark); color: #fff; }
.cc-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-footer .btn { margin: 0; }
.cc-field input[type=time] { padding: 8px 10px; border-radius: 4px; border: 1px solid var(--line); background: #0f0f11; color: var(--text); font: inherit; font-size: 16px; color-scheme: dark; }
.cc-blocks > .cc-add { justify-self: start; align-self: start; }

/* Texting: a card a subaccount (Joe, 2026-10-31). */
.btn.small { padding: 5px 12px; font-size: 13px; }
.tx-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.tx-pick label { margin: 0; color: var(--muted); }
.tx-pick select { min-width: 280px; max-width: 100%; width: auto; }
.tx-pick-one { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.tx-pick-one select { width: auto; }
.tx-pick-inactive { margin-left: auto; }
.tx-list { display: grid; gap: 14px; margin-bottom: 18px; }
.tx-card { margin: 0; }
.tx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tx-who h2 { margin: 0 0 2px; font-size: 18px; }
.tx-warning { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--red); background: rgba(216, 38, 47, .1); color: #ff9a9f; }
.tx-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 14px; }
.tx-label { margin-bottom: 6px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tx-number { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tx-number + .tx-number { margin-top: 8px; }
.tx-buy-label { margin-top: 18px; }
.tx-register { margin-top: 12px; }
.tx-share { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.tx-share ol { margin: 8px 0 10px; padding-left: 20px; }
.tx-share li + li { margin-top: 4px; }
.tx-share textarea { width: 100%; box-sizing: border-box; margin-bottom: 8px; font-size: 13px; resize: vertical; }
.tx-url { overflow-wrap: anywhere; }
.tx-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.tx-pills .muted { min-width: 76px; }
.tx-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .tx-body { grid-template-columns: 1fr; } }

/* A panel folded to its heading line (Chain approvals; Joe, 2026-10-31). */
details.fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; }
details.fold > summary::before { content: "\25B8"; color: var(--red); transition: transform .15s; }
details.fold[open] > summary::before { transform: rotate(90deg); }
details.fold[open] > summary { margin-bottom: 12px; }

/* Voiceovers (Joe, 2026-10-31): one box for every file, then a folded line a club with its names and small drop chips. */
.vo-drop { padding: 26px 14px; font-size: 1em; }
.vo-results { margin: 8px 0 14px; padding-left: 18px; }
.vo-results:empty { display: none; }
.promo-drops { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.promo-drops .panel h2 { margin-top: 0; }
.mass-progress { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.mass-progress[hidden] { display: none; }
.mass-progress progress { flex: 1; height: 14px; appearance: none; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); overflow: hidden; }
.mass-progress progress::-webkit-progress-bar { background: var(--bg); }
.mass-progress progress::-webkit-progress-value { background: var(--red); box-shadow: 0 0 8px var(--red); }
.mass-progress progress::-moz-progress-bar { background: var(--red); }
.btn.busy { cursor: progress; opacity: .8; }
.vo-club { margin: 10px 0 0; padding: 12px 16px; }
.vo-club > summary h2 { font-size: 16px; }
.vo-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.vo-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vo-kinds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.drop-song.vo-chip { display: inline-block; margin: 0; padding: 3px 10px; border-width: 1px; font-size: 12px; }

/* A club's page (Joe, 2026-10-31): its name, cards and tabs stay put, everything under them scrolls in one box. */
main.page:has(.club-page) { padding-bottom: 20px; }
.club-page { display: flex; flex-direction: column; height: calc(100vh - 42px); }
.club-head { flex-shrink: 0; }
.club-head h1 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; }
.club-head .summary { margin-bottom: 10px; }
.club-head .summary div { border-radius: 10px; }
.club-head .tabs { flex-wrap: nowrap; align-items: center; margin-bottom: 14px; }
.club-head .tabs > a, .tab-more > summary { white-space: nowrap; }
.club-head .tabs a.on { font-weight: 600; }
.club-head .tabs a.danger { display: flex; align-items: center; gap: 8px; color: #ff5a62; }
.club-head .tabs a.danger.on { border-bottom-color: #ff5a62; }
.club-head .tabs svg, .tab-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab-more { position: relative; }
.tab-more > summary {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--muted); cursor: pointer; list-style: none;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-more > summary::-webkit-details-marker { display: none; }
.tab-more > summary:hover, .tab-more[open] > summary { color: var(--text); }
.tab-more > summary.on { color: var(--text); font-weight: 600; border-bottom-color: var(--red); }
.tab-menu {
    position: absolute; top: calc(100% + 6px); left: 0; width: 220px; padding: 6px; z-index: 30;
    display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
}
.tab-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.tab-menu a:hover { background: rgba(255, 255, 255, .06); }
.tab-menu a.on { background: rgba(216, 38, 47, .18); color: #fff; font-weight: 600; }
.club-body {
    flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
/* The sections inside the one box, set apart by a line instead of each its own box. */
.club-body > .panel { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 20px; margin-bottom: 20px; }
.club-body > .panel:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.club-body > .panel.danger { border: 1px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.club-body::-webkit-scrollbar, .side-links::-webkit-scrollbar { width: 10px; }
.club-body::-webkit-scrollbar-thumb, .side-links::-webkit-scrollbar-thumb { background: #34343a; border-radius: 6px; }
@media (max-width: 760px) {
    .club-page { height: auto; }
    .club-body { overflow: visible; padding: 16px; }
    .club-head .tabs { flex-wrap: wrap; }
}

/* Needs a look (Joe, 2026-10-31): what's wrong with a club, first on its Overview. */
.alert { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; margin-bottom: 8px; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.alert div { display: flex; flex-direction: column; gap: 2px; }
.alert strong { color: #f2f2f4; font-weight: 600; }
.alert span { color: #b8b8c0; font-size: 13px; }
.alert.bad { background: rgba(216, 38, 47, .14); border: 1px solid rgba(216, 38, 47, .55); color: #ff6b72; }
.alert.warn { background: rgba(224, 165, 38, .12); border: 1px solid rgba(224, 165, 38, .5); color: var(--warn); }
.health-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* A drive's use as a bar beside its free space. */
.usage { display: flex; align-items: center; gap: 12px; }
.usage-bar { position: relative; display: block; width: 180px; height: 8px; border-radius: 4px; background: #2a2a30; overflow: hidden; flex-shrink: 0; }
.usage-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.usage-bar .ok { background: var(--ok); }
.usage-bar .warn { background: var(--warn); }
.usage-bar .bad { background: #e5323b; }

/* Texting: what a suspended or closed subaccount means, and the wait while Twilio is asked (Joe, 2026-10-31). */
.tx-state { margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.tx-gathering p { margin: 0; display: flex; align-items: center; gap: 10px; }
.tx-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: #e1282d; animation: tx-spin 0.9s linear infinite; }
@keyframes tx-spin { to { transform: rotate(360deg); } }

/* The upload pages' File Explorer (Joe, 2026-11-02): a folder path with Up, the list as File Explorer shows it, an action bar
   while anything is ticked, and the item picked in its own card beside it. */
.ex-cols { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.explorer { flex: 999 1 620px; min-width: 0; padding: 0; position: relative; }
.ex-side { flex: 1 1 340px; max-width: 420px; }
.ex-side .panel { padding: 18px; }
.ex-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ex-tools { padding-top: 10px; padding-bottom: 10px; }
.ex-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ex-inline label { margin: 0; }
.ex-grow { flex: 1; }
.ex-bar .btn svg, .ex-act .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 6px; }
.ex-up.disabled { opacity: .45; cursor: default; }
.ex-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 4px; }
.ex-crumbs a { color: #c8c8cf; text-decoration: none; border-radius: 4px; padding: 1px 4px; }
.ex-crumbs a:hover { color: #ff6b72; }
.ex-crumbs strong { color: #fff; font-weight: 600; padding: 1px 4px; }
.ex-sep { color: #5b5b63; }
.ex-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 14px; background: rgba(216, 38, 47, .18); color: #fff; font-size: 13px; }
.ex-chip a { color: #c8c8cf; text-decoration: none; padding: 0 4px; }
.ex-new { position: relative; }
.ex-new > summary { list-style: none; }
.ex-new > summary::-webkit-details-marker { display: none; }
.ex-new[open] > form { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); white-space: nowrap; }
.ex-new input[type=text] { width: 220px; }
.ex-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; background: #2a1517; border-bottom: 1px solid #6b2328; box-shadow: inset 0 2px 0 var(--red); }
.ex-act[hidden] { display: none; }
.ex-act label { margin: 0; }
.ex-act .ex-count { font-weight: 600; color: #fff; margin-right: 6px; }
.ex-vr { width: 1px; align-self: stretch; background: #4a2a2d; margin: 0 4px; }
.ex-progress { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.explorer > .vo-results { margin: 0; padding: 0 14px; }
.ex-table th, .ex-table td { vertical-align: middle; border-bottom-color: #2a2a30; }
/* A list that scrolls in place under its bar (Song files, Joe 2026-11-08): the column titles and about six rows (44 px each). */
.ex-scroll { max-height: 302px; overflow-y: auto; }
.ex-scroll thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.ex-table .ex-pick { width: 34px; }
.ex-table tbody tr { cursor: default; }
.ex-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.ex-table tr.ticked td { background: rgba(216, 38, 47, .10); }
.ex-table tr.picked td { background: rgba(216, 38, 47, .18); }
.ex-table tr.dragging td { opacity: .4; }
.ex-table tr.drop-target td { background: rgba(216, 38, 47, .22); box-shadow: inset 0 1px 0 var(--red), inset 0 -1px 0 var(--red); }
.ex-crumbs a.drop-target, .ex-up.drop-target { background: rgba(216, 38, 47, .3); color: #fff; }
.ex-name { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: 8px; }
.ex-name:hover { color: #ff6b72; }
.ex-name svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ex-name .ex-folder { color: #d9a441; }
.ex-name .ex-file { color: var(--muted); }
.pill.none { background: rgba(255, 255, 255, .07); color: var(--muted); }
.ex-empty { padding: 14px; margin: 0; }
.ex-drop { margin: 12px 14px 14px; padding: 14px; border: 2px dashed var(--line); border-radius: 6px; text-align: center; color: var(--muted); font-size: 13px; }
.ex-drop strong { color: var(--text); }
.ex-overlay { display: none; position: absolute; inset: 0; z-index: 4; border: 2px dashed var(--red); border-radius: 6px; background: rgba(18, 18, 20, .85);
    flex-direction: column; align-items: center; justify-content: center; gap: 8px; pointer-events: none; }
.ex-overlay svg { width: 40px; height: 40px; fill: none; stroke: #ff4d55; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ex-overlay strong { font-size: 18px; }
.explorer.ex-over .ex-overlay { display: flex; }
.ex-audio { width: 100%; margin-top: 14px; }
.ex-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.ex-card-actions form { margin: 0; }
.ex-card-actions .vo-chip { margin: 0; }
.ex-send { display: flex; flex-direction: column; gap: 6px; }
.ex-send select { width: 100%; }
.ex-send-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ex-fold-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.pill { white-space: nowrap; }
.ex-audio { color-scheme: dark; }
.ex-bar select, .ex-act select, .ex-card-actions select, .ex-act .date-field, .ex-bar input[type=text] { padding: 5px 8px; font-size: 14px; }
.ex-row-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.ex-row-actions form { margin: 0; }
.ex-row-actions .vo-chip { margin: 0; }
.tx-number .btn { white-space: nowrap; }
.ex-fold .explorer { border: 1px solid var(--line); border-radius: 6px; background: #19191c; }

/* Right-click menus (Joe, 2026-11-03; js/context-menu.js): the portal's dark panel with the red edge. */
.ctx-menu { position: fixed; z-index: 1000; min-width: 210px; max-width: 340px; padding: 5px; background: var(--panel); border: 1px solid var(--line);
    border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 59, 59, .25), 0 8px 26px rgba(0, 0, 0, .55), 0 0 14px rgba(255, 40, 40, .2); }
.ctx-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 7px 12px; border: 0; border-radius: 5px; background: none;
    color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ctx-item:hover:not([disabled]), .ctx-item:focus-visible { background: var(--red-dark); color: #fff; outline: none; }
.ctx-item[disabled] { color: #8a8a92; cursor: default; }
.ctx-item.danger:not(:hover):not(:focus-visible) { color: #ff8a8f; }
.ctx-hint { font-size: 12px; color: #9a9aa2; margin-top: 2px; }
.ctx-item:hover .ctx-hint, .ctx-item:focus-visible .ctx-hint { color: #f0d0d2; }
.ctx-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.ctx-flash { border-color: var(--red) !important; box-shadow: 0 0 10px rgba(225, 40, 45, .6); }

/* A song's MP3 tags (Joe, 2026-11-03; js/song-tags.js). */
.tag-dialog { width: min(640px, calc(100vw - 32px)); color: var(--text); border: 1px solid var(--red-dark); box-shadow: 0 0 22px rgba(225, 40, 45, .35); }
.tag-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.tag-dialog h2 { margin-top: 0; }
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tag-grid p { margin: 0 0 10px; }
.tag-grid label { display: block; font-size: 13px; color: #b8b8c0; margin-bottom: 4px; }
.tag-grid input { width: 100%; box-sizing: border-box; }
.tag-facts { margin: 4px 0 12px; }
.ex-group { display: flex; align-items: center; gap: 8px; margin: 0; }
@media (max-width: 600px) { .tag-grid { grid-template-columns: 1fr; } }

/* Every page as a club's page (Joe, 2026-11-04, approved from the mockup; Components/PageFrame.razor): the title stays put,
   everything under it scrolls in one box, its sections set apart by a line. */
main.page:has(.page-fit) { padding-bottom: 20px; }
.page-fit { display: flex; flex-direction: column; height: calc(100vh - 42px); }
.page-head { flex-shrink: 0; }
.page-head h1 { font-weight: 700; margin-bottom: 8px; }
.page-head > p { margin: 0 0 14px; }
.page-head > h1:last-child { margin-bottom: 14px; }
.page-body {
    flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.page-body:not(.bare) > .panel { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 20px; margin-bottom: 20px; }
.page-body:not(.bare) > .panel:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.page-body:not(.bare) > .panel.danger { border: 1px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.page-body.bare { padding: 0; background: transparent; border: 0; border-radius: 0; }
.page-body.bare > .panel:last-child { margin-bottom: 0; }
/* A File Explorer's bars, and the picked item's card, stay put while its rows scroll. */
.ex-head { position: sticky; top: 0; z-index: 6; background: var(--panel); border-radius: 6px 6px 0 0; }
.page-body.bare .ex-side { position: sticky; top: 0; }
.page-body::-webkit-scrollbar { width: 10px; }
.page-body::-webkit-scrollbar-thumb { background: #34343a; border-radius: 6px; }
@media (max-width: 760px) {
    .page-fit { height: auto; }
    .page-body { overflow: visible; padding: 16px; }
    .page-body.bare { padding: 0; }
    .ex-head, .page-body.bare .ex-side { position: static; }
}
.page-body:not(.bare) thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.page-head .filters { margin-bottom: 14px; }
.attention .alert { gap: 12px; padding: 10px 14px; }
.attention .alert .dot { margin-right: 0; }
.attention .alert a { font-weight: 600; }
.alert .attention-what { color: var(--text); font-size: 15px; }
.alert .attention-since { margin-left: auto; }
.page-body > :first-child { margin-top: 0; }

/* Why Twilio turned a 10DLC campaign down, and the steps to fix it (Joe, 2026-11-17). */
.tx-fix { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.tx-fix p { margin: 0 0 6px; }
.tx-fix ol { margin: 0; padding-left: 20px; }
.tx-fix li { margin: 3px 0; }

/* The send progress bar (Joe, 2026-11-17): the upload's bar, with each club's stage under it. */
.send-progress { flex-wrap: wrap; }
.send-progress > span { flex: 0 1 auto; }
.send-progress .send-clubs { flex-basis: 100%; margin: 0; padding-left: 18px; }
.send-progress .send-clubs:empty { display: none; }

/* Columns each person arranges (Joe, 2026-11-17; js/columns.js): drag a header to move it, its right edge to resize,
   right-click it for the columns menu. */
table[data-columns] .col-off { display: none; }
table.col-arranged thead th { position: relative; }
table.col-arranged thead th:not([data-col-fixed]) { cursor: grab; }
.col-grip { position: absolute; top: 0; right: -4px; bottom: 0; width: 9px; cursor: col-resize; z-index: 1; }
.col-grip::after { content: ""; position: absolute; top: 25%; bottom: 25%; left: 4px; width: 1px; background: var(--line); }
table.col-arranged thead th.col-last .col-grip { right: 0; }
table.col-arranged thead th:hover .col-grip::after { background: var(--red); box-shadow: 0 0 6px var(--red); }
th.col-dragging { opacity: .45; }
th.col-drop-before { box-shadow: inset 3px 0 0 var(--red); }
th.col-drop-after { box-shadow: inset -3px 0 0 var(--red); }
body.col-moving, body.col-moving * { cursor: grabbing !important; user-select: none; }
.col-menu-title { padding: 6px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.col-menu-hint { padding: 2px 12px 6px; font-size: 12px; color: var(--muted); max-width: 260px; }
/* Each column's mini ON/OFF switch, in the look of the portal's switches. */
.ctx-item.col-toggle { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.ctx-item.col-toggle::after {
    content: ""; flex: 0 0 auto; width: 34px; height: 18px; border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: radial-gradient(circle at 9px 50%, #c9ccd2 0 6px, transparent 6.5px), linear-gradient(180deg, #6a6f78, #44474e);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
}
.ctx-item.col-toggle[aria-checked=true]::after {
    border-color: rgba(255, 92, 92, .8);
    background: radial-gradient(circle at 24px 50%, #fff 0 6px, transparent 6.5px), linear-gradient(180deg, #e0353a, #a3161b);
    box-shadow: 0 0 8px rgba(255, 40, 40, .45);
}

/* A club's Promotions tab (Joe, 2026-11-19): its two buckets side by side, the club's promos to tick in a scrolling box. */
.promo-bucket-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 12px; }
.promo-bucket { background: #17171b; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; min-width: 0; }
.promo-bucket h3 { margin: 0 0 10px; font-size: 16px; }
.promo-bucket > .btn { margin-top: 12px; }
.promo-filter { width: 100%; margin-bottom: 6px; }
.promo-pick { max-height: 320px; overflow-y: auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: #0f0f11; }
.promo-pick label.check[hidden] { display: none; }
.promo-pick::-webkit-scrollbar { width: 10px; }
.promo-pick::-webkit-scrollbar-thumb { background: #34343a; border-radius: 6px; }
