.free-board-layout{grid-template-columns:minmax(0,560px) minmax(210px,260px);justify-content:center;align-items:start;gap:20px;display:grid}.free-board{aspect-ratio:1;border:2px solid #5e5134;border-radius:6px;grid-template:repeat(8,minmax(0,1fr))/repeat(8,minmax(0,1fr));display:grid;overflow:hidden}.free-board button{color:#33482c;cursor:pointer;background:#f1e7ca;border:0;place-items:center;padding:0;display:grid;position:relative}.free-board button.free-board-dark{color:#172e1b;background:#87a779}.free-board button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #e49a22}.free-board button:focus-visible{outline-offset:-3px;z-index:1;outline:3px solid #135aaf}.free-board img{object-fit:contain;width:86%;height:86%;min-height:0}.free-board-rank,.free-board-file{pointer-events:none;font-size:clamp(9px,1.5vw,13px);font-weight:750;position:absolute}.free-board-rank{top:2px;left:3px}.free-board-file{bottom:1px;right:3px}.free-board-controls{gap:12px;display:grid}.free-board-palette{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.free-board-controls button{color:#493d27;font:inherit;cursor:pointer;background:#fffaf0;border:1px solid #b7a177;border-radius:6px;padding:.45rem .55rem}.free-board-controls button[aria-pressed=true]{background:#dbe8cf;border-color:#52774a}.free-board-controls button:disabled{opacity:.55;cursor:default}.free-board-palette button{aspect-ratio:1;padding:2px}.free-board-palette img{width:100%;display:block}.free-board-actions{flex-wrap:wrap;gap:6px;display:flex}@media (max-width:640px){.free-board-layout{grid-template-columns:minmax(0,460px);gap:12px}}.free-board{position:relative}.free-board button{min-width:0;min-height:0}.free-board button>.board-object{pointer-events:none;width:78%;height:78%}.free-board-monochrome button{color:#262626;background:#f7f7f7}.free-board-monochrome button.free-board-dark{color:#fff;background:#535353}.free-board button.free-board-marked{background:#dca051}.free-board-arrows{pointer-events:none;z-index:2;fill:#c97413;stroke:#c97413;opacity:.85;width:100%;height:100%;position:absolute;inset:0}.free-board-arrows path{stroke:none}.free-board-catalog{gap:6px;display:grid}.free-board-topic{text-align:left;align-items:center;gap:10px;min-height:3rem;display:flex}.free-board-topic b{text-align:center;color:#795321;min-width:2rem}.free-board-catalog label{gap:4px;display:grid}.free-board-catalog select{width:100%;font:inherit;padding:.4rem}.free-board-stage{min-width:0}.free-board-countdown{background:#e9dec4;border-radius:6px;justify-content:center;align-items:center;gap:.65rem;margin-bottom:.55rem;padding:.4rem;display:flex}.free-board-countdown strong{font-variant-numeric:tabular-nums;font-size:1.4rem}.free-board-countdown.is-urgent{color:#892b21;background:#f7dfd7}.free-board-timer-controls,.free-board-pages{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.free-board-timer-controls label{align-items:center;gap:6px;display:flex}.free-board-timer-controls input{width:5rem;font:inherit;padding:.35rem}.free-board-diagrams{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.free-board-diagrams button{gap:4px;min-width:0;padding:4px;display:grid}.free-board-diagram{aspect-ratio:1;border:1px solid #4c483a;grid-template:repeat(8,minmax(0,1fr))/repeat(8,minmax(0,1fr));display:grid}.free-board-diagram>span{background:#f5edd5;place-items:center;display:grid}.free-board-diagram>.dark{background:#81976b}.free-board-diagram-mono>span{background:#fff}.free-board-diagram-mono>.dark{background:#666}.free-board-diagram img{object-fit:contain;width:100%;height:100%}.free-board button>.board-object{width:90%;height:90%}.free-board .board-object-art{filter:drop-shadow(0 1px 1px #161b13b3)}.palette-green{--board-light:#f1e7ca;--board-dark:#87a779}.palette-mono{--board-light:#f7f7f7;--board-dark:#535353}.palette-light{--board-light:#fffaf0;--board-dark:#d8c4a5}.free-board button,.free-board-diagram>span{background:var(--board-light)}.free-board button.free-board-dark,.free-board-diagram>.dark{background:var(--board-dark)}.free-board.palette-mono button.free-board-dark{color:#fff}.free-board button.free-board-marked{background:#f7b044;box-shadow:inset 0 0 0 3px #a14c0b}.free-board-swatches{align-items:center;gap:5px;display:inline-flex}.free-board-swatches button{background:conic-gradient(var(--board-light) 25%,var(--board-dark) 0 50%,var(--board-light) 0 75%,var(--board-dark) 0);width:25px;height:25px;padding:0}.free-board-swatches button[aria-pressed=true]{background:conic-gradient(var(--board-light) 25%,var(--board-dark) 0 50%,var(--board-light) 0 75%,var(--board-dark) 0);outline-offset:1px;outline:2px solid #75532a}.free-board-eraser svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:20px;height:20px;display:block}.free-board.free-board-erasing,.free-board.free-board-erasing button,.free-board.free-board-erasing img{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='m3 15 10-11a2 2 0 0 1 3 0l4 4a2 2 0 0 1 0 3l-8 9H8z' fill='%23ef9aaa' stroke='%23473242' stroke-width='1.5'/%3E%3Cpath d='m3 15 4-4 8 6-3 3H8z' fill='%23fff4e8' stroke='%23473242' stroke-width='1.5'/%3E%3C/svg%3E") 3 18,crosshair}.free-board-tools button{padding:7px}.free-board-tools svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;display:block}.free-board-topic img{width:38px;height:38px}.free-board-countdown{flex-wrap:wrap}.free-board>[data-board-square]{background:var(--board-light);place-items:center;min-width:0;min-height:0;display:grid;position:relative}.free-board>.free-board-dark{background:var(--board-dark)}.free-board-viewer{grid-template-columns:minmax(0,560px)}.free-board-controls button.free-board-clear-marks{color:#201202;background:#c97413;border-color:#9b5206}
.classroom{color:#493d27;max-width:1060px;margin:auto;padding:20px}.classroom header{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.classroom h1{font-size:1.5rem}.classroom h2{margin:0 0 12px;font-size:1.15rem}.classroom a{color:#66471c;font-weight:700}.classroom-live{grid-template-columns:minmax(0,560px) minmax(240px,1fr);gap:20px;display:grid}.classroom-details,.classroom-lobby{align-content:start;gap:10px;display:grid}.classroom form,.classroom label{gap:6px;display:grid}.classroom :is(input,select),.classroom button:not([data-board-square]){min-width:0;color:inherit;font:inherit;background:#fffaf0;border:1px solid #b7a177;border-radius:6px;padding:8px}.classroom button{cursor:pointer}.classroom button:disabled{cursor:default;opacity:.55}.classroom-details ul{margin:0;padding:0;list-style:none}.classroom-details li{overflow-wrap:anywhere;border-bottom:1px solid #c6b48b;grid-template-columns:1fr auto;align-items:center;gap:5px 10px;padding:6px 0;display:grid}.classroom-details li select{grid-column:1/-1}.classroom-promotion{gap:6px;display:flex}.classroom-promotion img{width:32px;height:32px;display:block}@media (max-width:650px){.classroom-live{grid-template-columns:minmax(0,1fr)}}.classroom-mode{grid-column:1/-1}.classroom-demo{grid-template-columns:minmax(0,1fr)}.classroom-demo .classroom-details{width:100%;max-width:560px;margin:0 auto}.classroom-demo-board{min-width:0}.classroom:has(.classroom-hosting){max-width:1320px}.classroom-hosting{grid-template-columns:180px minmax(0,1fr);grid-template-areas:"access board";align-items:start;gap:16px}.classroom-hosting .classroom-details{grid-area:access;gap:6px;margin:0;font-size:.85rem}.classroom-hosting .classroom-demo-board{grid-area:board}.classroom-hosting .classroom-details li{padding:5px 0}.classroom-hosting .classroom-details :is(button,input,select){padding:5px 6px}.classroom-mode-switch{flex-wrap:wrap;gap:4px;display:flex}.classroom .classroom-mode-switch button{padding:5px 7px;font-size:.8rem}.classroom .classroom-mode-switch button[aria-pressed=true]{background:#dbe8cf;border-color:#52774a}.classroom-leave{margin:0 auto}@media (max-width:900px){.classroom-hosting{grid-template-columns:minmax(0,1fr);grid-template-areas:"board""access"}}@media (min-width:901px) and (max-width:1080px){.classroom-hosting .free-board-teacher{grid-template-columns:minmax(0,560px)}}.kingdom-tab-page:has(.classroom-embedded)>.kingdom-panel-content{padding:clamp(10px,2vw,24px)}.classroom-embedded{padding:0}.classroom-lobby{gap:20px;max-width:900px}.classroom-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:14px;display:grid}.classroom button.classroom-card{overflow-wrap:anywhere;background:#f6ead0;border-radius:14px;place-content:center;gap:4px;min-height:100px;padding:18px;font-weight:700;display:grid}.classroom button.classroom-create{color:#294c37;background:#e5edda;border:1px dashed #617e59}.classroom-entry{background:#fff6df;border:1px solid #c9b489;border-radius:14px;width:min(100%,360px);padding:16px}
