header.compact-masthead,body.detail-mode header.compact-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px 32px;padding:8px 0 24px;margin:0 0 22px;border-bottom:1px solid var(--border,#37333b)}
header.compact-masthead .brand{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:16px;width:auto;min-width:0}
header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:76px;height:76px;max-height:none;border-radius:16px;object-fit:contain;flex:none;background:#fff}
header.compact-masthead .brand .brand-copy{display:flex;flex-direction:column;text-align:left;gap:7px;letter-spacing:0;min-width:0}
.brand-copy strong{font-size:25px;font-weight:850;letter-spacing:.7px;line-height:1;color:var(--text,#f4f2f4)}
header.compact-masthead .brand .brand-show{display:inline;font-size:12px;color:#f04461;letter-spacing:2px;margin-left:9px}
.brand-copy small{font-size:11px;font-weight:450;color:var(--muted,#b9b4be);letter-spacing:.3px}
header.compact-masthead .header-actions{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:7px;width:290px;order:initial!important}
.community-links{display:grid;grid-template-columns:1fr 1fr;gap:9px}
header.compact-masthead .community-links a{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;min-height:42px;padding:9px 12px;border-radius:9px;border:1px solid #4d343f;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap;box-shadow:none;background:#21151d!important;color:#f4f2f4!important}
header.compact-masthead .community-links .paypal-button{border-color:#a32c45;background:#4a1626!important}
header.compact-masthead .community-links a:hover{border-color:#ff637c}
header.compact-masthead .support-note{margin:0;padding:0;border:0;background:none;border-radius:0;color:var(--muted,#b9b4be)}
header.compact-masthead .support-note summary{font-size:11px;font-weight:450;letter-spacing:0;padding:4px 0;text-align:center;cursor:pointer}
header.compact-masthead .support-note p{font-size:12px;line-height:1.65;margin:8px 0;max-width:none;text-align:left}
header.compact-masthead .support-note>a{font-size:12px;color:#f292a5}
header.compact-masthead #overviewAccount{grid-column:1/-1;grid-row:2;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;order:initial;padding:0}
header.compact-masthead #overviewIdentity{width:auto;min-width:0;max-width:100%;min-height:52px;padding:8px 12px}
header.compact-masthead .overview-shortcuts{width:auto;display:flex;flex-direction:row;flex-wrap:wrap;gap:7px}
header.compact-masthead .overview-shortcuts button{width:auto;min-height:40px;padding:8px 12px;font-size:13px}
.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-bottom:110px}
.site-footer a{color:var(--muted,#b9b4be);font-size:13px;padding:10px 0}
@media(max-width:760px){
header.compact-masthead,body.detail-mode header.compact-masthead{grid-template-columns:1fr;gap:14px;padding:0 0 18px;margin-bottom:18px}
header.compact-masthead .brand{gap:13px}
header.compact-masthead .brand img.logo,body.detail-mode header.compact-masthead .brand img.logo{width:64px;height:64px;border-radius:13px}
.brand-copy strong{font-size:23px}.brand-copy small{font-size:10px}
header.compact-masthead .header-actions{grid-column:1;grid-row:2;width:100%;gap:4px}
header.compact-masthead #overviewAccount{grid-row:3;gap:10px}
header.compact-masthead #overviewIdentity{width:100%}
header.compact-masthead .overview-shortcuts{width:100%}
header.compact-masthead .overview-shortcuts button{flex:1 1 auto;text-align:center;font-size:12px}
header.compact-masthead .support-note summary{text-align:left;font-size:11px;padding-top:7px}
header.compact-masthead .header-actions #accountBtn{min-height:42px;font-size:13px;margin-top:4px}
}
html[data-theme=light] .brand-copy strong{color:#201922}
html[data-theme=light] header.compact-masthead .support-note>a{color:#962347}

#languageDialog{max-width:460px}#languageDialog h2{font-size:23px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.language-options button{font-size:14px;text-align:left;padding:10px;min-height:46px;overflow-wrap:anywhere}.language-options button[aria-pressed=true]{background:#53182b;border-color:#f24466;color:#fff}

/* Compact language chooser */
#languageDialog{box-sizing:border-box;width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 40px);padding:22px;border:1px solid #56323f;border-radius:20px;background:radial-gradient(ellipse at top left,#321620 0,transparent 60%),#151419;box-shadow:0 28px 90px #0009;overflow:auto;color:#f8f5f6}
#languageDialog::backdrop{background:#050408b3;backdrop-filter:blur(8px)}
#languageDialog .language-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
#languageDialog h2{font-size:20px;line-height:1.2;letter-spacing:-.4px;margin:0}
#languageDialog .language-close{display:grid;place-items:center;flex:none;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;font-size:25px;line-height:1;background:#ffffff08;border:1px solid #ffffff15;color:#c6bbc1}
#languageDialog .language-options{gap:8px;margin:0;grid-template-columns:1fr 1fr}
#languageDialog .language-options button{box-sizing:border-box;display:grid;grid-template-columns:28px minmax(0,1fr) 12px;align-items:center;gap:8px;min-width:0;min-height:58px;padding:10px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff04;color:#e8e2e5;box-shadow:none;font-size:13px;font-weight:550;line-height:1.3;text-align:left}
#languageDialog .language-code{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#ffffff07;font-size:10px;letter-spacing:.5px;color:#a99ba3}
#languageDialog .language-name{overflow-wrap:normal}
#languageDialog .language-check{font-size:13px;visibility:hidden;color:#ff7891}
#languageDialog .language-options button[aria-pressed=true]{border-color:#e94568;background:#56182b;color:#fff}
#languageDialog .language-options button[aria-pressed=true] .language-check{visibility:visible}
#languageDialog .language-options button[aria-pressed=true] .language-code{background:#f34a7025;color:#ffb4c4}
#languageDialog button:hover{border-color:#b44a65;background:#ffffff09}
#languageDialog button:focus-visible{outline:2px solid #ffb1c2;outline-offset:3px}
html[data-theme=light] #languageDialog{background:#fff8fa;color:#291821;border-color:#e8c5d0;box-shadow:0 28px 90px #34203040}
html[data-theme=light] #languageDialog .language-options button{background:#fff;border-color:#eadce1;color:#39262f}
html[data-theme=light] #languageDialog .language-options button[aria-pressed=true]{background:#ffe3eb;border-color:#cf3659}
html[data-theme=light] #languageDialog .language-code{background:#f4e9ed;color:#765762}
html[data-theme=light] #languageDialog .language-options button[aria-pressed=true] .language-code,html[data-theme=light] #languageDialog .language-check{color:#a51e40}
html[data-theme=light] #languageDialog .language-close{color:#62434f;border-color:#eadce1}
@media(max-width:360px){#languageDialog{padding:16px}#languageDialog .language-options button{gap:5px;padding:8px;font-size:12px;grid-template-columns:24px minmax(0,1fr) 10px}#languageDialog .language-code{width:24px;height:26px;font-size:9px}}

#languageDialog .language-options button,#languageDialog .language-name{white-space:normal}#languageDialog .language-name{overflow-wrap:anywhere}

/* Use the screen width; keep submission actions compact. */
body>.shell{width:100%;max-width:none;padding-left:20px;padding-right:20px}
#shows .submission-cta{grid-column:1/-1;grid-row:auto;min-height:48px!important;font-size:17px!important;padding:10px 16px;line-height:1.3;box-shadow:none}
#songSaveBtn{width:100%;min-height:44px;padding:10px 14px;font-size:16px}
@media(max-width:760px){
 body>.shell{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
 #home{padding:12px}
 #shows .overview-show{padding:14px 12px}
 #shows .submission-cta{min-height:46px!important;font-size:16px!important}
 #submissionPanel,#playlistPanel,#playedPanel{padding:16px 12px}
 #inlineSongTitle{font-size:25px;margin-bottom:12px}
}

header.compact-masthead .community-links .paypal-button{background:#0070ba!important;border-color:#0070ba!important;color:#fff!important}header.compact-masthead .community-links .paypal-button:hover{background:#005ea6!important;border-color:#005ea6!important}

header.compact-masthead .community-links .paypal-mark{display:block;width:24px;height:28px;object-fit:contain;padding:3px;background:#fff;border-radius:5px;flex:none}
#artistWelcome{width:calc(100% - 32px);max-width:440px;padding:24px}#artistWelcome h2{font-size:24px}#artistWelcome p{font-size:14px;line-height:1.55;color:var(--muted)}#artistWelcome input{font-size:16px}#artistWelcomeForm .primary{width:100%}#artistWelcomeError:empty{display:none}

header.compact-masthead .community-links .paypal-button{white-space:normal;text-align:center;line-height:1.25;min-width:0}header.compact-masthead .community-links .paypal-button span{min-width:0;overflow-wrap:normal}

.login-address-field{display:flex;align-items:stretch;gap:8px;min-width:0}.login-address-field input{flex:1;width:0;min-width:0;margin:0!important}.login-address-field button{flex:0 0 46px;min-height:44px;padding:8px;font-size:22px;line-height:1}.account-forgot{display:inline-block;margin:16px 0 4px;padding:8px 0;color:#ffa0b7;text-underline-offset:3px}
