@charset "UTF-8";

/* PartyCue — simple interface, shared colours and reusable components. */
:root {
    color-scheme: light;
    --bg: #f8f8f2;
    --surface: #fffefb;
    --ink: #233a2d;
    --muted: #667464;
    --line: #dce3d8;
    --soft: #edf1e6;
    --accent: #46683b;
    --accent-ink: #46683b;
    --on-accent: #fff;
    --red: #a3463e;
    --red-soft: #f8eeea;
    --radius: 12px;
    --sans: "Segoe UI", sans-serif;
}
html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #171c19;
    --surface: #222a25;
    --ink: #edf4e9;
    --muted: #b3c3b3;
    --line: #39483c;
    --soft: #2f402f;
    --accent-ink: #aac59a;
    --red: #e5aaa2;
    --red-soft: #3c2d2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--sans); }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button, a { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .6; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font: 600 34px/1.2 var(--sans); letter-spacing: -.5px; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.3px; }
h3 { font-size: 15px; font-weight: 600; line-height: 1.4; }
h4 { font-size: 14px; font-weight: 600; }
em { font-style: normal; color: inherit; }
p { color: var(--muted); }
p + p { margin-top: 12px; }
a:hover { color: var(--accent-ink); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: var(--soft); color: var(--ink); }
[hidden] { display: none !important; }
i[class*="fa-"] { width: 1.15em; text-align: center; flex-shrink: 0; }
.container { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.small { font-size: 12px; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.align-right { text-align: right; }
.lead { font-size: 15px; line-height: 1.5; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.micro-label { font-size: 11px; color: var(--muted); }
.separator { margin: 0 5px; opacity: .65; }
.serif-dot { color: var(--accent-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 10px 16px; background: var(--accent); color: var(--on-accent); z-index: 100; }
.skip-link:focus { top: 12px; }

/* Shared header and controls. */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 4px 18px #0000000d; }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: 76px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 750 23px/1 var(--sans); letter-spacing: -1px; color: var(--ink); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 18px; }
.brand-logo { display: block; width: 32px; height: 32px; flex-shrink: 0; }
.brand-dot { color: var(--accent-ink); margin-left: -9px; }
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; order: 1; font-size: 12px; }
.nav-group { display: flex; align-items: center; gap: 4px; }
.nav-workspace { border-left: 1px solid var(--line); padding-left: 18px; }
.main-nav a:not(.button) { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 10px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
.main-nav a[aria-current="page"]:not(.button) { background: var(--soft); color: var(--ink); font-weight: 600; }
.main-nav a:not(.button):hover { background: var(--soft); color: var(--ink); }
.main-nav .button { margin-left: 5px; min-height: 38px; border-radius: 8px; white-space: nowrap; }
.nav-account { display: inline-flex; gap: 7px; align-items: center; }
.nav-account i { font-size: 16px; }
.header-controls { display: flex; gap: 8px; order: 2; flex-shrink: 0; }
.header-controls .icon-button { width: 38px; height: 38px; }
.mobile-nav-toggle { display: none !important; }
.nav-install { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 16px; border: 1px solid var(--accent-ink); border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.5; }
.button:hover { background: color-mix(in srgb, var(--accent) 85%, black); color: white; }
.button-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--soft); color: var(--ink); }
.button-small { min-height: 35px; padding: 7px 12px; font-size: 12px; }
.button-block { width: 100%; }
.button-quiet { background: transparent; color: var(--muted); border-color: transparent; font-size: 12px; }
.button-quiet:hover { background: var(--soft); color: var(--ink); }
.button-cream { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button-danger { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.button-danger:hover { background: var(--red); color: var(--bg); }
.actions, .panel-actions, .page-actions, .row-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.panel-actions > form, .page-actions > form, .row-actions > form { margin: 0; }
.mobile-bottom-nav, .row-actions .action-label, .track-actions .action-label, .mobile-track-score { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent-ink); background: none; border: 0; padding: 0; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.icon-button:hover, .icon-button.action-approve { background: var(--soft); color: var(--accent-ink); }
.feature-icon { display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; color: var(--accent-ink); font-size: 18px; flex-shrink: 0; }
.circle-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); color: var(--accent-ink); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); flex-shrink: 0; }
.status-off { background: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 20px; font-size: 11px; line-height: 1.5; background: var(--soft); color: var(--muted); }
.badge-live, .badge-green, .badge-cream { color: var(--accent-ink); background: var(--soft); }
.badge-red { background: var(--red-soft); color: var(--red); }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.live-indicator.is-offline { color: var(--red); }

/* Homepage: two clear entry points. */
.home-main { max-width: 960px; padding-top: 40px; }
.home-intro { margin-bottom: 28px; }
.home-intro h1 { font-size: 34px; font-weight: 600; max-width: 720px; }
.home-intro p { font-size: 16px; max-width: 710px; margin-top: 12px; }
.home-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.home-option { padding: 24px; }
.home-option h2 { font-size: 22px; }
.home-option > p { font-size: 14px; margin-top: 12px; }
.home-option > .button { margin-top: 24px; }
.home-option .field-note { font-size: 12px; margin-top: 16px; }
.home-option .field-note a { color: var(--accent-ink); text-decoration: underline; }
.home-option .join-code-form { margin-top: 20px; }
.home-option .join-code-form .button { align-self: flex-start; }
.track { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.track:last-child { border-bottom: 0; }
.song-art { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; color: white; font-size: 20px; background: var(--soft); color: var(--accent-ink); }
.song-info { flex: 1; min-width: 0; }
.song-info strong { display: block; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.song-info > span, .song-info small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; overflow-wrap: anywhere; }
.score { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.score i { font-size: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; border-top: 1px solid var(--line); padding: 29px 4px 8px; }
.step-card { display: flex; align-items: flex-start; gap: 10px; }
.step-number { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; color: var(--accent-ink); }
.step-card p { margin-top: 5px; font-size: 12px; }

/* Page shell and reusable panels. */
.page-intro { padding-block: 36px 28px; }
.page-intro .eyebrow { margin-bottom: 14px; }
.page-intro > p, .page-intro > div > p { margin-top: 12px; font-size: 13px; }
.page-intro .lead { max-width: 560px; font-size: 15px; }
.centered { text-align: center; }
.centered .lead { margin-inline: auto; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-header h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.panel-header p { margin-top: 7px; font-size: 12px; }
.panel-header .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.panel-header > i { color: var(--muted); font-size: 18px; }
.section { padding-top: 36px; padding-bottom: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 7px; font-size: 11px; }
.section-heading h2 { font-size: 23px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 30px; }
.back-link + .page-intro { padding-top: 22px; }
.flash-stack { margin-top: 20px; }

/* Installation is offered only when the browser can install the app. */
.install-offer { display: flex; align-items: center; gap: 14px; margin-top: 28px; margin-bottom: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.install-offer > img { width: 36px; height: 36px; flex-shrink: 0; }
.install-offer > div { flex: 1; }
.install-offer strong { display: block; font-size: 13px; font-weight: 600; }
.install-offer p { font-size: 12px; margin-top: 3px; }
.install-offer .button { flex-shrink: 0; }
.install-offer > .icon-button { border: 0; }
.install-dialog ol { margin: 18px 0; padding-left: 23px; color: var(--ink); }
.install-dialog li { padding: 4px 0 4px 4px; }
.install-dialog .actions { margin-top: 22px; }
[data-push-status] { overflow-wrap: anywhere; }
[data-push-settings] .actions { margin-top: 16px; }

.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; color: var(--accent-ink); font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
.notice p { color: inherit; }
.notice > i { margin-top: 3px; font-size: 16px; }
.notice-error { color: var(--red); background: var(--red-soft); border-color: color-mix(in srgb,var(--red) 35%,var(--line)); }
.notice-info { color: var(--muted); background: var(--soft); }
.notice ul { margin: 5px 0 0; padding-left: 17px; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 12px; box-shadow: 0 8px 30px #0002; }
.small-callout { display: flex; align-items: flex-start; gap: 12px; background: var(--soft); border: 1px solid var(--line); padding: 20px 22px; border-radius: 12px; margin-top: 25px; }
.small-callout > i { font-size: 18px; color: var(--accent-ink); margin-top: 2px; }
.small-callout h3 { font-size: 13px; margin-bottom: 6px; }
.small-callout p { font-size: 12px; }
.small-callout a { text-decoration: underline; text-underline-offset: 3px; }

/* Forms. */
.stack-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
label { font-size: 12px; color: var(--muted); }
input:not([type="checkbox"]):not([type="radio"]), textarea, select { width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--ink); font-size: 13px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
textarea { line-height: 1.6; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.field-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.optional { font-size: 11px; font-weight: 400; opacity: .75; margin-left: 4px; }
.label-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.label-row > a { font-size: 12px; color: var(--accent-ink); }
.password-field { position: relative; }
.password-field input { padding-right: 46px !important; }
.password-toggle { position: absolute; top: 3px; bottom: 3px; right: 3px; width: 38px; background: none; color: var(--muted); border: 0; border-radius: 8px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.6; }
.checkbox-row a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
input[type="checkbox"], input[type="radio"] { width: 17px; height: 17px; accent-color: var(--accent); margin: 2px 0 0; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-panel { margin-bottom: 35px; }
.form-divider { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; color: var(--muted); font-size: 12px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.setting-row strong { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.setting-row small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.switch { appearance: none; width: 32px !important; height: 19px !important; min-width: 32px; border: 1px solid var(--line); border-radius: 20px; position: relative; background: var(--soft); cursor: pointer; margin: 0 !important; }
.switch::before { content: ""; width: 13px; height: 13px; border-radius: 50%; position: absolute; left: 2px; top: 2px; background: var(--muted); }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::before { left: 15px; background: var(--on-accent); }
.join-code-form { margin-top: 20px; }
.join-dialog > .field-note { display: block; margin-top: 16px; }

/* Authentication and account. */
.auth-layout { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: start; padding-block: 45px; max-width: 980px; }
.auth-story .eyebrow { margin-bottom: 14px; }
.auth-story h1 { font-size: 30px; }
.auth-story .lead { margin-top: 16px; max-width: 400px; font-size: 14px; }
.auth-record, .auth-story-note { display: none; }
.panel-heading { margin-bottom: 22px; }
.panel-heading .feature-icon { display: none; }
.panel-heading h2 { font-size: 23px; }
.auth-switch { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.auth-switch a { color: var(--accent-ink); }
.account-container { max-width: 1000px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-grid .button { align-self: flex-start; }
.account-bottom { padding-block: 24px; }
.membership-panel { display: flex; gap: 18px; align-items: center; }
.membership-panel > div { flex: 1; }
.membership-panel h3 { font-size: 15px; }
.membership-panel .eyebrow { font-size: 11px; margin-bottom: 6px; }
.membership-panel p { font-size: 12px; margin-top: 5px; }
.spotify-panel { margin-bottom: 22px; }
.spotify-account-panel { margin-bottom: 22px; }
.spotify-account-panel > p { font-size: 13px; }
.spotify-account-panel .actions { margin-block: 20px 16px; }
.spotify-account-panel .field-note { font-size: 12px; }
.danger-zone { margin-top: 25px; font-size: 12px; color: var(--red); }
.danger-zone summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.danger-zone p { margin-top: 16px; max-width: 580px; font-size: 12px; }
.danger-zone .stack-form { margin-top: 20px; max-width: 390px; }
.danger-zone .button { align-self: flex-start; }

/* Dashboard and party cards. */
.app-container { padding-bottom: 15px; }
.app-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.app-intro h1 { font-family: var(--sans); font-size: 30px; font-weight: 600; letter-spacing: -.6px; line-height: 1.2; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat-card { display: flex; flex-direction: column; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.stat-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.stat-card > strong { font-size: 27px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.stat-card > small { font-size: 11px; color: var(--muted); margin-top: 5px; }
.dashboard-list { padding-top: 30px; }
.party-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.party-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.party-card-art { display: flex; align-items: center; justify-content: space-between; background: var(--soft); color: var(--accent-ink); padding: 15px 20px; }
.party-card-art > span:first-child { font-size: 20px; }
.party-card-content { padding: 20px; }
.party-card-content h3 { font-size: 17px; margin-top: 10px; }
.party-card-content > p { font-size: 12px; margin-top: 9px; overflow-wrap: anywhere; }
.party-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.party-card-bottom > span { font-size: 11px; color: var(--muted); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 45px 22px; }
.empty-state h3 { font-size: 16px; }
.empty-state p { font-size: 12px; }
.empty-icon { color: var(--muted); font-size: 22px; }
.empty-state .button { margin-top: 8px; }

/* Host and guest: queue on the left, 280px tools on the right. */
.host-intro .eyebrow { margin-bottom: 9px; }
.host-intro h1 { overflow-wrap: anywhere; }
.host-intro p { font-size: 13px; margin-top: 8px !important; }
.host-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 24px; color: var(--muted); }
.toolbar-stats { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.toolbar-stats > span { display: inline-flex; align-items: center; gap: 6px; }
.toolbar-stats strong { font-weight: 600; }
.host-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; align-items: start; }
.host-sidebar { display: flex; flex-direction: column; gap: 20px; }
.queue-panel { padding: 22px; }
.queue-panel .panel-header { margin-bottom: 6px; }
.queue-filters { display: flex; gap: 14px; padding-top: 12px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.queue-filters button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 0 10px; font-size: 12px; color: var(--muted); }
.queue-filters button.active { border-color: var(--accent-ink); color: var(--ink); }
.queue-filters button > span { font-size: 10px; color: var(--accent-ink); margin-left: 3px; }
.track-position { width: 15px; flex: 0 0 15px; font-size: 11px; color: var(--muted); text-align: center; }
.queue-track { padding-block: 14px; }
.queue-track .song-info small { font-size: 11px; }
.track-playing { background: var(--soft); border-radius: 10px; padding-inline: 10px; margin-inline: -10px; border-bottom-color: transparent; }
.track-actions { display: flex; gap: 3px; align-items: center; }
.track-actions form { margin: 0; }
.track-actions .icon-button { border: 0; width: 30px; height: 30px; font-size: 13px; }
.request-status { color: var(--accent-ink); }
.queue-score { margin-inline: 4px; }
.queue-score b { font-weight: 600; }
.queue-empty-filter { padding-block: 30px; text-align: center; }
.panel-bottom-note { display: flex; gap: 8px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 15px; color: var(--muted); font-size: 12px; }
.panel-bottom-note > i { margin-top: 2px; }
.empty-queue { min-height: 210px; justify-content: center; }
.invite-mini { text-align: center; }
.mini-qr { width: 100px; height: 100px; padding: 5px; border-radius: 6px; margin: 0 auto 18px; background: white; }
[data-qr] svg { display: block; width: 100%; height: 100%; }
.invite-mini .eyebrow { font-size: 11px; }
.invite-mini h3 { margin-top: 6px; }
.invite-mini > p { font-size: 12px; margin-top: 6px; }
.invite-mini > .text-link { margin-top: 15px; }
.code-display { display: block; font-size: 24px; font-weight: 650; letter-spacing: 5px; padding: 12px 0 18px; color: var(--ink); overflow-wrap: anywhere; }
.settings-panel summary, .guests-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 13px; }
.settings-panel summary > span, .guests-panel summary > span { display: flex; gap: 8px; align-items: center; }
.settings-panel summary > i, .guests-panel summary > i { font-size: 11px; }
.settings-panel .stack-form { padding-top: 22px; }
.compact-setting strong { font-size: 12px; }
.compact-setting small { font-size: 11px; }
.guest-roster { padding-top: 20px; max-height: 280px; overflow: auto; }
.roster-guest { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 12px; }
.avatar { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; color: var(--accent-ink); background: var(--soft); font-size: 11px; }
.guest-container { padding-top: 36px; padding-bottom: 10px; }
.guest-intro { position: relative; padding-right: 180px; margin-bottom: 26px; }
.guest-intro .eyebrow { margin-bottom: 9px; }
.guest-intro h1 { font-family: var(--sans); font-size: 29px; font-weight: 600; letter-spacing: -.3px; line-height: 1.2; overflow-wrap: anywhere; }
.guest-intro > p { font-size: 13px; margin-top: 8px; }
.guest-identity { position: absolute; right: 0; top: 2px; display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); }
.guest-identity strong { font-weight: 500; }
.guest-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; align-items: start; }
.guest-request-column { display: flex; flex-direction: column; gap: 20px; }
.request-panel > .feature-icon, .request-panel > .eyebrow { display: none; }
.request-panel h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.request-panel > p { font-size: 12px; margin-top: 7px; }
.request-panel .stack-form { margin-top: 20px; gap: 16px; }
.optional-link > summary { display: flex; gap: 7px; align-items: center; font-size: 12px; color: var(--muted); list-style: none; }
.optional-link > summary span { margin-left: auto; font-size: 10px; }
.optional-link .field { padding-top: 12px; }
.request-disabled { display: flex; align-items: flex-start; gap: 10px; padding-top: 20px; font-size: 12px; color: var(--muted); }
.request-disabled > i { margin-top: 3px; }
.vote-control { display: flex; flex-direction: column; gap: 1px; align-items: center; color: var(--muted); }
.vote-control form { margin: 0; height: 22px; }
.vote-control b { min-width: 24px; text-align: center; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 650; }
.vote-button { display: grid; place-items: center; height: 22px; width: 28px; border: 0; border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 13px; }
.vote-button:hover { background: var(--soft); color: var(--ink); }
.vote-button.voted { background: var(--accent); color: var(--on-accent); }
.guest-welcome { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.guest-welcome > .feature-icon, .guest-welcome .eyebrow { display: none; }
.guest-welcome h2 { font-size: 18px; }
.guest-welcome p { font-size: 12px; margin-top: 8px; }
.inline-join-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.join-consent { grid-column: 1/-1; font-size: 11px; }
.join-consent a { color: var(--accent-ink); text-decoration: underline; }
.my-requests h3 { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 12px; }
.my-request { padding-block: 10px; border-bottom: 1px solid var(--line); }
.my-request:last-child { border-bottom: 0; padding-bottom: 0; }
.my-request strong { font-size: 12px; font-weight: 600; display: block; overflow-wrap: anywhere; }
.my-request small { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; overflow-wrap: anywhere; }
.guest-fineprint { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; }
.guest-fineprint i { margin-top: 2px; }
.guest-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; margin-top: 26px; }
.guest-bottom strong { font-weight: 500; margin-left: 5px; letter-spacing: 1px; }
.party-state-message { display: block; }
.party-state-message .text-link { display: flex; margin-top: 8px; }

/* Spotify search is optional; manual requests stay available. */
.spotify-search { margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.spotify-search > label { display: block; margin-bottom: 7px; }
.spotify-search-input { position: relative; }
.spotify-search-input > i { position: absolute; left: 12px; top: 15px; color: var(--muted); font-size: 13px; }
.spotify-search-input input { padding-left: 34px !important; }
.spotify-search > .field-note { display: block; margin-top: 7px; }
.spotify-attribution { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 10px; margin-top: 10px; }
.spotify-attribution > i:first-child { font-size: 16px; }
.spotify-attribution > i:last-child { margin-left: auto; }
.spotify-results { max-height: 350px; overflow: auto; padding-top: 10px; }
.spotify-result { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spotify-result:last-child { border-bottom: 0; }
.spotify-result img { width: 34px; height: 34px; flex-shrink: 0; object-fit: cover; }
.spotify-result > div { flex: 1; min-width: 0; }
.spotify-result strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.spotify-result small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.spotify-result > a { padding: 6px 3px; color: var(--accent-ink); font-size: 12px; }
.spotify-result-selected { font-size: 11px; color: var(--accent-ink); background: var(--soft); border-radius: 8px; padding: 9px 11px; }
.spotify-result-selected:empty { display: none; }
.spotify-request-note { font-size: 11px; margin-top: 12px; }
.spotify-party-panel > h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 15px; }
.spotify-party-panel [data-live-zone] > p { margin-top: 12px; }
.spotify-party-panel [data-live-zone] > form { margin-top: 16px; }
.spotify-party-panel [data-live-zone] > .text-link { margin-top: 14px; }
.spotify-party-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.spotify-party-help { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.spotify-party-help summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; color: var(--muted); font-size: 12px; }
.spotify-party-help summary > i { font-size: 10px; }
.spotify-party-help p { font-size: 11px; line-height: 1.65; margin-top: 12px; }

/* Informational pages and packages. */
.how-steps { border-top: 1px solid var(--line); margin-top: 10px; }
.how-step { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.how-number { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent-ink); font-size: 11px; }
.how-step .eyebrow { display: none; }
.how-step h2 { font-size: 18px; letter-spacing: 0; margin-bottom: 10px; }
.how-step p { font-size: 13px; max-width: 720px; }
.how-illustration { display: none; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-top: 35px; }
.faq-section > div > .eyebrow { display: none; }
.faq-section h2 { font-size: 23px; }
.faq-section h2 br { display: none; }
.faq-section > div > p { font-size: 12px; margin-top: 10px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 13px; list-style: none; }
.faq-list summary > i { color: var(--muted); font-size: 12px; }
.faq-list details[open] summary > i { transform: rotate(45deg); }
.faq-list details > p { font-size: 12px; line-height: 1.7; margin-top: 12px; }
.closing-section { text-align: center; padding-block: 36px 20px; }
.closing-section h2 { font-size: 23px; margin-bottom: 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-top: 10px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; position: relative; }
.price-card > .eyebrow { display: none; }
.price-card > h2 { font-size: 23px; }
.price-amount { font-size: 30px; font-weight: 600; margin-block: 18px; min-height: 70px; }
.price-amount > span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.price-amount.price-tba { font-size: 20px; padding-top: 10px; }
.price-card > p { font-size: 12px; min-height: 54px; }
.price-card > .button { margin-top: 18px; }
.price-card > .badge { position: absolute; right: 16px; top: -12px; background: var(--soft); border: 1px solid var(--line); font-size: 10px; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; }
.check-list li { display: flex; gap: 8px; align-items: baseline; color: var(--muted); font-size: 12px; }
.check-list i { color: var(--accent-ink); font-size: 12px; }
.price-card > .price-disclaimer, .price-card > .small.muted { font-size: 11px; min-height: 0; margin-top: 22px; }
.pricing-footnote { font-size: 12px; color: var(--muted); text-align: center; max-width: 800px; margin: 22px auto 0; }
.contact-panel > .feature-icon { display: none; }
.contact-panel h2 { font-size: 23px; margin-bottom: 15px; }
.contact-panel > p { font-size: 13px; }
.contact-email { font-size: 16px; margin-top: 20px; overflow-wrap: anywhere; }
.contact-company { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; color: var(--muted); font-size: 12px; }

/* Administration. */
.admin-layout { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; align-items: start; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; }
.admin-nav > a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px; font-size: 12px; color: var(--muted); }
.admin-nav > a.active { background: var(--soft); color: var(--ink); }
.nav-count { margin-left: auto; color: var(--accent-ink); font-size: 11px; }
.admin-nav-note { display: none; }
.admin-content { min-width: 0; }
.admin-content > .page-actions { margin-block: 20px; }
.admin-stats { grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.admin-stats .stat-card { padding: 18px; }
.admin-stats .stat-label { font-size: 11px; }
.admin-overview-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-overview-links > a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.admin-overview-links > a:hover { background: var(--soft); }
.admin-overview-links > a > span:nth-child(2) { flex: 1; }
.admin-overview-links strong { font-size: 13px; display: block; font-weight: 600; }
.admin-overview-links small { font-size: 11px; display: block; color: var(--muted); margin-top: 5px; }
.admin-overview-links > a > i { font-size: 12px; color: var(--muted); }
.table-panel { padding: 22px 0 0; overflow: hidden; }
.table-panel .panel-header { padding-inline: 22px; margin-bottom: 20px; }
.table-wrap, .table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; min-width: 580px; }
th { padding: 13px 16px; color: var(--muted); background: var(--soft); font-size: 11px; font-weight: 500; border-block: 1px solid var(--line); }
td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td > strong { font-weight: 600; font-size: 12px; }
td small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.table-person { display: flex; gap: 10px; align-items: center; }
.table-person strong { font-weight: 600; font-size: 12px; }
.table-actions { display: flex; gap: 4px; align-items: center; justify-content: flex-end; }
.table-actions .icon-button { border: 0; width: 30px; height: 30px; font-size: 13px; }
.table-empty { padding: 35px 20px; color: var(--muted); text-align: center; }
.table-search { display: flex; align-items: center; position: relative; max-width: 230px; }
.table-search input { min-height: 38px !important; padding-right: 36px !important; }
.table-search button { position: absolute; right: 3px; border: 0; width: 30px; height: 30px; }
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 20px; }
.pagination a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.pagination a.active { background: var(--accent); color: white; border-color: var(--accent-ink); }
.reports-list { display: flex; flex-direction: column; gap: 20px; }
.report-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.report-head, .report-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.report-head strong { font-size: 13px; font-weight: 600; }
.report-message { font-size: 13px; padding-block: 18px; overflow-wrap: anywhere; }
.report-bottom { padding-top: 14px; border-top: 1px solid var(--line); }

/* Legal pages and footer. */
.legal-page { padding-bottom: 15px; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.legal-nav a { display: inline-flex; padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 12px; }
.legal-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.legal-meta { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.prose { font-size: 13px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.prose h2 { margin: 28px 0 12px; font-size: 20px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 12px; color: var(--ink); font-size: 15px; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 20px; margin-block: 14px; }
.prose li { padding-left: 3px; margin-bottom: 6px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 25px; }
.prose table { font-size: 12px; margin-block: 18px; }
.site-footer { margin-top: 30px; }
.footer-main { display: flex; gap: 30px; align-items: flex-start; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 20px; }
.brand-footer { font-size: 16px; font-weight: 600; gap: 3px; letter-spacing: -.4px; }
.brand-footer .brand-dot { margin-left: 0; }
.footer-main > div > p { font-size: 11px; margin-top: 8px; }
.footer-links { display: flex; gap: 30px; font-size: 11px; color: var(--muted); }
.footer-links > div { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links > div > span { display: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; padding-bottom: 24px; }
.error-page { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-block: 60px; }
.error-page h1 { font-size: 36px; }
.error-page .lead { font-size: 14px; max-width: 500px; }
.error-code { font-size: 14px; color: var(--muted); }
.error-page .feature-icon { display: none; }

/* Dialogs and printable invitation. */
dialog { max-width: 470px; width: calc(100% - 40px); padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #0007; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.dialog-top h2 { font-size: 20px; }
.dialog-top .eyebrow { font-size: 12px; }
.dialog-top .icon-button { border: 0; }
dialog > p { font-size: 13px; }
.invite-dialog { text-align: center; }
.invite-dialog h2 { font-family: var(--sans); font-size: 29px; font-weight: 400; }
.invite-dialog > p { margin-top: 12px; }
.dialog-qr { width: 190px; height: 190px; background: white; padding: 10px; border-radius: 8px; margin: 22px auto 0; }
.invite-dialog .actions { justify-content: center; }
.report-dialog > h2 { font-size: 23px; margin-bottom: 15px; }
.report-dialog > p { margin-bottom: 22px; }
.poster-body { background: var(--bg); }
.poster-tools { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 25px; }
.qr-poster { --bg: #f8f8f2; --surface: #fffefb; --ink: #233a2d; --muted: #667464; --line: #dce3d8; --soft: #edf1e6; --accent-ink: #46683b; width: 210mm; min-height: 285mm; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 35px; padding: 65px 50px; background: #fffefb; color: #233a2d; border: 1px solid var(--line); color-scheme: light; }
.qr-poster > .brand { margin-bottom: 55px; color: #233a2d; }
.qr-poster > .eyebrow { color: #46683b; margin-bottom: 24px; }
.qr-poster h1 { font-size: 76px; }
.qr-poster em { color: #46683b; }
.qr-poster p { color: #667464; }
.poster-title { margin-top: 20px; font-size: 18px; overflow-wrap: anywhere; max-width: 100%; }
.poster-qr { width: 225px; height: 225px; padding: 10px; background: white; margin-block: 30px; }
.qr-poster h2 { font-size: 26px; margin-bottom: 15px; }
.qr-poster > p:not(.poster-title) { font-size: 14px; }
.poster-code { display: flex; flex-direction: column; gap: 7px; margin-top: 26px; }
.poster-code > span { font-size: 11px; color: #667464; }
.poster-code > strong { font-size: 26px; font-weight: 600; letter-spacing: 5px; }
.poster-url { margin-top: 18px; font-size: 12px !important; }
.poster-note { font-size: 12px; color: #667464; margin-top: 35px; }

/* PartyPass: purchase summary, branding and the public display. */
.pricing-container { max-width: 1000px; }
.pricing-two { grid-template-columns: 1fr 1fr; }
.pricing-two .price-card > p { min-height: 0; }
.pricing-two .price-card > .button { margin-top: 26px; }
.pass-unavailable { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.pass-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.party-pass-panel > p { font-size: 12px; }
.party-pass-panel > .field-note { margin-top: 10px; }
.party-pass-panel > .button { margin-top: 18px; }
.pass-test-note { margin-top: 12px; color: var(--accent-ink); font-size: 11px !important; }
.pass-feature-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pass-feature-links .button { gap: 7px; font-size: 11px; }
.pass-branding { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.pass-branding > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; font-size: 12px; }
.pass-branding > summary i { font-size: 10px; }
.pass-branding .stack-form { padding-top: 20px; }
.color-field { display: flex; align-items: center; gap: 12px; }
.color-field input[type="color"] { width: 58px; height: 42px; min-height: 42px; flex-shrink: 0; padding: 4px; cursor: pointer; }
.brand-logo-preview { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.brand-logo-preview img { max-width: 180px; max-height: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; padding: 6px; background: var(--bg); }
.pass-branding input[type="file"] { padding: 8px; font-size: 11px; }
.party-pass-badge { display: table; margin-bottom: 12px; }
.dashboard-payment-link { display: flex; justify-content: flex-end; margin-top: 20px; }
.party-logo-wrap:empty { display: none; }
.party-logo { display: block; max-width: 180px; max-height: 85px; width: auto; height: auto; object-fit: contain; margin-bottom: 18px; }
.poster-brand-logo { max-width: 200px; max-height: 100px; margin-bottom: 22px; }
.party-branded .guest-intro { border-top: 3px solid var(--party-accent, var(--accent)); padding-top: 18px; }
.party-branded .guest-intro .guest-identity { top: 20px; }
.party-branded .button:not(.button-outline):not(.button-quiet):not(.button-danger):not(.button-cream) { border-color: var(--accent); }
.party-branded .button:not(.button-outline):not(.button-quiet):not(.button-danger):not(.button-cream):hover { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 2px var(--soft); }
.checkout-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.checkout-summary h2 { font-size: 22px; }
.checkout-summary p { margin-top: 7px; font-size: 12px; }
.checkout-price { text-align: right; }
.checkout-price strong { display: block; font-size: 26px; font-weight: 600; white-space: nowrap; }
.checkout-price span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.checkout-scope { margin-top: 24px; margin-bottom: 24px; font-size: 12px; line-height: 1.7; }
.checkout-form { padding-top: 20px; border-top: 1px solid var(--line); }
.purchase-legal { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 0; }
.purchase-legal legend { padding-inline: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.purchase-legal .checkbox-row { font-size: 12px; }
.purchase-legal .small { font-size: 12px; line-height: 1.7; }
.checkout-links { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; color: var(--muted); }
.checkout-links a:hover { color: var(--accent-ink); }
.order-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.order-actions .text-link { font-size: 11px; white-space: nowrap; }
.billing-note { font-size: 12px; margin-top: 20px; }
.withdrawal-form { margin-top: 24px; }
.withdrawal-form > .button { align-self: flex-start; }
.screen-layout { width: min(1680px, 100%); min-height: 100dvh; display: flex; flex-direction: column; margin-inline: auto; padding: 32px; }
.screen-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; border-top: 4px solid var(--party-accent, var(--accent)); padding-top: 22px; }
.screen-header h1 { font-size: 32px; overflow-wrap: anywhere; }
.screen-header p { font-size: 16px; margin-top: 10px; }
.screen-header .party-logo { max-width: 180px; max-height: 60px; margin-bottom: 14px; }
.screen-controls { display: flex; align-items: center; gap: 14px; padding-top: 5px; }
.screen-controls .icon-button { width: 38px; height: 38px; }
.screen-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; flex: 1; }
.screen-queue .panel-header { margin-bottom: 12px; }
.screen-queue .panel-header h2 { font-size: 20px; }
.screen-queue .panel-header > span { font-size: 14px; }
.screen-track { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.screen-track:last-child { border-bottom: 0; }
.screen-track:nth-child(n+9) { display: none; }
.screen-track-current { background: var(--soft); border-radius: 10px; margin-inline: -12px; padding-inline: 12px; border-bottom-color: transparent; }
.screen-position { width: 28px; flex: 0 0 28px; color: var(--muted); text-align: center; font-size: 16px; }
.screen-track > div { flex: 1; min-width: 0; }
.screen-track strong { display: block; font-size: 23px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-track > div > span { display: block; font-size: 16px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-track small { display: block; margin-top: 4px; font-size: 12px; color: var(--accent-ink); }
.screen-votes { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; color: var(--accent-ink); }
.screen-votes i { font-size: 16px; }
.screen-invite { text-align: center; }
.screen-invite h2 { font-size: 20px; }
.screen-qr { width: 210px; height: 210px; max-width: 100%; margin: 22px auto 16px; background: white; padding: 8px; border-radius: 6px; }
.screen-invite .field-note { display: block; }
.screen-invite .code-display { font-size: 27px; letter-spacing: 4px; padding-block: 18px 10px; }
.screen-domain { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.screen-invite > p { margin-top: 16px; font-size: 12px; }
.screen-empty { padding: 70px 20px; text-align: center; }
.screen-empty h3 { font-size: 22px; }
.screen-empty p { font-size: 16px; margin-top: 12px; }
.screen-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); padding-top: 20px; }
@media (max-height: 850px) and (min-width: 761px) {
    .screen-layout { padding: 24px; }
    .screen-header { margin-bottom: 20px; padding-top: 16px; }
    .screen-header h1 { font-size: 28px; }
    .screen-header p { font-size: 14px; margin-top: 6px; }
    .screen-track { padding-block: 8px; }
    .screen-track:nth-child(n+7) { display: none; }
    .screen-track strong { font-size: 20px; }
    .screen-track > div > span { font-size: 14px; margin-top: 2px; }
    .screen-track small { font-size: 11px; margin-top: 2px; }
    .screen-qr { width: 180px; height: 180px; }
}
@media (max-width: 760px) {
    .pricing-two { grid-template-columns: 1fr; }
    .screen-layout { padding: 20px; }
    .screen-header { gap: 14px; }
    .screen-header h1 { font-size: 26px; }
    .screen-header p { font-size: 14px; }
    .screen-controls { flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
    .screen-grid { grid-template-columns: 1fr; gap: 20px; }
    .screen-track { gap: 12px; padding-block: 12px; }
    .screen-track strong { font-size: 18px; }
    .screen-track > div > span { font-size: 14px; }
    .screen-votes { font-size: 18px; gap: 5px; }
    .screen-position { width: 22px; flex-basis: 22px; font-size: 13px; }
    .screen-votes i { font-size: 13px; }
    .screen-footer { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 420px) {
    .checkout-summary { gap: 12px; }
    .checkout-summary h2 { font-size: 20px; }
    .checkout-price strong { font-size: 24px; }
    .checkout-price span { font-size: 11px; }
    .checkout-links { gap: 16px; font-size: 11px; }
    .screen-layout { padding: 16px; }
    .screen-header h1 { font-size: 24px; }
    .screen-header p { font-size: 13px; }
    .screen-track { gap: 9px; }
    .screen-track strong { font-size: 16px; }
    .screen-position { width: 16px; flex-basis: 16px; }
    .screen-queue .panel-header h2 { font-size: 18px; }
    .screen-queue .panel-header > span { font-size: 12px; }
}

@media (max-width: 1000px) {
    .main-nav { gap: 10px; }
    .main-nav a:not(.button) { padding-inline: 8px; }
    .nav-group { gap: 2px; }
    .nav-workspace { padding-left: 10px; }
    .header-inner { gap: 14px; }
    .main-nav .button { margin-left: 4px; padding-inline: 12px; }
    .party-grid { grid-template-columns: repeat(2,1fr); }
    .admin-layout { grid-template-columns: 150px minmax(0,1fr); }
    .admin-stats { grid-template-columns: repeat(2,1fr); }
    .admin-overview-links { grid-template-columns: 1fr; }
    .auth-layout { gap: 30px; grid-template-columns: 1fr 390px; }
    .footer-main { gap: 20px; }
    .footer-links { gap: 18px; }
    .footer-links > div { gap: 10px; }
}
@media (max-width: 980px) {
    .header-inner { flex-wrap: nowrap; padding-block: 12px; gap: 14px; min-height: 72px; }
    .brand { font-size: 23px; }
    .header-controls { margin-left: auto; }
    .header-controls .icon-button { width: 44px; height: 44px; }
    .mobile-nav-toggle { display: inline-flex !important; }
    .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; width: auto; margin: 0; padding: 10px; flex-direction: column; align-items: stretch; gap: 10px; max-height: min(480px, calc(100dvh - 84px)); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--surface); box-shadow: 0 12px 24px #00000014; }
    .main-nav.is-open { display: flex; }
    .nav-group { flex-direction: column; align-items: stretch; gap: 3px; }
    .nav-workspace { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 10px; }
    .main-nav a:not(.button) { justify-content: flex-start; min-height: 44px; width: 100%; padding: 11px 13px; font-size: 14px; }
    .main-nav .button { justify-content: space-between; min-height: 44px; width: 100%; margin-left: 0; padding: 11px 13px; font-size: 14px; }
    .install-header-button { display: none; }
    .main-nav .nav-install { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; width: 100%; padding: 11px 13px; font-size: 14px; font-weight: 400; text-align: left; color: var(--muted); background: transparent; border: 0; border-radius: 8px; }
    .main-nav .nav-install:hover { background: var(--soft); color: var(--ink); }
}
@media (max-width: 760px) {
    .container { width: calc(100% - max(16px, env(safe-area-inset-left, 0px)) - max(16px, env(safe-area-inset-right, 0px))); }
    html { scroll-padding-top: 88px; }
    [id] { scroll-margin-top: 0; }
    body.has-mobile-navigation { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
    .has-mobile-navigation .toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
    .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 55; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: stretch; gap: 4px; height: calc(72px + env(safe-area-inset-bottom, 0px)); padding: 6px max(10px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -3px 16px #00000008; }
    .mobile-bottom-nav > :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; padding: 7px 3px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.25; text-align: center; }
    .mobile-bottom-nav > :is(a, button) > i { font-size: 19px; }
    .mobile-bottom-nav > :is(a, button) > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-bottom-nav > :is(a, button):is([aria-current="page"], [aria-current="location"]) { color: var(--accent-ink); background: var(--soft); }
    .mobile-bottom-nav > :is(a, button):hover { color: var(--ink); background: var(--soft); }
    .has-mobile-navigation .main-nav { max-height: min(480px, calc(100dvh - 160px - env(safe-area-inset-bottom, 0px))); }
    .install-offer { flex-wrap: wrap; gap: 12px; padding: 16px; }
    .install-offer > div { min-width: calc(100% - 56px); }
    .install-offer .button { flex: 1; }
    .install-offer > .icon-button { border: 0; }
    .button { min-height: 44px; padding-block: 10px; font-size: 13px; }
    .icon-button, .circle-arrow, .pagination a { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
    .text-link, .legal-nav a, .admin-nav > a { min-height: 44px; }
    .password-toggle { width: 44px; top: 2px; right: 2px; bottom: 2px; }
    .password-field input { padding-right: 52px !important; }
    .label-row > a { display: inline-flex; align-items: center; min-height: 44px; }
    .panel-actions, .page-actions { gap: 8px; align-items: stretch; }
    .panel-actions > :is(form, .button, .text-link), .page-actions > :is(form, .button, .text-link) { flex: 1 1 140px; min-width: 0; }
    .panel-actions .button, .page-actions .button { width: 100%; min-width: 0; overflow-wrap: anywhere; text-align: center; font-size: 13px; }
    .panel-actions .contact-email { margin-top: 0; font-size: 13px; white-space: normal; }
    .panel-actions > .text-link, .page-actions > .text-link { justify-content: center; }
    .row-actions { gap: 6px; align-items: center; }
    .row-actions > form { flex: 0 0 auto; }
    .row-actions .button { width: auto; }
    .row-actions .icon-button { width: auto; min-width: 44px; min-height: 44px; gap: 6px; padding: 8px 10px; }
    .row-actions .action-label { display: inline; font-size: 12px; line-height: 1.3; }
    .panel { padding: 20px; }
    .panel-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
    .panel-header > div:first-child { min-width: 0; flex: 1 1 160px; }
    .panel-header > .panel-actions { flex-basis: 100%; }
    .panel-header h2 { font-size: 16px; }
    .panel-header .badge { flex-shrink: 0; }
    .panel-header h2, .panel-header p, .report-head strong, .page-intro > div, .guest-intro > p, .guest-identity strong, .party-card-content h3, .party-card-content .micro-label { overflow-wrap: anywhere; min-width: 0; }
    .stack-form { gap: 18px; }
    .field { gap: 8px; }
    label { font-size: 13px; }
    .field-note, .setting-row small { font-size: 12px; }
    .setting-row { min-height: 48px; gap: 16px; }
    .setting-row > span { min-width: 0; }
    .checkbox-row { min-height: 44px; font-size: 13px; padding-block: 4px; }
    input:not([type="checkbox"]):not([type="radio"]), textarea, select { min-height: 48px; font-size: 16px; }
    input[type="file"] { padding: 10px; }
    .settings-panel summary, .guests-panel summary, .optional-link > summary, .spotify-party-help summary, .faq-list summary, .danger-zone summary, .pass-branding > summary { min-height: 44px; }
    .notice { padding: 14px; font-size: 13px; gap: 10px; }
    .notice > :not(i) { min-width: 0; overflow-wrap: anywhere; }
    .home-main { padding-top: 26px; }
    .home-options { grid-template-columns: 1fr; gap: 16px; }
    .home-option > .button, .home-option .join-code-form .button { width: 100%; }
    .home-intro h1 { font-size: 30px; }
    .steps-grid { gap: 18px; padding-top: 29px; }
    .step-card { display: block; }
    .step-number { margin-bottom: 10px; }
    .step-card h3 { font-size: 14px; }
    .step-card p { font-size: 12px; }
    .page-intro { padding-block: 24px; }
    .page-intro h1 { font-size: 30px; }
    .app-intro { flex-direction: column; align-items: stretch; gap: 16px; }
    .app-intro h1 { font-size: 29px; }
    .page-actions { width: 100%; }
    .host-layout, .guest-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .guest-request-column { display: flex; order: 1; gap: 16px; }
    .guest-layout > .queue-panel { order: 0; }
    .guest-intro { padding-right: 0; }
    .guest-identity { position: static; margin-top: 12px; max-width: 100%; min-width: 0; flex-wrap: wrap; }
    .guest-identity strong { min-width: 0; flex: 0 1 auto; overflow-wrap: anywhere; }
    .guest-container { padding-top: 26px; }
    .host-intro { flex-wrap: wrap; align-items: flex-start; }
    .host-intro h1 { font-size: 29px; }
    .host-toolbar { flex-wrap: wrap; gap: 12px; }
    .toolbar-stats { gap: 16px; }
    .host-sidebar { display: flex; flex-direction: column; gap: 16px; }
    .queue-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding-top: 8px; }
    .queue-filters button { min-height: 44px; padding: 8px 2px; font-size: 12px; }
    .queue-filters button > span { margin-left: 2px; }
    .track { gap: 12px; padding-block: 16px; }
    .track-position { display: none; }
    .song-art { width: 36px; height: 36px; flex-basis: 36px; font-size: 18px; }
    .song-info strong { font-size: 14px; line-height: 1.4; }
    .song-info > span, .song-info small { font-size: 12px; margin-top: 4px; }
    .host-queue-track { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px 12px; }
    .host-queue-track > .song-art { grid-column: 1; grid-row: 1; align-self: start; }
    .host-queue-track > .song-info { grid-column: 2; grid-row: 1; }
    .host-queue-track > .queue-score { display: none; }
    .mobile-track-score { display: inline; }
    .host-queue-track > .track-actions { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .host-queue-track > .track-actions > form { min-width: 0; }
    .host-queue-track > .track-actions .icon-button { width: 100%; }
    .host-queue-track > .track-actions > form:has(.action-approve) { grid-column: 1 / -1; order: -1; }
    .host-queue-track > .track-actions > :only-child { grid-column: 1 / -1; }
    .track-actions .icon-button { width: auto; height: 44px; min-width: 44px; min-height: 44px; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
    .track-actions .action-label { display: inline; font-size: 12px; line-height: 1.3; }
    .vote-control { flex: 0 0 44px; gap: 2px; padding-block: 2px; }
    .vote-control form { height: 44px; }
    .vote-button { width: 44px; height: 44px; }
    .vote-control b { font-size: 13px; }
    .spotify-result { gap: 8px; }
    .spotify-result > a { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; padding: 8px; }
    .spotify-result .icon-button { width: 44px; min-width: 44px; min-height: 44px; }
    .request-panel { order: 0; }
    .my-requests { order: 2; }
    .guest-fineprint { order: 3; }
    .guest-welcome { grid-template-columns: 1fr; gap: 16px; }
    .request-panel .stack-form { display: flex; gap: 18px; }
    .auth-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 30px; max-width: 540px; }
    .auth-story h1 { font-size: 32px; }
    .auth-story h1 br { display: none; }
    .account-grid { grid-template-columns: 1fr; gap: 16px; }
    .account-bottom { padding-top: 16px; }
    .account-bottom > .panel { margin-bottom: 0; }
    .account-bottom > .panel + .panel { margin-top: 16px; }
    .membership-panel { flex-wrap: wrap; }
    .membership-panel > div { min-width: 140px; }
    .membership-panel > .panel-actions { flex: 1 1 100%; min-width: 0; }
    .membership-panel > form { flex-basis: 100%; }
    .membership-panel > form > .button { width: 100%; }
    .party-grid { grid-template-columns: 1fr; gap: 16px; }
    .party-card-content { padding: 18px; }
    .stats-grid { gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-card > small { display: none; }
    .stat-label { font-size: 11px; }
    .app-container > .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .app-container > .stats-grid .stat-card { min-width: 0; padding: 12px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
    .app-container > .stats-grid .stat-label { min-width: 0; font-size: 11px; }
    .app-container > .stats-grid .stat-label i { display: none; }
    .app-container > .stats-grid .stat-card > strong { margin-top: 8px; font-size: 24px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
    .price-amount { min-height: 0; }
    .price-card > p { min-height: 0; }
    .faq-section { grid-template-columns: 1fr; gap: 22px; }
    .closing-section { padding-block: 30px 10px; }
    .admin-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .report-bottom { flex-wrap: wrap; }
    .admin-nav { flex-direction: row; overflow-x: auto; gap: 5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
    .admin-nav > a { white-space: nowrap; font-size: 12px; padding-inline: 10px; }
    .admin-nav { scrollbar-width: thin; }
    .table-panel { padding: 20px 0 0; }
    .table-panel .panel-header { padding-inline: 20px; }
    .table-search { max-width: 100%; width: 100%; flex-basis: 100%; }
    .table-search input { min-height: 48px !important; padding-right: 52px !important; }
    .table-search button { width: 44px; height: 44px; }
    .table-actions .icon-button { width: 44px; height: 44px; }
    .mobile-card-table { display: block; min-width: 0; padding: 0 16px 16px; }
    .mobile-card-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .mobile-card-table tbody { display: block; }
    .mobile-card-table tr { display: block; padding: 4px 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
    .mobile-card-table tr:last-child { margin-bottom: 0; }
    .mobile-card-table td { display: block; position: relative; min-height: 58px; padding: 12px 0 12px 100px; min-width: 0; font-size: 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
    .mobile-card-table td::before { content: attr(data-label); position: absolute; left: 0; top: 12px; width: 88px; color: var(--muted); font-size: 11px; font-weight: 500; }
    .mobile-card-table td > * { min-width: 0; max-width: 100%; }
    .mobile-card-table td small { margin-top: 4px; }
    .mobile-card-table .table-person { align-items: flex-start; gap: 8px; }
    .mobile-card-table .table-person > div { min-width: 0; }
    .mobile-card-table td:last-child { border-bottom: 0; }
    .mobile-card-table code { white-space: normal; overflow-wrap: anywhere; }
    .mobile-card-table td.row-actions-cell { padding-left: 0; }
    .mobile-card-table td.row-actions-cell::before { position: static; display: block; width: auto; margin-bottom: 8px; }
    .mobile-card-table .row-actions { justify-content: flex-start; }
    .mobile-card-table td[colspan] { padding-left: 0; }
    .mobile-card-table td[colspan]::before { content: none; }
    .footer-main { flex-wrap: wrap; gap: 20px; }
    .footer-links { flex-wrap: wrap; gap: 12px; }
    .footer-bottom { flex-wrap: wrap; gap: 10px; }
    .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-links > div { gap: 4px 16px; }
    .back-link { min-height: 44px; margin-top: 12px; }
    .back-link + .page-intro { padding-top: 12px; }
    .qr-poster { width: calc(100% - 30px); min-height: 0; padding: 40px 22px; }
    .qr-poster h1 { font-size: 62px; }
    .qr-poster > .brand { margin-bottom: 35px; }
}
@media (max-width: 420px) {
    .header-inner { padding-block: 12px; }
    .home-main { padding-top: 24px; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .step-card { display: flex; }
    .step-number { margin-bottom: 0; }
    .step-card h3 { font-size: 15px; }
    .panel { padding: 16px; }
    .queue-filters button { font-size: 11px; }
    .toolbar-stats { gap: 10px; font-size: 11px; flex-wrap: wrap; }
    .guest-intro h1 { font-size: 29px; }
    .guest-welcome h2 { font-size: 17px; }
    .inline-join-form { grid-template-columns: 1fr; }
    .join-consent { grid-column: 1; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { flex-direction: row; align-items: center; justify-content: space-between; }
    .stat-card > strong { font-size: 23px; margin-top: 0; }
    .app-intro { flex-wrap: wrap; }
    .app-intro .eyebrow { margin-bottom: 10px; }
    .form-grid { grid-template-columns: 1fr; }
    .page-intro h1 { font-size: 30px; }
    .app-intro h1 { font-size: 29px; }
    .section-heading { align-items: flex-start; }
    .admin-nav > a { font-size: 11px; gap: 6px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-stats .stat-card { flex-direction: column; align-items: flex-start; }
    .admin-stats .stat-card > strong { margin-top: 8px; }
    .table-panel { padding: 16px 0 0; }
    .table-panel .panel-header { padding-inline: 16px; }
    .mobile-card-table { padding-inline: 12px; }
    .mobile-card-table td { padding-left: 86px; }
    .mobile-card-table td::before { width: 76px; }
    .report-bottom { flex-wrap: wrap; }
    .report-card { padding: 16px; }
    .footer-bottom { font-size: 10px; }
    .poster-tools { flex-wrap: wrap; padding: 20px 15px; }
    .poster-qr { width: 200px; height: 200px; }
    dialog { padding: 20px; }
    .dialog-top h2 { font-size: 18px; }
    .invite-dialog .actions .button { font-size: 12px; }
    .prose { font-size: 12px; }
    .prose h2 { font-size: 19px; }
}
@media (pointer: coarse) {
    .vote-button { min-width: 44px; min-height: 44px; }
    .vote-control form { height: 44px; }
    .track-actions .icon-button { min-width: 44px; min-height: 44px; }
    .spotify-result .icon-button { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
@media print {
    @page { size: A4; margin: 0; }
    .poster-body { background: white; }
    .poster-tools { display: none !important; }
    .qr-poster { width: 210mm; min-height: 297mm; border: 0; margin: 0; padding: 60px 45px 40px; break-after: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .qr-poster h1 { font-size: 76px; }
    .poster-qr { width: 225px; height: 225px; }
    .site-header, .site-footer, .host-sidebar, .mobile-bottom-nav, .install-offer, .install-dialog { display: none !important; }
    body.has-mobile-navigation { padding-bottom: 0; }
}
