@font-face{font-family:Gaegu;src:url('assets/Gaegu-Regular.woff2') format('woff2');font-display:swap}@font-face{font-family:Gowun;src:url('assets/GowunDodum-Regular.woff2') format('woff2');font-display:swap}
*{box-sizing:border-box}body{margin:0;background:#2c1c16;color:#fff5e7;font:16px/1.6 Gowun,sans-serif;transition:background-color .5s,color .5s}body[data-part=audience],body[data-part=together]{background:#f6cb9f;color:#573326}[hidden]{display:none!important}a{color:inherit;text-underline-offset:5px}a:focus-visible{outline:2px solid currentColor;outline-offset:6px}.sing-screen{min-height:100svh;max-width:960px;margin:auto;padding:24px max(24px,env(safe-area-inset-left)) max(28px,env(safe-area-inset-bottom));display:flex;flex-direction:column;text-align:center}header{display:flex;align-items:center;justify-content:space-between;gap:20px}.sing-brand{font:32px Gaegu,cursive}header a{font-size:13px;min-height:44px;display:flex;align-items:center}.sing-title{font-size:16px;margin:12px 0 0;opacity:.75}.lyric-stage{flex:1;display:flex;flex-direction:column;justify-content:center;padding:20px 0;min-height:420px}.sing-role{font-size:13px;letter-spacing:.05em;min-height:24px;opacity:.8}.sing-current{font-size:clamp(30px,7.7vw,48px);line-height:1.5;letter-spacing:-.045em;margin:8px 0 24px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;font-weight:400}.sing-next{font-size:clamp(18px,4.5vw,28px);opacity:.48;min-height:32px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all}.sing-countdown{font:40px Gaegu,cursive;margin:0;min-height:58px}#sing-connection{font-size:12px;min-height:20px;margin:0;opacity:.8}.sing-progress{height:2px;background:#a7806533;overflow:hidden;max-width:300px;margin:0 auto 16px}.sing-progress span{display:block;height:100%;width:0;background:currentColor}footer p,footer a{font-size:12px;min-height:20px}body[data-offline=true]{background:#3c3029;color:#f3e3d3}@media(prefers-reduced-motion:reduce){body{transition:none}}

.sing-upnext{display:flex;flex-direction:column;align-items:center;min-height:142px;justify-content:flex-start;gap:14px}.sing-upnext .sing-next{margin:0;max-width:100%}.sing-next.is-ours{opacity:.9;color:#f6cb9f}.sing-invite{display:inline-flex;align-items:center;gap:10px;margin:0;padding:7px 16px 7px 9px;border:1px solid #f6cb9f66;border-radius:24px 24px 24px 8px;background:#f6cb9f18;color:#ffe0b9;font:22px/1.2 Gaegu,cursive;animation:invite-arrive .45s ease-out}.sing-buddy{position:relative;display:inline-block;flex:none;width:27px;height:27px;background:#f6cb9f;border-radius:48% 52% 45% 48%;transform:rotate(-8deg)}.sing-buddy::before{content:"";position:absolute;width:3px;height:4px;left:8px;top:8px;border-radius:50%;background:#573326;box-shadow:8px 0 #573326}.sing-buddy::after{content:"";position:absolute;width:8px;height:5px;left:9px;top:14px;border-bottom:2px solid #573326;border-radius:0 0 8px 8px}.sing-role.is-ours{align-self:center;padding:6px 18px;border-radius:999px;background:#573326;color:#fff5e7;font:24px/1.3 Gaegu,cursive;opacity:1}body[data-part=audience] .sing-invite,body[data-part=together] .sing-invite{color:#573326;background:#fff5e766;border-color:#57332644}body[data-part=audience] .sing-next.is-ours,body[data-part=together] .sing-next.is-ours{color:#573326}body[data-offline=true] .sing-invite{visibility:hidden}@keyframes invite-arrive{0%{opacity:0;transform:translateY(7px) rotate(-3deg)}70%{transform:translateY(-3px) rotate(1deg)}100%{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.sing-invite{animation:none}}

.sing-past{display:flex;flex-direction:column;gap:12px;margin-bottom:18px;min-height:72px}.sing-context{margin:0;min-height:30px;font-size:clamp(18px,4.5vw,24px);line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;opacity:.55}.sing-faded{opacity:.38}.sing-past .sing-context:empty{visibility:hidden}.sing-role{margin:0 0 4px}.sing-countdown{min-height:46px;font-size:32px}.sing-next{opacity:.75}#sing-connection:empty{min-height:0}@media(max-height:740px){.sing-screen{padding-top:12px;padding-bottom:12px}.lyric-stage{padding:12px 0;min-height:0}.sing-past{gap:6px;margin-bottom:10px;min-height:66px}.sing-upnext{gap:10px;min-height:120px}.sing-current{margin-bottom:16px}.sing-title{margin-top:4px}.sing-countdown{min-height:38px}}
