.sr-container,.sr-layout{overflow:hidden;display:flex}.clock-date,.result-title,.sr-form-section-title,.sr-section-title,.sr-sidebar-label,.sr-stage-kicker,.tiebreaker-title,.winner-number{text-transform:uppercase}*{margin:0;padding:0;box-sizing:border-box}:root{--sr-sidebar-w:20%;--sr-panel-w:340px}.sr-container *,.sr-overlay *{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.12) transparent}.sr-container ::-webkit-scrollbar,.sr-overlay ::-webkit-scrollbar{width:8px;height:8px}.sr-container ::-webkit-scrollbar-track,.sr-overlay ::-webkit-scrollbar-track{background:0 0}.sr-container ::-webkit-scrollbar-thumb,.sr-overlay ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1);border-radius:4px;border:2px solid transparent;background-clip:padding-box}.sr-container ::-webkit-scrollbar-thumb:hover,.sr-overlay ::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.18);background-clip:padding-box;border:2px solid transparent}.sr-container ::-webkit-scrollbar-corner,.sr-overlay ::-webkit-scrollbar-corner{background:0 0}body.light-mode .sr-container *,body.light-mode .sr-overlay *{scrollbar-color:rgba(0,0,0,0.18) transparent}body.light-mode .sr-container ::-webkit-scrollbar-thumb,body.light-mode .sr-overlay ::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);background-clip:padding-box;border:2px solid transparent}body.light-mode .sr-container ::-webkit-scrollbar-thumb:hover,body.light-mode .sr-overlay ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.25);background-clip:padding-box;border:2px solid transparent}.sr-container{position:fixed;top:48px;bottom:52px;left:236px;right:0;padding:24px 16px 16px;z-index:1;transition:inset .25s,padding .25s}.sr-fullscreen-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);z-index:900;opacity:0;pointer-events:none;transition:opacity .25s}body.sr-fullscreen-active .sr-fullscreen-backdrop{opacity:1;pointer-events:auto}body.light-mode .sr-fullscreen-backdrop{background:rgba(255,255,255,.5)}body.sr-fullscreen-active .sr-container{top:24px;left:24px;right:24px;bottom:24px;padding:0;z-index:950}body.sr-fullscreen-active .sr-layout{max-width:100%;box-shadow:0 24px 60px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.04)}body.light-mode.sr-fullscreen-active .sr-layout{box-shadow:0 24px 60px rgba(0,0,0,.2)}.sr-layout{max-width:1400px;margin:0 auto;width:100%;height:100%;background:var(--bg-secondary);border-radius:var(--radius-lg);border:1px solid var(--border)}.sr-sidebar{width:var(--sr-sidebar-w);min-width:200px;background:var(--bg-tertiary);border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;padding-top:16px}.sr-sidebar-brand{font-size:1.2rem;font-weight:800;color:var(--text-primary);padding:0 16px 14px;margin-top:10px;letter-spacing:-.03em}.sr-nav{padding:8px;display:flex;flex-direction:column;gap:2px;overflow-y:auto;min-height:0;flex:1}.sr-nav-item-wrap{position:relative;display:block}.sr-nav-item{display:flex;align-items:center;gap:10px;padding:9px 38px 9px 12px;border-radius:var(--radius-md);color:var(--text-secondary);text-decoration:none;font-size:.82rem;font-weight:500;transition:.15s;cursor:pointer;white-space:nowrap;overflow:hidden}.sr-nav-item i{width:16px;text-align:center;font-size:13px;flex-shrink:0}.sr-nav-item span{overflow:hidden;text-overflow:ellipsis}.sr-nav-item:hover{background:var(--bg-hover);color:var(--text-primary)}.sr-nav-item.active{background:rgba(255,255,255,.08);color:var(--text-primary);font-weight:600}body.light-mode .sr-nav-item.active{background:rgba(0,0,0,.06)}.sr-nav-item-edit{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:1px solid transparent;background:0 0;color:var(--text-muted);border-radius:var(--radius-sm);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-family:inherit;padding:0;opacity:0;transition:opacity .15s,background .15s,color .15s,border-color .15s;z-index:1}.sr-fake-cursor.show,.sr-nav-item-wrap.active .sr-nav-item-edit,.sr-nav-item-wrap:hover .sr-nav-item-edit,.sr-stage-backdrop.show,.sr-stage-card.show{opacity:1}.sr-nav-item-edit:hover{background:var(--bg-secondary);border-color:rgba(59,130,246,.35);color:#3b82f6}.sr-sidebar-label{font-size:.68rem;font-weight:700;color:var(--text-muted);letter-spacing:.05em;padding:16px 16px 6px}.celebration-subtitle,.participant-color,.sr-modal-split.sr-config-only .sr-split-right,.sr-modal-split.sr-participants-only .sr-split-left,.sr-sidebar-spacer,.winner-number i{display:none}.sr-prize-box{margin:0 12px 16px;padding:12px 14px;background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(59,130,246,.02));border:1px solid rgba(59,130,246,.18);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:4px;position:relative;overflow:hidden}.sr-prize-box::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#3b82f6}.sr-prize-amount{font-size:1.05rem;font-weight:800;color:var(--text-primary);letter-spacing:-.02em;line-height:1.2}.sr-prize-desc{font-size:.7rem;color:var(--text-muted);font-weight:500}.sr-main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--bg-secondary)}.sr-main-header{padding:24px 24px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.sr-main-header h2{font-size:1rem;font-weight:700;letter-spacing:-.005em;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.participant-item.winner .participant-name,.sr-highlight,.sr-main-header .sr-highlight{color:#3b82f6}.sr-main-header-right{display:flex;align-items:center;gap:14px;flex-shrink:0}.sr-auto-record-btn,.sr-fullscreen-btn{align-items:center;background:var(--bg-tertiary);color:var(--text-secondary);font-size:.78rem;font-family:inherit;transition:.15s;cursor:pointer}.sr-fullscreen-btn{width:32px;height:32px;border:1px solid var(--border);border-radius:var(--radius-md);display:flex;justify-content:center;padding:0}.sr-fullscreen-btn:hover{background:var(--bg-hover);border-color:rgba(59,130,246,.35);color:#3b82f6}.sr-auto-record-btn{display:inline-flex;gap:7px;padding:7px 12px;border:1px solid var(--border);border-radius:var(--radius-md);font-weight:600;white-space:nowrap}.sr-color-picker-row input[type=text],.sr-stage-datetime .sr-stage-time,.sr-stage-participant-num{font-family:'JetBrains Mono',Menlo,Consolas,monospace}.sr-auto-record-btn i{font-size:.82rem}.sr-auto-record-btn:hover{background:var(--bg-hover);border-color:rgba(239,68,68,.4);color:#ef4444}.sr-auto-record-btn.is-recording{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.5);color:#ef4444;animation:1.6s ease-in-out infinite sr-rec-pulse}.sr-auto-record-btn.is-preparing{color:var(--text-muted);pointer-events:none}@keyframes sr-rec-pulse{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.25)}50%{box-shadow:0 0 0 4px rgba(239,68,68,0)}}.sr-fake-cursor{position:fixed;top:0;left:0;width:30px;height:30px;z-index:2500;pointer-events:none;opacity:0;transform:translate(-100px,-100px) scale(.8);transition:transform .85s cubic-bezier(.4, 0, .2, 1),opacity .35s;filter:drop-shadow(0 4px 10px rgba(0, 0, 0, .5))}.sr-fake-cursor svg{display:block;position:absolute;top:0;left:0}.sr-fake-cursor-ring{position:absolute;top:14px;left:14px;width:4px;height:4px;border-radius:50%;background:rgba(59,130,246,0);border:2px solid rgba(59,130,246,0);transform:translate(-50%,-50%);pointer-events:none}.sr-stage-backdrop,.sr-stage-card{position:fixed;opacity:0;pointer-events:none}.sr-fake-cursor.click .sr-fake-cursor-ring{animation:.5s ease-out sr-fake-cursor-ripple}.sr-fake-cursor.click svg{animation:.32s sr-fake-cursor-press}@keyframes sr-fake-cursor-ripple{0%{width:4px;height:4px;border-color:rgba(59,130,246,.9);background:rgba(59,130,246,.35)}100%{width:50px;height:50px;border-color:rgba(59,130,246,0);background:rgba(59,130,246,0)}}@keyframes sr-fake-cursor-press{0%,100%{transform:scale(1) translate(0,0)}35%{transform:scale(.78) translate(1px,2px)}65%{transform:scale(.88) translate(1px,1px)}}.sr-fake-pressed{transform:scale(.88)!important;filter:brightness(.85)!important;transition:transform .1s ease-out,filter .1s ease-out,box-shadow .1s ease-out!important;box-shadow:0 0 0 4px rgba(59,130,246,.25),inset 0 2px 6px rgba(0,0,0,.2)!important}.sr-stage-backdrop{inset:0;background:rgba(0,0,0,.7);z-index:2300;transition:opacity .3s}.sr-panel,.sr-stage-card{background:var(--bg-secondary)}.sr-stage-card{top:50%;left:50%;transform:translate(-50%,-50%);min-width:320px;max-width:min(520px,90vw);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px 36px;z-index:2400;transition:opacity .25s;box-shadow:0 20px 60px rgba(0,0,0,.35);text-align:center}.sr-stage-kicker{font-size:.68rem;font-weight:700;letter-spacing:.16em;color:var(--text-muted);margin-bottom:12px}.sr-stage-datetime .sr-stage-day{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;line-height:1.1;margin-bottom:4px;color:var(--text-primary)}.sr-stage-datetime .sr-stage-date{font-size:.85rem;color:var(--text-muted);font-weight:500;margin-bottom:20px}.sr-stage-datetime .sr-stage-time{font-size:2.4rem;font-weight:700;letter-spacing:-.02em;line-height:1;color:#3b82f6}.sr-stage-participants{max-width:min(560px,92vw)}.sr-stage-title{font-size:1.1rem;font-weight:700;letter-spacing:-.015em;margin-bottom:20px;color:var(--text-primary)}.sr-stage-title .sr-stage-count{color:#3b82f6;font-weight:800}.sr-stage-participants-list{display:grid;gap:4px;text-align:left;max-height:48vh;overflow:hidden}.spin-info,.sr-badge,.sr-empty,.sr-sidebar-loading,.winner-card{text-align:center}.sr-stage-participants-list.two-col{grid-template-columns:1fr 1fr;gap:4px 16px}.sr-stage-participant{display:flex;align-items:center;gap:10px;padding:7px 2px;opacity:0;transform:translateY(-4px);animation:.3s forwards sr-stage-fadein}.sr-stage-participant-num{font-size:.72rem;color:var(--text-muted);font-weight:600;min-width:22px;flex-shrink:0}.sr-stage-participant-info{flex:1;display:flex;align-items:baseline;gap:8px;min-width:0}.sr-stage-participant-name{font-size:.86rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sr-badge,.sr-section-title{font-weight:700;color:var(--text-muted)}.sr-stage-participant-nicks{font-size:.76rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}@keyframes sr-stage-fadein{to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.sr-stage-card{min-width:0;padding:24px 20px}.sr-stage-datetime .sr-stage-day{font-size:1.3rem}.sr-stage-datetime .sr-stage-time{font-size:2rem}.sr-stage-participants-list.two-col{grid-template-columns:1fr}}.sr-main-body{flex:1;display:flex;flex-direction:column;padding:22px 24px;min-height:0;overflow-y:auto}.sr-section-title{font-size:.72rem;letter-spacing:.06em;margin-bottom:12px}.sr-panel{width:var(--sr-panel-w);border-left:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;min-width:0}.sr-panel-header{padding:24px 16px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.sr-panel-header h3{font-size:.95rem;font-weight:700;display:flex;align-items:center;gap:8px}.sr-badge{font-size:.66rem;background:var(--bg-tertiary);border:1px solid var(--border);padding:2px 7px;border-radius:10px;min-width:20px;line-height:1.3}.sr-form-field label,.sr-new-roleta-btn{font-weight:600;color:var(--text-secondary)}.sr-panel-body{flex:1;display:flex;flex-direction:column;min-height:0;padding:12px;overflow:hidden}.sr-new-roleta-btn{margin:0 12px 14px;padding:10px 14px;background:0 0;border:1px dashed var(--border-hover);border-radius:var(--radius-md);font-family:var(--font-primary);font-size:.82rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:.15s}.btn-add-participant-compact:hover,.sr-new-roleta-btn:hover{border-color:#3b82f6;color:#3b82f6;background:rgba(59,130,246,.05)}.sr-new-roleta-btn i{font-size:10px}.sr-form-section{margin-bottom:20px}.sr-form-section-title{font-size:.7rem;font-weight:700;color:var(--text-muted);letter-spacing:.08em;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--border)}.sr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sr-form-field-full{grid-column:1/-1}.edit-item-nicks,.sr-form-field,.tie-players-list{display:flex;flex-direction:column;gap:6px}.sr-form-field label{font-size:.78rem}.sr-empty h3,.winner-card.active .winner-name{color:var(--text-primary)}.sr-required{color:#ef4444}.sr-form-field input,.sr-form-field select{padding:9px 12px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-family:var(--font-primary);font-size:.88rem;outline:0;transition:border-color .15s}.edit-item-name-input:focus,.edit-item-nick-input:focus,.sr-form-field input:focus,.sr-form-field select:focus{border-color:rgba(59,130,246,.5)}.sr-color-picker-row{display:flex;gap:8px;align-items:center}.sr-color-picker-row input[type=color]{width:48px;height:38px;padding:2px;cursor:pointer;flex-shrink:0}.sr-color-picker-row input[type=text]{flex:1;font-size:.82rem}.sr-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 32px}.sr-empty-icon{width:56px;height:56px;border-radius:var(--radius-lg);background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.18);color:#3b82f6;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:14px}.sr-empty h3{font-size:1rem;font-weight:700;margin-bottom:4px;letter-spacing:-.01em}.sr-empty p{font-size:.82rem;color:var(--text-muted);max-width:320px;line-height:1.5}.sr-sidebar-loading{padding:20px 12px;color:var(--text-muted);font-size:14px}.sr-sidebar-empty{padding:12px 16px;font-size:.78rem;color:var(--text-muted);font-style:italic}@media (max-width:1100px){.sr-panel{display:none}}.clock-widget{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.clock-time{font-size:18px;font-weight:700;color:#3b82f6;font-family:'Courier New',monospace;letter-spacing:1px}.btn-spin,.btn-tiebreaker,.edit-participants-btn,.winner-tiebreaker-btn{font-family:inherit;cursor:pointer}.clock-date{font-size:10px;color:var(--text-muted);font-weight:500}.wheel-container{display:flex;flex-direction:column;align-items:center;padding:4px 0 0}.wheel-wrapper{position:relative;width:400px;height:400px;margin-bottom:20px}.wheel-pointer{position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:22px solid #3b82f6;z-index:20;filter:drop-shadow(0 2px 4px rgba(59, 130, 246, .35))}#miniWheel,#wheel{width:100%;height:100%;border-radius:50%}.wheel-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:68px;height:68px;background:var(--bg-secondary);border-radius:50%;z-index:10;display:flex;align-items:center;justify-content:center;border:2px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.25)}.wheel-center-icon{font-size:22px;color:#3b82f6}.spin-info{margin-bottom:12px;font-size:.72rem;color:var(--text-muted);font-weight:500}.btn-spin{padding:10px 32px;background:#3b82f6;border:none;border-radius:7px;color:#fff;font-size:13px;font-weight:700;transition:.15s}.btn-spin:hover:not(:disabled),.celebration-btn:hover,.result-btn:hover,.winner-tiebreaker-btn:hover{background:#2563eb;transform:translateY(-1px)}.btn-mini-spin:disabled,.btn-spin:disabled{opacity:.5;cursor:not-allowed}.winners-section{max-width:620px;width:100%;margin:28px auto 0}.winners-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.winner-card{background:var(--bg-tertiary);border:1px solid var(--border);border-radius:8px;padding:12px 10px;opacity:.55;transition:opacity .2s,border-color .2s,background .2s;display:flex;flex-direction:column;gap:2px;min-height:88px;justify-content:center}.winner-card.active{opacity:1;border-color:rgba(59,130,246,.35);background:rgba(59,130,246,.08)}.winner-number{font-size:.58rem;color:var(--text-muted);letter-spacing:.08em;font-weight:700;margin-bottom:2px;opacity:.7}.winner-card.active .winner-number i{display:inline;color:#3b82f6;margin-right:4px;opacity:1}.winner-name{font-size:.88rem;font-weight:700;color:var(--text-secondary);line-height:1.2}.edit-participants-btn i,.winner-desc{font-size:.7rem}.winner-desc{color:var(--text-muted);line-height:1.2}.participant-item.winner .participant-desc,.winner-card.active .winner-desc{color:var(--text-secondary)}.winner-prize{font-size:.68rem;font-weight:600;color:var(--text-muted);margin-top:4px;opacity:.6}.winner-card.active .winner-prize{color:#3b82f6;opacity:1}.winner-tiebreaker-btn{margin-top:10px;padding:8px 16px;background:#3b82f6;border:none;border-radius:5px;color:#fff;font-size:11px;font-weight:600;transition:.2s;width:100%}.winner-tiebreaker-info{font-size:10px;color:var(--text-muted);margin-top:6px;font-style:italic}.participants-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.edit-participants-btn{padding:6px 10px;background:0 0;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.74rem;font-weight:600;transition:.15s;display:inline-flex;align-items:center;gap:6px}.edit-participants-btn:hover{background:rgba(59,130,246,.06);border-color:rgba(59,130,246,.35);color:#3b82f6}.participants-list{display:flex;flex-direction:column;gap:6px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px;margin-right:-4px}.participant-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:6px;transition:background .2s;flex-shrink:0}.participant-item:hover{background:var(--bg-hover)}.participant-item.winner{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.25)}.participant-item.winner:hover{background:rgba(59,130,246,.12)}.participant-rank{width:24px;height:24px;background:var(--bg-secondary);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--text-muted);flex-shrink:0}.participant-item.winner .participant-rank{background:#3b82f6;color:#fff}.participant-info{flex:1;min-width:0}.participant-name{font-size:13px;font-weight:600;color:var(--text-primary);margin-bottom:2px}.participant-desc{font-size:11px;color:var(--text-muted);font-weight:400}.participant-prize{font-size:13px;color:#3b82f6;font-weight:700;flex-shrink:0}.tiebreaker-section{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}.tiebreaker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.tiebreaker-title{font-size:12px;font-weight:500;color:#3b82f6;letter-spacing:.5px}.btn-tiebreaker{padding:8px 14px;background:0 0;border:1px solid rgba(59,130,246,.25);border-radius:var(--radius-md);color:#3b82f6;font-size:12px;font-weight:600;transition:.15s}.btn-tiebreaker:hover{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.4)}.tie-info{font-size:12px;color:var(--text-muted);margin-bottom:10px}.tie-player-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:5px}.tie-player-chip .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.tie-player-info{flex:1}.tie-player-name{font-size:12px;font-weight:500;color:var(--text-secondary)}.tie-player-desc{font-size:10px;color:var(--text-muted)}.btn-copy-winners,.btn-reset{padding:10px;font-size:.8rem;font-weight:600;cursor:pointer;transition:.15s;font-family:inherit}.btn-copy-winners{width:100%;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.3);border-radius:var(--radius-md);color:#3b82f6;margin-top:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:8px}.btn-reset,.sr-modal{border:1px solid var(--border);width:100%}.btn-copy-winners i,.btn-reset i{font-size:.78rem}.btn-copy-winners:hover{background:rgba(59,130,246,.14);border-color:rgba(59,130,246,.5);transform:translateY(-1px)}.celebration-copy-btn{margin-top:22px;max-width:260px;margin-left:auto;margin-right:auto}.btn-reset,.sr-panel-actions{margin-top:12px;display:flex}.sr-panel-actions{gap:6px;flex-shrink:0}.sr-panel-actions .btn-copy-winners{width:40px;height:40px;padding:0;margin-top:0;flex-shrink:0}.sr-panel-actions .btn-copy-winners i{font-size:.92rem}.sr-panel-actions .btn-reset{flex:1;margin-top:0}.btn-reset{background:0 0;border-radius:var(--radius-md);color:var(--text-muted);flex-shrink:0;align-items:center;justify-content:center;gap:8px}.btn-reset:hover{background:rgba(239,68,68,.05);border-color:rgba(239,68,68,.3);color:#ef4444}.sr-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:1000;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;padding:20px}.sr-overlay.show{opacity:1;visibility:visible;pointer-events:auto}.sr-modal{background:var(--bg-secondary);border-radius:var(--radius-lg);max-width:420px;transform:translateY(8px) scale(.97);transition:transform .2s,opacity .2s;opacity:0;max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden}.btn-mini-spin,.celebration-btn,.result-btn,.sr-modal-close{cursor:pointer;transition:.15s}.sr-overlay.show .sr-modal{transform:translateY(0) scale(1);opacity:1}.sr-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border);flex-shrink:0}.sr-modal-title{font-size:.95rem;font-weight:700;color:var(--text-primary);letter-spacing:-.005em;display:flex;align-items:center;gap:10px;margin:0}.sr-modal-title i{color:var(--text-muted);font-size:13px}.sr-modal-close{width:28px;height:28px;border:1px solid var(--border);background:var(--bg-tertiary);color:var(--text-muted);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;flex-shrink:0;padding:0}.btn-modal-cancel:hover,.sr-modal-close:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-hover)}.sr-modal-body{padding:20px;overflow-y:auto;scrollbar-width:thin}.sr-modal-body p{font-size:.88rem;color:var(--text-secondary);line-height:1.55;margin:0}.result-title i,.sr-split-left .sr-form-section-title{margin-bottom:14px}.sr-modal-desc{font-size:.86rem!important;color:var(--text-muted)!important;margin-bottom:16px!important}.result-modal .sr-modal{max-width:380px}.celebration-content,.result-content{padding:32px 28px 24px;text-align:center}.result-title{font-size:.68rem;color:var(--text-muted);letter-spacing:.1em;margin-bottom:22px;font-weight:700;opacity:.7}.result-title i{font-size:28px;display:block;color:#3b82f6;opacity:1}.result-name{font-size:1.5rem;font-weight:800;color:var(--text-primary);margin-bottom:4px;letter-spacing:-.02em}.result-desc{font-size:.88rem;color:var(--text-muted);margin-bottom:20px}.celebration-header,.result-prize{margin-bottom:24px}.result-prize{font-size:.92rem;font-weight:600;color:#3b82f6;padding:10px 16px;background:rgba(59,130,246,.08);border-radius:var(--radius-md);display:inline-block}.celebration-btn,.result-btn{padding:10px 28px;background:#3b82f6;border:none;border-radius:var(--radius-md);color:#fff;font-size:.82rem;font-weight:700;font-family:inherit}.confetti-piece{filter:drop-shadow(0 2px 4px rgba(0, 0, 0, .18))}@keyframes confetti-fall{0%{transform:translate3d(0,0,0) rotate(var(--cf-rot-start,0deg));opacity:1}80%{opacity:1}100%{transform:translate3d(var(--cf-tx,0),105vh,0) rotate(var(--cf-rot-end,720deg));opacity:0}}.celebration-modal .sr-modal{max-width:460px}.celebration-trophy{font-size:26px;margin-bottom:12px;color:#3b82f6;opacity:1}.celebration-trophy i,.tiebreaker-result.show{display:block}.celebration-title{font-size:1.2rem;font-weight:800;color:var(--text-primary);text-transform:none;letter-spacing:-.02em;margin:0}.celebration-winners{display:flex;flex-direction:column;gap:6px;text-align:left}.celebration-winner-card{background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-md);padding:12px 14px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px}.celebration-winner-icon{font-size:14px;display:flex;align-items:center;justify-content:center;color:#3b82f6;width:28px;height:28px;background:rgba(59,130,246,.1);border-radius:6px}.mini-wheel-center,.sr-modal-split.sr-participants-only .sr-split-right{background:var(--bg-secondary)}.celebration-winner-info{display:flex;flex-direction:column;gap:1px;min-width:0}.celebration-winner-category{font-size:.88rem;font-weight:700;color:var(--text-primary);line-height:1.3}.celebration-winner-nick{font-size:.75rem;color:var(--text-muted);line-height:1.3}.celebration-winner-prize{font-size:.78rem;font-weight:600;color:#3b82f6;white-space:nowrap}.celebration-footer{margin-top:28px}.celebration-btn i{margin-right:8px}.tiebreaker-modal .sr-modal{max-width:360px}.mini-wheel-container{display:flex;flex-direction:column;align-items:center;padding:16px 0}.mini-wheel-wrapper{position:relative;width:200px;height:200px;margin-bottom:20px}.mini-wheel-pointer{position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:16px solid #3b82f6;z-index:20}.mini-wheel-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50%;z-index:10;border:1px solid var(--border)}.btn-mini-spin{padding:9px 24px;background:#3b82f6;border:none;border-radius:var(--radius-md);color:#fff;font-size:.82rem;font-weight:700;font-family:inherit}.btn-mini-spin:hover:not(:disabled),.btn-modal-save:hover{filter:brightness(1.08);transform:translateY(-1px)}.tiebreaker-result{margin-top:18px;padding:12px 14px;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.22);border-radius:var(--radius-md);text-align:center;display:none}.tiebreaker-result-text{font-size:.85rem;color:#10b981;font-weight:500}.tiebreaker-result-text strong{color:var(--text-primary);font-weight:700}.edit-modal .sr-modal{max-width:960px;max-height:90vh}.sr-modal-split{width:100%}.sr-modal-split.sr-config-only .sr-modal-body-split,.sr-modal-split.sr-participants-only .sr-modal-body-split{grid-template-columns:1fr}.sr-modal-split.sr-config-only .sr-split-left{border-right:none}.edit-modal .sr-modal.sr-config-only{max-width:540px}.edit-modal .sr-modal.sr-participants-only{max-width:560px}.sr-modal-body-split{display:grid;grid-template-columns:minmax(280px,1fr) minmax(340px,1.25fr);padding:0;overflow:hidden;min-height:360px}.edit-list,.sr-split-left{overflow-y:auto;min-height:0}.sr-split-left{padding:18px 20px 20px;border-right:1px solid var(--border)}.sr-split-right{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--bg-tertiary)}.sr-split-right-header{padding:14px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.sr-split-right-header .sr-form-section-title{border-bottom:none;padding-bottom:0;margin-bottom:0;display:flex;align-items:center;gap:8px}.sr-split-count{font-size:.62rem;font-weight:700;color:var(--text-muted);background:var(--bg-secondary);border:1px solid var(--border);padding:2px 7px;border-radius:10px;min-width:20px;text-align:center;letter-spacing:0;text-transform:none;line-height:1.3}.sr-split-right-actions{display:flex;gap:6px;align-items:center}.btn-add-participant-compact,.btn-clear-all-nicks{width:28px;height:28px;background:0 0;border-radius:var(--radius-sm);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:10px;transition:.15s;flex-shrink:0;font-family:inherit;color:var(--text-muted)}.btn-add-participant-compact{border:1px dashed var(--border-hover)}.btn-clear-all-nicks,.edit-item{border:1px solid var(--border)}.btn-clear-all-nicks i{font-size:11px}.btn-clear-all-nicks:hover{border-color:rgba(239,68,68,.4);color:#ef4444;background:rgba(239,68,68,.06)}.edit-list{display:flex;flex-direction:column;gap:8px;flex:1;padding:14px 16px 16px}.edit-item{background:var(--bg-tertiary);border-radius:var(--radius-md);padding:12px 14px;transition:border-color .15s,opacity .15s,transform .15s;position:relative}.edit-item-color-picker:hover,.edit-item:hover{border-color:var(--border-hover)}.edit-item.is-dragging{opacity:.45;border-style:dashed}.edit-item.drag-over-top{box-shadow:0 -2px 0 0 #3b82f6}.edit-item.drag-over-bottom{box-shadow:0 2px 0 0 #3b82f6}.edit-item-header{display:flex;align-items:center;gap:8px;margin-bottom:10px}.edit-item-drag{width:22px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);cursor:grab;flex-shrink:0;opacity:.5;transition:opacity .15s,color .15s;font-size:.85rem}.edit-item-color-picker,.edit-item-name-input{border:1px solid var(--border);transition:border-color .15s}.edit-item-drag:hover{opacity:1;color:var(--text-secondary)}.edit-item-drag:active{cursor:grabbing}.edit-item-name-input{flex:1;background:var(--bg-secondary);border-radius:6px;padding:8px 10px;color:var(--text-primary);font-size:.88rem;font-weight:600;font-family:inherit;outline:0}.edit-item-name-input::placeholder{color:var(--text-muted);font-weight:500}.edit-item-color-picker{width:32px;height:32px;border-radius:6px;cursor:pointer;background:0 0;padding:2px}.btn-remove-participant{background:0 0;border:1px solid var(--border);color:var(--text-muted);width:30px;height:30px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:11px;transition:.15s;flex-shrink:0}.btn-remove-nick:hover,.btn-remove-participant:hover{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.3);color:#ef4444}.edit-item-nicks-empty{padding:8px 10px;font-size:.76rem;color:var(--text-muted);font-style:italic;text-align:center;border:1px dashed var(--border);border-radius:6px}.edit-item-nick-row{display:flex;align-items:center;gap:6px}.edit-item-nick-badge{width:20px;height:20px;border-radius:50%;background:rgba(59,130,246,.12);color:#3b82f6;font-size:.65rem;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:'JetBrains Mono',Menlo,Consolas,monospace}.edit-item-nick-input{flex:1;background:var(--bg-secondary);border:1px solid var(--border);border-radius:6px;padding:8px 10px;color:var(--text-primary);font-size:.82rem;font-family:inherit;outline:0;transition:border-color .15s;min-width:0}.btn-add-nick,.btn-clear-nicks,.btn-remove-nick,.edit-list-empty{color:var(--text-muted)}.btn-add-nick,.btn-clear-nicks,.btn-modal-cancel,.btn-modal-delete,.btn-modal-save,.btn-remove-nick{font-family:inherit;cursor:pointer;transition:.15s}.edit-item-nick-input::placeholder{color:var(--text-muted)}.btn-remove-nick{width:26px;height:26px;border:1px solid transparent;background:0 0;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.7rem;flex-shrink:0;padding:0}.edit-item-nicks-actions{display:flex;gap:6px;margin-top:2px;flex-wrap:wrap}.btn-add-nick,.btn-clear-nicks{padding:6px 10px;background:0 0;border-radius:6px;font-size:.72rem;font-weight:600;display:inline-flex;align-items:center;gap:6px}.btn-add-nick i,.btn-clear-nicks i{font-size:9px}.btn-add-nick{border:1px dashed var(--border-hover)}.btn-add-nick:hover{border-color:rgba(59,130,246,.5);color:#3b82f6;background:rgba(59,130,246,.05)}.btn-clear-nicks{border:1px solid transparent}.btn-clear-nicks:hover{border-color:rgba(239,68,68,.3);color:#ef4444;background:rgba(239,68,68,.05)}.edit-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 20px;gap:6px}.edit-list-empty i{font-size:22px;margin-bottom:4px;opacity:.5}.edit-list-empty span{font-size:.85rem;font-weight:600;color:var(--text-secondary)}.edit-list-empty small{font-size:.72rem;line-height:1.5;max-width:220px}.edit-list-empty small i{font-size:.7rem;margin:0 2px;opacity:1}.sr-modal-footer{padding:14px 20px;border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end;background:0 0;flex-shrink:0}.btn-modal-cancel{padding:8px 16px;background:0 0;border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);font-size:.82rem;font-weight:500}.btn-modal-save{padding:8px 18px;background:#3b82f6;border:none;border-radius:var(--radius-md);color:#fff;font-size:.82rem;font-weight:700}.btn-modal-delete{padding:8px 16px;background:0 0;border:1px solid rgba(239,68,68,.3);border-radius:var(--radius-md);color:#ef4444;font-size:.82rem;font-weight:600}.btn-modal-delete:hover{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.5)}.btn-modal-delete i{margin-right:6px}.sr-toast{position:fixed;bottom:72px;left:50%;transform:translateX(-50%) translateY(12px);background:var(--bg-secondary);border:1px solid var(--border);padding:10px 18px;border-radius:var(--radius-md);font-size:.82rem;font-weight:500;color:var(--text-primary);z-index:2000;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;box-shadow:0 8px 24px rgba(0,0,0,.35)}.sr-toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}@media (max-width:768px){.sr-panel{display:flex!important;width:100%!important;max-width:100%;border-left:none;border-top:1px solid var(--border)}body{padding:20px 16px}.wheel-wrapper{width:280px;height:280px}.main-grid,.winners-grid{grid-template-columns:1fr}}@media (max-width:1280px){.sr-container{left:220px;padding:20px 14px 14px}:root{--sr-panel-w:300px}}@media (max-width:1100px){.sr-container{left:88px;padding:16px 12px 12px}.sr-panel{display:none}.wheel-wrapper{width:340px;height:340px}#wheel{width:100%;height:100%}:root{--sr-sidebar-w:220px}.edit-modal .sr-modal{max-width:90vw}.sr-modal-body-split{grid-template-columns:minmax(240px,1fr) minmax(300px,1fr)}}@media (max-width:900px){.sr-container{left:88px}.sr-sidebar{width:200px;min-width:180px}.sr-sidebar-brand{font-size:1.05rem}.wheel-wrapper{width:300px;height:300px}.winners-section{max-width:460px}.winners-grid{grid-template-columns:repeat(3,1fr);gap:6px}.winner-card{padding:10px 6px;min-height:76px}}@media (max-width:768px){.sr-sidebar,.sr-split-left{border-bottom:1px solid var(--border)}.sr-layout{flex-direction:column}.sr-sidebar{width:100%;max-height:none;flex-direction:row;align-items:center;border-right:none;padding:8px 10px;gap:6px;overflow-x:auto;overflow-y:hidden;flex-shrink:0;scrollbar-width:none}.sr-sidebar::-webkit-scrollbar{display:none}.clock-widget,.sr-auto-record-btn span,.sr-nav-item-edit,.sr-prize-box,.sr-sidebar-brand,.sr-sidebar-label,.sr-sidebar-spacer{display:none}.sr-new-roleta-btn{margin:0;padding:7px 12px;font-size:.74rem;flex-shrink:0;white-space:nowrap}.sr-nav{display:flex;flex-direction:row;gap:4px;flex-shrink:0;padding:0}.sr-nav-item-wrap{display:inline-flex;flex-shrink:0}.sr-nav-item{flex-shrink:0;padding:7px 12px;font-size:.78rem;white-space:nowrap}.sr-sidebar-loading{padding:0 12px}.sr-main-header{padding:12px;flex-wrap:wrap;gap:8px}.sr-main-header h2{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.sr-main-header-right{gap:4px}.sr-main-body{padding:16px 12px}.wheel-wrapper{width:260px;height:260px;margin-bottom:14px}.wheel-center{width:48px;height:48px}.wheel-center-icon{font-size:15px}.wheel-pointer{border-left:10px solid transparent;border-right:10px solid transparent;border-top:18px solid #3b82f6}.btn-spin{padding:9px 26px;font-size:12px}.winners-section{max-width:100%;margin-top:18px}.winners-grid{grid-template-columns:1fr 1fr 1fr;gap:5px}.sr-form-grid,.sr-modal-body-split{grid-template-columns:1fr}.winner-card{padding:8px 5px;min-height:66px}.winner-name{font-size:.78rem}.winner-number{font-size:.52rem}.winner-desc{font-size:.64rem}.winner-prize{font-size:.6rem}.sr-modal{max-width:calc(100vw - 24px)!important;margin:12px;max-height:85vh;max-height:85dvh;border-radius:var(--radius-lg,12px)}.sr-overlay{padding:12px;align-items:center}.sr-modal-body-split{grid-template-rows:auto 1fr}.sr-split-left{border-right:none;padding:14px 16px}.edit-list,.sr-split-right-header{padding:12px 14px}}@media (max-width:480px){.sr-sidebar{max-height:140px}.wheel-wrapper{width:220px;height:220px}.winners-grid{grid-template-columns:1fr}}