*{box-sizing:border-box}body{margin:0;background:#101714;color:#ecf0e5;font-family:Arial,Helvetica,sans-serif}button,a{font:inherit}button{cursor:pointer;border:1px solid #485a4a;border-radius:12px;background:#253529;color:#e9f3df;padding:15px 22px;min-height:52px}button:hover{background:#344d3b}button:disabled{opacity:.5}[hidden]{display:none!important}:focus-visible{outline:3px solid #dcf3a4;outline-offset:5px}a{color:inherit}header{height:85px;padding:20px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #26382b}.brand{text-decoration:none;font-size:28px;font-weight:bold;letter-spacing:-1.4px}.brand span{color:#e95f3e}header p{font-size:10px;letter-spacing:.16em;color:#93a68d}header button{min-height:40px;padding:8px 15px;font-size:12px;background:none}main{padding:3% 5%}.pair-layout{min-height:70vh;display:grid;grid-template-columns:1.25fr 1fr;gap:7%;align-items:center;max-width:1300px;margin:auto}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:bold;color:#9eaf8d;margin:0 0 25px}h1{font-size:clamp(38px,4.6vw,67px);font-weight:500;line-height:1.05;letter-spacing:-.045em;margin:0}h1 span{color:#b9ce9a}.lead{font-size:18px;line-height:1.7;color:#b5c2ad;margin:28px 0}.instructions{display:flex;gap:15px;font-size:12px;margin:35px 0 24px}.instructions span{border:1px solid #3d533e;padding:12px;border-radius:24px}.muted{font-size:12px;color:#83977c}.pair-card{background:#1d2b21;padding:30px;border:1px solid #344936;border-radius:24px;text-align:center}.pair-card h2{font-size:20px;margin:20px 0 12px;letter-spacing:-.02em}.pair-card p{font-size:13px;line-height:1.6;color:#a9bba1}.pair-card .fine{font-size:11px;margin:20px auto 0;max-width:250px}#qr{background:#fff;border-radius:14px;padding:12px;width:min(290px,100%);min-height:240px;margin:auto}#qr svg{display:block;width:100%;height:auto}.songbar{display:flex;justify-content:space-between;align-items:center;gap:30px}.songbar h1{font-size:clamp(26px,3.5vw,44px)}.songbar .eyebrow{margin-bottom:10px}.songbar #artist{font-size:17px;color:#98ad91;margin:12px 0}.controls button{white-space:nowrap}#status{font-size:12px;color:#7f9978;margin:8px 0 16px}#lyrics{height:50vh;overflow:auto;scrollbar-width:none;position:relative;padding:20vh 0;mask-image:linear-gradient(transparent,#000 13%,#000 87%,transparent)}#lyrics p{font-size:clamp(26px,3vw,42px);line-height:1.4;font-weight:600;letter-spacing:-.025em;text-align:center;margin:0 0 24px;color:#4f6850;transition:color .2s}#lyrics p.active{color:#d2edb9}#lyrics p.empty{font-size:24px;font-weight:400;color:#9db88e}.bottom{display:flex;justify-content:space-between;align-items:center;gap:40px;border-top:1px solid #2b402d;padding-top:20px}.timeline{display:flex;align-items:center;gap:13px;flex:1;font-size:12px;color:#9eb391}.timeline progress{width:100%;height:4px;accent-color:#bfdc9f}.timing{display:flex;align-items:center;gap:14px;font-size:13px}.timing button{font-size:22px;min-height:46px;padding:8px 17px}.player-notes{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#829779;margin:16px 0 0}#limit{background:#2b3a25;padding:24px;border-radius:16px;margin:20px 0}#limit h2{font-size:25px;margin:0 0 13px}#limit p{line-height:1.6;font-size:14px}#limit a{font-size:14px}@media(max-width:700px){header{height:70px;padding:16px 6%}header p{display:none}.pair-layout{grid-template-columns:1fr;padding:25px 0;gap:30px}.pair-layout h1{font-size:43px}.lead{font-size:16px}.instructions{gap:8px;margin:22px 0}.instructions span{font-size:10px;padding:10px}.pair-card{padding:24px}.songbar{align-items:flex-start;flex-direction:column;gap:10px}.songbar h1{font-size:30px}#lyrics{height:43vh;padding:15vh 0}#lyrics p{font-size:26px}.bottom{flex-direction:column;gap:20px}.timeline{width:100%}.player-notes{flex-wrap:wrap}.controls button{min-height:46px;padding:11px 17px}main{padding:25px 6%}}

/* Music edition: the lyrics own the screen. */
:root{color-scheme:dark}body{background:#101110;color:#f5f5ef}header{height:66px;padding:12px 3vw;border-color:#2c3026}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:-1px}.brand img{width:33px;height:33px}.brand span{color:inherit}header p{font-size:9px;color:#a8b294}header button{border-radius:7px;border-color:#485735;color:#c6d0b5}button{background:#262c1d;border-color:#485735;border-radius:7px;min-height:44px;padding:10px 17px;color:#e4edd5}button:hover{background:#364826}:focus-visible{outline-color:#d5ff42}main{padding:0 3vw}.eyebrow{color:#d5ff42}.pair-layout{min-height:calc(100vh - 66px);padding:45px 2vw;max-width:1250px;gap:8%;grid-template-columns:1.2fr 1fr}.pair-layout h1{font-size:clamp(55px,7vw,100px);font-weight:800;line-height:.98}.pair-layout h1 span{color:#d5ff42}.lead{color:#b6beaa;font-size:17px}.instructions{gap:12px}.instructions span{border-radius:5px;border-color:#4d593f;color:#e1eccf}.pair-card{background:#1c2117;border-color:#404b32;border-radius:12px;padding:32px}.pair-card h2{font-size:21px}.pair-card p{color:#b4c2a4}.muted{color:#a1ac91}#qr{border-radius:9px}.songbar{padding:17px 0 5px;gap:25px}.songbar>div:first-child{min-width:0}.songbar h1{font-size:clamp(21px,2vw,30px);font-weight:750;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.songbar .eyebrow{font-size:9px;margin-bottom:7px}.songbar #artist{font-size:14px;color:#a5ad98;margin:6px 0 0}.controls button{font-size:12px}#start{background:#d5ff42;border-color:#d5ff42;color:#172008;font-weight:bold}#status{font-size:10px;margin:3px 0 0;color:#a5ad98;line-height:1.4}#player{height:calc(100vh - 66px);height:calc(100dvh - 66px);display:flex;flex-direction:column;min-height:0;position:relative}#lyrics{position:static;flex:1;min-height:0;height:auto;overflow:auto;overscroll-behavior:contain;padding:23vh 3vw 32vh;mask-image:linear-gradient(transparent,#000 12%,#000 86%,transparent)}#lyrics p{font-size:clamp(38px,4.7vw,80px);font-weight:750;line-height:1.24;letter-spacing:-.035em;color:#777e6d;max-width:1340px;margin:0 auto 32px}#lyrics p.active{color:#d5ff42}#lyrics p.empty{font-size:clamp(25px,3vw,43px);line-height:1.5;color:#a5ad98;font-weight:500}.bottom{border-color:#30352a;gap:35px;padding-top:12px;flex-shrink:0}.timeline{font-size:11px;color:#a5ad98}.timeline progress{accent-color:#d5ff42;height:3px}.timing{font-size:12px;gap:12px}.timing button{font-size:22px;min-height:44px;min-width:45px;padding:5px 12px}.player-notes{font-size:9px;color:#818d73;margin:10px 0;padding-bottom:10px;flex-shrink:0}#limit{position:absolute;inset:23% 10% auto;z-index:3;background:#232c17;border:1px solid #7d9a40;box-shadow:0 20px 100px #0008;text-align:center;padding:35px}#limit h2{color:#d5ff42}#lyrics::-webkit-scrollbar{display:none}@media(max-height:650px) and (min-width:701px){header{height:48px}.brand{font-size:20px}.brand img{width:28px;height:28px}#player{height:calc(100dvh - 48px)}.songbar{padding-top:10px}.songbar h1{font-size:22px}.songbar #artist{font-size:12px}#lyrics p{font-size:clamp(34px,4.5vw,65px)}}@media(max-width:700px){header{height:58px;padding:10px 5%}.brand{font-size:22px}.brand img{width:30px;height:30px}main{padding:0 5%}.pair-layout{grid-template-columns:1fr;gap:30px;padding:30px 0 45px;min-height:0}.pair-layout h1{font-size:60px}.lead{font-size:15px;margin:22px 0}.instructions{gap:8px;margin:22px 0}.pair-card{padding:25px}.songbar{flex-direction:row;align-items:center;padding:15px 0 5px;gap:15px}.songbar h1{font-size:22px}.songbar #artist{font-size:12px}.controls button{font-size:10px;padding:10px;white-space:normal;max-width:105px;min-height:44px}.songbar .eyebrow{font-size:8px}#player{height:calc(100dvh - 58px)}#status{font-size:10px}#lyrics{padding:20vh 0 30vh}#lyrics p{font-size:clamp(32px,7.5vw,47px);line-height:1.3;margin-bottom:26px}#lyrics p.empty{font-size:25px}.bottom{flex-direction:row;gap:18px}.timeline{font-size:9px;gap:8px}.timing{gap:6px;font-size:10px}.timing button{min-width:40px;padding:6px 10px}.player-notes{font-size:8px;gap:8px}#limit{inset:22% 0 auto;padding:24px}.pair-layout .instructions span{font-size:10px}}

/* Album art fits the existing song header; lyric type rules stay unchanged. */
.song-meta{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.song-copy{min-width:0}.album-art{position:relative;display:flex;align-items:center;justify-content:center;width:72px;height:72px;flex:0 0 72px;overflow:hidden;border-radius:8px;background:#252b1c;color:#d5ff42;text-decoration:none;box-shadow:0 2px 14px #0005}.album-art>span{font-size:34px}.album-art img{display:block;width:100%;height:100%;object-fit:cover}.album-art small{position:absolute;right:0;bottom:0;left:0;padding:2px 4px;text-align:right;font-size:8px;line-height:1.3;background:#000b;color:#fff}@media(max-height:650px) and (min-width:701px){.album-art{width:54px;height:54px;flex-basis:54px}}@media(max-width:700px){.song-meta{gap:10px}.album-art{width:56px;height:56px;flex-basis:56px}.album-art>span{font-size:28px}}

.screen-account{display:flex;gap:8px}#payment-panel{position:fixed;inset:0;background:#000c;z-index:10;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.payment-card{max-width:820px;width:100%;max-height:95dvh;overflow:auto;background:#171c14;border:1px solid #596c3e;border-radius:15px;padding:26px;text-align:center}.payment-card h2{font-size:32px;margin:8px 0 14px}.payment-card p{color:#b8c4a9;line-height:1.5;font-size:14px}#payment-close{float:right}.payment-plans{display:flex;gap:12px;clear:both;margin:20px 0}.payment-plans button{flex:1;padding:16px}.payment-plans small{display:block;font-size:11px;margin-top:7px;color:#b4c2a6}#payment-qr:not(:empty){width:260px;max-width:60vw;margin:10px auto;background:white;border-radius:8px}#payment-qr svg{display:block;width:100%;height:auto}@media(max-width:600px){.payment-card{padding:16px}.payment-card h2{font-size:26px}.payment-plans{gap:6px}.payment-plans button{padding:12px 5px;font-size:12px}.screen-account{gap:5px}.screen-account button{font-size:10px;padding:8px}}

/* Phone checkout: one scan, no plan selection on the vehicle screen. */
.payment-layout{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;padding-top:14px}.payment-copy{text-align:left}.payment-copy .eyebrow{font-size:10px;color:#d5ff42}.payment-copy .payment-prices{font-size:19px;line-height:1.9;color:#f5f5ef}.payment-copy .fine{font-size:12px}.payment-resume{clear:both;border-top:1px solid #3a472d;padding-top:16px}#payment-qr:empty{min-height:270px;display:grid;place-items:center}#payment-qr:empty:before{content:'Preparing QR…';color:#b8c4a9}#payment-qr:not(:empty){width:280px;max-width:100%}#payment-status{min-height:3em}@media(max-width:600px){.payment-layout{grid-template-columns:1fr;gap:12px}.payment-copy{text-align:center}.payment-copy .payment-prices{font-size:15px;line-height:1.5}.payment-copy .eyebrow{margin-bottom:12px}#payment-qr:not(:empty){width:250px}}

/* Readability: brighten upcoming lyrics without changing the active line or type. */
#lyrics p.active ~ p{color:#a5ad98}
#lyrics{mask-image:linear-gradient(#0006,#000 5%,#000 95%,#0006);-webkit-mask-image:linear-gradient(#0006,#000 5%,#000 95%,#0006)}

#payment-share-qr{width:280px;max-width:100%;margin:10px auto}#payment-share-qr img{display:block;width:100%;height:auto}#payment-membership{color:#d5ff42;font-weight:700}

#status:empty{display:none}

#payment-account-qr{width:280px;max-width:100%;margin:10px auto}#payment-account-qr img{display:block;width:100%;height:auto}#payment-account-mode{margin:8px 0 4px;border-color:#d5ff42;color:#d5ff42}

/* Translations share the original paragraph and its active state; original typography is unchanged. */
.translation-control{display:flex;align-items:center;gap:7px;font-size:11px;color:#c5cfb6}
.translation-control select{font:inherit;max-width:140px;min-height:44px;background:#202719;color:#e4edd5;border:1px solid #485735;border-radius:7px;padding:6px 10px}
.songbar .controls{display:flex;align-items:center;gap:12px}
.translation-status{font-size:10px;color:#b2bd9f;margin:3px 0 4px;line-height:1.4;flex-shrink:0}.translation-status:empty{display:none}
#lyrics p .lyric-translation{display:block;font-size:.48em;font-weight:500;line-height:1.4;letter-spacing:0;color:#a8b49a;margin-top:8px;unicode-bidi:plaintext}
#lyrics p.active .lyric-translation{color:#e4f5bd}
@media(max-width:700px){.songbar .controls{flex-direction:column;gap:5px;align-items:flex-end}.translation-control{font-size:9px;gap:4px}.translation-control select{font-size:10px;max-width:105px;padding:5px}.translation-status{font-size:9px}#lyrics p .lyric-translation{font-size:.53em}}

/* One compact header control; dropdown overlays lyrics without resizing them. */
.screen-menu{position:relative;margin-left:auto;flex-shrink:0;z-index:8}
.screen-menu summary{display:flex;align-items:center;justify-content:center;gap:9px;list-style:none;cursor:pointer;min-height:44px;padding:9px 16px;border:1px solid var(--appearance-border,#485735);border-radius:9px;color:var(--appearance-text,#f5f5ef);font-size:14px;font-weight:600;user-select:none}
.screen-menu summary::-webkit-details-marker{display:none}
.screen-menu summary:hover,.screen-menu[open] summary{background:var(--appearance-bg,#20241c)}
.screen-menu .screen-account{position:absolute;top:calc(100% + 10px);right:0;display:flex;flex-direction:column;align-items:stretch;gap:5px;width:255px;max-width:calc(100vw - 24px);padding:9px;background:var(--appearance-bg,#20241c);color:var(--appearance-text,#f5f5ef);border:1px solid var(--appearance-border,#485735);border-radius:12px;box-shadow:0 16px 48px #0006}
.screen-menu .screen-account button{width:100%;min-height:48px;text-align:left;font-size:14px;padding:12px;border-color:transparent;color:inherit;white-space:normal}
.screen-menu .screen-account #exit{border-top:1px solid var(--appearance-border,#485735);border-radius:0 0 6px 6px}
header #connection{margin-left:auto;margin-right:24px}
@media(max-width:700px){.screen-menu .screen-account{flex-wrap:nowrap}.screen-menu summary{padding:9px 12px}}

/* A quiet reminder alongside the existing player notes. */
.player-notes{flex-wrap:wrap;align-items:center}.player-notes .bookmark-tip{font-size:11px;line-height:1.4;color:var(--appearance-text,#b6beaa)}
