:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#17353d;background:#f4f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:980px;margin:auto;padding:18px 18px 110px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.brand{font-size:25px;font-weight:800;letter-spacing:-1.1px}.brand small{display:block;font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:#648087;font-weight:600}.pill{border-radius:50px;background:#e1eeec;color:#225c57;padding:7px 12px;font-size:12px;font-weight:700}.card{background:white;border:1px solid #e0e8e8;border-radius:19px;padding:20px;margin-bottom:14px;box-shadow:0 5px 22px #15343b08}.narrow{max-width:480px;margin:40px auto}.muted{color:#71878a}.sub{font-size:13px;color:#73888c}.row{display:flex;gap:10px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:11px}.btn{background:#173e48;color:white;border-radius:12px;padding:13px 18px;font-weight:700;min-height:44px}.btn.alt{background:#e8f0ef;color:#21454a}.btn.ghost{background:transparent;color:#49666c}.btn.danger{background:#a63f42}.btn.small{padding:9px 12px;font-size:13px;min-height:35px}.btn:active{transform:scale(.985)}.field{width:100%;padding:13px;border:1px solid #d5e1e1;border-radius:11px;background:#fff;color:#183840;outline:none}.field:focus{border-color:#337f84;box-shadow:0 0 0 3px #337f8422}label{font-size:13px;font-weight:700;display:block;margin:4px 0 6px}h1,h2,h3,p{margin-top:0}h1{font-size:31px;letter-spacing:-1px}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px}.center{text-align:center}.roomcode{font-size:42px;letter-spacing:5px;font-weight:800;font-variant-numeric:tabular-nums}.pads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pad{border:1px solid #dce7e7;background:#f7faf9;border-radius:14px;min-height:106px;padding:13px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;touch-action:pan-y;user-select:none}.pad b{font-size:15px;overflow-wrap:anywhere}.pad .number{font-size:11px;color:#7d9799}.pad.selected{background:#e0f0ec;border:2px solid #377d73}.pad.dragging{opacity:.35}.pad .handle{float:right;color:#839b9c}.tabs{display:flex;gap:7px;overflow:auto;margin-bottom:16px}.tab{white-space:nowrap;background:#e9eeee;border-radius:10px;padding:11px 15px;color:#456267;font-weight:700}.tab.active{background:#173e48;color:white}.lyrics{white-space:pre-wrap;line-height:1.85;font-size:var(--lyric-size,23px);max-width:700px;margin:0 auto;min-height:35vh;text-align:center;padding:15px 6px 70px}.reader{height:min(64vh,650px);overflow-y:auto;scroll-behavior:auto;overscroll-behavior:contain;border-radius:12px;background:#fbfcfc}.reader .lyrics{padding-bottom:75vh}.banner{border:1px solid #badbd3;background:#e9f6f1;border-radius:14px;padding:16px;margin-bottom:14px}.banner h3{margin-bottom:6px}.bottom{position:sticky;bottom:0;background:#f4f7f7e8;backdrop-filter:blur(12px);padding:12px 0;display:flex;gap:8px;flex-wrap:wrap}.stat{font-size:12px;color:#6a8387}.empty{padding:36px 12px;text-align:center;color:#7b9093}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.codeboxes{display:flex;gap:7px;justify-content:center;margin:22px 0}.digit{width:43px;height:53px;border:1px solid #cddddd;border-radius:10px;background:white;display:grid;place-items:center;font-size:25px;font-weight:800}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:300px;margin:auto}.key{padding:14px;background:#eef4f3;border-radius:11px;font-size:22px;font-weight:700}.hidden{display:none!important}.notice{font-size:13px;color:#607b7e}.divider{height:1px;background:#e4eded;margin:15px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#193e46;color:white;padding:12px 20px;border-radius:12px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20;max-width:90vw}#toast.show{opacity:1}input[type=range]{width:100%}@media(max-width:540px){.shell{padding:14px 12px 90px}.pads{gap:8px}.pad{min-height:96px;padding:10px}.pad b{font-size:13px}.roomcode{font-size:36px}.two{grid-template-columns:1fr}.card{padding:16px}.brand{font-size:23px}}@media(min-width:760px){.pads{grid-template-columns:repeat(4,1fr)}}

.password-wrap{position:relative}.password-wrap .field{padding-right:78px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:9px 10px;background:#e8f0ef;color:#21454a;border-radius:8px;font-size:13px;font-weight:700}
.modal-overlay{position:fixed;inset:0;z-index:1000;background:#0d252c99;display:flex;align-items:center;justify-content:center;padding:18px}.app-modal{width:min(100%,480px);max-height:90dvh;overflow-y:auto;background:white;border-radius:20px;padding:24px;box-shadow:0 20px 65px #0d252c44}.modal-body{line-height:1.6;color:#425c62}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}

.verification-notice{background:#eff7f6;border:1px solid #c6e2dd;border-radius:12px;padding:14px 16px;margin:12px 0 18px;color:#1b4747}.verification-notice p{margin:7px 0 0;line-height:1.55;font-size:14px}

.lyric-section{font-weight:800;margin:1.1em 0 .45em;color:#236b72}.lyric-line{white-space:pre-wrap;min-height:1.25em}

.live-ready{background:#2f9b69;color:white;animation:live-breathe 2.4s ease-in-out infinite;box-shadow:0 0 0 0 rgba(47,155,105,.3)}
.live-active{background:#e4f4e9!important;color:#1c734b!important;opacity:1!important;border:1px solid #89c9a4}
@keyframes live-breathe{0%,100%{background:#299362;box-shadow:0 0 0 0 rgba(47,155,105,.24)}50%{background:#43ae79;box-shadow:0 0 0 6px rgba(47,155,105,0)}}
@media(prefers-reduced-motion:reduce){.live-ready{animation:none}}
.pad.drop-target{outline:3px dashed #278c63;outline-offset:2px;background:#d8f2e6}
.pad.dragging{opacity:.55;transform:scale(.97);border:2px solid #26895c}
.reader-controls{position:sticky;bottom:0;background:#fff;padding:12px 0 4px;z-index:2;border-top:1px solid #e1ebea}

.speed-labels{display:flex;justify-content:space-between;font-size:12px;color:#667c80;margin:8px 0 0}.reader{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}#duration{width:100%;accent-color:#268f69}
