.account {min-height:100vh;color:var(--ink);background:var(--bg)}
.account-bar {border-bottom:1px solid var(--line)}
.account-bar nav,.account-main {width:min(100% - 2rem,58rem);margin-inline:auto}
.account-bar nav,.account-heading,.account-plan,.account-songs>header,.plan-actions,.access-actions,.song-actions,.copy-row {display:flex;align-items:center;gap:.65rem 1.25rem;flex-wrap:wrap}
.account-bar nav,.account-heading,.account-plan,.account-songs>header {justify-content:space-between}
.account-bar nav {min-height:4.25rem}
.account-bar a,.account .text-link,.account summary {min-height:44px;display:inline-flex;align-items:center}
.account-bar a {font-weight:650;font-size:.9rem}
.account-brand {font-size:1.18rem!important;letter-spacing:-.04em}
.account-brand img {margin-right:.5rem;border-radius:.55rem}
.account-brand span,.account .text-link {color:var(--gold)}
.account .text-link,.account summary {font-size:.9rem;font-weight:600;text-align:left}
.account .text-link:hover,.account summary:hover,.account-bar a:hover {text-decoration:underline;text-underline-offset:.18em}
.account-main {padding-block:clamp(1.5rem,4vw,3rem) 3rem}
.account-heading {margin-bottom:1.4rem}
.account-heading h1 {font-size:clamp(2.65rem,6vw,4rem)}
.account h2 {font-size:clamp(1.9rem,4vw,2.6rem)}
.account .btn {display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-align:center}
.account .btn-secondary {background:var(--raised);border:1px solid var(--line)}
.account #invitation {margin:0 0 1rem}
.account #invitation button {margin:.65rem .6rem 0 0}
.account-main footer {margin-top:1rem}
.account :disabled {opacity:.6;cursor:wait}
.account-plan,.account-access {border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,3vw,1.7rem)}
.account-plan {background:linear-gradient(115deg,#392332,#251e29)}
.account-plan p,.account-access>p {margin-top:.45rem;max-width:62ch}
.account .muted,.song-meta,.account-access>p {color:var(--sub)}
.plan-actions {align-items:flex-end;flex-direction:column;gap:0}
.plan-actions strong {color:#ffd3a0}
.account-songs,.account-access {margin-top:2rem}
.account-songs>header {margin-bottom:.65rem}
#songs {list-style:none;margin:0;padding:0}
#songs li {padding:1rem 0;border-top:1px solid var(--line)}
.song-head {display:flex;align-items:center;gap:.8rem}
.song-head img {width:3.5rem;height:3.5rem;object-fit:cover;border-radius:.5rem}
.account .song-head h3 {font-size:1.1rem;line-height:1.35;overflow-wrap:anywhere}
.song-meta,.account .song-state {font-size:.9rem;margin-top:.15rem}
.song-state {color:#ffd7bf}
.song-actions {margin-top:.45rem;gap:.3rem 1rem}
.song-actions audio {width:min(100%,19rem);height:44px}
.account-access {background:var(--surface)}
.access-actions {margin-top:.8rem}
.account summary {cursor:pointer;text-decoration:underline;text-underline-offset:.18em}
.account details[open] {width:100%}
.account details>p {max-width:68ch;white-space:pre-wrap;overflow-wrap:anywhere}
.account form,.account #saved {max-width:42rem;margin:.7rem 0}
.account label {display:block;margin-bottom:.35rem;font-weight:600}
.account input {width:100%;min-width:0;min-height:44px;border:1px solid #756574;border-radius:.5rem;padding:.55rem .7rem;background:var(--bg)}
.copy-row input {flex:1 1 13rem}
.account form button,.account-confirm {margin-top:.6rem}
.account-confirm p {margin-bottom:.45rem}
.account-confirm button+button {margin-left:.65rem}
.account [role=status]:empty {display:none}
.account [role=status]:not(:empty) {margin-block:.65rem}
@media(max-width:600px){
  .account-bar nav {min-height:3.6rem}
  .account-heading {align-items:flex-start}
  .plan-actions {align-items:flex-start}
  .account-plan {display:grid;gap:.5rem}
}
