:root{color-scheme:dark;--page:#06080f;--panel:#0b0e19;--title:#fafaff;--artist:#7ae0cf;--muted:#979caf;--purple:#865cff;--line:#292e43;font-family:Inter,"Noto Sans JP","Yu Gothic UI",Meiryo,sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:#f6f5ff;background:var(--page);background-size:cover;background-position:center;background-attachment:fixed}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,input,a{ -webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #baa7ff;outline-offset:4px}button{color:inherit}button:disabled{opacity:.42}a{color:#baa7ff}h1,h2,h3,p{margin:0}button svg{width:22px;height:22px}.eyebrow{display:block;color:#a9a0c8;font-size:.7rem;font-weight:700;letter-spacing:.2em}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-icon{width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(145deg,#9270ff,#6244c9);border:1px solid #b094ff55;border-radius:15px;font-size:2rem;box-shadow:0 6px 24px #8054fc20}.brand h1{font-size:1rem;font-weight:650;letter-spacing:.04em;margin-top:5px}.button{border:1px solid transparent;border-radius:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 22px;transition:background .15s,transform .15s,box-shadow .15s;white-space:nowrap}.button:not(:disabled):active{transform:translateY(1px)}.primary{background:#7952ee;box-shadow:0 4px 20px #7849ee24}.primary:not(:disabled):hover{background:#9168ff;box-shadow:0 5px 26px #7849ee40}.secondary{background:#202338;border-color:#363b53;font-size:.875rem;padding:10px 14px}.secondary:hover{background:#2b2f48}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #33374c;background:#1a1e2e;border-radius:12px;font-size:1.5rem}.icon-button:hover{background:#2a2c43}.text-button{background:transparent;border:0;padding:6px 0;color:#b5b1c6;font-size:.875rem}.text-button:hover{color:#fff}.status-pill{border:1px solid #7952ee66;background:#7952ee18;color:#b6a0ff;display:inline-flex;align-items:center;gap:9px;padding:9px 20px;border-radius:99px;font-size:.75rem;font-weight:700;letter-spacing:.15em}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a286ff;box-shadow:0 0 10px #a286ff50}.app-container{width:min(1200px,calc(100% - 64px));margin:0 auto;padding:26px 0 20px}.member-bar,.member-actions{display:flex;align-items:center;gap:22px}.member-bar{justify-content:space-between;margin-bottom:20px;font-size:.8125rem;color:#b6b5c7}.member-actions form{margin:0}.session-label{display:flex;align-items:center;gap:9px;font-size:.65rem;letter-spacing:.16em;color:#83849a}.slot-frame{border:1px solid #30374d;border-radius:25px;overflow:hidden;box-shadow:0 24px 90px #0006;background:var(--panel)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 30px;background:#101522;border-bottom:1px solid var(--line)}.header-actions{display:flex;align-items:center;gap:12px}.song-stage{position:relative;display:flex;flex-direction:column;min-height:320px;height:calc(100svh - 375px);max-height:610px;background-color:var(--panel);background-size:cover;background-position:center}.stage-topline{display:flex;align-items:center;justify-content:space-between;padding:23px 30px;color:#727c96;font-size:.625rem;letter-spacing:.17em}.live-indicator{display:flex;align-items:center;gap:7px}.live-indicator i{width:4px;height:4px;background:#77c8b9;border-radius:50%}.song-content{flex:1;min-height:170px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:10px 42px 18px;gap:29px}.song-text{width:100%;text-align:center;min-width:0}.song-text h2{font-size:clamp(26px,4.7vw,64px);font-weight:750;line-height:1.5;color:var(--title);white-space:nowrap;text-shadow:0 3px 16px #60409335}.song-divider{width:45px;height:2px;background:#695c8966;margin:21px auto 17px}.song-text p{color:var(--artist);font-size:clamp(16px,2.2vw,29px);line-height:1.6;white-space:nowrap}.song-counts{display:flex;align-items:center;justify-content:center;gap:35px;padding:23px 20px 31px}.song-counts>div{display:flex;align-items:baseline;gap:9px}.song-counts strong{font-variant-numeric:tabular-nums;font-size:1.3rem;font-weight:600;color:#e7e5f6}.song-counts span{font-size:.75rem;color:#b2adc5}.song-counts>div:last-child strong{color:#b59dff}.count-separator{height:17px;width:1px;background:#303448}.app-footer{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;background:#0a0e18;border-top:1px solid var(--line);padding:24px 24px 22px}.stop-button{background:#ed3d57;border-color:#ff7b8d25;border-radius:15px;min-width:232px;padding:13px 32px;font-size:1.6rem;letter-spacing:.08em;box-shadow:0 6px 22px #eb325529}.stop-button:not(:disabled):hover{background:#ff536c}.stop-button:disabled{background:#333243;box-shadow:none;color:#b1aabb;opacity:.6}.app-footer>p{font-size:.875rem;color:#b0acc0}.keyboard-hint{position:absolute;right:26px;bottom:25px;font-size:.6875rem;color:#818399}kbd{font-family:inherit;border:1px solid #3a3c4b;border-radius:4px;padding:2px 5px;margin-right:5px;font-size:.65rem}.page-note{display:flex;justify-content:space-between;margin:18px 4px 0;color:#727187;font-size:.6875rem;letter-spacing:.06em}.note-dot{padding:0 7px;color:#997bd7}.slot-frame.is-spinning .status-pill{color:#c0acff;border-color:#9370ff;background:#8661ff26}.slot-frame.is-selected .status-pill{color:#81e6ca;border-color:#5bbda155;background:#4bba9b12}.slot-frame.is-selected .song-text{animation:selection-pop .32s ease-out}.slot-frame.is-spinning .song-text h2{opacity:.92}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 20px;max-width:calc(100% - 30px);border:1px solid #584a86;border-radius:12px;background:#242036;z-index:30;font-size:.875rem}.noscript-message{position:fixed;inset:0;display:grid;place-items:center;background:#080b17ee;padding:32px;z-index:30}
.login-page{display:grid;place-items:center;min-height:100svh;padding:36px;background:radial-gradient(ellipse at 20% 10%,#24174366,transparent 50%),#080b14}.login-shell{width:min(1020px,100%);display:grid;grid-template-columns:1.05fr 1fr;border:1px solid #313047;border-radius:26px;overflow:hidden;box-shadow:0 35px 100px #0005}.login-intro{position:relative;padding:40px;background:radial-gradient(ellipse at 0 100%,#34205388,transparent 80%),linear-gradient(135deg,#1a172d,#141624);overflow:hidden;min-height:615px;display:flex;flex-direction:column}.login-message{margin-top:72px}.login-message .status-pill{font-size:.62rem;padding:8px 12px}.login-message h2{margin-top:24px;font-size:clamp(30px,3.6vw,43px);line-height:1.65;letter-spacing:.03em;font-weight:750}.login-message h2 span{color:#a992ff}.login-message p{margin-top:20px;font-size:.9375rem;line-height:1.9;color:#aaa5c0}.login-caption{margin-top:auto;padding-top:55px;font-size:.6rem;letter-spacing:.22em;color:#9287ac}.login-rhythm{position:absolute;bottom:70px;right:25px;display:flex;align-items:center;gap:7px;height:80px;opacity:.22;transform:rotate(-8deg)}.login-rhythm i{width:4px;background:#a688ff;border-radius:10px;height:26px}.login-rhythm i:nth-child(3n){height:55px}.login-rhythm i:nth-child(4n){height:78px}.login-rhythm i:nth-child(2n){height:38px}.login-form-panel{padding:66px 46px;background:#0e1220;display:flex;flex-direction:column;justify-content:center}.form-heading h2{font-size:1.9rem;margin-top:14px;margin-bottom:14px;letter-spacing:.03em}.form-heading p{color:#a4a3b6;font-size:.875rem;line-height:1.8}.login-form{display:flex;flex-direction:column;margin-top:30px}.login-form label{font-size:.875rem;font-weight:600;margin-bottom:10px}.login-form input:not([type=hidden]){width:100%;padding:14px 15px;min-height:50px;color:#f7f4ff;border:1px solid #35384d;border-radius:10px;background:#141826;margin-bottom:22px}.login-form input::placeholder{color:#77788e;font-size:.875rem}.login-submit{width:100%;margin-top:7px;padding:15px}.login-submit span{margin-left:auto}.account-help{color:#85859b;font-size:.75rem;line-height:1.9;margin-top:29px;padding-top:22px;border-top:1px solid #292c3e}.form-error,.form-notice{font-size:.875rem;line-height:1.6;padding:12px 14px;margin-top:20px;border-radius:8px;background:#8e2e4825;border:1px solid #ab456166;color:#ffafc0}.form-notice{background:#7760a825;border-color:#8770b466;color:#cdbbfa}
dialog{color:#f7f4ff;background:#141827;border:1px solid #3e3c55;border-radius:20px;padding:28px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#030510b8;backdrop-filter:blur(5px)}.settings-dialog{width:min(600px,calc(100% - 32px));max-height:calc(100svh - 48px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:1.35rem;margin-top:7px}.settings-note{font-size:.875rem;color:#a9a2bb;margin:18px 0 5px}.appearance-section{padding:22px 0;border-bottom:1px solid #303347}.appearance-section h3{font-size:1rem;font-weight:650;margin-bottom:14px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0;font-size:.875rem;color:#c6c1d6}.setting-row input[type=color]{width:48px;height:32px;border:1px solid #484357;padding:3px;border-radius:6px;background:#202536;cursor:pointer}.setting-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.file-label{cursor:pointer}.dialog-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-top:24px}.gallery-dialog{width:min(860px,calc(100% - 24px));max-height:calc(100svh - 36px)}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}.gallery-choice{border:1px solid #38384c;background:#202234;border-radius:10px;padding:6px;color:#c7c1d5;font-size:.75rem;text-align:left}.gallery-choice:hover{border-color:#ab8aff}.gallery-choice img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px;margin-bottom:8px}.gallery-choice span{display:block;padding:0 3px 3px}
@keyframes selection-pop{0%{transform:scale(.96);opacity:.65}100%{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(min-width:1500px){.app-container{padding-top:45px}.song-stage{min-height:480px}}
@media(max-width:900px){.app-container{width:calc(100% - 32px);padding-top:20px}.app-header{padding:21px}.brand h1{font-size:.875rem}.brand-icon{width:42px;height:42px;font-size:1.7rem}.header-actions{gap:8px}.header-actions .button{padding:12px 17px;font-size:.875rem}.keyboard-hint{position:static}.song-stage{height:auto;min-height:410px}.login-form-panel{padding:44px 30px}.login-intro{padding:32px}.login-intro .brand h1{font-size:.8125rem}.song-counts{gap:25px}}
@media(max-width:620px){.app-container{width:calc(100% - 24px);padding:16px 0}.member-bar{margin:0 4px 14px}.session-label{font-size:.55rem}.member-actions{gap:12px;font-size:.75rem}.member-actions .text-button{font-size:.75rem}.app-header{flex-wrap:wrap;padding:19px 18px;gap:20px}.brand h1{font-size:.875rem}.brand-icon{width:39px;height:39px;border-radius:12px}.eyebrow{font-size:.6rem}.header-actions{width:100%}.header-actions .primary{flex:1}.slot-frame{border-radius:20px}.song-stage{min-height:345px}.stage-topline{padding:20px;font-size:.5rem}.live-indicator{letter-spacing:.04em}.song-content{padding:10px 20px 12px;gap:25px;min-height:190px}.song-counts{gap:17px;padding:22px 8px 26px}.song-counts>div{flex-direction:column;gap:6px;align-items:center;min-width:60px}.song-counts strong{font-size:1.2rem}.song-counts span{font-size:.65rem}.status-pill{font-size:.65rem;padding:8px 16px}.app-footer{padding:22px 16px;gap:12px}.app-footer>p{font-size:.75rem;max-width:100%;text-align:center;line-height:1.7}.stop-button{min-width:200px}.page-note{font-size:.6rem;margin:16px 4px 0}.login-page{padding:18px}.login-shell{grid-template-columns:1fr;max-width:430px}.login-intro{min-height:0;padding:25px 27px}.login-message,.login-rhythm,.login-caption{display:none}.login-form-panel{padding:32px 27px 34px}.form-heading h2{font-size:1.6rem}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{padding:22px}.setting-actions .button{font-size:.75rem;padding:10px}.dialog-footer .button{padding:12px 20px}}

.file-input{position:absolute;width:1px;height:1px;opacity:0}.file-label:focus-within{outline:3px solid #baa7ff;outline-offset:4px}
