:root{color-scheme:light;--paper:#f3f2e6;--panel:#ffffffbf;--field:#dfe4d3b8;--ink:#393b2f;--muted:#787c69;--line:#b7bda280;--accent:#68764f;--accent-hover:#566340;--accent-soft:#68764f14;--focus-line:#9ba780;--focus-ring:#68764f24;--toggle-track:#dce1d2;--toggle-thumb:#f6f4e8}:root:not(.light){color-scheme:dark;--paper:#20212a;--panel:#20212ad6;--panel-line:#ffffff20;--field:#292b36;--ink:#f1f1f6;--muted:#a2a5b4;--line:#393c4a;--accent:#4c5ef0;--accent-hover:#394bd5;--accent-soft:#4c5ef014;--focus-line:#a7aff8;--focus-ring:#4c5ef028;--toggle-track:#737787;--toggle-thumb:#fff}*{box-sizing:border-box}body{color:var(--ink);background:#f7f8fa;margin:0;font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,Malgun Gothic,sans-serif}button,textarea,input,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{box-shadow:0 0 0 2px var(--focus-line), 0 0 0 4px var(--focus-ring);outline:none}.candidate-row input:focus-visible,.vote-candidate input:focus-visible,.vote-weight input:focus-visible{box-shadow:inset 0 -1.5px 0 var(--focus-line)}[hidden]{display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}canvas{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:fixed;inset:0}.icon{vertical-align:middle;background:currentColor;flex-shrink:0;width:17px;height:17px;display:inline-block;mask-position:50%;mask-size:contain;mask-repeat:no-repeat}.icon.play{mask-image:url(play.d2b98249.svg)}.icon.shuffle{mask-image:url(shuffle.e9e498cf.svg)}.icon.map{mask-image:url(map.eb357c03.svg)}.icon.record{mask-image:url(record.c71c4728.svg)}.icon.bomb{mask-image:url(bomb.455f9b17.svg)}.icon.trophy{mask-image:url(trophy.50d1ba0a.svg)}.icon.sun{mask-image:url(sun.ab6ec46d.svg)}.icon.moon{mask-image:url(moon.3f475bd2.svg)}#settings{z-index:999;isolation:isolate;background:0 0;border:0;border-radius:16px;gap:24px;width:min(740px,100% - 48px);padding:20px;transition:opacity .18s,visibility .18s,transform .18s;display:flex;position:fixed;bottom:28px;left:24px;box-shadow:0 12px 36px #30251e1f,0 2px 8px #30251e0a}#settings:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background:var(--panel);backdrop-filter:blur(8px)saturate(1.08);clip-path:var(--panel-cutouts);position:absolute;inset:0}#settings.hide{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}.left{flex-direction:column;flex:1.04;order:1;min-width:0;display:flex}.right{border-left:0;flex-direction:column;flex:1;order:2;min-width:0;padding-left:0;display:flex}.collapsible-rows{flex-direction:column;flex:1;display:flex}h3{letter-spacing:-.3px;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:13px;font-weight:650;display:flex}#ballCount{color:var(--accent);background:var(--accent-soft);font-variant-numeric:tabular-nums;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1.3}textarea{resize:vertical;background:var(--field);width:100%;height:112px;min-height:80px;max-height:180px;color:var(--ink);scrollbar-width:thin;border:0;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.8;display:block}textarea:focus{box-shadow:none;outline:none}textarea::placeholder{color:var(--muted)}#candidateEditor{backdrop-filter:blur(8px);background:#292b36bf;border-radius:10px;padding:0;overflow:hidden}:root.light #candidateEditor{background:#ede5d5bf}#candidateRows{scrollbar-width:thin;scrollbar-color:var(--toggle-track) transparent;grid-template-columns:repeat(2,minmax(0,1fr));max-height:160px;margin-bottom:-1px;display:grid;overflow-y:auto}.candidate-row{border-bottom:1px solid #ffffff70;border-radius:0;grid-template-columns:minmax(0,1fr) 32px 20px;align-items:center;gap:2px;min-width:0;height:38px;padding:3px 7px;transition:background .12s;display:grid}.candidate-row:hover{background:#ffffff28}.candidate-row:nth-child(odd){border-right:1px solid #ffffff70}.candidate-row input{width:100%;min-width:0;height:30px;color:var(--ink);background:0 0;border:0;border-radius:0;padding:4px 3px;font-size:13px}.candidate-row input::placeholder{color:var(--muted)}.candidate-row .candidate-count{text-align:center;appearance:textfield;color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500;transition:color .15s}.candidate-row .candidate-count:focus{color:var(--ink)}.candidate-count::-webkit-inner-spin-button{appearance:none;margin:0}.candidate-count::-webkit-outer-spin-button{appearance:none;margin:0}.candidate-remove{width:20px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0;font-size:16px;line-height:1;transition:color .15s,background .15s}.candidate-remove:hover{color:var(--ink);background:var(--accent-soft)}.candidate-footer{border-top:1px solid #ffffff70;height:38px;display:flex}#btnAddCandidate{height:38px;color:var(--accent);text-align:left;background:0 0;border:0;border-radius:0;flex:1;margin:0;padding:0 11px;font-size:12px;font-weight:550;transition:color .15s,background .15s;display:block}#btnAddCandidate:hover{color:var(--accent-hover);background:var(--accent-soft)}#btnDiscordVote{height:38px;color:var(--accent);background:0 0;border:0;border-radius:0;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:600;transition:color .15s,background .15s;display:flex}#btnDiscordVote:hover{color:var(--accent-hover);background:var(--accent-soft)}#btnDiscordVote span{font-size:13px}.actions{align-items:center;gap:8px;margin-top:12px;display:flex}.actions button{background:var(--paper);height:36px;color:var(--ink);border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-size:12.5px;font-weight:550;transition:background .15s,color .15s,filter .1s;display:inline-flex}.actions button:hover{background:var(--field)}.actions button:active:not(:disabled){filter:brightness(.95)}#btnNotice{width:36px;height:36px;color:var(--muted);padding:0;font-size:13px;font-weight:650}#btnNotice:hover{color:var(--ink)}#btnNotice span{border:0;border-radius:50%;place-items:center;width:18px;height:18px;font-size:12px;display:grid}.sep{flex:1}#btnStart{background:var(--accent);color:#fff;padding:0 18px;font-weight:600}#btnStart:hover{background:var(--accent-hover)}#btnStart:disabled{opacity:.4;cursor:default}.btn-toggle-settings{display:none}.row{align-items:center;gap:8px;min-height:34px;margin-bottom:10px;display:flex}.row>label{width:78px;color:var(--muted);flex-shrink:0;align-items:center;gap:6px;font-size:12px;display:flex}.row>label .icon{opacity:.75;width:14px;height:14px}.map-picker{flex:1;align-items:center;gap:6px;min-width:0;display:flex}select{width:0;min-width:0;height:34px;color:var(--ink);background-color:var(--paper);cursor:pointer;border:0;border-radius:8px;flex:1;padding:0 10px;font-size:12px;line-height:34px;transition:background-color .15s}.btn-map-action{background:var(--field);width:34px;height:34px;color:var(--muted);border:0;border-radius:8px;flex-shrink:0;place-items:center;font-size:16px;text-decoration:none;transition:background .15s,color .15s,filter .1s;display:grid}.btn-map-action:hover{background:var(--accent-soft);color:var(--accent)}.btn-map-action:active{filter:brightness(.95)}:root.light .actions button,:root.light .btn-map-action{backdrop-filter:blur(8px)}:root.light .actions button{background:#f3f2e6d9}:root.light .actions button:hover,:root.light .btn-map-action,:root.light .btn-map-action:hover{background:#dfe4d3d9}:root.light #btnStart{background:#68764fe0}:root.light #btnStart:hover{background:#566340eb}:root:not(.light) .actions button,:root:not(.light) .btn-map-action{backdrop-filter:blur(8px)}:root:not(.light) .actions button{background:#20212ad9}:root:not(.light) .actions button:hover,:root:not(.light) .btn-map-action,:root:not(.light) .btn-map-action:hover{background:#292b36d9}:root:not(.light) #btnStart{background:#4c5ef0d9}:root:not(.light) #btnStart:hover{background:#394bd5d9}.row-toggles{justify-content:space-between;gap:16px;margin-bottom:12px}.toggle-item{flex:0 auto;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.toggle-item label{color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.toggle-item .icon{opacity:.75;width:14px;height:14px}input[type=checkbox]{appearance:none;background:var(--toggle-track);cursor:pointer;border:0;border-radius:30px;flex-shrink:0;width:30px;height:18px;margin:0;transition:background .15s;position:relative}input[type=checkbox]:after{content:"";background:var(--toggle-thumb);border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:3px;left:3px}input[type=checkbox]:checked{background:var(--accent)}input[type=checkbox]:checked:after{transform:translate(12px)}.btn-group{background:var(--field);border-radius:8px;flex:1;gap:2px;min-width:0;padding:3px;display:flex}.btn-group>*{width:0;min-width:0;height:28px;color:var(--muted);text-align:center;background:0 0;border:0;border-radius:6px;flex:1;padding:0 4px;font-size:11.5px;transition:color .15s,background .15s}.btn-group .active{background:var(--paper);color:var(--accent);font-weight:600;box-shadow:0 1px 3px #181b3510}:root.light textarea{backdrop-filter:blur(8px);background:#ede5d5bf}:root.light #sltMap{backdrop-filter:blur(8px);background-color:#ede5d5bf}:root.light .btn-group{isolation:isolate;background:0 0;position:relative}:root.light .btn-group:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;backdrop-filter:blur(8px);clip-path:var(--group-cutouts);background:#ede5d5bf;position:absolute;inset:0}:root.light .btn-group .active{color:var(--ink);backdrop-filter:blur(8px);background:#b4bf9cbf}.btn-group button{cursor:pointer}.btn-group button:hover{color:var(--accent)}.btn-group input{font-variant-numeric:tabular-nums;border-radius:6px}.row-range{display:none}.row-range.active{padding-left:86px;display:flex}.row-range>label{display:none}.range-sep{flex:0 0 18px;place-items:center;display:grid}.row-theme{justify-content:flex-end;align-items:center;gap:8px;min-height:36px;margin:auto 0 0;padding-top:8px}.btn-sound{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 30px;justify-content:center;align-items:center;padding:5px;transition:color .15s,background .15s,transform .1s;display:inline-flex}.btn-sound svg{width:17px;height:17px}.btn-sound:hover,.btn-sound:focus-visible{color:var(--accent);background:var(--accent-soft)}.btn-sound:active{transform:scale(.95)}.btn-sound .sound-slash,.btn-sound.is-muted .sound-waves{display:none}.btn-sound.is-muted .sound-slash{display:block}.youtube-music-player{pointer-events:none;width:200px;height:200px;position:fixed;top:0;left:-10000px;overflow:hidden}.youtube-music-player iframe{border:0;width:200px;height:200px}#musicDialog{background:var(--panel);width:min(420px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);backdrop-filter:blur(8px);border:0;border-radius:18px;margin:auto;padding:26px;overflow-y:auto;box-shadow:0 20px 70px #30251e30}#musicDialog::backdrop{backdrop-filter:blur(8px);background:#30251e24}#musicForm{flex-direction:column;gap:20px;display:flex}.music-intro{color:var(--muted);margin:-6px 0 0;font-size:12.5px;line-height:1.75}.music-field{flex-direction:column;gap:8px;font-size:12px;font-weight:550;display:flex}#musicUrl{width:100%;min-width:0;color:var(--ink);backdrop-filter:blur(8px);background:#ede5d5bf;border:0;border-radius:8px;padding:11px 12px;font-size:12.5px}:root:not(.light) #musicUrl{background:#292b36bf}.music-volume{grid-template-columns:1fr auto;gap:10px;font-size:12px;display:grid}#musicVolumeValue{color:var(--muted);font-variant-numeric:tabular-nums}#musicVolume{width:100%;accent-color:var(--accent);grid-column:1/-1;margin:0}#musicStatus,#musicError{color:var(--muted);margin:0;font-size:11.5px;line-height:1.7}#musicError{color:#a1533c}.music-actions{gap:8px;display:flex}.music-actions button{color:var(--ink);backdrop-filter:blur(8px);background:#ede5d5bf;border:0;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:550;transition:background .15s,transform .1s}.music-actions button:hover{background:#dfe4d3e6}.music-actions button:active:not(:disabled){transform:scale(.98)}:root:not(.light) .music-actions button{background:var(--field)}.music-actions #musicSave{background:var(--accent);color:#fff;margin-left:auto;font-weight:600}.music-actions #musicSave:hover{background:var(--accent-hover)}.music-toast{text-align:center;max-width:min(430px,100vw - 32px);line-height:1.65}.theme{color:var(--muted);align-items:center;gap:7px;margin-left:4px;display:flex}.theme .icon{width:13px;height:13px}.copyright{z-index:999;color:var(--muted);opacity:.7;font-size:10px;position:fixed;bottom:8px;left:24px}.copyright a{color:inherit;text-decoration:none}.copyright a:hover{text-decoration:underline}#notice{background:var(--panel);width:min(420px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);backdrop-filter:blur(8px);border:0;border-radius:18px;margin:auto;padding:26px;overflow-y:auto;box-shadow:0 20px 70px #30251e30}#notice::backdrop{backdrop-filter:blur(8px);background:#30251e24}.notice-shell{flex-direction:column;gap:18px;display:flex}.notice-body{flex-direction:column;gap:12px;display:flex}.notice-body p{color:var(--muted);margin:0;font-size:12.5px;line-height:1.8}.notice-body strong{color:var(--ink);font-weight:600}.notice-body a{color:var(--accent);font-weight:550;text-decoration:none}.notice-body a:hover{text-decoration:underline}.notice-action{justify-content:flex-end;display:flex}.notice-action button{background:var(--accent);color:#fff;border:0;border-radius:8px;height:38px;padding:0 20px;font-size:12.5px;font-weight:600;transition:background .15s,transform .1s}.notice-action button:hover{background:var(--accent-hover)}.notice-action button:active{transform:scale(.98)}.toast{background:var(--panel);color:var(--ink);z-index:1003;backdrop-filter:blur(8px);border:0;border-radius:8px;padding:10px 16px;font-size:12.5px;font-weight:550;transition:opacity .18s,transform .18s;animation:.18s ease-out toast-in;position:fixed;top:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #30251e24}.toast.toast-out{opacity:0;transform:translate(-50%,-6px)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}#discordVoteDialog{background:var(--panel);width:min(510px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);backdrop-filter:blur(8px);scrollbar-width:thin;border:0;border-radius:18px;margin:auto;padding:26px;overflow-y:auto;box-shadow:0 20px 70px #30251e30}#discordVoteDialog::backdrop{backdrop-filter:blur(8px);background:#30251e24}#discordVoteForm{flex-direction:column;gap:20px;display:flex}.vote-heading{justify-content:space-between;align-items:flex-start;display:flex}.vote-heading-actions{align-items:center;gap:8px;display:flex}.vote-eyebrow{color:var(--accent);letter-spacing:1.4px;margin:0 0 5px;font-size:10.5px;font-weight:650}.vote-heading h2{letter-spacing:-.5px;margin:0;font-size:22px;font-weight:650}.vote-close{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-size:22px;line-height:1;transition:background .15s,color .15s}.vote-close:hover{background:var(--accent-soft);color:var(--ink)}.vote-intro{color:var(--muted);margin:-8px 0 0;font-size:12.5px;line-height:1.7}.vote-section-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.vote-section-heading h3,.vote-connection h3{margin:0;font-size:12.5px}.vote-section-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11.5px}#voteCandidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.vote-candidate{background:#ede5d5bf;border-radius:8px;align-items:center;display:flex}.vote-candidate input{width:100%;min-width:0;height:38px;color:var(--ink);background:0 0;border:0;padding:0 11px;font-size:13px}.vote-candidate button{width:28px;height:38px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex-shrink:0;font-size:17px;transition:color .15s}.vote-candidate button:hover:not(:disabled){color:var(--ink)}#voteAddCandidate{color:var(--accent);background:0 0;border:0;border-radius:6px;margin-top:7px;padding:5px 6px;font-size:12px;font-weight:550;transition:color .15s,background .15s}#voteAddCandidate:hover:not(:disabled){color:var(--accent-hover);background:var(--accent-soft)}#voteAddCandidate:disabled{opacity:.4;cursor:default}#voteWeights{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.vote-weight{background:#ede5d5bf;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:0 11px;display:flex}.vote-weight>span{color:var(--muted);flex-shrink:0;font-size:11.5px}.vote-weight input{width:100%;min-width:0;height:38px;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums;background:0 0;border:0;padding:0;font-size:14px}.vote-connection{background:var(--accent-soft);border-radius:10px;grid-template-columns:1fr auto;align-items:start;gap:10px;padding:14px;display:grid}#voteChannel{color:var(--muted);overflow-wrap:anywhere;margin:6px 0 0;font-size:11.5px}#voteConnect{color:var(--ink);background:#b4bf9cbf;border:0;border-radius:6px;padding:7px 11px;font-size:11.5px;font-weight:550;transition:background .15s,transform .1s}#voteConnect:hover:not(:disabled){background:#a4b18ad9}#voteConnect:active:not(:disabled){transform:scale(.98)}.vote-destination{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;display:grid}.vote-destination label{min-width:0;color:var(--muted);flex-direction:column;gap:6px;font-size:11.5px;display:flex}.vote-destination select{background-color:var(--field);width:100%;min-width:0;height:36px;color:var(--ink);font:inherit;border:0;border-radius:6px;flex:none;padding:0 10px;font-size:12px;line-height:36px}.vote-destination select:disabled{opacity:.6}#voteHostLogout{color:var(--muted);background:0 0;border:0;border-radius:4px;grid-column:1/-1;justify-self:start;padding:2px 0;font-size:11px;transition:color .15s}#voteHostLogout:hover{color:var(--ink)}#discordHostDialog{background:var(--panel);width:min(360px,100vw - 32px);color:var(--ink);backdrop-filter:blur(8px);border:0;border-radius:18px;margin:auto;padding:26px;box-shadow:0 20px 70px #30251e30}#discordHostDialog::backdrop{backdrop-filter:blur(8px);background:#30251e24}#discordHostForm{flex-direction:column;gap:12px;display:flex}.host-help{color:var(--muted);margin:0 0 6px;font-size:12.5px;line-height:1.75}#discordHostForm>label{color:var(--muted);font-size:11.5px}#hostPassword{width:100%;color:var(--ink);background:#ede5d5bf;border:0;border-radius:8px;padding:11px 12px;font-size:14px}#hostLogin{color:#fff;background:#68764fe0;border:0;border-radius:8px;margin-top:4px;padding:12px;font-size:12.5px;font-weight:600;transition:background .15s,transform .1s}#hostLogin:hover:not(:disabled){background:#566340eb}#hostLogin:active:not(:disabled){transform:scale(.98)}#hostError{color:#9c493a;margin:0;font-size:12px;line-height:1.7}#discordHostForm button:disabled{opacity:.5;cursor:default}:root:not(.light) #hostPassword{background:var(--field)}#votePeople{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}#votePeople span{background:var(--panel);border-radius:6px;padding:5px 8px;font-size:11.5px}#votePeople:empty{display:none}#voteRoster{min-height:30px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:12px;display:flex}#voteRoster span{color:var(--ink);background:#b4bf9cbf;border-radius:6px;padding:7px 10px}#voteRosterHelp{color:var(--muted);margin:8px 0 0;font-size:11.5px;line-height:1.7}#voteConnectionHelp{color:var(--muted);grid-column:1/-1;margin:0;font-size:11.5px;line-height:1.6}#voteError{color:#9c493a;margin:0;font-size:12px;line-height:1.7}#voteExisting{background:var(--accent-soft);border-radius:8px;padding:12px;font-size:12px}#voteExisting p{margin:0 0 8px}#voteExisting.recruiting{background:0 0;padding:0}#voteCancelExisting{color:#9c493a;background:0 0;border:1px solid #9c493a;border-radius:6px;padding:7px 10px;font-size:11.5px;transition:background .15s}#voteCancelExisting:hover:not(:disabled){background:#9c493a14}.vote-bottom{justify-content:space-between;align-items:center;gap:12px;display:flex}.vote-bottom>span{color:var(--muted);font-size:11px;line-height:1.7}#voteOpen{color:#fff;background:#68764fe0;border:0;border-radius:8px;flex-shrink:0;padding:11px 18px;font-size:12.5px;font-weight:600;transition:background .15s,transform .1s}#voteOpen:hover:not(:disabled){background:#566340eb}#voteOpen:active:not(:disabled){transform:scale(.98)}#discordVoteForm button:disabled{opacity:.5;cursor:default}:root:not(.light) .vote-candidate,:root:not(.light) .vote-weight{background:#292b36bf}:root:not(.light) #voteConnect{background:var(--field)}:root:not(.light) #voteOpen{background:var(--accent)}@media (width<=650px){#settings{flex-direction:column;gap:12px;width:calc(100% - 24px);max-height:65dvh;padding:16px;display:flex;bottom:26px;left:12px;overflow-y:auto}.left{flex:none;order:2}.right{border:0;flex:none;order:1;padding:0}.btn-toggle-settings{width:100%;color:var(--ink);background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-size:12px;font-weight:600;display:flex}.toggle-arrow{color:var(--muted);font-size:10px;font-style:normal}.collapsible-rows{margin-top:13px}.collapsible-rows.collapsed{display:none}textarea{height:76px;min-height:64px}.actions{margin-top:10px}.copyright{font-size:8px;left:12px}}@media (prefers-reduced-motion:reduce){*,:after{transition:none!important;animation:none!important}}