/* Setlist Wars — "Paper on the stage floor". Base styles derived from the frozen design prototype v1. Mobile-first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.45 var(--font-body);
  min-height: 100vh; overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .15  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, header, nav { position: relative; z-index: 1; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--tape); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hidden { display: none !important; }
.dim { color: var(--ink-2); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: var(--space-2); }
.row.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.stack > * + * { margin-top: var(--space-3); }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.ic, .logo-mark { fill: currentColor; }

/* ---------- top bar & logo ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 1080px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 34px; color: var(--ink); }
.wm { display: inline-flex; align-items: center; font: 900 26px/1 var(--font-display); letter-spacing: .02em; }
.wm-b { background: var(--tape); color: var(--on-tape); padding: 2px 7px 1px; margin-left: 4px; transform: rotate(-3deg); box-shadow: var(--shadow-s); border: 2px solid var(--line); }
.who { font-size: 13px; color: var(--ink-2); font-weight: 600; text-align: right; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 8px 16px 96px; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .015em; line-height: .98; margin: 0 0 var(--space-3); font-weight: 800; }
.page-title { font-size: clamp(38px, 11vw, 60px); margin-bottom: var(--space-4); }
.page-title.big { font-size: clamp(44px, 14vw, 84px); }
h2 { font-size: 30px; } h3 { font-size: 22px; }
.section-title { margin-top: var(--space-6); }
.crumb { margin: 8px 0 6px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--space-3); font: 700 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hate); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hate) 30%, transparent); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- buttons, fields ---------- */
.btn {
  font: 700 15px/1 var(--font-body); letter-spacing: .01em; color: var(--ink);
  background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-s);
  min-height: 46px; padding: 0 16px; cursor: pointer; box-shadow: var(--shadow-s);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--line); }
.btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--line); }
.btn.primary { background: var(--tape); color: var(--on-tape); border-color: var(--ink); }
:root[data-theme="dark"] .btn.primary { border-color: #000; box-shadow: 2px 2px 0 #000; }
.btn.danger { color: var(--hate-text); }
.btn.ghost { background: transparent; box-shadow: none; border-style: dashed; }
.btn.small { min-height: 40px; padding: 0 12px; font-size: 14px; }
.btn.block { width: 100%; min-height: 52px; font-size: 17px; }
.field label, .field .lbl { display: block; font: 700 13px/1.3 var(--font-body); margin-bottom: 6px; letter-spacing: .02em; }
input[type=text], input[type=email], input[type=password], input:not([type]), select {
  width: 100%; min-height: 48px; padding: 0 12px; font: 500 16px var(--font-body); color: var(--ink);
  background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-s);
}
input::placeholder { color: var(--ink-2); opacity: .8; }
input[readonly] { background: var(--surface-2); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 36px; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--like); flex: none; }

.card { background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4); }
.callout { background: var(--surface-2); border: var(--bw) dashed var(--line); border-radius: var(--radius-s); padding: var(--space-3); font-size: 14px; }
.callout:not(.hidden) + * { margin-top: var(--space-4); }
.badge { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--font-body); padding: 5px 8px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); }
.badge.practice { background: var(--tape); color: var(--on-tape); border-color: var(--ink); }
:root[data-theme="dark"] .badge.practice { border-color: #000; }
.divider { text-align: center; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 2px dashed var(--line-soft); }
.sso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sso .btn { padding: 0 6px; }

/* ---------- landing ---------- */
.landing { display: grid; gap: var(--space-5); padding-top: var(--space-3); }
.poster-title { font-size: clamp(46px, 15vw, 96px); line-height: .9; margin-bottom: var(--space-4); }
.poster-title em { font-style: normal; background: var(--tape); color: var(--on-tape); padding: 0 .12em; display: inline-block; transform: rotate(-2deg); border: var(--bw) solid var(--ink); box-shadow: var(--shadow); margin-top: 6px; }
:root[data-theme="dark"] .poster-title em { border-color: #000; }
.lede { font-size: 18px; max-width: 34ch; margin: 0 0 var(--space-5); }
.demo { background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); padding: var(--space-3) var(--space-4); box-shadow: var(--shadow); max-width: 420px; transform: rotate(-1deg); }
.demo-head { display: flex; justify-content: space-between; gap: 8px; font: 800 20px/1 var(--font-display); text-transform: uppercase; margin-bottom: 8px; }
.demo-vs { color: var(--hate-text); }
.demo-fader .f-like { animation: tugw 5s ease-in-out infinite alternate; }
.demo-fader .f-knob { animation: tugk 5s ease-in-out infinite alternate; }
@keyframes tugw { from { width: 32%; } to { width: 74%; } }
@keyframes tugk { from { left: 32%; } to { left: 74%; } }
.login { max-width: 460px; width: 100%; }

/* ---------- tickets (dashboard) ---------- */
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ticket { position: relative; display: grid; grid-template-columns: 76px 1fr; text-decoration: none; color: var(--ink); background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .12s; }
.ticket:hover { transform: translate(-2px,-2px) rotate(-.4deg); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 66px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: var(--bw) solid var(--line); z-index: 1; }
.ticket::before { top: -11px; clip-path: inset(50% 0 0 0); } .ticket::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.stub { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 6px; border-right: 2px dashed var(--line); background: var(--surface-2); border-radius: 6px 0 0 6px; }
.stub b { font: 900 38px/1 var(--font-display); } .stub small { font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.tbody { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tbody h3 { margin: 0; }

/* ---------- layout owner ---------- */
.split { display: grid; gap: var(--space-5); }
.main-col, .side-col { min-width: 0; }
.addbar { position: relative; }
.suggest { margin-top: 8px; border: var(--bw) solid var(--line); border-radius: var(--radius-s); background: var(--surface); overflow: hidden; }
.suggest button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--line-soft); padding: 10px 12px; min-height: 56px; cursor: pointer; }
.suggest button:last-child { border-bottom: 0; }
.suggest button:hover, .suggest button:focus-visible { background: var(--tape); color: var(--on-tape); outline-offset: -3px; }
.suggest .dim { color: inherit; opacity: .8; }
.sharebox { display: flex; gap: 8px; } .sharebox input { font-family: ui-monospace, Consolas, monospace; font-size: 14px; min-width: 0; }
.sharebox input.flash { animation: flashbg .9s; }
@keyframes flashbg { 0% { background: var(--tape); } 100% { background: var(--surface-2); } }
.members { list-style: none; margin: 0; padding: 0; }
.members li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); min-height: 52px; }
.members li:last-child { border: 0; }

