:root{--green: #13962d;--green-dark: #0e7522;--green-soft: #e7f5ea;--red: #dc2626;--bg: #0f1318;--panel: #181e25;--panel-2: #212933;--border: #2b3542;--text: #f1f5f9;--muted: #94a3b8;--ink: #0f1318;--radius: 14px;--safe-b: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased}a{color:inherit}input,textarea,select,button{font:inherit;color:inherit}input,textarea,select{width:100%;background:var(--panel-2);border:1px solid var(--border);border-radius:10px;padding:10px 12px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green)}textarea{resize:vertical;line-height:1.45}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}label small{font-weight:400}.muted{color:var(--muted)}.error{color:#f87171;font-size:14px}.ok-msg{color:#4ade80;font-weight:600}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.spacer{flex:1}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 16px;border-radius:12px;border:1px solid var(--border);background:var(--panel-2);font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:background .15s,transform .05s}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.4;cursor:default}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover:not(:disabled){background:var(--green-dark)}.btn.danger{background:#3b1216;border-color:#7f1d1d;color:#fecaca}.btn.danger.ghost{background:transparent;border-color:transparent;color:#f87171}.btn.ghost{background:transparent;border-color:transparent}.btn.small{min-height:34px;padding:4px 10px;font-size:14px}.btn.big{min-height:54px;font-size:17px;width:100%}.btn small{font-weight:400;color:var(--muted);font-size:13px}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.card.narrow{width:min(400px,100%);display:flex;flex-direction:column;gap:14px;text-align:center}.card.narrow label{text-align:left}.center-screen{min-height:100%;display:grid;place-items:center;padding:16px;color:var(--muted)}.center-screen .card{color:var(--text)}.center-screen.dark{background:#000}.login-logo{height:56px;object-fit:contain;align-self:center}.code-input{font-size:44px;font-weight:800;text-align:center;letter-spacing:.35em;padding:14px 0 14px .35em}.small-link{font-size:13px;color:var(--muted)}.page{min-height:100%}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--panel);border-bottom:2px solid var(--green)}.topbar img{height:32px}.topbar h1{font-size:19px}.container{max-width:760px;margin:0 auto;padding:16px;display:flex;flex-direction:column;gap:14px}.section-h{font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:6px}.day-list{list-style:none;display:flex;flex-direction:column;gap:10px}.day-row{display:flex;align-items:center;gap:12px;padding:12px 14px}.day-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-decoration:none}.day-info strong{font-size:17px}.day-info .muted{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reorder{display:flex;flex-direction:column}.reorder .btn{min-height:24px;padding:0 6px;font-size:11px}.resume{display:flex;align-items:center;gap:12px;text-decoration:none;border-color:var(--green);background:#13241a}.resume div{display:flex;flex-direction:column}.hint{font-size:14px;color:var(--muted);line-height:1.5}.hint code{color:var(--text);background:var(--panel-2);padding:1px 6px;border-radius:6px}.live-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;box-shadow:0 0 #ef444499;animation:pulse 1.6s infinite;flex:0 0 auto}@keyframes pulse{70%{box-shadow:0 0 0 10px #ef444400}to{box-shadow:0 0 #ef444400}}.sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0000008c;display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(640px,100%);max-height:85vh;overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:20px 20px 0 0;padding:18px 16px calc(18px + var(--safe-b));display:flex;flex-direction:column;gap:12px;animation:up .2s ease-out}@keyframes up{0%{transform:translateY(40px);opacity:0}}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet .row .btn{flex:1}.stage-outer{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0}.stage-box{position:relative;overflow:hidden;border-radius:6px;box-shadow:0 10px 40px #00000059}.stage{position:absolute;top:0;left:0;width:1600px;height:900px;transform-origin:0 0}.stage-touch{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;touch-action:none;cursor:crosshair}.ink{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3}.laser{position:absolute;z-index:4;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:radial-gradient(circle,#ff3b3b 0,#ff3b3b 35%,#ff282873 36%,#ff282873 60%,#ff282800 61%);box-shadow:0 0 30px 10px #ff282859;pointer-events:none;transition:left .09s linear,top .09s linear}.sl{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;color:var(--ink);font-family:Inter,sans-serif;display:flex;flex-direction:column;padding:70px 90px 90px;overflow:hidden}.sl:before{content:"";position:absolute;left:0;top:0;bottom:0;width:16px;background:var(--green)}.sl strong{color:var(--green-dark);font-weight:800}.sl-h{font-size:64px;font-weight:800;line-height:1.1;letter-spacing:-.02em;margin-bottom:44px;display:flex;align-items:center;gap:24px}.sl-body{flex:1;min-height:0;display:flex;gap:60px}.sl-bullets{flex:1;list-style:none;display:flex;flex-direction:column;gap:.55em;line-height:1.3;font-weight:500}.sl-bullets li{position:relative;padding-left:1.2em}.sl-bullets li:before{content:"";position:absolute;left:0;top:.45em;width:.42em;height:.42em;border-radius:3px;background:var(--green)}.sl-bullets li.sub{margin-left:1.3em;font-size:.82em;color:#334155}.sl-bullets li.sub:before{background:transparent;border:3px solid var(--green);border-radius:50%}.sl-side-img{flex:0 0 44%;display:flex;align-items:center;justify-content:center}.sl-side-img img,.sl-figure img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}.sl-figure{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.sl-figure img{min-height:0;flex:1}.sl-figure figcaption{font-size:34px;color:#334155;text-align:center}.sl-image:not(:has(.sl-h)){padding-top:50px}.sl-ph{flex:1;display:grid;place-items:center;font-size:36px;color:#94a3b8;border:4px dashed #cbd5e1;border-radius:20px}.sl-title{background:linear-gradient(135deg,#ffffff 0%,#ffffff 55%,var(--green-soft) 100%)}.sl-title-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;gap:28px;position:relative}.sl-kicker{font-size:34px;font-weight:700;color:var(--green);text-transform:uppercase;letter-spacing:.12em}.sl-big{font-size:110px;font-weight:900;line-height:1.02;letter-spacing:-.03em;max-width:1100px}.sl-sub{font-size:44px;color:#475569;max-width:1100px}.sl-title-img{position:absolute;right:0;top:50%;transform:translateY(-50%);max-width:420px;max-height:520px;object-fit:contain}.sl-video,.sl-video-thumb{flex:1;border:0;border-radius:14px;background:#000}.sl-video-thumb{background-size:cover;background-position:center;display:grid;place-items:center}.sl-video-thumb span{width:160px;height:160px;border-radius:50%;background:#0009;color:#fff;font-size:70px;display:grid;place-items:center;padding-left:12px}.sl-quiz-tag{font-size:26px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#fff;background:var(--green);padding:8px 18px;border-radius:10px;flex:0 0 auto}.sl-quiz{flex:1;display:flex;flex-direction:column;gap:24px}.sl-quiz-grid{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:26px}.sl-quiz-grid.n2,.sl-quiz-grid.n3{grid-template-columns:1fr}.sl-opt{position:relative;display:flex;align-items:center;gap:26px;padding:22px 30px;border-radius:20px;background:#f1f5f9;border:4px solid #e2e8f0;font-size:40px;font-weight:600;overflow:hidden;transition:border-color .2s,background .2s,opacity .3s}.sl-opt.tap{cursor:pointer}.sl-opt.mine{border-color:#2563eb;background:#dbeafe}.sl-letter{flex:0 0 auto;width:76px;height:76px;border-radius:16px;display:grid;place-items:center;font-weight:900;color:#fff;background:#64748b}.sl-opt.o0 .sl-letter{background:#2563eb}.sl-opt.o1 .sl-letter{background:#f59e0b}.sl-opt.o2 .sl-letter{background:#9333ea}.sl-opt.o3 .sl-letter{background:#0891b2}.sl-opt-text{flex:1;position:relative;z-index:1}.sl-opt.correct{border-color:var(--green);background:var(--green-soft)}.sl-opt.correct .sl-letter{background:var(--green)}.sl-opt.wrong{opacity:.55}.sl-bar{position:absolute;left:0;right:0;bottom:0;height:14px;background:#0000000f}.sl-bar-fill{display:block;height:100%;background:#64748b;transition:width .8s cubic-bezier(.2,.8,.2,1)}.sl-opt.correct .sl-bar-fill{background:var(--green)}.sl-bar-num{position:absolute;right:24px;bottom:22px;font-size:34px;font-weight:800;color:#334155}.sl-quiz-hint{text-align:center;font-size:34px;font-weight:700;color:var(--green)}.sl-foot{position:absolute;left:90px;right:60px;bottom:26px;display:flex;align-items:center;gap:18px;font-size:22px;color:#94a3b8;font-weight:600}.sl-foot img{height:34px;opacity:.9}.sl-page{margin-left:auto}.sl-empty{display:grid;place-items:center}.sl-empty-logo{height:180px}.beamer{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;overflow:hidden;cursor:none}.beamer:hover{cursor:default}.bm-stage{position:absolute;top:0;right:0;bottom:0;left:0}.bm-stage .stage-box{border-radius:0;box-shadow:none}.bm-idle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2vh;text-align:center;background:radial-gradient(circle at 50% 40%,#16321f,#000 70%)}.bm-idle img{height:16vh;margin-bottom:2vh}.bm-idle h1{font-size:7vh;font-weight:900}.bm-idle p{font-size:3vh;color:var(--muted)}.bm-qr{position:absolute;right:2.5vw;bottom:4vh;z-index:20;display:flex;align-items:center;gap:2vw;background:#fff;color:var(--ink);border-radius:2vh;padding:2vh;box-shadow:0 2vh 6vh #0006;animation:up .3s ease-out}.bm-qr img{width:22vh;height:22vh}.bm-qr-text{display:flex;flex-direction:column;gap:.6vh;padding-right:1vw}.bm-qr-text span{font-size:2.6vh;font-weight:700;color:var(--green)}.bm-qr-code{font-size:10vh;font-weight:900;letter-spacing:.08em;line-height:1}.bm-qr-text small{font-size:1.9vh;color:#64748b}.bm-qr.big{right:50%;bottom:50%;transform:translate(50%,50%);padding:4vh;gap:4vw;animation:none}.bm-qr.big img{width:44vh;height:44vh}.bm-qr.big .bm-qr-code{font-size:18vh}.bm-qr.big .bm-qr-text span{font-size:4vh}.bm-qr.big .bm-qr-text small{font-size:2.6vh}.bm-code-chip{position:absolute;right:1vw;top:1.2vh;z-index:20;font-size:1.8vh;background:#0f1318bf;color:#fff;padding:.6vh 1vw;border-radius:999px}.bm-code-chip strong{letter-spacing:.08em}.bm-question{position:absolute;left:50%;top:6vh;transform:translate(-50%);z-index:25;width:min(80vw,1400px);background:#0f1318;color:#fff;border-left:1.2vh solid var(--green);border-radius:2vh;padding:3vh 4vw;box-shadow:0 2vh 8vh #00000080;animation:up .3s ease-out}.bm-question span{font-size:2.2vh;text-transform:uppercase;letter-spacing:.1em;color:#86efac;font-weight:700}.bm-question p{font-size:4.6vh;font-weight:700;line-height:1.25;margin-top:1vh}.bm-fs{position:absolute;left:1vw;bottom:1.5vh;z-index:30;background:#0f1318cc;color:#fff;border:1px solid #334155;border-radius:10px;padding:8px 14px;cursor:pointer}.student{min-height:100%;display:flex;flex-direction:column;gap:12px;padding:0 0 calc(16px + var(--safe-b))}.st-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--panel);border-bottom:2px solid var(--green)}.st-head img{height:30px}.st-title{flex:1;min-width:0;display:flex;flex-direction:column}.st-title span{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-stage{aspect-ratio:16 / 9;width:100%;padding:0 10px;max-height:70vh}.st-vote{text-align:center;font-weight:600;color:#93c5fd;padding:0 16px}.st-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px}.st-live{font-size:14px;color:#f87171;font-weight:600}.st-actions{padding:0 12px;margin-top:auto}@media (orientation: landscape) and (max-height: 500px){.student{display:grid;grid-template-columns:1fr 220px;grid-template-rows:auto 1fr auto;gap:8px}.st-head{grid-column:1 / -1}.st-stage{grid-row:2 / 4;max-height:none;height:100%;aspect-ratio:auto}.st-nav{flex-direction:column;align-items:stretch}}.remote{height:100%;display:flex;flex-direction:column;gap:10px;padding-bottom:calc(10px + var(--safe-b));overflow:hidden;-webkit-user-select:none;user-select:none}.rm-head{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--panel);border-bottom:2px solid var(--green)}.rm-back{font-size:28px;text-decoration:none;padding:0 8px}.rm-title{flex:1;display:flex;flex-direction:column;min-width:0}.rm-title span{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px}.rm-title b{color:var(--text);letter-spacing:.08em}.conn{width:8px;height:8px;border-radius:50%;background:#f59e0b}.conn.on{background:#22c55e}.badge-btn{position:relative;font-size:20px}.badge{position:absolute;top:2px;right:4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;font-size:12px;display:grid;place-items:center}.rm-stage{flex:0 0 auto;aspect-ratio:16 / 9;width:100%;padding:0 8px}.rm-tools{display:flex;align-items:center;gap:8px;padding:0 10px;overflow-x:auto}.tool{min-height:40px;padding:6px 12px;border-radius:10px;background:var(--panel-2);border:1px solid var(--border);font-weight:600;white-space:nowrap;cursor:pointer}.tool.on{border-color:var(--green);background:#13241a}.swatch{flex:0 0 auto;width:30px;height:30px;border-radius:50%;border:3px solid transparent;cursor:pointer}.swatch.on{border-color:#fff}.rm-extra{display:flex;gap:8px;align-items:center;padding:0 10px}.rm-extra .btn{flex:1}.rm-count{font-weight:700;color:#86efac;white-space:nowrap}.rm-nav{display:flex;align-items:stretch;gap:10px;padding:0 10px}.rm-nav .btn.nav{flex:1;min-height:76px;font-size:40px;border-radius:18px}.rm-nav .btn.ghost{min-width:80px;font-size:15px}.rm-notes{flex:1;min-height:60px;overflow:auto;margin:0 10px;padding:12px 14px;border-radius:12px;background:var(--panel);border:1px solid var(--border);-webkit-user-select:text;user-select:text}.rm-notes span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.rm-notes p{white-space:pre-wrap;line-height:1.45;margin-top:4px}.slide-jump{list-style:none;display:flex;flex-direction:column;gap:4px}.slide-jump button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:10px;background:transparent;border:1px solid transparent;cursor:pointer}.slide-jump button.on{background:#13241a;border-color:var(--green)}.slide-jump .num{color:var(--muted);width:24px;text-align:right}.slide-jump em{margin-left:auto;font-style:normal;font-size:12px;color:#86efac}.q-list{list-style:none;display:flex;flex-direction:column;gap:10px}.q-list li{background:var(--panel-2);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.q-list li.done{opacity:.5}.q-list p{font-size:16px;line-height:1.4}.q-list .row .btn{flex:0 0 auto}.q-list .row small{margin-right:auto}.day-title-input{width:auto;flex:1;max-width:320px;font-size:18px;font-weight:700;background:transparent;border-color:transparent}.day-title-input:focus{background:var(--panel-2)}.save-state{font-size:13px}.ed-grid{display:grid;grid-template-columns:250px 1fr;gap:16px;padding:16px;max-width:1400px;margin:0 auto}.ed-list{display:flex;flex-direction:column;gap:10px;position:sticky;top:70px;max-height:calc(100vh - 90px);overflow:auto;padding-right:4px}.ed-list ol{list-style:none;display:flex;flex-direction:column;gap:8px}.ed-thumb{width:100%;display:flex;gap:8px;align-items:flex-start;background:transparent;border:2px solid transparent;border-radius:10px;padding:4px;cursor:pointer}.ed-thumb.on{border-color:var(--green)}.ed-thumb .num{font-size:12px;color:var(--muted);width:16px}.thumb-stage{flex:1;aspect-ratio:16 / 9;pointer-events:none}.thumb-stage .stage-box{box-shadow:none;border-radius:4px}.add-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ed-main{display:flex;flex-direction:column;gap:14px;min-width:0}.ed-preview{aspect-ratio:16 / 9;width:100%}.ed-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ed-toolbar select{width:auto}.ed-form{display:flex;flex-direction:column;gap:14px;padding-bottom:40px}.lbl{font-size:14px;font-weight:600}.quiz-opts{display:flex;flex-direction:column;gap:8px}.quiz-opt{display:flex;gap:8px;align-items:center}.quiz-opt .letter{flex:0 0 auto;width:42px;height:42px;border-radius:10px;border:2px solid var(--border);background:var(--panel-2);font-weight:800;cursor:pointer}.quiz-opt.correct .letter{background:var(--green);border-color:var(--green);color:#fff}.quiz-opt.correct input{border-color:var(--green)}.img-field{display:flex;flex-direction:column;gap:6px}.img-field img{height:64px;border-radius:8px;background:#fff}.ed-subtitle{font-size:14px}@media (max-width: 760px){.ed-grid{grid-template-columns:1fr;padding:10px}.ed-list{position:static;max-height:none;order:2}.ed-list ol{flex-direction:row;overflow-x:auto;padding-bottom:4px}.ed-list li{flex:0 0 150px}}.sl-full{padding:0;background:#000;align-items:center;justify-content:center}.sl-full:before{display:none}.sl-full img{width:100%;height:100%;object-fit:contain}.sl-full-title{position:absolute;left:0;right:0;bottom:0;padding:26px 60px;background:linear-gradient(transparent,#000000bf);color:#fff;font-size:52px;font-weight:800}.sl-full-title strong{color:#86efac}.sl-groups{flex:1;display:flex;flex-direction:column;gap:26px}.sl-groups-intro{font-size:34px;color:#334155}.sl-groups-grid{flex:1;display:grid;grid-template-columns:repeat(2,1fr);gap:20px;align-content:center}.sl-groups-grid.n5,.sl-groups-grid.n6,.sl-groups-grid.n9{grid-template-columns:repeat(3,1fr)}.sl-groups-grid.n7,.sl-groups-grid.n8,.sl-groups-grid.n10,.sl-groups-grid.n11,.sl-groups-grid.n12{grid-template-columns:repeat(4,1fr)}.sl-group{display:flex;align-items:center;gap:20px;padding:24px 26px;border-radius:20px;background:#f1f5f9;border:4px solid #e2e8f0;font-size:36px;font-weight:700;line-height:1.15}.sl-group.tap{cursor:pointer}.sl-group-num{flex:0 0 auto;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900}.task-text{white-space:pre-wrap;line-height:1.5;font-size:16px;-webkit-user-select:text;user-select:text}.task-text b{color:#86efac}.group-picker{display:flex;flex-direction:column;gap:8px}.group-picker .btn{justify-content:flex-start}label.check{flex-direction:row;align-items:center;gap:10px;font-weight:500}label.check input{width:20px;height:20px;flex:0 0 auto}.group-edit{display:flex;flex-direction:column;gap:8px;padding:12px}.group-edit .row input{flex:1;width:auto}.st-actions.task{margin-top:0}.remote{overflow-y:auto}.rm-stage{max-height:55vh}.rm-controls{display:flex;flex-direction:column;gap:10px}@media (min-width: 700px) and (min-aspect-ratio: 4/3){.remote{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto minmax(0,1fr);column-gap:10px;overflow:hidden}.rm-head{grid-column:1 / -1}.rm-stage{max-height:none;height:100%;aspect-ratio:auto;padding:0 0 0 8px}.rm-controls{overflow-y:auto;padding-right:4px}.rm-controls .rm-tools{flex-wrap:wrap}.rm-controls .rm-nav .btn.nav{min-height:90px}}.st-stage-wrap{position:relative}.st-zoom-btn{position:absolute;right:18px;bottom:8px;z-index:6;padding:6px 12px;border-radius:999px;border:0;background:#0f1318cc;color:#fff;font-weight:700;font-size:14px;cursor:pointer}.zoom{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#000;overflow:hidden}.zoom-frame{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;overflow:hidden}.zoom-frame.rot{inset:auto;top:0;left:100vw;width:100vh;height:100vw;transform-origin:0 0;transform:rotate(90deg)}.zoom-inner{width:100%;height:100%;transform-origin:50% 50%}.zoom-stage{width:100%;height:100%}.zoom-stage .stage-box{border-radius:0;box-shadow:none}.zoom-close{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:10px;z-index:3;width:44px;height:44px;border-radius:50%;border:0;background:#ffffff2e;color:#fff;font-size:20px;cursor:pointer}.zoom-hint{position:absolute;left:50%;bottom:14px;transform:translate(-50%);z-index:2;padding:6px 14px;border-radius:999px;background:#000000a6;color:#cbd5e1;font-size:13px;white-space:nowrap;pointer-events:none;animation:fadeout 4s forwards}.zoom-hint.rot{left:14px;bottom:50%;transform:translate(-50%,50%) rotate(90deg) translateY(-50%);transform-origin:center}@keyframes fadeout{70%{opacity:1}to{opacity:0}}.task-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;background:var(--bg);display:flex;flex-direction:column;animation:up .2s ease-out}.task-head{display:flex;align-items:center;gap:6px;padding:10px 12px;background:var(--panel);border-bottom:2px solid var(--green)}.task-head .btn{font-size:26px;padding:0 10px}.task-head small{color:var(--muted);font-size:13px}.task-head h3{font-size:20px;line-height:1.2}.task-body{flex:1;overflow-y:auto;padding:16px 16px calc(24px + var(--safe-b));display:flex;flex-direction:column;gap:16px}.task-intro{color:var(--muted);font-size:15px}.task{display:flex;flex-direction:column;gap:14px;font-size:18px;line-height:1.5;-webkit-user-select:text;user-select:text}.task-sec{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}.task-sec h4{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.25}.task-num{flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:16px;font-weight:800}.task-q{background:#13241a;border-left:4px solid var(--green);border-radius:10px;padding:10px 12px}.task-q span{display:block;font-size:13px;font-weight:700;color:#86efac;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.task-list{list-style:none;display:flex;flex-direction:column;gap:6px}.task-list li{background:var(--panel-2);border-radius:10px;padding:8px 12px;font-size:16px}.bm-questions{position:absolute;top:5vh;right:3vw;bottom:5vh;left:3vw;z-index:25;display:grid;gap:2vh 2vw;align-content:start;pointer-events:none}.bm-questions.n2,.bm-questions.n4{grid-template-columns:1fr 1fr}.bm-questions.n3,.bm-questions.n5,.bm-questions.n6{grid-template-columns:1fr 1fr 1fr}.bm-questions .bm-question{position:static;transform:none;width:auto}.bm-questions:not(.n1) .bm-question p{font-size:3.4vh}.bm-task{position:absolute;top:0;right:0;bottom:0;left:0;z-index:24;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:3vh 3vw;animation:up .3s ease-out}.bm-task-card{width:min(92vw,1700px);max-height:94vh;overflow:hidden;background:#0f1318;border-left:1.2vh solid var(--green);border-radius:2vh;padding:3vh 3vw;display:flex;flex-direction:column;gap:1.5vh}.bm-task-kicker{font-size:2vh;text-transform:uppercase;letter-spacing:.1em;color:#86efac;font-weight:700}.bm-task-card h2{font-size:5vh;line-height:1.1}.task.big{font-size:2.6vh;gap:1.5vh;display:grid;grid-template-columns:1fr 1fr;align-items:start}.task.big .task-sec{padding:2vh 1.5vw;border-radius:1.5vh;gap:1vh}.task.big .task-sec h4{font-size:3vh}.task.big .task-num{width:4vh;height:4vh;font-size:2.2vh}.task.big .task-q span{font-size:1.8vh}.task.big .task-list{display:grid;grid-template-columns:1fr 1fr;gap:.8vh}.task.big .task-list li{font-size:2.1vh;padding:.7vh 1vw}.rm-extra.groups{flex-direction:column;align-items:stretch}.rm-team-btns{display:flex;flex-wrap:wrap;gap:6px}.rm-team-btns .btn{flex:0 0 auto}.bm-task-card{overflow-y:auto}.task.big .task-list{grid-template-columns:repeat(3,1fr)}.task.big .task-list{grid-template-columns:repeat(4,1fr);gap:.6vh .5vw}.task.big .task-list li{font-size:1.9vh;line-height:1.3}.task.big .task-sec:has(.task-list){grid-column:span 1}.task.big:has(.task-list){grid-template-columns:1fr}.task.big .task-list{grid-template-columns:repeat(5,1fr)}.sl-group.colored{border-color:var(--team);background:color-mix(in srgb,var(--team) 10%,#fff)}.sl-group.colored .sl-group-num{background:var(--team)}.sl-group-name{flex:1}.sl-group-count{flex:0 0 auto;font-size:30px;font-weight:800;color:var(--team)}.my-team{margin:0 12px;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;border:0;background:var(--team);color:#fff;text-align:left;cursor:pointer;box-shadow:0 6px 20px color-mix(in srgb,var(--team) 45%,transparent);animation:up .3s ease-out}.my-team-num{flex:0 0 auto;width:58px;height:58px;border-radius:50%;background:#ffffff40;display:grid;place-items:center;font-size:30px;font-weight:900}.my-team-text{display:flex;flex-direction:column;line-height:1.2}.my-team-text small{opacity:.85}.my-team-text strong{font-size:20px}.my-team-text em{font-style:normal;font-size:14px;opacity:.9;margin-top:2px}.task-team-dot{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-size:15px;font-weight:900;margin-right:8px;vertical-align:2px}.rm-teams{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-weight:600;margin-bottom:4px}.rm-teams span{margin-right:auto;color:#86efac}.rm-teams .btn{flex:0 0 auto}.st-answers{display:flex;flex-direction:column;gap:8px;padding:0 12px}.st-answer{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 14px;border-radius:14px;border:2px solid var(--border);background:var(--panel);font-size:17px;font-weight:600;text-align:left;cursor:pointer}.st-answer span{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-weight:900;color:#fff;background:#64748b}.st-answer.o0 span{background:#2563eb}.st-answer.o1 span{background:#f59e0b}.st-answer.o2 span{background:#9333ea}.st-answer.o3 span{background:#0891b2}.st-answer.mine{border-color:#60a5fa;background:#172554}.st-answers .st-vote{font-size:14px;padding:2px 0 0}.st-result{margin:0 12px;padding:14px 16px;border-radius:14px;font-size:18px;font-weight:700;text-align:center;animation:up .3s ease-out}.st-result.ok{background:#14532d;color:#bbf7d0}.st-result.no{background:#450a0a;color:#fecaca}.sl-group.colored{flex-wrap:wrap}.sl-group-names{flex:1 0 100%;font-size:26px;font-weight:600;color:#334155;line-height:1.3;padding-left:84px}.mono{font-family:ui-monospace,JetBrains Mono,Consolas,monospace;letter-spacing:.08em;color:var(--text)}.class-pick select{font-size:16px}.class-pick small a{color:#86efac}.class-card{padding:0}.class-head{width:100%;display:flex;align-items:center;gap:12px;padding:14px;background:transparent;border:0;text-align:left;cursor:pointer}.class-detail{padding:0 14px 14px;display:flex;flex-direction:column;gap:14px}.class-qr{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}.class-qr img{width:140px;height:140px;border-radius:10px;background:#fff}.class-qr>div{flex:1;min-width:200px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.class-url{word-break:break-all;background:var(--panel-2);padding:6px 10px;border-radius:8px;font-size:13px}.class-detail .row input{flex:1;width:auto}.topbar-title{display:flex;flex-direction:column;line-height:1.2}.name-input{font-size:22px;text-align:center;padding:14px}.my-classes{display:flex;flex-direction:column;gap:6px;text-align:left}.st-docs{font-size:20px;padding:0 8px}.seg{display:flex;background:var(--panel-2);border-radius:12px;padding:4px;gap:4px}.seg button{flex:1;border:0;border-radius:9px;padding:10px 8px;background:transparent;font-weight:700;cursor:pointer}.seg button.on{background:var(--green);color:#fff}.q-author{color:#86efac;font-weight:600}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.photo-item{display:flex;flex-direction:column;gap:6px;border:2px solid transparent;border-radius:12px;padding:4px}.photo-item.on{border-color:var(--green)}.photo-item img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:8px;cursor:pointer}.photo-item .row .btn:first-child{flex:1}label.tool{display:inline-flex;align-items:center}.bm-photo{position:absolute;top:0;right:0;bottom:0;left:0;z-index:23;background:#000;display:flex;align-items:center;justify-content:center;animation:up .3s ease-out}.bm-photo img{max-width:100%;max-height:100%;object-fit:contain}.print-only{display:none}.pdf-hint{font-size:13px}.mappe-day{display:flex;flex-direction:column;gap:12px;margin-bottom:30px}.mappe-h{font-size:24px;border-bottom:3px solid var(--green);padding-bottom:6px;display:flex;flex-direction:column}.mappe-h small{font-size:14px;color:var(--muted);font-weight:500}.mappe-sub{font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:#86efac;margin-top:8px}.mappe-slides{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.mappe-stage{aspect-ratio:16 / 9;width:100%}.mappe-link{font-size:13px;color:var(--muted);word-break:break-all}.mappe-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.mappe-photos img{width:100%;border-radius:10px}.mappe-quiz{padding-left:22px;display:flex;flex-direction:column;gap:12px}.mappe-quiz ul{list-style:none;margin-top:4px;display:flex;flex-direction:column;gap:2px}.mappe-quiz li.right{color:#4ade80;font-weight:700}.mappe-task{margin-bottom:12px}.mappe-task h4{margin-bottom:8px}@media print{@page{size:A4 portrait;margin:12mm}html,body,#root{height:auto;background:#fff!important;color:#0f1318!important}.screen-only{display:none!important}.print-only{display:block}.mappe .container{max-width:none;padding:0}.print-head{display:flex;align-items:center;gap:14px;border-bottom:2px solid #13962d;padding-bottom:8px;margin-bottom:10px}.print-head img{height:34px}.print-head div{display:flex;flex-direction:column}.mappe-day{break-before:page}.mappe-day:first-of-type{break-before:auto}.mappe-h small,.mappe-link{color:#475569}.mappe-sub{color:#0e7522}.mappe-slides{display:block}.mappe-slide{break-inside:avoid;margin:0 auto 10px;width:700px}.pslide{position:relative;overflow:hidden;border:1px solid #cbd5e1}.mappe-photos{display:block}.mappe-photos img{display:block;max-width:100%;max-height:240mm;margin:0 auto 10px;break-inside:avoid}.mappe-quiz li.right{color:#0e7522}.mappe-quiz>li,.mappe-task{break-inside:avoid}.task-sec{background:#fff;border-color:#cbd5e1;break-inside:avoid}.task-q{background:#f0fdf4}.task-q span{color:#0e7522}.task-list li{background:#f1f5f9}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}a.day-row{text-decoration:none}@media print{.mappe .task{font-size:13px;line-height:1.4;gap:6px}.mappe .task-sec{padding:8px 10px;gap:4px}.mappe .task-sec h4{font-size:14px}.mappe .task-num{width:22px;height:22px;font-size:12px}.mappe .task-list{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.mappe .task-list li{font-size:11px;padding:3px 6px}.mappe .task-q{padding:5px 8px}}.install-btn{border-color:var(--green);background:#13241a}.install-steps{list-style:none;display:flex;flex-direction:column;gap:12px;counter-reset:s}.install-steps li{display:flex;align-items:center;gap:14px;font-size:17px;line-height:1.35;background:var(--panel-2);border-radius:14px;padding:12px 14px}.step-icon{flex:0 0 auto;width:44px;height:44px;padding:8px;border-radius:12px;background:#fff;color:#2563eb;display:grid;place-items:center;font-size:26px;font-weight:900}.install-code{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;border:2px dashed var(--green);border-radius:14px;padding:12px}.install-code span{font-size:13px;color:#86efac;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.install-code strong{font-size:40px;font-weight:900}.small{font-size:13px}.notice{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:#080c10e0;display:grid;place-items:center;padding:20px;animation:up .25s ease-out}.notice-card{width:min(420px,100%);background:var(--panel);border:2px solid var(--green);border-radius:24px;padding:28px 22px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.notice-look .notice-card{border-color:#60a5fa}.notice-icon{font-size:64px;line-height:1;animation:pop .6s ease-out}@keyframes pop{0%{transform:scale(.4)}60%{transform:scale(1.15)}}.notice-text{font-size:24px;font-weight:800;line-height:1.25}.notice-timer{font-size:64px;font-weight:900;font-variant-numeric:tabular-nums;color:#86efac}.notice-sub{color:var(--muted)}.pause-bar{position:fixed;top:0;left:0;right:0;z-index:120;background:var(--green);color:#fff;text-align:center;font-weight:700;padding:6px;font-variant-numeric:tabular-nums}.notice-presets{display:flex;flex-direction:column;gap:8px}.notice-presets .btn{justify-content:flex-start}.notice-status{display:flex;align-items:center;gap:10px;background:#13241a;border:1px solid var(--green);border-radius:12px;padding:10px 12px}.notice-status span{flex:1}.bm-pause{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;background:radial-gradient(circle at 50% 40%,#16321f,#000 75%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1vh;animation:up .3s ease-out}.bm-pause-icon{font-size:14vh}.bm-pause h1{font-size:9vh;font-weight:900}.bm-pause-timer{font-size:22vh;font-weight:900;font-variant-numeric:tabular-nums;color:#86efac;line-height:1}.bm-pause p{font-size:3.5vh;color:var(--muted)}.bm-banner{position:absolute;left:50%;bottom:5vh;transform:translate(-50%);z-index:26;display:flex;align-items:center;gap:1.5vw;max-width:90vw;background:#0f1318;color:#fff;border-left:1.2vh solid var(--green);border-radius:2vh;padding:2.5vh 3vw;font-size:4.5vh;font-weight:800;box-shadow:0 2vh 8vh #00000080;animation:up .3s ease-out}.rm-active-notice{display:flex;align-items:center;gap:10px;margin:0 8px;padding:10px 12px;border-radius:14px;background:#1e3a8a;border:2px solid #60a5fa;animation:up .25s ease-out}.rm-active-notice.pause{background:#14532d;border-color:#4ade80;animation:up .25s ease-out,glow 2s ease-in-out infinite}@keyframes glow{50%{box-shadow:0 0 0 4px #4ade8040}}.rm-an-icon{font-size:28px}.rm-an-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}.rm-an-text small{font-size:12px;opacity:.85}.rm-an-text strong{font-size:18px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 700px) and (min-aspect-ratio: 4/3){.rm-active-notice{grid-column:1 / -1}}@media (min-width: 700px) and (min-aspect-ratio: 4/3){.remote:has(.rm-active-notice){grid-template-rows:auto auto minmax(0,1fr)}}.chat-page{height:100%;display:flex;flex-direction:column}.chat-list{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;max-width:760px;width:100%;margin:0 auto}.chat-empty{text-align:center;margin:auto;line-height:1.6}.msg{align-self:flex-start;max-width:82%;background:var(--panel-2);border-radius:16px 16px 16px 4px;padding:8px 12px 6px;display:flex;flex-direction:column;gap:2px;cursor:pointer;position:relative}.msg.mine{align-self:flex-end;background:#14532d;border-radius:16px 16px 4px}.msg.teacher{background:#1e3a8a;border:1px solid #60a5fa}.msg.deleted{opacity:.45}.msg-author{font-size:12px;font-weight:700;color:#86efac}.msg.teacher .msg-author{color:#bfdbfe}.msg p{white-space:pre-wrap;word-break:break-word;line-height:1.4}.msg-time{align-self:flex-end;font-size:11px;color:var(--muted)}.msg-menu,.msg-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.msg-flag{color:#fca5a5;font-weight:700}.chat-input{display:flex;gap:8px;align-items:flex-end;padding:10px 12px calc(10px + var(--safe-b));background:var(--panel);border-top:1px solid var(--border)}.chat-input textarea{flex:1;max-height:120px;resize:none}.chat-input .btn{min-width:48px;font-size:20px}.chat-blocked{padding:14px;text-align:center;color:var(--muted);background:var(--panel);border-top:1px solid var(--border)}.chat-err{padding:0 12px 8px}.push-banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 12px 0;padding:10px 12px;border-radius:12px;background:#172554;border:1px solid #3b82f6;font-size:14px}.push-banner span{flex:1}.push-banner.on{background:#13241a;border-color:var(--green)}.container .push-banner{margin:0}.chat-card{display:flex;align-items:center;gap:12px;text-decoration:none;border-color:#3b82f6}.chat-card-icon{font-size:28px}.badge.static{position:static;display:inline-grid}.tc-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--border)}.ed-list li{display:flex;align-items:stretch;gap:2px;border-radius:10px;transition:opacity .15s}.ed-list li .ed-thumb{flex:1;min-width:0}.drag-handle{flex:0 0 auto;width:22px;display:grid;place-items:center;color:var(--muted);font-size:18px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px}.drag-handle:hover{background:var(--panel-2);color:var(--text)}.ed-list li.dragging{opacity:.35}.ed-list li.drop-before{box-shadow:0 -4px 0 0 var(--green)}.ed-list li.drop-after{box-shadow:0 4px 0 0 var(--green)}@media (max-width: 760px){.ed-list li.drop-before{box-shadow:-4px 0 0 0 var(--green)}.ed-list li.drop-after{box-shadow:4px 0 0 0 var(--green)}.drag-handle{width:26px;font-size:20px}}body:has(.ed-list li.dragging){cursor:grabbing;-webkit-user-select:none;user-select:none}.mappe-inline-photo{margin-top:8px;display:flex;flex-direction:column;gap:4px}.mappe-inline-photo img{width:100%;border-radius:10px;border:3px solid var(--green)}.mappe-inline-photo figcaption{font-size:12px;color:#86efac}@media print{.mappe-inline-photo{break-inside:avoid}.mappe-inline-photo img{max-height:200mm;object-fit:contain}.mappe-inline-photo figcaption{color:#0e7522}}.sl-free{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.sl-free .fi{position:absolute;object-fit:contain}.sl-free .fi-text{line-height:1.25;white-space:normal;overflow-wrap:anywhere}.sl-free .fi-text>div{min-height:1em}.fe-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;touch-action:none}.fe-box{position:absolute;cursor:move;outline:2px dashed rgba(37,99,235,.35);outline-offset:2px;touch-action:none}.fe-box.on{outline:5px solid #2563eb}.fe-ghost{pointer-events:none;opacity:0}.fe-ghost .sl-free,.fe-ghost .fi{position:static}.fe-handle{position:absolute;right:-26px;bottom:-26px;width:52px;height:52px;border-radius:50%;background:#2563eb;border:6px solid #fff;cursor:nwse-resize;touch-action:none}.fe-tools{display:flex;flex-direction:column;gap:10px}.fe-tools .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.fe-props{display:flex;flex-direction:column;gap:10px;padding:12px}.fe-col{width:28px;height:28px;border-radius:50%;border:2px solid #d1d5db;padding:0}.fe-col.on{border:3px solid #2563eb}.sl-tafel{padding:0}.sl-tafel:before{display:none}.tafel-svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;touch-action:none}.tafel-title{position:absolute;left:36px;top:22px;z-index:2;font-size:44px;font-weight:800;color:#fff;background:#111827b8;padding:6px 22px;border-radius:14px}.tafel-blink{animation:tafelBlink .7s steps(1) infinite}@keyframes tafelBlink{50%{opacity:0}}.tafelpanel{display:flex;flex-direction:column;gap:8px}.tp-wrap{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:10px;overflow:hidden;background:#cfe3b8}.tp-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.tp-sep{width:1px;height:22px;background:#80808066;margin:0 2px}.tp-hint{margin:0}.tablet-screen{position:fixed;left:0;right:0;top:0;height:100dvh;z-index:80;display:flex;flex-direction:column;background:#0b1016;color:#e5e7eb;overflow:hidden}.ts-rot{width:100%;height:100%;display:flex;flex-direction:column}.ts-rot.on{position:absolute;top:0;transform-origin:0 0;transform:rotate(90deg)}.ts-flip{border:0;border-radius:999px;padding:6px 12px;background:#1f2937;color:#e5e7eb;font-size:13px}.ts-head{display:flex;align-items:baseline;gap:14px;padding:6px 14px;border-bottom:2px solid #16a34a;flex:none}.ts-head strong{font-size:18px}.ts-head span{color:#9ca3af}.ts-head em{color:#9ca3af;font-style:normal;font-size:13px}.ts-head small{margin-left:auto;color:#9ca3af}.ts-body{flex:1;min-height:0;display:flex;padding:6px}.ts-stage{flex:1 1 auto;min-width:0;min-height:0;padding:0}.ts-note{position:absolute;z-index:9;box-sizing:border-box;font:600 28px/1.25 Inter,sans-serif;padding:10px 14px;border:5px solid #2563eb;border-radius:14px;background:#fff;color:#111827;resize:none;touch-action:manipulation}.ts-done{position:absolute;z-index:9;font:700 24px Inter,sans-serif;padding:6px 18px;border:0;border-radius:12px;background:#2563eb;color:#fff}@media (max-width: 700px){.ts-head em{display:none}}.result-row{display:flex;flex-direction:column;gap:8px;padding:12px;margin-bottom:8px}.ok-msg{color:#16a34a;font-weight:600}.tablet-assign{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0}.tablet-assign select{max-width:55%}.live-note{position:absolute;z-index:3;max-width:900px;padding:6px 16px;border-radius:12px;background:#ffffffe0;box-shadow:0 2px 10px #00000040;font-family:Inter,sans-serif;font-weight:800;line-height:1.2;white-space:pre-wrap;pointer-events:none}.crop-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;display:flex;flex-direction:column;gap:8px;background:#0b1016;color:#e5e7eb;padding:10px 12px calc(10px + var(--safe-b, 0px))}.crop-head{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}.crop-head .ok{color:#4ade80}.crop-head .warn{color:#fbbf24}.crop-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.crop-img{position:relative;width:min(100%,calc((100dvh - 230px) * var(--ar, 1.33)))}.crop-img img{display:block;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.crop-img svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none}.crop-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.crop-bar .spacer{flex:1}.crop-err{margin:0}.sl-rot-timer{align-self:flex-start;font-size:64px;font-weight:800;padding:8px 26px;border-radius:16px;background:#1f2937;color:#fff;margin-bottom:4px}.sl-rot-timer.paused{background:#b45309}.sl-rot-timer.done{background:#15803d}.station-time{margin-left:auto;font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;padding:4px 16px;border-radius:14px;background:#16a34a;color:#fff}.station-time.low{background:#dc2626;animation:tafelBlink 1s steps(1) infinite}.station-flash{position:sticky;top:0;z-index:5;margin:8px 12px;padding:18px 16px;border-radius:16px;background:#f59e0b;color:#1f2937;display:flex;flex-direction:column;gap:4px;text-align:center}.station-flash strong{font-size:26px}.rm-stations{display:flex;flex-direction:column;gap:6px;padding:6px 0}.rm-stations .row{display:flex;flex-wrap:wrap;gap:6px}.sl-groups.rot{gap:14px}.sl-groups.rot .sl-groups-intro{display:none}.sl-groups.rot .sl-groups-grid{gap:14px;align-content:start}.sl-groups.rot .sl-group{padding:14px 18px;gap:6px 12px;font-size:34px;flex-wrap:wrap;align-content:center;min-height:175px}.sl-groups.rot .sl-group-num{width:48px;height:48px;font-size:28px}.sl-groups.rot .sl-group-name{flex:1 1 60%}.sl-groups.rot .sl-group-count{flex:1 0 100%;font-size:38px;padding-left:60px}.sl-groups.rot .sl-group-names{font-size:24px;padding-left:60px}.sl-rot-timer.timeup{background:#dc2626}.station-flash.wait{background:#fecaca}.bm-sound{position:fixed;right:16px;bottom:14px;z-index:40;padding:8px 16px;border:0;border-radius:999px;background:#0f172ab3;color:#fff;font-size:16px;cursor:pointer;opacity:.55}.bm-sound:hover{opacity:1}.remote{background:radial-gradient(120% 60% at 50% 0%,#162029 0%,var(--bg) 60%)}.rm-head{background:transparent;border-bottom:0;padding:10px 12px 2px}.rm-back{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--panel-2);padding:0;font-size:26px;line-height:1}.rm-title strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rm-title span{font-size:12px}.rm-title b{background:var(--panel-2);border-radius:6px;padding:1px 6px;font-size:12px}.badge-btn{background:var(--panel-2);border-radius:12px;min-width:40px;min-height:40px;padding:0 8px}.badge-btn.has{background:#3a1d12;border-color:#b45309}.rm-end{min-height:40px;padding:0 12px;border-radius:12px;border:1px solid #5b1a1f;background:transparent;color:#f87171;font-weight:700;font-size:14px;cursor:pointer}.rm-stage{padding:0 12px}.rm-tools{flex-direction:column;align-items:stretch;gap:10px;padding:0 12px;overflow:visible}.rm-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;background:var(--panel);border:1px solid var(--border);border-radius:16px}.rm-seg .tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;border:0;background:transparent;border-radius:12px;font-size:13px;color:var(--muted)}.rm-seg .tool .ic{font-size:22px}.rm-seg .tool.on{background:var(--green);color:#fff;box-shadow:0 2px 10px #13962d73}.rm-colors{display:flex;justify-content:center;gap:14px;padding:2px 0}.rm-colors .swatch{width:36px;height:36px;box-shadow:0 0 0 2px var(--border)}.rm-colors .swatch.on{box-shadow:0 0 0 2px #fff;transform:scale(1.12)}.rm-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.rm-actions .act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;padding:6px 4px;border-radius:14px;background:var(--panel);border:1px solid var(--border);font-size:12px;font-weight:600;color:var(--muted);cursor:pointer;text-align:center}.rm-actions .act .ic{font-size:20px;color:var(--text)}.rm-actions .act.on{border-color:var(--green);background:#12261a;color:#86efac}.rm-actions .act:active{transform:scale(.96)}.rm-extra .btn{min-height:52px;border-radius:14px;font-size:16px}.rm-nav{gap:8px;padding:0 12px}.rm-nav .btn.nav{min-height:84px;border-radius:20px;font-size:44px;background:var(--panel)}.rm-nav .btn.nav.primary{background:var(--green);box-shadow:0 4px 16px #13962d66}.rm-count-pill{flex:0 0 34%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px;border-radius:16px;border:1px solid var(--border);background:transparent;cursor:pointer}.rm-count-pill b{font-size:18px}.rm-count-pill small{max-width:100%;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rm-notes{margin:0 12px;border-radius:16px;border-left:4px solid var(--green)}@media (min-width: 700px) and (min-aspect-ratio: 4/3){.rm-stage{padding:0 0 0 12px}}.rm-extra.groups{margin:0 12px;padding:12px;gap:12px;background:var(--panel);border:1px solid var(--border);border-radius:18px}.rm-teams{padding-bottom:10px;border-bottom:1px solid var(--border);margin-bottom:0}.rm-teams span{font-size:14px}.rm-stations{padding:10px;gap:10px;background:var(--panel-2);border-radius:14px}.rm-stations .lbl,.rm-extra.groups>.lbl{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:700}.rm-stations .row .btn{flex:1 1 auto}.rm-stations .row small{flex:1 1 100%}.rm-team-btns .btn{flex:1 1 calc(50% - 6px);white-space:normal;text-align:center;line-height:1.2;min-height:40px}.rm-teams .btn{flex:1 1 auto}.rm-teams span{flex:1 1 100%}.rm-stations .row strong{flex:1;text-align:center}.rm-stations .row .btn{min-height:40px}.sl-bullets li.hid{visibility:hidden}.rm-reveal .big-step{flex:3}.rm-reveal .btn{min-height:56px}.rm-extra.rm-reveal{flex-direction:column;align-items:stretch;gap:8px;margin:0 12px;padding:0}.rm-reveal-list{display:flex;flex-direction:column;gap:6px}.rv{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 12px;text-align:left;border-radius:14px;background:var(--panel);border:1px solid var(--border);cursor:pointer;font-weight:600}.rv .dot{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--panel-2);color:var(--muted);font-size:14px}.rv .txt{flex:1;line-height:1.25}.rv.on{border-color:var(--green);background:#12261a}.rv.on .dot{background:var(--green);color:#fff}.rm-reveal-all{display:flex;gap:8px}.rm-reveal-all .btn{flex:1}.rm-qbar{display:flex;align-items:center;gap:12px;margin:4px 12px 0;padding:10px 14px;border-radius:16px;border:2px solid #f59e0b;background:linear-gradient(90deg,#4a2a06,#2f1c06);color:#fff;text-align:left;cursor:pointer;animation:qpulse 1.6s ease-in-out infinite}.rm-qbar .qb-ic{font-size:30px}.rm-qbar .qb-txt{flex:1;min-width:0;display:flex;flex-direction:column}.rm-qbar strong{font-size:16px;color:#fde68a}.rm-qbar small{color:#fcd9a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.rm-qbar .qb-go{font-weight:700;color:#fbbf24;white-space:nowrap}@keyframes qpulse{0%,to{box-shadow:0 0 #f59e0b80}50%{box-shadow:0 0 0 7px #f59e0b00}}.badge-btn.has{animation:qpulse 1.6s ease-in-out infinite}
