@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Reenie Beanie"; src: url("/assets/fonts/reenie-beanie-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nanum Pen Script"; src: url("/assets/fonts/nanum-pen-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* SungCard (English). Tokens from the brand book (docs/brand/sungcard-brandbook.html): Ballpoint blue for the brand
   and actions, Night for text and the song stage, Tissue for the page, Lit coral only for the line being sung and the
   play button, Brass for milestone numbers and the military door. Handwriting only for what people wrote. */
:root {
  --ballpoint: #2B3FD1; --night: #0F1436; --cardw: #FFFFFF; --tissue: #EEF0FA; --lit: #FF5C7A; --brass: #C99A2E; --brass-ink: #7A5A0E;
  --pen-black: #1F2230; --pen-red: #C4283A;
  --bg: var(--tissue); --surface: #FFFFFF; --ink: #0F1436; --muted: #4A5175; --faint: #B9BEDA; --rule: #D5D9EC;
  --accent: #2B3FD1; --accent-ink: #2B3FD1; --on-accent: #FFFFFF; --chip: #E3E6F6; --warn: #8A4B00; --warn-bg: #FFF2DC; --bad: #A3182A; --bad-bg: #FDE7EA; --ok: #146C43; --ok-bg: #E2F4EA;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
  --hand2: "Nanum Pen Script", "Bradley Hand", "Segoe Print", cursive;
  --radius: 16px; --shadow: 0 1px 2px rgba(15, 20, 54, .06), 0 8px 24px rgba(15, 20, 54, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1436; --surface: #18204F; --ink: #EEF0FA; --muted: #A9B0D6; --faint: #3A4478; --rule: #2A3366;
    --accent: #9AA6FF; --accent-ink: #9AA6FF; --on-accent: #0F1436; --chip: #222B60; --warn: #FFCF8A; --warn-bg: #3A2C12; --bad: #FFB3BE; --bad-bg: #3D1520; --ok: #9BE3BD; --ok-bg: #123526;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1436; --surface: #18204F; --ink: #EEF0FA; --muted: #A9B0D6; --faint: #3A4478; --rule: #2A3366;
  --accent: #9AA6FF; --accent-ink: #9AA6FF; --on-accent: #0F1436; --chip: #222B60; --warn: #FFCF8A; --warn-bg: #3A2C12; --bad: #FFB3BE; --bad-bg: #3D1520; --ok: #9BE3BD; --ok-bg: #123526;
  --shadow: none; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1 { font-weight: 850; font-size: clamp(40px, 7vw, 80px); line-height: .98; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.05; letter-spacing: -.026em; }
h3 { font-weight: 750; font-size: 21px; line-height: 1.2; letter-spacing: -.012em; }
h4 { font-weight: 700; font-size: 17px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.fine { font-size: 14px; line-height: 1.45; color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 400; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
[hidden] { display: none !important; }
.stack > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Wordmark */
.lockup { display: inline-flex; align-items: center; gap: .32em; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--accent-ink); text-decoration: none; font-size: 24px; }
.lockup .mark { width: 1.32em; height: 1.32em; flex: none; }
.lockup-sm { font-size: 19px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.top-nav { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; }
.top-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.top-nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 520px) { .top-nav a[href="/military"], .top-nav a[href="/contact"] { display: none; } .top-nav { gap: 12px; } .top .lockup { font-size: 21px; } .top .btn-small { padding: 8px 12px; font-size: 14px; } }
@media (max-width: 360px) { .top-nav a[href="/faq"] { display: none; } }
.foot { border-top: 1px solid var(--rule); margin-top: 72px; padding: 36px 0 48px; }
.foot-row { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.foot nav a { color: var(--ink); }
@media (min-width: 820px) { .foot-row { grid-template-columns: 1fr auto 1.2fr; align-items: start; } }
body.stage .foot { border-color: rgba(255, 255, 255, .12); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font: 700 17px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-quiet { background: var(--chip); color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-big { min-height: 58px; font-size: 19px; padding: 14px 28px; }
.btn-wide { width: 100%; }

/* Landing */
.hero { padding: 40px 0 28px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 40px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero .lede { margin-top: 20px; color: var(--ink); font-size: 20px; max-width: 36ch; }
.hero .cta { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.price-line { font-size: 15px; color: var(--muted); max-width: 46ch; }
.price-line b { color: var(--ink); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--accent-ink); margin-bottom: 14px; display: inline-block; }
html[data-door="military"] .kicker { color: var(--brass-ink); }
@media (prefers-color-scheme: dark) { html[data-door="military"] .kicker { color: #D9AE45; } }

/* The signed card (hero art) */
.sig-card { position: relative; background: var(--cardw); color: var(--pen-black); border-radius: 6px; padding: 30px 26px 28px; box-shadow: 0 2px 4px rgba(15,20,54,.08), 0 24px 60px rgba(15,20,54,.16); transform: rotate(-1.6deg); max-width: 480px; margin: 0 auto; }
.sig-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid #E6E8F3; border-radius: 3px; pointer-events: none; }
.sig-card .big { font-family: var(--hand); color: var(--ballpoint); font-size: 44px; line-height: 1; text-align: center; margin-bottom: 18px; }
.sig-card .big b { font-family: var(--sans); font-weight: 850; color: var(--brass); font-size: 1.15em; letter-spacing: -.04em; }
.sig-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.sig-notes p { font-family: var(--hand); font-size: 26px; line-height: 1.02; color: var(--ballpoint); }
.sig-notes p:nth-child(2) { font-family: var(--hand2); color: var(--pen-black); transform: rotate(2.5deg); font-size: 24px; }
.sig-notes p:nth-child(3) { color: var(--pen-red); transform: rotate(-1.5deg); }
.sig-notes p:nth-child(4) { font-family: var(--hand2); transform: rotate(1.5deg); font-size: 24px; }
.sig-notes small { display: block; font-family: var(--sans); font-size: 12px; color: #4A5175; margin-top: 4px; letter-spacing: 0; }
.sig-card .now-strip { margin: 22px -10px -10px; background: var(--night); color: #fff; border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; transform: rotate(1.6deg); }
.now-strip .row { color: rgba(255,255,255,.72); font-size: 13px; }
.now-strip .lyric { font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -.015em; }
.now-strip .lyric .lit { color: var(--lit); }
.tag { display: inline-block; font: 700 12px/1 var(--sans); padding: 5px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }

/* Sections */
.band { padding: 56px 0; }
.band-tight { padding: 32px 0; }
.band h2 + .lede { margin-top: 14px; }
.steps { display: grid; gap: 16px; margin-top: 30px; counter-reset: step; list-style: none; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--chip); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
.get-list { display: grid; gap: 16px; margin-top: 30px; list-style: none; padding: 0; }
@media (min-width: 760px) { .get-list { grid-template-columns: repeat(2, 1fr); } }
.get-list li { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.get-list h3 { font-size: 19px; margin-bottom: 6px; }
.get-list p { color: var(--muted); font-size: 16px; }
/* Policy pages: plain reading text */
.policy { padding-bottom: 24px; }
.policy h2 { font-size: 24px; margin-top: 34px; }
.policy h2 + p, .policy h2 + ul { margin-top: 10px; }
.policy p + p, .policy ul + p, .policy p + ul { margin-top: 12px; }
.policy ul { padding-left: 22px; display: grid; gap: 6px; }
.policy table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 16px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.policy th { width: 38%; font-weight: 700; }
.policy .updated { margin-top: 8px; }
.contact-card { background: var(--surface); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; margin-top: 18px; }
.contact-card .big-link { font-size: 22px; font-weight: 800; }
.promise { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
@media (min-width: 760px) { .promise { grid-template-columns: 1fr 1fr; } }
.promise li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); padding: 16px 18px; border-radius: 14px; }
.promise li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price-card { background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.price-card .amount { font-weight: 850; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.price-card .amount small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.quote-line { font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.022em; max-width: 28ch; }
.faq-list { display: grid; gap: 10px; margin-top: 24px; }
.faq-list details { background: var(--surface); border-radius: 14px; padding: 4px 18px; }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::after { content: "+"; font-weight: 800; color: var(--accent-ink); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 0 16px; color: var(--muted); display: grid; gap: 10px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }

/* The song stage: the player */
.player { background: var(--night); color: #fff; border-radius: 22px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 18px 50px rgba(15,20,54,.22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .player { background: #161D4D; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); } }
:root[data-theme="dark"] .player, body.stage .player { background: #161D4D; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.player-head { display: flex; align-items: center; gap: 14px; }
.player .play { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--lit); color: var(--night); display: grid; place-items: center; cursor: pointer; }
.player .play svg { width: 26px; height: 26px; fill: currentColor; }
.player .play .i-pause { display: none; }
.player.is-playing .play .i-play { display: none; }
.player.is-playing .play .i-pause { display: block; }
.player-meta { min-width: 0; display: grid; gap: 2px; }
.player-meta b { font-size: 17px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta span { font-size: 13px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.player .tag { color: rgba(255,255,255,.75); margin-left: auto; flex: none; }
.bar { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.16); cursor: pointer; }
.bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--lit); }
.lyrics { list-style: none; margin: 0; padding: 4px 2px; display: grid; gap: 4px; max-height: 360px; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; }
.player.tall .lyrics { max-height: none; overflow: visible; }
.lyrics .sec { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); margin-top: 12px; letter-spacing: .02em; text-transform: uppercase; }
.lyrics .sec:first-child { margin-top: 0; }
.lyrics .line { font-weight: 800; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.2; letter-spacing: -.012em; color: rgba(255,255,255,.42); cursor: pointer; border-radius: 8px; padding: 3px 6px; margin: 0 -6px; transition: color .2s; }
.lyrics .line.sung { color: #fff; }
.lyrics .line.now { color: var(--lit); }
.lyrics .line:hover { background: rgba(255,255,255,.05); }
.lyrics .line.picked { background: rgba(255, 92, 122, .16); box-shadow: inset 3px 0 0 var(--lit); color: #fff; }
.lyrics .line.changed::after { content: " · new"; font-size: 12px; font-weight: 700; color: #D9AE45; }
.player.pick .lyrics .line { color: #fff; }
.player .note-line { font-size: 13px; color: rgba(255,255,255,.62); }

/* Example song block on the landing pages */
.example { display: grid; gap: 20px; }
@media (min-width: 900px) { .example { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wall .note { background: var(--cardw); color: var(--pen-black); border-radius: 12px; padding: 12px 12px 10px; font-family: var(--hand); font-size: 25px; line-height: 1.02; box-shadow: var(--shadow); }
.wall .note:nth-child(4n+2) { font-family: var(--hand2); transform: rotate(1.2deg); font-size: 23px; }
.wall .note:nth-child(4n+3) { color: var(--ballpoint); transform: rotate(-1deg); }
.wall .note:nth-child(4n) { color: var(--pen-red); font-family: var(--hand2); font-size: 23px; }
.wall .note small { display: block; font-family: var(--sans); font-size: 12px; color: #4A5175; margin-top: 6px; letter-spacing: 0; line-height: 1.3; }
.wall .note img { display: block; width: 100%; border-radius: 8px; margin-bottom: 8px; aspect-ratio: 4/3; object-fit: cover; }
.wall-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.wall-wide .note { font-size: 27px; }

/* Forms */
.panel { background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .panel { padding: 30px; } }
fieldset.panel { border: 0; margin: 0; min-width: 0; }
fieldset.panel > legend { padding: 0; float: left; width: 100%; }
.panel > h2, .panel > h3 { margin-bottom: 6px; }
.panel h2 { font-size: clamp(24px, 3vw, 32px); }
.form-step + .form-step { margin-top: 18px; }
.step-no { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .03em; text-transform: uppercase; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field > label, .field > .label { font-weight: 700; font-size: 16px; }
.field .help { font-size: 14px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="date"], input[type="datetime-local"], input[type="number"], textarea, select {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--rule); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, .choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; border-color: var(--accent); }
.inline { display: grid; gap: 12px; }
@media (min-width: 620px) { .inline { grid-template-columns: 1fr 1fr; } .inline-3 { grid-template-columns: 1fr 1fr 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--rule); font-weight: 600; }
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); }
.styles { display: grid; gap: 12px; }
.style-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.choice-style > span { display: grid; gap: 2px; border-radius: 16px; padding: 14px 16px; height: 100%; }
.choice-style b { font-size: 17px; }
.choice-style em { font-style: normal; font-size: 14px; color: var(--accent-ink); font-weight: 600; }
.choice-style small { font-size: 14px; color: var(--muted); font-weight: 400; }
.btn-listen { display: grid; place-items: center; gap: 4px; align-content: center; min-width: 84px; border-radius: 16px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); font: 700 14px var(--sans); cursor: pointer; padding: 10px; }
.btn-listen svg { width: 26px; height: 26px; fill: var(--lit); }
.btn-listen .i-stop { display: none; }
.btn-listen.is-playing .i-play { display: none; }
.btn-listen.is-playing .i-stop { display: block; }
.say-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.msg { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.msg-bad { background: var(--bad-bg); color: var(--bad); }
.msg-ok { background: var(--ok-bg); color: var(--ok); }
.msg-warn { background: var(--warn-bg); color: var(--warn); }
.msg-info { background: var(--chip); color: var(--ink); }
.test-banner { background: repeating-linear-gradient(-45deg, #FFE38A 0 14px, #FFD24D 14px 28px); color: #3A2A00; border-radius: 14px; padding: 16px 18px; font-weight: 600; }
.test-banner b { display: block; font-size: 18px; font-weight: 850; letter-spacing: .02em; }
.tips { display: grid; gap: 10px; }
.tip { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.tip b { display: block; }
.tip .hand { font-size: 22px; color: var(--ballpoint); line-height: 1; display: block; margin-top: 4px; }
.tip .hand s { color: var(--pen-red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tip .hand { color: #9AA6FF; } }

/* The organiser page */
.app-head { padding: 28px 0 12px; }
.app-head h1 { font-size: clamp(32px, 5vw, 52px); }
.app-head .fine { margin-top: 8px; }
.stepper { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--rule); }
.stepper li.done { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.stepper li.now { color: var(--accent-ink); border-color: var(--accent); }
@media (min-width: 620px) { .stepper li { font-size: 14px; } }
.app-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 980px) { .app-grid { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.copy-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; background: var(--bg); border-radius: 12px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--rule); }
.copy-box code { font: 600 15px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; color: var(--ink); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tabs button { border: 0; background: var(--bg); color: var(--ink); font: 600 15px var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.invite { white-space: pre-wrap; background: var(--bg); border-radius: 12px; padding: 14px; font-size: 15px; margin-top: 10px; }
.mem-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.mem { background: var(--bg); border-radius: 14px; padding: 14px; display: grid; gap: 8px; border-left: 4px solid var(--rule); }
.mem.is-approved { border-left-color: var(--ok); }
.mem.is-hidden { opacity: .6; }
.mem.has-hard { border-left-color: var(--bad); }
.mem.has-soft { border-left-color: #E0A12E; }
.mem-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 14px; color: var(--muted); }
.mem-head b { color: var(--ink); font-size: 16px; }
.mem-text { font-size: 16px; white-space: pre-wrap; }
.mem-text .saying { display: block; margin-top: 6px; color: var(--muted); }
.flags { display: flex; flex-wrap: wrap; gap: 6px; }
.flag { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); }
.flag.hard { background: var(--bad-bg); color: var(--bad); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.count { font-weight: 850; font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.spinner { display: flex; gap: 14px; align-items: center; }
.spinner::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--chip); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner::before { animation-duration: 3s; } }
.lyric-edit { display: grid; gap: 16px; margin-top: 16px; }
.lyric-sec h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 6px; }
.lyric-line { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.lyric-line + .lyric-line { margin-top: 6px; }
.lyric-line .text { font-weight: 750; font-size: 18px; line-height: 1.3; }
.lyric-line .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.lyric-line .acts { display: flex; gap: 14px; font-size: 14px; }
.lyric-line .edit-row { display: grid; gap: 8px; }
.lyric-line .suggest { background: var(--surface); border-radius: 10px; padding: 10px; display: grid; gap: 8px; border: 1.5px dashed var(--accent); }
.removed { font-size: 14px; color: var(--muted); }
.removed li + li { margin-top: 6px; }
.compare { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.qr img { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 12px; }
.dev-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dev-table td, .dev-table th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }

/* The share page: a stage */
body.stage { --bg: var(--night); --surface: #18204F; --ink: #EEF0FA; --muted: #A9B0D6; --rule: #2A3366; --accent: #9AA6FF; --accent-ink: #9AA6FF; --on-accent: #0F1436; --chip: #222B60; color-scheme: dark; }
body.stage .top { background: color-mix(in srgb, var(--night) 88%, transparent); }
body.stage .lockup { color: #fff; }
.song-head { padding: 36px 0 18px; display: grid; gap: 10px; }
.song-head .cover { width: 84px; height: 84px; border-radius: 18px; background: var(--ballpoint); display: grid; place-items: center; color: var(--brass); font-weight: 850; font-size: 36px; letter-spacing: -.04em; }
.song-head h1 { font-size: clamp(36px, 6vw, 64px); color: #fff; }
.song-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