.cover { width: 44px; height: 44px; border-radius: 4px; flex: none; position: relative; overflow: hidden; border: 2px solid var(--line);
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.28) 0 2px, transparent 2.5px) 0 0/7px 7px, linear-gradient(135deg, var(--c1), var(--c2)); }
.cover::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; right: -9px; bottom: -9px; background: #111; border: 3px solid rgba(255,255,255,.35); }

/* ---------- song cards ---------- */
.songs, .plist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.song { position: relative; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; min-width: 0; }
.song.hit { animation: hit .5s var(--ease-pop); }
@keyframes hit { 0% { transform: scale(1); } 30% { transform: scale(1.025) rotate(-.4deg); } 100% { transform: none; } }
.s-head { display: grid; grid-template-columns: 40px 44px minmax(0,1fr) auto; gap: 10px; align-items: center; }
.rank { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.rank b { font: 900 38px/.9 var(--font-display); }
.move { display: inline-flex; align-items: center; gap: 2px; font: 700 11px/1 var(--font-body); margin-top: 4px; color: var(--ink-2); }
.move.up { color: var(--like-text); } .move.down { color: var(--hate-text); }
.move .ic { width: 9px; height: 9px; }
.song-title { font: 800 21px/1.02 var(--font-display); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.song-meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.pop { text-align: center; border: 2px solid var(--line); border-radius: 4px; padding: 3px 6px 2px; background: var(--surface-2); min-width: 54px; position: relative; }
.pop small { display: block; font: 700 9px/1 var(--font-body); letter-spacing: .12em; color: var(--ink-2); }
.pop b { display: block; font: 900 20px/1 var(--font-display); }
.pop svg.spark { display: block; width: 100%; height: 12px; color: var(--ink); }
.pop.none { border-style: dashed; font-size: 11px; color: var(--ink-2); line-height: 1.1; padding: 6px; max-width: 70px; }

/* the tug-of-war fader */
.fader { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; }
.f-end { color: var(--ink); display: flex; width: 22px; justify-content: center; }
.f-end .ic { width: 18px; height: 18px; }
.f-track { position: relative; flex: 1; height: 18px; display: flex; border: 2px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.f-like { width: 50%; background: var(--like); transition: width .6s var(--ease-pop); }
.f-hate { flex: 1; background: repeating-linear-gradient(135deg, var(--hate) 0 5px, color-mix(in srgb, var(--hate) 55%, var(--surface)) 5px 9px); }
.fader.none .f-like, .fader.none .f-hate { background: transparent; }
.f-track::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dotted var(--ink); opacity: .45; }
.f-knob { position: absolute; top: 50%; left: 50%; width: 14px; height: 28px; margin: -14px 0 0 -7px; background: var(--tape); border: 2px solid var(--ink); border-radius: 3px; box-shadow: 1px 1px 0 var(--ink); transition: left .6s var(--ease-pop); z-index: 2; }
.f-knob::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; border-left: 2px solid var(--ink); }
.f-track { overflow: visible; }
.f-like { border-radius: 99px 0 0 99px; } .f-hate { border-radius: 0 99px 99px 0; }
:root[data-theme="dark"] .f-knob { border-color: #000; box-shadow: none; }
:root[data-theme="dark"] .f-knob::after { border-color: #000; }

.s-score { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.score { font: 900 30px/1 var(--font-display); letter-spacing: .01em; }
.score.pos { color: var(--like-text); } .score.neg { color: var(--hate-text); }
.tally { display: flex; gap: 12px; font: 700 14px/1 var(--font-body); }
.tally span { display: inline-flex; align-items: center; gap: 5px; }
.troops { display: flex; justify-content: space-between; gap: 8px; min-height: 26px; margin: 6px 0 10px; }
.tgroup { display: flex; gap: 3px; flex-wrap: wrap; align-items: center; min-width: 0; }
.tgroup.r { justify-content: flex-end; }
.disc { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font: 800 12px/1 var(--font-body); border: 2px solid var(--ink); }
:root[data-theme="dark"] .disc { border-color: #000; }
.disc.like { background: var(--like); color: var(--on-like); border-radius: 50%; }
.disc.hate { background: var(--hate); color: var(--on-hate); border-radius: 3px; }
.disc.me { outline: 2px solid var(--tape); outline-offset: 1px; }
.disc.more { background: transparent; color: var(--ink-2); border: 0; width: auto; padding: 0 3px; }

.vote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font: 700 16px/1 var(--font-body); color: var(--ink); background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-s); cursor: pointer; box-shadow: var(--shadow-s); transition: transform .08s, box-shadow .08s, background .15s; }
.vbtn .ic { width: 20px; height: 20px; }
.vbtn.like .ic-main { color: var(--like-text); } .vbtn.hate .ic-main { color: var(--hate-text); }
.vbtn .chk { display: none; }
.vbtn:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--line); }
.vbtn:active { transform: translate(2px,2px); box-shadow: none; }
.vbtn[aria-pressed="true"] { box-shadow: inset 3px 3px 0 rgba(0,0,0,.25); transform: translate(1px,1px); border-color: var(--ink); }
:root[data-theme="dark"] .vbtn[aria-pressed="true"] { border-color: #000; }
.vbtn.like[aria-pressed="true"] { background: var(--like); color: var(--on-like); }
.vbtn.hate[aria-pressed="true"] { background: var(--hate); color: var(--on-hate); }
.vbtn.fine[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); border-style: dashed; }
.vbtn[aria-pressed="true"] .ic-main { color: inherit; }
.vbtn[aria-pressed="true"] .chk { display: inline-block; }
.vbtn.pop-anim .ic-main { animation: popi .45s var(--ease-pop); }
@keyframes popi { 0% { transform: scale(.4) rotate(-30deg); } 100% { transform: none; } }

.locked { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 10px 12px; border: var(--bw) dashed var(--line); border-radius: var(--radius-s); background: var(--surface-2); }
.owner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reasons { margin-top: 10px; display: grid; gap: 4px; }
.reason { font: 700 21px/1.05 var(--font-hand); transform: rotate(-.6deg); padding-left: 10px; border-left: 3px solid var(--tape); }
.reason .by { font: 600 12px var(--font-body); color: var(--ink-2); }

.song.practice { background: var(--surface-2); }
.song.practice::before { content: ""; position: absolute; top: -9px; right: 22px; width: 64px; height: 20px; background: var(--tape); opacity: .92; transform: rotate(4deg); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.stamp { margin-left: auto; flex: none; transform: rotate(-8deg); font: 900 17px/1 var(--font-display); letter-spacing: .06em; color: var(--hate-text); border: 3px solid var(--hate-text); border-radius: 4px; padding: 3px 7px 1px; background: color-mix(in srgb, var(--surface) 70%, transparent); pointer-events: none; }
.song.stamping .stamp { animation: slam .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes slam { 0% { transform: scale(3.2) rotate(-20deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(-8deg); opacity: 1; } }
.empty { text-align: center; padding: 24px; font: 800 24px var(--font-display); color: var(--ink-2); text-transform: uppercase; }

/* ---------- showdown (head to head) ---------- */
.showdown { position: relative; background: var(--ink); color: var(--bg); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 14px; margin-bottom: var(--space-4); }
:root[data-theme="dark"] .showdown { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.sd-kicker { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font: 700 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.sd-kicker b { background: var(--tape); color: var(--on-tape); padding: 3px 7px; border-radius: 3px; }
.sd-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contender { background: var(--surface); color: var(--ink); border: var(--bw) solid var(--line); border-radius: var(--radius-s); padding: 10px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.contender .song-title { font-size: 19px; }
.contender .vote { grid-template-columns: 1fr; }
.contender .vbtn { min-height: 44px; font-size: 15px; }
.contender .fader { margin: 4px 0 2px; } .contender .f-end { display: none; }
.contender .score { font-size: 26px; }
.vs { position: absolute; left: 50%; top: 40px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: var(--tape); color: var(--on-tape); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 900 16px var(--font-display); z-index: 3; transform: rotate(-8deg); }
:root[data-theme="dark"] .vs { border-color: #000; }
.vs .ic { width: 22px; height: 22px; }

/* ---------- practice paper ---------- */
.setlist-paper { position: relative; margin-top: 24px; background: var(--surface); border: var(--bw) solid var(--line); box-shadow: var(--shadow); padding: 28px 16px 20px; transform: rotate(-.4deg); max-width: 640px;
  background-image: repeating-linear-gradient(transparent 0 35px, color-mix(in srgb, var(--like) 25%, transparent) 35px 36px); background-color: var(--surface); }
.setlist-paper .tape { position: absolute; top: -12px; width: 80px; height: 24px; background: var(--tape); opacity: .9; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.setlist-paper .t1 { left: 14px; transform: rotate(-6deg); } .setlist-paper .t2 { right: 14px; transform: rotate(5deg); }
.plist { counter-reset: n; gap: 0; }
.plist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; min-height: 72px; padding: 6px 0; border-bottom: 2px dashed var(--line-soft); }
.plist li:last-child { border: 0; }
.plist .n { font: 900 44px/1 var(--font-display); }
.plist .t { font: 800 26px/1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.plist .a { font: 700 22px var(--font-hand); color: var(--ink-2); }
.plist .tick { color: var(--like-text); width: 28px; height: 28px; }

/* ---------- misc ---------- */
.join-hero { margin: var(--space-4) 0 var(--space-5); }
.form-card { max-width: 480px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 14px/1 var(--font-body); min-height: 40px; padding: 0 12px; border-radius: 99px; background: var(--surface); color: var(--ink); border: 2px solid var(--line); cursor: pointer; }
.chip:hover { background: var(--tape); color: var(--on-tape); }
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,8,5,.6); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 520px; background: var(--surface); border: var(--bw) solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); animation: sheet .3s var(--ease-pop); }
@keyframes sheet { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h2 { margin-bottom: 0; }
.toasts { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: var(--bg); font: 600 15px/1.3 var(--font-body); padding: 12px 16px; border-radius: var(--radius-s); border-left: 8px solid var(--tape); box-shadow: 4px 4px 0 rgba(0,0,0,.3); max-width: 420px; animation: toast .3s var(--ease-pop); }
.toast.error { border-left-color: var(--hate); }
@keyframes toast { from { transform: translateY(20px) scale(.9); opacity: 0; } }

/* winner moment */
.moment { position: fixed; inset: 0; z-index: 130; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(10,8,5,.72); text-align: center; padding: 24px; color: #F3EBDA; cursor: pointer; animation: fadein .2s both; overflow: hidden; }
@keyframes fadein { from { opacity: 0; } }
.m-stamp { font: 900 clamp(54px, 18vw, 120px)/.9 var(--font-display); color: var(--on-tape); background: var(--tape); padding: 6px 18px 2px; border: 5px solid #1c1915; transform: rotate(-4deg); box-shadow: 8px 8px 0 #000; animation: slam .6s cubic-bezier(.2,1.6,.4,1) both; }
.m-title { margin-top: 28px; font: 800 clamp(26px, 8vw, 44px)/1 var(--font-display); text-transform: uppercase; }
.m-sub { margin-top: 8px; font: 600 16px var(--font-body); opacity: .9; }
.strip { position: absolute; top: -30px; left: var(--x); width: 10px; height: 26px; background: var(--c); transform: rotate(var(--r)); animation: fall var(--d) linear var(--dl) both; }
@keyframes fall { to { transform: translateY(110vh) rotate(calc(var(--r) + 540deg)); } }

/* ---------- wide ---------- */
@media (min-width: 720px) {
  .landing { grid-template-columns: 1.2fr .8fr; align-items: center; gap: var(--space-7); padding-top: var(--space-6); }
  .split { grid-template-columns: minmax(0,1fr) 340px; align-items: start; }
  .side-col { position: sticky; top: 56px; }
  .overlay { align-items: center; } .sheet { border-bottom: var(--bw) solid var(--line); border-radius: 12px; }
  .sd-grid { gap: 28px; } .vs { top: 50px; }
  .sd-grid .contender .vote { grid-template-columns: 1fr 1fr; }
  .song { padding: 14px 16px; }
  .setlist-paper { padding: 36px 32px 28px; }
}

/* ---------- reduced motion: no movement, state still readable ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .dot { animation: none; }
  .demo-fader .f-like { animation: none; width: 62%; } .demo-fader .f-knob { animation: none; left: 62%; }
  .strip { display: none; }
}
