/* Earfling. Plum, hot pink and record grooves. Phone-first: on a phone the app
   fills the screen; on a wide screen it sits in a phone frame beside some notes.
   Tokens follow the design review (31 Oct 2026); text pairs checked for WCAG AA. */
:root{
  --bg:#110C1B; --surface:#1D162B; --raised:#292039; --ink:#F6F0FB; --muted:#BCB0CC; --line:#42334F;
  --rouge:#FF7199; --rouge-ink:#261221; --ticket:#FFD477; --ticket-ink:#302216; --sky:#9BBCFF; --moon:#BCB0CC; --green:#B5E6BE;
  --chip:#292039; --frame:#000; --scrim:rgba(8,5,13,.8);
  --r-ctrl:12px; --r-cover:15px; --r-panel:22px;
  --display:"Unbounded","Arial Black",system-ui,sans-serif;
  --body:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{background:var(--bg)}
body{color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.45;margin:0;-webkit-tap-highlight-color:transparent}
a{color:inherit}
button,input,select{font:inherit;color:inherit}
button{touch-action:manipulation}
[hidden]{display:none!important}
:where(button,a,input,select,summary,[tabindex]):focus-visible{outline:3px solid var(--ticket);outline-offset:2px;border-radius:10px}

/* ---------- shell ---------- */
.wrap{display:flex;gap:40px;justify-content:center;align-items:flex-start;padding:28px 16px}
.notes{max-width:300px;min-width:0;display:flex;flex-direction:column;gap:14px;padding-top:12px}
.notes h1{font-family:var(--display);font-weight:800;font-size:30px;letter-spacing:-.05em;margin:0;line-height:1}
.notes h1 span{color:var(--rouge)}
.notes p{margin:0;color:var(--muted)}
.jump{display:flex;flex-direction:column;gap:6px}
.jump button{all:unset;cursor:pointer;padding:9px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-weight:500;display:flex;justify-content:space-between}
.jump button[aria-current="true"]{border-color:var(--rouge);color:var(--rouge)}
.status{font-size:13px;display:flex;flex-direction:column;gap:6px}
.status div{display:flex;gap:8px;align-items:center}
.dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}
.dot.on{background:var(--green)}.dot.off{background:var(--rouge)}
.phone{width:390px;height:812px;max-height:calc(100vh - 40px);min-height:660px;background:var(--frame);border-radius:46px;padding:10px;box-shadow:0 30px 70px -20px #000a;flex:none}
.screen{height:100%;border-radius:36px;background:var(--bg);overflow:hidden;position:relative;display:flex;flex-direction:column}
@media (max-width:440px){
  .wrap{padding:0;display:block}.notes{display:none}
  .phone{width:100%;height:100dvh;max-height:none;min-height:0;padding:0;border-radius:0;background:var(--bg);box-shadow:none}
  .screen{border-radius:0}
}

.view{flex:1;display:flex;flex-direction:column;padding:18px 18px 20px;gap:14px;overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-top:max(18px,env(safe-area-inset-top))}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}
.logo{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.06em}
.logo span{color:var(--rouge)}.logo i{font-style:normal;font-size:15px;margin-left:3px;color:var(--rouge)}
.avatar{background:#3C2940;color:var(--rouge);border:1px solid #674252;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-weight:700;font-size:14px}
.step{font-family:var(--mono);font-size:11px;color:var(--muted)}
.label{font-size:10.5px;letter-spacing:.14em;font-weight:700;text-transform:uppercase;color:var(--muted)}
.hl,em{color:var(--rouge);font-style:normal}
h2{font-family:var(--display);font-weight:700;font-size:23px;line-height:1.12;margin:0;letter-spacing:-.05em;text-wrap:balance}
h2.h1{font-size:28px;margin-top:4px}
h3{font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:-.04em;margin:0;line-height:1.2}
.sub{color:var(--muted);margin:0}
.hint{font-size:11.5px;color:var(--muted);text-align:center;margin:0}
.hint a{color:var(--muted)}
.spacer{flex:1}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sectionhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:6px}

