/* Same room, same type and controls as the player and collection. */
@font-face {font-family:'Google Sans';src:url('/assets/fonts/google-sans-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap;}
#accountDialog {
  --room-ink:#f2f0e8; --room-muted:#b3b6ab; --room-accent:#e0c18e; --room-surface:#191f1b;
  box-sizing:border-box; width:min(460px,calc(100vw - 32px)); max-height:calc(100dvh - 32px);
  margin:auto; padding:30px; overflow-y:auto; color:var(--room-ink);
  background:var(--room-surface); border:1px solid color-mix(in srgb,var(--room-accent) 25%,transparent);
  border-radius:14px; box-shadow:0 28px 100px #0009; font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;
}
#accountDialog::backdrop {background:#090e0bb8;backdrop-filter:blur(10px);}
#accountDialog [hidden] {display:none!important;}
#accountDialog button,#accountDialog input {font:inherit;box-shadow:none;text-transform:none;transform:none;}
#accountDialog button {cursor:pointer;min-height:44px;border-radius:7px;}
#accountDialog :is(button,input):focus-visible {outline:2px solid var(--room-accent);outline-offset:3px;}
#accountDialog button:disabled {opacity:.55;cursor:wait;}
#accountDialog .account-header {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:34px;}
.account-brand {display:flex;align-items:center;gap:12px;color:var(--room-muted);font-size:11px;letter-spacing:1.5px;}
.account-brand img {width:36px;height:38px;object-fit:contain;}
.account-brand .brand-wordmark {letter-spacing:.1px;transform:translateY(4px);}
#accountDialog #accountClose {padding:0;width:44px;flex-shrink:0;border:1px solid #ffffff20;background:transparent;color:var(--room-ink);font-size:25px;line-height:1;}
#accountDialog .account-eyebrow {margin:0 0 10px;font-size:11px;letter-spacing:2px;color:var(--room-accent);}
#accountDialog h2 {margin:0;font:400 34px/1.12 'Instrument Sans',Arial,sans-serif;letter-spacing:-.8px;color:var(--room-ink);}
#accountDialog #accountIntro {margin:12px 0 26px;font-size:16px;line-height:1.6;color:var(--room-muted);}
.account-tabs {display:grid;grid-template-columns:1fr 1fr;gap:4px;border-bottom:1px solid #ffffff20;margin-bottom:22px;}
#accountDialog .account-tabs button {border:0;border-bottom:2px solid transparent;border-radius:5px 5px 0 0;padding:10px 8px;background:transparent;color:var(--room-muted);font-size:15px;}
#accountDialog .account-tabs button[aria-pressed="true"] {color:var(--room-accent);border-bottom-color:var(--room-accent);background:color-mix(in srgb,var(--room-accent) 7%,transparent);}
#accountDialog #accountGoogle {display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #8e918f;border-radius:7px;background:#131314;color:#e3e3e3;font:500 14px/20px 'Google Sans','Instrument Sans',Arial,sans-serif;}
#accountGoogle img {width:20px;height:20px;object-fit:contain;flex-shrink:0;}
#accountDialog #accountGoogle:hover {background:#202021;}
.account-divider {display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--room-muted);font-size:12px;}
.account-divider::before,.account-divider::after {content:'';height:1px;flex:1;background:#ffffff20;}
#accountForm {display:grid;gap:16px;}
#accountForm label {display:grid;gap:7px;font-size:14px;color:var(--room-ink);}
#accountForm input {box-sizing:border-box;width:100%;min-width:0;height:48px;padding:11px 13px;border:1px solid #ffffff30;border-radius:7px;background:#0002;color:var(--room-ink);font-size:16px;}
#accountForm input::placeholder {color:var(--room-muted);opacity:.75;}
.account-password {position:relative;display:block;}
#accountForm .account-password input {padding-right:68px;}
#accountDialog #accountShowPassword {position:absolute;right:3px;top:2px;padding:0 12px;border:0;background:transparent;color:var(--room-muted);font-size:13px;}
#accountDialog .account-text-button {padding:0;border:0;background:transparent;color:var(--room-accent);font-size:14px;text-align:left;text-decoration:underline;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,var(--room-accent) 35%,transparent);}
#accountDialog #accountForgot {justify-self:end;min-height:32px;margin-top:-8px;}
#accountDialog .account-hint {margin:-9px 0 0;font-size:13px;color:var(--room-muted);}
#accountMessage {margin:0;font-size:14px;line-height:1.6;color:var(--room-accent);}
#accountMessage:empty {display:none;}
#accountMessage.error {color:#ffb5a3;}
#accountDialog .account-primary {width:100%;min-height:49px;border:1px solid var(--room-accent);background:var(--room-accent);color:#182019;padding:11px 16px;font-size:16px;}
#accountDialog .account-primary:hover {filter:brightness(1.08);}
#accountDialog #accountReturn {margin-top:12px;}
.account-footer {display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #ffffff18;color:var(--room-muted);font-size:13px;}
#accountDialog .account-footer button {font-size:13px;}
/* Both views share one header and one navigation slot. */
.public-page-header {box-sizing:border-box;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-height:112px;padding:22px 0 20px;font-family:'Instrument Sans',Arial,sans-serif;color:#f2f0e8;}
.public-page-header > :first-child {min-width:0;}
.public-page-header h1 {display:flex;align-items:center;gap:14px;margin:0;font:500 32px/1.25 'Instrument Sans',Arial,sans-serif;letter-spacing:-.7px;min-height:44px;}
.public-page-header .listening-brand {display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;}
.public-page-header .listening-brand {min-width:0;flex-shrink:1;}
/* The screen center sits below the full icon center because of the antennas. */
.public-page-header .brand-wordmark {font-size:17px;letter-spacing:-.3px;transform:translateY(4px);}
.public-page-header .record-mark {width:40px;height:42px;flex:0 0 40px;}
.public-page-actions {display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;width:128px;}
body:not(.curator-mode) .public-page-header #modeSwitchBtn,
.public-page-header #collectionBack {position:static;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:128px;height:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid #ffffff26;border-radius:6px;background:#11171466;color:#dfdfd4;font:400 14px 'Instrument Sans',Arial,sans-serif;text-decoration:none;text-transform:none;box-shadow:none;transform:none;}
.public-page-header #accountSignOut {min-height:32px;margin:2px 0 0;padding:4px 0 4px 12px;border:0;border-radius:3px;background:transparent;color:var(--room-muted,#b3b6ab);font:400 12px 'Instrument Sans',Arial,sans-serif;box-shadow:none;transform:none;cursor:pointer;}
.public-page-header #accountSignOut:hover {color:#f2f0e8;text-decoration:underline;text-underline-offset:3px;}
.public-page-header :is(a,button):focus-visible {outline:2px solid var(--room-accent,#e0c18e);outline-offset:4px;}
.public-page-header .collection-save-note {display:block;margin:5px 0 0;font-size:11px;line-height:1.5;color:var(--room-muted,#b3b6ab);}
/* The player already centers its stage within the viewport. Keep the header
   outside that flow so it cannot add a second vertical offset. */
.public-page-header:has(#modeSwitchBtn) {position:absolute;top:0;left:32px;right:32px;z-index:3;min-height:0;padding-bottom:0;}
body:has(#listenerLayout.fullscreen) .public-page-header {display:none;}
@media(max-width:1100px) {.public-page-header:has(#modeSwitchBtn) {left:20px;right:20px;}}
@media(max-width:650px) {
  .public-page-header {gap:12px;min-height:108px;padding:18px 0 14px;}
  .public-page-header h1 {font-size:18px;letter-spacing:-.3px;gap:9px;}
  .public-page-header .listening-brand {gap:9px;}
  .public-page-header .brand-wordmark {font-size:9px;line-height:1.25;letter-spacing:-.1px;transform:translateY(3px);}
  .public-page-header .record-mark {width:28px;height:30px;flex-basis:28px;}
  .public-page-actions {width:112px;}
  body:not(.curator-mode) .public-page-header #modeSwitchBtn,
  .public-page-header #collectionBack {width:112px;font-size:13px;}
  .public-page-header .collection-save-note {max-width:210px;font-size:10px;}
  .public-page-header:has(#modeSwitchBtn) {left:16px;right:16px;}
}
@media(max-width:520px) {#accountDialog {padding:24px;}#accountDialog h2 {font-size:30px;}#accountDialog .account-header {margin-bottom:26px;}.account-brand {font-size:10px;letter-spacing:1px;}}
