/* Shared responsive layer for customer, Master, artist and ranking pages. */
html{max-width:100%;-webkit-text-size-adjust:100%}body{min-width:0}main,section,article,fieldset,form,nav,header,footer{min-width:0}img,video,canvas{max-width:100%}input,textarea,select{box-sizing:border-box;max-width:100%}p,h1,h2,h3,a,dd,pre{overflow-wrap:anywhere}button,a,input,select,textarea{touch-action:manipulation}dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto}dialog input,dialog textarea{max-width:100%}
@media(max-width:900px){header,.topbar{flex-wrap:wrap;gap:10px}header nav,.topbar nav{display:flex;flex-wrap:wrap;gap:8px;margin-left:0;max-width:100%}.topbar{position:relative!important;height:auto!important;min-height:0!important;padding:12px 16px!important}.brand{max-width:100%;margin-right:auto}.brand-tagline{display:none}.brand-logo{max-width:110px;height:auto}.topbar [data-community-nav]{width:100%}.workspace,.studio-shell,.studio-workspace,.admin-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px}.workspace>.sidebar,.workspace>.account-summary,.workspace>.library-hero,.workspace>.content-panel{grid-column:1!important;grid-row:auto!important}.sidebar{position:static!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;overflow:visible!important;padding:12px!important;gap:6px}.sidebar button{flex:1 1 130px;justify-content:center;padding:12px!important;text-align:center}.sidebar .nav-label,.sidebar-note{display:none}.account-summary{flex-wrap:wrap;gap:12px}.summary>div:nth-of-type(2){margin-left:0!important;text-align:left!important}.summary>button{margin-left:0}.compare,.profile-compare,.bulk-defaults,.batch-fields{grid-template-columns:minmax(0,1fr)!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.artist-info{grid-template-columns:minmax(0,1fr)}table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}th,td{white-space:normal;min-width:70px}#tabs{display:flex;flex-wrap:wrap;max-width:100%}.row,.toolbar,.search-toolbar,.hero-actions{flex-wrap:wrap;max-width:100%}.row>input,.toolbar>input,.search-toolbar>input{min-width:0;flex:1 1 180px}}
@media(max-width:600px){input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px!important;min-height:44px}button{min-height:44px}header a,nav a{display:inline-flex;align-items:center;min-height:44px}header,main,footer{box-sizing:border-box;max-width:100%}.hera-platform main{padding:12px 12px 180px}.hera-platform.customer main:has(>#welcome:not([hidden])){padding-left:0;padding-right:0}.hera-platform .welcome-screen.hera-scenes{padding-top:calc(100vw*.5628 + 16px)}.hera-platform .welcome-screen.hera-scenes .hera-scenes-bg{width:100%}.panel,section:not(.hera-scenes),article{max-width:100%;box-sizing:border-box}.row input,.row select,.toolbar input{width:100%;flex-basis:100%}.guest-row{grid-template-columns:minmax(0,1fr)!important}.profile-hero-main{flex-direction:column;align-items:flex-start}.artist-portrait,.artist-monogram{max-width:128px;max-height:128px}.track,.record{min-width:0;max-width:100%}.track .meta,.record-meta{min-width:0;overflow-wrap:anywhere}.track .meta small{overflow-wrap:anywhere}.track-menu{flex-shrink:0}.bottom-player{box-sizing:border-box;width:100%;left:0;right:0;grid-template-columns:minmax(0,1fr) auto!important;padding:12px max(12px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important}.bottom-player .controls{flex-wrap:wrap}.bottom-player .controls button{min-width:32px;min-height:44px}.bottom-player .timeline{min-width:0;grid-column:1/-1}.bottom-player .timeline input{min-width:0;width:100%}.bottom-player .volume{display:none}.now-meta{min-width:0}.now-meta strong,.now-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats{grid-template-columns:minmax(0,1fr)!important}dialog{width:calc(100vw - 24px);padding:18px}.login-card{width:100%;max-width:100%;padding:22px}#notice{max-width:calc(100vw - 24px);overflow-wrap:anywhere}}
