:root{font-family:'Malgun Gothic','Segoe UI',sans-serif;color:#182233;background:#f3f5f9;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid transparent;border-radius:7px;background:#245ee9;color:white;padding:10px 17px;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #aac5ff;outline-offset:3px}.outline,header button{color:#43516a;background:#fff;border:1px solid #ced6e2}.small{font-size:12px;padding:7px 11px}a{color:#245ee9;text-decoration:none}header{height:72px;background:#fff;border-bottom:1px solid #dce2eb;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:5}.brand{font-size:24px;color:#132745;font-weight:800;letter-spacing:-1px}.header-account{display:flex;align-items:center;gap:22px}.header-account span{font-weight:600}aside{position:fixed;top:72px;bottom:0;left:0;width:230px;background:#fff;border-right:1px solid #dce2eb;padding:29px 12px;display:flex;flex-direction:column}.nav-title{font-size:20px;font-weight:750;margin:0 15px 22px}nav{display:grid;gap:7px}nav button{display:flex;align-items:center;gap:15px;color:#43516a;background:none;text-align:left;padding:14px 15px;border-radius:8px;font-size:15px}nav button span{width:22px;font-size:22px;text-align:center}nav button.active{background:#e4edff;color:#1856dd}nav button small{font-size:9px;margin-left:auto;white-space:nowrap}nav button:disabled{opacity:.5}.sidebar-bottom{margin-top:auto;padding:16px 15px 0;border-top:1px solid #e3e8ef;color:#647187;line-height:1.9;font-size:12px}main{margin-left:230px;padding:32px;max-width:1650px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px}h2{font-size:20px;letter-spacing:-.5px;margin:0 0 18px}h3{font-size:16px;margin:0 0 12px}p{color:#687489;line-height:1.8;margin:8px 0 18px}.subtitle{margin:0 0 24px}.muted,small{color:#7c8798;font-size:12px}.card,.box{background:#fff;border:1px solid #d7dfeb;border-radius:10px;padding:24px;box-shadow:0 2px 4px #18334a03;margin-bottom:22px}.connection-card{display:flex;align-items:center;gap:22px;min-height:82px}.connection-card strong{font-size:18px}.connection-card button{margin-left:auto}.status-pill{background:#eef1f6;color:#56647a;padding:7px 12px;border-radius:20px;font-size:12px;font-weight:650}.scope-row{display:flex;gap:12px;align-items:center;margin:0 0 16px}.stat-value,#viewer-count{font-size:31px;font-weight:750;color:#245ee9}.stat-value p{font-size:14px}.stat-card p{margin:0 0 8px}.stat-card{margin-bottom:0}.stat-card strong{white-space:nowrap}.stat-card-value{color:#245ee9}.stat-value-placeholder{display:none}.stat-icon{display:none}.stat-card .icon{color:#245ee9}.stat-card{padding:22px}.stat-card-value{font-size:30px}.stat-value{display:block}.stat-card p{color:#26344a;font-weight:600}.stat-card{min-height:110px}.stat-card-value{font-weight:750}.stat-card-value{line-height:1.4}.stat-value{line-height:1.4}.stat-card-value,.stat-value{letter-spacing:-1px}.stat-card strong{display:block}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:22px}.stat-card{background:white}.stat-value-placeholder{display:none}.card-heading{display:flex;justify-content:space-between;align-items:center}.table-scroll,.points-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#f0f3f8;color:#617087;font-size:12px}th,td{padding:13px 12px;border-bottom:1px solid #e2e8f0}td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}th:last-child{text-align:right}.positive{color:#245ee9;font-weight:650}.text-button{background:none;color:#245ee9;padding:6px 0;text-align:left}.footer{border-top:1px solid #dce2eb;color:#788599;font-size:12px;margin-top:8px;padding-top:18px}.points-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:28px}.points-search-row{display:flex;gap:10px;margin:10px 0 18px}.points-search-row input{flex:1;min-width:0}input,select,textarea{padding:10px 12px;border:1px solid #cdd6e3;border-radius:6px;background:#fff;color:#27344b}label{font-size:12px;font-weight:600;color:#536179}.points-pager{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:12px}.points-table tr.selected{background:#edf3ff}#points-adjust{display:grid;gap:10px;margin:18px 0 28px}#points-selected-id{font-size:11px;overflow-wrap:anywhere}.points-history-item{display:grid;gap:5px;border-bottom:1px solid #e5eaf0;padding:12px 0;font-size:12px}.points-history-item strong{color:#245ee9}#points-history{max-height:400px;overflow:auto}#points-status{color:#245ee9;min-height:20px}#chat-test{margin-top:22px}#chat-result{white-space:pre-wrap;color:#245ee9}.notice{padding:14px 24px;background:#fff1d9;color:#835b17;border-bottom:1px solid #f4dbad;margin:0}.login-panel{max-width:480px;background:white;border:1px solid #d7dfeb;border-radius:12px;margin:70px auto;padding:40px;text-align:center}.login-panel h1{font-size:25px}.login-icon{display:grid;place-items:center;background:#e4edff;color:#245ee9;font-size:28px;font-weight:800;width:60px;height:60px;border-radius:14px;margin:0 auto 20px}.login-panel>button{width:100%;margin:12px 0}.login-panel>a{display:block;margin-top:18px}#test-accounts{border-top:1px solid #e2e8f0;margin-top:25px;padding-top:24px}#test-accounts h2{font-size:16px}#test-buttons{display:grid;gap:10px}.stat-card .icon{font-size:24px}.stat-card>div{flex:1}.stat-card{display:flex;gap:18px;align-items:center}.stat-card>span{background:#eaf0ff;border-radius:9px;padding:12px;color:#245ee9;font-size:22px}.stat-card>div p{margin:0 0 8px}.stat-card>div strong{font-size:31px}.stat-card>p{margin:0}.stat-card>strong{font-size:31px}.stat-card{flex-direction:column;align-items:flex-start;gap:8px}.stat-card>span{display:none}.stat-card p{margin:0}.stat-card{justify-content:center}.stat-card-value{font-size:31px}.stat-card strong{color:#245ee9}.stat-card{margin:0}.stat-grid,.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:22px}
@media(max-width:1000px){aside{width:190px}main{margin-left:190px;padding:24px}.dashboard-grid,.points-layout{grid-template-columns:1fr}.connection-card{flex-wrap:wrap}.stat-grid,.stats{gap:12px}.brand{font-size:21px}}@media(max-width:650px){header{padding:0 16px;height:64px}.brand{font-size:18px}.header-account{gap:10px;font-size:11px}aside{position:static;width:auto;padding:12px;border-right:0;border-bottom:1px solid #dce2eb}.nav-title,.sidebar-bottom,nav button:disabled{display:none}nav{display:flex}nav button{font-size:13px;padding:10px}main{margin:0;padding:20px 14px}.stats,.stat-grid{grid-template-columns:1fr}.card,.box{padding:18px}h1{font-size:26px}.login-panel{margin:30px 14px;padding:28px}.connection-card{gap:12px}}
.stat{display:flex;gap:18px;align-items:center;margin-bottom:0;min-height:122px}.stat-icon{display:grid;place-items:center;background:#eaf1ff;color:#245ee9;width:50px;height:50px;border-radius:9px;font-size:26px;flex-shrink:0}.stat p{margin:0 0 6px;color:#26344a;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:22px}.card-heading{display:flex;justify-content:space-between;align-items:center}.table-scroll,.points-scroll{overflow:auto}footer{display:flex;justify-content:space-between;gap:12px;border:1px solid #d7dfeb;background:white;border-radius:8px;padding:16px 20px;color:#6c7a90;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}}@media(max-width:650px){.scope-row{flex-wrap:wrap}.stat{min-height:100px}.header-account{max-width:50%}.header-account span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer{flex-wrap:wrap}}
#key-login-form{display:grid;gap:12px;text-align:left;border-top:1px solid #e2e8f0;padding-top:24px;margin-top:24px}#key-login-form h2{margin-bottom:0;font-size:18px}#key-login-form p{font-size:12px;margin:0}#key-login-form input{width:100%}#key-login-form button{width:100%}

@media(max-width:650px){nav{overflow-x:auto;gap:6px;padding-bottom:4px;scrollbar-width:thin}nav button,nav button:disabled{display:flex;flex-shrink:0;white-space:nowrap}nav button:disabled{opacity:.55}nav button small{font-size:9px;margin-left:0}nav button span{font-size:18px;width:20px}}
.commands-manager .points-layout{grid-template-columns:minmax(0,1fr) minmax(280px,1.1fr)}#command-form{display:grid;gap:10px}#command-form input:not([type=checkbox]),#command-form select,#command-form textarea{width:100%;padding:10px;border:1px solid #cdd6e3;border-radius:6px}#command-form small{line-height:1.7}.command-item{display:block;width:100%;margin-top:10px;text-align:left;font-size:12px;overflow-wrap:anywhere}#command-test{border-top:1px solid #e2e8f0;padding-top:22px;margin-top:25px}#command-test-result{white-space:pre-wrap;color:#245ee9}#commands-status{color:#245ee9;min-height:20px}@media(max-width:1000px){.commands-manager .points-layout{grid-template-columns:1fr}}
/* 문장형 명령어 카드와 편집창 */
.command-add{width:100%;padding:18px;background:#f3f6fc;border-style:dashed;font-size:16px;margin-bottom:18px}.command-card{border:1px solid #dce3ef;border-radius:12px;margin-bottom:14px;overflow:hidden;background:#fff}.command-card.is-disabled{background:#f7f8fb}.command-sentence{display:block;width:100%;padding:25px;text-align:left;background:transparent;color:#27344b;font-weight:400;font-size:17px}.command-trigger,.command-result{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.command-result{margin-top:14px}.command-chip{padding:8px 13px;background:#e8efff;border-radius:8px;color:#2358d5;font-size:19px}.command-answer{padding:9px 13px;border-radius:8px;background:#edf5f7;color:#284e5a;overflow-wrap:anywhere;white-space:pre-wrap}.command-card-meta{padding:13px 22px;border-top:1px solid #edf0f5;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#69768a;font-size:13px}.command-card-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.command-toggle{background:#e8eef8;color:#52627b;border-radius:20px;padding:7px 13px;font-size:13px}.command-toggle[aria-checked=true]{background:#e2edff;color:#1e57d1}#command-dialog{border:1px solid #d6dfed;border-radius:18px;width:min(1080px,94vw);max-height:90dvh;padding:28px;color:#182233;box-shadow:0 25px 90px #10223c30}#command-dialog::backdrop{background:#14243a70;backdrop-filter:blur(3px)}.command-dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.command-dialog-heading h2{margin:0;font-size:24px}.command-editor-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:28px}.command-editor-side{position:static;display:block;width:auto;padding:0;border:0;background:transparent}.command-side-box{padding:20px;border:1px solid #dce3ef;background:#f7f9fd;border-radius:12px;margin-bottom:18px}.command-side-box p{font-size:13px;margin:8px 0 14px}.command-side-box h3{font-size:17px}#command-variables{display:flex;flex-wrap:wrap;gap:8px}#command-variables button{font-size:14px;border-radius:20px}#command-live-preview{background:white;border:1px solid #dce3ef;border-radius:9px;padding:18px;min-height:125px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#284e5a}#command-form label{font-size:14px}#command-form textarea{min-height:140px;resize:vertical}#command-form input[type=checkbox]{accent-color:#245ee9}.command-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}#command-editor-status{color:#b33d32;margin:0}#command-form small{font-size:12px}
@media(max-width:700px){.command-editor-layout{grid-template-columns:1fr}#command-dialog{padding:20px}.command-card-meta{flex-wrap:wrap;padding:12px 16px}.command-sentence{padding:19px;font-size:15px}.command-chip{font-size:17px}.command-card-actions{width:100%;justify-content:flex-end}.command-editor-side{display:block}.command-dialog-heading h2{font-size:21px}}
#command-form{grid-template-columns:1fr 1fr;gap:14px}.command-field{display:grid;gap:7px;min-width:0}.command-field-wide,#command-form>small,#command-form>label,#command-editor-status,.command-form-actions{grid-column:1/-1}.command-form-actions{position:sticky;bottom:-28px;padding:14px 0;background:white}#command-form textarea{min-height:115px}@media(max-width:480px){#command-form{grid-template-columns:1fr}.command-form-actions{bottom:-20px}}
.roulette-notice{border-radius:9px;margin-bottom:22px;font-size:14px}.roulette-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:22px}.roulette-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.roulette-fields>div{display:grid;gap:8px}.roulette-fields label{font-size:14px}.roulette-check{grid-column:1/-1;display:flex;gap:10px;align-items:center}.roulette-item{display:grid;grid-template-columns:minmax(0,1fr) 100px 20px auto;gap:9px;align-items:center;margin:12px 0}.roulette-item input{width:100%;min-width:0}.roulette-total{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dce3ef;padding-top:20px;margin-top:22px;font-size:15px;color:#245ee9}.roulette-total span{font-size:13px}.roulette-invalid{color:#bd4235}.roulette-stage{background:#f1f5fc;border:1px solid #dce3ef;border-radius:12px;min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:22px;text-align:center;overflow-wrap:anywhere;margin:20px 0}.roulette-stage span{font-size:13px;color:#69768a}.roulette-stage strong{font-size:25px;color:#245ee9}#roulette-test{width:100%}.roulette-savebar{position:sticky;bottom:10px;border:1px solid #d7dfeb;box-shadow:0 3px 15px #18334a12;border-radius:10px;background:#fff;padding:18px;display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:22px}.roulette-savebar>div{display:flex;gap:10px;flex-shrink:0}#roulette-status{font-size:14px;color:#245ee9}@media(max-width:1000px){.roulette-layout{grid-template-columns:1fr}}@media(max-width:600px){.roulette-fields{grid-template-columns:1fr}.roulette-savebar{position:static;flex-wrap:wrap}.roulette-savebar>div{flex-wrap:wrap}.roulette-item{grid-template-columns:minmax(0,1fr) 75px 14px auto;gap:5px}.roulette-item input{padding:10px 7px}.roulette-total{flex-wrap:wrap}}
.roulette-media-settings label{display:block;font-size:14px;margin:18px 0 9px}.roulette-media-settings input[type=file]{width:100%;font-size:13px}.roulette-media-settings audio{display:block;width:100%;margin:12px 0}.roulette-media-settings input[type=range]{width:100%;padding:0;accent-color:#245ee9}.roulette-media-settings output{float:right;color:#245ee9}.roulette-media-settings p{font-size:13px}#roulette-media-status{color:#245ee9}#roulette-preview-image{max-width:100%;width:260px;max-height:260px;object-fit:contain;border-radius:10px}.roulette-stage strong{max-width:100%;word-break:keep-all;overflow-wrap:anywhere}

.roulette-test-actions{display:grid;gap:10px}.roulette-test-actions button{width:100%}#roulette-obs-note{line-height:1.8}
.roulette-theme-field{border:0;padding:0;margin:20px 0 26px;min-width:0}.roulette-theme-field legend{font-size:15px;font-weight:700}#roulette-themes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.roulette-media-settings label.roulette-theme-option{margin:0;display:block;border:2px solid #dce3ed;border-radius:12px;padding:7px;cursor:pointer;background:#fff;position:relative}.roulette-theme-option.selected{border-color:#245ee9;box-shadow:0 0 0 2px #245ee91a}.roulette-theme-option img{display:block;width:100%;border-radius:6px;aspect-ratio:1.85;object-fit:cover}.roulette-theme-option input{position:absolute;top:12px;left:12px;accent-color:#245ee9}.roulette-theme-option span{display:block;padding:8px 4px 3px;font-weight:650;color:#384763}
@font-face{font-family:Jua;src:url('/assets/Jua-Regular.ttf')}#roulette-design{--ink:#644875;--accent:#aa7bc4;--card:#fffaf5;--chosen:#e9def7;--card-ink:#634975;container-type:inline-size;position:relative;width:100%;aspect-ratio:2.3;flex-shrink:0;padding:0;border:0;border-radius:0;background:transparent url('/assets/roulette-frame-lavender.png') center/100% 100% no-repeat;box-shadow:none;color:var(--ink);font-family:Jua,'Malgun Gothic',sans-serif;overflow:hidden}#roulette-design[data-theme=mint]{--ink:#eefbf8;--accent:#a3e6d0;--card:#f9faf7;--chosen:#b8f4db;--card-ink:#183d36;background-image:url('/assets/roulette-frame-mint.png')}#roulette-design[data-theme=peach]{--ink:#8b5a48;--accent:#f3957f;--card:#fff2e8;--chosen:#f59b84;--card-ink:#815641;background-image:url('/assets/roulette-frame-peach.png')}#roulette-design[data-theme=slate]{--ink:#eaf2ff;--accent:#92baff;--card:#94a4be;--chosen:#fbf7ee;--card-ink:#1b2a42;background-image:url('/assets/roulette-frame-slate.png')}.roulette-design-header{position:absolute;inset:0;pointer-events:none}.roulette-design-header>span:first-child{display:none}.roulette-design-header #roulette-preview-state{position:absolute;right:5%;top:12%;padding:1.5% 2.6%;border-radius:999px;background:var(--accent);color:var(--card-ink);font-size:2.8cqw;line-height:1;font-family:Jua,sans-serif}.roulette-reel{position:absolute;left:2.8%;right:2.8%;top:33%;height:47%;padding:2% 0 3%;margin:0;overflow:hidden}#roulette-reel-cards{height:100%;width:116%;margin-left:-8%;display:flex;align-items:center;justify-content:center;gap:1%;transform:none}.roulette-stage .roulette-prize{flex:1;min-width:0;height:84%;padding:3% 1%;border:2px solid transparent;border-radius:4cqw;background:linear-gradient(135deg,#ffffff55,transparent),var(--card);color:var(--card-ink);font-size:4cqw;line-height:1.25;display:flex;align-items:center;justify-content:center;text-align:center;word-break:keep-all;overflow-wrap:anywhere;white-space:normal;box-shadow:0 1.3cqw 2cqw #17202e22;transition:background .16s,border-color .16s,opacity .35s,filter .35s,transform .18s;font-weight:400}.roulette-stage .roulette-prize.selected{flex:1.25;height:98%;background:linear-gradient(135deg,#ffffff35,transparent),var(--chosen);border:0.6cqw solid var(--accent);transform:scale(1.01);font-weight:400;box-shadow:0 1.5cqw 2.5cqw #17202e27}#roulette-design[data-theme=peach] .roulette-prize.selected{color:#fff;border-color:#ffd5c8}#roulette-design[data-theme=slate] .roulette-prize.selected:after{content:'';position:absolute;bottom:10%;width:35%;height:1cqw;border-radius:99px;background:#6a9cfa}#roulette-reel-cards.is-spinning{width:max-content;margin-left:0;justify-content:flex-start;gap:1.2cqw;will-change:transform}#roulette-reel-cards.is-spinning .roulette-prize{flex:0 0 auto;height:84%;transform:scale(.97)}#roulette-reel-cards.is-spinning .roulette-prize.selected{flex:0 0 auto;height:98%;transform:scale(1.01)}.roulette-reel-marker{position:absolute;bottom:0;left:50%;transform:translateX(-50%);color:var(--accent)!important;font-size:3cqw!important;line-height:1;text-shadow:0 .3cqw .3cqw #17202e30}#roulette-design-caption{display:none}#roulette-design.has-result .roulette-prize:not(.selected){opacity:.55;filter:blur(.2cqw);transform:scale(.94)}#roulette-design.has-result .roulette-prize.selected{transform:scale(1.03)}#roulette-design.has-result .roulette-reel-marker{animation:roulette-marker-land .5s ease-out}.roulette-stage{width:100%;padding:10px;gap:14px;background:#eef1f6;overflow:hidden;min-height:0}#roulette-preview-image{width:260px;max-width:60%;max-height:260px;object-fit:contain}.roulette-preview-box>.card-heading{gap:6px}.roulette-preview-box .card-heading h2{margin:0}.roulette-preview-box{padding:20px}#roulette-large-dialog{width:min(1280px,96vw);max-height:95dvh;padding:20px;border:1px solid #cbd6e5;border-radius:16px;color:#182233;background:#f9fafc}#roulette-large-dialog::backdrop{background:#14243aba;backdrop-filter:blur(4px)}#roulette-large-slot .roulette-stage{max-width:1100px;margin:10px auto;background:#e5e9ef;padding:20px}#roulette-large-slot #roulette-preview-image{max-height:22dvh;width:auto;max-width:55%}#roulette-large-slot #roulette-design{max-width:1000px}.roulette-large-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:13px;color:#647187}#roulette-large-dialog .card-heading h2{margin:0}@keyframes roulette-marker-land{0%{transform:translate(-50%,4px)}50%{transform:translate(-50%,-3px)}100%{transform:translate(-50%,0)}}@media(max-width:600px){#roulette-large-dialog{padding:12px}.roulette-large-actions{flex-wrap:wrap}#roulette-large-slot .roulette-stage{padding:8px}.roulette-preview-box{padding:16px}}
#roulette-large-slot #roulette-design{width:min(100%,118dvh)}#roulette-large-slot #roulette-preview-image{max-height:16dvh}
.roulette-reel{left:4.7%;right:4.7%}#roulette-design:after{content:'▼';position:absolute;left:50%;top:30%;transform:translate(-50%,-50%);font-size:2.8cqw;line-height:1;color:var(--accent);text-shadow:0 .25cqw .25cqw #15233225;pointer-events:none}
/* Card material, borders, shadows and selection pointer are image sprites. */
.roulette-stage .roulette-prize,.roulette-stage .roulette-prize.selected,#roulette-design.has-result .roulette-prize.selected{position:relative;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;isolation:isolate;overflow:visible}.roulette-prize .prize-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;z-index:-1}.roulette-prize .selected-art{display:none}.roulette-prize.selected .normal-art{display:none}.roulette-prize.selected .selected-art{display:block}.roulette-stage .roulette-prize .prize-label{display:block;position:relative;color:var(--card-ink);font:inherit;font-size:inherit!important;line-height:1.25;padding:8% 9%;word-break:keep-all;overflow-wrap:anywhere;max-width:100%}#roulette-design[data-theme=peach] .roulette-prize.selected .prize-label{color:#fff}#roulette-design[data-theme=slate] .roulette-prize.selected:after,#roulette-design:after{display:none;content:none}.roulette-reel{height:44%;top:34%;padding-top:1%;padding-bottom:3%}.roulette-stage .roulette-prize,#roulette-reel-cards.is-spinning .roulette-prize{height:80%}.roulette-stage .roulette-prize.selected,#roulette-reel-cards.is-spinning .roulette-prize.selected{height:94%}.roulette-reel-marker{display:block;width:3.4cqw;height:3.4cqw;background:url('/assets/roulette-card-lavender-arrow.png') center/contain no-repeat;font-size:0!important;line-height:0!important;text-shadow:none}#roulette-design[data-theme=mint] .roulette-reel-marker{background-image:url('/assets/roulette-card-mint-arrow.png')}#roulette-design[data-theme=peach] .roulette-reel-marker{background-image:url('/assets/roulette-card-peach-arrow.png')}#roulette-design[data-theme=slate] .roulette-reel-marker{background-image:url('/assets/roulette-card-slate-arrow.png')}
.roulette-prize .normal-art{width:130%;height:130%;left:-15%;top:-15%}.roulette-prize .selected-art{width:145%;height:145%;left:-22.5%;top:-22.5%}.roulette-reel-marker{background-size:350% 350%}

/* Align the opaque card bodies while retaining each PNG shadow. */
#roulette-design[data-theme=lavender] .normal-art{width:134.14847161572052%;height:140.85281980742778%;left:-17.20524017467249%;top:-18.15680880330124%}
#roulette-design[data-theme=lavender] .selected-art{width:141.95933456561923%;height:152.8358208955224%;left:-20.70240295748614%;top:-28.65671641791045%}
#roulette-design[data-theme=lavender] .roulette-reel-marker{background-size:449.4623655913978% 608.73786407767%;background-position:49.743589743589745% 49.80916030534351%}
#roulette-design[data-theme=mint] .normal-art{width:121.61520190023754%;height:128.32080200501252%;left:-12.430720506730006%;top:-12.155388471177945%}
#roulette-design[data-theme=mint] .selected-art{width:251.3911620294599%;height:404.74308300395256%;left:-105.89198036006546%;top:-50.988142292490124%}
#roulette-design[data-theme=mint] .roulette-reel-marker{background-size:467.910447761194% 588.7323943661972%;background-position:50.10141987829615% 49.75984630163304%}
#roulette-design[data-theme=peach] .normal-art{width:122.78177458033572%;height:136.3515312916112%;left:-11.11111111111111%;top:-15.046604527296935%}
#roulette-design[data-theme=peach] .selected-art{width:131.0580204778157%;height:142.81729428172943%;left:-15.955631399317404%;top:-22.454672245467226%}
#roulette-design[data-theme=peach] .roulette-reel-marker{background-size:435.4166666666667% 495.65217391304344%;background-position:49.896480331262936% 49.55044955044955%}
#roulette-design[data-theme=slate] .normal-art{width:124.67532467532467%;height:149.0538573508006%;left:-12.824675324675324%;top:-23.435225618631733%}
#roulette-design[data-theme=slate] .selected-art{width:129.9492385786802%;height:142.6183844011142%;left:-14.890016920473773%;top:-22.284122562674096%}
#roulette-design[data-theme=slate] .roulette-reel-marker{background-size:540.5172413793103% 692.817679558011%;background-position:49.902152641878665% 49.76700838769804%}
#roulette-design[data-theme=mint] .selected-art{width:122%;height:134%;left:-11%;top:-17%}
.roulette-prize .normal-art{transform:scale(.91)}.roulette-prize .selected-art{transform:scale(.94)}
.roulette-test-count,.roulette-large-test-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.roulette-test-count label,.roulette-large-test-controls label{font-size:13px}.roulette-large-test-controls{margin:0;flex-shrink:0}#roulette-batch-results{align-self:stretch;background:#fff;border:1px solid #d9dfeb;border-radius:12px;padding:15px 17px;margin-top:2px}.roulette-batch-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.roulette-batch-heading strong{font-size:14px;color:#38475d}.roulette-batch-heading #roulette-batch-progress{font-size:12px;color:#68768b}#roulette-result-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}#roulette-result-list li{display:flex;gap:7px;align-items:center;background:#f1edf9;color:#514264;border-radius:8px;padding:7px 10px;font-family:Jua,'Malgun Gothic',sans-serif;font-size:15px;line-height:1.4;animation:roulette-result-enter .24s ease-out}#roulette-result-list .roulette-result-number{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#ded1ef;color:#664c85;font-size:12px;flex-shrink:0}#roulette-large-slot #roulette-batch-results{max-width:1000px;width:100%}#roulette-large-slot #roulette-result-list li{font-size:17px}@keyframes roulette-result-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#roulette-result-list li{font-size:13px;padding:6px 8px}#roulette-batch-results{padding:12px}.roulette-large-test-controls{gap:8px}}
.roulette-tts-settings p{font-size:13px}#roulette-tts-status{color:#245ee9;min-height:20px}.roulette-tts-settings .roulette-fields select,.roulette-tts-settings .roulette-fields input:not([type=checkbox]){width:100%;min-width:0}.roulette-tts-settings .roulette-fields>div{min-width:0}
.roulette-donation-settings h2{margin:0}.roulette-donation-settings .card-heading{gap:12px;flex-wrap:wrap}.roulette-donation-settings>p{font-size:13px;margin-top:16px}.roulette-donation-settings input:not([type=checkbox]){width:100%;min-width:0}.roulette-donation-settings .roulette-fields>div{min-width:0}.roulette-donation-rules{margin:22px 0;font-size:13px}.roulette-donation-rules>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #e6eaf2}.roulette-donation-rules dt{font-weight:650;color:#536179}.roulette-donation-rules dd{margin:0;color:#344258;line-height:1.7}.roulette-donation-example{padding:15px;background:#f2f5fa;border-radius:9px;font-size:13px}.roulette-donation-example p{white-space:pre-wrap;margin:8px 0 0;color:#435675}
.compact-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px}.compact-toolbar>span{color:#7b8698;font-size:12px;margin-right:auto}.compact-panel>.compact-heading{gap:10px;flex-wrap:wrap;margin:0 0 18px}.compact-panel>.compact-heading h2{margin:0;margin-right:auto}.compact-panel>.compact-heading .compact-toggle{flex-shrink:0;min-width:62px;font-weight:500}.compact-panel.is-compact{padding-top:18px;padding-bottom:16px}.compact-panel.is-compact>.compact-heading{margin-bottom:6px}.compact-summary{font-size:12px;line-height:1.8;color:#718096;margin:0;overflow-wrap:anywhere}.compact-body{min-width:0}.compact-panel .compact-body>:last-child{margin-bottom:0}.compact-panel.is-compact .compact-heading h2{font-size:17px}@media(max-width:600px){.compact-toolbar>span{width:100%}.compact-panel>.compact-heading{gap:8px}.compact-panel.is-compact{padding:15px}.compact-panel>.compact-heading h2{font-size:17px}}

.roulette-profile-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.roulette-profile-picker select{flex:1;min-width:180px}.roulette-profile-picker p{width:100%;margin:0}

#roulette-create-dialog,#roulette-delete-dialog{width:min(480px,calc(100vw - 32px));border:1px solid #dce1eb;border-radius:18px;padding:28px;box-shadow:0 20px 70px #17203d30}#roulette-create-dialog::backdrop,#roulette-delete-dialog::backdrop{background:#17203d55}#roulette-create-form{display:grid;gap:12px}#roulette-create-form h2{margin:0 0 8px}#roulette-create-form label{font-size:14px;font-weight:600}#roulette-create-form input,#roulette-create-form select{width:100%;box-sizing:border-box}#roulette-create-form .roulette-test-actions,#roulette-delete-dialog .roulette-test-actions{display:flex;gap:10px;margin-top:12px}#roulette-create-form .roulette-test-actions button,#roulette-delete-dialog .roulette-test-actions button{flex:1}#roulette-delete-confirm{background:#ba3446}#roulette-form [hidden]{display:none!important}

/* Compact roulette: sprite cards only; remove the frame's baked title and footer. */
#roulette-design{aspect-ratio:4.6;background-image:none!important;overflow:hidden}.roulette-design-header,#roulette-design-caption{display:none!important}#roulette-design .roulette-reel{left:0;right:0;top:0;height:100%;padding:1.5% 0 3.7%}#roulette-reel-cards:not(.is-spinning){width:100%;margin-left:0;gap:1.2%}.roulette-stage .roulette-prize{flex:1;min-width:0}.roulette-reel-marker{bottom:0}.roulette-stage{gap:10px}

.theme-mini{display:flex;gap:3%;align-items:center;height:110px;padding:24px 5px 12px;overflow:hidden;background:#f6f7fa;border-radius:6px}.theme-mini-card{position:relative;isolation:isolate;flex:1;min-width:0;height:54px;display:grid;place-items:center;color:#634975}.theme-mini-card.chosen{height:68px}.theme-mini .theme-mini-card img{position:absolute;max-width:none;aspect-ratio:auto!important;object-fit:fill;border-radius:0;z-index:-1;width:130%;height:130%;left:-15%;top:-15%;transform:scale(.91)}.theme-mini .theme-mini-card.chosen img{width:145%;height:145%;left:-22.5%;top:-22.5%;transform:scale(.94)}.roulette-theme-option .theme-mini-label{font-family:Jua,'Malgun Gothic',sans-serif;font-size:17px;line-height:1.2;padding:0!important;color:inherit;font-weight:400}.theme-mini[data-theme=mint] .theme-mini-card{color:#183d36}.theme-mini[data-theme=mint] .theme-mini-card img{width:121.6%;height:128.3%;left:-12.4%;top:-12.2%}.theme-mini[data-theme=mint] .theme-mini-card.chosen img{width:122%;height:134%;left:-11%;top:-17%}.theme-mini[data-theme=peach] .theme-mini-card{color:#815641}.theme-mini[data-theme=peach] .theme-mini-card img{width:122.8%;height:136.4%;left:-11.1%;top:-15%}.theme-mini[data-theme=peach] .theme-mini-card.chosen{color:#fff}.theme-mini[data-theme=peach] .theme-mini-card.chosen img{width:131.1%;height:142.8%;left:-16%;top:-22.5%}.theme-mini[data-theme=slate] .theme-mini-card{color:#1b2a42}.theme-mini[data-theme=slate] .theme-mini-card img{width:124.7%;height:149.1%;left:-12.8%;top:-23.4%}.theme-mini[data-theme=slate] .theme-mini-card.chosen img{width:129.9%;height:142.6%;left:-14.9%;top:-22.3%}

/* Smaller prize cards; keep label font sizes independent of card dimensions. */
#roulette-design{aspect-ratio:6.1}#roulette-design .roulette-reel{left:12.5%;right:12.5%;padding-top:.7%;padding-bottom:3%}.roulette-stage .roulette-prize .prize-label{padding:6% 7%}.roulette-reel-marker{width:2.8cqw;height:2.8cqw}

.theme-mini{padding-left:12.5%;padding-right:12.5%}.theme-mini-card{height:40px}.theme-mini-card.chosen{height:51px}

/* Keep unselected text sharp; selection is indicated by opacity and artwork. */
#roulette-design.has-result .roulette-prize:not(.selected){filter:none}

/* Readable prize history in broadcast overlays and web previews. */
#roulette-batch-results{padding:18px 20px}#roulette-result-list{gap:10px}#roulette-result-list li,#roulette-large-slot #roulette-result-list li{font-size:28px;line-height:1.35;padding:10px 14px;gap:10px}#roulette-result-list .roulette-result-number{font-size:20px;min-width:32px;height:32px}.roulette-batch-heading strong{font-size:20px}.roulette-batch-heading #roulette-batch-progress{font-size:18px}@media(max-width:600px){#roulette-result-list li{font-size:22px;padding:8px 10px}#roulette-result-list .roulette-result-number{font-size:16px;min-width:27px;height:27px}}

/* Prize labels must inherit the history font, overriding .roulette-stage span. */
#roulette-result-list li>span:not(.roulette-result-number){font-size:inherit;line-height:inherit;color:inherit}

/* Palettude studio: a quiet companion to the team's lilac homepage. */
:root{font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif;color:#352e42;background:#f8f5fb;font-size:16px;--studio-accent:#806491;--studio-line:#e6ddeb;--studio-muted:#786c82}
body{background:radial-gradient(ellipse at 95% 0%,#efdfef80,transparent 45%),#f8f5fb;min-height:100vh}
header{height:84px;background:#fcfaff;border-bottom:1px solid var(--studio-line);padding:0 34px}
.brand{display:flex;align-items:center;gap:13px;font-family:Georgia,serif;font-size:22px;font-weight:500;letter-spacing:.16em;color:#554260}
.brand-emblem{font-size:36px;color:#aa89b4;line-height:1}.brand small{display:block;font-family:'Malgun Gothic',sans-serif;font-size:12px;letter-spacing:.08em;font-weight:500;color:#89768f;margin-top:5px}
.header-account{gap:18px;font-size:14px;color:#6b5576}header button{font-size:13px;border-radius:22px;padding:8px 16px}
#workspace>aside{top:84px;width:236px;background:#fcfaff;border-right:1px solid var(--studio-line);padding:35px 16px 20px}
.nav-title{font-size:20px;font-weight:600;letter-spacing:-.04em;margin:0 15px 29px;color:#4c3b57}.nav-title small{display:block;font-size:10px;letter-spacing:.18em;color:#a18baa;margin-bottom:11px}
#workspace>aside nav{gap:9px}#workspace>aside nav button{font-weight:500;color:#7d6c87;padding:14px 15px;border-radius:12px;font-size:15px;gap:13px;border:1px solid transparent;background:none}
#workspace>aside nav button span{font-size:21px;color:#a48aaf}#workspace>aside nav button.active{background:#eee5f4;border-color:#dfd0e9;color:#644975;font-weight:700}#workspace>aside nav button.active span{color:#806091}
.sidebar-bottom{border-color:var(--studio-line);color:#9b88a5;font-size:12px}#workspace>main{margin-left:236px;padding:40px clamp(24px,3.2vw,52px);max-width:1770px}
h1{font-size:30px;font-weight:600;letter-spacing:-.05em;color:#44334f;margin-bottom:12px}h2{font-size:19px;font-weight:650;color:#503d5b}h3{color:#5b4667}.studio-eyebrow{font-family:Georgia,serif;letter-spacing:.15em;font-size:11px;color:#a58bad;margin:0 0 14px}
p{color:var(--studio-muted)}.subtitle{font-size:15px;line-height:1.8;margin-bottom:28px}.muted,small{color:#8e7b98;font-size:13px}
.card,.box{border:1px solid var(--studio-line);border-radius:18px;box-shadow:0 5px 22px #654c7805;background:#fff;margin-bottom:24px;padding:26px}
#collection-panel{background:linear-gradient(115deg,#f6eef9,#fff 76%);border-color:#e4d4ed}#collection-panel .card-heading{margin-bottom:6px}#collection-status{color:#86618f;background:#eee2f3;padding:7px 14px;border-radius:30px;font-size:13px;font-weight:600}
button{background:#806491;border-radius:10px;font-size:14px;padding:11px 18px;transition:background .15s}button:hover{filter:none;background:#6e527f}button:disabled{opacity:.48}.outline,header button{border-color:#dfd2e7;color:#80698d;background:#fff}.outline:hover,header button:hover{background:#f3edf7}
input,select,textarea{border-color:#dfd3e7;background:#fffdff;border-radius:9px;color:#51405d;padding:11px 12px;font-size:14px;accent-color:#9374a5}input:focus,select:focus,textarea:focus{outline:2px solid #dac7e6;outline-offset:1px;border-color:#ad8cbe}label{font-size:14px;color:#796184}button:focus-visible,a:focus-visible{outline-color:#c8afd8}
a{color:#86649a}.text-button{color:#876b98;background:none}.text-button:hover{background:none;color:#614276}.positive,#points-status,#chat-result{color:#8b639b}
.stat-grid{gap:18px}.stat{background:#fff;min-height:116px;border-radius:17px}.stat p{color:#86728f;font-size:14px;font-weight:500}.stat-icon{width:44px;height:44px;border-radius:13px;background:#f3eaf7;color:#b18abd;font-size:23px}.stat-value,#viewer-count,.stat-card-value,.stat-card strong{color:#725783;font-size:30px;font-weight:650;letter-spacing:-.04em}
.status-pill{background:#f0e9f5;color:#80658c;font-size:13px}.connection-card{border-style:dashed;box-shadow:none}.connection-card strong{font-size:16px}.scope-row{font-size:14px}.scope-row small{font-size:12px}
table{font-size:14px}th{background:#f8f4fa;color:#8a7395;font-size:12px;font-weight:600}th,td{border-bottom-color:#eee7f3;padding:14px 12px}td{color:#695772}.points-table tr.selected{background:#f3ebf8}.points-history-item strong{color:#886797}.points-history-item{border-color:#eee7f3}
footer{border-color:var(--studio-line);border-radius:12px;background:#faf7fd;color:#9987a3;font-size:12px;box-shadow:none}.notice{background:#fcf2df;color:#8a6b38;border-color:#efdfbf}.roulette-notice{border:1px solid #e8dced;background:#f3edf8;color:#8a7198;border-radius:12px;margin-bottom:22px;padding:13px 18px;font-size:14px}
.login-panel{background:linear-gradient(145deg,#fff,#fbf6ff);border-color:#e5d7ed;border-radius:23px;box-shadow:0 15px 60px #7353860a}.login-icon{background:#f0e5f6;color:#9f78b1;font-family:Georgia,serif;border-radius:20px}.login-panel h1{color:#655070;font-weight:600}
.compact-toolbar{border-radius:12px;background:#f0e9f5;border-color:#e5d9ed}.compact-summary{color:#927e9e}.compact-toggle{border-radius:20px}.roulette-profile-picker{background:#f9f5fc}.roulette-savebar{background:#fcf9ff;border-color:#e1d3ea;border-radius:14px}
#command-dialog,#roulette-create-dialog,#roulette-delete-dialog,#roulette-large-dialog{border-color:#dfd0e9;border-radius:21px;box-shadow:0 25px 100px #46305026}dialog::backdrop{background:#30203866}.command-side-box{background:#faf5fd;border-color:#e9dff0}.command-card{border-color:#e6d9ed;background:#fff;border-radius:14px}.command-add{border-style:dashed;background:#fbf7fd}
.roulette-theme-option:has(input:checked){border-color:#b18bc4;background:#f6eefb}.roulette-preview-box{border-color:#e2d4ea}.roulette-total{border-color:#e9dff0}
@media(max-width:1000px){#workspace>aside{width:204px;padding-left:12px;padding-right:12px}#workspace>main{margin-left:204px;padding:28px 24px}.brand{font-size:19px}.stat-icon{display:none}}
@media(max-width:650px){header{height:76px;padding:0 16px}.brand{font-size:15px;gap:8px}.brand-emblem{font-size:29px}.brand small{font-size:10px;letter-spacing:.02em}.header-account{gap:8px;font-size:12px}.header-account span{max-width:82px}header button{padding:7px 10px;font-size:12px}#workspace>aside{position:static;width:auto;padding:11px 10px;background:#fcfaff;border-bottom:1px solid var(--studio-line)}#workspace>aside nav{display:flex;gap:5px;overflow-x:auto;padding:2px}#workspace>aside nav button{flex:0 0 auto;font-size:12px;padding:10px 11px;gap:5px;border-radius:9px}#workspace>aside nav button span{display:none}#workspace>main{margin:0;padding:26px 15px}h1{font-size:25px}.studio-eyebrow{font-size:10px}.card,.box{padding:21px 18px;border-radius:15px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{min-height:100px;display:block;padding:15px 11px}.stat p{font-size:11px;line-height:1.5}.stat-value,#viewer-count{font-size:23px}.stat-icon{display:none}.subtitle{font-size:14px}.scope-row select{max-width:100%}.connection-card{gap:10px}.scope-row small{width:100%}table{font-size:13px}.card-heading{gap:10px}.card-heading h2{font-size:18px}.compact-toolbar{gap:8px;flex-wrap:wrap}.small{font-size:12px}}

.profile-editor-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr);gap:25px;align-items:start}.profile-fields{display:grid;gap:12px;margin-top:25px}.profile-fields label{margin-top:6px}.profile-fields label small{float:right;font-weight:400}.profile-fields textarea{resize:vertical;min-height:130px}.profile-link-row{display:grid;gap:10px;padding:20px 0;border-top:1px solid #eee4f3}.profile-link-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.profile-link-actions label{margin-right:auto;display:flex;align-items:center;gap:7px}.profile-savebar{display:flex;justify-content:flex-end;gap:12px;margin-bottom:18px}#profile-preview{position:sticky;top:110px;background:linear-gradient(140deg,#f6eefb,#fff)}#profile-preview-summary{font-size:17px;color:#735480}#profile-preview-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}#profile-preview h3{margin-top:25px;font-size:14px}#profile-preview-links{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}#profile-preview-links span{padding:8px 13px;border-radius:20px;background:#eee2f3;color:#886a98;font-size:13px}#profile-status{padding:10px 0;color:#826190}#profile-channel{font-size:14px}.profile-fields input,.profile-fields textarea,.profile-link-row input{width:100%}@media(max-width:1100px){.profile-editor-layout{grid-template-columns:1fr}#profile-preview{position:static}}@media(max-width:650px){.profile-savebar{flex-wrap:wrap}.profile-savebar button{flex:1}.profile-fields label small{float:none;display:block;margin-top:5px}}

.news-manager-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:25px;align-items:start}.news-fields{display:grid;gap:13px}.news-fields textarea{resize:vertical}.news-fields fieldset{border:1px solid #e4d8ec;border-radius:12px;padding:18px;display:grid;gap:13px}.news-fields legend{font-size:14px;color:#8a7198}#news-participants{display:flex;flex-wrap:wrap;gap:12px}.news-admin-card{padding:20px 0;border-top:1px solid #e9e0ee}.news-admin-card small{color:#9f769e}.news-admin-card h3{margin-top:10px;line-height:1.7;overflow-wrap:anywhere}.news-admin-card p{font-size:13px;margin:10px 0}.news-row-actions{display:flex;gap:10px}#news-status{color:#8d699c;font-size:14px}@media(max-width:1000px){.news-manager-layout{grid-template-columns:1fr}}

#schedule-editor{margin-top:30px}.schedule-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.schedule-edit-fields label:last-child{grid-column:1/-1}.schedule-admin-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e7ddec}.schedule-admin-row>span{flex:1;overflow-wrap:anywhere}@media(max-width:650px){.schedule-edit-fields{grid-template-columns:1fr}.schedule-admin-row{flex-wrap:wrap}.schedule-admin-row>span{flex-basis:100%}}
.schedule-admin-toolbar{display:flex;align-items:center;gap:10px;margin:22px 0 16px}.schedule-admin-toolbar strong{font-size:19px;min-width:125px;text-align:center}.schedule-admin-toolbar button{padding:8px 13px}.schedule-admin-weekdays,.schedule-admin-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.schedule-admin-weekdays{padding:10px 0;text-align:center;font-size:13px;color:#8c7595}.schedule-admin-calendar{border:1px solid #e8dfee;border-radius:12px;overflow:hidden;gap:1px;background:#e8dfee}.schedule-admin-day{min-height:110px;min-width:0;padding:7px;background:white;cursor:pointer}.schedule-admin-day.outside{background:#faf7fc}.schedule-admin-day.outside .schedule-date-add{opacity:.45}.schedule-admin-day.is-today{background:#f6effa}.schedule-date-add{display:block;background:none;color:#63516e;padding:5px 8px;font-size:14px;border-radius:50%;margin-bottom:4px}.is-today .schedule-date-add{background:#806491;color:white}.schedule-event-edit{display:block;width:100%;text-align:left;padding:5px 6px;font-size:12px;line-height:1.4;background:#eee3f5;color:#6b4e7e;margin:4px 0;overflow-wrap:anywhere;white-space:normal}.schedule-event-edit.off{background:#eeeef2;color:#6f7080}.schedule-event-edit.tentative{background:#fff2da;color:#8f7139}.schedule-edit-dialog{width:min(550px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #dfd0e9;border-radius:20px;padding:26px;box-shadow:0 24px 80px #30203833}.schedule-dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.schedule-dialog-heading h2{margin:0}.schedule-dialog-heading button{padding:7px 11px}.schedule-edit-dialog input,.schedule-edit-dialog select,.schedule-edit-dialog textarea{width:100%}.schedule-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.schedule-dialog-actions [data-delete]{margin-right:auto;color:#a14d65}.schedule-dialog-actions [hidden]{display:none}.schedule-edit-dialog [data-error]{color:#ad4861}@media(max-width:650px){.schedule-admin-day{min-height:86px;padding:3px}.schedule-event-edit{font-size:10px;padding:4px 3px}.schedule-date-add{font-size:12px;padding:4px 7px}.schedule-admin-toolbar{gap:6px}.schedule-admin-toolbar strong{font-size:17px;min-width:110px}.schedule-edit-dialog{padding:20px}.schedule-edit-fields{gap:12px}}
.board-settings{border:1px solid #e4d8ec;background:#fcf9fe;border-radius:14px;padding:20px;margin-bottom:24px;display:grid;gap:14px}.board-settings label{display:grid;gap:7px}.board-settings label:has([type=checkbox]){display:flex;align-items:center}.board-photo-preview{width:210px;height:240px;overflow:hidden;border-radius:12px;background:#eee}.board-photo-preview img{width:100%;height:100%;object-fit:cover}.board-settings [hidden]{display:none}
.board-settings{margin-top:22px;margin-bottom:0;padding:18px}.board-simple{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:20px}.board-settings .board-photo-preview{width:130px;height:120px;position:relative;border:0;padding:0;display:block;margin-bottom:10px;cursor:pointer}.board-photo-preview span{position:absolute;bottom:0;left:0;right:0;background:#302038aa;color:white;font-size:12px;padding:5px}.board-settings .board-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #dfd3e7;border-radius:10px;background:white;cursor:pointer;font-size:14px}.board-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.board-photo-options{border-top:1px solid #e6dced;padding-top:12px}.board-photo-options summary{color:#84708f;font-size:13px;cursor:pointer}.board-photo-options[open]{display:grid;gap:14px}.board-save{display:flex;align-items:center;gap:15px}.board-save p{margin:0;font-size:13px}.board-settings .board-photo-preview[hidden]{display:none}@media(max-width:650px){.board-simple{grid-template-columns:110px minmax(0,1fr);gap:12px}.board-settings .board-photo-preview{width:100px;height:100px}}
.profile-settings-tabs{display:flex;gap:8px;border-bottom:1px solid #e4d8ec;margin:22px 0 24px;padding-bottom:10px;overflow-x:auto}.profile-settings-tabs button{flex:0 0 auto;background:transparent;color:#8b7695;border:1px solid transparent;padding:11px 20px;border-radius:12px}.profile-settings-tabs button[aria-selected=true]{background:#eee3f5;border-color:#ddcce7;color:#624675;font-weight:600}#profile .profile-editor-layout[hidden],#profile [role=tabpanel][hidden],#profile-preview>[hidden]{display:none}#profile[data-profile-tab="2"] #schedule-editor{margin-top:0}#profile[data-profile-tab="1"] #profile-preview-links{margin-top:15px}#profile[data-profile-tab="1"] #profile-preview-links:empty:after{content:'등록한 바로가기가 여기에 표시돼요.';font-size:14px;color:#8e7b98}@media(max-width:650px){.profile-settings-tabs{gap:5px;margin-top:15px}.profile-settings-tabs button{padding:10px 12px;font-size:14px}}
.schedule-time-field{display:grid;gap:7px;align-content:start;color:#796184;font-size:14px}.schedule-inline-time{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6px}.schedule-inline-time select{min-width:0;padding:11px 5px}.schedule-inline-time select:disabled{opacity:.5;background:#f4f1f6}
#schedule-editor[data-character=minpopo]{--schedule-accent:#c6a26f}#schedule-editor[data-character=coffee-myong]{--schedule-accent:#cd9cac}#schedule-editor[data-character=kimhayoi]{--schedule-accent:#8d78a5}#schedule-editor[data-character=naebinae]{--schedule-accent:#83c8e6}#schedule-editor[data-character=recruit]{--schedule-accent:#a29aa9}.schedule-admin-day[data-kind=stream]{background:color-mix(in srgb,var(--schedule-accent,#b497c6),white 88%)}.schedule-admin-day[data-kind=off]{background:#eef0f3}.schedule-admin-day[data-kind=tentative]{background:#fff5d9}.schedule-event-edit.stream{background:color-mix(in srgb,var(--schedule-accent,#b497c6),white 70%);color:color-mix(in srgb,var(--schedule-accent,#b497c6),#18212d 65%);border-left:3px solid var(--schedule-accent,#b497c6)}.schedule-event-edit.off{background:#dce0e6;color:#4f5660}.schedule-event-edit.tentative{background:#ffe7a0;color:#705316}
.daily-upload{display:grid;gap:14px;max-width:580px;margin:24px 0}.daily-upload label{display:grid;gap:8px}.daily-upload-preview{width:180px;max-height:160px;object-fit:cover;border-radius:12px}.daily-upload-preview[hidden]{display:none}.daily-admin-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.daily-admin-photo{border:1px solid #e2d6e9;border-radius:14px;padding:15px;display:flex;gap:10px;flex-wrap:wrap}.daily-admin-photo img{width:100%;height:170px;object-fit:cover;border-radius:10px}.daily-admin-photo textarea{width:100%}
.daily-designer{margin:22px 0}.designer-toolbar,.designer-selection,.designer-bottom{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.designer-toolbar{padding:16px;background:#f7f2f8;border-radius:16px}.designer-toolbar button[aria-pressed=true]{background:#7a5a91;color:white}.designer-selection{padding:14px;margin:12px 0;border:1px solid #dfd4e6;border-radius:12px}.designer-selection[hidden]{display:none}.designer-selection label{display:flex;align-items:center;gap:8px}.designer-stage{margin:18px auto;background:#faf8f5;border:1px dashed #cfc2d3;border-radius:12px;overflow:hidden;max-width:1200px}.designer-stage.mobile{max-width:390px}.designer-help{font-size:14px;color:#716777}.designer-library{margin-top:18px}.designer-library [data-library]{display:flex;gap:12px;flex-wrap:wrap;padding:12px}.designer-library [data-library]>div{display:grid;gap:5px;width:100px}.designer-library img{width:70px;height:60px;object-fit:cover}.designer-photo-dialog{border:0;border-radius:16px;max-width:80vw}.designer-photo-dialog img{display:block;max-width:70vw;max-height:65vh;object-fit:contain}.daily-photo-management{margin:20px 0}.daily-photo-management>summary,.designer-library>summary{cursor:pointer;padding:12px;background:#f6f2f7;border-radius:10px}.designer-selection input[type=range]{width:130px}@media(max-width:600px){.designer-toolbar{gap:7px;padding:10px}.designer-toolbar button{padding:9px;font-size:13px}.designer-selection{gap:8px}.designer-stage{border-radius:6px}.designer-help{font-size:12px}}
.shop-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.shop-admin-heading p{color:#7d6e85;line-height:1.7}.shop-setup-note{padding:14px 18px;background:#f5eff9;border-radius:12px;font-size:14px}.shop-admin-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}.shop-admin-products{display:grid;gap:12px}.shop-admin-product{border:1px solid #e3dae8;border-radius:14px;padding:16px;display:flex;gap:18px;align-items:center}.shop-admin-product>img{width:90px;height:76px;object-fit:cover;border-radius:10px}.shop-admin-product>div:not(.shop-admin-actions){flex:1;min-width:0;overflow-wrap:anywhere}.shop-admin-product p{font-size:14px;color:#83718d}.shop-editor dialog{border:1px solid #e2d5e9;border-radius:20px;padding:26px;width:min(620px,calc(100vw - 36px));max-height:88vh;overflow:auto;color:inherit}.shop-editor dialog::backdrop{background:#2e203a88;backdrop-filter:blur(4px)}.shop-product-form{display:grid;gap:17px}.shop-product-form label{display:grid;gap:7px;font-size:14px}.shop-product-form input,.shop-product-form select,.shop-product-form textarea{width:100%;box-sizing:border-box}.shop-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.shop-form-grid label.shop-check{display:flex;align-items:center}.shop-check input{width:auto}.shop-image-preview img{width:150px;height:120px;object-fit:contain}.shop-image-preview{display:flex;align-items:center;gap:15px}.shop-empty{padding:35px 15px;text-align:center;color:#89758f}.shop-editor [data-archive]{margin-top:20px}.shop-editor [data-archive] summary{cursor:pointer;padding:12px}.shop-product-form small{font-size:13px;color:#897a91}@media(max-width:600px){.shop-admin-heading{align-items:start;flex-direction:column;gap:0}.shop-admin-product{flex-wrap:wrap;gap:10px;padding:12px}.shop-admin-product>img{width:60px;height:60px}.shop-admin-product>.shop-admin-actions{width:100%;margin:0}.shop-editor dialog{padding:18px}.shop-form-grid{gap:12px}.shop-admin-product strong{font-size:16px}}

@media(max-width:800px){.profile-only aside nav button:disabled{display:none}}

.point-wallet-switch{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:0 0 16px;padding:0}
.point-wallet-switch label{position:relative;margin:0;cursor:pointer}
.point-wallet-switch input{position:absolute;opacity:0;width:1px;height:1px}
.point-wallet-switch span{display:flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid #d9cce4;border-radius:8px;background:white;color:#513b60}
.point-wallet-switch input:checked+span{background:#624476;color:#fff;border-color:#624476}
.point-wallet-switch input:focus-visible+span{outline:2px solid #624476;outline-offset:2px}
.point-wallet-switch:disabled label{cursor:wait}

.earning-card h2{margin:0}
.earning-card h2+p{margin:.35rem 0 1rem}
.earning-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.earning-fields label{display:block}
.earning-fields input{width:100%;box-sizing:border-box}
.earning-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.earning-footer p{margin:0}
@media(max-width:600px){.earning-fields{grid-template-columns:1fr;gap:8px}}

#dashboard .dashboard-grid{grid-template-columns:minmax(0,1fr)}

.command-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.command-tools label{display:grid;gap:4px;margin:0}
.command-tools input,.command-tools select{margin:0}
.command-tools .command-add{width:auto;margin:0}
.command-field[hidden]{display:none}

.roulette-advanced>summary{cursor:pointer;font-size:1rem;font-weight:750}
.roulette-advanced-body{display:grid;gap:16px;margin-top:16px}
.roulette-advanced-body>.box{margin:0}

.studio-confirm{box-sizing:border-box;width:min(420px,calc(100% - 32px));padding:24px;border:1px solid #e4d6e9;border-radius:16px;background:#fffdfd;color:#35233d;box-shadow:0 16px 48px #35233d30}
.studio-confirm::backdrop{background:#26182d66}
.studio-confirm p{margin:0 0 20px}
.studio-confirm form{display:flex;justify-content:flex-end;gap:8px}
.studio-confirm button{min-height:44px;padding:0 14px;border:1px solid #d9c9df;border-radius:8px;background:#fff;color:#5e396d;font:inherit;cursor:pointer}
.studio-confirm button[value="confirm"]{background:#5e396d;border-color:#5e396d;color:#fff}

#collection-panel .collection-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#collection-note{margin:10px 0 0}
#collection-note:empty{display:none}
#collection-panel .collection-settings{margin-top:10px}

.point-confirm-wallet{font-weight:800;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:2px}

.bundle-panel{margin-block:16px}
.bundle-panel h2,.bundle-panel h3{margin-top:0}
.bundle-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:10px;padding:12px 14px;border:1px solid #ddd0e2;border-radius:12px;background:#f7f3f8}
.bundle-toggle-row[data-state="on"]{background:#edf8f1;border-color:#afd5bd}
.bundle-power-label{display:grid;gap:3px;min-width:0}
.bundle-power-label small{color:#685971}
.bundle-toggle-row .bundle-power{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-height:46px;min-width:110px;padding:7px 11px;border:1px solid #c9becf;border-radius:999px;background:#fff;color:#45354e}
.bundle-toggle-row .bundle-power[aria-checked="true"]{background:#216746;color:#fff;border-color:#216746}
.bundle-power-track{position:relative;width:34px;height:19px;border-radius:999px;background:#74667e}
.bundle-power-track::after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff}
.bundle-power[aria-checked="true"] .bundle-power-track{background:#539574}
.bundle-power[aria-checked="true"] .bundle-power-track::after{transform:translateX(15px)}
.bundle-editor,.bundle-manual{margin-top:18px;padding-top:16px;border-top:1px solid var(--studio-line,#e8dfea)}
.bundle-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bundle-fields label{display:grid;align-content:start;gap:6px}
.bundle-fields input{width:100%;min-width:0}
.bundle-fields small,.bundle-channels p{color:#685971;font-size:.84rem}
.bundle-payout,.bundle-channels{margin-top:16px;padding:12px;border:1px solid var(--studio-line,#e8dfea);border-radius:10px}
.bundle-channels label,.bundle-manual fieldset label{display:inline-flex;align-items:center;gap:4px;margin:4px 12px 4px 0}
.bundle-editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.bundle-feedback:empty,.bundle-editor-actions p:empty,.bundle-manual p:empty{display:none}
@media(max-width:500px){.bundle-fields:not(.bundle-payout){grid-template-columns:1fr}}

.shop-product-form .shop-type-field{margin:0;padding:0;border:0;min-width:0}
.shop-type-field legend{padding:0;margin-bottom:8px;font-size:14px}
.shop-product-form .shop-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.shop-product-form .shop-type-options input{width:1px}
.shop-type-options span{justify-content:center;font-weight:700}
.shop-type-field p{margin:7px 0 0;font-size:.84rem}
.shop-roulette-fields{padding:12px;border:1px solid #e4d8eb;border-radius:10px;background:#faf6fc}
.shop-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid var(--studio-line,#e8dfea)}
.shop-form-actions button{min-height:44px;min-width:76px}

.shop-product-form .shop-type-options{max-width:360px}
.shop-product-form .shop-type-options span{box-sizing:border-box;min-height:44px}
.shop-product-form .shop-image-preview[hidden],.shop-product-form [data-roulette-fields][hidden]{display:none}
.shop-product-form .shop-image-preview{padding:10px;border:1px solid #e4d8eb;border-radius:10px}
.shop-product-form .shop-image-preview button{min-height:44px;margin-inline-start:auto}
.shop-product-form .shop-form-actions{margin:0}
.shop-product-form .shop-form-actions button{min-width:96px;padding-inline:16px}
@media(max-width:500px){
 .shop-product-form .shop-form-actions button{flex:1}
 .shop-product-form .shop-type-options{max-width:none}
}

.shop-product-form .shop-inventory-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px}
.shop-product-form .shop-inventory-fields label{align-content:start}
.shop-product-form .shop-inventory-fields input{height:44px;margin:0}
@media(max-width:500px){
 .shop-product-form .shop-inventory-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
