/* DEE RECORDS Build 17.81 — responsive polish for artist, CEO and launchpad. */
:root{--dee-dock-safe:env(safe-area-inset-bottom,0px)}
html{scroll-padding-bottom:calc(112px + var(--dee-dock-safe));scroll-behavior:smooth}
/* Artist portal: balanced pre-login hero, readable copy and consistent actions. */
.p-hero{max-width:900px;margin:0 auto 24px}
.p-hero h1{max-width:850px;font-size:clamp(29px,4.2vw,46px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.p-hero>.p-muted{max-width:760px;font-size:clamp(14px,1.5vw,17px);line-height:1.65}
.p-btn,.p-tab,#authForm>.p-btn{border-radius:999px;min-height:46px;padding:11px 19px;font-size:14px;line-height:1.25}
.p-actions{gap:10px;align-items:center}
.artist-bottom-dock{isolation:isolate}
@media(max-width:700px){
 html,body{overflow-x:hidden}
 body{padding-bottom:calc(112px + var(--dee-dock-safe))!important}
 .p-wrap{width:calc(100% - 28px)}
 .p-head{padding:11px 0}
 .p-main{padding:19px 0 calc(34px + var(--dee-dock-safe))!important}
 .p-hero{margin:0 auto 17px}
 .p-hero h1{font-size:clamp(26px,7vw,34px)!important;line-height:1.13!important;max-width:100%;margin:8px 0 10px}
 .p-hero>.p-muted{font-size:14px;line-height:1.55;max-width:100%;margin:0}
 .p-card{padding:15px!important;border-radius:18px!important;margin:12px 0}
 .p-actions{display:grid;grid-template-columns:1fr;gap:9px}
 .p-actions>.p-btn,.p-actions>a.p-btn{width:100%;min-height:48px;border-radius:999px!important;padding:12px 16px;text-align:center;white-space:normal}
 #authArea .p-actions{display:flex}
 #authArea .p-actions .p-tab{flex:1;min-width:0}
 .artist-bottom-dock{position:fixed;z-index:1000;left:12px;right:12px;bottom:calc(9px + var(--dee-dock-safe));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:7px 6px;border:1px solid rgba(135,183,255,.34);border-radius:23px;background:rgba(5,18,42,.94);box-shadow:0 12px 38px rgba(0,0,0,.48),0 0 22px rgba(53,126,255,.16);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
 .artist-bottom-dock button{min-width:0;min-height:55px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:15px;background:transparent;color:#a9bfdf;font:650 10px/1.1 system-ui,-apple-system,Segoe UI,sans-serif;white-space:nowrap;cursor:pointer;touch-action:manipulation}
 .artist-bottom-dock button .dock-icon{font-size:20px;line-height:1}
 .artist-bottom-dock button[aria-selected=true]{color:#fff;background:linear-gradient(180deg,rgba(65,139,255,.42),rgba(36,96,190,.2));box-shadow:inset 0 0 0 1px rgba(140,190,255,.27),0 0 14px rgba(57,136,255,.13)}
 .p-footer{padding-bottom:calc(28px + var(--dee-dock-safe))}
}
@media(max-width:360px){.artist-bottom-dock{left:7px;right:7px;gap:1px;padding:6px 4px}.artist-bottom-dock button{font-size:9px}.artist-bottom-dock button .dock-icon{font-size:18px}}
/* Public Artist Launchpad: balanced headline and equal pill buttons. */
@media(max-width:760px){
 .hero .wrap{padding-left:18px;padding-right:18px}
 .hero h1{font-size:clamp(31px,8.2vw,43px)!important;line-height:1.1!important;letter-spacing:-.035em;max-width:17ch;text-wrap:balance;margin:12px 0 14px}
 .hero .lead{font-size:clamp(14px,3.8vw,16px)!important;line-height:1.58!important;max-width:58ch}
 .hero .btn,.hero a.btn,.hero .btn.primary{display:flex!important;width:100%;min-height:49px;align-items:center;justify-content:center;text-align:center;border-radius:999px!important;padding:12px 18px!important;margin:10px 0!important;font-size:14px!important;line-height:1.25!important;white-space:normal}
}
@media(min-width:761px){.hero h1{max-width:18ch;line-height:1.08;text-wrap:balance}.hero .btn,.hero a.btn{border-radius:999px!important;min-height:46px;padding:12px 22px!important}}
/* CEO/Admin dock: same fixed behaviour, gold brand and content clearance. */
@media(max-width:700px){
 body:has(.ceo-mobile-dock){padding-bottom:calc(108px + var(--dee-dock-safe))!important}
 .ceo-compact{padding-bottom:calc(34px + var(--dee-dock-safe))!important}
 .ceo-mobile-dock{left:12px;right:12px;bottom:calc(9px + var(--dee-dock-safe));padding:7px 6px;min-height:68px;border-radius:22px;background:rgba(10,15,12,.95);box-shadow:0 12px 38px rgba(0,0,0,.5),0 0 18px rgba(216,180,90,.1)}
 .ceo-mobile-dock a{min-height:53px;font-size:10px;gap:4px;white-space:nowrap}
 .ceo-mobile-dock a:focus-visible{outline:2px solid #e8c66d;outline-offset:1px}
}
@media(max-width:360px){.ceo-mobile-dock{left:7px;right:7px;gap:1px;padding:6px 3px}.ceo-mobile-dock a{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Build 17.82 artist portal: dashboard-first layout and fixed dock clearance. */
@media(max-width:700px){
  body:has(.artist-bottom-dock){padding-bottom:calc(132px + env(safe-area-inset-bottom, 0px))!important}
  .artist-bottom-dock{bottom:calc(12px + env(safe-area-inset-bottom, 0px))!important}
  .artist-home-panel{margin-top:10px}
  .artist-account-strip{padding:12px 14px!important;min-height:0}
  .artist-account-strip h2{font-size:clamp(18px,5vw,23px)!important;line-height:1.2!important;margin:0 0 4px!important}
  .artist-account-strip .p-muted{font-size:12px!important;line-height:1.4!important;margin:0}
  #tab-submit .p-field input,#tab-submit .p-field textarea{font-size:16px;min-height:48px}
  #tab-submit .p-field textarea{min-height:100px}
  #tab-submit .p-check{font-size:13px;line-height:1.5}
  #tab-submit .p-btn.primary{width:100%;min-height:52px;border-radius:999px!important;font-size:15px}
  .p-footer{padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px))!important}
}
@media(min-width:701px){
  .artist-bottom-dock{display:none!important}
  .artist-account-strip{padding:16px 20px!important}
  .artist-home-panel{margin-top:16px}
}