/* ---------- controls ---------- */
.btn{all:unset;box-sizing:border-box;cursor:pointer;text-align:center;font-weight:700;padding:14px 20px;min-height:48px;border-radius:999px;background:var(--rouge);color:var(--rouge-ink);font-size:15.5px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.btn:hover{background:#FF95B2}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.ghost:hover{background:var(--raised)}
.btn.small{padding:9px 15px;min-height:40px;font-size:14px}
.btn[disabled]{opacity:.45;cursor:default}
.btn:focus-visible{outline:3px solid var(--ticket);outline-offset:3px}
.icon-btn{all:unset;cursor:pointer;color:var(--muted);font-size:13px;padding:8px 10px;min-height:28px;border-radius:999px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.icon-btn:hover{color:var(--ink);background:var(--raised)}
.icon-btn[disabled]{opacity:.4;cursor:default;background:none}
.textbtn{all:unset;cursor:pointer;color:var(--rouge);font-size:13px;font-weight:600;padding:6px 2px;align-self:flex-start}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{all:unset;cursor:pointer;padding:9px 15px;min-height:20px;border-radius:999px;border:1px solid var(--line);font-weight:500;font-size:13.5px}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
input[type=text],input[type=email],select{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--r-ctrl);padding:13px 14px;width:100%;min-width:0;font-size:16px}
input[type=text]:focus,input[type=email]:focus{outline:none;border-color:var(--rouge)}
.addrow{display:flex;gap:8px}
.addrow .btn{flex:none}
.empty{color:var(--muted);text-align:center;padding:22px 16px;border:1px dashed var(--line);border-radius:16px}
.empty.slim{padding:12px;font-size:13px}
.empty.fancy{border:1px solid var(--line);background:linear-gradient(160deg,#39233E,var(--surface));color:var(--ink);display:flex;flex-direction:column;gap:8px;align-items:center}
.empty.fancy strong{font-family:var(--display);letter-spacing:-.04em;font-size:16px}
.empty.fancy p{margin:0;color:var(--muted);font-size:13.5px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-panel);padding:18px}
.panel.cta{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:var(--r-panel);border:1px solid var(--line);background:linear-gradient(160deg,#39233E,var(--surface))}
.panel.cta strong{font-family:var(--display);font-size:18px;letter-spacing:-.05em;line-height:1.25}
.panel.cta .go{color:var(--rouge);font-weight:700;font-size:14px}

/* ---------- hero panels with a record ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#4C243C,#2A1A38);border:1px solid #674252;border-radius:var(--r-panel);padding:22px;display:flex;align-items:center;min-height:200px;flex:none}
.hero .copy{position:relative;z-index:1;max-width:76%;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.hero h3{font-size:24px;line-height:1.15}
.hero p{margin:0;color:#DAC6DB;font-size:13.5px}
.hero .btn{margin-top:6px}
.vinyl{width:200px;height:200px;border-radius:50%;background:repeating-radial-gradient(circle,#17111F 0 2px,#302337 3px 4px);border:1px solid #705365;display:grid;place-items:center;box-shadow:0 20px 70px #10081770;position:absolute;right:-92px;top:50%;translate:0 -50%;rotate:-20deg;flex:none}
.vinyl:before{content:'e♥';font:700 22px var(--display);letter-spacing:-.05em;background:var(--rouge);color:#291220;border-radius:50%;width:72px;height:72px;display:grid;place-items:center}
.welcome-hero{flex:1;flex-direction:column;align-items:flex-start;justify-content:center;background:none;border:0;padding:0;min-height:0}
.welcome-hero .copy{max-width:100%}
.welcome-hero .vinyl{position:relative;right:auto;top:auto;translate:none;width:170px;height:170px;align-self:flex-end;margin-top:6px}
.big{font-family:var(--display);font-weight:800;font-size:38px;line-height:1.05;letter-spacing:-.06em;margin:0}
.joinform{display:flex;flex-direction:column;gap:8px}
.tapehero .tapename{font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:-.05em;padding:4px 6px;margin-left:-6px;background:transparent;border-color:transparent;width:100%}
.tapehero .tapename:hover{border-color:#674252}
.tapehero .tapename:focus{background:#1d162b99}
.tapehero .row{margin-top:4px}.tapehero .btn{margin:0}
.tapehero .btn.ghost{border-color:#78536B}
.party-hero .copy{max-width:80%}

/* ---------- onboarding ---------- */
.progress{height:4px;background:var(--raised);border-radius:3px;overflow:hidden;flex:none}
.progress i{display:block;height:100%;background:var(--rouge);border-radius:3px}
.stickynext{position:sticky;bottom:-20px;margin:0 -18px -20px;padding:12px 18px 20px;background:linear-gradient(transparent,var(--bg) 35%);display:flex;flex-direction:column}
.pickcount{color:var(--rouge);font-weight:700}
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.tile{all:unset;box-sizing:border-box;cursor:pointer;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;padding:8px;min-height:64px;display:flex;align-items:center;gap:8px;min-width:0}
.tile svg{width:58px;height:auto;aspect-ratio:100/80;flex:none}
.tile .txt{display:flex;flex-direction:column;min-width:0}
.tile .yr{font-family:var(--display);font-weight:700;font-size:17px;line-height:1.1}
.tile .what{font-size:12.5px;color:var(--muted);line-height:1.25}
.tile[aria-pressed="true"]{border-color:var(--rouge);border-width:2px;background:#33203A}
.tile:last-child:nth-child(odd){grid-column:1/-1;justify-content:center}
.f0{fill:var(--ink)}.f1{fill:var(--rouge)}.f2{fill:var(--sky)}.f3{fill:var(--ticket)}.fp{fill:var(--surface)}
.st{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.fave{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:10px}
.fave-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fave-head strong{font-size:16px;min-width:0;overflow-wrap:anywhere}
.depth{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.depth button{all:unset;cursor:pointer;text-align:center;font-size:11.5px;line-height:1.2;padding:8px 2px;min-height:28px;border-radius:9px;background:var(--chip);font-weight:500;display:grid;place-items:center}
.depth button[aria-pressed="true"]{background:var(--rouge);color:var(--rouge-ink)}
.list{display:flex;flex-direction:column;gap:8px}

/* ---------- home ---------- */
.moods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
/* Home "Play a mix": numbered steps, mixtape tiles in a sideways row, mood rows with a play button */
.mixhead{margin-top:6px}.mixhead h3{font-family:var(--display);font-size:20px;letter-spacing:-.04em;margin:0}.mixhead .sub{margin:4px 0 0}
.mixstep{display:flex;align-items:center;gap:10px;margin:14px 0 -4px}
.mixstep i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--rouge);color:var(--rouge-ink);font-weight:800;font-size:13px;display:grid;place-items:center;flex:none}
.mixstep b{font-weight:600;font-size:15px}
.tapetiles{flex:none;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:18px;margin:0 -18px;padding:4px 18px 6px;scrollbar-width:none}
.tapetiles::-webkit-scrollbar{display:none}
.tapetile{all:unset;box-sizing:border-box;cursor:pointer;flex:none;width:112px;scroll-snap-align:start;display:flex;flex-direction:column}
.tapetile .tcov{flex:none;width:112px;height:112px;border-radius:16px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;position:relative;border:2px solid transparent;background:var(--surface)}
.tapetile .tcov span{background-size:cover;background-position:center}
.tapetile[aria-pressed="true"] .tcov{border-color:var(--rouge);box-shadow:0 0 0 3px rgba(255,113,153,.25)}
.tapetile[aria-pressed="true"] .tcov::after{content:"✓";position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;background:var(--rouge);color:var(--rouge-ink);font-weight:800;font-size:13px;display:grid;place-items:center}
.tapetile b{font-weight:600;font-size:14px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tapetile small{color:var(--muted);font-size:12.5px}
.tapetile:focus-visible .tcov{outline:3px solid var(--ticket);outline-offset:2px}
.moodlist{display:flex;flex-direction:column;gap:10px}
.moodrow{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:12px 14px}
.moodrow:active{background:var(--raised)}
.moodrow .em{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:22px;flex:none}
.moodrow .t{flex:1;min-width:0;display:flex;flex-direction:column}.moodrow strong{font-weight:600;font-size:16px}.moodrow small{color:var(--muted);font-size:13.5px;line-height:1.35}
.buildmix{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:48px 8px 24px}
.buildmix h3{font-family:var(--display);font-size:22px;letter-spacing:-.04em;margin:8px 0 0}
.buildmix .vinyl{position:relative;inset:auto;right:auto;top:auto;translate:none;rotate:none;width:180px;height:180px;margin:0}
.buildmix .vinyl.spin{animation:bmspin 2.4s linear infinite}
@keyframes bmspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.buildmix .vinyl.spin{animation:none}}
.moodrow .play{width:38px;height:38px;border-radius:50%;background:var(--rouge);color:var(--rouge-ink);display:grid;place-items:center;font-size:14px;flex:none}
#moods{grid-template-columns:repeat(2,1fr)}
.mood{all:unset;box-sizing:border-box;cursor:pointer;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:13px 11px;display:flex;flex-direction:column;gap:4px;min-height:76px}
.mood strong{font-family:var(--display);font-size:13.5px;letter-spacing:-.04em;line-height:1.15}
.mood small{color:var(--muted);font-size:11.5px;line-height:1.3}
.mood:hover{border-color:var(--rouge)}
.mood[aria-busy="true"]{border-color:var(--rouge);background:#33203A}

/* ---------- discover: everything on one screen ---------- */
.discover{overflow:hidden;gap:10px;padding-bottom:12px}
.dhead{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;flex:none}
.dhead .min{min-width:0}
.dhead h2{font-size:22px;margin-top:3px}
.undo{border:1px solid var(--line);padding:8px 12px;color:var(--ink)}
.addto{all:unset;cursor:pointer;flex:none;font-size:13px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:7px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:flex-start;max-width:100%;box-sizing:border-box}
.addto strong{color:var(--ink)}.addto .label{font-size:9.5px}
.deck{position:relative;flex:1;min-height:300px}
.card{position:absolute;inset:0;border-radius:24px;background:var(--surface);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .2s ease-out,opacity .2s ease-out;will-change:transform}
.card.dragging{transition:none}
.card.under{transform:scale(.95) translateY(8px);opacity:.6;pointer-events:none}
.art{height:clamp(118px,27vh,230px);position:relative;display:flex;align-items:flex-end;padding:14px;color:#fff;flex:none;overflow:hidden}
.art .mono{position:absolute;bottom:-14px;right:-4px;font-family:var(--display);font-weight:800;font-size:92px;line-height:1;opacity:.5;letter-spacing:-.08em;color:#FFE8EF}
.art .because,.art .kind{font-size:10px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;background:#211527d9;color:var(--ink);padding:6px 10px;border-radius:999px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;z-index:1}
.art .kind{position:absolute;top:12px;left:14px;background:var(--ticket);color:var(--ticket-ink)}
.art .wave{position:absolute;left:14px;right:14px;top:16px;height:36px;display:flex;align-items:center;gap:3px;opacity:.35}
.art .wave b{flex:1;background:#fff;border-radius:2px}
.art img.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.art img.cover~.wave,.art img.cover~.mono{display:none}
.art .credit{position:absolute;top:10px;right:12px;z-index:1;font-size:9px;letter-spacing:.1em;font-weight:700;text-transform:uppercase;background:#0008;padding:3px 7px;border-radius:5px}
.info{padding:14px 16px 12px;display:flex;flex-direction:column;gap:6px;flex:1;min-height:0;overflow:hidden}
.name{font-family:var(--display);font-weight:700;font-size:23px;margin:0;line-height:1.08;letter-spacing:-.05em;overflow-wrap:anywhere}
.meta{font-size:13px;color:var(--muted)}
.rows{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;font-size:13.5px;margin:2px 0 0;line-height:1.35}
.rows dt{font-size:10px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:var(--muted);padding-top:2px}
.rows dt:nth-of-type(2){color:var(--green)}.rows dt:nth-of-type(3){color:var(--rouge)}
.rows dd{margin:0;min-width:0}
.songline{display:flex;gap:12px;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid var(--line)}
.yt{all:unset;cursor:pointer;width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;flex:none;text-decoration:none}
.songline .t{font-size:13.5px;min-width:0}
.songline .t strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.songline .t small{color:var(--muted)}
.stamp{position:absolute;top:22px;left:50%;transform:translateX(-50%) rotate(-8deg);font-family:var(--display);font-weight:800;font-size:19px;padding:6px 12px;border:3px solid currentColor;border-radius:10px;opacity:0;pointer-events:none;white-space:nowrap;background:var(--surface);z-index:3}
.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;flex:none}
.act{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;min-height:76px;padding:8px 3px;border:1px solid var(--line);border-radius:17px;background:var(--surface);font-size:12px;font-weight:600;line-height:1.15;transition:transform .12s}
.act b{font-size:21px;line-height:1;margin-bottom:3px}
.act small{display:block;font-size:10px;font-weight:500;color:var(--muted)}
.act:active{transform:scale(.96)}
.act.search{color:var(--sky)}
.act.gig{background:var(--ticket);color:var(--ticket-ink);border-color:var(--ticket)}.act.gig small{color:#513D27}
.act[disabled]{opacity:.4;pointer-events:none}
.act.lit{box-shadow:0 0 0 3px var(--rouge)}
.loading{position:absolute;inset:0;border-radius:24px;border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px}
.loading p{margin:0;max-width:28ch}
.loading .sk{width:100%;display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.loading .sk i{display:block;height:12px;border-radius:6px;background:var(--raised);animation:sk 1.2s ease-in-out infinite alternate}
.loading .sk i:first-child{height:90px;border-radius:16px}
@keyframes sk{to{opacity:.45}}
.eq{display:flex;gap:5px;align-items:flex-end;height:40px}
.eq i{width:8px;border-radius:5px;background:var(--rouge);animation:eq 1s ease-in-out infinite alternate}
.eq i:nth-child(2){background:var(--ticket);animation-delay:-.3s}.eq i:nth-child(3){animation-delay:-.6s}.eq i:nth-child(4){background:var(--sky);animation-delay:-.15s}.eq i:nth-child(5){animation-delay:-.45s}
@keyframes eq{from{height:20%}to{height:100%}}
.coach{position:absolute;inset:0;z-index:4;pointer-events:none}
.coach .cl{position:absolute;font-family:var(--display);font-weight:700;font-size:11.5px;background:var(--ink);color:var(--bg);padding:6px 10px;border-radius:999px;white-space:nowrap;opacity:.35;transition:opacity .25s,transform .25s}
.coach .cl.on{opacity:1;transform:scale(1.06)}
.coach .up{top:-10px;left:50%;translate:-50% 0}.coach .down{bottom:-10px;left:50%;translate:-50% 0}
.coach .left{left:-4px;top:30%;translate:0 -50%}.coach .right{right:-4px;top:30%;translate:0 -50%}
.coach .up.on{background:var(--ticket);color:var(--ticket-ink)}.coach .right.on{background:var(--sky);color:#111}
.coach .box{position:absolute;left:50%;bottom:30px;translate:-50% 0;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;width:min(260px,84%);text-align:center;display:flex;flex-direction:column;gap:10px;pointer-events:auto;box-shadow:0 18px 40px -12px #000c}
.coach .box strong{font-family:var(--display);font-size:16px;letter-spacing:-.04em}
.coach .box p{margin:0;font-size:13.5px;color:var(--muted)}
.pulse{animation:pulse .5s ease}
@keyframes pulse{50%{transform:scale(1.05);border-color:var(--rouge)}}

/* ---------- mixtapes ---------- */
.taste{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:8px}
.taste p{margin:0}
.taste .summ{font-size:14px;margin:8px 0}
.taste summary{cursor:pointer;color:var(--rouge);font-size:13px;font-weight:600}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tags span{font-size:12.5px;background:var(--raised);padding:7px 11px;border-radius:999px}
.tags.quiet span{background:none;border:1px solid var(--line);color:var(--muted)}
.counts{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.counts span{font-size:10px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;background:var(--chip);padding:4px 8px;border-radius:6px;color:var(--muted)}
.track{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);transition:opacity .25s,transform .25s;min-height:56px}
.track.gone{opacity:0;transform:translateX(-30px)}
.track .t{flex:1;min-width:0}
.track .t strong{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.track .t small{color:var(--muted);display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.track .yt{width:40px;height:40px;background:none;color:var(--ink);border:1px solid var(--line)}
.track .btn.small{flex:none}
.sw{width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;color:#fff;font-family:var(--display);font-weight:800;font-size:13px;letter-spacing:-.04em}
.sw.sm{width:38px;height:38px;font-size:11px;border-radius:10px}
.down{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--muted);border:1px solid var(--line);flex:none;box-sizing:border-box}
.down:hover{color:var(--rouge);border-color:var(--rouge)}
.ctape{border-bottom:1px solid var(--line)}
.ctape .track{border:0}
.ctape summary{cursor:pointer;padding:0 0 10px 58px;font-size:13px;color:var(--rouge)}
.ctape ol{margin:0;padding:0 0 12px 76px;font-size:13.5px;display:flex;flex-direction:column;gap:4px}
.ctape ol a{text-decoration:none}
.vote{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;font-size:12px;font-weight:700;padding:5px 10px;border-radius:12px;border:1px solid var(--line);min-width:30px;flex:none}
.vote[aria-pressed="true"]{color:var(--rouge);border-color:var(--rouge)}
.vote[disabled]{opacity:.5;cursor:default}

/* ---------- play ---------- */
.ytstage{width:100%;aspect-ratio:16/9;min-height:200px;min-width:200px;background:#000;flex:none;border-radius:15px;overflow:hidden}
.ytstage iframe,.ytstage>div{width:100%;height:100%;display:block;border:0}
.ytmsg{background:var(--surface);border:1px solid var(--rouge);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
.ytmsg p{margin:0}
.np{display:flex;flex-direction:column;gap:12px}
.np .art{height:auto;aspect-ratio:16/10;border-radius:18px}
.np .title{font-family:var(--display);font-weight:700;font-size:22px;line-height:1.1;margin:0;overflow-wrap:anywhere}
.np .who{color:var(--muted);margin:2px 0 0}
.npmeta{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;letter-spacing:.12em;font-weight:700;color:var(--muted);text-transform:uppercase}
.ctrls{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ctrl{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11.5px;font-weight:500;text-align:center}
.ctrl span.o{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface)}
.ctrl.love span.o{color:var(--rouge)}.ctrl.nope span.o{color:var(--muted)}
.ctrl:hover span.o{border-color:var(--rouge)}
.ctrl[disabled]{opacity:.35;pointer-events:none}
.ext{align-self:center}
.note{font-size:13px;color:var(--muted);margin:0;font-style:italic}
.upnext .track{padding:7px 0;min-height:48px;cursor:pointer}
.upnext .down{width:36px;height:36px}

/* ---------- together + parties ---------- */
.partycode{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:12px 14px}
.partycode small{color:var(--muted);display:block}
.partycode strong{font-family:var(--display);font-size:28px;letter-spacing:.14em}
.track.req{border:1px solid var(--rouge);border-radius:16px;padding:10px 12px;background:#2A1A30;gap:8px}
.reqform{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.reqform .btn,.reqform select{grid-column:1/-1}
.badge{font-size:10px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;padding:4px 8px;border-radius:6px;background:var(--chip);flex:none}
.badge.accepted{background:var(--ticket);color:var(--ticket-ink)}.badge.refused{opacity:.6}
.netbar{background:var(--ticket);color:var(--ticket-ink);border-radius:12px;padding:9px 12px;font-size:13px;font-weight:600}

/* ---------- tab bar, toast, dialog ---------- */
.tabbar{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);background:#171020F5;padding:6px 6px calc(6px + env(safe-area-inset-bottom));flex:none;backdrop-filter:blur(18px)}
.tabbar button{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:500;color:var(--muted);padding:6px 0;border-radius:14px;min-height:40px}
.tabbar button[aria-current="true"]{color:var(--rouge);background:#2E1C2E}
.toast{position:absolute;left:50%;bottom:84px;transform:translateX(-50%) translateY(16px);background:var(--ink);color:var(--bg);padding:10px 12px 10px 16px;border-radius:14px;font-size:13px;opacity:0;transition:.25s;pointer-events:none;z-index:9;width:max-content;max-width:calc(100% - 28px);display:flex;align-items:center;gap:12px;box-shadow:0 8px 40px #0009}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto}
.toast button{all:unset;cursor:pointer;font-weight:700;color:#B0285A;padding:6px 8px;border-radius:8px;flex:none}
.modal{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:22px;width:min(360px,92%);flex-direction:column;gap:12px}
.modal[open]{display:flex}
.modal::backdrop{background:var(--scrim);backdrop-filter:blur(6px)}
.modal .close{position:absolute;right:10px;top:10px;font-size:22px}
.modal h2{padding-right:30px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media (max-height:700px){.art{height:118px}.rows{font-size:12.5px}.act{min-height:66px}.dhead h2{font-size:19px}}
.tapehero .copy{max-width:84%}.tapehero .vinyl{right:-128px}
.tapehero .tapename{font-size:20px}
.hero p.big{font-size:38px;color:var(--ink);margin:4px 0 6px}
.hero p.sub{color:var(--muted);font-size:15px}
/* onboarding picture tiles (Saturday night, Music is for) */
.picks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.pick{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:13.5px;font-weight:500;line-height:1.25;transition:transform .12s,border-color .15s}
.pick .ico{width:36px;height:36px;border-radius:50%;background:var(--raised);display:grid;place-items:center;font-size:19px}
.pick .tick{position:absolute;top:10px;right:10px;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;font-size:12px;font-weight:800}
.pick[aria-pressed="true"]{border-color:var(--rouge);background:#33203A}
.pick[aria-pressed="true"] .ico{background:var(--rouge)}
.pick[aria-pressed="true"] .tick{background:var(--rouge);border-color:var(--rouge);color:var(--rouge-ink)}
.pick:active{transform:scale(.97)}
/* listening settings */
button.avatar{all:unset;cursor:pointer;box-sizing:border-box;background:#3C2940;color:var(--rouge);border:1px solid #674252;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-weight:700;font-size:14px}
button.avatar:empty::before{content:'⚙';font-size:16px}
.setgroup{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:12px}
.setgroup.dim{opacity:.45}
.panel.set{display:flex;flex-direction:column;gap:12px}
.toggle{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:14px;justify-content:space-between;min-height:48px}
.toggle span{display:flex;flex-direction:column;gap:3px;min-width:0}
.toggle small{color:var(--muted);font-size:12.5px;line-height:1.35}
.toggle i{flex:none;width:48px;height:28px;border-radius:999px;background:var(--raised);border:1px solid var(--line);position:relative;transition:background .15s}
.toggle i::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--muted);transition:transform .15s,background .15s}
.toggle[aria-checked="true"] i{background:var(--rouge);border-color:var(--rouge)}
.toggle[aria-checked="true"] i::after{transform:translateX(20px);background:var(--rouge-ink)}
.setrow{display:flex;flex-direction:column;gap:8px}
.lockbox{display:flex;flex-direction:column;gap:8px;border-color:var(--ticket)}
input[type=password]{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--r-ctrl);padding:13px 14px;width:100%;min-width:0;font-size:16px;letter-spacing:.3em}
input[type=password]:focus{outline:none;border-color:var(--rouge)}
.reportai{all:unset;cursor:pointer;align-self:flex-start;font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:2px;padding:2px 0}
/* family profiles */
.kidrules ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;line-height:1.4}
.kid{display:flex;flex-direction:column;gap:10px}
.kid .row{display:flex;gap:8px;flex-wrap:wrap}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.4;color:var(--muted)}
.consent input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:var(--rouge)}
.famform{display:flex;flex-direction:column;gap:10px}
.famform input[type=text]{width:100%;box-sizing:border-box}

/* ---------- pricing mock-ups (?mock=pricing only) ---------- */
.mkflag{background:var(--ticket);color:var(--ticket-ink);border-radius:12px;padding:8px 12px;font-size:12px;font-weight:700;flex:none}
.mkseg{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px;flex:none}
.mkseg button{all:unset;cursor:pointer;text-align:center;padding:9px 6px;border-radius:999px;font-weight:600;font-size:14px;color:var(--muted);display:flex;flex-direction:column;align-items:center;line-height:1.2}
.mkseg button small{font-size:10.5px;font-weight:700;color:var(--green)}
.mkseg button[aria-checked="true"]{background:var(--ink);color:var(--bg)}
.mkseg button[aria-checked="true"] small{color:#2F6B3B}
.mkseg.small button{font-size:12.5px;padding:7px 4px}
.mkplan{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-panel);padding:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.mkplan.best{background:linear-gradient(160deg,#4C243C,#2A1A38);border-color:var(--rouge)}
.mkplan.cur{border-color:var(--green)}
.mkplan .btn{margin-top:4px;align-self:stretch}
.mkbadge{position:absolute;top:-10px;right:14px;background:var(--rouge);color:var(--rouge-ink);font-size:10px;letter-spacing:.1em;font-weight:800;text-transform:uppercase;padding:4px 9px;border-radius:999px}
.mkplanhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;align-self:stretch}
.mkprice{font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:-.04em;white-space:nowrap}
.mkprice small{font-family:var(--body);font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0}
.mkeach{font-size:12.5px;color:var(--green);font-weight:600;margin-top:-4px}
.mkfeats{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:13.5px}
.mkfeats li::before{content:'♥';color:var(--rouge);margin-right:8px;font-size:11px}
.mk input[type=email]{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--r-ctrl);padding:13px 14px;width:100%;min-width:0;font-size:16px}
.mk input[type=email]:focus{outline:none;border-color:var(--rouge)}
.mk input.mkpass{letter-spacing:normal}
.mksoon{opacity:.5}
.mkgoogle{background:#fff;color:#1f1f1f;border:1px solid #dadce0}
.mkgoogle:hover{background:#f1f1f1}
.mkgoogle .g{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;border:2px solid #9aa0a6;color:#3c4043}
.mkor{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12.5px}
.mkor::before,.mkor::after{content:'';flex:1;border-top:1px solid var(--line)}
.mkpay{position:relative;padding-bottom:0}
.mkbehind{opacity:.4;display:flex;flex-direction:column;gap:6px}
.mksheet{margin:auto -18px 0;background:#fff;color:#1f1f1f;border-radius:26px 26px 0 0;padding:16px 20px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;box-shadow:0 -20px 60px #000a;position:relative}
.mksheet .grip{width:36px;height:4px;border-radius:2px;background:#c4c7c5;align-self:center}
.mkstamp{align-self:center;margin:-10px 0 -2px;rotate:-2deg;background:var(--ticket);color:var(--ticket-ink);border:2px dashed var(--ticket-ink);font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:8px;white-space:nowrap}
.mkapp{display:flex;gap:12px;align-items:center}
.mkapp strong{display:block;font-size:15px}.mkapp small{color:#5f6368;font-size:12.5px}
.mkicon{width:42px;height:42px;border-radius:11px;background:var(--rouge);color:var(--rouge-ink);display:grid;place-items:center;font:700 14px var(--display);letter-spacing:-.05em;flex:none}
.mkbig{font-size:24px;font-weight:700;letter-spacing:-.02em}
.mkfine{margin:0;font-size:12px;color:#5f6368;line-height:1.4}
.mkbig+.mkfine{margin-top:-8px}
.mklines{border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;padding:8px 0;display:flex;flex-direction:column;gap:6px}
.mkline{display:flex;justify-content:space-between;gap:10px;font-size:13.5px}
.mkline.faint{color:#5f6368;font-size:12px}
.mkmethod{display:flex;gap:12px;align-items:center;font-size:14px}
.mkmethod div{flex:1}.mkmethod small{display:block;color:#5f6368;font-size:12px}
.mkcard{width:36px;height:24px;border-radius:5px;background:repeating-linear-gradient(45deg,#c4c7c5 0 4px,#e3e3e3 4px 8px);flex:none}
.mkfake{border:2px dashed #b0b0b0;border-radius:10px;padding:12px;font-family:var(--mono);font-size:15px;color:#8a8a8a;display:flex;flex-direction:column;gap:2px;background:repeating-linear-gradient(135deg,#fafafa 0 8px,#f1f1f1 8px 16px)}
.mkfake span{font-size:10px;font-weight:700;letter-spacing:.12em;color:#b0285a}
.mkfake small{font-family:var(--body);font-size:11.5px}
.mksheet.play .mkpaybtn{background:#0b57d0;color:#fff}
.mksheet.card .mkpaybtn{background:#2a1a38;color:#fff}
.mksheet .mkpaybtn:hover{filter:brightness(1.1)}
.mkspin{width:16px;height:16px;border-radius:50%;border:2.5px solid #fff6;border-top-color:#fff;animation:mkspin .8s linear infinite}
@keyframes mkspin{to{rotate:360deg}}
.mkdone .vinyl{animation:mkspin 6s linear infinite}
.mkcur{display:flex;flex-direction:column;gap:8px}
.mkcur .row{margin-top:4px}
#mkkids .track{padding:6px 0;min-height:48px}
#mkkidform select{grid-column:auto}

/* ---------- share links, Snapchat, group mixtapes ---------- */
.sharerow{display:flex;flex-direction:column;gap:8px}
.sharerow .row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.btn.snap{background:#FFFC00;color:#000}.btn.snap:hover{background:#FFFD66}
.sharenote{all:unset;box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line);font-size:13.5px;font-weight:600}
.sharenote .go,.track .go{color:var(--rouge);font-weight:700}
.invite{margin:0;padding:12px 14px;border-radius:16px;background:var(--ticket);color:var(--ticket-ink);font-weight:600;font-size:14px}
.qrfull{position:fixed;inset:0;z-index:100;background:#fff;color:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px 16px;text-align:center}
.qrfull img{width:min(88vw,62vh);height:auto;image-rendering:pixelated}
.qrlead{margin:0;font:800 20px/1.2 var(--display);letter-spacing:-.04em;max-width:22ch}
.qrcode-txt{margin:0;font:900 clamp(40px,14vw,72px)/1 var(--display);letter-spacing:.12em}
.qrname{margin:0;font-size:15px;color:#333}
.qrclose{all:unset;position:absolute;top:14px;right:16px;font-size:34px;line-height:1;cursor:pointer;padding:6px 12px;color:#000}
.qrclose:focus-visible{outline:3px solid #000;border-radius:8px}
.mkplanrow{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:var(--r-panel);border:1px solid #674252;background:linear-gradient(115deg,#4C243C,#2A1A38)}
.mkrowtxt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.mkrowtxt strong{font-family:var(--display);font-size:17px;letter-spacing:-.04em}
.mkrowtxt small{color:var(--muted);font-size:12.5px}
.mkrowtxt small.label{font-size:10px;color:var(--muted)}
.mkpill{background:var(--rouge);color:var(--rouge-ink);font-weight:700;font-size:13px;padding:8px 13px;border-radius:999px;flex:none}
.mkchev{font-size:26px;color:var(--muted);flex:none}
.mkbrow{display:flex;align-items:center;gap:12px}
.mkbrow .mkrowtxt strong{font-family:var(--body);font-size:15px;letter-spacing:0}
.mkcard.dark{background:repeating-linear-gradient(45deg,#5a4a66 0 4px,#3a2e45 4px 8px)}
.mkhist{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:10px}
.mkhist .mkline{align-items:center;font-size:13px;color:var(--muted)}
.mkhist .textbtn,.mkhist .mkline>span:last-child{align-self:auto;padding:2px 0;white-space:nowrap;flex:none}
.mkbrow .btn{flex:none}
.mkprev{display:flex;flex-direction:column;gap:10px}
.mkprev summary{cursor:pointer;color:var(--rouge);font-size:13px;font-weight:600}
.mkprev .chips{margin-top:10px}

/* adventurousness choice (setup + settings) */
.novelty{margin-top:18px}.novelty .label{margin-bottom:8px}
.setrow small.sub{display:block;margin:4px 0 10px}
.dtools{display:flex;gap:6px;flex:none}
.novpill{border:1px solid var(--line);padding:8px 12px;color:var(--ink-2,var(--ink));font-size:12.5px;white-space:nowrap}
.novpill b{color:var(--ink);font-weight:600}
.picksmix{margin-top:14px}.picksmix .label{margin-bottom:10px}
#modalnov{margin:14px 0 18px}
.mkinfo{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 12px;font-size:13px;color:var(--muted)}
.mkmeter{display:flex;flex-direction:column;gap:5px}
.mkmeter .mkline{font-size:13.5px}
.mkmeter i{display:block;height:6px;border-radius:3px;background:var(--raised);position:relative;overflow:hidden}
.mkmeter i::after{content:'';position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--rouge);border-radius:3px}

/* ---------- add a band by name ---------- */
.drow{display:flex;gap:6px;flex:none;min-width:0}
.drow #swipefor{flex:0 1 auto;min-width:0}
.addto.addband{flex:none;color:var(--ink)}
.ablist{display:flex;flex-direction:column;max-height:44vh;overflow:auto}
.abhit{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;padding:8px 0;border-bottom:1px solid var(--line)}
.abhit:hover strong{color:var(--rouge)}
img.sw{object-fit:cover;background:var(--raised)}
.abhead{display:flex;align-items:center;gap:12px;padding-right:30px}
.abhead .t{min-width:0}.abhead strong{display:block;font-family:var(--display);font-size:18px;letter-spacing:-.03em}
.abhead small{color:var(--muted);font-size:12.5px}
.abacts{grid-template-columns:repeat(2,1fr)}
.abacts .act{min-height:68px}
.absongs{display:flex;flex-direction:column;max-height:34vh;overflow:auto}
.absongs .track{min-height:48px;padding:6px 0}
.abtick{all:unset;cursor:pointer;width:26px;height:26px;border-radius:8px;border:1.5px solid var(--line);display:grid;place-items:center;flex:none;font-weight:800;font-size:14px}
.abtick[aria-checked="true"]{background:var(--rouge);border-color:var(--rouge);color:var(--rouge-ink)}
.abdone{display:flex;flex-wrap:wrap;gap:6px}
.abdone span{font-size:12.5px;background:var(--raised);border-radius:999px;padding:5px 10px}

/* ---------- blind date: hide who the band is until the swipe ---------- */
.addto.blindbtn{flex:none;color:var(--ink)}
.blindbtn[aria-pressed="true"]{background:var(--ticket);color:var(--ticket-ink);border-color:var(--ticket)}
.card .mystery{display:none}
.card.blind .mystery{display:flex;flex-direction:column;gap:4px}
.card.blind .mystery strong{font-family:var(--display);font-size:24px;letter-spacing:-.04em;line-height:1.05}
.card.blind .mystery small{font-size:13px;color:var(--muted)}
.card.blind .name,.card.blind .meta,.card.blind .reportai,.card.blind .mono,.card.blind .because,.card.blind .kind,.card.blind .art img.cover,.card.blind .art .credit,
.card.blind .songline .t strong,.card.blind .rows dt:nth-of-type(n+2),.card.blind .rows dd:nth-of-type(n+2){display:none}
.card.blind .art{background:linear-gradient(135deg,#2A1F3D,#4A2A5C)!important}
.card.blind .art::after{content:"?";position:absolute;right:20px;bottom:8px;font-family:var(--display);font-weight:900;font-size:110px;line-height:1;opacity:.35}
.card.reveal .name{animation:reveal .55s cubic-bezier(.2,.9,.3,1.3)}
.card.reveal .art img.cover{animation:fadein .5s ease}
@keyframes reveal{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.card.reveal .name,.card.reveal .art img.cover{animation:none}}

/* choosing mixtapes: Discover's "Saving to" sheet and the + sheet */
.picklist{display:flex;flex-direction:column;gap:8px;margin:14px 0}
.pickrow{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.pickrow span{display:flex;flex-direction:column;gap:2px;min-width:0}
.pickrow small{color:var(--muted);font-size:12.5px}
.pickrow i{font-style:normal;flex:none;width:24px;height:24px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:13px}
.pickrow[aria-pressed="true"],.pickrow[aria-checked="true"]{border-color:var(--ink)}
.pickrow[aria-pressed="true"] i,.pickrow[aria-checked="true"] i{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pickrow:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.newtape{margin-bottom:14px}
.chip.lib{font-weight:600}
/* + on a song, and swipe a song left to take it off */
.plus{all:unset;cursor:pointer;flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:19px;line-height:1;color:var(--ink)}
.plus.big{width:44px;height:44px;font-size:24px}
.plus:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.nphead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#mix .track{touch-action:pan-y;transition:transform .2s ease,opacity .25s ease}
#mix .track.sliding{transition:none}

/* friends on Together */
#friendsbox{display:flex;flex-direction:column;gap:10px}
.friend{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border-bottom:1px solid var(--line);min-height:56px}
.friend span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.friend small{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend i{font-style:normal;color:var(--muted);font-size:20px}
.friend:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.live{color:var(--rouge);font-weight:600}
.fsong.new .t strong::after{content:' · New';color:var(--rouge);font-weight:600}
.plus.heart[aria-pressed="true"]{color:var(--rouge);border-color:var(--rouge)}
.sentrow{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:4px 0}
.sentrow span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sentrow small{color:var(--muted);flex:none}
.toggle.small small{display:block;color:var(--muted);font-size:12.5px}
.npbtns{display:flex;gap:8px;flex:none}
#pickq,#sendnote{box-sizing:border-box;width:100%;margin:12px 0 0;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface,transparent);color:var(--ink);font:inherit}
#pickbox{max-height:50vh;overflow:auto}
#sendwho{margin-top:12px}
#tabbar button{position:relative}
#tabbar button.dot::after{content:'';position:absolute;top:6px;right:calc(50% - 16px);width:8px;height:8px;border-radius:50%;background:var(--rouge)}

/* sign-in: email code and Google */
.authform{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.authform input{box-sizing:border-box;width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:16px}
#codein{letter-spacing:.35em;text-align:center;font-size:22px}
.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12.5px;margin:14px 0 6px}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--line)}
.gbtn{display:flex;justify-content:center;min-height:44px}
#signinbtn{align-self:center;margin-top:6px}
#accountbox .row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.sw.cv{background-size:cover!important;background-position:center;color:transparent;box-shadow:inset 0 0 0 1px #ffffff14}

/* Discover card: the picture gives way so the words and the song always fit */
.card .art{height:auto;flex:1 1 230px;min-height:84px;max-height:260px}
.card .info{flex:none;overflow:visible;gap:5px;padding:12px 16px 12px}
.card .rows{font-size:13px;line-height:1.3;gap:4px 10px}
.card .rows dd{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .songline{margin-top:4px;padding-top:9px}
@media (max-height:700px){.card .rows dd{-webkit-line-clamp:1}.card .name{font-size:21px}}

/* Discover header: where likes go, then three equal tools */
.savebar{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:8px;width:100%;flex:none;padding:8px 14px;border:1px solid var(--line);border-radius:14px;font-size:13.5px;min-width:0}
.savebar .label{font-size:9.5px;flex:none}
.savebar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.savebar small{color:var(--muted);flex:none;font-size:12px}
.savebar .hl{margin-left:auto;flex:none;font-size:12.5px;font-weight:600}
.savebar.pulse{animation:pulse .6s ease}
.savebar:focus-visible,.dtool:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dtoolbar{display:flex;gap:6px;flex:none}
.dtool{all:unset;box-sizing:border-box;cursor:pointer;flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border:1px solid var(--line);border-radius:14px;font-size:12.5px;font-weight:600;color:var(--ink)}
.dtool span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dtool svg{flex:none;opacity:.85}
.dtool[aria-pressed="true"]{background:var(--ticket);color:var(--ticket-ink);border-color:var(--ticket)}
.dtool[hidden]{display:none}

/* moving to app.earfling.com */
.movecard{display:flex;flex-direction:column;gap:6px;border-color:var(--rouge)}
.movecard .row{display:flex;gap:12px;align-items:center;margin-top:4px}
#movebox .row{margin-top:10px}

/* rooms: office playlist and karaoke, and the TV */
.rooms{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.roomcard{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.roomcard .ico{font-size:24px}
.roomcard strong{font-family:var(--display);font-size:15px;letter-spacing:-.03em}
.roomcard small{color:var(--muted);font-size:12.5px;line-height:1.35}
.roomcard:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tvrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;font-size:13.5px}
.member{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;font-size:13.5px}
.member small{color:var(--muted)}
.ksong{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.ksong.now{border:1px solid var(--rouge);border-radius:14px;padding:10px 12px}
.ksong .t{min-width:0;display:flex;flex-direction:column;gap:2px}
.ksong .t small{color:var(--muted)}
.ksong .singers{font-size:12.5px;color:var(--muted)}
.ksong .singers b{color:var(--ink);font-weight:600}
.ksong .singers i{font-style:normal;color:var(--rouge)}
.kbtns{display:flex;gap:6px;flex:none}
.steps{margin:10px 0 14px;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px}
#partybox .row2{display:flex;gap:8px}

/* desktop, public: slim brand panel instead of the testing notes */
.brandside{max-width:280px;display:flex;flex-direction:column;gap:16px;padding-top:18px}
.brandside h1{font-family:var(--display);font-weight:800;font-size:30px;letter-spacing:-.05em;margin:0;line-height:1}
.brandside h1 span{color:var(--rouge)}
.brandside p{margin:0;color:var(--muted)}
.brandqr{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.brandqr img{width:168px;height:168px;border-radius:10px;background:#fff;padding:8px;box-sizing:content-box}
.brandqr span{display:flex;flex-direction:column;gap:2px}
.brandqr small{color:var(--muted);font-size:13px}
@media (max-width:860px){.brandside{display:none!important}}

/* ---------- karaoke room ---------- */
.khead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.kcode{all:unset;cursor:pointer;flex:none;display:flex;flex-direction:column;align-items:center;padding:8px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.kcode small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.kcode strong{font-family:var(--display);font-size:20px;letter-spacing:.08em;color:var(--ticket)}
.kactions{display:flex;gap:8px;flex-wrap:wrap}
.kalert{padding:12px 14px;border-radius:14px;background:var(--ticket);color:var(--ticket-ink);font-size:14.5px;animation:pulse 1.6s ease-in-out infinite}
.know{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:20px;border:1px solid var(--rouge);background:linear-gradient(160deg,#2a1830,var(--surface))}
.knowrow{display:flex;gap:14px;align-items:center}
.knowrow .t{min-width:0;display:flex;flex-direction:column;gap:3px}
.knowrow .t strong{font-family:var(--display);font-size:20px;letter-spacing:-.04em;line-height:1.1}
.knowrow .t small{color:var(--muted)}
.kcov{width:52px;height:52px;border-radius:12px;flex:none;object-fit:cover;display:block}
.kcov .sw{width:100%;height:100%}
.kcov.big{width:84px;height:84px;border-radius:16px}
.ksingers{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.ksinger{display:inline-flex;gap:5px;align-items:baseline;padding:3px 9px;border-radius:999px;background:var(--raised);font-size:12.5px}
.ksinger i{font-style:normal;color:var(--rouge);font-size:11.5px}
.kver{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.kver small{color:var(--muted);font-size:12px}
.kctl{display:flex;gap:8px;justify-content:space-between}
.kctl .btn{flex:1}
.kadd{font-size:16px}
.kqueue{display:flex;flex-direction:column}
.kq{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.kq .kn{width:18px;text-align:center;color:var(--muted);font-weight:700;flex:none}
.kq .t{flex:1;min-width:0}
.kq .t strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kq .t small{color:var(--muted);font-size:12.5px}
.kbtns{display:flex;gap:4px;flex:none;align-items:center}
.ib{all:unset;cursor:pointer;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:13px}
.ib[disabled]{opacity:.3;cursor:default}
.chip.static{cursor:default}
/* songbook */
.modal.tall{max-height:88vh}
.sbcats{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;margin:10px 0}
.sbcats .chip{flex:none}
#sbq{box-sizing:border-box;width:100%;margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:16px}
.sblist{display:flex;flex-direction:column;max-height:52vh;overflow:auto;margin-top:6px}
.sbrow{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;padding:9px 2px;border-bottom:1px solid var(--line)}
.sbrow .t{flex:1;min-width:0;display:flex;flex-direction:column}
.sbrow .t strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sbrow .t small{color:var(--muted);font-size:12.5px}
.sbrow i{font-style:normal;color:var(--rouge);font-size:20px}
.duet{color:var(--ticket);font-weight:700}
.swsong{display:flex;gap:14px;align-items:center;margin-bottom:6px}
.swsong h2{margin:0}
#swparts .setrow{margin-top:8px}
/* full-screen karaoke on the phone, for mirroring to a TV */
.kfsbar{display:none}
body.kfs #tabbar,body.kfs [data-view="play"] .topbar,body.kfs #nowplaying,body.kfs #pickmood,body.kfs #ytmsg{display:none!important}
body.kfs [data-view="play"]{position:fixed;inset:0;z-index:60;background:#000;padding:0;display:flex;flex-direction:column;gap:0}
body.kfs #ytstage{flex:1;aspect-ratio:auto;border-radius:0;min-height:200px}
body.kfs .kfsbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 18px;background:var(--bg);border-top:2px solid var(--rouge)}
.kfnow,.kfnext{display:flex;flex-direction:column;min-width:0}
.kfnow small,.kfnext small{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--rouge);font-weight:700}
.kfnow strong{font-family:var(--display);font-size:clamp(18px,3.4vw,30px);letter-spacing:-.04em}
.kfnow span,.kfnext span{color:var(--muted);font-size:clamp(13px,2vw,18px)}
.kfbtns{margin-left:auto;display:flex;gap:8px}
.kctl{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:6px}
.kctl .btn{min-width:0;padding-left:8px;padding-right:8px;font-size:13px;white-space:nowrap}

/* Home: the room you are in, one tap to get back */
.roomcard-home{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:16px;border:1px solid var(--rouge);background:var(--surface);font-size:14px}
.roomcard-home .row{display:flex;gap:10px;align-items:center}

/* Play screen: labelled actions and adding songs to what is playing */
.npactions{display:flex;gap:8px;flex-wrap:wrap}
.upnexthead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sbrow.as{cursor:default}
.asbtns{display:flex;gap:6px;flex:none}
#astabs{margin:10px 0}
#asq{box-sizing:border-box;width:100%;margin:4px 0 6px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:16px}
.sbrow.as .t{gap:2px}
.sbrow.as .asbtns{margin-top:6px}
.sbrow.as .chip{padding:6px 12px;font-size:12.5px}
.asdone{margin-top:6px;color:var(--green);font-size:12.5px;font-weight:600}

/* lyrics mode: words in time, coloured by singer */
.klyr{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:14px;background:#00000040;text-align:center;min-height:96px;justify-content:center}
.kwho{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.kline{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.25;letter-spacing:-.03em;-webkit-background-clip:text;background-clip:text;color:transparent}
.kline.me{font-size:23px}
.knext{font-size:14px;opacity:.75}
.kcue{align-self:center;padding:4px 12px;border-radius:999px;background:var(--ticket);color:var(--ticket-ink);font-weight:700;font-size:13px;animation:pulse 1s ease-in-out infinite}
body.kfs .kflyr{width:100%;flex-basis:100%;background:none;padding:4px 0 8px}
body.kfs .kflyr .kline{font-size:clamp(20px,4vw,36px)}
/* "News and tips" opt-in on the email step (src/mailer.js) */
.authform .optin{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted);text-align:left;line-height:1.4}
.authform .optin input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--rouge)}
