/* DJ Fans Only sitewide polish (sitewide_20261117). Loaded LAST on every page. Overrides only; no new features. */

/* 1. Checkboxes. premium.css sets background:none!important on every checkbox, which erased the custom
      phone checkbox from qa.css (appearance:none + SVG background). Result: an invisible checkbox on phones,
      including the Terms "I agree" box at signup. Restore it with higher specificity. */
@media (max-width:760px){
  html body input[type=checkbox]{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") !important}
  html body 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") !important}
  html body input[type=checkbox]:disabled{opacity:.45}
  .terms-panel .chk{align-items:center}
  .terms-panel .chk input{margin:0 2px 0 -8px !important}
}
@media (min-width:761px){
  html body input[type=checkbox]{width:18px !important;height:18px !important;accent-color:#d9c59b;cursor:pointer;flex:none}
  .terms-panel .chk input{margin-top:.2rem}
}

/* 2. Subtitles: styles.css dims every .sub to 60% opacity and typescale.css adds caps-style tracking to
      sentence-case text. Effective contrast fell to about 3:1 (pricing hero, DJ page section intros). */
.sub,p.sub{opacity:1 !important;letter-spacing:0 !important}
.p3-hero .sub{color:#a9a8b3;font-size:17px;line-height:1.55}

/* 3. /djs layout shift (CLS ~0.13 on phones): the filter-chip row grows 44px -> 60px when chips render.
      Same fix as preview qa_r3 item 9. */
#chips:empty{min-height:60px}

/* 4. Tap targets (44px) the audit found on phones and desktop. */
.rv-f{min-height:44px !important}
.pf-sub .rv-chip,.rv-chip{min-height:36px}
@media (max-width:760px){ .pf-sub .rv-chip,.rv-chip{min-height:44px} }
button.linkbtn{min-height:44px;display:inline-flex;align-items:center;opacity:1;color:#a9a8b3}
button.linkbtn:hover{color:var(--gold-2,#efe3c4)}
.top .nv-search{min-height:44px}

/* 5. File pickers ("Choose File"): match the brand's ghost pill button, 44px tall. */
input[type=file]{min-height:56px;display:flex;align-items:center;color:#a9a8b3;border-style:dashed}
input[type=file]::file-selector-button{min-height:40px;padding:0 18px;margin-right:14px;border-radius:999px;border:1px solid rgba(217,197,155,.55);background:rgba(217,197,155,.08);color:#efe3c4;font:600 14px/1 var(--sans,system-ui,sans-serif);letter-spacing:0;cursor:pointer}
input[type=file]::file-selector-button:hover{background:rgba(217,197,155,.16);border-color:#d9c59b}

/* 6. Footer column titles are now h2 (fixes heading order on every page). Keep the old small caps look. */
footer.site .fgrid h2.ft-h{font-family:var(--sans,system-ui,sans-serif) !important;font-size:12px !important;font-weight:700 !important;letter-spacing:.12em !important;text-transform:uppercase;line-height:1.3 !important;color:#ecebf2 !important;-webkit-text-fill-color:currentColor;margin:6px 0 14px !important;background:none}

/* 7. Dashboard eyebrow: never upper-case an email address. */
.eyebrow .em-addr{text-transform:none;letter-spacing:0;font-weight:600}

/* 8. Terms dialog notice: neutral, not a yellow "draft" warning. */
.terms-panel .draft-banner{background:rgba(255,255,255,.04) !important;color:#cfcdd6 !important;border:1px solid rgba(255,255,255,.12) !important;font-weight:500 !important;border-radius:12px}
.terms-page .draft-banner,.prose .draft-banner{background:rgba(255,255,255,.04);color:#cfcdd6;border:1px solid rgba(255,255,255,.12);font-weight:500}

/* 9. "Coming soon" tag used in card titles. */
.soon-tag{display:inline-block;vertical-align:middle;margin-left:8px;padding:3px 9px;border-radius:999px;border:1px solid rgba(217,197,155,.4);color:#d9c59b;font:600 11px/1.2 var(--sans,system-ui,sans-serif);letter-spacing:.06em;text-transform:uppercase}
/* r9: mobile account button: 44x44 tap target */
@media(max-width:1080px){.nv-acct-mob{min-width:44px;min-height:44px;align-items:center;justify-content:center}}

/* r5: hide leftover city separator when a DJ has no city */
.pf-sub>.muted:empty{display:none!important}
/* r5: unused dashboard modules shouldn't leave a gap above the footer */
#dash~section.wrap:empty,#dash-profile:empty{display:none}
/* r5: admin first paint reserves the control-room height so the footer doesn't jump (CLS) */
#adm.adm-sk{min-height:calc(100vh - 64px - 280px);display:grid;align-content:start;gap:16px}
#adm.adm-sk .adm-sk-h{height:36px;width:min(280px,60%);border-radius:8px;background:rgba(255,255,255,.06)}
#adm.adm-sk .adm-sk-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
#adm.adm-sk .adm-sk-stats i,#adm.adm-sk .adm-sk-tbl{display:block;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.06)}
#adm.adm-sk .adm-sk-stats i{height:72px}
#adm.adm-sk .adm-sk-tbl{height:280px}
#library-admin:empty{min-height:220px}
