:root {
  color-scheme: dark;
  --bg: #141114;
  --panel: #1e191e;
  --panel-alt: #251f26;
  --line: #3d323e;
  --text: #fff6ee;
  --muted: #c1b2bd;
  --gold: #f3ba7b;
  --gold-strong: #ffcd93;
  --violet: #cdb3ec;
  --radius: 15px;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
a { color: var(--gold); text-underline-offset: .23em; }
a:hover { color: var(--gold-strong); }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #eed2ff; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, .section h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p + p { margin-top: .65rem; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1200px, 100% - 112px); margin-inline: auto; }
.accent { color: var(--gold); }
.muted { color: var(--muted); }
.eyebrow { font-size: .72rem; font-weight: 750; letter-spacing: .17em; }
.button {
  padding: .76rem 1.14rem;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}
.primary { color: #21171d; background: var(--gold); }
.primary:hover { color: #21171d; background: var(--gold-strong); }
.secondary, .quiet { border: 1px solid var(--line); color: var(--text); background: #211b22; }
.secondary:hover, .quiet:hover { background: #322732; color: var(--text); }
.quiet { border-radius: 7px; padding: .41rem .7rem; min-height: 38px; font-weight: 650; font-size: .87rem; }
.full { width: 100%; }
.site-header { background: #151215; border-bottom: 1px solid #392a37; }
.site-nav { min-height: 73px; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: inline-flex; gap: .62rem; color: var(--text); font-size: 1.24rem; font-weight: 750; letter-spacing: -.055em; align-items: center; text-decoration: none; width: fit-content; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2.4px; background: var(--gold); border-radius: 8px; width: 34px; height: 34px; }
.brand-mark i { display: block; width: 2px; height: 8px; border-radius: 3px; background: #2f222b; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 14px; }
.brand-mark i:nth-child(3) { height: 21px; }
.site-nav nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); }
.site-nav nav a, .site-footer a { color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 650; }
.site-nav nav a:hover, .site-footer a:hover { color: var(--gold); }
.nav-book { padding: .55rem .85rem; border: 1px solid #76593f; border-radius: 7px; }
.nav-book span { margin-left: .35rem; color: var(--gold); }

.hero { 
  min-height: min(650px, 76svh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  background: #25191f url("/assets/venue.webp") center 47% / cover no-repeat;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background:
    linear-gradient(0deg, #141114 0%, #1411141c 28%, transparent 64%),
    linear-gradient(90deg, #130c13bf 0%, #150d16dd 30%, #170e1890 50%, #190d180b 80%);
}
.hero-inner { display: flex; align-items: center; flex: 1; min-height: 555px; padding-block: 55px 25px; }
.hero-copy { max-width: 690px; }
.hero .eyebrow { color: #ffd2a0; display: flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem; }
.live-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px #ffb96f85; }
.hero h1 { font-size: clamp(3.75rem, 7.4vw, 7rem); line-height: .94; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero p { max-width: 410px; margin-top: 1.45rem; font-size: clamp(1rem, 1.5vw, 1.19rem); color: #f0e1e9; }
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-top: 1.65rem; }
.hero-actions .primary { min-height: 50px; padding-inline: 1.28rem; }
.text-link { color: var(--text); font-weight: 650; text-decoration: none; }
.text-link span { color: var(--gold); padding-inline-start: .2rem; }
.venue-caption { display: flex; justify-content: space-between; padding-bottom: 1.15rem; color: #e5c4ab; font-size: .67rem; letter-spacing: .2em; font-weight: 700; }
.benefits { border-block: 1px solid #3b2e3b; background: #1c171d; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit-grid > div { display: flex; gap: .85rem; align-items: center; padding: 1.27rem 1rem; }
.benefit-grid > div:first-child { padding-left: 0; }
.benefit-grid > div + div { border-left: 1px solid #3b2e3b; }
.benefit-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; font-size: 1.25rem; color: var(--gold); background: #32252c; border: 1px solid #5e4151; border-radius: 9px; }
.benefit-grid h2 { font-size: 1rem; margin-bottom: .32rem; }
.benefit-grid p { font-size: .85rem; color: var(--muted); }
.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.section h2 { font-size: clamp(2.5rem, 4.5vw, 4.35rem); margin: .3rem 0 1.5rem; }
.flow-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.audience-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  margin: 1rem 0 0;
  padding: clamp(1.4rem, 4vw, 3.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 78% 40%, #352637, #1b171d 67%);
}
.audience-preview figcaption { max-width: 27rem; }
.audience-preview h3 { font: 400 clamp(1.9rem, 4vw, 3.3rem)/1.05 var(--display); letter-spacing: -.035em; }
.audience-preview p { margin-top: .8rem; color: var(--muted); font-size: 1.05rem; }
.audience-preview img {
  display: block;
  justify-self: center;
  width: min(100%, 300px);
  height: auto;
  border: 1px solid #695268;
  border-radius: 18px;
  box-shadow: 0 14px 34px #0a070b88;
}
.flow-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: #1b171d; min-width: 0; }
.flow-panel > h3, .flow-heading { min-height: 38px; display: flex; align-items: center; }
.flow-heading { justify-content: space-between; gap: 1rem; }
.flow-diagram { display: grid; grid-template-columns: 1fr minmax(80px, .85fr) 1fr; align-items: center; gap: .25rem; margin: 1.8rem 0 1.3rem; text-align: center; }
.flow-node { min-width: 0; }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { font-size: .86rem; }
.flow-node small { color: var(--muted); font-size: .73rem; line-height: 1.35; margin-top: .2rem; }
.tables, .stage { height: 66px; display: flex; align-items: center; justify-content: center; margin: 0 auto .68rem; }
.tables { gap: 8px; padding-top: 6px; }
.table-symbol { position: relative; width: 37px; height: 44px; flex: 0 0 auto; }
.table-symbol:nth-child(2) { transform: translateY(-7px); }
.table-symbol::before { position: absolute; content: ""; width: 22px; height: 22px; inset: 14px 7px auto; border: 1px solid #d69b72; border-radius: 100%; background: #483237; }
.table-symbol i { position: absolute; display: block; width: 7px; height: 7px; border-radius: 50%; background: #e8ad81; }
.table-symbol i:nth-child(1) { left: 15px; top: 5px; }
.table-symbol i:nth-child(2) { left: 0; top: 29px; }
.table-symbol i:nth-child(3) { right: 0; top: 29px; }
.stage { position: relative; width: 69px; color: var(--violet); border: 1px solid #745a7a; border-bottom: 5px solid #745a7a; border-radius: 10px 10px 5px 5px; background: #2e2334; }
.performer { position: absolute; left: 15px; bottom: 11px; width: 12px; height: 19px; border-radius: 7px 7px 2px 2px; background: #cdb3ec; }
.performer::before { content: ""; position: absolute; top: -10px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #cdb3ec; }
.piano { position: absolute; bottom: 11px; left: 30px; width: 25px; height: 12px; border: 1px solid #e1c8fb; border-radius: 2px; background: repeating-linear-gradient(90deg, #e4d4ed, #e4d4ed 3px, #574163 3px, #574163 4px); }
.stage-note { position: absolute; top: 3px; right: 9px; font-size: 1rem; }
.flow-connection { height: 3.2rem; color: var(--gold); font-size: .7rem; font-weight: 700; }
.signal-track { display: block; position: relative; height: 2px; background: #8e654f; margin: .55rem 11px 0 5px; }
.signal-track::after { position: absolute; content: ""; right: -3px; top: -3px; width: 7px; height: 7px; border-top: 2px solid #c38c65; border-right: 2px solid #c38c65; transform: rotate(45deg); }
.signal-track i { position: absolute; display: none; width: 9px; height: 9px; top: -3.5px; border-radius: 50%; background: #ffd197; box-shadow: 0 0 12px #ffb86f; }
.playing .signal-track i { display: block; animation: travel 2.6s ease-in-out infinite; }
.playing .stage { animation: receive 2.6s ease-in-out infinite; }
@keyframes travel { 0%, 8% { left: 0; opacity: 0; } 20% { opacity: 1; } 70% { left: calc(100% - 4px); opacity: 1; } 85%, 100% { left: calc(100% - 4px); opacity: 0; } }
@keyframes receive { 0%, 60%, 100% { box-shadow: none; } 76% { box-shadow: 0 0 22px #bb83dd6b; } }

.booking-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 18% 25%, #30202d, #181418 61%); }
.booking-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(1.2rem, 5vw, 4.7rem); }
.booking-layout > div:first-child { max-width: 430px; }
.price { color: var(--gold); display: flex; align-items: baseline; gap: .55rem; margin-top: 1.25rem; }
.price strong { font: 2.8rem/1.15 var(--display); }
.price span { color: var(--muted); }
.launch { margin-top: .7rem; }
.launch b, code { color: var(--gold); background: #34272d; border-radius: .35rem; padding: .16rem .42rem; font-family: ui-monospace, monospace; font-size: .9rem; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: clamp(1rem, 2.6vw, 1.75rem); min-width: 0; }
.panel > h2, .panel > h3 { margin-bottom: .85rem; }
form { display: grid; gap: .88rem; }
.field { min-width: 0; display: flex; flex-direction: column; gap: .34rem; font-size: .88rem; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; border: 1px solid #594958; border-radius: 7px; min-height: 45px; padding: .64rem .75rem; background: #161316; color: var(--text); font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: #ad9eaa; }
.field textarea { resize: vertical; }
.fields { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.notice { border-radius: 8px; padding: .6rem .8rem; border: 1px solid #964f63; color: #ffbac4; background: #352027; overflow-wrap: anywhere; }
.notice[data-kind="success"] { color: #cae9c0; background: #243123; border-color: #57724f; }
#booking-result h3 { font: 2rem var(--display); }
#booking-result p { margin-block: .8rem; }
.link-stack { display: grid; align-items: start; justify-items: start; gap: .4rem; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 0; display: flex; gap: 1rem; justify-content: space-between; align-items: center; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--gold); font-size: 1.25rem; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 1rem 1rem 0; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer > div { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.site-footer .brand { font-size: 1.18rem; }
.site-footer > div > div { display: flex; flex-wrap: wrap; gap: .8rem 1.55rem; }

.app-bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: #1b161c; }
.app-bar > span { margin-left: auto; text-align: right; overflow-wrap: anywhere; color: var(--muted); font-weight: 700; }
.app-content { width: min(1160px, 100% - 48px); margin-inline: auto; padding-block: 2rem 3rem; }
.center { width: min(480px, 100% - 48px); margin-inline: auto; padding-top: min(12vh, 120px); }
.center h1 { font-size: clamp(2rem, 8vw, 3.4rem); margin-bottom: .35rem; }
.center section p, .center section form { margin-block: .8rem; }
.auth { padding: clamp(1.25rem, 5vw, 2rem); }
.auth .eyebrow { margin: 0; }

.audience-page { background: #151116; }
.audience { width: min(920px, 100% - 32px); min-height: calc(100svh - 64px); padding-block: 1rem max(1rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .75rem; }
.audience-intro { text-align: center; }
.audience-intro p { font-size: .83rem; font-weight: 700; }
.audience-intro h1 { font-size: clamp(2.05rem, 6vw, 4rem); }
.moods { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .65rem; }
.mood { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .75rem .5rem; gap: .35rem; min-height: clamp(101px, 21svh, 205px); color: #fff9f4; text-align: center; border: 1px solid #987053; border-radius: 13px; background: radial-gradient(ellipse at 50% 25%, #634031, #332329); font-weight: 760; font-size: clamp(1.15rem, 5vw, 2.3rem); line-height: 1.2; overflow-wrap: anywhere; }
.mood:nth-child(even) { border-color: #84688e; background: radial-gradient(ellipse at 50% 25%, #4c3958, #2c2332); }
.mood span { font-weight: 450; color: var(--gold); line-height: .8; font-size: clamp(2.5rem, 13vw, 5.2rem); }
.mood:nth-child(even) span { color: var(--violet); }
.mood:active { filter: brightness(1.25); }
.audience-message { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem; margin-top: .15rem; }
.audience-message .button { min-width: 62px; }

.dashboard-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.dashboard-header h1 { margin-top: .2rem; overflow-wrap: anywhere; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: .65rem; margin: .9rem 0 1rem; }
.numbers > div { display: flex; flex-direction: column; padding: .82rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #251f26; }
.numbers small { color: var(--muted); }
.numbers strong { font: 2rem/1.25 var(--display); color: var(--gold); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.dashboard-grid h3 { margin: 1.2rem 0 .55rem; }
[data-musician] .dashboard-header .button, [data-musician] .numbers small { font-size: 1.06rem; }
[data-musician] .numbers strong { font-size: clamp(2.25rem, 5vw, 2.9rem); }
[data-musician] .dashboard-grid h2 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.15; }
[data-musician] .dashboard-grid h3 { font-size: 1.15rem; }
[data-musician] .tally, [data-musician] .chip { font-size: clamp(1.1rem, 2.05vw, 1.38rem); overflow-wrap: anywhere; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .8rem; }
.activity-grid > section + section { padding-left: .8rem; border-left: 1px solid var(--line); }
.activity-empty { margin-top: .85rem; font-size: 1.06rem; }
.activity-list { list-style: none; margin: .75rem 0 0; padding: 0 .25rem 0 0; max-height: min(56svh, 30rem); overflow-y: auto; }
.activity-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .56rem .6rem;
  background: #191519;
  color: var(--text);
  font-size: clamp(1.15rem, 2.25vw, 1.5rem);
  font-weight: 650;
  line-height: 1.27;
  overflow-wrap: anywhere;
}
.activity-list li + li { margin-top: .4rem; }
.activity-votes li:first-child { border-color: #b9885d; background: #35262a; color: #ffdfbd; }
.activity-messages li:first-child { border-color: #9576ac; background: #322539; color: #f5e5ff; }
.dashboard-footer { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1rem; }
.dashboard-footer label, .checkboxes label { display: flex; align-items: center; gap: .5rem; }
input[type=checkbox] { accent-color: var(--gold); width: 17px; height: 17px; }
.tally { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; align-items: center; margin: .85rem 0; }
.tally progress { grid-column: 1 / -1; width: 100%; height: .55rem; appearance: none; border: none; border-radius: 10px; background: #372c39; overflow: hidden; }
.tally progress::-webkit-progress-bar { background: #372c39; }
.tally progress::-webkit-progress-value { background: var(--gold); border-radius: 10px; }
.tally progress::-moz-progress-bar { background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1px solid #5d4861; padding: .18rem .55rem; border-radius: 99px; color: #f2dff6; background: #2d2330; overflow-wrap: anywhere; min-width: 0; }
.settings { width: min(540px, calc(100% - 24px)); max-height: 88svh; color: var(--text); }
.settings::backdrop { background: #0a070bd4; }
.label-row { display: grid; grid-template-columns: 1fr auto; gap: .55rem; align-items: end; margin-bottom: .55rem; }
.label-row .quiet { min-height: 45px; }
.checkboxes { display: grid; gap: .4rem; }

.qr-page { text-align: center; overflow-wrap: anywhere; }
.qr-page h1 { margin-bottom: .5rem; }
.qr-page img { display: block; margin: 1.3rem auto .85rem; border-radius: 8px; background: white; }
.qr-page .actions { justify-content: center; margin-top: 1.15rem; }
.admin-note { background: #2d222a; color: #f9ddc3; border: 1px solid #6a4c53; padding: .85rem 1rem; border-radius: 9px; }
.admin-note p { margin-top: .2rem; }
.tabs { display: flex; gap: .4rem; margin: 1.1rem 0; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: .55rem .85rem; border-radius: 7px; font-weight: 700; }
.tabs button[aria-pressed=true] { border-color: #a78265; color: var(--gold); background: #31252e; }
.admin-layout { display: grid; grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr); align-items: start; gap: .85rem; }
.admin-layout h2 { margin-bottom: .32rem; }
[data-gig-list] { display: grid; gap: .43rem; margin-top: .7rem; }
.gig-item { text-align: left; display: grid; gap: .13rem; border: 1px solid var(--line); border-radius: 7px; padding: .55rem .75rem; color: var(--text); background: #181419; overflow-wrap: anywhere; }
.gig-item[aria-pressed=true] { border-color: #b18764; }
.gig-item small { color: var(--muted); }
.form-hint { font-size: .82rem; }
hr { height: 1px; border: none; background: var(--line); margin-block: 1.1rem; }
[data-verification] { margin: .55rem 0 .9rem; }
[data-verification] p { overflow-wrap: anywhere; }
[data-verification] button { margin-block: .4rem; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.qr-grid img { margin: .35rem 0; background: white; border-radius: 6px; }
.private { margin-inline-start: .2rem; font-size: .68rem; letter-spacing: .07em; color: #ffb4c1; }
[data-stats] h3, [data-filter] { margin-block: 1rem .7rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
td, th { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
.users-admin .flow-heading { flex-wrap: wrap; overflow-wrap: anywhere; }
.users-admin [data-users-empty], .users-admin [data-notice] { margin-block: .7rem; }
.users-admin .table-wrap { margin-top: .5rem; }
.users-admin table { min-width: 36rem; }
.users-admin th, .users-admin td { vertical-align: top; overflow-wrap: anywhere; }
.users-admin td small { display: block; margin-top: .2rem; }
.users-admin td .actions { gap: .35rem; }
.users-admin [data-verified="true"] { color: #cae9c0; }
.users-admin .danger { color: #ffbac4; border-color: #964f63; }
.users-admin dialog form { margin: 0; }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 56px); }
  .hero-inner { min-height: 510px; }
  .hero { min-height: 0; }
  .app-content { width: min(100% - 32px, 1160px); }
}
@media (max-width: 760px) {
  [data-musician] .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { min-height: 60px; }
  .site-nav nav { gap: .55rem; }
  .site-nav nav .nav-how { display: none; }
  .nav-book { padding: .46rem .65rem; }
  .hero { background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, #140e16e6, #170e187a 76%, #170e1820), linear-gradient(0deg, #141114 0%, transparent 32%); }
  .hero-inner { padding-top: 48px; min-height: max(440px, 58svh); }
  .hero h1 { font-size: clamp(3rem, 12.4vw, 5.4rem); }
  .hero p { max-width: 335px; }
  .hero-actions { gap: .9rem; }
  .venue-caption { font-size: .58rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid > div, .benefit-grid > div:first-child { padding: .85rem 0; }
  .benefit-grid > div + div { border-left: none; border-top: 1px solid #3b2e3b; }
  .flow-layout, .audience-preview, .booking-layout, .faq, .admin-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .faq { gap: 0; }
  .dashboard-header { align-items: start; flex-direction: column; }
}
@media (max-width: 370px) {
  .site-nav nav .nav-faq { display: none; }
  .fields, .qr-grid { grid-template-columns: 1fr; }
}
@media print {
  @page { margin: 18mm; }
  :root { color-scheme: light; }
  .print-page, .qr-page { background: #fff; color: #000; }
  .print-page a { color: #000; }
  .print-page .app-bar, .print-controls { display: none; }
  .qr-page { width: 100%; padding-top: 25mm; }
  .qr-page h1 { font-size: 34pt; }
}

.site-footer > .site-measurement { min-height: 0; display: block; color: var(--muted); font-size: .82rem; padding-bottom: 1.15rem; }
.site-measurement summary { cursor: pointer; width: fit-content; }
.site-measurement p { max-width: 48rem; margin-top: .35rem; }
.report > h2 { font-size: clamp(1.42rem, 2.8vw, 2rem); }
.report-filters { display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; margin-block: .8rem .5rem; }
.report-filters .field { min-width: 126px; flex: 1 1 128px; }
.report-filters .field:has(input[type=search]) { flex: 2 1 200px; }
.report-filters .button { flex: 0 1 auto; }
[data-ops-filters] { max-width: 610px; }
.report-note { margin-top: .4rem; font-size: .86rem; }
.report .numbers { grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); }
.report .numbers > div { padding: .7rem .8rem; justify-content: space-between; }
.report .numbers strong { font-size: clamp(1.3rem, 2.1vw, 1.9rem); overflow-wrap: anywhere; }
.report-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.report-chart-grid .trend-chart { grid-column: 1 / -1; }
.report-chart { min-width: 0; margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #211b22; }
.report-chart figcaption { font-weight: 750; margin-bottom: .64rem; }
.report-chart canvas { display: block; width: 100%; max-width: 670px; height: auto; margin: .4rem auto 0; }
.report-chart details { font-size: .84rem; color: var(--muted); margin-top: .4rem; }
.report-chart summary { cursor: pointer; }
.report-legend { display: flex; flex-wrap: wrap; gap: .28rem .85rem; color: var(--muted); font-size: .83rem; }
.report-legend span::before { display: inline-block; content: ""; width: 8px; height: 8px; margin-right: .38rem; border-radius: 50%; background: #fac384; }
.report-legend .series-1::before { background: #bfa8ee; }
.report-legend .series-2::before { background: #85dac3; }
.rank-row { margin: .67rem 0 0; font-size: .91rem; overflow-wrap: anywhere; }
.report-table-head, .report-pager { display: flex; justify-content: space-between; align-items: center; gap: .65rem; flex-wrap: wrap; margin-block: 1rem .45rem; }
.report-table-wrap { border: 1px solid var(--line); border-radius: 9px; }
.report-table-wrap table { min-width: 860px; }
.report-table-wrap tr:last-child td { border-bottom: none; }
.report-table-wrap tbody tr:nth-child(even) { background: #251f26; }
.report-table-wrap th, .report-table-wrap td { padding: .62rem .7rem; font-size: .84rem; }
.report-table-wrap td:first-child, .report-table-wrap td:nth-child(2) { white-space: nowrap; }
.sort-column { display: block; white-space: nowrap; border: 0; padding: .2rem 0; background: transparent; color: var(--text); text-align: left; font-weight: 750; }
th[aria-sort] .sort-column { color: var(--gold); }
.report-pager { justify-content: flex-end; font-size: .88rem; }
.ops-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.report-audience { min-width: 0; }
.report-audience h3 { font-size: 1.25rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.report-audience .report-chart + .report-chart { margin-top: .65rem; }
.smtp-form { max-width: 640px; margin-top: 1rem; }
.check { display: flex; gap: .55rem; align-items: center; width: fit-content; }
@media (max-width: 760px) {
  .ops-breakdown { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 520px) {
  .report-chart-grid { grid-template-columns: 1fr; }
}

.audience-reactions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.reaction-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 46px;
  padding: .32rem .45rem;
  border: 1px solid #8b694f;
  border-radius: 9px;
  background: #302529;
  color: #fff3e4;
  font-weight: 700;
  line-height: 1.2;
}
.reaction-button.reaction-love { background: #34242e; border-color: #8c5c70; color: #ffeaf2; }
.reaction-button:hover { filter: brightness(1.15); }
.reaction-button:active { filter: brightness(1.3); }
.reaction-button > span { font-size: 1.2rem; }
.reaction-button.reaction-love > span, .reaction-love { color: #ff9bb7; }

.reaction-timeline { margin-bottom: .9rem; }
.reaction-heading { display: flex; gap: .5rem 1rem; flex-wrap: wrap; align-items: end; justify-content: space-between; margin-bottom: .55rem; }
.reaction-heading h2 { font-size: clamp(1.25rem, 2.1vw, 1.55rem); }
.reaction-heading p { font-size: .81rem; margin-top: .2rem; }
.reaction-heading select { min-height: 38px; padding-block: .32rem; }
.reaction-chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .65rem; align-items: center; }
.reaction-lane-label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .3rem; font-size: .87rem; white-space: nowrap; }
.reaction-lane-label strong { margin-left: .15rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reaction-symbol { font-size: 1.1rem; line-height: 1; }
.reaction-track {
  position: relative;
  height: 41px;
  border-inline: 1px solid #584554;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), #4a3949 calc(25% - 1px) 25%);
}
.reaction-mark {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: grid;
  place-content: center;
  padding: 0;
  width: clamp(16px, 2.4vw, 26px);
  height: 25px;
  border-radius: 50%;
  border: 1px solid #8b694f;
  background: #2d2228;
  color: #f7bd82;
  font-size: clamp(.67rem, 1.25vw, .99rem);
  line-height: 1;
}
.reaction-mark.reaction-love { color: #ff9bb7; border-color: #995b72; background: #362331; }
.reaction-mark:hover, .reaction-mark:focus-visible { z-index: 3; }
.reaction-mark small { position: absolute; top: -8px; right: -6px; padding: 2px 3px; border-radius: 5px; background: #f3ba7b; color: #21171d; font-size: .62rem; font-weight: 800; }
.reaction-mark.reaction-love small { background: #ffadc3; }
.reaction-axis { grid-column: 2; display: flex; justify-content: space-between; gap: .19rem; color: var(--muted); font-size: clamp(.6rem, 1.15vw, .82rem); font-variant-numeric: tabular-nums; }
.reaction-detail { min-height: 1.4em; margin-top: .42rem; font-size: .83rem; }
@media (max-width: 490px) {
  .reaction-chart { gap: .35rem .42rem; }
  .reaction-lane-label { grid-template-columns: auto auto; }
  .reaction-lane-label > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.demo { padding-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.demo + #how { padding-top: clamp(1.8rem, 4vw, 3.5rem); }
.demo-intro { margin-bottom: 1.3rem; }
.demo-intro h2 { margin-bottom: .55rem; }
.demo-intro p { color: var(--muted); }
.demo-grid {
  display: grid;
  grid-template-columns: clamp(244px, 23vw, 292px) minmax(0, 1fr);
  grid-template-rows: max-content auto;
  grid-template-areas: "qr artist" "audience artist";
  align-items: start;
  gap: .85rem clamp(1.25rem, 3vw, 2.5rem);
}
.demo-qr { grid-area: qr; justify-self: center; display: grid; justify-items: center; gap: .34rem; }
.demo-qr a { display: block; border-radius: 9px; }
.demo-qr img { display: block; width: clamp(76px, 10vw, 108px); height: auto; border: 1px solid #ae856a; border-radius: 9px; }
.demo-arrow { position: relative; display: block; height: 27px; width: 1.5px; background: var(--gold); margin-top: .1rem; }
.demo-arrow::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
}

.demo-device {
  position: relative;
  min-width: 0;
  border: 1px solid #635b61;
  background: linear-gradient(155deg, #343136, #151317 35%, #151317 75%, #28252b);
  box-shadow: inset 0 0 0 2px #080708, 0 16px 32px #08060985;
}
.demo-screen { border: 1px solid #41363e; background: #151116; }
.demo-audience {
  grid-area: audience;
  width: min(100%, 292px);
  justify-self: center;
  padding: .55rem;
  border-radius: 2.45rem;
}
.demo-phone-screen {
  position: relative;
  padding-top: 1.65rem;
  padding-bottom: 1.45rem;
  border-radius: 1.95rem;
  background: #181419;
}
.demo-phone-screen::before, .demo-phone-screen::after, .demo-artist::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.demo-phone-screen::before {
  top: .45rem;
  width: 3.9rem;
  height: .62rem;
  border-radius: 1rem;
  background: radial-gradient(circle at 85% 48%, #303b52 0 1px, #0a090c 3px);
  box-shadow: 0 0 0 1px #28242b;
}
.demo-phone-screen::after { bottom: .46rem; width: 32%; height: 3px; border-radius: 9px; background: #aca3ab; }
.demo-phone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-height: 43px;
  padding: .4rem .64rem;
  border-block: 1px solid var(--line);
  background: #211a21;
}
.demo-phone-header .brand-mark { width: 24px; height: 24px; border-radius: 6px; flex: 0 0 auto; }
.demo-phone-header .brand-mark i { width: 2px; }
.demo-phone-header h3 { font-size: .96rem; line-height: 1.2; }
.demo-phone-controls { display: grid; gap: .65rem; padding: .7rem .66rem 0; }
.demo-choices { gap: .47rem; }
.demo-choices .mood { min-height: 91px; padding: .5rem .25rem; border-radius: 10px; font-size: .97rem; }
.demo-choices .mood span { font-size: 2.1rem; }
.demo-reactions { gap: .45rem; }
.demo-reactions .reaction-button { min-height: 44px; gap: .35rem; padding-inline: .25rem; font-size: .84rem; }
.demo-reactions .reaction-button > span { font-size: 1.08rem; }
.demo-message { margin-top: 0; }
.demo-message .field, .demo-message .field input, .demo-message .button { font-size: .78rem; }
.demo-message .field input { color: var(--muted); opacity: 1; }
.demo-message .field input, .demo-message .button { min-height: 40px; padding: .43rem .53rem; }
.demo-message .button { min-width: 0; }

.demo-artist {
  grid-area: artist;
  width: min(100%, 850px);
  align-self: center;
  justify-self: center;
  padding: clamp(.64rem, 1.25vw, 1rem);
  border-radius: clamp(1.35rem, 2.75vw, 2.3rem);
}
.demo-artist::before {
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 42%, #42506b, #09080b 55%);
  box-shadow: 0 0 0 1px #4a444c;
}
.demo-tablet-screen {
  container-type: inline-size;
  padding: clamp(.66rem, 1.7vw, 1.3rem);
  border-radius: clamp(.85rem, 1.7vw, 1.55rem);
  font-size: .85rem;
}
.demo-artist-header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.demo-artist-header h3 { margin-top: .3rem; font: 400 clamp(1.55rem, 3vw, 2.4rem)/1.02 var(--display); letter-spacing: -.04em; }
.demo-live {
  display: flex;
  gap: .42rem;
  align-items: center;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.demo-live .live-dot { width: 6px; height: 6px; }
.demo-artist-header .quiet { font-size: .8rem; }
.demo-artist .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin: .72rem 0; }
.demo-artist .numbers > div { padding: .42rem .6rem; justify-content: space-between; }
.demo-artist .numbers small { font-size: .76rem; line-height: 1.25; }
.demo-artist .numbers strong { font-size: clamp(1.35rem, 3vw, 1.85rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.demo-artist .panel { padding: .65rem .75rem; border-radius: 10px; }
.demo-artist h4, .demo-artist h5 { margin: 0; font-size: .87rem; line-height: 1.25; }
.demo-artist h5 { font-size: .78rem; }
.demo-reaction-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .12rem .7rem; justify-content: space-between; margin-bottom: .35rem; }
.demo-reaction-heading p { font-size: .74rem; }
.demo-artist .reaction-chart { margin-right: .4rem; gap: .25rem .5rem; }
.demo-artist .reaction-lane-label { grid-template-columns: auto 1fr auto; font-size: .76rem; }
.demo-artist .reaction-lane-label > span:nth-child(2) { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.demo-artist .reaction-symbol { font-size: 1rem; }
.demo-artist .reaction-track { height: 29px; }
.demo-artist .reaction-mark { width: 24px; height: 24px; font-size: .85rem; }
.demo-artist .reaction-detail { margin-top: .22rem; font-size: .74rem; }
.demo-artist .dashboard-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin-top: .65rem; gap: .55rem; }
.demo-tallies { list-style: none; margin: .35rem 0 .65rem; padding: 0; }
.demo-artist .tally { gap: .1rem .5rem; margin: .3rem 0; }
.demo-artist .tally progress { height: .3rem; }
.demo-artist .tally strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.demo-artist .activity-grid { gap: .6rem; }
.demo-artist .activity-grid > section + section { padding-left: .6rem; }
.demo-artist .activity-list { max-height: 7.1rem; margin-top: .55rem; }
.demo-artist .activity-list li { padding: .26rem .4rem; font-size: .83rem; }
.demo-artist .activity-list li + li { margin-top: .24rem; }
.demo-empty, .demo-status { font-size: .75rem; line-height: 1.4; }
.demo-empty { margin-top: .35rem; }
.demo-status { margin-top: .55rem; }

@media (max-width: 849px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "qr" "audience" "artist";
  }
  .demo-artist { margin-top: .65rem; }
}
@container (max-width: 430px) {
  .demo-artist .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-artist .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-tallies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .72rem; }
}
