.gacha-tool{--gacha-coral:#d46c55;--gacha-dark:#713f33;--gacha-cream:#fff4d8;color:#54443c}.gacha-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.gacha-status{flex:1;min-width:0}.gacha-toolbar-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.gacha-message{color:#827168;margin:0;font-size:14px;line-height:1.6}.gacha-message.warning{color:#c4683c;font-weight:500}.gacha-play-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:stretch;gap:20px;display:grid}.gacha-play{box-sizing:border-box;background:radial-gradient(at 30% 40%,#fff7df,#0000 65%),#f5eee6;border:1px solid #e7dace;border-radius:28px;grid-template-columns:minmax(260px,1.05fr) minmax(220px,1fr);align-items:center;gap:20px;height:100%;padding:24px 20px;display:grid;overflow:hidden}.gacha-stage{padding:10px 0 18px;position:relative}.gacha-stage:after{content:"";filter:blur(10px);background:#8e694536;border-radius:50%;width:70%;height:25px;position:absolute;bottom:5px;left:15%}.gacha-machine{z-index:1;filter:drop-shadow(0 10px 8px #774e3820);width:min(100%,340px);margin:auto;position:relative}.gacha-crown{text-align:center;color:#fff2d9;z-index:2;background:linear-gradient(120deg,#e78969,#c55f4d);border:5px solid #994c3f;border-radius:40px 40px 12px 12px;padding:14px 10px 10px;position:relative;box-shadow:inset 0 4px #ffcc9e80}.gacha-crown span{letter-spacing:4px;font-size:11px;display:block}.gacha-crown b{letter-spacing:3px;font-size:25px;line-height:1.5;display:block}.gacha-crown i{color:#ffda82;letter-spacing:12px;font-size:12px;font-style:normal}.gacha-globe{background:linear-gradient(120deg,#ffffffed,#dcece4a0 45%,#aaccc86b);border:8px solid #c4b597;border-radius:20px 20px 40% 40%/20px 20px 18% 18%;height:230px;margin:-10px 10px -7px;position:relative;overflow:hidden;box-shadow:inset 8px 0 14px #ffffffb0,inset -8px 0 15px #6b88892b}.gacha-glass-shine{z-index:2;pointer-events:none;background:linear-gradient(#ffffffc0,#fff0);border-radius:100%;width:12%;height:65%;position:absolute;top:7%;left:8%;transform:rotate(8deg)}.gacha-balls{position:absolute;inset:0 5% 9%}.gacha-ball{left:var(--x);top:var(--y);width:48px;height:48px;transform:translate(-50%, -50%) rotate(var(--angle));background:linear-gradient(180deg, hsl(var(--hue) 65% 69%) 0 48%, #fff4dd 49% 53%, hsl(var(--hue) 46% 89%) 54%);will-change:transform;border:2px solid #ffffffab;border-radius:50%;transition:transform .45s cubic-bezier(.2,.9,.3,1);position:absolute;box-shadow:inset -6px -5px 8px #0002,inset 4px 4px 7px #fff9,2px 5px 7px #4d44382b}.gacha-body{background:linear-gradient(90deg,#c76150,#e68c70 22%,#dc7c61 65%,#bd584b);border:6px solid #984c40;border-radius:24px 24px 38px 38px;margin:0 2px;padding:20px 22px 14px;position:relative;box-shadow:inset 0 5px #fac39580}.gacha-plate{text-align:center;background:#fff2d4;border:3px solid #b45d48;border-radius:13px;padding:9px;box-shadow:0 3px #9d4e4030}.gacha-plate span{letter-spacing:3px;font-size:17px;font-weight:800}.gacha-plate small{letter-spacing:2px;margin-top:4px;font-size:8px;display:block}.gacha-controls{justify-content:space-around;align-items:center;margin:18px 0;display:flex}.gacha-coin{text-align:center;color:#ffe7bb;background:#bd5b49;border:3px solid #9b503f;border-radius:15px;width:85px;padding:10px 4px;box-shadow:inset 0 3px #7a3c3333}.gacha-coin i{background:#453b36;border:2px solid #efbc8d;border-radius:8px;width:9px;height:34px;margin:auto auto 6px;display:block}.gacha-coin span{letter-spacing:1px;font-size:7px}.gacha-knob{cursor:pointer;color:#754e2e;background:radial-gradient(circle at 35% 25%,#fff8d8,#dbac61);border:7px solid #fff0c5;border-radius:50%;width:100px;height:100px;position:relative;box-shadow:0 5px #8a4c3b,inset 0 0 0 3px #bf914a}.gacha-knob>span{background:linear-gradient(#fffbdf,#c18c4e);border:2px solid #ad7b3e;border-radius:10px;height:22%;position:absolute;top:39%;left:12%;right:12%;box-shadow:0 3px 4px #704e3955}.gacha-knob b{font-size:11px;position:absolute;bottom:7px;left:0;right:0}.gacha-knob:disabled{cursor:default}.gacha-knob:focus-visible{outline-offset:5px;outline:4px solid #2e7565}.gacha-outlet{background:linear-gradient(#332a29,#65514a);border:8px solid #a55643;border-bottom-color:#eaa184;border-radius:18px 18px 30px 30px;width:145px;height:70px;margin:auto;position:relative;overflow:hidden;box-shadow:inset 0 12px 7px #0006}.gacha-pickup{text-align:center;letter-spacing:2px;color:#ffe1b9;margin-top:8px;font-size:8px;display:block}.gacha-foot{background:#743f36;border-radius:0 0 10px 10px;height:14px;margin:-2px 25px 0}.gacha-prize-ball{background:linear-gradient(155deg,#8bc9bd 0 48%,#fff2d2 49%);border-radius:50%;width:48px;height:48px;animation:.65s cubic-bezier(.2,.8,.4,1) both gacha-drop;position:absolute;bottom:0;left:calc(50% - 24px);box-shadow:inset -5px -5px 8px #0002,0 4px 5px #0004}.rolling .gacha-globe{animation:.14s ease-in-out infinite alternate gacha-machine-rattle}.rolling .gacha-ball{animation-duration:var(--speed,.72s);animation-delay:var(--delay,0s);animation-timing-function:cubic-bezier(.35,.1,.25,1);animation-iteration-count:infinite}.rolling .gacha-ball:nth-child(5n+1){animation-name:gacha-tumble-churn-left}.rolling .gacha-ball:nth-child(5n+2){animation-name:gacha-tumble-swirl-right}.rolling .gacha-ball:nth-child(5n+3){animation-name:gacha-tumble-bounce-center}.rolling .gacha-ball:nth-child(5n+4){animation-name:gacha-tumble-roll-bottom}.rolling .gacha-ball:nth-child(5n+5){animation-name:gacha-tumble-flutter-top}.rolling .gacha-knob>span{animation:.9s ease-in-out infinite gacha-turn}.gacha-result-panel{text-align:center}.gacha-result-panel h3{color:#6f4e3a;margin:14px 0;font-size:21px}.gacha-result-panel>p{color:#8c7567;font-size:12px;line-height:1.8}.gacha-student-box{text-align:left;background:#fffdf8;border:1.5px solid #ebdccb;border-radius:12px;flex-direction:column;gap:6px;margin:10px 0 14px;padding:8px 12px;display:flex}.gacha-student-label{color:#713f33;align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.gacha-student-row{align-items:center;gap:8px;display:flex}.gacha-student-select{color:#54443c;background:#fff;border:1.5px solid #dfcfbc;border-radius:8px;outline:none;flex:1;min-width:0;height:38px;padding:0 10px;font-size:14px;transition:border-color .15s}.gacha-student-select:focus{border-color:#d46c55;box-shadow:0 0 0 2px #d46c5520}.gacha-student-next{white-space:nowrap;flex-shrink:0}.gacha-result{background:#fff9ee;border:2px solid #e8d9bd;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:150px;margin-bottom:16px;padding:18px 14px;display:flex;box-shadow:0 6px #e5d9c66b}.gacha-result>span{color:#cf9b50;font-size:38px}.gacha-result-content{flex-direction:column;align-items:center;gap:6px;max-width:100%;display:flex}.gacha-result-student{color:#b85b45;letter-spacing:.5px;background:#ffebe6;border:1px solid #ffd5cc;border-radius:999px;padding:3px 14px;font-size:15px;font-weight:700}.gacha-result strong{overflow-wrap:anywhere;max-width:100%;font-size:clamp(23px,2.7vw,36px)}.gacha-result.won{animation:.5s ease-out gacha-reveal}.gacha-rule-tip{color:#8c7567;margin:6px 0 14px;font-size:12px}.gacha-prizes{text-align:left;border-top:1px solid #d9cbb9;margin-top:25px;padding:16px}.gacha-prizes summary{cursor:pointer;font-size:13px}.gacha-rule-box{background:#fbf7f0;border:1px solid #ebdccb;border-radius:8px;margin:12px 0;padding:8px 12px;font-size:12px}.gacha-rule-box strong{color:#713f33;margin-bottom:4px;display:block}.gacha-rule-box p{color:#8c7567;margin:0}.gacha-prizes p{justify-content:space-between;gap:15px;margin:12px 0;font-size:13px;display:flex}.gacha-history,.gacha-editor{margin-top:20px;padding:24px}.gacha-history-sidebar{box-sizing:border-box;border-radius:28px;flex-direction:column;height:100%;min-height:0;max-height:100%;margin-top:0;padding:20px 16px;display:flex;overflow:hidden}.gacha-history>p,.gacha-editor>p{color:#8c7567;margin:12px 0;font-size:13px}.gacha-history-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.gacha-history-header h3{margin:0}.gacha-history-header p{color:#8c7567;margin:4px 0 0;font-size:13px}.gacha-history-sidebar .gacha-history-header{border-bottom:1px solid #ebdccb;flex-wrap:nowrap;margin-bottom:8px;padding-bottom:10px}.gacha-history-sidebar .gacha-history-header h3{font-size:16px;font-weight:700;line-height:1.3}.gacha-history-sidebar .gacha-history-header p{margin-top:3px;font-size:11px;line-height:1.4}.gacha-history-sidebar .gacha-history-header button{flex-shrink:0;padding:4px 10px;font-size:12px}.gacha-history-empty{color:#8c7567;text-align:center;margin:auto 0;padding:24px 10px;font-size:13px}.gacha-history ol,.gacha-history-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin:12px 0 0;padding:0;list-style:none;display:grid}.gacha-history-sidebar .gacha-history-list{flex-direction:column;flex:1 1 0;gap:8px;min-height:0;margin-top:6px;padding-right:4px;display:flex;overflow-y:auto}.gacha-history-sidebar .gacha-history-list::-webkit-scrollbar{width:5px}.gacha-history-sidebar .gacha-history-list::-webkit-scrollbar-track{background:0 0}.gacha-history-sidebar .gacha-history-list::-webkit-scrollbar-thumb{background:#d8c7b5;border-radius:4px}.gacha-history li,.gacha-history-card{background:#fdfaf5;border:1px solid #eee1d2;border-radius:12px;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;transition:box-shadow .15s,border-color .15s;display:flex;position:relative}.gacha-history-sidebar .gacha-history-card{gap:4px;padding:10px 12px}.gacha-history-sidebar .gacha-history-prize{font-size:15px}.gacha-history-card:hover{border-color:#e0cfbd;box-shadow:0 3px 8px #713f3312}.gacha-history-card-top{justify-content:space-between;align-items:center;gap:6px;display:flex}.gacha-history-student{text-overflow:ellipsis;white-space:nowrap;border-radius:6px;flex-shrink:1;max-width:140px;padding:2px 8px;font-size:12px;font-weight:600;overflow:hidden}.gacha-history-student.assigned{color:#2e6628;background:#eef5ea;border:1px solid #d4e7cd}.gacha-history-student.unassigned{color:#8a776c;background:#f0ece7}.gacha-history-card-top-actions{flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.gacha-history-del{color:#b3a094;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:1px 4px;font-size:13px;line-height:1;transition:color .15s,background-color .15s}.gacha-history-del:hover:not(:disabled){color:#c93b2b;background:#fee}.gacha-history strong,.gacha-history-prize{color:#4b392f;overflow-wrap:anywhere;margin:1px 0;font-size:15px;display:block}.gacha-history-card-time-row{color:#8b7a70;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;font-size:11px;display:flex}.gacha-history time,.gacha-history-time{color:#8b7a70;font-size:11px}.gacha-redeemed-time{color:#2e8b57;font-size:11px;font-weight:500}.gacha-redeem-check{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:4px;font-size:11px;display:inline-flex}.gacha-redeem-check input[type=checkbox]{cursor:pointer;accent-color:#2e8b57;width:14px;height:14px;margin:0}.badge-redeemed{color:#1b693a;white-space:nowrap;background:#e1f4e7;border:1px solid #bce4c8;border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700}.badge-pending{color:#8a7364;white-space:nowrap;background:#f2eee8;border:1px solid #dfd8cf;border-radius:999px;padding:1px 6px;font-size:11px}.gacha-editor fieldset{border:0;min-width:0;padding:0}.gacha-edit-row{grid-template-columns:minmax(0,1fr) 110px auto;align-items:end;gap:12px;margin:14px 0;display:grid}.gacha-editor label{gap:6px;font-size:13px;display:grid}.gacha-editor input{border:1px solid #d5c9ba;border-radius:9px;width:100%;min-width:0;padding:10px}.gacha-editor-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.gacha-count{max-width:280px}.gacha-total{border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:14px;transition:all .2s;display:inline-flex}.gacha-total.is-valid{color:#1e7e4e;background:#eaf8f0}.gacha-total.is-invalid{color:#c93b2b;background:#fdf0ed;border:1px solid #f8cbc3}.gacha-total-diff{opacity:.9;font-size:12px;font-weight:400}.gacha-editor-warning{color:#9c3600;background:#fff4e5;border:1px solid #ffd8a8;border-left:4px solid #f76707;border-radius:8px;align-items:center;margin:12px 0 16px;padding:10px 14px;font-size:13px;line-height:1.5;display:flex}.gacha-editor-warning strong{color:#d9480f;font-weight:700}.gacha-import input{max-width:220px}@keyframes gacha-machine-rattle{0%{transform:translate(0)}to{transform:translate(.5px,-.6px)}}@keyframes gacha-tumble-churn-left{0%{transform:translate(-50%, -50%) rotate(var(--angle))}25%{transform:translate(calc(-50% + var(--jump-x) - 16px), calc(-50% + var(--jump-y) * .65)) rotate(calc(var(--angle) + var(--spin) * .3))}50%{transform:translate(calc(-50% + var(--jump-x) - 6px), calc(-50% + var(--jump-y))) rotate(calc(var(--angle) + var(--spin) * .65))}75%{transform:translate(calc(-50% + 14px), calc(-50% - 6px)) rotate(calc(var(--angle) + var(--spin) * .85))}to{transform:translate(-50%, -50%) rotate(calc(var(--angle) + var(--spin)))}}@keyframes gacha-tumble-swirl-right{0%{transform:translate(-50%, -50%) rotate(var(--angle))}30%{transform:translate(calc(-50% + 24px), calc(-50% + var(--jump-y) * .55)) rotate(calc(var(--angle) - var(--spin) * .35))}58%{transform:translate(calc(-50% + 8px), calc(-50% + var(--jump-y) * .95)) rotate(calc(var(--angle) - var(--spin) * .7))}82%{transform:translate(calc(-50% - 16px), calc(-50% - 4px)) rotate(calc(var(--angle) - var(--spin) * .9))}to{transform:translate(-50%, -50%) rotate(calc(var(--angle) - var(--spin)))}}@keyframes gacha-tumble-bounce-center{0%{transform:translate(-50%, -50%) rotate(var(--angle))}20%{transform:translate(calc(-50% + var(--jump-x)), calc(-50% + var(--jump-y) * 1.05)) rotate(calc(var(--angle) + var(--spin) * .3))}42%{transform:translate(calc(-50% + var(--jump-x) * .5), calc(-50% - 4px)) rotate(calc(var(--angle) + var(--spin) * .6))}65%{transform:translate(calc(-50% - var(--jump-x) * .6), calc(-50% + var(--jump-y) * .45)) rotate(calc(var(--angle) + var(--spin) * .8))}85%{transform:translate(calc(-50% - 3px), calc(-50% - 8px)) rotate(calc(var(--angle) + var(--spin) * .95))}to{transform:translate(-50%, -50%) rotate(calc(var(--angle) + var(--spin)))}}@keyframes gacha-tumble-roll-bottom{0%{transform:translate(-50%, -50%) rotate(var(--angle))}25%{transform:translate(calc(-50% - 20px), calc(-50% + 4px)) rotate(calc(var(--angle) + var(--spin) * .4))}50%{transform:translate(calc(-50% + 18px), calc(-50% - 16px)) rotate(calc(var(--angle) + var(--spin) * .75))}75%{transform:translate(calc(-50% - 10px), calc(-50% - 2px)) rotate(calc(var(--angle) + var(--spin) * .9))}to{transform:translate(-50%, -50%) rotate(calc(var(--angle) + var(--spin)))}}@keyframes gacha-tumble-flutter-top{0%{transform:translate(-50%, -50%) rotate(var(--angle))}30%{transform:translate(calc(-50% + 14px), calc(-50% + 18px)) rotate(calc(var(--angle) - var(--spin) * .35))}60%{transform:translate(calc(-50% - 16px), calc(-50% + var(--jump-y) * .4)) rotate(calc(var(--angle) - var(--spin) * .7))}85%{transform:translate(calc(-50% + 8px), calc(-50% - 10px)) rotate(calc(var(--angle) - var(--spin) * .9))}to{transform:translate(-50%, -50%) rotate(calc(var(--angle) - var(--spin)))}}@keyframes gacha-turn{to{transform:rotate(360deg)}}@keyframes gacha-drop{0%{transform:translateY(-95px)rotate(-100deg)}70%{transform:translateY(5px)rotate(15deg)}to{transform:translateY(0)rotate(0)}}@keyframes gacha-reveal{0%{opacity:0;transform:translateY(10px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:1080px){.gacha-play-layout{grid-template-columns:1fr}.gacha-history-sidebar{height:auto;min-height:0;max-height:480px}}@media (max-width:768px){.gacha-play{grid-template-columns:1fr;padding:18px 14px}.gacha-result-panel{width:100%;max-width:500px;margin:auto}}@media (max-width:640px){.gacha-play{gap:12px;padding:14px}.gacha-edit-row{grid-template-columns:minmax(0,1fr) 85px}.gacha-edit-row button{grid-column:1/-1}.gacha-editor{padding:16px}.gacha-crown b{font-size:21px}.gacha-globe{height:220px}.sidebar nav{justify-content:flex-start;gap:3px;overflow-x:auto}.sidebar .nav-item{flex-shrink:0;min-width:56px}}@media (prefers-reduced-motion:reduce){.gacha-tool *{transition:none!important;animation:none!important}}
.group-tool{gap:20px;display:grid}.group-toolbar,.group-inline{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.group-toolbar>div:first-child{margin-right:auto}.group-toolbar h2{margin:0 0 8px}.group-toolbar p,.group-setup p{color:var(--muted);line-height:1.7}.group-setup{padding:24px}.group-tool label{gap:7px;font-size:14px;display:grid}.group-tool input:not([type=checkbox]):not([type=color]),.group-tool select{border:1px solid var(--line);min-width:0;max-width:100%;color:var(--text);background:#fff;border-radius:10px;padding:9px 11px}.group-tool input[type=number]{width:120px}.group-tool input[type=color]{border:0;width:70px;height:38px}.group-tool .group-check{align-items:center;gap:8px;display:flex}.group-tool input[type=checkbox]{accent-color:#158577;width:18px;height:18px}.group-tool fieldset{border:1px solid var(--line);border-radius:14px;min-width:0;margin:16px 0;padding:16px}.group-tool fieldset:disabled{opacity:.65}.group-tool summary{cursor:pointer;padding:12px 0;font-weight:700}.group-rules{gap:14px;display:grid}.group-rules .group-inline{margin-bottom:12px}.group-template-toolbar{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:12px 0 16px;display:flex}.group-template-toolbar label{flex-direction:column;gap:6px;font-size:14px;display:flex}.group-template-toolbar select,.group-template-toolbar input{box-sizing:border-box;height:40px;min-height:40px;padding:8px 12px}.group-template-toolbar button{white-space:nowrap;box-sizing:border-box;justify-content:center;align-items:center;gap:6px;height:40px;min-height:40px;padding:0 16px;display:inline-flex}.group-template-toolbar button.is-default-active{color:#158577;background:#eef8f3;border-color:#158577;font-weight:700}.group-attendance{flex-wrap:wrap;gap:12px;padding:16px 0;display:flex}.group-grid{grid-template-columns:repeat(auto-fit, minmax(min(100%, var(--group-card-min-w,245px)), 1fr));gap:var(--group-grid-gap,18px);margin:20px 0;transition:gap .15s;display:grid}.group-team{background:#fff;border:1px solid #e1e8e6;border-top:6px solid #158577;border-radius:20px;min-width:0;padding:20px;box-shadow:0 5px 20px #23483c08}.group-team h2{font-size:22px}.group-team p{line-height:1.8}.group-team ul{padding-left:20px;line-height:1.9}.group-score{color:#158577;margin:18px 0;font-size:42px;animation:.35s ease-out group-pop;display:block}.group-score small{color:#70857c;font-size:15px}.group-member{border-bottom:1px solid var(--line);cursor:grab;gap:8px;padding:12px 0;display:grid}.group-member select{width:100%}.group-award{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.group-award button{flex-shrink:0}.group-settlement{background:#fff9e9;border:2px solid #e5b656;border-radius:16px;margin-top:16px;padding:20px}.group-settlement button{margin-right:12px}.group-clock{font-variant-numeric:tabular-nums;color:#158577;font-size:25px}.group-board{color:#203d35;background:linear-gradient(135deg,#f0f8f2,#fff9e7);border-radius:24px;padding:30px}.group-board header{text-align:center}.group-board h1{margin:15px 0;font-size:clamp(28px,4vw,52px)}.group-goals{flex-wrap:wrap;justify-content:center;gap:14px;margin-top:22px;display:flex}.group-goals>div{background:#ffffffb8;border-radius:16px;flex:1;gap:10px;min-width:180px;padding:18px;display:grid}.group-goals progress{accent-color:#e8b845;width:100%;height:18px}.group-celebration{text-align:center;color:#735319;background:#fff0bd;border-radius:16px;padding:22px;font-size:22px;animation:.5s ease-out group-pop}.group-boost{color:#a86212;font-weight:700}.group-screen{background:#eff7f3;min-height:100vh;padding:20px}.group-screen>.secondary{margin-bottom:10px}.group-screen .group-score{font-size:64px}@keyframes group-pop{0%{opacity:.6;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.group-score,.group-celebration{animation:none}}@media (max-width:640px){.group-setup,.group-board{padding:16px}.group-award{flex-wrap:wrap}.sidebar .nav-item{width:auto}}.group-history-controls{gap:10px;display:grid}.group-history-actions{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.group-history-actions>select,.group-history-actions>button,.group-history-actions>div>button{box-sizing:border-box;height:46px}.group-history-actions>select{max-width:100%}.page-heading>.page-heading-actions{flex-wrap:wrap;flex:none;align-items:center;gap:10px;min-width:0;max-width:100%;display:flex}#group-page-actions:not([hidden]),#gacha-page-actions:not([hidden]),#draw-page-actions:not([hidden]){flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-heading-actions button{white-space:nowrap;min-height:38px}@media (max-width:1150px){:is(.page-heading:has(#group-page-actions:not([hidden])),.page-heading:has(#gacha-page-actions:not([hidden])),.page-heading:has(#draw-page-actions:not([hidden]))){flex-wrap:wrap}}.group-tool .group-delete-item{flex-wrap:nowrap;justify-content:flex-start;gap:10px}.group-delete-item input[type=checkbox]{flex-shrink:0}.star-boost{background:linear-gradient(115deg,#fff9de,#fff2cb 65%,#ffedcd);border:1px solid #efd68a;border-radius:24px;margin:22px 0;padding:24px 28px;position:relative;overflow:hidden;box-shadow:0 8px 26px #9c843013}.star-boost-top{align-items:center;gap:18px;display:flex}.star-boost-mascot{filter:drop-shadow(0 4px #d8a52833);flex-shrink:0;width:64px;height:64px;animation:2.4s ease-in-out infinite star-boost-wiggle}.star-boost-info{flex:1;min-width:0}.star-boost-info>small{letter-spacing:1px;color:#9b7825;font-size:12px;font-weight:700}.star-boost-info h3{color:#785714;margin:6px 0;font-size:22px}.star-boost-info h3 span{vertical-align:middle;background:#fffef2;border:1px solid #e7ce83;border-radius:30px;margin-left:8px;padding:5px 11px;font-size:14px;display:inline-block}.star-boost .star-boost-info p{color:#9c7b34;margin:7px 0 0;font-size:14px}.star-boost-clock{text-align:right;color:#795611;flex-shrink:0}.star-boost-clock b{font-variant-numeric:tabular-nums;letter-spacing:1px;font-size:34px}.star-boost-clock small{color:#9d7c32;margin-top:3px;font-size:12px;display:block}.star-boost-track{background:#e9dba9;border-radius:20px;height:18px;margin-top:22px;box-shadow:inset 0 2px 3px #7f622512}.star-boost-track>div{background:linear-gradient(90deg,#efd04a,#ffb950);border-radius:20px;height:100%;transition:width .25s linear;position:relative}.group-screen .star-boost-track>div{transition-duration:1s}.star-boost-track>div:after{content:"✦";color:#fff9d9;text-shadow:0 1px 2px #cb8b22;font-size:29px;position:absolute;top:-9px;right:-9px}.star-boost-bottom{color:#9d7c32;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;display:flex}.star-boost.is-paused .star-boost-mascot,.star-boost.is-ended .star-boost-mascot{animation:none}.star-boost.is-paused .star-boost-track>div{background:#c9bd91;transition:none}.star-boost.is-ended{background:#eef3ef;border-color:#cfdbd2}.star-boost.is-ended h3{color:#527562}.star-boost.is-ended .star-boost-track>div:after{display:none}@keyframes star-boost-wiggle{0%,to{transform:rotate(-7deg)translateY(0)}50%{transform:rotate(7deg)translateY(-3px)}}@media (max-width:600px){.star-boost{padding:20px 16px}.star-boost-top{flex-wrap:wrap;gap:10px}.star-boost-mascot{width:45px;height:45px}.star-boost-info h3{font-size:18px}.star-boost-clock b{font-size:26px}.star-boost-info h3 span{width:max-content;margin:7px 0 0;display:block}.star-boost-bottom{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.star-boost-mascot{animation:none}.star-boost-track>div{transition:none}}.star-boost-overlay{z-index:9999;-webkit-backdrop-filter:blur(12px);cursor:pointer;-webkit-user-select:none;user-select:none;background:#000000d9;flex-direction:column;justify-content:center;align-items:center;animation:.25s ease-out forwards star-boost-fade-in;display:flex;position:fixed;inset:0}@keyframes star-boost-fade-in{0%{opacity:0}to{opacity:1}}.star-boost-sunburst{pointer-events:none;opacity:.4;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.star-boost-sunburst-rays{background:repeating-conic-gradient(#ffd70066 0deg 15deg,#0000 15deg 30deg);border-radius:50%;width:180vmax;height:180vmax;animation:16s linear infinite star-spin-slow}@keyframes star-spin-slow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.star-boost-shockwave{opacity:.65;pointer-events:none;filter:drop-shadow(0 0 30px #ffea00);border:4px solid #fde047;border-radius:50%;width:360px;height:360px;animation:1.6s ease-out infinite star-shockwave;position:absolute}@keyframes star-shockwave{0%{opacity:1;border-width:12px;transform:scale(.2)}to{opacity:0;border-width:1px;transform:scale(2.8)}}.star-boost-sparkle{pointer-events:none;filter:drop-shadow(0 0 10px #ffe600e6);font-size:28px;animation:1.6s ease-out infinite star-sparkle-burst;position:absolute}@keyframes star-sparkle-burst{0%{opacity:0;transform:translate(0)scale(.3)rotate(0)}30%{opacity:1}to{transform:translate(var(--tx), var(--ty)) scale(1.3) rotate(var(--rot));opacity:0}}.star-boost-character{z-index:10;flex-direction:column;align-items:center;animation:.65s cubic-bezier(.175,.885,.32,1.275) forwards star-pop,1.4s ease-in-out infinite alternate star-pulse-glow;display:flex;position:relative}@keyframes star-pop{0%{opacity:0;transform:scale(.1)rotate(-35deg)}50%{opacity:1;transform:scale(1.18)rotate(10deg)}70%{transform:scale(.92)rotate(-5deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes star-pulse-glow{0%,to{filter:drop-shadow(0 0 25px #ffd700e6)drop-shadow(0 0 60px #ff6b0099)}50%{filter:drop-shadow(0 0 50px #fff)drop-shadow(0 0 100px #ffd700e6)}}.star-boost-badge{color:#020617;letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(90deg,#fbbf24,#fde047,#fbbf24);border:2px solid #fef08a;border-radius:9999px;margin-top:24px;padding:8px 24px;font-size:clamp(20px,3.5vw,28px);font-weight:900;animation:1s ease-in-out infinite alternate star-badge-bounce;display:inline-block;box-shadow:0 20px 40px #00000080,0 0 30px #facc15b3}@keyframes star-badge-bounce{0%{transform:translateY(0)}to{transform:translateY(-10px)}}.star-boost-subtitle{color:#fef08a;text-shadow:0 2px 10px #000000d9;letter-spacing:1px;margin-top:10px;font-size:clamp(17px,2.5vw,21px);font-weight:700}.star-boost-dismiss-hint{color:#ffffffa6;pointer-events:none;background:#00000080;border-radius:8px;padding:6px 16px;font-size:13px;position:absolute;bottom:24px}@media (prefers-reduced-motion:reduce){.star-boost-overlay,.star-boost-sunburst-rays,.star-boost-shockwave,.star-boost-sparkle,.star-boost-character,.star-boost-badge{animation:none}}.group-screen{flex-direction:column;height:100dvh;min-height:0;padding:12px;display:flex;position:fixed;inset:0;overflow:hidden}.group-screen>.secondary{flex-shrink:0;align-self:flex-end}.group-screen-viewport{flex:1;min-height:0;position:relative;overflow:hidden}.group-screen-content{transform-origin:top;position:absolute;top:0;left:50%}.group-screen .group-board{padding:18px}.group-screen .group-board header{justify-content:space-between;align-items:center;gap:20px;display:flex}.group-screen .group-board header>p{display:none}.group-screen .group-board h1{overflow-wrap:anywhere;margin:0;font-size:32px}.group-screen .group-clock{flex-shrink:0}.group-screen .group-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:14px 0 0}.group-screen .group-team{overflow-wrap:anywhere;padding:14px}.group-screen .group-team h2{margin:0}.group-screen .group-score{margin:8px 0;font-size:48px}.group-screen .group-team p{margin:4px 0}.group-screen .group-team ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px;margin:6px 0 0;padding:0;line-height:1.5;list-style:none;display:grid}.group-screen .group-goals{gap:10px;margin-top:12px}.group-screen .group-goals>div{overflow-wrap:anywhere;gap:4px;padding:10px}.group-screen .boost-bars{grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:10px;margin-top:12px;display:grid}.group-screen .star-boost{margin:0;padding:12px}.group-screen .star-boost-mascot{width:44px;height:44px}.group-screen .star-boost-info h3{margin:4px 0;font-size:18px}.group-screen .star-boost-clock b{font-size:26px}.group-screen .star-boost-track{height:10px;margin-top:8px}.group-screen .star-boost-bottom{margin-top:6px}.group-screen .group-celebration{overflow-wrap:anywhere;margin-top:12px;padding:10px}.group-quick-score{gap:8px;margin:12px 0;display:flex}.group-quick-score>button{flex:1;min-height:42px;padding:8px 12px;font-weight:700}.group-heading-history{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.group-heading-history label{white-space:nowrap;font-size:14px}.group-heading-history select{border:1px solid var(--line);min-width:160px;max-width:min(280px,100%);color:var(--text);background:#fff;border-radius:10px;padding:10px 12px;font-size:14px}#group-history-heading{max-width:100%}.group-assignment-board{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:20px;margin-top:20px;display:grid}.group-unassigned{border:1px solid var(--line);background:#f0f7f4;border-radius:16px;padding:16px;position:sticky;top:16px}.group-unassigned h4{margin:0 0 14px}.group-unassigned>input{width:100%}.group-unassigned p{font-size:12px}.group-unassigned-list{max-height:65vh;overflow-y:auto}.group-assignment-board>.group-grid{margin:0}.group-assignment-board .group-team{min-height:220px}.group-team-count{color:var(--muted);font-size:13px}@media (max-width:900px){.group-assignment-board{grid-template-columns:1fr}.group-unassigned{position:static}.group-unassigned-list{max-height:260px}}.group-star-progress{color:#895817;background:linear-gradient(120deg,#fff6d6,#ffe9f1);border:1px solid #f5dda3;border-radius:18px;grid-template-columns:1fr auto;gap:10px;padding:14px;display:grid}.group-star-progress strong{font-size:13px}.group-star-progress progress{background:#f1e2c3;border:0;border-radius:20px;grid-column:1/-1;width:100%;height:20px;overflow:hidden}.group-star-progress progress::-webkit-progress-bar{background:#f1e2c3;border-radius:20px}.group-star-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#ffc75a,#ff9bb5);border-radius:20px;transition:width .35s}.group-star-progress progress::-moz-progress-bar{background:#ffc75a;border-radius:20px}.group-star-progress small{text-align:center;grid-column:1/-1}.class-progress-dock{z-index:20;color:#805821;background:linear-gradient(110deg,#fff8d9,#ffeaf0);border:2px solid #f2d795;border-radius:24px;align-items:center;gap:18px;padding:16px 24px;display:flex;position:fixed;bottom:16px;left:256px;right:24px;box-shadow:0 8px 32px #694a2426}.class-progress-dock>div{flex:1;min-width:0}.class-progress-dock p{overflow-wrap:anywhere;margin:5px 0 8px}.class-progress-dock progress{accent-color:#f6b748;width:100%;height:16px}.class-progress-mascot{font-size:42px}.sidebar-collapsed .class-progress-dock{left:96px}@media (max-width:900px){.class-progress-dock{left:90px;right:14px}}@media (max-width:640px){.class-progress-dock,.sidebar-collapsed .class-progress-dock{gap:8px;padding:12px;font-size:13px;bottom:78px;left:10px;right:10px}.class-progress-mascot{font-size:26px}}.group-card-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.group-card-heading>strong{color:#158577;white-space:nowrap;font-size:24px}.group-card-heading small{font-size:12px}.group-save-status-inline{color:#275231;white-space:nowrap;background:#e3eee1;border:1px solid #c9dec6;border-radius:8px;align-items:center;gap:5px;padding:5px 10px;font-size:12.5px;font-weight:500;animation:.15s ease-out fadeIn;display:inline-flex}.group-save-status-inline.is-busy{color:var(--muted);background:#f0f4f1;border-color:#dce5df}.group-quick-score.is-saving>button:disabled{opacity:1;cursor:wait}.group-tool.is-scoring fieldset:disabled,.group-tool.is-scoring button:disabled{opacity:1}.page-heading:has(~.group-tool.is-scoring) button:disabled{opacity:1}body:has(.group-tool.is-scoring) #group-page-actions button:disabled{opacity:1}.group-tool.is-scoring button:disabled:hover{filter:brightness(.98)}body:has(.group-tool.is-scoring) #group-page-actions button:disabled:hover{filter:brightness(.98)}.group-activity-card{padding:var(--group-card-pad,20px);border-top-color:#528b7b;border-radius:18px;transition:padding .15s;container-type:inline-size}.group-activity-card .group-card-heading{gap:8px}.group-activity-card .group-card-heading h3{font-size:var(--group-card-title-font,24px);letter-spacing:-.01em;margin:0;font-weight:800;line-height:1.25}.group-activity-card .group-card-heading>strong{font-size:var(--group-card-score-font,24px)}.group-activity-card .group-quick-score{margin:10px 0 0}.group-activity-card .group-quick-score>button{min-height:var(--group-card-btn-h,54px);font-size:var(--group-card-btn-font,26px);font-variant-numeric:tabular-nums;border:2px solid #0000;border-radius:12px;font-weight:800;line-height:1.2;transition:min-height .15s,font-size .15s}.group-quick-score>.group-score-add{color:#fff;background:#147a50;border-color:#106540;box-shadow:0 3px #0b5737}.group-quick-score>.group-score-subtract{color:#fff;background:#bf364d;border-color:#a72d41;box-shadow:0 3px #8e2536}.group-quick-score>button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.group-card-size-ctrl{background:#edf3f0;border:1px solid #d4e0da;border-radius:12px;align-items:center;gap:8px;margin-left:auto;padding:4px 10px;display:inline-flex}.group-card-size-label{color:var(--ink);-webkit-user-select:none;user-select:none;white-space:nowrap;font-size:13px;font-weight:600}.group-card-size-btn-group{align-items:center;gap:4px;display:inline-flex}.group-size-btn{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:30px;padding:0;display:inline-flex}.group-ranked-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:18px;margin-top:18px;display:grid}.group-ranked-layout>.group-grid{margin-top:0}.group-live-ranking{background:linear-gradient(150deg,#fff9e8,#fff);border:1px solid #eedcae;border-radius:18px;padding:16px}.group-live-ranking h3{margin:0 0 8px}.group-live-ranking p,.group-live-ranking>small{color:var(--muted);font-size:12px}.group-live-ranking ol{margin:14px 0;padding:0;list-style:none}.group-live-ranking li{border-bottom:1px solid #efe5ca;align-items:center;gap:8px;padding:12px 0;display:flex}.group-live-ranking li>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0;font-size:18px;font-weight:600}.group-live-ranking li small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.group-live-ranking li strong{text-align:right;color:#147a50;font-variant-numeric:tabular-nums;font-size:22px}.group-rank-number{flex-shrink:0;min-width:38px;font-size:30px}.group-live-ranking>button{width:100%;margin-bottom:10px}@media (max-width:900px){.group-ranked-layout{grid-template-columns:1fr}}.class-progress-dock.class-progress-boost{background:0 0;border:0;padding:0}.class-progress-boost>.boost-bars{width:100%;margin:0}.class-progress-boost .star-boost{margin:0;padding:14px 20px}.class-progress-boost .star-boost-mascot{width:44px;height:44px}.class-progress-boost .star-boost-info h3{margin:4px 0;font-size:19px}.class-progress-boost .star-boost-info p{margin:4px 0}.class-progress-boost .star-boost-track{height:12px;margin-top:8px}.class-progress-boost .star-boost-bottom{margin-top:6px}.has-class-progress{padding-bottom:220px}.group-card-members-list{border-top:1px dashed #00000024;flex-direction:column;gap:7px;margin-top:14px;padding-top:12px;display:flex}:root[data-theme=dark] .group-card-members-list,html[data-theme=dark] .group-card-members-list{border-top-color:#ffffff29}.group-card-member-row{background:#00000008;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;font-size:14px;display:flex}:root[data-theme=dark] .group-card-member-row,html[data-theme=dark] .group-card-member-row{background:#ffffff0d}.group-card-member-info{flex:1;align-items:center;gap:8px;min-width:0;display:inline-flex}.group-card-member-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.group-card-member-score{color:#0369a1;white-space:nowrap;background:#e0f2fe;border-radius:999px;flex-shrink:0;padding:1px 7px;font-size:12px;font-weight:700}:root[data-theme=dark] .group-card-member-score,html[data-theme=dark] .group-card-member-score{color:#38bdf8;background:#38bdf833}.group-card-member-btns{flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.group-member-score-btn{cursor:pointer;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;min-width:30px;height:25px;padding:0 6px;font-size:12px;font-weight:700;line-height:1;transition:transform .1s,opacity .15s;display:inline-flex}.group-member-score-btn:active:not(:disabled){transform:scale(.92)}.group-member-score-btn:disabled{opacity:.45;cursor:not-allowed}.group-member-score-add{color:#fff;background:#147a50;border-color:#106540}.group-member-score-add:hover:not(:disabled){background:#116a45}.group-member-score-sub{color:#fff;background:#bf364d;border-color:#a72d41}.group-member-score-sub:hover:not(:disabled){background:#a82e42}@container (max-width:220px){.group-card-member-row{flex-direction:column;align-items:stretch;gap:4px;padding:5px 6px}.group-card-member-info{justify-content:space-between;align-items:center;width:100%;display:flex}.group-card-member-name{white-space:normal;font-size:13px;line-height:1.3;overflow:visible}.group-card-member-score{padding:1px 5px;font-size:11px}.group-card-member-btns{justify-content:flex-end;gap:4px;margin-top:2px}.group-member-score-btn{min-width:26px;height:22px;padding:0 5px;font-size:11px}}.group-grid[data-scale-step="0"] .group-card-member-row,.group-grid[data-scale-step="1"] .group-card-member-row{flex-direction:column;align-items:stretch;gap:4px;padding:5px 6px}.group-grid[data-scale-step="0"] .group-card-member-info,.group-grid[data-scale-step="1"] .group-card-member-info{justify-content:space-between;align-items:center;width:100%;display:flex}.group-grid[data-scale-step="0"] .group-card-member-name,.group-grid[data-scale-step="1"] .group-card-member-name{white-space:normal;font-size:13px;line-height:1.3;overflow:visible}.group-grid[data-scale-step="0"] .group-card-member-score,.group-grid[data-scale-step="1"] .group-card-member-score{padding:1px 5px;font-size:11px}.group-grid[data-scale-step="0"] .group-card-member-btns,.group-grid[data-scale-step="1"] .group-card-member-btns{justify-content:flex-end;gap:4px;margin-top:2px}.group-grid[data-scale-step="0"] .group-member-score-btn,.group-grid[data-scale-step="1"] .group-member-score-btn{min-width:26px;height:22px;padding:0 5px;font-size:11px}
.theme-toggle{white-space:nowrap}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141c24;--ink:#e2ece9;--text:#e2ece9;--muted:#a2b5b0;--green:#72d5b9;--green-dark:#a0ebd5;--line:#374852;--mint:#233e38;--peach:#45372d;--lavender:#37314b;--blue:#253b55}html[data-theme=dark] :is(.sidebar,.topbar,.panel,.modal,.account-options,.profile-page section,.group-team,.group-unassigned,.group-setup,.grade-import,.admin-panel,.class-bar,.auth-form-wrap){color:var(--ink);border-color:var(--line);background:#1e2a33}html[data-theme=dark] :is(input,select,textarea,.group-tool input:not([type=checkbox]):not([type=color]),.group-tool select,.group-heading-history select,.grade-import-body textarea,.grade-import-body select){color:var(--ink);border-color:var(--line);background:#14212a}html[data-theme=dark] :is(.secondary,.sidebar-toggle,.tip-card,.info-note,.nav-item.active,.menu-order-list li,.group-settlement){color:var(--ink);border-color:var(--line);background:#293b43}html[data-theme=dark] :is(.primary,.group-score-add){color:#fff;background:#187851}html[data-theme=dark] :is(th,td){border-color:var(--line)}html[data-theme=dark] :is(thead,th){color:var(--ink);background:#263740}html[data-theme=dark] tbody tr:hover{background:#293b43}html[data-theme=dark] :is(.group-board,.group-screen){color:var(--ink);background:#172730}html[data-theme=dark] :is(.group-goals>div,.group-live-ranking,.group-star-progress,.class-progress-dock,.star-boost,.group-celebration){color:#ffe4a0;background:linear-gradient(125deg,#393524,#3b3040);border-color:#746447}html[data-theme=dark] :is(.star-boost-info h3,.star-boost-clock,.star-boost-info p,.group-card-heading>strong,.group-live-ranking li strong){color:#ffe4a0}html[data-theme=dark] .group-score{color:#72d5b9}html[data-theme=dark] .class-progress-boost{background:0 0}html[data-theme=dark] .profile-page>.theme-toggle{float:right}html[data-theme=dark] .profile-password-section{background:#17242c;border-color:#374852}html[data-theme=dark] .profile-password-section legend{color:#e2ece9}html[data-theme=dark] .profile-page input:disabled,html[data-theme=dark] .profile-page input[readonly]{color:#8da29d;background:#19242d;border-color:#374b52}html[data-theme=dark] :is(.stat-card,.tool-card,.student-card,.search-box,.roster-preview,.delete-assessment-item,.toast,.desk,.gacha-result,.gacha-rule-box,.gacha-history li,.draw-result-card,.draw-screen-board,.admin-panel section,.admin-panel article,.admin-dialog,.account-options a,.account-options button){color:#e2ece9;background:#22313b;border-color:#42545e}html[data-theme=dark] :is(.hero,.gentle-card,.seat-map-scroll,.draw-screen,.gacha-stage){color:#e2ece9;background:#1b2a32}html[data-theme=dark] :is(.student-card,.stat-card,.tool-card,.gacha-result-panel,.gacha-history,.gacha-rule-box,.draw-result-card,.desk) :is(strong,b,h2,h3,h4){color:#e2ece9}html[data-theme=dark] :is(.student-card,.stat-card,.tool-card,.gacha-result-panel,.gacha-history,.gacha-editor,.gacha-rule-box,.draw-result-card,.desk,.rotation-bar) :is(p,small,time),html[data-theme=dark] :is(.gacha-studio,.gacha-toolbar,.gacha-rule-tip,.draw-count-label,.seating-toolbar label,.seating-title,.rule-help,.aisle-controls,.rule-options legend,.rule-add-form legend,.nav-item){color:#b7c7c3}html[data-theme=dark] :is(.seat,.class-icon,.class-tag,.activity-icon,.draw-result-order,.blackboard,.point-buttons button,.point-buttons button:last-child,.draw-count-presets button){color:#d3eee3;background:#2e4547;border-color:#4e6b68}html[data-theme=dark] :is(.draw-count-presets .chosen,.desk.selected,.desk.over,.account-options a:hover,.account-options button:hover){color:#f0fff8;background:#355a50}html[data-theme=dark] .desk.empty{color:#adbfba;background:#1a2830}html[data-theme=dark] .desk.blocked{color:#b8c7c2;background:repeating-linear-gradient(135deg,#25343c,#25343c 8px,#34454d 8px 10px)}html[data-theme=dark] .desk span{color:#e2ece9}html[data-theme=dark] :is(.error,.admin-banner){color:#ffd4b8;background:#48352e;border-color:#87604b}html[data-theme=dark] :is(.danger-btn,.danger-hover){color:#ff9eaa}html[data-theme=dark] :is(.admin-panel a,.text-button,.saved-label){color:#93dfc2}html[data-theme=dark] .gacha-result{box-shadow:0 8px #111b226b}html[data-theme=dark] :is(.draw-marquee,.lottery-circle,.lottery-display){color:#edfff4;background:#233b38;border-color:#527d69}html[data-theme=dark] .gacha-tool{color:#e2ece9;--gacha-dark:#f1c6aa}html[data-theme=dark] .gacha-play{background:radial-gradient(at 30% 40%,#3d3930,#0000 65%),#202d35;border-color:#495a60}html[data-theme=dark] :is(.draw-orb,.grade-cell button){color:#e2f8ed;box-shadow:none;background:#2b4541;border-color:#456258}html[data-theme=dark] :is(.lottery-name,.lottery-number){color:#e2f8ed}html[data-theme=dark] :is(.gacha-message,.draw-settings p,.draw-announcement,.draw-result-placeholder,.row-marker,.desk small){color:#b7c7c3}html[data-theme=dark] .draw-mode-tabs{background:#13222a;border-color:#273d4a}html[data-theme=dark] .draw-mode-tab{color:#8ba59f}html[data-theme=dark] .draw-mode-tab:hover:not(:disabled){color:#e2f8ed;background:#1a2e38}html[data-theme=dark] .draw-mode-tab.active{color:#e2f8ed;background:#1e333e;box-shadow:0 2px 6px #00000040}html[data-theme=dark] .draw-seating-board{background:#16242c;border-color:#2c414d}html[data-theme=dark] .draw-seat{color:#e2f8ed;background:#1b2a33;border-color:#314a58 #314a58 #233742}html[data-theme=dark] .draw-seat-name{color:#e2f8ed}html[data-theme=dark] .draw-seat-number{color:#8ba59f}html[data-theme=dark] .draw-seat.is-highlight{background:#382d17!important;border-color:#fcc419 #fcc419 #e67700!important}html[data-theme=dark] .draw-seat.is-highlight .draw-seat-name{color:#fff3bf!important}html[data-theme=dark] .draw-seat.is-winner{background:#133924!important;border-color:#51cf66 #51cf66 #2b8a3e!important}html[data-theme=dark] .draw-seat.is-winner .draw-seat-name{color:#d3f9d8!important}html[data-theme=dark] .draw-seat.is-excluded{opacity:.45;background:#1a2329;border-color:#293842}html[data-theme=dark] .draw-seat.is-empty{opacity:.4;background:#162026;border-color:#24333c}html[data-theme=dark] .seat-drawn-badge{color:#85d6a8;background:#1a2e26}html[data-theme=dark] .seat-excluded-badge{color:#ffab99;background:#392420}html[data-theme=dark] .projection-seating-grid{background:#13222ac0;border-color:#273d4a}html[data-theme=dark] .gacha-plate{color:#f3e6cf;background:#263b42;border-color:#587078;box-shadow:0 3px #14212780}html[data-theme=dark] .gacha-plate :is(span,small){color:#f3e6cf}html[data-theme=dark] .gacha-result-panel .pill{color:#d4efe1;background:#30463f;border-color:#597d6b}html[data-theme=dark] .gacha-knob b{color:#57391e}html[data-theme=dark] .gacha-message.warning{color:#ffc28e}html[data-theme=dark] .gacha-editor :is(label,legend){color:#d3dfdb}html[data-theme=dark] .gacha-total.is-valid{color:#72d5b9;background:#17382a}html[data-theme=dark] .gacha-total.is-invalid{color:#ff9eaa;background:#3d2320;border-color:#6e3933}html[data-theme=dark] .gacha-editor-warning{color:#ffd8a8;background:#3a2818;border-color:#6d421d #6d421d #6d421d #f76707}html[data-theme=dark] .gacha-editor-warning strong{color:#ffa94d}html[data-theme=dark] .gacha-student-box{background:#16232b;border-color:#31434f;box-shadow:0 2px 6px #00000025}html[data-theme=dark] .gacha-student-label{color:#f1c6aa}html[data-theme=dark] .gacha-student-select{color:#e2ece9;background:#101920;border-color:#374a56}html[data-theme=dark] .gacha-student-select:focus{border-color:#e78969;box-shadow:0 0 0 2px #e7896930}html[data-theme=dark] .gacha-student-select option{color:#e2ece9;background:#101920}html[data-theme=dark] .gacha-student-box .text-button{color:#9eb5af}html[data-theme=dark] .gacha-student-box .text-button:hover{color:#e2ece9}html[data-theme=dark] .gacha-result-student{color:#ffab99;background:#3e2420;border-color:#6d3931}html[data-theme=dark] .gacha-history-card{background:#18252f;border-color:#2d3e4b}html[data-theme=dark] .gacha-history-card:hover{border-color:#415565;box-shadow:0 3px 8px #00000040}html[data-theme=dark] .gacha-history-prize{color:#f1f5f9}html[data-theme=dark] .gacha-history-student.assigned{color:#7ee2b0;background:#143222;border-color:#1e593d}html[data-theme=dark] .gacha-history-student.unassigned{color:#9ab0aa;background:#25333d}html[data-theme=dark] .gacha-history-del{color:#7b928b}html[data-theme=dark] .gacha-history-del:hover:not(:disabled){color:#ff7878;background:#3d2320}html[data-theme=dark] .gacha-history-time{color:#8da49c}html[data-theme=dark] .badge-redeemed{color:#6ee7b7;background:#133924;border-color:#215e3c}html[data-theme=dark] .badge-pending{color:#9ab0aa;background:#273640;border-color:#3b4d5a}html[data-theme=dark] .gacha-redeemed-time{color:#6ee7b7}html[data-theme=dark] .gacha-history-sidebar .gacha-history-header{border-bottom-color:#2d3e4b}html[data-theme=dark] .gacha-history-sidebar .gacha-history-list::-webkit-scrollbar-thumb{background:#374a56}html[data-theme=dark] .gacha-history-empty{color:#8da49c}html[data-theme=dark] .menu-order-item:hover{border-color:#3d6a52}html[data-theme=dark] .menu-order-item.is-drag-over{border-color:var(--green);background:#1c382b}html[data-theme=dark] .menu-order-item.is-dragging{border-color:var(--green);background:#162a22}html[data-theme=dark] .menu-order-index{color:#8b9ea9;background:#1b2830}html[data-theme=dark] .menu-order-message.success{color:#72cb9a}html[data-theme=dark] .auth-text-link{color:var(--green-dark)}html[data-theme=dark] .otp-send-button{color:var(--green-dark);background:#1c382b;border-color:#3d6a52}html[data-theme=dark] .otp-send-button:hover:not(:disabled){border-color:var(--green);background:#244b39}html[data-theme=dark] .otp-status-msg{color:#72d5b9;background:#17382a;border-color:#2b614b}html[data-theme=dark] .forgot-success-box p{color:#a2b5b0}html[data-theme=dark] .reset-password-shell{background:#141c24}html[data-theme=dark] .reset-password-card{border-color:var(--line);color:var(--ink);background:#1e2a33}html[data-theme=dark] .reset-password-desc{color:var(--muted)}.wt-hero-panel{transition:background .2s,border-color .2s}.wt-badge-blue{color:#0369a1;background:#e0f2fe}.wt-badge-green{color:#047857;background:#ecfdf5}.wt-badge-amber{color:#92400e;background:#fef3c7}.wt-features-accordion{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-top:18px;transition:all .2s;overflow:hidden}.wt-features-accordion[open]{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 14px #0000000a}.wt-features-summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:#334155;justify-content:space-between;align-items:center;padding:11px 16px;font-size:13px;list-style:none;transition:background .15s;display:flex}.wt-features-summary::-webkit-details-marker{display:none}.wt-features-summary:hover{background:#f1f5f9}.wt-features-summary-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wt-features-icon{color:#3b82f6;flex-shrink:0}.wt-features-summary-hint{color:#64748b;font-size:12px}.wt-features-summary-arrow{color:#94a3b8;align-items:center;transition:transform .2s;display:flex}.wt-features-accordion[open] .wt-features-summary-arrow{transform:rotate(180deg)}.wt-features-grid{border-top:1px solid #e2e8f0;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;padding:14px 16px 16px;display:grid}.wt-feature-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px;transition:all .15s}.wt-feature-title{align-items:center;gap:8px;margin-bottom:6px;font-weight:700;display:flex}.wt-feature-title.wt-blue{color:#2563eb}.wt-feature-title.wt-green{color:#059669}.wt-feature-title.wt-amber{color:#d97706}.wt-feature-desc{color:#64748b;margin:0;font-size:13px;line-height:1.5}.wt-group-banner{color:#92400e;background:#fffbeb;border:1px solid #fef3c7;border-radius:10px;align-items:center;gap:10px;margin-top:16px;padding:12px 16px;font-size:13px;display:flex}.wt-group-banner-hint{color:#b45309;margin-left:8px;font-size:12px}.wt-preset-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;transition:all .15s}.wt-preset-card:hover{border-color:#cbd5e1}.wt-preset-card.is-selected{background:#f5f7ff;border:2px solid #394ce0}.wt-preset-title{color:#1e293b;font-size:15px}.wt-preset-card.is-selected .wt-preset-title{color:#394ce0}.wt-preset-meta{color:#64748b;margin-bottom:8px;font-size:12px}.wt-preset-tag{color:#475569;background:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:12px}.wt-preset-card.is-selected .wt-preset-tag{color:#3730a3;background:#e0e7ff}.wt-preset-more{color:#94a3b8;align-self:center;font-size:12px}.wt-custom-hint,.wt-roster-desc,.wt-footer-hint{color:#64748b}.wt-roster-container{background:#fafbfd;border:1px solid #e2e8f0;border-radius:12px;max-height:320px;padding:10px;overflow-y:auto}.wt-seat-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:13px;transition:all .15s;display:flex}.wt-seat-num{color:#394ce0;min-width:20px;font-size:12px;font-weight:800}.wt-seat-name{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.wt-roster-empty{color:#94a3b8}.wt-guest-banner{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-bottom:14px;padding:20px 16px}.wt-guest-banner-title{color:#166534;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:700;display:flex}.wt-guest-banner-desc{color:#15803d;margin:0;font-size:13px;line-height:1.6}html[data-theme=dark] .word-together-studio-wrap .wt-badge-blue{color:#93c5fa;background:#17324d}html[data-theme=dark] .word-together-studio-wrap .wt-badge-green{color:#6ee7b7;background:#123d2b}html[data-theme=dark] .word-together-studio-wrap .wt-badge-amber{color:#fde047;background:#3b2b10}html[data-theme=dark] .word-together-studio-wrap .wt-features-accordion{background:#17242d;border-color:#2b3b47}html[data-theme=dark] .word-together-studio-wrap .wt-features-accordion[open]{background:#1a2731;border-color:#374b59;box-shadow:0 4px 14px #00000040}html[data-theme=dark] .word-together-studio-wrap .wt-features-summary{color:#e2ece9}html[data-theme=dark] .word-together-studio-wrap .wt-features-summary:hover{background:#1f303b}html[data-theme=dark] .word-together-studio-wrap .wt-features-icon{color:#60a5fa}html[data-theme=dark] .word-together-studio-wrap .wt-features-summary-hint{color:#8da49c}html[data-theme=dark] .word-together-studio-wrap .wt-features-summary-arrow{color:#7b928b}html[data-theme=dark] .word-together-studio-wrap .wt-features-grid{border-top-color:#2b3b47}html[data-theme=dark] .word-together-studio-wrap .wt-feature-card{background:#1f2b34;border-color:#324350}html[data-theme=dark] .word-together-studio-wrap .wt-feature-title.wt-blue{color:#60a5fa}html[data-theme=dark] .word-together-studio-wrap .wt-feature-title.wt-green{color:#34d399}html[data-theme=dark] .word-together-studio-wrap .wt-feature-title.wt-amber{color:#fbbf24}html[data-theme=dark] .word-together-studio-wrap .wt-feature-desc{color:#a8bcbf}html[data-theme=dark] .word-together-studio-wrap .wt-group-banner{color:#fef08a;background:#2e2410;border-color:#553e1a}html[data-theme=dark] .word-together-studio-wrap .wt-group-banner-hint{color:#fde047}html[data-theme=dark] .word-together-studio-wrap .wt-preset-card{background:#17242d;border-color:#30414e}html[data-theme=dark] .word-together-studio-wrap .wt-preset-card:hover{border-color:#4b6375}html[data-theme=dark] .word-together-studio-wrap .wt-preset-card.is-selected{background:#183552;border-color:#60a5fa;box-shadow:0 0 0 1px #60a5fa}html[data-theme=dark] .word-together-studio-wrap .wt-preset-title{color:#e2ece9}html[data-theme=dark] .word-together-studio-wrap .wt-preset-card.is-selected .wt-preset-title{color:#93c5fd}html[data-theme=dark] .word-together-studio-wrap .wt-preset-meta{color:#8fa59e}html[data-theme=dark] .word-together-studio-wrap .wt-preset-tag{color:#cbd8d3;background:#23343e}html[data-theme=dark] .word-together-studio-wrap .wt-preset-card.is-selected .wt-preset-tag{color:#bfdbfe;background:#214872}html[data-theme=dark] .word-together-studio-wrap .wt-preset-more{color:#7b928b}html[data-theme=dark] .word-together-studio-wrap .wt-custom-hint,html[data-theme=dark] .word-together-studio-wrap .wt-roster-desc,html[data-theme=dark] .word-together-studio-wrap .wt-footer-hint{color:#9db1ab}html[data-theme=dark] .word-together-studio-wrap .wt-roster-container{background:#131c23;border-color:#2b3b47}html[data-theme=dark] .word-together-studio-wrap .wt-seat-item{background:#1e2b35;border-color:#314451}html[data-theme=dark] .word-together-studio-wrap .wt-seat-num{color:#60a5fa}html[data-theme=dark] .word-together-studio-wrap .wt-seat-name{color:#f1f5f9}html[data-theme=dark] .word-together-studio-wrap .wt-roster-empty{color:#7b928b}html[data-theme=dark] .word-together-studio-wrap .wt-guest-banner{background:#113123;border-color:#1e593d}html[data-theme=dark] .word-together-studio-wrap .wt-guest-banner-title{color:#6ee7b7}html[data-theme=dark] .word-together-studio-wrap .wt-guest-banner-desc{color:#a7f3d0}html[data-theme=dark] .group-card-size-ctrl{background:#192730;border-color:#2e3e4a}html[data-theme=dark] .group-card-size-label{color:#d4e3dc}html[data-theme=dark] .group-activity-card .group-card-heading h3{color:#f1f5f9}html[data-theme=dark] .group-template-toolbar button.is-default-active{color:#6ee7b7;background:#143226;border-color:#2b7050}html[data-theme=dark] .projection-launch .projection-tooltip{color:#e2e8f0;background:#0f172a;border:1px solid #334155;box-shadow:0 4px 16px #00000073}html[data-theme=dark] .projection-launch .projection-error{color:#fca5a5;background:#451a1a;border-color:#7f1d1d}.homework-container{--hw-bg:#fff;--hw-card-bg:#fff;--hw-card-border:var(--line,#e2e8f0);--hw-card-shadow:0 1px 3px #0000000d;--hw-text-title:var(--ink,#1e293b);--hw-text-body:var(--ink,#243b3a);--hw-text-muted:#556865;--hw-text-muted-dark:#37474f;--hw-toolbar-bg:#fff;--hw-input-bg:#fff;--hw-input-border:var(--line,#cbd5e1);--hw-btn-inactive-bg:#f8fafc;--hw-btn-inactive-text:#334155;--hw-btn-inactive-border:#cbd5e1;--hw-table-header-bg:#f1f5f9;--hw-table-row-hover:#f8fafc;--hw-modal-bg:#fff}html[data-theme=dark] .homework-container{--hw-bg:#141c24;--hw-card-bg:#1e2a33;--hw-card-border:var(--line,#374852);--hw-card-shadow:0 1px 3px #00000040;--hw-text-title:#e2ece9;--hw-text-body:#e2ece9;--hw-text-muted:#a2b5b0;--hw-text-muted-dark:#cbd5e1;--hw-toolbar-bg:#1e2a33;--hw-input-bg:#14212a;--hw-input-border:#374852;--hw-btn-inactive-bg:#17242d;--hw-btn-inactive-text:#cbd5e1;--hw-btn-inactive-border:#334155;--hw-table-header-bg:#263740;--hw-table-row-hover:#293b43;--hw-modal-bg:#1e2a33}html[data-theme=dark] .student-card.points-card{background:#1b2631;border-color:#2e3e4e;box-shadow:0 4px 14px #00000040}html[data-theme=dark] .student-card.points-card:hover{border-color:#818cf866}html[data-theme=dark] .points-score-number{color:#818cf8}html[data-theme=dark] .points-toggle-switch.off{background:#475569}html[data-theme=dark] .points-more-menu-btn{color:#94a3b8}html[data-theme=dark] .points-more-menu-btn:hover{color:#f1f5f9;background:#ffffff1a}
.funds-container{flex-direction:column;gap:1.25rem;width:100%;animation:.25s ease-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.funds-piggy-hero{background:linear-gradient(135deg,#fff5f7 0%,#fffbf0 50%,#f0fdf4 100%);border:2px solid #fed7e2;border-radius:20px;flex-wrap:wrap;align-items:stretch;gap:1rem;padding:1.25rem 1.5rem;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 15px #ff85a214}html[data-theme=dark] .funds-piggy-hero{background:linear-gradient(135deg,#231822 0%,#1e2226 50%,#162420 100%);border-color:#4a2839;box-shadow:0 4px 20px #00000059}.funds-piggy-main{flex:300px;align-items:center;gap:1.25rem;display:flex}.funds-piggy-icon-box{color:#fff;background:linear-gradient(135deg,#ff85a2 0%,#ff5277 100%);border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:68px;height:68px;transition:transform .2s cubic-bezier(.34,1.56,.64,1);display:flex;box-shadow:0 8px 16px #ff52774d}.funds-piggy-icon-box:hover{transform:scale(1.08)rotate(-4deg)}.funds-piggy-icon{width:36px;height:36px}.funds-piggy-details{flex-direction:column;display:flex}.funds-piggy-label{color:#db2777;letter-spacing:.02em;font-size:.88rem;font-weight:700}html[data-theme=dark] .funds-piggy-label{color:#f472b6}.funds-piggy-balance{color:#831843;align-items:baseline;gap:.2rem;font-family:inherit;font-size:2.25rem;font-weight:800;line-height:1.15;display:flex}html[data-theme=dark] .funds-piggy-balance{color:#fce7f3}.funds-currency{color:#db2777;font-size:1.35rem;font-weight:700}html[data-theme=dark] .funds-currency{color:#f472b6}.funds-piggy-sub{color:#9d174d;margin-top:.15rem;font-size:.8rem;font-weight:500}html[data-theme=dark] .funds-piggy-sub{color:#f9a8d4}.funds-piggy-stats-row{flex:260px;align-items:center;gap:.75rem;display:flex}.funds-stat-pill{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd9;border:1px solid #e2e8f0cc;border-radius:14px;flex:1;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex;box-shadow:0 2px 8px #0000000a}html[data-theme=dark] .funds-stat-pill{background:#1e293bbf;border-color:#47556999}.funds-stat-icon-wrapper{background:#f8fafc;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}html[data-theme=dark] .funds-stat-icon-wrapper{background:#0f172a}.funds-stat-title{color:#64748b;font-size:.75rem;font-weight:600}html[data-theme=dark] .funds-stat-title{color:#94a3b8}.funds-stat-value{font-size:1.15rem;font-weight:700}.funds-hero-actions{flex-wrap:wrap;align-self:center;align-items:center;gap:.5rem;display:flex}.btn-cute-income{align-items:center;gap:.4rem;transition:all .2s;display:inline-flex;box-shadow:0 4px 10px #10b98140;color:#fff!important;background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important;border:none!important;border-radius:12px!important;padding:.6rem 1rem!important;font-size:.88rem!important;font-weight:600!important}.btn-cute-income:hover{transform:translateY(-2px);box-shadow:0 6px 14px #10b98159}.btn-cute-expense{align-items:center;gap:.4rem;transition:all .2s;display:inline-flex;box-shadow:0 4px 10px #f43f5e40;color:#fff!important;background:linear-gradient(135deg,#f43f5e 0%,#e11d48 100%)!important;border:none!important;border-radius:12px!important;padding:.6rem 1rem!important;font-size:.88rem!important;font-weight:600!important}.btn-cute-expense:hover{transform:translateY(-2px);box-shadow:0 6px 14px #f43f5e59}.btn-cute-band{align-items:center;gap:.4rem;transition:all .2s;display:inline-flex;box-shadow:0 4px 10px #03c75a40;color:#fff!important;background:linear-gradient(135deg,#03c75a 0%,#094 100%)!important;border:none!important;border-radius:12px!important;padding:.6rem 1rem!important;font-size:.88rem!important;font-weight:600!important}.btn-cute-band:hover{transform:translateY(-2px);box-shadow:0 6px 14px #03c75a59}.btn-cute-export{align-items:center;gap:.4rem;transition:all .2s;display:inline-flex;color:#475569!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:.6rem .9rem!important;font-size:.88rem!important;font-weight:600!important}html[data-theme=dark] .btn-cute-export{color:#cbd5e1!important;background:#1e293b!important;border-color:#475569!important}.btn-cute-export:hover{transform:translateY(-1px);background:#f8fafc!important}.funds-tabs-bar{border-bottom:2px solid #e2e8f0;gap:.5rem;padding-bottom:.25rem;display:flex}html[data-theme=dark] .funds-tabs-bar{border-bottom-color:#334155}.funds-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:10px 10px 0 0;outline:none;align-items:center;gap:.5rem;padding:.65rem 1.25rem;font-size:.95rem;font-weight:600;transition:all .2s;display:inline-flex;position:relative}html[data-theme=dark] .funds-tab-btn{color:#94a3b8}.funds-tab-btn:hover{color:#0f172a;background:#00000008}html[data-theme=dark] .funds-tab-btn:hover{color:#f1f5f9;background:#ffffff0a}.funds-tab-btn.active{color:#db2777;font-weight:700}html[data-theme=dark] .funds-tab-btn.active{color:#f472b6}.funds-tab-btn.active:after{content:"";background:#db2777;border-radius:3px;height:3px;position:absolute;bottom:-4px;left:0;right:0}html[data-theme=dark] .funds-tab-btn.active:after{background:#f472b6}.funds-selector-bar{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.15rem;display:flex;box-shadow:0 1px 4px #0000000a}html[data-theme=dark] .funds-selector-bar{background:#1e293b;border-color:#334155}.funds-item-picker{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.funds-label{color:#475569;font-size:.85rem;font-weight:600}html[data-theme=dark] .funds-label{color:#94a3b8}.funds-select{background-color:var(--card-bg,#fff);color:inherit;border:1.5px solid #cbd5e1;border-radius:8px;outline:none;padding:.45rem .85rem;font-size:.9rem;font-weight:600;transition:border-color .15s}html[data-theme=dark] .funds-select{color:#f8fafc;background-color:#0f172a;border-color:#475569}.funds-select:focus{border-color:#db2777}.funds-item-actions-fast{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.btn-pill-action{cursor:pointer;border:1px solid #0000;border-radius:8px;align-items:center;gap:.35rem;padding:.38rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-pill-green{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.btn-pill-green:hover{background:#d1fae5}html[data-theme=dark] .btn-pill-green{color:#6ee7b7;background:#064e3b;border-color:#047857}.btn-pill-amber{color:#d97706;background:#fffbeb;border-color:#fde68a}.btn-pill-amber:hover{background:#fef3c7}html[data-theme=dark] .btn-pill-amber{color:#fcd34d;background:#78350f;border-color:#b45309}.btn-pill-gray{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.btn-pill-gray:hover{background:#e2e8f0}html[data-theme=dark] .btn-pill-gray{color:#94a3b8;background:#1e293b;border-color:#334155}.btn-pill-danger{color:#e11d48;background:#fff1f2;border-color:#fecdd3}.btn-pill-danger:hover{background:#ffe4e6}html[data-theme=dark] .btn-pill-danger{color:#fda4af;background:#4c0519;border-color:#881337}.funds-progress-ribbon{background:linear-gradient(90deg,#fdf2f8 0%,#f0fdf4 100%);border:1.5px dashed #fbcfe8;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.25rem;display:flex}html[data-theme=dark] .funds-progress-ribbon{background:linear-gradient(90deg,#2b1725 0%,#122820 100%);border-color:#4a2839}.funds-ribbon-left{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.funds-ribbon-stat{font-size:1.05rem}.funds-ribbon-num{font-size:1.25rem}.funds-ribbon-denom{color:#64748b;margin-left:.25rem;font-size:.88rem}html[data-theme=dark] .funds-ribbon-denom{color:#94a3b8}.funds-unpaid-badge{color:#ef4444;background:#fef2f2;border:1px solid #fecaca;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:700}html[data-theme=dark] .funds-unpaid-badge{color:#f87171;background:#450a0a;border-color:#7f1d1d}.funds-partial-badge{color:#3b82f6;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:700}.funds-exempt-badge{color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:700}.funds-ribbon-right{align-items:center;gap:.75rem;display:flex}.funds-ribbon-money{color:#475569;font-size:.88rem}html[data-theme=dark] .funds-ribbon-money{color:#cbd5e1}.funds-progress-bar-wrap{background:#e2e8f0;border-radius:999px;width:140px;height:10px;overflow:hidden}html[data-theme=dark] .funds-progress-bar-wrap{background:#334155}.funds-progress-bar-fill{background:linear-gradient(90deg,#10b981 0%,#34d399 100%);border-radius:999px;height:100%;transition:width .3s}.funds-percent-text{color:#059669;min-width:38px;font-size:.85rem;font-weight:800}.funds-filter-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.funds-search-box{background:var(--card-bg,#fff);border:1.5px solid #cbd5e1;border-radius:10px;align-items:center;gap:.4rem;min-width:220px;padding:.35rem .65rem;display:flex}html[data-theme=dark] .funds-search-box{background:#1e293b;border-color:#475569}.funds-search-input{color:inherit;background:0 0;border:none;outline:none;width:100%;font-size:.85rem}.funds-clear-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;align-items:center;display:flex}.funds-status-filters{flex-wrap:wrap;gap:.4rem;display:flex}.funds-filter-btn{background:var(--card-bg,#fff);color:#475569;cursor:pointer;border:1px solid #cbd5e1;border-radius:8px;padding:.35rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s}html[data-theme=dark] .funds-filter-btn{color:#cbd5e1;background:#1e293b;border-color:#475569}.funds-filter-btn.active{color:#fff;background:#db2777;border-color:#db2777}.funds-student-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:.75rem;display:grid}.funds-student-card{background:var(--card-bg,#fff);border:2px solid #e2e8f0;border-radius:16px;flex-direction:column;transition:all .2s cubic-bezier(.34,1.56,.64,1);display:flex;position:relative;overflow:hidden;box-shadow:0 2px 6px #00000008}html[data-theme=dark] .funds-student-card{background:#1e293b;border-color:#334155}.funds-student-card:hover{transform:translateY(-3px);box-shadow:0 6px 14px #00000014}.funds-student-card.card-paid{background:linear-gradient(#f0fdf4 0%,#fff 70%);border-color:#86efac}html[data-theme=dark] .funds-student-card.card-paid{background:linear-gradient(#064e3b 0%,#1e293b 70%);border-color:#059669}.funds-student-card.card-unpaid{background:linear-gradient(#fef2f2 0%,#fff 70%);border-color:#fca5a5}html[data-theme=dark] .funds-student-card.card-unpaid{background:linear-gradient(#450a0a 0%,#1e293b 70%);border-color:#dc2626}.funds-card-click-area{cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;padding:.85rem .65rem .65rem;display:flex}.funds-seat-badge{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;margin-bottom:.4rem;font-size:.88rem;font-weight:800;display:flex}html[data-theme=dark] .funds-seat-badge{color:#cbd5e1;background:#0f172a;border-color:#475569}.card-paid .funds-seat-badge{color:#fff;background:#10b981;border-color:#059669}.funds-student-name{text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-bottom:.35rem;font-size:.95rem;font-weight:700;overflow:hidden}.funds-status-pill{border:1px solid #0000;border-radius:999px;align-items:center;margin-bottom:.35rem;padding:.2rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.funds-student-amt{color:#334155;font-size:.88rem;font-weight:800}html[data-theme=dark] .funds-student-amt{color:#e2e8f0}.card-paid .funds-student-amt{color:#059669}html[data-theme=dark] .card-paid .funds-student-amt{color:#34d399}.card-unpaid .funds-student-amt{color:#dc2626}html[data-theme=dark] .card-unpaid .funds-student-amt{color:#f87171}.funds-card-footer{background:#00000004;border-top:1px dashed #e2e8f0;justify-content:space-between;align-items:center;gap:.25rem;padding:.35rem .5rem;font-size:.72rem;display:flex}html[data-theme=dark] .funds-card-footer{background:#0003;border-top-color:#334155}.funds-note-tag{color:#64748b;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;max-width:85px;overflow:hidden}.funds-add-note-btn{color:#94a3b8;cursor:pointer;white-space:nowrap}.funds-add-note-btn:hover{color:#db2777}.funds-edit-sm-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex}.funds-edit-sm-btn:hover{color:#db2777;background:#db27771a}.funds-expense-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.funds-category-filter{align-items:center;gap:.4rem;display:flex}.funds-expense-table-wrap{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:14px;overflow-x:auto;box-shadow:0 1px 4px #00000008}html[data-theme=dark] .funds-expense-table-wrap{background:#1e293b;border-color:#334155}.funds-table{border-collapse:collapse;text-align:left;width:100%;font-size:.88rem}.funds-table th{color:#475569;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:.75rem 1rem;font-weight:700}html[data-theme=dark] .funds-table th{color:#cbd5e1;background:#0f172a;border-bottom-color:#334155}.funds-table td{color:inherit;border-bottom:1px solid #f1f5f9;padding:.75rem 1rem}html[data-theme=dark] .funds-table td{border-bottom-color:#334155}.funds-table tr:hover td{background:#00000004}html[data-theme=dark] .funds-table tr:hover td{background:#ffffff05}.funds-category-tag{color:#475569;background:#f1f5f9;border-radius:6px;padding:.2rem .55rem;font-size:.78rem;font-weight:600}html[data-theme=dark] .funds-category-tag{color:#cbd5e1;background:#334155}.funds-type-pill{border-radius:999px;padding:.25rem .6rem;font-size:.78rem;font-weight:700;display:inline-block}.pill-income{color:#059669;background:#ecfdf5}html[data-theme=dark] .pill-income{color:#6ee7b7;background:#064e3b}.pill-expense{color:#e11d48;background:#fff1f2}html[data-theme=dark] .pill-expense{color:#fda4af;background:#4c0519}.funds-row-actions{justify-content:center;align-items:center;gap:.35rem;display:flex}.btn-icon-subtle{cursor:pointer;color:#64748b;background:0 0;border:none;border-radius:6px;padding:4px;transition:all .15s}.btn-icon-subtle:hover{color:#0f172a;background:#f1f5f9}html[data-theme=dark] .btn-icon-subtle:hover{color:#fff;background:#334155}.btn-icon-delete:hover{color:#e11d48!important;background:#ffe4e6!important}html[data-theme=dark] .btn-icon-delete:hover{color:#fda4af!important;background:#4c0519!important}.funds-empty-box{background:var(--card-bg,#fff);text-align:center;border:2px dashed #cbd5e1;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;padding:3.5rem 1rem;display:flex}html[data-theme=dark] .funds-empty-box{background:#1e293b;border-color:#475569}.funds-empty-icon{margin-bottom:.75rem;font-size:3rem}.funds-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#00000073;justify-content:center;align-items:center;padding:1rem;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}.funds-modal-card{background:var(--card-bg,#fff);border-radius:20px;width:100%;max-width:520px;max-height:90vh;padding:1.5rem;animation:.2s cubic-bezier(.34,1.56,.64,1) popIn;overflow-y:auto;box-shadow:0 20px 40px #0003}html[data-theme=dark] .funds-modal-card{color:#f8fafc;background:#1e293b}@keyframes popIn{0%{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}.funds-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-bottom:1.15rem;padding-bottom:.85rem;display:flex}html[data-theme=dark] .funds-modal-header{border-bottom-color:#334155}.funds-modal-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:8px;padding:4px}.funds-modal-close:hover{color:#0f172a;background:#f1f5f9}html[data-theme=dark] .funds-modal-close:hover{color:#f8fafc;background:#334155}.funds-modal-form{flex-direction:column;gap:1rem;display:flex}.form-row-2{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.form-group{flex-direction:column;gap:.35rem;display:flex}.funds-form-label{color:#475569;font-size:.85rem;font-weight:600}html[data-theme=dark] .funds-form-label{color:#cbd5e1}.funds-input,.funds-textarea{width:100%;color:inherit;background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;outline:none;padding:.55rem .85rem;font-size:.9rem;transition:border-color .15s}html[data-theme=dark] .funds-input,html[data-theme=dark] .funds-textarea{background:#0f172a;border-color:#475569}.funds-input:focus,.funds-textarea:focus{border-color:#db2777}.funds-modal-actions{justify-content:flex-end;align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.funds-status-options-grid{grid-template-columns:repeat(2,1fr);gap:.5rem;display:grid}.funds-status-option-btn{cursor:pointer;border:2px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;padding:.6rem;font-size:.88rem;font-weight:700;transition:all .15s;display:flex}.funds-band-modal{max-width:620px}.funds-band-badge{color:#fff;background:#03c75a;border-radius:6px;padding:.2rem .5rem;font-size:.75rem;font-weight:800}.funds-band-preview-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;max-height:380px;padding:1rem;overflow-y:auto}html[data-theme=dark] .funds-band-preview-box{background:#0f172a;border-color:#334155}.funds-band-pre{white-space:pre-wrap;word-break:break-word;color:inherit;margin:0;font-family:inherit;font-size:.88rem;line-height:1.6}.btn-copy-band{background:#03c75a!important;border-color:#03c75a!important}
