.activity-card{isolation:isolate;min-height:270px;position:relative;overflow:hidden;border:3px solid #fff!important;border-bottom-width:8px!important;box-shadow:0 9px #c8b4ce,0 18px 26px #66537725!important}.activity-card:before{content:"";z-index:-1;background:linear-gradient(135deg,#ffffffb0,#0000 48%,#ffffff40);position:absolute;inset:0}.activity-card:hover{transform:translateY(-6px)rotate(-.6deg)}.activity-card:active{transform:translateY(3px);box-shadow:0 3px #c8b4ce!important}.activity-illustration{filter:drop-shadow(0 6px 3px #79618b18);align-self:center;width:180px;max-width:85%;height:130px;margin-bottom:8px;display:block}.activity-card h3{font-weight:500}.activity-card small{background:#ffffff90;border-radius:99px;padding:8px 13px}.name-draw-overlay{z-index:1000;overscroll-behavior:contain;color:#4a4162;background:radial-gradient(at 20% 10%,#fff8da,#0000 40%),radial-gradient(at 90% 60%,#fbddeb,#0000 50%),#e8e5fb;padding:20px;font-family:inherit;position:fixed;inset:0;overflow-y:auto}.draw-toolbar{justify-content:space-between;gap:12px;max-width:1250px;margin:auto;display:flex}.draw-toolbar button{border-radius:99px;box-shadow:0 4px #d3c3df;color:#685780!important;background:#ffffffd9!important;border:2px solid #fff!important;padding:12px 18px!important}.draw-content{text-align:center;max-width:1250px;margin:22px auto}.draw-kicker{color:#9476a2}.draw-content h2{margin:8px 0 20px;font-size:clamp(30px,4vw,56px);font-weight:500}.draw-class{justify-content:center;align-items:center;gap:12px;display:flex}.draw-class select{color:#514467;border-radius:18px;max-width:360px;padding:12px;background:#fff!important;border:2px solid #d6c4e3!important}.draw-roster{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:14px;max-width:1150px;margin:24px auto;display:grid}.draw-person{transform:rotate(var(--tilt));background:#ffffffc9;border:3px solid #fff;border-radius:26px;min-width:0;padding:10px;transition:background .1s,box-shadow .1s;position:relative;box-shadow:0 5px #d9cce5}.draw-person svg{width:82px;height:90px;margin:auto;display:block}.draw-person span{overflow-wrap:anywhere;color:#574769;font-size:13px;line-height:1.5;display:block}.is-drawing .draw-person{animation:1.1s ease-in-out infinite draw-bob;animation-delay:var(--delay)}.draw-person.in-spotlight{z-index:2;background:#fff4b7;border-color:#f3c660;box-shadow:0 0 0 5px #fff9d4,0 8px 20px #c5a16350}.draw-suspense{margin:20px;font-size:25px}.draw-start{border-radius:24px;margin:22px auto 16px;font-weight:500;display:block;box-shadow:0 7px #b86d9b,0 14px 24px #967ba830;color:#fff!important;background:linear-gradient(#eaa1c8,#d786b7)!important;border:3px solid #fff!important;padding:18px 38px!important;font-size:25px!important}.draw-start:disabled{opacity:.65}.draw-content>small{color:#756484;font-size:13px;display:block}.draw-winner{background:linear-gradient(135deg,#fff,#fff7dc,#fff0f7);border:4px solid #fff;border-radius:38px;max-width:750px;margin:26px auto;padding:24px;animation:.5s ease-out draw-reveal;position:relative;box-shadow:0 12px #d9c5e1,0 24px 50px #89739430}.draw-winner>svg{filter:drop-shadow(0 6px #e8dce9);width:200px;height:220px}.draw-winner h3{overflow-wrap:anywhere;margin:10px 0;font-size:clamp(28px,4vw,48px);font-weight:500;line-height:1.5}.draw-winner p{font-size:22px}.draw-confetti{letter-spacing:20px;font-size:32px}.draw-winner>span{color:#9b739d;font-size:20px}@keyframes draw-bob{0%,to{transform:translateY(0) rotate(var(--tilt))}50%{transform:translateY(-9px) rotate(calc(var(--tilt) * -1))}}@keyframes draw-reveal{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media (width<=600px){.name-draw-overlay{padding:14px}.draw-toolbar button{padding:10px 12px!important;font-size:13px!important}.draw-class{flex-direction:column;gap:7px}.draw-class select{width:100%}.draw-roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.draw-person{border-radius:18px;padding:7px 4px}.draw-person svg{width:64px;height:70px}.draw-person span{font-size:11px}.draw-content>p{font-size:13px}.draw-winner>svg{width:165px;height:180px}.draw-start{font-size:21px!important}.activity-illustration{width:190px;height:140px}}@media (prefers-reduced-motion:reduce){.is-drawing .draw-person,.draw-winner{animation:none}.activity-card{transition:none}.activity-card:hover{transform:none}}.draw-winner>svg{margin:0 auto;display:block}.draw-toolbar{z-index:5;padding:4px 0 12px;position:sticky;top:0}.name-draw-overlay:focus-visible{outline:none}.group-count-control{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:18px auto;display:flex}.group-count-control label{align-items:center;gap:10px;display:flex}.group-count-control input{color:#514467;text-align:center;min-height:48px;background:#fff!important;border:2px solid #d6c4e3!important;border-radius:16px!important;width:90px!important}.group-count-control small{color:#776786}.group-reveal-title{margin:26px 0;font-size:clamp(25px,3vw,38px);font-weight:500}.group-reveal-title p{font-size:16px;font-weight:400}.group-draw-results{text-align:left;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px;margin:28px auto;display:grid}.group-team{border:4px solid #fff;border-radius:30px;min-height:240px;padding:24px;box-shadow:0 8px #cdbddb,0 16px 25px #6b4c7b15}.group-team h3{margin:0 0 8px;font-size:26px;font-weight:500}.team-color-0{background:#fff0f5}.team-color-1{background:#fff8d9}.team-color-2{background:#e9f4ff}.team-color-3{background:#e6f8ef}.team-color-4{background:#f0e9ff}.group-team.revealed{animation:.5s ease-out draw-reveal}.group-team.sealed{background:#f8f4fb;border-style:dashed}.group-mystery{text-align:center;padding:24px;font-size:55px}.group-mystery p{font-size:16px}.group-member{overflow-wrap:anywhere;background:#ffffffad;border-radius:18px;align-items:center;gap:10px;margin-top:14px;padding:8px;display:flex}.group-member svg{flex:0 0 48px;width:48px;height:53px}.group-member span{min-width:0;font-size:16px;line-height:1.6}@media (width<=600px){.group-draw-results{grid-template-columns:1fr;gap:18px}.group-team{padding:18px}.group-count-control{gap:10px}.group-count-control small{flex-basis:100%;font-size:12px}}@media (prefers-reduced-motion:reduce){.group-team.revealed{animation:none}}.student-draw-portrait{object-fit:cover;object-position:center;aspect-ratio:3/4;border-radius:18px;width:100%;height:auto;display:block}.draw-person .student-draw-portrait{border:2px solid #fff;width:90px;height:120px;margin:0 auto 8px;box-shadow:0 4px 10px #66537c18}.draw-winner>.student-draw-portrait{border:5px solid #fff;border-radius:28px;width:210px;height:280px;margin:0 auto;box-shadow:0 8px 20px #76628d25}.group-member .student-draw-portrait{border-radius:12px;flex:0 0 54px;width:54px;height:72px}.group-member{gap:12px}@media (width<=600px){.draw-person .student-draw-portrait{border-radius:12px;width:64px;height:85px}.draw-winner>.student-draw-portrait{width:165px;height:220px}.group-member .student-draw-portrait{flex-basis:48px;width:48px;height:64px}}.activity-portrait-art{filter:drop-shadow(0 9px 6px #6c4e7b1c);justify-content:center;align-self:center;align-items:center;width:250px;max-width:100%;height:188px;margin:0 auto 10px;display:flex;position:relative}.portrait-fan{justify-content:center;align-items:center;padding-right:16px;display:flex}.portrait-print{background:#fff;border-radius:18px;width:92px;margin-right:-16px;padding:5px 5px 12px;position:relative;box-shadow:0 4px #e4d6e8}.portrait-print .student-draw-portrait{object-fit:cover;border-radius:13px;width:100%;height:116px}.portrait-art-groups .portrait-print{width:74px}.portrait-art-groups .student-draw-portrait{height:103px}.portrait-art-hand .portrait-print,.portrait-art-timer .portrait-print{width:115px}.portrait-art-hand .student-draw-portrait,.portrait-art-timer .student-draw-portrait{height:145px}.portrait-tool-badge{background:#fff6db;border:4px solid #fff;border-radius:22px;place-items:center;width:62px;height:62px;font-size:34px;display:grid;position:absolute;bottom:0;right:7px;transform:rotate(9deg);box-shadow:0 5px #d8c5dd}.portrait-spark{color:#e7bc61;font-size:30px;position:absolute;top:14px}.spark-left{left:1px}.spark-right{color:#e7a5c2;top:9px;right:3px}@media (width<=550px){.activity-portrait-art{width:275px;height:205px}.portrait-print{width:100px}.portrait-print .student-draw-portrait{height:132px}.portrait-art-groups .portrait-print{width:80px}.portrait-art-groups .student-draw-portrait{height:114px}}.race-content{color:#4c4565;max-width:1150px;margin:auto;padding:20px 24px 70px}.race-content>h2{text-align:center;margin:10px 0 30px;font-size:clamp(32px,5vw,58px)}.race-content label{margin:14px 0;display:block}.race-content input,.race-content textarea,.race-content select{width:100%;margin-top:6px}.race-content button{cursor:pointer}.race-content button:disabled{cursor:default;opacity:.5}.race-content button:focus-visible{outline-offset:3px;outline:4px solid #9576bd}.race-intro,.race-setup,.race-question,.race-results{background:linear-gradient(120deg,#fffdf5,#fff1f7);border:5px solid #fff;border-radius:35px;margin:22px 0;padding:30px;box-shadow:0 12px #bfaed132}.race-intro{text-align:center}.race-intro h3,.race-setup h3{font-size:30px}.race-characters{justify-content:center;gap:12px;display:flex}.race-characters img{border:5px solid #fff;border-radius:22px;width:90px;height:120px;transform:rotate(-7deg);box-shadow:0 7px 12px #6b467326}.race-characters img:nth-child(2){transform:translateY(-10px)rotate(3deg)}.race-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;display:flex}.race-actions h3{margin-right:auto}.race-set-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:24px 0;display:grid}.race-set,.race-editor{background:#fffdfc;border:3px solid #ead9ef;border-radius:25px;padding:24px}.race-set h3{overflow-wrap:anywhere;font-size:26px}.race-set>button{color:#fff;background:#8c70ac;width:100%}.race-empty{text-align:center;padding:28px}.race-editor{margin:22px 0}.race-options-editor{grid-template-columns:1fr 1fr;gap:0 18px;display:grid}.race-track{background:#fffdfb;border:5px solid #fff;border-radius:25px;margin:20px 0;padding:20px;box-shadow:0 8px #b9a8c82b}.race-lane{background:#ffe8ee;border-radius:15px;margin-bottom:12px;padding:10px 14px 0}.race-lane.lane-1{background:#e3f6f0}.race-lane.lane-2{background:#e8edff}.race-lane.lane-3{background:#fff3cf}.race-team-name{align-items:center;gap:10px;font-size:21px;display:flex}.race-team-name b{margin-left:auto}.race-road{border-bottom:3px dashed #b8a5ba;height:100px;margin:0 24px;position:relative}.race-runner{z-index:2;transition:left 1.4s cubic-bezier(.2,.7,.2,1);position:absolute;bottom:0}.race-runner img{border:3px solid #fff;border-radius:17px;width:57px;height:76px;display:block;box-shadow:0 5px 7px #6e54772a}.race-start-label{opacity:.5;position:absolute;bottom:6px;left:0}.race-finish{font-size:38px;position:absolute;bottom:14px;right:-8px}.race-question h3{white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(27px,3vw,40px)}.race-question>span{color:#957a9e}.race-question-image{object-fit:contain;border-radius:20px;max-width:100%;max-height:330px;margin:20px auto;display:block}.race-answer-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.race-answer-grid>div{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:3px solid #ded2e9;border-radius:20px;padding:18px;font-size:23px}.race-answer-grid b{background:#eee4f8;border-radius:50%;place-items:center;width:36px;height:36px;margin-right:8px;display:inline-grid}.race-answer-grid .is-correct{background:#e1faee;border-color:#54b896}.race-explanation{background:#ddf4e9;border-radius:20px;margin-top:20px;padding:20px;font-size:23px}.race-team-answers{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;display:grid}.race-team-answers section{background:#fff;border:2px solid #e9dbef;border-radius:20px;padding:20px}.race-team-answers section>div{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.race-team-answers button{color:#514364;background:#f2eafa;padding:10px 16px}.race-team-answers button[aria-pressed=true]{color:#fff;background:#8464ab;box-shadow:0 0 0 3px #c8afd9}.race-play-actions{justify-content:center;padding:15px}.race-play-actions>button{color:#fff;background:#8464ab;padding:18px 30px;font-size:26px}.race-results{text-align:center}.race-results>h3{font-size:36px}.race-podium{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:20px;display:flex}.race-podium section{background:#edf4ff;border:4px solid #fff;border-radius:25px;min-width:180px;padding:20px}.race-podium .race-champion{background:#fff0bd;order:-1;padding-top:35px;box-shadow:0 0 0 3px #efcb6a}.race-podium img{border-radius:20px;width:90px;height:120px;margin:auto;display:block}.race-confetti{letter-spacing:8px;font-size:35px}.race-results .race-actions{justify-content:center}.race-members{background:#fffc;border-radius:20px;margin:20px 0;padding:20px}.race-content>small{color:#736783;margin-top:24px;display:block}.race-content textarea{min-height:90px}.race-set span{color:#947b9c}@media (width<=600px){.race-content{padding:15px 14px 50px}.race-intro,.race-setup,.race-question,.race-results{border-radius:25px;padding:20px 16px}.race-options-editor,.race-answer-grid{grid-template-columns:1fr}.race-track{padding:10px}.race-road{height:82px;margin:0 15px}.race-runner img{width:45px;height:60px}.race-team-name{font-size:18px}.race-team-name b{font-size:17px}.race-characters img{width:72px;height:96px}.race-editor{padding:17px}.race-question h3{font-size:29px}.race-answer-grid>div{font-size:21px}.race-podium section{min-width:130px;padding:14px}.race-podium img{width:66px;height:88px}}@media (prefers-reduced-motion:reduce){.race-runner{transition:none}}.race-content button{color:#644d7e;background:#fff;border:2px solid #e4d5ed;border-bottom-width:5px;border-radius:18px;padding:11px 19px;font-weight:500;box-shadow:0 3px 9px #73528e12}.race-content button:hover:not(:disabled){filter:brightness(.98);transform:translateY(-1px)}.race-content .race-set>button,.race-content .draw-start,.race-content .race-play-actions>button{color:#fff;background:#8464ab;border-color:#775b98}.race-content .race-team-answers button[aria-pressed=true]{color:#fff;background:#8464ab}.race-track,.race-question{scroll-margin-top:85px}.race-content>h2,.race-results h3{font-weight:600}.race-results .race-champion{animation:.7s ease-out race-celebrate}.race-content .race-confetti{animation:1s ease-out race-celebrate}@keyframes race-celebrate{0%{opacity:.4;transform:translateY(24px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.race-results .race-champion,.race-content .race-confetti{animation:none}}.modern-card-art,.modern-students{display:none}.theme-mini{background:linear-gradient(135deg,#f7f3ff,#fff4f8);border:1px solid #fff;border-radius:16px;grid-template-columns:1fr 1fr;gap:10px;width:100%;height:115px;padding:18px;display:grid;position:relative;overflow:hidden}.theme-mini i{background:#a996e5;border-radius:5px;width:45px;height:5px;position:absolute;top:13px;left:18px}.theme-mini>div{background:#fff;border-radius:12px;height:65px;margin-top:14px;box-shadow:0 5px #cdbce5}.theme-mini img{border:3px solid #fff;border-radius:12px;width:43px;height:57px;position:absolute;bottom:10px;right:23px}.theme-mini-original{background:linear-gradient(#def5fc,#e4f6d7)}.theme-mini-original>div{box-shadow:0 5px #b9dece}.theme-mini-halloween{background:linear-gradient(135deg,#c5b0df,#efc6df)}.theme-mini-halloween:after{content:"👻";font-size:38px;position:absolute;bottom:12px;left:30px}.theme-options button .theme-mini{flex-shrink:0}.theme-options button strong{font-size:21px}.theme-options button small{line-height:1.8}.theme-options button>span{font-size:27px}html[data-theme=modern]{--primary:#7252c8;--foreground:#37334a;--background:#fcfaf8;--muted-foreground:#706a80;--border:#e7dff0;--ring:#8b69d3}html[data-theme=modern] body{color:#39354b;background-color:#fcfaf8;background-image:radial-gradient(at 10% 10%,#f1eafe,#0000 48%),radial-gradient(at 90%,#fcebf4,#0000 50%),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box}html[data-theme=modern] :is(.garden,.workspace){color:#39354b;z-index:1;background:0 0;position:relative}html[data-theme=modern] :is(.garden,.workbody){background-image:radial-gradient(circle at 100% 0,#f0e9fc66,#0000 45%)}html[data-theme=modern] .garden{height:auto;min-height:100svh;padding:25px 6% 30px;display:block;overflow:hidden}html[data-theme=modern] .top{max-width:1160px}html[data-theme=modern] .brand strong{color:#0000;background:linear-gradient(110deg,#6749d8,#b54eeb,#e84097);-webkit-background-clip:text;background-clip:text;font-size:38px}html[data-theme=modern] .brand small{color:#706780;font-size:12px}html[data-theme=modern] .flower{color:#bc85dc;text-shadow:none}html[data-theme=modern] :is(.tag,.welcome){color:#7956a0;background:#ffffffd9;border:1px solid #eee4f6;box-shadow:0 4px 16px #9579b010}html[data-theme=modern] .garden>.hero{width:min(850px,100%);margin:0 auto;padding:30px 0 38px;display:block}html[data-theme=modern] .hero h1{color:#39334f;margin:16px 0 10px;font-size:clamp(34px,4.7vw,54px);line-height:1.35}html[data-theme=modern] .hero h1 span{color:#0000;background:linear-gradient(100deg,#7751d9,#df4b9f);-webkit-background-clip:text;background-clip:text}html[data-theme=modern] .hero p{color:#756b83;font-size:16px;line-height:1.9}html[data-theme=modern] .garden>.cards{gap:30px;width:min(950px,100%)}html[data-theme=modern] .card{background:linear-gradient(130deg,#fff,#f6f2ff);border:2px solid #fff;border-radius:32px;padding:30px;position:relative;overflow:visible;box-shadow:-8px 12px #e3d4f5,0 20px 40px #80619e14}html[data-theme=modern] .card:nth-child(2){background:linear-gradient(130deg,#fff,#fff0f8);box-shadow:-8px 12px #f1d6e8,0 20px 40px #80619e14}html[data-theme=modern] .cardtop{z-index:1;margin-bottom:25px;position:relative}html[data-theme=modern] .label{color:#8963c4;background:#ece5fd;border-radius:30px;padding:8px 13px;font-size:11px}html[data-theme=modern] .pinktext{color:#d94e9c;background:#fbe3f1}html[data-theme=modern] .icon{color:#fff;background:linear-gradient(130deg,#7660e2,#ad54e7);border-radius:50%;width:64px;height:64px;font-size:30px;box-shadow:0 8px 20px #8c5ecc30}html[data-theme=modern] .icon.pink{background:linear-gradient(130deg,#bc5de3,#e650a5)}html[data-theme=modern] .card h2{color:#3b354c;margin:20px 0 10px;font-size:26px}html[data-theme=modern] .card p{color:#746e81;font-size:15px;line-height:1.9}html[data-theme=modern] .card .button{border-radius:999px;margin-top:24px;padding:15px;font-size:15px;box-shadow:0 6px 14px #7652c82c}html[data-theme=modern] .bluebtn{background:linear-gradient(100deg,#7050d7,#8855e0)}html[data-theme=modern] .pinkbtn{background:linear-gradient(100deg,#b254e8,#e94398)}html[data-theme=modern] .modern-card-art{object-fit:cover;pointer-events:none;border:4px solid #fff;border-radius:21px;width:66px;height:88px;display:block;position:absolute;top:90px;right:24px;rotate:7deg;box-shadow:0 8px 20px #8d68aa20}html[data-theme=modern] .card h2,html[data-theme=modern] .card p{padding-right:64px}html[data-theme=modern] .landing-side-art,html[data-theme=modern] .cloud{display:none}html[data-theme=modern] .classroom-art>img{visibility:hidden}html[data-theme=modern] .classroom-art{position:relative}html[data-theme=modern] .modern-students{justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}html[data-theme=modern] .modern-students img{visibility:visible;object-fit:cover;border:4px solid #fff;border-radius:24px;width:30%;height:90%;max-height:150px;animation:7s ease-in-out infinite modern-float;box-shadow:0 8px 17px #9f79b12a}html[data-theme=modern] .modern-students img:nth-child(2){animation-delay:-2.5s;rotate:5deg}html[data-theme=modern] .modern-students img:nth-child(3){animation-delay:-4.5s;rotate:-5deg}html[data-theme=modern] .home-art .classroom-art{width:280px;min-height:135px;margin:auto}html[data-theme=modern] .home-art .modern-students img{width:82px;height:110px;max-height:none}html[data-theme=modern] .worktitle .modern-students img{border-width:3px;border-radius:17px;max-height:90px}html[data-theme=modern] .side .modern-students img{border-radius:15px;max-height:75px}html[data-theme=modern] .worktop{background:#fffdfbe8;border-bottom:1px solid #eadff3;padding:20px 4%;box-shadow:0 3px 18px #80619e08}html[data-theme=modern] :is(.worktop a,.worktop .student-brand){color:#7851bc}html[data-theme=modern] .worktop div{color:#776d86}html[data-theme=modern] .worktop span{color:#7b58a5;background:#f0e8fc}html[data-theme=modern] .side{background:#fffdfbd9;border-color:#eadef1;gap:10px;padding:28px 16px}html[data-theme=modern] .side strong{color:#745493}html[data-theme=modern] .side button{color:#776783;border:1px solid #0000;border-radius:15px}html[data-theme=modern] .side button.selected{color:#7044a7;background:linear-gradient(110deg,#eee3ff,#f8e8f2);border-color:#e3d2f2;font-weight:500;box-shadow:0 4px #e6daf0}html[data-theme=modern] .worktitle h1{color:#6e4a96}html[data-theme=modern] :is(.worktitle p,.worktitle span){color:#84718f}html[data-theme=modern] :is(.panel,.roomtile,.stats>div,.activity-card,.race-set){background:linear-gradient(125deg,#fff,#fcf8ff);border:2px solid #fff;border-radius:26px;box-shadow:0 7px #e9dff1,0 14px 28px #80619e0c}html[data-theme=modern] .panel{margin-bottom:28px}html[data-theme=modern] .panel h2{color:#624780}html[data-theme=modern] .panel p{color:#786b86}html[data-theme=modern] .stats b{color:#8861ba}html[data-theme=modern] .stats :is(span,small){color:#83708f}html[data-theme=modern] .roomtile em{color:#8a58b1}html[data-theme=modern] .roomtile small{color:#8b7c96}html[data-theme=modern] .workspace :is(input,select,textarea){color:#514262;background:#fff;border-color:#e1d4ed;border-radius:15px}html[data-theme=modern] .workspace :is(input,select,textarea):focus{outline-offset:1px;outline:3px solid #d9c8f4}html[data-theme=modern] :is(th,td){border-bottom-color:#eee5f3}html[data-theme=modern] th{color:#7c668b;background:#faf6fe}html[data-theme=modern] :is(.formgrid button,.stack button,.backup-actions button,.photo-actions button){color:#fff;background:linear-gradient(110deg,#a27bd6,#8159bd);border-radius:16px;box-shadow:0 5px #e1d2ef}html[data-theme=modern] .tiny{color:#94609d;background:#f5eafa}html[data-theme=modern] .notice{background:#eee8f8;color:#745591!important}html[data-theme=modern] .notice.error{background:#fff0ed;color:#ad514d!important}html[data-theme=modern] .activity-hero{background:linear-gradient(120deg,#f4e9fd,#fff2f8,#fff9e9);border:2px solid #fff;box-shadow:0 8px #e7d7f0}html[data-theme=modern] .activity-card.tone-0{background:linear-gradient(130deg,#fffaf0,#fff1d8)}html[data-theme=modern] .activity-card.tone-1{background:linear-gradient(130deg,#f9f5ff,#eae4fd)}html[data-theme=modern] .activity-card.tone-2{background:linear-gradient(130deg,#f8fffc,#dff3eb)}html[data-theme=modern] .activity-card.tone-3{background:linear-gradient(130deg,#fff5fa,#fbe4f0)}html[data-theme=modern] .activity-card.tone-4{background:linear-gradient(130deg,#f5fbff,#e4effc)}html[data-theme=modern] .activity-card h3{color:#65477d}html[data-theme=modern] .activity-card p{color:#786b86}html[data-theme=modern] .name-draw-overlay{color:#584269;background:radial-gradient(at 10% 0,#fff6dc,#0000 45%),radial-gradient(at 100% 10%,#f9e5f1,#0000 50%),#f2eefe}html[data-theme=modern] .character-garden{background:radial-gradient(at bottom,#f3e2f8,#0000 70%);margin-top:40px}html[data-theme=modern] .character-garden:before{background:#efe3f6}html[data-theme=modern] footer{color:#947c9f}html[data-theme=modern] :is(button,a.button,.roomtile,.activity-card){transition:transform .2s,box-shadow .2s,filter .2s}html[data-theme=modern] :is(button,a.button):focus-visible{outline-offset:4px;outline:3px solid #b795df}html[data-theme=modern] :is(button,a.button):active:not(:disabled){transform:scale(.98)}@media (hover:hover) and (pointer:fine){html[data-theme=modern] :is(button,a.button):hover:not(:disabled){filter:brightness(1.025);transform:translateY(-2px)scale(1.025);box-shadow:0 8px 22px #9672b82b}html[data-theme=modern] .side button:hover:not(:disabled){transform:translate(3px)scale(1.015)}html[data-theme=modern] .card:hover{box-shadow:-8px 15px #ddc9ef,0 24px 40px #80619e1a}}@keyframes modern-float{0%,to{translate:0 2px}50%{translate:0 -6px}}@media (width<=700px){html[data-theme=modern] .garden{padding:22px 6% 26px}html[data-theme=modern] .brand strong{font-size:31px}html[data-theme=modern] .garden>.hero{padding:28px 0}html[data-theme=modern] .garden>.cards{gap:30px}html[data-theme=modern] .card{border-radius:28px;padding:25px}html[data-theme=modern] .card h2{font-size:24px}html[data-theme=modern] .card p{font-size:14px}html[data-theme=modern] .worktop{padding:15px 5%}html[data-theme=modern] .side{gap:9px;padding:13px}html[data-theme=modern] .side button{flex-shrink:0}html[data-theme=modern] .modern-students{gap:3px}html[data-theme=modern] .worktitle .modern-students img{border-radius:12px;max-height:70px}html[data-theme=modern] .modern-card-art{width:60px;height:80px;top:105px;right:20px}}@media (prefers-reduced-motion:reduce){html[data-theme=modern] :is(button,a.button,.roomtile,.activity-card){transition:none}html[data-theme=modern] :is(button,a.button):is(:hover,:active){transform:none!important}html[data-theme=modern] .modern-students img{animation:none}}.point-notices{background:#f8f4ff;border:1px solid #e6d8f1;border-radius:20px;margin:20px 0;padding:20px}.point-notices h3{font-size:20px;font-weight:500}.point-notices details{background:#fff;border:1px solid #e4deed;border-radius:14px;margin:12px 0;padding:16px}.point-notices summary{cursor:pointer;font-weight:500;line-height:1.9}.point-notices textarea{resize:vertical;width:100%;min-height:180px;margin-top:14px;font-size:14px;line-height:1.8;display:block}.point-copy,.point-retro button{color:#fff;background:#805bad;border:0;border-radius:12px;padding:12px 18px;font-weight:500}.point-retro{border:1px dashed #bea0d2;border-radius:16px;margin:20px 0;padding:18px}.point-retro input[type=date]{margin:10px 0;display:block}.point-retro button:disabled{opacity:.5}.point-retro label{line-height:1.8}.point-notices p{font-size:13px}.draw-person{position:relative}.draw-person.already-drawn{box-shadow:none;background:#edf8f0;border:2px solid #a0ccb0}.draw-person.already-drawn .student-draw-portrait{filter:saturate(.45);opacity:.7}.draw-used-badge{z-index:3;color:#fff;background:#348465;border:2px solid #fff;border-radius:20px;padding:5px 9px;font-size:12px;position:absolute;top:8px;right:4px;box-shadow:0 3px 8px #295a4220}.draw-roster.is-drawing .already-drawn{animation:none;transform:none}.draw-reset{color:#79578d;background:#fff8ff;border:2px solid #d5bedf;border-radius:18px;margin:18px auto;padding:12px 22px;font-weight:500;display:block}.draw-reset:disabled{opacity:.5}.draw-round-complete{color:#3b7555;background:#edf9ec;border:2px solid #bad9af;border-radius:22px;padding:18px;font-size:22px}.draw-winner+.draw-roster{margin-top:30px}.draw-photo-frame{width:fit-content;margin:auto;position:relative}.draw-photo-frame .draw-used-badge{white-space:nowrap;top:-5px;right:-10px}@media (width<=600px){.draw-photo-frame .draw-used-badge{padding:4px 6px;font-size:10px;right:-8px}}@media (width>=900px) and (height>=550px){.name-draw-fit{flex-direction:column;gap:10px;height:100dvh;padding:12px 20px;display:flex;overflow:hidden}.name-draw-fit .draw-toolbar{flex:none;width:100%;max-width:none;min-height:40px}.name-draw-fit .draw-toolbar button{font-size:13px;padding:8px 16px!important}.name-draw-fit .draw-content{flex-direction:column;flex:1;gap:8px;max-width:none;min-height:0;margin:0;display:flex}.name-draw-fit .draw-heading{flex:none;padding:0 240px;position:relative}.name-draw-fit .draw-kicker{display:none}.name-draw-fit .draw-content h2{margin:0 0 4px;font-size:clamp(24px,2.4vw,36px);line-height:1.3}.name-draw-fit .draw-class{gap:10px;font-size:13px}.name-draw-fit .draw-class select{max-width:280px;padding:5px 12px;font-size:13px}.name-draw-fit .draw-heading>p{margin:3px 0 0;font-size:12px;line-height:1.4}.name-draw-fit .draw-resultbar{flex:0 0 64px;justify-content:center;align-items:center;min-height:0;display:flex}.name-draw-fit .draw-ready-message{color:#816591;margin:0;font-size:18px}.name-draw-fit .draw-winner{border-width:2px;border-radius:22px;justify-content:center;align-items:center;gap:15px;min-width:0;max-width:min(1100px,95%);margin:0;padding:5px 20px;display:flex;box-shadow:0 4px #d9c5e1}.name-draw-fit .draw-winner>.student-draw-portrait{border-width:2px;border-radius:10px;flex-shrink:0;width:39px;height:52px;margin:0}.name-draw-fit .draw-winner h3{min-width:0;margin:0;font-size:clamp(19px,2vw,28px);line-height:1.3}.name-draw-fit .draw-winner>p,.name-draw-fit .draw-confetti{display:none}.name-draw-fit .draw-winner>span{white-space:nowrap;font-size:14px}.name-draw-fit .draw-roster{grid-template-columns:repeat(var(--draw-cols),minmax(0,1fr));grid-template-rows:repeat(var(--draw-rows),minmax(0,1fr));flex:1;gap:10px;width:100%;max-width:none;min-height:0;margin:0;padding:4px;display:grid;overflow:visible}.name-draw-fit .draw-person{border-width:2px;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:0;padding:5px 5px 3px;display:flex;transform:none;box-shadow:0 3px #d9cce5}.name-draw-fit .draw-photo-frame{flex:none;margin:0 auto}.name-draw-fit .draw-person .student-draw-portrait{height:var(--draw-photo-h);aspect-ratio:3/4;border-radius:11px;width:auto;margin:0}.name-draw-fit .draw-person span{font-size:var(--draw-name-size);text-align:center;max-width:100%;line-height:1.2}.name-draw-fit .draw-used-badge{border-width:1px;padding:3px 6px;font-size:10px;top:-3px;right:-12px}.name-draw-fit .draw-controls{flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:12px;padding:3px 100px 0;display:flex}.name-draw-fit .draw-start{border-radius:18px;margin:0;box-shadow:0 4px #b86d9b;border-width:2px!important;padding:8px 26px!important;font-size:18px!important}.name-draw-fit .draw-reset{margin:0;padding:8px 14px;font-size:12px}.name-draw-fit .draw-controls>small{color:#7e6b8c;flex-basis:100%;font-size:10px;line-height:1.4}.name-draw-fit .draw-round-complete{margin:0;padding:5px 12px;font-size:13px}.name-draw-fit .draw-suspense{display:none}.name-draw-fit .is-drawing .draw-person{animation:.8s ease-in-out infinite draw-fit-bob;animation-delay:var(--delay)}.name-draw-fit .is-drawing .already-drawn{animation:none}.name-draw-fit .draw-person.in-spotlight{z-index:2;box-shadow:0 0 0 3px #f4c957}}@keyframes draw-fit-bob{0%,to{translate:0}50%{translate:0 -3px}}@media (prefers-reduced-motion:reduce){.name-draw-fit .is-drawing .draw-person{animation:none}}button.teaching-log-save{color:#fff;background:#63448b;border:1px solid #63448b;border-radius:14px;min-height:44px;padding:.75rem 1.3rem;font-weight:500}button.teaching-log-save:hover:not(:disabled){background:#513575}button.teaching-log-save:disabled{opacity:.55}button.teaching-log-save:focus-visible{outline-offset:3px;outline:3px solid #b18ed1}.teaching-log-date{margin-bottom:.75rem;scroll-margin-top:6rem;display:block}.teaching-log-history{margin-top:1.5rem;scroll-margin-top:6rem}.teaching-log-history details{border:1px solid #d9c8e7;border-radius:14px;margin-top:.75rem;padding:.8rem}.teaching-log-history summary{cursor:pointer;overflow-wrap:anywhere;padding:.25rem;font-weight:500}.teaching-log-read{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.75rem;margin:.75rem 0;display:grid}.teaching-log-read>div{color:#3c284d;overflow-wrap:anywhere;background:#f3ebfa;border-radius:12px;padding:.75rem}.teaching-log-read>div+div{color:#254439;background:#e8f5f0}.teaching-log-read h4{margin:0 0 .35rem}.teaching-log-read p{white-space:pre-wrap;margin:.35rem 0}:root{--hiclass-font:Mitr, system-ui, sans-serif}.garden :is(button,.cards a),.workspace button,.music-control button{font-weight:500}.assignment-share{flex-wrap:wrap;align-items:center;gap:.5rem;width:100%;display:flex}.assignment-share :is(textarea,p){width:100%}.workspace article[id^=task-]{scroll-margin-top:7rem}body{font-synthesis-weight:none}:is(b,strong,h1,h2,h3,h4,h5,h6){font-weight:500}.name-draw-fit .draw-toolbar{flex-wrap:wrap;align-items:center;gap:8px}.draw-theme-picker{align-items:center;gap:.5rem;font-size:.85rem;display:flex}.draw-theme-picker select{color:#35284d;background:#fff;border:1px solid #cdbce4;border-radius:12px;max-width:100%;min-height:40px;padding:.3rem .55rem}.name-draw-overlay[data-draw-theme=morlam]{color:#fff2dc;background:radial-gradient(at 15%,#a92676 0%,#0000 48%),radial-gradient(at 85% 66%,#932c5e 0%,#0000 50%),linear-gradient(#211044,#482372 58%,#3c214a)}[data-draw-theme=morlam] .draw-heading{position:relative}[data-draw-theme=morlam] .draw-heading:before{content:"";clip-path:polygon(0 0,100% 0,100% 100%,0 100%);width:min(100%,32rem);height:8px;-webkit-mask:conic-gradient(from -27deg at bottom,#000 54deg,transparent 0) 0 0 / 12px 100%;mask:conic-gradient(from -27deg at bottom,#000 54deg,transparent 0) 0 0 / 12px 100%;background:repeating-linear-gradient(90deg,#fbd45e 0 12px,#fd4fac 12px 24px,#74e9c0 24px 36px,#8dc9ff 36px 48px);margin:0 auto 5px;display:block}[data-draw-theme=morlam] #name-draw-title{color:#54204c;text-shadow:none}[data-draw-theme=morlam] .draw-ready-message{color:#fff2dc}[data-draw-theme=morlam] .draw-person{color:#3e2455;background:#fff2df;border-color:#ffd884;box-shadow:0 2px #b865bb}[data-draw-theme=morlam] .draw-person.already-drawn{background:#e5f5e8;border-color:#a1dfbd}[data-draw-theme=morlam] .draw-person.in-spotlight{outline-offset:1px;outline:3px solid #ffe879;box-shadow:0 0 16px #ffbf58}[data-draw-theme=morlam] .draw-winner{color:#42224f;background:linear-gradient(115deg,#ffe8a9,#ffcfe9);border-color:#ffd061}[data-draw-theme=morlam] .draw-start{color:#fff;background:linear-gradient(115deg,#9226a7,#c32274);border:2px solid #ffda7d}[data-draw-theme=morlam] .draw-class select{color:#35284d;background:#fff8ec}[data-draw-theme=morlam] .draw-toolbar button,[data-draw-theme=morlam] .draw-reset{color:#3e2455;background:#fff3e3}[data-draw-theme=morlam] .draw-resultbar{background:linear-gradient(111deg,#0000 17%,#ff5ac94a 18% 24%,#0000 25%),linear-gradient(69deg,#0000 73%,#77e6ff52 74% 80%,#0000 81%),#31134e;border-radius:14px;box-shadow:inset 0 0 0 1px #ffd5817d}[data-draw-theme=morlam] .draw-roster.is-drawing .in-spotlight{background:#fff0aa}[data-draw-theme=morlam] .draw-suspense{color:#54204c}.morlam-stage-scroll{background:#39204c;border:1px solid #e9a758;border-radius:18px;flex:400px;min-height:0;overflow:auto}.morlam-stage{isolation:isolate;background:#39204c 50%/100% 100% no-repeat;height:100%;min-height:340px;position:relative;overflow:hidden}.morlam-floor{opacity:.88;background:repeating-linear-gradient(0deg,#ca7950 0 12px,#bb6850 13px 14px);border:2px solid #ffce88;border-radius:50%;position:absolute;inset:23% 7% 7%;box-shadow:0 10px #70285b,inset 0 0 25px #ffd58144}.morlam-stage-sign{white-space:nowrap;color:#fff4c5;z-index:4;background:#a02d73;border:2px solid #ffd36c;border-radius:30px;padding:.15rem 1.2rem;position:absolute;top:13%;left:50%;transform:translate(-50%);box-shadow:0 0 14px #ffbb7670}.morlam-beam{transform-origin:50% 0;clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);opacity:.53;z-index:3;pointer-events:none;width:30%;height:65%;animation:4.6s ease-in-out infinite alternate morlam-sweep;position:absolute;top:17%}.morlam-beam.beam-left{background:linear-gradient(#fff4ca,#ff61cb00);left:23%}.morlam-beam.beam-right{background:linear-gradient(#b8f5ff,#7be6ff00);animation-delay:-2.3s;right:23%}@keyframes morlam-sweep{0%{transform:rotate(-26deg)}to{transform:rotate(26deg)}}.morlam-dancer{text-align:center;color:#fff;width:64px;line-height:1.15;position:absolute;transform:translate(-50%,-50%)}.morlam-costume{filter:drop-shadow(0 2px 2px #301a43);flex-direction:column;align-items:center;display:flex}.morlam-costume img{object-fit:cover;object-position:50% 22%;border:2px solid #fff2b9;border-radius:50%;width:32px;height:32px;display:block}.morlam-costume i{background:linear-gradient(135deg,transparent 20%,#ffe391 22% 35%,transparent 37%),repeating-linear-gradient(var(--costume) 0 5px,#fff5 6px 7px);border-radius:7px 7px 3px 3px;width:26px;height:28px;display:block}.morlam-dancer span{overflow-wrap:anywhere;background:#301640;border-radius:4px;padding:2px;font-size:9px;display:block}.morlam-dancer small{color:#175138;background:#dcf7df;border-radius:4px;font-size:8px;display:block}.morlam-dancer.lit{z-index:30!important}.morlam-dancer.lit .morlam-costume{filter:drop-shadow(0 0 8px #ffec65)}.morlam-dancer.lit span{color:#382042;background:#ffde7d}@media (width<=899px),(height<=549px){.morlam-stage-scroll{margin:12px 0}.morlam-stage{height:400px}}@media (prefers-reduced-motion:reduce){.morlam-beam{animation:none;transform:rotate(15deg)}}.morlam-stage-scroll{width:100%;min-width:0;max-width:100%;overflow:hidden;container-type:inline-size}.morlam-stage{width:100%}.morlam-floor{inset:39% 6% 11%}.morlam-stage-sign{font-size:clamp(.72rem,3.6cqw,1rem);top:20%}.morlam-dancer{width:clamp(23px,calc(var(--dancer-size) * 1.38),68px)}.morlam-costume img{width:clamp(16px,var(--dancer-size),36px);height:clamp(16px,var(--dancer-size),36px)}.morlam-costume i{width:clamp(13px,calc(var(--dancer-size) * .8),30px);height:clamp(15px,calc(var(--dancer-size) * .94),34px)}.morlam-dancer span{white-space:nowrap;text-overflow:ellipsis;font-size:clamp(7px,1.6cqw,10px);overflow:hidden}.morlam-dancer small{white-space:nowrap}@media (width<=899px),(height<=549px){.morlam-stage{height:clamp(230px,82cqw,390px);min-height:0}[data-draw-theme=morlam] .draw-toolbar{position:relative}}.morlam-stage[data-phase=drawing] .morlam-costume{transform-origin:50% 100%;animation:10s ease-in-out both morlam-dance}.morlam-costume i{position:relative}.morlam-costume i:before,.morlam-costume i:after{content:"";background:linear-gradient(90deg,var(--costume) 65%,#ffe1bc 65%);opacity:0;pointer-events:none;border-radius:100px;width:65%;height:24%;position:absolute;top:15%}.morlam-costume i:before{transform-origin:100%;right:92%;scale:-1 1}.morlam-costume i:after{transform-origin:0;left:92%}.morlam-stage[data-phase=drawing] .morlam-costume i:before{background:linear-gradient(270deg,var(--costume) 65%,#ffe1bc 65%);animation:10s ease-in-out both morlam-arm-left;scale:1}.morlam-stage[data-phase=drawing] .morlam-costume i:after{animation:10s ease-in-out both morlam-arm-right}@keyframes morlam-dance{0%,10%,44%,52%,94%,to{transform:none}16%,28%,40%{transform:translateX(calc(var(--dance-side) * 10%)) rotate(calc(var(--dance-side) * 13deg))}22%,34%{transform:translateX(calc(var(--dance-side) * -10%)) rotate(calc(var(--dance-side) * -13deg))}58%,72%,85%{transform:translateY(-18%) rotate(calc(var(--dance-side) * -8deg))}64%,78%,90%{transform:scaleY(.88) rotate(calc(var(--dance-side) * 8deg))}}@keyframes morlam-arm-left{0%,10%,47%,51%,95%,to{opacity:0;transform:rotate(-65deg)}16%,28%,40%,64%,78%,90%{opacity:1;transform:rotate(20deg)}22%,34%,58%,72%,85%{opacity:1;transform:rotate(67deg)}}@keyframes morlam-arm-right{0%,10%,47%,51%,95%,to{opacity:0;transform:rotate(65deg)}16%,28%,40%,58%,72%,85%{opacity:1;transform:rotate(-67deg)}22%,34%,64%,78%,90%{opacity:1;transform:rotate(-20deg)}}@media (prefers-reduced-motion:reduce){.morlam-stage[data-phase=drawing] .morlam-costume,.morlam-stage[data-phase=drawing] .morlam-costume i:before,.morlam-stage[data-phase=drawing] .morlam-costume i:after{animation:none}}[data-draw-theme=morlam] .draw-kicker{color:#54204c}[data-draw-theme=morlam] .draw-round-complete{color:#174b38}[data-draw-theme=morlam] .draw-controls small{color:#54204c}.student-task{background:#fff;border:1px solid #d8c7e8;border-radius:18px;margin:12px 0;overflow:hidden}.student-task summary{cursor:pointer;color:#49345e;padding:18px;list-style-position:inside;display:list-item}.student-task-title{overflow-wrap:anywhere;font-size:1.1rem;font-weight:500}.student-task-status,.student-task-score,.student-task-toggle{margin-top:8px;font-size:1rem;display:block}.student-task .task-waiting{color:#a21e32}.student-task .task-done{color:#17613f}.student-task-toggle{color:#655074;font-size:.875rem}.student-task-body{border-top:1px solid #e8dfee;padding:0 18px 18px}.student-task summary:focus-visible{outline-offset:-3px;outline:3px solid #7952a0}[data-draw-theme=alien].name-draw-overlay{color:#f4efff;background:radial-gradient(at top,#493270,#11182f 70%)}[data-draw-theme=alien] :is(.draw-kicker,#name-draw-title,.draw-heading p,.draw-class,.draw-suspense,.draw-controls small){color:#f4efff;text-shadow:none}[data-draw-theme=alien] .draw-toolbar button,[data-draw-theme=alien] .draw-reset{color:#40245f;background:#f5efff}[data-draw-theme=alien] .draw-theme-picker{color:#fff}[data-draw-theme=alien] .draw-winner{color:#362052;background:#f4edff;border:3px solid #7feac8}[data-draw-theme=alien] .draw-start{color:#fff;background:#6e45a5;border:2px solid #baf2d9}[data-draw-theme=alien] .draw-round-complete{color:#174b38;background:#e1f8ed}[data-draw-theme=alien] .draw-person{color:#342447;background:#eee9ff;border-color:#c3b2ed}[data-draw-theme=alien] .draw-person.in-spotlight{background:#ddffe9;outline:3px solid #83f0bd;box-shadow:0 0 16px #8affc3}.alien-sky{isolation:isolate;flex:0 0 155px;min-height:155px;position:relative}.alien-planet{font-size:42px;position:absolute;top:0;right:6%}.alien-ufo{z-index:2;width:105px;transition:left .3s;position:absolute;top:2px;transform:translate(-50%)}.alien-dome{text-align:center;background:#b5e7efbb;border:3px solid #b4f9e4;border-radius:60px 60px 8px 8px;width:65px;height:47px;margin:auto;overflow:hidden}.alien-saucer{background:linear-gradient(#b4a2f5,#6244a7);border:3px solid #ddcaff;border-radius:50%;justify-content:space-evenly;align-items:center;height:27px;display:flex;box-shadow:0 5px 15px #b5efdf66}.alien-saucer i{background:#e4ff92;border-radius:50%;width:9px;height:6px}.alien-ray{clip-path:polygon(33% 0,67% 0,100% 100%,0 100%);opacity:.3;background:linear-gradient(#bcffad99,#afffe600);width:130px;height:65px;margin:0 -12px}.alien-sky[data-phase=drawing] .alien-ray,.alien-sky[data-phase=winner] .alien-ray{opacity:1}.alien-mission{text-align:center;color:#e3ffed;font-size:14px;position:absolute;bottom:0;left:0;right:0}.alien-passenger{z-index:1;animation:1.3s ease-in both alien-board;position:absolute;top:80px;left:50%;transform:translate(-50%)}.alien-passenger img{object-fit:cover;border-radius:18px;width:50px;height:60px}@keyframes alien-board{0%{opacity:1;transform:translate(-50%,35px)scale(1)}to{opacity:0;transform:translate(-50%,-65px)scale(.15)}}[data-draw-theme=alien] .draw-roster{min-height:160px}@media (prefers-reduced-motion:reduce){.alien-ufo{transition:none}.alien-passenger{animation:none;display:none}}@media (width<=600px){.alien-sky{flex-basis:130px;min-height:130px}.alien-ufo{transform-origin:0 0;scale:.85}}[data-draw-theme=croc].name-draw-overlay{color:#234d3e;background:radial-gradient(at top,#e2f9e4,#bce4d3)}[data-draw-theme=croc] :is(.draw-kicker,#name-draw-title,.draw-heading p,.draw-class,.draw-suspense,.draw-controls small){color:#234d3e;text-shadow:none}[data-draw-theme=croc] .draw-winner{color:#254d37;background:#fffaf0;border:3px solid #4d9264}[data-draw-theme=croc] .draw-start{color:#fff;background:#287450;border:2px solid #e2ffc9}[data-draw-theme=croc] .draw-round-complete{color:#22523b;background:#fff}.croc-stage{isolation:isolate;flex:1 0 300px;width:100%;max-width:1000px;min-height:300px;margin:32px auto 0;position:relative}.croc-eyes{z-index:2;justify-content:center;gap:15%;height:35px;display:flex;position:relative}.croc-eyes i{background:#6eaf69;border:4px solid #326342;border-radius:50% 50% 0 0;place-items:center;width:56px;height:55px;display:grid}.croc-eyes i:before{content:"";background:radial-gradient(circle at 60% 35%,#fff 0 3px,#0000 4px),#243b2d;border:6px solid #fff;border-radius:50%;width:23px;height:30px}.croc-upper{z-index:3;background:#77b96d;border:4px solid #326342;border-radius:55% 55% 10px 10px;justify-content:center;gap:25%;height:44px;display:flex;position:relative}.croc-upper span{color:#326342;font-size:26px}.croc-mouth{background:#7c3447;border:9px solid #6ba45f;border-top-width:5px;border-radius:10px 10px 38% 38%;padding:12px 18px 20px}.croc-caption{text-align:center;color:#fff6dc;margin:0 0 12px;font-size:1rem}.croc-teeth{grid-template-columns:repeat(var(--teeth-cols),minmax(0,1fr));gap:8px;max-width:850px;margin:auto;display:grid}.croc-tooth{text-align:center;color:#314730;background:#fffbea;border:2px solid #d6c997;border-bottom-width:5px;border-radius:12px 12px 20px 20px;min-height:44px;padding:5px 2px;overflow:hidden}.croc-tooth b{font-size:1.1rem;font-weight:500}.croc-tooth span{white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.croc-tooth small{font-size:12px;display:block}.croc-tooth.croc-used{color:#395237;background:#d4e5cc}.croc-tooth.croc-lit{background:#ffe17c;outline:3px solid #fff;box-shadow:0 0 16px #ffeb9e}.croc-lower{text-align:center;color:#fff6da;background:#6eaa65;border:4px solid #326342;border-radius:0 0 50% 50%;height:38px;font-size:25px;line-height:28px}@keyframes croc-chomp{0%{transform:translateY(0)}45%{transform:translateY(65px)scaleY(1.4)}to{transform:translateY(0)}}@media (width<=600px){.croc-mouth{border-width:5px;padding:10px 8px 20px}.croc-teeth{gap:5px}.croc-tooth span{display:none}.croc-tooth small{font-size:10px}.croc-stage{margin-top:12px}}@media (prefers-reduced-motion:reduce){.croc-stage[data-phase=winner] .croc-upper{animation:none}}[data-draw-theme=swim].name-draw-overlay{color:#214c65;background:linear-gradient(#e3f8ff,#b5e2f2)}[data-draw-theme=swim] :is(.draw-kicker,#name-draw-title,.draw-heading p,.draw-class,.draw-suspense,.draw-controls small){color:#214c65;text-shadow:none}[data-draw-theme=swim] .draw-start{color:#fff;background:#267d9c}[data-draw-theme=swim] .draw-winner{color:#244e63;background:#fff8dd;border:3px solid #4da1b7}.swim-pool{background:#398fbc;border:5px solid #fff;border-radius:24px;flex:1 0 auto;width:100%;padding:12px;box-shadow:0 6px #79b5cb}.swim-banner{color:#fff;text-align:center;margin:0 0 14px;font-size:1rem}.swim-lanes{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;display:grid}.swim-lane{background:repeating-linear-gradient(0deg,#ffffff10 0 8px,#0000 9px 16px),#469dc5;border-top:2px dashed #f8e28b;border-bottom:2px dashed #f8e28b;border-radius:8px;padding:0 10px;position:relative}.swim-track{height:45px;margin-right:62px;position:relative}.swimmer{width:60px;transition:left 80ms linear;position:absolute;top:0}.swimmer svg{width:60px;height:45px;display:block;overflow:visible}.swim-label{white-space:nowrap;text-overflow:ellipsis;color:#fff;padding:0 0 3px;font-size:12px;display:block;overflow:hidden}.swim-finish{background:repeating-conic-gradient(#fff 0 25%,#244b60 0 50%) 0 0/9px 9px;width:9px;position:absolute;top:0;bottom:0;right:10px}.swim-used{opacity:.65}.swim-champion{background:#ffe587}.swim-champion .swim-label{color:#244b60}[data-phase=drawing] .swim-arm{transform-origin:54px 42px;animation:.4s ease-in-out infinite alternate swim-stroke}@keyframes swim-stroke{to{transform:rotate(38deg)}}@media (width<=600px){.swim-lanes{gap:5px 8px}.swim-pool{padding:8px}.swim-track{height:36px;margin-right:45px}.swimmer,.swimmer svg{width:45px;height:36px}.swim-label{font-size:11px}}@media (prefers-reduced-motion:reduce){[data-phase=drawing] .swim-arm{animation:none}.swimmer{transition:none}}.swim-shared-water{background:repeating-linear-gradient(174deg,#0000 0 42px,#a4e3f51f 44px 50px,#0000 52px 90px),linear-gradient(#52acd0,#3488b7);border-top:9px solid #b6e9d0;border-bottom:9px solid #b6e9d0;border-radius:20px;height:clamp(350px,58vh,620px);position:relative;overflow:hidden;container-type:inline-size}.swim-shared-finish{background:repeating-conic-gradient(#fff 0 25%,#203e57 0 50%) 0 0/16px 16px;z-index:1;width:16px;position:absolute;top:0;bottom:0;left:87%;transform:skew(-7deg)}.swim-shared-finish span{color:#234b60;white-space:nowrap;background:#fff;border-radius:8px;padding:5px 8px;font-size:14px;position:absolute;top:8px;left:-20px;transform:skew(7deg)}.swim-racer{width:clamp(38px,8cqw,76px);transition:left 80ms linear;position:absolute;transform:translateY(-50%)}.swim-racer svg{filter:drop-shadow(-4px 3px #e2f9ff45);width:100%;height:auto;display:block}.swim-racer-label{color:#234b60;white-space:nowrap;background:#fff;border-radius:8px;padding:1px 4px;font-size:12px;line-height:1.2;position:absolute;bottom:0;left:0}.swim-racer.swim-champion{filter:drop-shadow(0 0 8px #fff38e);background:0 0}.swim-shared-help{color:#fff;text-align:center;margin:8px 0 0;font-size:14px}@media (prefers-reduced-motion:reduce){.swim-racer{transition:none}}.swim-racer{transition:none}.swim-pool[data-phase=drawing] .swim-racer:not(.swim-used):before{content:"";border-top:2px solid #e7fbff99;border-bottom:2px solid #e7fbff77;border-radius:50%;width:20px;height:10px;animation:.45s ease-in-out infinite alternate swim-wake;position:absolute;top:55%;left:-12px}@keyframes swim-wake{to{opacity:.35;width:28px;transform:translate(-5px)}}@media (prefers-reduced-motion:reduce){.swim-pool[data-phase=drawing] .swim-racer:before{animation:none}}.swim-winner-label{color:#234454;text-align:right;overflow-wrap:anywhere;background:#fff6cf;border:2px solid #e8be41;border-radius:12px;width:max-content;max-width:min(65cqw,320px);padding:8px 12px;font-size:16px;line-height:1.4;position:absolute;top:100%;right:0;box-shadow:0 4px 10px #17435e33}.swim-winner-label small{font-size:14px;display:block}.swim-shared-finish{transform:none}.swim-shared-finish span{left:auto;right:12px;transform:none}[data-draw-theme=lift].name-draw-overlay{color:#563444;background:linear-gradient(#fff6db,#efdadc)}[data-draw-theme=lift] :is(.draw-kicker,#name-draw-title,.draw-heading p,.draw-class,.draw-suspense,.draw-controls small){color:#563444;text-shadow:none}[data-draw-theme=lift] .draw-start{color:#fff;background:#a34267}.lift-stadium{background:linear-gradient(#e4c8de 0 60px,#b7d8bb 60px 100%);border:5px solid #fff;border-radius:24px;width:100%;padding:12px;position:relative;overflow:hidden}.lift-stands{text-align:center;color:#813b61;letter-spacing:12px;font-size:26px}.lift-banner{text-align:center;color:#563444;background:#fff9eb;border-radius:16px;padding:12px;font-size:1rem}.lift-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));align-items:start;gap:12px;display:grid}.lift-athlete{text-align:center;color:#3d3b38;min-width:0;position:relative}.lift-athlete svg{width:100%;max-height:180px;display:block;overflow:visible}.lift-athlete>span{overflow-wrap:anywhere;background:#fff9e8;border-radius:9px;padding:4px;font-size:14px;display:block}.lift-athlete small{color:#25523d;background:#dff4e1;border-radius:8px;display:block}.lift-used{opacity:.65}.lift-winner{z-index:3;background:#fff0a3;border-radius:18px;box-shadow:0 0 0 3px #bf833b,0 0 28px #fff3a6}.lift-body{animation:.13s linear infinite alternate lift-tremble;animation-delay:var(--shake-delay);transform-origin:80px 150px}.lift-body .lift-legs{transform-origin:80px 130px;animation:.17s linear infinite alternate lift-knees}@keyframes lift-tremble{0%{transform:translate(-1px)rotate(-.7deg)}to{transform:translate(1px)rotate(.7deg)}}@keyframes lift-knees{to{transform:skew(3deg)}}.lift-fireworks{pointer-events:none;position:absolute;top:25%;left:50%}.lift-fireworks i{color:#ac345b;--x:65px;--y:-50px;font-size:28px;font-style:normal;animation:1.3s ease-out 3 both lift-sparks;position:absolute}.lift-fireworks i:nth-child(2){--x:-65px;--y:-50px;color:#815cc6}.lift-fireworks i:nth-child(3){--x:70px;--y:30px;color:#c2760c}.lift-fireworks i:nth-child(4){--x:-70px;--y:30px;color:#207c70}.lift-fireworks i:nth-child(5){--x:0px;--y:-80px;color:#bc457a}.lift-fireworks i:nth-child(6){--x:0px;--y:70px;color:#6556a8}@keyframes lift-sparks{0%{opacity:0;transform:scale(.2)}20%{opacity:1}to{opacity:0;transform:translate(var(--x),var(--y)) scale(1.3)}}@media (width<=600px){.lift-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.lift-athlete>span{font-size:12px}}@media (prefers-reduced-motion:reduce){.lift-body,.lift-body .lift-legs,.lift-fireworks i{animation:none}}@media (width>=769px){[data-draw-theme=swim].name-draw-fit{overflow:auto}[data-draw-theme=swim].name-draw-fit .draw-content{flex-direction:column;min-height:0;display:flex;overflow:visible}[data-draw-theme=swim] .draw-heading{flex:none}[data-draw-theme=swim] .swim-pool{flex-direction:column;flex:1 1 0;min-height:150px;padding:8px;display:flex;overflow:hidden}[data-draw-theme=swim] .swim-shared-water{flex:1 1 0;height:auto;min-height:80px}[data-draw-theme=swim] .swim-banner{margin:0 0 8px}[data-draw-theme=swim] .draw-controls{z-index:250;background:#e1f5fc;border-radius:16px;flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:8px;padding:6px;display:flex;position:sticky;bottom:0}[data-draw-theme=swim] .draw-controls .draw-start,[data-draw-theme=swim] .draw-controls .draw-reset{margin:0;padding:9px 18px!important;font-size:16px!important}[data-draw-theme=swim] .draw-controls small{flex-basis:100%;font-size:12px}[data-draw-theme=swim] .draw-suspense{display:none}}.swim-shared-finish{left:78%}@media (width>=769px){[data-draw-theme=croc].name-draw-fit{gap:6px;overflow:auto}[data-draw-theme=croc] .draw-content{gap:6px;min-height:0}[data-draw-theme=croc] .draw-heading{padding:0 100px}[data-draw-theme=croc] .draw-resultbar{flex:0 0 54px}[data-draw-theme=croc] .draw-ready-message{font-size:16px}[data-draw-theme=croc] .croc-stage{flex-direction:column;flex:1 1 0;max-width:1100px;min-height:240px;margin:0 auto;display:flex}[data-draw-theme=croc] .croc-eyes{flex:0 0 24px;height:24px}[data-draw-theme=croc] .croc-eyes i{width:46px;height:40px}[data-draw-theme=croc] .croc-eyes i:before{border-width:4px;width:18px;height:22px}[data-draw-theme=croc] .croc-upper{flex:0 0 26px;height:26px}[data-draw-theme=croc] .croc-upper span{font-size:18px;line-height:18px}[data-draw-theme=croc] .croc-mouth{border-width:6px;border-radius:8px 8px 15% 15%;flex-direction:column;flex:1;min-height:0;padding:6px 24px 10px;display:flex}[data-draw-theme=croc] .croc-caption{flex:none;margin:0 0 5px;font-size:14px;line-height:1.3}[data-draw-theme=croc] .croc-teeth{grid-template-rows:repeat(var(--teeth-rows),minmax(0,1fr));flex:1;gap:5px;width:100%;max-width:none;min-height:0}[data-draw-theme=croc] .croc-tooth{border-bottom-width:3px;border-radius:10px 10px 14px 14px;flex-direction:column;justify-content:center;min-height:0;padding:2px;line-height:1.1;display:flex}[data-draw-theme=croc] .croc-tooth b{font-size:clamp(16px,2.5vh,23px);line-height:1.1}[data-draw-theme=croc] .croc-tooth span{flex-shrink:0;font-size:12px;line-height:1.2}[data-draw-theme=croc] .croc-tooth small{flex-shrink:0;font-size:11px;line-height:1.1}[data-draw-theme=croc] .croc-lower{flex:0 0 20px;height:20px;font-size:16px;line-height:14px}[data-draw-theme=croc] .draw-controls{z-index:250;background:#e2f3e6;border-radius:14px;flex:none;gap:8px;padding:6px 12px;position:sticky;bottom:0}[data-draw-theme=croc] .draw-controls small{font-size:12px}[data-draw-theme=croc] .draw-controls .draw-start,[data-draw-theme=croc] .draw-controls .draw-reset{margin:0;padding:8px 18px!important;font-size:16px!important}}.croc-tooth.croc-missing{visibility:hidden}.croc-stage[data-phase=winner] .croc-upper{animation:none}.croc-biting .croc-upper,.croc-biting .croc-eyes{animation:.75s ease-in-out both croc-jaw-close}.croc-biting .croc-mouth{transform-origin:bottom;animation:.75s ease-in-out both croc-mouth-close}.croc-impact{z-index:10;color:#fff;pointer-events:none;background:#b33d25;border-radius:20px;padding:8px 20px;font-size:32px;font-weight:500;animation:.75s both croc-impact-pop;position:absolute;bottom:24px;left:50%}.croc-flying-tooth{z-index:20;color:#234d3e;pointer-events:none;background:#fffbea;border:4px solid #d6c997;border-bottom-width:10px;border-radius:18px 18px 35px 35px;width:clamp(100px,18vw,180px);padding:14px 8px;animation:1.5s ease-out both croc-tooth-eject;position:absolute;top:45%;left:50%;box-shadow:0 8px 24px #18392455}.croc-flying-tooth b{font-size:clamp(32px,5vw,60px);font-weight:500;line-height:1.2;display:block}.croc-flying-tooth span{overflow-wrap:anywhere;font-size:14px;display:block}@keyframes croc-jaw-close{0%{transform:translateY(0)}33%,48%{transform:translateY(var(--mouth-height))}to{transform:translateY(0)}}@keyframes croc-mouth-close{0%{transform:scaleY(1)}33%,48%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes croc-impact-pop{0%,30%{opacity:0;transform:translate(-50%)scale(.5)}34%,65%{opacity:1;transform:translate(-50%)scale(1.15)}to{opacity:0;transform:translate(-50%)scale(1)}}@keyframes croc-tooth-eject{0%{opacity:0;transform:translate(-50%,80%)scale(.3)rotate(-25deg)}15%{opacity:1}55%{opacity:1;transform:translate(-50%,-45%)scale(1.15)rotate(12deg)}80%{opacity:1;transform:translate(-50%,-20%)scale(1)rotate(-6deg)}to{opacity:0;transform:translate(-50%,30%)scale(.8)rotate(15deg)}}@media (prefers-reduced-motion:reduce){.croc-biting .croc-upper,.croc-biting .croc-eyes,.croc-biting .croc-mouth{animation:none}.croc-flying-tooth{animation:none;transform:translate(-50%)}.croc-impact{display:none}}.croc-tooth.croc-scanning{z-index:4;color:#173d2d;background:#ffe067;border-color:#fff;outline:3px solid #fff7b0;position:relative;transform:translateY(-2px);box-shadow:0 0 14px 5px #ffda4fb3}.croc-tooth.croc-scanning b{color:#173d2d}@media (prefers-reduced-motion:reduce){.croc-tooth.croc-scanning{box-shadow:none;outline:3px solid #f5b800;transform:none}}.croc-flying-tooth{animation:4s ease-out both croc-tooth-hold}@keyframes croc-tooth-hold{0%{opacity:0;transform:translate(-50%,80%)scale(.3)rotate(-25deg)}10%{opacity:1;transform:translate(-50%,-35%)scale(1.1)rotate(8deg)}15%,90%{opacity:1;transform:translate(-50%,-20%)scale(1)rotate(0)}to{opacity:0;transform:translate(-50%,30%)scale(.8)rotate(15deg)}}@media (prefers-reduced-motion:reduce){.croc-flying-tooth{animation:3s step-end both croc-tooth-static-hold;transform:translate(-50%)}}@keyframes croc-tooth-static-hold{0%{opacity:1}to{opacity:0}}@media (width>=769px){[data-draw-theme=lift].name-draw-fit{gap:6px;overflow:auto}[data-draw-theme=lift] .draw-content{gap:6px;min-height:0}[data-draw-theme=lift] .draw-heading{padding:0 100px}[data-draw-theme=lift] .lift-stadium{flex-direction:column;flex:1 1 0;gap:5px;min-height:220px;padding:8px;display:flex;overflow:hidden}[data-draw-theme=lift] .lift-stands{flex:none;font-size:18px;line-height:20px}[data-draw-theme=lift] .lift-banner{flex:none;margin:0;padding:6px 10px;font-size:16px;line-height:1.3}[data-draw-theme=lift] .lift-grid{grid-template-columns:repeat(var(--lift-cols),minmax(0,1fr));grid-template-rows:repeat(var(--lift-rows),minmax(0,1fr));flex:1;align-items:stretch;gap:8px;min-height:0}[data-draw-theme=lift] .lift-athlete{flex-direction:column;align-items:center;min-height:0;display:flex}[data-draw-theme=lift] .lift-athlete svg{flex:1 1 0;width:100%;min-height:0;max-height:none;overflow:hidden}[data-draw-theme=lift] .lift-athlete>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:0 0 32px;width:100%;padding:2px 4px;font-size:12px;line-height:14px;display:-webkit-box;overflow:hidden}[data-draw-theme=lift] .lift-athlete small{z-index:4;padding:1px 4px;font-size:11px;line-height:14px;position:absolute;top:0;right:0}[data-draw-theme=lift] .draw-controls{z-index:250;background:#f7eaf0;border-radius:14px;flex:none;gap:8px;padding:6px 12px;position:sticky;bottom:0}[data-draw-theme=lift] .draw-controls small{font-size:12px}[data-draw-theme=lift] .draw-controls .draw-start,[data-draw-theme=lift] .draw-controls .draw-reset{margin:0;padding:8px 18px!important;font-size:16px!important}}[data-draw-theme=duck].name-draw-overlay{color:#214e41;background:linear-gradient(135deg,#fff4d8,#e0eee4)}[data-draw-theme=duck] :is(#name-draw-title,.draw-heading p,.draw-class,.draw-controls small){color:#214e41;text-shadow:none}.duck-yard{background:#215d49;border:5px solid #fff4d6;border-radius:26px;flex-direction:column;gap:8px;min-height:340px;padding:14px 18px;display:flex;position:relative;overflow:hidden;box-shadow:0 6px #b3cbb6}.duck-yard-sign{color:#214e41;background:#fff3cf;border-radius:16px;flex:none;padding:9px 12px;font-size:18px;line-height:1.4}.duck-huddle{grid-template-columns:repeat(var(--duck-cols),minmax(0,1fr));grid-template-rows:repeat(var(--duck-rows),minmax(0,1fr));flex:1;gap:8px 0;min-height:0;padding:8px 10px;display:grid}.duck-friend{justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;position:relative}.duck-dancer{transform-origin:50% 85%;flex-shrink:0;width:115%;height:100%}.duck-dancer svg{width:100%;height:100%;display:block;overflow:visible}.duck-friend small{color:#214e41;z-index:3;background:#d9edda;border-radius:12px;padding:1px 5px;font-size:11px;position:absolute;top:0;right:0}.duck-resting{opacity:.55}.duck-chosen{z-index:5;background:#ffdc6e55;border-radius:35%;box-shadow:0 0 20px #ffdc6e99}.duck-chosen .duck-dancer{animation:.5s ease-out both duck-turn}.duck-winner-star{font-size:28px;position:absolute;top:0;right:0}.duck-yard-caption{color:#fff3cf;flex:none;margin:0;font-size:14px}@keyframes duck-sway{0%,to{transform:translate(-4%)rotate(-6deg)}50%{transform:translate(4%)rotate(6deg)}}@keyframes duck-turn{0%{transform:scaleX(.2)}70%{transform:scaleX(1.08)}to{transform:scaleX(1)}}@media (width>=769px){[data-draw-theme=duck].name-draw-fit{gap:6px;overflow:auto}[data-draw-theme=duck] .draw-content{gap:8px;min-height:0}[data-draw-theme=duck] .draw-heading{padding:0 100px}[data-draw-theme=duck] .duck-yard{flex:1 1 0;min-height:220px}[data-draw-theme=duck] .draw-controls{z-index:250;background:#eef3df;border-radius:14px;flex:none;gap:8px;padding:6px 12px;position:sticky;bottom:0}[data-draw-theme=duck] .draw-controls small{font-size:12px}}@media (width<=768px){.duck-yard{height:65dvh;min-height:360px;padding:10px}.duck-yard-sign{font-size:16px}.duck-yard-caption{font-size:12px}.duck-friend small{font-size:9px}}@media (prefers-reduced-motion:reduce){.duck-yard[data-phase=drawing] .duck-dancer,.duck-chosen .duck-dancer{animation:none}}.duck-yard[data-phase=drawing] .duck-dancer{animation:none}.duck-yard[data-phase=drawing] .duck-hips{transform-origin:80px 90px;animation:1.2s ease-in-out infinite duck-hip-wiggle}@keyframes duck-hip-wiggle{0%,to{transform:translate(-5px)rotate(-4deg)}50%{transform:translate(5px)rotate(4deg)}}@media (prefers-reduced-motion:reduce){.duck-yard[data-phase=drawing] .duck-hips{animation:none}}[data-draw-theme=egg].name-draw-overlay{color:#3c3026;background:#fff3da}[data-draw-theme=egg] :is(#name-draw-title,.draw-heading p,.draw-class,.draw-controls small){color:#3c3026;text-shadow:none}.egg-tray{background:#ffbc51;border:5px solid #fff;border-radius:25px;flex-direction:column;gap:8px;min-height:350px;padding:12px;display:flex;position:relative;overflow:hidden}.egg-status{color:#3c3026;background:#fff6df;border-radius:16px;flex:none;padding:8px 12px;font-size:18px;line-height:1.4}.egg-grid{grid-template-columns:repeat(var(--egg-cols),minmax(0,1fr));grid-template-rows:repeat(var(--egg-rows),minmax(0,1fr));flex:1;gap:8px;min-height:0;padding:4px;display:grid}.egg-item{border-radius:20px;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;position:relative}.egg-item svg{width:100%;height:100%;display:block;overflow:visible}.egg-item small{color:#403526;background:#fff1d5;border-radius:12px;padding:1px 5px;font-size:11px;position:absolute;top:0;right:0}.egg-help{color:#463321;flex:none;margin:0;font-size:14px}.egg-selected{background:#fff3bc99;box-shadow:0 0 0 3px #fff7df,0 0 18px #fff7c4}.egg-selected .egg-open{animation:.6s ease-out both egg-open-pop}.egg-selected .egg-yolk{transform-origin:85px 100px;animation:.75s ease-out both egg-yolk-drip}@keyframes egg-open-pop{0%{opacity:.2;transform:translateY(-8px)scale(.85)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes egg-yolk-drip{0%{transform:scaleY(.15)}to{transform:scaleY(1)}}@media (width>=769px){[data-draw-theme=egg].name-draw-fit{gap:6px;overflow:auto}[data-draw-theme=egg] .draw-content{gap:8px;min-height:0}[data-draw-theme=egg] .draw-heading{padding:0 100px}[data-draw-theme=egg] .egg-tray{flex:1 1 0;min-height:220px}[data-draw-theme=egg] .draw-controls{z-index:250;background:#fff2d8;border-radius:14px;flex:none;gap:8px;padding:6px 12px;position:sticky;bottom:0}[data-draw-theme=egg] .draw-controls small{font-size:12px}}@media (width<=768px){.egg-tray{height:68dvh;min-height:400px;padding:10px}.egg-status{font-size:16px}.egg-help{font-size:12px}.egg-item small{font-size:9px}}@media (prefers-reduced-motion:reduce){.egg-selected .egg-open,.egg-selected .egg-yolk{animation:none}}.egg-item.egg-source-hidden svg{visibility:hidden}.egg-spotlight{z-index:4000;pointer-events:none;transform-origin:50%;filter:drop-shadow(0 4px 8px #6e442a44);animation:2.9s ease-in-out both egg-centre-visit;position:fixed}.egg-spotlight svg{width:100%;height:100%;display:block;overflow:visible}.egg-spotlight .egg-yolk-hanger{transform-origin:85px 100px;animation:.7s ease-in-out infinite egg-yolk-swing}.egg-spotlight .egg-yolk{transform-origin:85px 100px;animation:.4s ease-out both egg-yolk-drip}@keyframes egg-yolk-swing{0%,to{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes egg-centre-visit{0%,to{transform:translate(0)scale(1)}15.517%,84.483%{transform:translate(var(--egg-dx),var(--egg-dy)) scale(var(--egg-zoom))}}@media (prefers-reduced-motion:reduce){.egg-spotlight{transform:translate(var(--egg-dx),var(--egg-dy)) scale(var(--egg-zoom));animation:none}.egg-spotlight .egg-yolk-hanger,.egg-spotlight .egg-yolk{animation:none}}.alien-sky{flex-basis:220px;min-height:220px}.alien-ufo{transform-origin:top;width:170px;scale:1}.alien-dome{border-radius:90px 90px 12px 12px;width:104px;height:75px}.alien-dome span{font-size:59px}.alien-saucer{height:43px}.alien-saucer i{width:14px;height:9px}.alien-ray{width:208px;height:90px;margin:0 -19px}@media (width<=600px){.alien-sky{flex-basis:180px;min-height:180px}.alien-ufo{transform-origin:top;width:145px;scale:1}.alien-dome{width:90px;height:64px}.alien-dome span{font-size:50px}.alien-saucer{height:37px}.alien-ray{width:179px;height:70px;margin:0 -17px}}@font-face{font-family:Mali;src:url(../fonts/mali-regular.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Mali;src:url(../fonts/mali-semibold.ttf)format("truetype");font-weight:600;font-display:swap}*{box-sizing:border-box}body{color:#40394e;background:#faf7ff;margin:0;font-family:Mali,sans-serif;font-size:16px}button,input,select{font:inherit}button,label,summary{touch-action:manipulation}button,summary{cursor:pointer}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #8056be}.theme-card:has(input:focus-visible){outline-offset:4px;outline:3px solid #8056be}button{border:0}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{font-weight:600}input[type=checkbox],input[type=radio]{accent-color:#8056be}.setup{max-width:1050px;margin:auto;padding:44px 24px 24px}.setup header{text-align:center;position:relative}.brand-mark{letter-spacing:2px;color:#7d699b;font:600 12px sans-serif}.hero-doodles{letter-spacing:12px;margin:20px 0 8px;font-size:42px}.setup h1{color:#594678;margin:8px 0 12px;font-size:clamp(27px,4.5vw,44px)}.setup header p{color:#796b8b;margin:0 0 30px}.count-panel{background:#fff;border:2px solid #ebe1f3;border-radius:25px;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;padding:23px;display:flex;box-shadow:0 6px #e9dff1}.count-panel>label{font-size:22px;font-weight:600}.count-input{align-items:center;gap:12px;display:flex}.count-input input{text-align:center;color:#594678;background:#fbf8ff;border:2px solid #cdb7df;border-radius:16px;width:115px;padding:8px;font-size:30px}.count-panel p{text-align:center;color:#80738b;flex-basis:100%;margin:0;font-size:14px}.theme-panel{border:0;margin:35px 0 0;padding:0}.theme-panel legend{text-align:center;width:100%;margin-bottom:20px;font-size:21px;font-weight:600}.theme-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.theme-card{text-align:center;cursor:pointer;border:2px solid #fff;border-radius:23px;flex-direction:column;align-items:center;min-width:0;padding:21px 15px;transition:transform .18s,border-color .18s;display:flex;position:relative;box-shadow:0 5px #dfd5e8}.theme-card:hover{transform:translateY(-3px)}.theme-card.selected{border-color:#8661b6;box-shadow:0 5px #bda3d5}.theme-card input{opacity:0;width:1px;height:1px;position:absolute}.theme-emoji{margin-bottom:12px;font-size:42px}.theme-name{font-size:18px;font-weight:600}.theme-description{color:#665d72;margin-top:7px;font-size:14px}.theme-time{background:#fffa;border-radius:20px;margin-top:14px;padding:4px 10px;font-size:12px}.choice-mark{color:#75559b;background:#ffffffb0;border-radius:50%;width:24px;height:24px;position:absolute;top:12px;right:12px}.blue{background:#e2f1ff}.green{background:#dff0df}.pink{background:#fbe2eb}.yellow{background:#fff0bf}.mint{background:#e0f1e9}.purple{background:#e9e0fc}.start-panel{text-align:center;padding-top:30px}.fresh{justify-content:center;align-items:center;gap:9px;font-size:15px;display:flex}.fresh input{width:19px;height:19px}.resume-note{color:#86768e;font-size:12px}.begin{color:#fff;background:#8460b7;border:3px solid #fff;border-radius:22px;width:min(100%,430px);margin:22px auto 12px;padding:17px 24px;font-size:23px;font-weight:600;display:block;box-shadow:0 6px #c1a9d6}.begin:active{transform:translateY(3px)}.features{color:#7d6c8a;font-size:14px}.error{color:#a22249}.how-to{background:#fff;border:1px solid #e9deef;border-radius:18px;max-width:800px;margin:26px auto;padding:17px 22px}.how-to summary{color:#6c5588;font-weight:600}.how-to p{font-size:14px;line-height:1.9}.setup footer{text-align:center;color:#8c7a99;margin:30px 0 10px;font-size:12px}.standalone-class{margin:4px 0;font-size:15px}.name-draw-overlay .draw-toolbar{flex-wrap:wrap;align-items:center;gap:10px;padding:0 0 6px;display:flex;position:relative;top:auto}.name-draw-overlay .draw-theme-picker{flex:1;justify-content:center}.student-draw-portrait{width:70px;height:84px;margin:auto;display:block}.draw-controls small{display:block}.draw-reset{min-height:44px}.draw-round-complete{color:#315e3b!important}.name-draw-overlay .draw-heading{padding:0}.name-draw-overlay .draw-content{width:100%}@media (width>=769px){.name-draw-fit{flex-direction:column;gap:8px;height:100dvh;padding:12px 20px;display:flex;overflow:auto}.name-draw-fit .draw-toolbar{flex:none;width:100%;max-width:none;min-height:44px}.name-draw-fit .draw-content{flex-direction:column;flex:1;gap:8px;max-width:none;min-height:0;margin:0;display:flex}.name-draw-fit .draw-heading{flex:none;padding:0}.name-draw-fit .draw-content h2{margin:0 0 4px;font-size:clamp(24px,2.4vw,36px);line-height:1.3}.name-draw-fit .draw-heading>p{margin:3px;font-size:14px}.name-draw-fit .draw-kicker{display:none}.name-draw-fit .draw-controls{flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:10px;padding:6px 12px;display:flex}.name-draw-fit .draw-controls .draw-start,.name-draw-fit .draw-controls .draw-reset{margin:0;padding:8px 20px!important;font-size:17px!important}.name-draw-fit .draw-controls>small{flex-basis:100%;font-size:12px}.name-draw-fit .draw-suspense{display:none}.name-draw-fit .draw-resultbar{flex:0 0 60px;justify-content:center;align-items:center;display:flex}.name-draw-fit .draw-winner{align-items:center;gap:16px;margin:0;padding:4px 20px;display:flex}.name-draw-fit .draw-winner .student-draw-portrait{flex-shrink:0;width:45px;height:54px}.name-draw-fit .draw-winner>p,.name-draw-fit .draw-confetti{display:none}.name-draw-fit .draw-winner h3{margin:0;font-size:25px}.name-draw-fit .draw-winner>span{font-size:15px}.name-draw-fit .draw-roster{grid-template-columns:repeat(var(--draw-cols),minmax(0,1fr));grid-template-rows:repeat(var(--draw-rows),minmax(0,1fr));flex:1;gap:8px;width:100%;max-width:none;min-height:150px;margin:0}.name-draw-fit .draw-person{min-height:0;padding:4px}.name-draw-fit .draw-person .student-draw-portrait{height:var(--draw-photo-h);width:auto;max-width:100%;max-height:100%}.name-draw-fit .draw-person span{font-size:var(--draw-name-size)}[data-draw-theme=alien] .alien-sky{flex-basis:160px;min-height:160px}[data-draw-theme=alien] .alien-ufo{transform-origin:top;scale:.75}}@media (width<=768px){.setup{padding:25px 16px}.theme-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.theme-card{padding:18px 8px}.theme-name{font-size:15px}.theme-description{font-size:12px}.theme-emoji{font-size:35px}.count-panel{padding:18px}.count-panel>label{font-size:20px}.name-draw-overlay{padding:10px}.name-draw-overlay .draw-toolbar{grid-template-columns:1fr 1fr;gap:8px;display:grid;position:relative}.name-draw-overlay .draw-theme-picker{grid-area:2/1/auto/-1;font-size:14px}.draw-theme-picker select{flex:1;max-width:280px}.name-draw-overlay .draw-toolbar button{padding:9px 12px!important;font-size:13px!important}.name-draw-overlay .draw-content{margin:12px 0 0}.name-draw-overlay .draw-content h2{margin:8px 0;font-size:27px}.name-draw-overlay .draw-ready-message{font-size:17px}.name-draw-overlay .draw-controls{padding:6px 0 18px}.name-draw-overlay .draw-controls small{font-size:12px}.name-draw-overlay .draw-reset{font-size:14px}.name-draw-overlay .draw-start{font-size:22px!important}.name-draw-overlay .draw-winner h3{font-size:26px}.name-draw-overlay .draw-winner p{font-size:17px}.name-draw-overlay .draw-winner>.student-draw-portrait{width:120px;height:145px}.egg-tray,.duck-yard{height:65dvh;min-height:420px}.lift-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lift-athlete>span{font-size:11px}.draw-roster .student-draw-portrait{width:64px;height:77px}}@media (prefers-reduced-motion:reduce){.theme-card{transition:none}.theme-card:hover{transform:none}}[data-draw-theme=alien] .draw-ready-message{color:#f3edff}@media (width>=769px){.setup{max-width:1050px;padding:14px 24px 10px}.brand-mark{letter-spacing:1.5px;font-size:11px}.hero-doodles{letter-spacing:8px;margin:6px 0 2px;font-size:26px}.setup h1{margin:3px 0 7px;font-size:clamp(26px,3.2vh,34px);line-height:1.3}.setup header p{margin:0 0 12px;font-size:14px}.count-panel{border-radius:20px;gap:7px 16px;padding:10px 16px}.count-panel>label{font-size:19px}.count-input input{width:95px;padding:5px;font-size:25px}.count-panel p{font-size:12px}.theme-panel{margin:16px 0 0}.theme-panel legend{margin-bottom:10px;font-size:18px}.theme-cards{gap:12px}.theme-card{border-radius:19px;padding:12px 10px}.theme-emoji{margin-bottom:5px;font-size:30px}.theme-name{font-size:16px;line-height:1.4}.theme-description{margin-top:4px;font-size:12px}.theme-time{margin-top:7px;padding:2px 9px;font-size:12px}.choice-mark{width:20px;height:20px;top:8px;right:8px}.start-panel{padding-top:14px}.fresh{font-size:14px}.resume-note{margin:5px 0;font-size:12px}.begin{border-radius:18px;margin:10px auto 7px;padding:10px 22px;font-size:20px}.features{margin:5px 0;font-size:12px}.how-to{margin:12px auto 0;padding:9px 16px;font-size:14px}.setup footer{margin:12px 0 0;font-size:11px}}@media (width>=769px) and (height<=720px){.hero-doodles{display:none}.setup{padding-top:8px}.setup header p{margin-bottom:8px}.theme-panel{margin-top:10px}.theme-card{padding:8px 10px}.theme-emoji{margin-bottom:3px;font-size:24px}.theme-time{margin-top:4px}.start-panel{padding-top:10px}.how-to{margin-top:9px}.setup footer{margin-top:8px}}.name-draw-overlay .draw-toolbar{z-index:500;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffdb;border-radius:18px;padding:6px 10px;position:sticky;top:0;box-shadow:0 3px 12px #29213b12}.name-draw-overlay .draw-theme-picker{color:#514467!important}.name-draw-overlay .draw-toolbar button:first-child{min-height:42px;font-weight:600;color:#543776!important;border-color:#c9b4e2!important}@media (width<=768px){.setup{padding:18px 14px}.setup .hero-doodles{margin:10px 0 5px;font-size:28px}.setup h1{font-size:27px}.setup header p{margin-bottom:18px;font-size:14px}.theme-panel{margin-top:22px}.theme-card{padding:13px 6px}.theme-emoji{margin-bottom:7px;font-size:28px}.name-draw-overlay .draw-toolbar{gap:6px;padding:6px}}.student-storybook{aspect-ratio:3/4;background:#fff5e7;border-radius:12px;flex-shrink:0;display:block;position:relative;overflow:hidden}.student-storybook .student-sprite{background-image:url(../characters/student-pair-storybook.png);background-repeat:no-repeat;background-size:200% 100%;width:100%;height:100%;position:absolute;inset:0;border:0!important;border-radius:0!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}.storybook-boy .student-sprite{background-position:0}.storybook-girl .student-sprite{background-position:100%}.name-draw-fit .draw-person .student-storybook{width:auto;height:var(--draw-photo-h);aspect-ratio:3/4;max-height:100%}.name-draw-fit .draw-winner>.student-storybook{flex-shrink:0;width:45px;height:60px}.alien-passenger .student-storybook{width:54px;height:72px}@media (width<=768px){.draw-roster .student-storybook{width:64px;height:85px}.name-draw-overlay .draw-winner>.student-storybook{width:120px;height:160px}}
