.studio-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.studio-actions .button,.studio-actions .secondary-button{justify-content:center;text-align:center;min-height:44px;font-size:14px;white-space:normal}.studio-actions [aria-pressed="true"]{color:#d9fa77;border-color:#d9fa77}.studio-actions p{flex-basis:100%;margin:4px 0}.studio-menu{margin-top:20px;border-top:1px solid #ffffff20;padding-top:12px}.studio-menu summary{cursor:pointer;color:#d9fa77;padding:10px 0}.studio-menu .studio-actions{align-items:stretch}.studio-published{display:block;margin-top:12px;color:#d9fa77;font-size:13px}.studio-dialog{width:min(620px,calc(100% - 28px));max-height:85dvh;overflow:auto;box-sizing:border-box;background:#191e1bec;color:#eef1e6;border:1px solid #ffffff38;border-radius:30px;padding:clamp(22px,5vw,36px);backdrop-filter:blur(22px);box-shadow:0 24px 100px #0009}.studio-dialog::backdrop{background:#070907ba;backdrop-filter:blur(8px)}.studio-dialog h2{font-size:clamp(25px,4vw,36px);margin:0 0 20px}.studio-dialog p{line-height:1.7}.studio-dialog input:not([type="checkbox"]){width:100%;min-width:0;margin:10px 0;color:#e9eee7;background:#ffffff08;border:1px solid #ffffff2b;border-radius:18px;padding:14px;box-sizing:border-box}.studio-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.6;margin:20px 0}.studio-consent input{width:20px;height:20px;flex:0 0 20px;accent-color:#d9fa77;margin-top:3px}.studio-public-card{padding:24px 0;border-bottom:1px solid #ffffff1a;min-width:0}.studio-public-card h2,.studio-public-card h3{overflow-wrap:anywhere}.studio-public-card audio{width:100%;margin:12px 0;max-width:100%}.studio-rank{color:#d9fa77;font-size:14px;letter-spacing:.12em}.studio-like-count{white-space:nowrap;color:#d9fa77}.studio-dialog [hidden],.studio-public-card [hidden],.charts-panel [hidden]{display:none!important}.library-filters{max-width:100%}.library-card .studio-public-card{border:0}.studio-dialog button:focus-visible,.studio-menu summary:focus-visible{outline:2px solid #d9fa77;outline-offset:5px}@media(max-width:600px){.studio-actions{gap:8px}.studio-actions .button,.studio-actions .secondary-button{flex:1 1 140px;padding:12px 14px}.studio-dialog{padding:22px;border-radius:26px}.studio-dialog>.secondary-button{width:100%}.studio-like-count{padding:0 8px}.library-filters{gap:7px}.library-filters button{flex:1 1 auto}.studio-public-card{padding:20px 0}}
.studio-dialog .studio-consent{display:flex;margin:20px 0}
.library-toolbar #library-empty-trash[hidden]{display:none!important}.library-toolbar #library-empty-trash{white-space:nowrap}.trash-counts{color:var(--lime);font-weight:600}.studio-dialog .button:disabled{opacity:.5;cursor:wait}.studio-dialog>.secondary-button{border-radius:999px;min-height:44px;padding:10px 24px}
.studio-dialog .studio-consent input{min-height:20px;height:20px;width:20px;padding:0;appearance:auto}

/* Keep the lyric title outside the scrollable text, within its own dark panel. */
.song-summary .review-lyrics-card{grid-column:1/-1;min-width:0;margin-top:8px;padding:20px 22px;border:1px solid rgba(217,250,119,.36);border-radius:22px;background:rgba(12,19,14,.88)}
.song-summary .review-lyrics-card dt{margin:0 0 14px;color:var(--lime);font-size:14px;font-weight:650}
.song-summary .review-lyrics-card dd{max-height:340px;margin:0;padding-right:12px;color:#f4f4e9;line-height:1.9;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;white-space:pre-wrap;overflow-wrap:anywhere}
.song-summary .review-lyrics-card dd:focus-visible{outline:2px solid var(--lime);outline-offset:5px;border-radius:4px}
@media(max-width:520px){.song-summary .review-lyrics-card{padding:18px 16px;border-radius:20px}.song-summary .review-lyrics-card dd{max-height:320px;line-height:1.8}}

/* Lyric mode and generated suggestion use the same rounded glass controls. */
.lyrics-modes{min-width:0;margin:22px 0;padding:0;border:0}.lyrics-modes legend{font-size:14px;font-weight:600;margin-bottom:10px}.lyrics-mode-options{display:flex;gap:10px;flex-wrap:wrap}.lyrics-mode-options label{display:flex;align-items:center;justify-content:center;gap:9px;flex:1 1 160px;padding:12px 16px;margin:0;border:1px solid #ffffff35;border-radius:999px;background:#ffffff05;cursor:pointer;line-height:1.4}.lyrics-mode-options label:has(:checked){color:var(--lime);border-color:var(--lime);background:#d9fa7710}.lyrics-mode-options input{width:17px;height:17px;min-height:0;flex:0 0 17px;margin:0;padding:0;accent-color:var(--lime)}#lyrics-ai-panel{margin-bottom:24px}.lyrics-suggestion{padding:18px;margin:20px 0;border:1px solid #d9fa7745;border-radius:22px;background:#d9fa7706}#lyrics-status{margin-bottom:18px}#lyrics-ai-panel[hidden],#lyrics-manual-panel[hidden],#lyrics-ai-panel [hidden]{display:none!important}#review-back{margin:4px 0 22px;justify-content:center;text-align:center}.song-summary dd{white-space:pre-wrap}#lyrics-ai-panel button{justify-content:center;text-align:center}#lyrics-ai-panel button:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* Centre the two actions within the song preview card. */
#preview-owner-actions{justify-content:center;gap:12px}

/* Keep support above the footer details and reserve space for the logo notes. */
.site-footer{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;gap:28px 36px;align-items:center}
.site-footer>.footer-support{grid-column:1/-1;grid-row:1;justify-content:center;gap:12px 28px;margin:0;padding:0;min-width:0}
.site-footer>.brand{grid-column:1;grid-row:2;padding-inline-end:36px;justify-self:start}
.site-footer>.brand:after{right:4px}
.site-footer>p{grid-column:2;grid-row:2;order:0;width:auto;min-width:0;margin:0;line-height:1.7}
.site-footer>.footer-links{grid-column:3;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px;min-width:0}
.site-footer>.footer-support a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:1050px){
 .site-footer{grid-template-columns:auto minmax(0,1fr)}
 .site-footer>.footer-links{grid-column:1/-1;grid-row:3;justify-content:center}
}
@media(max-width:640px){
 .site-footer{grid-template-columns:minmax(0,1fr);row-gap:24px;text-align:center}
 .site-footer>.brand{grid-column:1;grid-row:2;justify-self:center;padding-inline-end:28px;margin-top:4px}
 .site-footer>p{grid-column:1;grid-row:3}
 .site-footer>.footer-links{grid-column:1;grid-row:4}
}

/* The review step has its Back action beside the approved lyrics. */
.wizard-actions[hidden]{display:none!important}

/* Chart ranks, playback and reactions share a consistent track row. */
.studio-reactions{gap:8px;margin:0;flex-wrap:nowrap}
.studio-reactions:empty,.studio-public-card>.auth-status:empty{display:none}
.studio-reaction{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-width:44px;height:44px;margin:0;padding:0 12px;border:1px solid #ffffff24;border-radius:999px;background:#ffffff06;color:#bdc8b7;font:inherit;font-size:13px;line-height:1;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease}
.studio-reaction svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.studio-reaction[aria-pressed="true"]{color:#d9fa77;border-color:#d9fa7759;background:#d9fa7712}
.studio-reaction[aria-pressed="true"] svg{fill:currentColor}
.studio-reaction .studio-like-count{padding:0;color:inherit;font-variant-numeric:tabular-nums}
.studio-reaction:focus-visible{outline:2px solid #d9fa77;outline-offset:3px}
.studio-reaction:disabled{opacity:.5;cursor:wait}
@media(hover:hover){.studio-reaction:hover{color:#e2ff9e;border-color:#d9fa7766;background:#d9fa7719}}
#community-charts{padding:0 24px}
#community-charts>.studio-public-card{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:12px 18px;padding:20px 0}
#community-charts>.studio-public-card:last-child{border-bottom:0}
#community-charts .music-song-row{grid-template-columns:32px 48px minmax(0,1fr) 44px;align-items:center;gap:14px;border:0;padding:0}
#community-charts .studio-rank{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;letter-spacing:0;font-variant-numeric:tabular-nums;line-height:1}
#community-charts .music-row-play{width:44px;height:44px;justify-self:center;align-self:center;box-sizing:border-box}
#community-charts .music-row-play svg.play{transform:translateX(-1px)}
#community-charts .studio-reactions{display:grid;grid-template-columns:80px 44px;justify-content:end;gap:8px}
#community-charts .auth-status{grid-column:1/-1;margin:0}
#charts-feedback:empty{display:none}
@media(max-width:600px){
 #community-charts{padding:0 16px}
 #community-charts>.studio-public-card{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}
 #community-charts .music-song-row{grid-template-columns:26px minmax(0,1fr) 44px;gap:10px}
 #community-charts .music-row-art{display:none}
 #community-charts .studio-reactions{padding-left:36px}
}

.generation-song-result{flex-basis:100%;width:100%;min-width:0}
