.site-brand{display:flex;align-items:center;gap:12px;color:#f4f7fc;text-decoration:none;font-weight:800;font-size:18px;letter-spacing:.3px;min-width:0}.site-brand .brand-logo{display:block;width:58px;height:58px;object-fit:contain;flex-shrink:0}.site-brand .brand-copy{display:block;min-width:0}.site-brand .brand-copy small{display:block;margin:5px 0 0;font-size:9px;letter-spacing:2px;font-weight:500;color:#a9bac8}.profile-page header .brand.site-brand{display:flex}.premium-payment-brand{display:flex;align-items:center;gap:10px}.premium-payment-brand img{width:46px;height:46px;object-fit:contain;flex-shrink:0}.premium-facebook-link{font-size:11px;line-height:1.6;text-align:center;margin:10px 0 0;color:#aebfce}.premium-facebook-link a{overflow-wrap:anywhere}.console-heading .console-brand-logo{width:34px;height:34px;object-fit:contain}.console-heading{flex-wrap:wrap}
@media(max-width:700px){.site-brand,.profile-page header .brand.site-brand{font-size:14px;gap:9px}.site-brand .brand-logo{width:42px;height:42px}.site-brand .brand-copy small{font-size:8px;letter-spacing:1.3px}.profile-page header{flex-wrap:wrap}.premium-payment-brand img{width:38px;height:38px}.premium-payment-brand small{font-size:8px;letter-spacing:1.2px}.app-header .back-link{font-size:11px;padding:9px;white-space:nowrap}.console-heading .console-brand-logo{width:28px;height:28px}}

#premium-payment-paid{display:block;width:100%;background:#bdff70;color:#102009;border:0;border-radius:10px;padding:13px;font-weight:800;cursor:pointer}#premium-payment-paid:disabled{opacity:.65;cursor:default}#premium-payment-pending{font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}#profile-payment-status{padding:14px 18px;border:1px solid #bdff7050;border-radius:12px;background:#bdff7008}#bank-payment-pending{color:#bdff70}

.premium-price-display{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:16px 0}.premium-price-badge{flex-basis:100%;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#c0ff73}.premium-regular-price{font-size:17px;color:#a1b3c0;font-weight:400}.premium-current-price{font-size:30px;color:#c0ff73}.premium-price-display>small{font-size:12px;color:#b8c8d7}.legal-footer{display:flex;gap:4px 12px;justify-content:center;align-items:center;flex-wrap:wrap;padding:8px 12px;font-size:12px;line-height:1.4;color:#9fb0c2}.legal-footer a{color:#c0ff73;text-underline-offset:3px}@media(max-width:600px){.legal-footer{font-size:11px}}#pricing-preview,#pricing-status{color:#c0ff73;line-height:1.7}#premium-payment-price{justify-content:center;margin:0}#premium-payment-reprice{font-size:11px;background:transparent;width:100%}
/* Premium phone pairing stays visible over the karaoke screen. */
#remote-device-prompt,#remote-pin-dialog{width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#17232e;color:#eff5fa;border:1px solid #74944a;border-radius:22px;padding:28px;box-shadow:0 24px 100px #0009}
#remote-device-prompt::backdrop,#remote-pin-dialog::backdrop{background:#0009}
#remote-device-prompt small,#remote-pin-dialog small{color:#baff65;font-size:10px;letter-spacing:1.5px}
#remote-device-prompt h2,#remote-pin-dialog h2{font-size:25px;line-height:1.25}
#remote-device-prompt p,#remote-pin-dialog p{color:#bdcbd7;font-size:14px;line-height:1.7}
#remote-device-prompt button,#remote-pin-dialog button{width:100%;margin-top:12px;padding:13px;background:#2a3140;color:#eef5fc;border:1px solid #465261;border-radius:10px;cursor:pointer}
#remote-use-phone{background:#baff65!important;color:#101521!important;font-weight:700}
#remote-pair-pin{font-size:clamp(36px,9vw,58px);letter-spacing:8px;font-weight:800;color:#baff65;text-align:center;padding:18px 8px;background:#0c1821;border-radius:14px;font-variant-numeric:tabular-nums}
.remote-paired{position:absolute;left:22px;bottom:22px;z-index:8;font-size:11px;padding:9px 12px;border-radius:20px;border:1px solid #baff65;background:#14261fe6;color:#baff65;max-width:calc(100% - 110px)}
.songbook-entry #open-phone-remote{margin-left:10px}
@media(max-width:600px){#remote-device-prompt,#remote-pin-dialog{padding:22px}.remote-paired{left:12px;bottom:12px;font-size:10px}}
.stage.is-loading-next .idle-screen,.stage.is-loading-next .song-heading,.stage.is-loading-next .lyric-area,.stage.is-loading-next #now{visibility:hidden!important}
#song-transition{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;padding:clamp(14px,6vh,70px) clamp(8px,3vw,30px);background:#0a15178c;text-align:center;color:#fff;pointer-events:none}
#song-transition[hidden],#next-song-error[hidden]{display:none}
#song-transition p{margin:0;font-size:13px;line-height:1.6;color:#d5e4df}
#song-transition strong,#song-transition span,#song-transition p{max-width:100%;overflow-wrap:anywhere}
.row-actions button.is-song-busy{opacity:1;color:#c0ff73;min-width:100px;cursor:wait}
.row-actions button.is-song-busy[data-reserve]::after{content:"...";display:inline-block;width:1em;text-align:left;animation:reserve-dots 1.2s step-end infinite}
@keyframes reserve-dots{0%,100%{content:"..."}25%{content:".."}50%{content:"."}75%{content:""}}
@media(prefers-reduced-motion:reduce){.row-actions button.is-song-busy[data-reserve]::after{animation:none}}
#song-transition small{color:#baff65;font-size:11px;letter-spacing:2px}#song-transition strong{font-size:clamp(24px,4vw,46px)}#song-transition span{font-size:clamp(14px,2vw,22px);max-width:600px}
#next-song-error{position:absolute;bottom:72px;left:5%;right:5%;z-index:7;background:#281d1de8;border:1px solid #f09b9b;border-radius:12px;color:#ffe4e4;font-size:13px;line-height:1.5;padding:16px;text-align:center}
.premium-control-buttons{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px 0 10px}.premium-control-buttons button{flex:1 1 120px;padding:12px 10px;background:#24322b;color:#bdff70;border:1px solid #658442;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer}.premium-control-buttons button:disabled{opacity:.5;cursor:default}
#remote-main-instructions{width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#17232e;color:#eff5fa;border:1px solid #74944a;border-radius:22px;padding:28px}#remote-main-instructions::backdrop{background:#0009}#remote-main-instructions small{color:#baff65;font-size:10px;letter-spacing:1.5px}#remote-main-instructions li,#remote-main-instructions p{font-size:14px;line-height:1.7;color:#bdcbd7}#remote-main-instructions button{width:100%;padding:12px;background:#baff65;border:0;border-radius:10px;font-weight:700;color:#101521;cursor:pointer}
/* Native top-layer dialogs stay inside the viewport, independent of header scrolling. */
dialog:modal{position:fixed!important;inset:0!important;margin:auto!important;max-height:calc(100dvh - 32px)!important;max-width:calc(100vw - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
body:has(dialog[open]){overflow:hidden}
#site-capacity-gate{width:min(470px,calc(100vw - 32px));padding:28px;border:1px solid #c0ff7360;border-radius:20px;background:linear-gradient(145deg,#26332c,#121c29 65%);color:#eef4fc;box-shadow:0 25px 100px #0009}#site-capacity-gate::backdrop{background:#000b}#site-capacity-gate>small{color:#c0ff73;font-size:10px;letter-spacing:1.5px}#site-capacity-gate h2{margin:16px 0;font-size:27px}#site-capacity-gate p{font-size:14px;line-height:1.65;color:#bdcbd7}.capacity-premium-benefits{padding:16px;background:#c0ff7309;border:1px solid #c0ff7345;border-radius:12px;margin:18px 0}.capacity-premium-benefits strong{color:#c0ff73}#site-capacity-gate button{width:100%;min-height:44px;margin-top:10px}#site-capacity-premium{background:#c0ff73;color:#14200d;font-weight:700;border-color:#c0ff73}#site-capacity-status:empty{display:none}.capacity-stats{margin-top:20px}#capacity-form{display:flex;flex-wrap:wrap;gap:16px;align-items:end}#capacity-form label{display:grid;gap:8px}#capacity-status{flex-basis:100%}
