/* Live-baseline QA fixes (DJ QA 2026-11-15, qa/2026-11-15_live-baseline). Loaded last-but-typescale on every page. */
/* 4) waveforms: readable bars (unplayed ~7:1 vs the dark card, played = gold) */
.wf i{background:rgba(236,234,244,.62)}
.wf:hover i:not(.p){background:rgba(236,234,244,.8)}
.wf i.p{background:linear-gradient(180deg,#f3e6c4,#e9d7a6)}
.dock .wf i{background:rgba(236,234,244,.55)}
.wf.mini i{background:rgba(233,215,166,.7)}
/* 5) the fixed #dock player never covers content: pad the page + keep sticky sidebars above it */
body.has-dock{padding-bottom:calc(var(--dock-h,72px) + 24px) !important}
body.has-dock :where(.mx-side,.p3-side,aside,section,.card){scroll-margin-bottom:calc(var(--dock-h,72px) + 16px)}
html:has(body.has-dock){scroll-padding-bottom:calc(var(--dock-h,72px) + 16px)}
body.has-dock :where(.mx-side,.mx-aside,.mix-side,.sc-mix-side){max-height:calc(100vh - var(--dock-h,72px) - 110px);overflow:auto}
/* 6) footer contrast >= 4.5:1 on #0e0e14 (#b4b3bd = 8.6:1) */
footer.site, footer.site p, footer.site a, footer.site li, footer.site span, footer.site .small, footer.site .foot-tag, footer.site .legal, footer.site .legal span{color:#b4b3bd !important}
footer.site h4, footer.site .fgrid b, footer.site .fgrid strong{color:#ecebf2 !important}
footer.site a:hover{color:#fff !important}
.card .sub, .card.in .sub, p.sub{color:#b4b3bd}
/* 9) visible focus on search, form and filter controls */
:where(input,select,textarea):not([type=hidden]):focus-visible,
.nv-search input:focus, .nv-search input:focus-visible{outline:2px solid #e9d7a6 !important;outline-offset:2px !important;box-shadow:0 0 0 4px rgba(233,215,166,.22) !important}
:where(.chip,.soc-chip,.p3-tg,.btn,button,a,[role=slider],[role=tab],summary):focus-visible{outline:2px solid #e9d7a6;outline-offset:2px}
/* 4) spotlight dots: real 44px hit area, slim visual bar */
.spot-dots{gap:0;top:4px;right:4px}
.spot-dots button{width:44px;height:44px;background:transparent !important;position:relative}
.spot-dots button::before{content:"";position:absolute;left:11px;right:11px;top:20px;height:4px;border-radius:4px;background:rgba(255,255,255,.4);transition:background .3s,left .3s,right .3s}
.spot-dots button.on::before,.spot-dots button[aria-pressed=true]::before{background:var(--gold,#e9d7a6);left:5px;right:5px}
/* 3) DJ tabs: fit on phone, scroll with a visible fade cue when they still overflow */
.pf-tabs{position:sticky}
.pf-tabs.ovf{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.pf-tabs.ovf.end{-webkit-mask-image:none;mask-image:none}
@media (max-width:520px){ .pf-tabs a{padding:12px 9px;font-size:13.5px;min-height:44px;display:inline-flex;align-items:center} }
/* 10) library rows lead with a square cover */
#mixes .mix-item[data-mix-id]{position:relative;padding-left:104px;min-height:104px;box-sizing:border-box}
#mixes .mix-item[data-mix-id] > .mix-cover{position:absolute;left:16px;top:16px;width:72px;height:72px;border-radius:6px;object-fit:cover;background:#1a1a24;display:block}
#mixes .mix-item[data-mix-id] > span.mix-cover{display:grid;place-items:center;background:linear-gradient(135deg,var(--c1,#3b2a5c),var(--c2,#0e3b44));color:rgba(255,255,255,.85)}
#mixes .mix-item[data-mix-id] > span.mix-cover svg{width:28px;height:28px}
@media (max-width:560px){ #mixes .mix-item[data-mix-id]{padding-left:80px;min-height:88px} #mixes .mix-item[data-mix-id] > .mix-cover{left:12px;top:14px;width:56px;height:56px} }
/* 11) designed fallback cover for DJs without a photo (no monogram, no empty tile) */
.cover .fb, .mixc-cover .fb{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;box-sizing:border-box;
  background:radial-gradient(120% 90% at 85% 10%,var(--c1,#ff3df2) 0,transparent 55%),radial-gradient(110% 90% at 10% 100%,var(--c2,#29d3e6) 0,transparent 60%),#0d0c14;overflow:hidden}
.cover .fb::after, .mixc-cover .fb::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 3px,transparent 3px 9px);-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 35%,#000 60%,transparent 100%);mask-image:linear-gradient(0deg,transparent 0,#000 35%,#000 60%,transparent 100%)}
.cover .fb svg, .mixc-cover .fb svg{position:absolute;top:12px;left:12px;width:26px;height:26px;color:rgba(255,255,255,.9);z-index:1}
.cover .fb b, .mixc-cover .fb b{position:relative;z-index:1;font:700 clamp(15px,1.6vw,19px)/1.15 var(--sans,inherit);color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.45);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cover .fb small, .mixc-cover .fb small{position:relative;z-index:1;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-top:4px}
/* 11) shelves: whole cards only (no card clipped mid-name); names wrap to two lines instead of cutting */
@media (min-width:1100px){ .grid.shelf,.listen-grid.shelf,.shelf{grid-auto-columns:calc((100% - 4*18px)/5) !important} }
@media (min-width:821px) and (max-width:1099px){ .grid.shelf,.listen-grid.shelf,.shelf{grid-auto-columns:calc((100% - 3*18px)/4) !important} }
@media (min-width:561px) and (max-width:820px){ .grid.shelf,.listen-grid.shelf,.shelf{grid-auto-columns:calc((100% - 2*16px)/3) !important} }
@media (max-width:560px){ .grid.shelf,.listen-grid.shelf,.shelf{grid-auto-columns:calc((100% - 12px)/2) !important;gap:12px !important} }
.shelf .djc h3, .shelf .mixc-meta h3, .grid-djs .djc h3{white-space:normal !important;text-overflow:clip !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* 2) reserve space so late content does not shift the page */
.cover{aspect-ratio:1/1}
#dj-grid:empty, #pb-grid:empty, .pb-grid:empty{min-height:1400px}
#new-week:empty, #now-playing:empty, #founding:empty{min-height:280px}
/* 8) tap targets >= 44px on phone */
@media (max-width:760px){
  .btn, .btn.sm, a.btn, button.btn, .chip, .soc-chip, .p3-tg, .soc-follow, .soc-fav, .soc-stack, .soc-share, .soc-open, .soc-stat{min-height:44px !important;box-sizing:border-box}
  .btn.sm, .btn, .chip, .soc-chip{display:inline-flex;align-items:center;justify-content:center}
  footer.site a{display:inline-flex;align-items:center;min-height:44px}
  a.logo{min-height:44px;display:inline-flex;align-items:center}
  a.mx-dj{display:inline-flex;align-items:center;min-height:44px}
  .sav.md{width:44px !important;height:44px !important}
  .soc-open, .soc-stat{display:inline-flex;align-items:center;min-width:44px;justify-content:center}
  .preview-note a, .p3-side a:not(.btn), .mix-link, .djc .small, .mixc-meta a.small, a.small{display:inline-flex;align-items:center;min-height:44px}
  .soc-fav.compact{min-height:44px;min-width:44px}
  input[type=checkbox], input[type=radio]{width:22px;height:22px;margin:11px}
}
/* nits */
.lightbox:not(.open) img:not([src]){display:none}
.wm .tm, .logo .tm, .logo sup{position:relative;top:-.15em;vertical-align:super;font-size:9px;line-height:1;margin-left:2px}
.hero .lead, section.hero p.lead{font-weight:600}
/* 2) skeleton cards + reserved filter rows on /djs and /promoters */
.sk-card{pointer-events:none}
.sk-card .cover{display:block;border-radius:var(--r-md,10px);background:linear-gradient(100deg,#15141d 30%,#1d1c27 50%,#15141d 70%);background-size:300% 100%;animation:qa-sk 1.4s ease-in-out infinite}
.sk-card .sk{display:block;height:14px;width:70%;margin-top:10px;border-radius:4px;background:#1b1a24}
.sk-card .sk.sm{width:45%;height:11px;margin-top:6px}
@keyframes qa-sk{0%{background-position:100% 0}100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.sk-card .cover{animation:none}}
#chips:empty{min-height:44px}
#count:empty, #pb-count:empty{min-height:20px}
/* 1) server-rendered mix shell: waveform skeleton matches the live row */
.mx-ssr-player .wf-play{background:var(--gold,#e9d7a6);opacity:.35}
.mx-ssr-player .wf i{background:rgba(236,234,244,.28)}
.spot-dots button.on{width:44px !important}
@media (max-width:760px){ input[type=checkbox], input[type=radio]{width:24px !important;min-width:24px !important;height:24px !important;margin:10px !important;flex:none} label.chk, label:has(> input[type=checkbox]){min-height:44px;display:inline-flex;align-items:center} }
.card > .sub, .card.rv > .sub, .card.rv.in > .sub{color:#b4b3bd !important;opacity:1 !important}
/* 2) home hero: reserve the featured-DJ card and roster strip before data arrives (CLS 0.46 -> ~0) */
#hero-spot[hidden]{display:block !important;background:linear-gradient(100deg,#15141d 30%,#1d1c27 50%,#15141d 70%);background-size:300% 100%;animation:qa-sk 1.4s ease-in-out infinite}
#live-strip[hidden]{display:block !important;visibility:hidden;min-height:88px}
/* --- QA 9034e136 follow-up --- */
/* 2) tap targets: /gigs period chips, /door "Set door location", small inline text links, checkboxes (44px hit areas) */
.ck-seg button, .ck-seg [role=tab]{min-height:44px !important;padding-top:0;padding-bottom:0;display:inline-flex;align-items:center}
.ck-door-foot .linkish, button.linkish{min-height:44px;padding:0 6px;display:inline-flex;align-items:center;vertical-align:middle}
@media (max-width:760px){
  main :is(p,li,small,label,.small,.muted,.note) a:not(.btn):not([class*="btn"]),
  footer.site p a, .terms-consent a, form a:not(.btn){padding:15px 6px;margin:0 -6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
  input[type=checkbox]{-webkit-appearance:none;appearance:none;width:44px !important;min-width:44px !important;height:44px !important;margin:0 4px 0 -10px !important;cursor:pointer;flex:none;vertical-align:middle;
    background:no-repeat center/22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%2315141d' stroke='%23b4b3bd' stroke-width='1.6'/%3E%3C/svg%3E")}
  input[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%23e9d7a6'/%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%2306060a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  input[type=checkbox]:focus-visible{outline:2px solid #e9d7a6;outline-offset:-6px;border-radius:10px}
}
/* 3) fan-funded gigs shelf: whole cards only, like the other shelves */
@media (min-width:1100px){ .vf-shelf{grid-auto-columns:calc((100% - 4*20px)/5) !important} }
@media (min-width:821px) and (max-width:1099px){ .vf-shelf{grid-auto-columns:calc((100% - 3*20px)/4) !important} }
@media (min-width:561px) and (max-width:820px){ .vf-shelf{grid-auto-columns:calc((100% - 2*16px)/3) !important;gap:16px !important} }
@media (max-width:560px){ .vf-shelf{grid-auto-columns:calc((100% - 12px)/2) !important;gap:12px !important} }
.vf-shelf .vf-card, .vf-shelf > *{min-width:0}
/* nit: home lead weight (typescale loads last and resets it) */
body.home section.hero p.lead, body.home .hero .cine-copy p.lead, .hero .lead{font-weight:600 !important}

/* QA 9034e136 round 2: remaining small targets */
.af-plans button, .af-plans [role=radio]{min-height:44px !important;display:inline-flex;align-items:center;gap:6px}
body input#af-range.af-range, body input#af-range.af-range:focus{height:44px !important;padding:18px 0 !important;box-sizing:border-box !important;background-clip:content-box !important;cursor:pointer}
.support-toc a{min-height:44px;display:inline-flex;align-items:center}
details > summary{padding-top:12px !important;padding-bottom:12px !important}
@media (max-width:760px){
  html body input[type=radio]{-webkit-appearance:none;appearance:none;width:44px !important;min-width:44px !important;height:44px !important;margin:0 4px 0 -10px !important;cursor:pointer;flex:none;vertical-align:middle;border:0 !important;
    background:no-repeat center/22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%2315141d' stroke='%23b4b3bd' stroke-width='1.6'/%3E%3C/svg%3E") !important}
  html body input[type=radio]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%2315141d' stroke='%23e9d7a6' stroke-width='1.6'/%3E%3Ccircle cx='11' cy='11' r='5.5' fill='%23e9d7a6'/%3E%3C/svg%3E") !important}
  form label.pick{display:inline-flex !important;flex-direction:row !important;align-items:center !important;min-height:44px;padding:0 16px 0 12px !important}
  html body input[type=radio]:focus-visible{outline:2px solid #e9d7a6;outline-offset:-6px;border-radius:50%}
}
