/* Single-room pilot; no rules apply to other classrooms. */
#shared-classroom.forest-room{background:#f0eadb}
.forest-room .room-stage{width:calc(100% - 260px);padding:68px 12px 12px;background:#f0eadb!important;overflow:auto}
body.panel-collapsed .forest-room .room-stage{width:100%}
.forest-room .room-stage::before{display:none}
.forest-room #seat-area{position:relative;display:block;width:min(100%,calc((100dvh - 80px)*1.5));height:auto;min-height:0;aspect-ratio:3/2;cursor:default;margin:0 auto;padding:0;background:transparent;border-radius:12px;overflow:hidden;isolation:isolate}
.forest-room .forest-background{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:0;pointer-events:none;user-select:none}
.forest-room #desk-grid,.forest-room #desk-grid.cd-layout{position:absolute;inset:0;width:100%;height:100%;max-height:none;display:block;transform:none;z-index:1}
.forest-room #desk-grid::before{display:none}
.forest-room #desk-grid .forest-seat{position:absolute;min-height:0;min-width:0;margin:0;padding:0;border:0;background:transparent;transform:translate(-50%,-50%);transform-origin:center;cursor:pointer;isolation:isolate;overflow:visible;touch-action:manipulation}
.forest-room .forest-seat.current{filter:drop-shadow(0 2px 4px #e4bd6a66)}
.forest-room .forest-seat:hover .forest-midground{filter:brightness(1.06)}
.forest-room .forest-seat:focus-visible{outline:3px solid #f8f1cd;outline-offset:4px;border-radius:12px}
.forest-room .forest-midground,.forest-room .forest-foreground{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.forest-room .forest-midground{z-index:1}.forest-room .forest-foreground{z-index:3}
.forest-room .person::before,.forest-room .person::after{display:none}
.forest-room .forest-seat .forest-seated{position:absolute;z-index:2;width:var(--forest-character-scale,90%);height:var(--forest-character-scale,90%);left:50%;top:var(--forest-character-offset,8%);bottom:auto;transform:translateX(-50%);pointer-events:none}
.forest-room .forest-avatar{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.forest-room [data-visual-state="offline"] .forest-avatar{filter:grayscale(1);opacity:.42}
.forest-room .forest-seat>.name-tag{z-index:5;top:-7%;max-width:110%;font-size:clamp(10px,calc(var(--forest-unit)*16),14px);line-height:1.4;padding:1px 6px;border-radius:8px;border:1px solid #ecdfbd;background:#fffaf0ed;color:#4d6042;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.forest-room .forest-offline-label{opacity:.65}
.forest-room .forest-seat>.bubble{z-index:6;top:-36%;bottom:auto;max-width:min(180px,40vw);font-size:12px;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.forest-room .forest-seat .desk-number{z-index:4;top:25%;left:12%;width:auto;height:auto;min-width:0;padding:1px 4px;font-size:clamp(9px,calc(var(--forest-unit)*15),12px);background:#55724a;color:#fff9eb;border-radius:4px}
.forest-room .floor-person,.forest-room .classmate-person{display:none!important}
.forest-room .top-strip{position:absolute;z-index:5;left:calc(var(--forest-left,12px) + var(--forest-width,100%)*.25);right:auto;top:calc(68px + var(--forest-unit)*92);width:calc(var(--forest-width,100%)*.73);height:260px;min-height:0;max-height:none;margin:0;padding:0;gap:8px;grid-template-columns:minmax(0,.72fr) minmax(0,1.04fr) minmax(0,1fr);overflow:visible}
.forest-room .top-strip>.honor-wall,.forest-room .top-strip>.blackboard,.forest-room .top-strip>.timer-card{height:100%;min-height:0;min-width:0;border:3px solid #ba9566;box-shadow:0 5px 12px #3c351e22;border-radius:7px;padding:8px;font-size:13px;grid-column:auto}
.forest-room .honor-wall{background:#fff9e9e8;overflow:auto}
.forest-room .blackboard{background:#244d3eea;overflow:auto}
.forest-room .timer-card{background:#fff8e9ef;container-type:normal!important;overflow:visible;gap:4px!important;justify-content:center}
.forest-room .panel-title{font-size:14px;margin-bottom:6px}
.forest-room .honor-list{gap:4px}
.forest-room .honor-row{padding:5px;gap:5px;font-size:12px}
.forest-room .board-head{margin-bottom:6px;padding-right:70px}
.forest-room .board-head h1{font-size:15px}
.forest-room .board-mode-toggle{font-size:11px;padding:4px 6px;top:9px;right:8px}
.forest-room .board-save{top:40px;right:8px;font-size:11px;padding:3px 6px}
.forest-room .todo-form{gap:4px;margin-bottom:8px}
.forest-room .todo-form input{width:0;min-width:0;padding:5px;font-size:12px}
.forest-room .todo-form button{padding:4px 6px;font-size:12px}
.forest-room .todo-title{font-size:12px;margin-bottom:4px}
.forest-room .todo-items li{font-size:12px;padding:5px 2px}
.forest-room .timer-display{font-size:32px!important;min-height:36px!important}
.forest-room #pomo-timeshow{min-height:36px!important;font-size:32px!important;padding:2px!important}
.forest-room #pomodoro-timer-panel:not([hidden]){gap:4px!important}
.forest-room .pomo-settings label{min-width:0}.forest-room .pomo-settings input{max-width:100%}
.forest-room .pomo-checks{font-size:11px;gap:4px!important}
.forest-room .pomo-controls>button{font-size:12px!important;min-height:28px!important}
.forest-room .pomo-settings input[type=number]{height:26px!important;min-height:26px!important}
.forest-room #timeshow{min-height:42px!important;font-size:32px!important;padding:2px}
.forest-room .timer-header{gap:5px}.forest-room .clock-options{font-size:10px;gap:5px}
.forest-room .clock-task{min-height:20px;font-size:11px;padding:3px}
.forest-room .timer-actions{margin:4px 0;gap:4px}.forest-room .timer-actions button{padding:5px;font-size:12px;min-height:28px}
.forest-room .timer-stats{margin:4px 0;font-size:10px}.forest-room .timer-stats strong{font-size:12px}
.forest-room .record-actions{margin-top:4px}.forest-room .record-button{font-size:11px;padding:3px 8px;min-height:26px}
.forest-room #pomodoro_records{max-height:150px;overflow:auto}
.forest-room .room-brand,.forest-room #classroom-team-settings,.forest-room .toggle-side{position:fixed;z-index:30}
.forest-room .room-brand{top:max(12px,env(safe-area-inset-top));min-height:36px;font-size:13px;padding:0 12px}
.forest-room #classroom-team-settings{top:max(13px,env(safe-area-inset-top));left:138px;min-height:34px;font-size:12px}
.forest-room .toggle-side{top:max(12px,env(safe-area-inset-top))}
.forest-room .wall-clock{position:absolute;z-index:20;top:max(14px,env(safe-area-inset-top));left:50%;height:35px;min-width:96px;font-size:18px;color:#f2eed6;background:#354d3c;border-color:#93a280}
.forest-room .room-side{width:260px;max-width:min(260px,86vw);background:#faf7eeef;border-left-color:#b8c5a5;padding:68px 12px calc(155px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;overflow:auto}
.forest-room #forest-side-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;flex:none}
.forest-room #forest-side-panels button{min-height:32px;border:1px solid #cfdbc4;border-radius:8px;background:#fbf9ee;color:#526448;padding:4px;font-size:12px}
.forest-room #forest-side-panels button[aria-pressed=true]{background:#506d48;color:#fff;border-color:#506d48}
.forest-room .room-side>.side-card{padding:10px;margin:0;flex:none}
.forest-room .side-card h2{font-size:14px;margin-bottom:8px}.forest-room .room-status{font-size:12px;line-height:1.6}
.forest-room [data-forest-section=audio],.forest-room [data-forest-section=members],.forest-room #cd-showcase{display:none}
.forest-room[data-forest-side=audio] [data-forest-section=audio],.forest-room[data-forest-side=members] [data-forest-section=members],.forest-room[data-forest-side=display] #cd-showcase{display:block}
.forest-room[data-forest-side]:not([data-forest-side=room]) [data-forest-section=room]{display:none}
.forest-room [data-forest-section=quick]{margin-top:auto!important}
.forest-room .cd-chat-card{position:relative!important;bottom:auto!important}
.forest-room .classmate-list{max-height:calc(100dvh - 465px);overflow:auto}
.forest-room .noise-actions{gap:5px}.forest-room .noise-actions button{min-height:30px;font-size:12px;padding:5px}
.forest-room .tc-volume{gap:6px;font-size:11px}
.forest-room #cd-showcase{background:#f6efdccc;border:1px solid #e1d5b7;border-radius:12px;padding:10px;margin:0;max-height:calc(100dvh - 455px);overflow:auto;flex:none}
.forest-room #cd-showcase .cd-shelf{background:repeating-linear-gradient(to bottom,#f5efdf 0,#f5efdf 32%,#a48a60 33%,#a48a60 34%);height:170px;margin-top:8px}
.forest-room #cd-showcase h2{font-size:13px;margin-bottom:8px}.forest-room .cd-announcement{margin-bottom:8px}.forest-room .cd-announcement p{margin:6px 0;font-size:12px;line-height:1.5}
.forest-room #forest-panels{display:none}
@media(max-width:1100px){
 .forest-room .room-stage{display:flex;flex-direction:column;padding-top:64px;gap:8px}
 .forest-room #forest-panels{display:flex;gap:6px;flex:none}
 .forest-room #forest-panels button{flex:1;min-width:0;min-height:34px;padding:5px;border:1px solid #cfdbc4;border-radius:8px;background:#fbf9ee;color:#526448;font-size:12px}
 .forest-room #forest-panels button[aria-pressed=true]{background:#506d48;color:#fff;border-color:#506d48}
 .forest-room .top-strip{position:relative;left:auto;top:auto;width:100%;height:250px;min-height:250px;display:block;flex:none}
 .forest-room .top-strip>.honor-wall,.forest-room .top-strip>.blackboard,.forest-room .top-strip>.timer-card{display:none;height:250px;padding:10px}
 .forest-room[data-forest-panel=timer] .top-strip>.timer-card,.forest-room[data-forest-panel=tasks] .top-strip>.blackboard,.forest-room[data-forest-panel=rank] .top-strip>.honor-wall{display:block}
 .forest-room[data-forest-panel=timer] .top-strip>.timer-card{display:flex}
 .forest-room #seat-area{width:min(100%,calc((100dvh - 374px)*1.5));flex:none}
 .forest-room .wall-clock{left:auto;right:64px;transform:none}
}
@media(max-width:900px){.forest-room .room-stage{width:100%;padding-right:max(10px,env(safe-area-inset-right));padding-left:max(10px,env(safe-area-inset-left));padding-bottom:max(12px,env(safe-area-inset-bottom))}.forest-room .timer-card{min-height:250px!important}.forest-room .room-brand{font-size:12px;padding:0 10px;left:max(10px,env(safe-area-inset-left))}.forest-room #classroom-team-settings{left:120px;font-size:11px}.forest-room .forest-seat>.name-tag{font-size:10px}.forest-room #seat-area{border-radius:8px}.forest-room .room-side{padding-top:64px}.forest-room .wall-clock{font-size:16px;min-width:84px}}
@media(max-height:580px) and (max-width:1100px){.forest-room #seat-area{width:100%}.forest-room .room-stage{display:block}.forest-room #forest-panels{margin-bottom:8px}.forest-room .top-strip{margin-bottom:8px}.forest-room .room-side{gap:5px}.forest-room .classmate-list,.forest-room #cd-showcase{max-height:180px}.forest-room .room-side>[data-forest-section=quick]{margin-top:0!important}}

.forest-room .board-todo{padding-top:34px}
.forest-room .plan-tabs{padding-top:25px}
.forest-room .quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.forest-room .quick-actions button{padding:6px 2px;min-height:32px;font-size:12px;white-space:nowrap}
.forest-room .todo-form{display:flex;margin-left:0;align-items:center;height:30px}
.forest-room .todo-form input{height:30px;flex:1}
.forest-room .todo-form button{min-height:30px;height:30px}
.forest-room [data-forest-section=quick]{padding:8px!important}
.forest-room [data-forest-section=quick] h2{display:none}
.forest-room .room-side{padding-bottom:calc(140px + env(safe-area-inset-bottom))}
.forest-room #forest-side-panels{order:0}
.forest-room [data-forest-section=room],.forest-room [data-forest-section=audio],.forest-room [data-forest-section=members],.forest-room #cd-showcase{order:1}
.forest-room [data-forest-section=quick]{order:2}
.forest-room [data-forest-section=chat]{order:3}
.forest-room #cd-showcase[hidden]{display:none!important}
/* Fixed stage: all furniture and front-wall panels share one uniform scale. */
#shared-classroom.forest-room{background:#a88961}
.forest-room .room-stage,body.panel-collapsed .forest-room .room-stage{position:relative;display:block;width:100%!important;height:100%;padding:0!important;overflow:hidden;background:#a88961!important}
.forest-room #forest-ambient{position:absolute;inset:-20px;background-position:center;background-size:cover;filter:blur(14px);pointer-events:none}
.forest-room #forest-stage{position:absolute;left:50%;top:50%;width:1536px;height:864px;transform:translate(-50%,-50%) scale(var(--forest-scale,1));transform-origin:center;isolation:isolate}
.forest-room #seat-area{position:absolute;inset:0;display:block;width:1536px!important;height:864px!important;min-height:0;aspect-ratio:auto;max-width:none;margin:0!important;padding:0;border-radius:0;overflow:hidden}
.forest-room .forest-background{object-fit:cover;object-position:center top}
.forest-room .top-strip{position:absolute!important;left:246px!important;top:82px!important;width:1180px!important;height:280px!important;min-height:0!important;display:grid!important;grid-template-columns:250px 520px 386px!important;gap:12px!important;margin:0!important;padding:0!important;max-width:none;overflow:visible}
.forest-room .top-strip>.honor-wall,.forest-room .top-strip>.blackboard,.forest-room .top-strip>.timer-card{display:block!important;height:280px!important;min-height:0!important;padding:12px!important;font-size:15px;grid-column:auto}
.forest-room .top-strip>.timer-card{display:flex!important}
.forest-room .panel-title{font-size:17px}.forest-room .board-head h1{font-size:19px}
.forest-room .team-wall-rank{font-size:15px}.forest-room .board-mode-toggle{font-size:14px}.forest-room .board-save{font-size:13px}
.forest-room .todo-form input,.forest-room .todo-form button,.forest-room .todo-items li,.forest-room .todo-title{font-size:14px}
.forest-room #pomo-timeshow,.forest-room #timeshow{font-size:42px!important;min-height:46px!important}
.forest-room .pomo-controls>button{font-size:15px!important;min-height:33px!important}
.forest-room .pomo-settings label,.forest-room .pomo-checks{font-size:13px}.forest-room .pomo-settings input[type=number]{font-size:15px!important;height:30px!important}
.forest-room .forest-seat>.name-tag{font-size:16px!important;max-width:150px;padding:2px 8px;top:-9%}
.forest-room .forest-seat .desk-number{font-size:14px!important}
.forest-room .forest-seat>.bubble{font-size:15px;max-width:200px}
.forest-room #forest-wall-notice{position:absolute;left:466px;top:366px;width:660px;height:36px;z-index:6;margin:0;padding:5px 18px;border:2px solid #b68c59;border-radius:4px;background:#fff3d6ef;color:#5a4930;box-shadow:0 3px 8px #41301122;font-family:inherit;font-size:15px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}
.forest-room #forest-panels{display:none!important}
.forest-room .wall-clock{position:fixed;left:50%;right:auto;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);height:36px;font-size:18px;z-index:20}
.forest-room .room-brand,.forest-room #classroom-team-settings{z-index:20}
.forest-room .toggle-side{z-index:42}
.forest-room .room-side{position:fixed;z-index:41;right:0;top:0;bottom:0;width:min(320px,88vw);max-width:88vw;transform:translateX(0);opacity:1;box-shadow:-14px 0 42px #26332638;transition:transform .22s ease,opacity .22s ease;overscroll-behavior:contain}
body.panel-collapsed .forest-room .room-side{transform:translateX(105%);opacity:0;pointer-events:none}
.forest-room #forest-menu-shade{position:fixed;inset:0;z-index:40;border:0;border-radius:0;background:#15261940;opacity:1;transition:opacity .22s ease;cursor:default}
body.panel-collapsed .forest-room #forest-menu-shade{opacity:0;pointer-events:none;visibility:hidden}
.forest-room #forest-panel-tools{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:21;display:none;gap:6px;width:max-content;max-width:calc(100vw - 24px);padding:6px;background:#fffae9e8;border:1px solid #d2c4a3;border-radius:12px;box-shadow:0 4px 15px #30412424}
.forest-room #forest-panel-tools button{border:0;border-radius:7px;background:#526f48;color:#fff;padding:9px 13px;min-height:38px;font-size:13px}
.forest-room #forest-panel-overlay{position:fixed;inset:0;z-index:100040;display:grid;place-items:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#1b2b20bb;backdrop-filter:blur(4px)}
.forest-room #forest-panel-overlay>section{width:min(550px,100%);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;border-radius:12px;background:#faf4e5;box-shadow:0 12px 40px #0004;overflow:hidden}
.forest-room #forest-panel-overlay header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;flex:none}
.forest-room #forest-panel-overlay header button{min-height:36px;border:1px solid #c8d2bd;border-radius:7px;background:#edf2e6;color:#4c6643;padding:4px 12px}
.forest-room .forest-panel-content{overflow:auto;padding:0 10px 10px}
.forest-room .forest-panel-content>.timer-card,.forest-room .forest-panel-content>.blackboard,.forest-room .forest-panel-content>.honor-wall{position:relative;width:100%;height:auto;min-height:280px!important;max-height:none;border:3px solid #ba9566;border-radius:7px;padding:12px}
.forest-room .forest-panel-content>.timer-card{display:flex!important;container-type:normal!important}
.forest-room .forest-panel-placeholder{height:280px;padding:100px 15px;text-align:center;border:3px solid #ba9566;background:#f7edcfdd;color:#596c4d;font-size:22px;border-radius:7px}
@media(max-width:900px){.forest-room #forest-panel-tools{display:flex}.forest-room .wall-clock{left:auto;right:64px;transform:none;min-width:82px;font-size:16px}.forest-room #forest-wall-notice{font-size:17px}.forest-room .forest-panel-content>.blackboard{height:400px}.forest-room .forest-panel-content>.honor-wall{min-height:240px!important}}
@media(prefers-reduced-motion:reduce){.forest-room .room-side,.forest-room #forest-menu-shade{transition:none}}
.forest-room #forest-ambient{inset:0}
.forest-room .forest-seat .forest-seated{width:100%;height:100%;left:0;top:0;transform:none;overflow:hidden}
.forest-room .forest-seat .forest-seated>.forest-avatar{position:absolute;left:50%;top:var(--forest-character-offset);transform:translateX(-50%);width:var(--forest-character-scale);height:var(--forest-character-scale)}

#pomodoro_records.forest-records{z-index:100045}
/* Fourth pass: reusable seat layers with independent hip anchors. */
.forest-room #forest-stage{overflow:visible}
.forest-room #forest-background{inset:auto;max-width:none;max-height:none;object-fit:fill;pointer-events:none;z-index:0}
.forest-room #seat-area{z-index:1;background:transparent}
.forest-room .forest-seat .forest-desk,.forest-room .forest-seat .forest-chair-base,.forest-room .forest-seat .forest-foreground{position:absolute;inset:auto;object-fit:contain;pointer-events:none;user-select:none}
.forest-room .forest-seat .forest-seated{position:absolute;overflow:visible;bottom:auto;pointer-events:none}
.forest-room .forest-seat .forest-seated>.forest-avatar{position:static;width:100%;height:100%;transform:none;object-fit:contain;transform-origin:50% 66%}
.forest-room .forest-local-shadow{position:absolute;left:17%;top:75%;width:66%;height:23%;background:radial-gradient(ellipse,#4e381631,transparent 68%);border-radius:50%;pointer-events:none}
.forest-room .forest-seat:hover .forest-desk{filter:brightness(1.07)}
.forest-room .forest-seat>.name-tag{top:-9%;display:inline-flex;align-items:center;gap:5px;max-width:160px;white-space:nowrap;font-size:16px!important}
.forest-room .forest-status-icon{font-size:13px;line-height:1;color:#427c45}
.forest-room .forest-status-icon[data-state=seated_break]{color:#ad771c}
.forest-room .forest-status-icon[data-state=offline]{color:#7b8176}
.forest-room .forest-status-icon[data-state=seated_idle]{display:none}
.forest-room .forest-seat [data-visual-state=seated_focus] .forest-avatar{animation:forest-study-pose 10s ease-in-out infinite}
@keyframes forest-study-pose{0%,88%,100%{transform:none}93%{transform:rotate(.25deg) translateY(.25px)}97%{transform:rotate(-.12deg)}}
.forest-room .top-strip{top:70px!important;height:292px!important}
.forest-room .top-strip>.honor-wall,.forest-room .top-strip>.blackboard,.forest-room .top-strip>.timer-card{height:292px!important;border:2px solid #b99a74d9;padding:12px!important;border-radius:8px;box-shadow:0 4px 12px #3c351e1c}
.forest-room .honor-wall{background:#fff8e2d9;overflow:auto}
.forest-room .blackboard{background:#254d3ce0;overflow:hidden;color:#faf5df}
.forest-room .timer-card{background:#fff8e8e0;overflow:hidden!important;justify-content:center}
.forest-room .forest-timer-title{margin:0 0 3px;font-size:17px;font-weight:700;line-height:22px;color:#755335}
.forest-room .panel-title{font-size:17px;line-height:22px;margin-bottom:6px}
.forest-room #pomo-timeshow,.forest-room #timeshow{font-size:38px!important;min-height:40px!important;line-height:1.15!important}
.forest-room .pomo-controls>button{font-size:14px!important;min-height:31px!important;height:31px;padding:4px 9px}
.forest-room .pomo-settings input[type=number]{height:28px!important;min-height:28px!important;font-size:14px!important}
.forest-room .pomo-settings label,.forest-room .pomo-checks{font-size:12px;line-height:17px}
.forest-room .pomo-checks{min-height:21px}
.forest-room .todo-items,.forest-room .plan-list{overflow:auto;scrollbar-gutter:auto;overscroll-behavior:contain}
.forest-room .board-todo{display:flex;flex-direction:column;height:100%;padding-top:34px}
.forest-room .todo-title{flex:none}.forest-room .todo-form{flex:none}
.forest-room .todo-items{min-height:0;max-height:none;flex:1;gap:4px}
.forest-room .todo-items li{padding:4px 2px}
.forest-room .top-strip button{font-size:14px;line-height:1.2}
.forest-room #forest-wall-notice{background:#eee7d4e8;border:1px solid #ab8c61;color:#654d33;box-shadow:0 2px 5px #49351a1c;border-radius:3px}
.forest-room #forest-floor-pet-dock{position:absolute;width:60px;height:60px;z-index:30;transform-origin:top left}
.forest-room #forest-floor-pet-dock #ql-web-pet-container{position:absolute!important;left:0!important;top:0!important;bottom:auto!important;right:auto!important;z-index:1;transition:none!important}
.forest-room .forest-panel-content>.timer-card,.forest-room .forest-panel-content>.blackboard{height:auto!important;min-height:292px!important;overflow:visible!important}
.forest-room .forest-panel-content>.blackboard .todo-items{max-height:260px;flex:none}
.forest-room .forest-panel-placeholder{height:292px}
.forest-room .toggle-side{right:max(12px,env(safe-area-inset-right))}
@media(prefers-reduced-motion:reduce){.forest-room .forest-seat .forest-avatar{animation:none!important}.forest-room #forest-floor-pet-dock .ql-pet-avatar,.forest-room #forest-floor-pet-dock .ql-pet-avatar::after{animation:none!important}}

/* Rear seat apron and stretcher sit in front of the seated legs. Same texture and transform keep all wooden edges registered. */
.forest-room .forest-seat .forest-chair-support{position:absolute;inset:auto;object-fit:contain;pointer-events:none;user-select:none;clip-path:inset(65% 0 0 0);z-index:4!important}

/* Local visual preview, strictly scoped to the six-seat pilot. */
.forest-room #forest-theme-open{position:fixed;right:max(68px,calc(env(safe-area-inset-right) + 56px));top:max(12px,env(safe-area-inset-top));z-index:22;min-height:36px;padding:7px 13px;border:1px solid #e7d9bd;border-radius:20px;background:#fffaf0ed;color:#425e48;font-family:inherit;font-weight:600;font-size:13px;line-height:20px;box-shadow:0 2px 10px #10241a1a;cursor:pointer}
.forest-room #forest-theme-dialog{position:fixed;inset:0;width:min(920px,calc(100vw - 28px));max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:0;border:1px solid #cbd7c6;border-radius:18px;background:#f7f8f1;color:#2e483b;box-shadow:0 20px 80px #0b1c1f55;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9cb09c transparent}
.forest-room #forest-theme-dialog::backdrop{background:#101c2466;backdrop-filter:blur(3px)}
.forest-room #forest-theme-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px 12px}
.forest-room #forest-theme-dialog h2{font-size:20px;margin:0 0 6px}.forest-room #forest-theme-dialog p{font-size:13px;margin:0;line-height:1.5;color:#64746a}
.forest-room #forest-theme-dialog button{cursor:pointer;font-family:inherit}
.forest-room #forest-theme-dialog [data-theme-close]{flex:none;padding:8px 15px;min-height:38px;border:1px solid #c4d2c1;border-radius:10px;background:#eef3e9;color:#35553e;font-size:13px}
.forest-room .forest-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:8px 22px 18px}
.forest-room .forest-theme-grid>button{position:relative;display:flex;flex-direction:column;text-align:left;min-width:0;padding:0 0 10px;overflow:hidden;border:2px solid transparent;border-radius:12px;background:#fff;color:#344e40;box-shadow:0 2px 10px #1f402712;transition:border-color .15s,box-shadow .15s}
.forest-room .forest-theme-grid>button[aria-pressed=true]{border-color:#587953;box-shadow:0 0 0 2px #a9be9d5c}
.forest-room .forest-theme-grid>button[aria-pressed=true]::after{content:'预览中';position:absolute;right:7px;top:7px;padding:3px 7px;border-radius:12px;background:#2c523c;color:#fff;font-size:11px}
.forest-room .forest-theme-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;pointer-events:none;background:#e4e9de}
.forest-room .forest-theme-grid strong{font-size:14px;margin:9px 11px 3px}.forest-room .forest-theme-grid small{margin:0 11px;color:#6c7b70;font-size:11px;line-height:1.4}
.forest-room #forest-theme-dialog footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 22px 18px;border-top:1px solid #e0e8dc;background:#f7f8f1}
.forest-room #forest-theme-dialog footer label{display:flex;gap:6px;align-items:center;font-size:13px}.forest-room #forest-theme-dialog footer p{flex:1;min-width:180px}.forest-room #forest-theme-dialog input{accent-color:#53724b;width:17px;height:17px}
.forest-room #forest-theme-dialog button:focus-visible,.forest-room #forest-theme-open:focus-visible{outline:3px solid #4b836f;outline-offset:3px}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) :is(.honor-wall,.timer-card){background:var(--preview-panel);color:var(--preview-ink);border-color:var(--preview-border)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard{background:var(--preview-board);color:var(--preview-board-ink);border-color:var(--preview-border)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .top-strip>:is(.honor-wall,.blackboard,.timer-card),.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .forest-panel-content>:is(.honor-wall,.blackboard,.timer-card){border-color:var(--preview-border)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) :is(.panel-title,.forest-timer-title,.timer-header,.pomo-settings,.pomo-checks,.clock-options,.timer-stats,.honor-row,.team-wall-rank){color:var(--preview-ink)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard :is(.board-head h1,.todo-title,.todo-items,.plan-text,.plan-index,.plan-duration,.plan-empty){color:var(--preview-board-ink)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard :is(input,button){color:var(--preview-board-ink);border-color:var(--preview-border);background:transparent}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard input::placeholder{color:var(--preview-board-ink);opacity:.7}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard .board-mode-toggle,.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .blackboard .plan-tab.active{background:var(--preview-accent);color:#fff}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) #forest-wall-notice{color:var(--preview-ink);border-color:var(--preview-border);background:var(--preview-panel)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) :is(.desk-number,.wall-clock){background:var(--preview-accent);color:#fff;border-color:var(--preview-border)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) .forest-panel-content,.forest-room[data-preview-theme]:not([data-preview-theme=forest]) #forest-panel-overlay>section{background:var(--preview-panel);color:var(--preview-ink)}
.forest-room[data-preview-theme=library] .blackboard{box-shadow:inset 0 0 0 4px #71502a66,0 4px 12px #1c140c33}
.forest-room[data-preview-theme=starship] .top-strip>:is(aside,section){border-radius:3px;box-shadow:inset 0 1px 0 #b4f5ff,0 3px 12px #21485b33}
.forest-room[data-preview-theme=rain] :is(#pomo-timeshow,#timeshow,.timer-display){background:#0c1c2ae8;color:#ffe9bf}
.forest-room[data-preview-theme=rain] .timer-card :is(select,input[type=number],.record-button){background:#20394d;color:#ffedd1;border-color:#76868a}
.forest-room #forest-theme-effect{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.forest-room #forest-theme-effect[data-effect=rain]{left:0;right:auto;top:80px;width:190px;height:310px;opacity:.32}
.forest-room #forest-theme-effect[data-effect=rain] i{position:absolute;left:calc(15px + var(--i)*28px);top:-70px;width:1px;height:34px;background:linear-gradient(transparent,#c5deee);animation:preview-rain 6s linear infinite;animation-delay:calc(var(--i)*-1.1s)}
@keyframes preview-rain{to{transform:translate(-12px,400px)}}
.forest-room #forest-theme-effect[data-effect=fire]{left:0;top:445px;width:130px;height:170px;background:radial-gradient(ellipse,#ffd78033,transparent 65%);animation:preview-fire 8s ease-in-out infinite}
@keyframes preview-fire{0%,100%{opacity:.2}50%{opacity:.7}}
.forest-room #forest-theme-effect[data-effect=petals]{left:0;right:auto;top:110px;width:205px;height:300px}
.forest-room #forest-theme-effect[data-effect=petals] i{position:absolute;left:calc(20px + var(--i)*26px);top:-20px;width:6px;height:9px;border-radius:80% 10% 70% 30%;background:#f7c8d3aa;animation:preview-petal 15s linear infinite;animation-delay:calc(var(--i)*-2.4s)}
@keyframes preview-petal{to{transform:translate(35px,340px) rotate(130deg)}}
.forest-room[data-scene-motion=off] #forest-theme-effect{display:none}.forest-room[data-scene-motion=off] .forest-avatar{animation:none!important}
.forest-room.preview-paused #forest-theme-effect,.forest-room.preview-paused #forest-theme-effect i,.forest-room.preview-paused .forest-avatar{animation-play-state:paused!important}
@media(max-width:900px){.forest-room #forest-theme-open{top:max(57px,calc(env(safe-area-inset-top) + 45px));right:max(12px,env(safe-area-inset-right));padding:5px 10px;min-height:34px;font-size:12px}.forest-room .forest-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:8px 12px 14px}.forest-room #forest-theme-dialog header{padding:14px 13px 8px}.forest-room #forest-theme-dialog footer{padding:12px}.forest-room #forest-theme-dialog h2{font-size:18px}.forest-room .forest-theme-grid small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.forest-room #forest-theme-effect{display:none}.forest-room .forest-theme-grid>button{transition:none}}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) #team-goal-open.tg-entry{background:var(--preview-panel);border-color:var(--preview-border);color:var(--preview-ink)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) #team-goal-open :is(.tg-entry-heading,.tg-entry-numbers,.tg-entry-numbers strong,.tg-entry-numbers small,.tg-entry-numbers>span){color:var(--preview-ink)}
.forest-room[data-preview-theme]:not([data-preview-theme=forest]) #team-goal-open .tg-track>span{background:var(--preview-accent)}

/* Both rendering modes share the same local-only design switch. */
#shared-classroom.test-room-design #test-room-design-switch{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(70px,calc(env(safe-area-inset-right) + 58px));z-index:23;display:flex;align-items:center;gap:7px;max-width:calc(100vw - 24px);padding:4px;border:1px solid #d4decd;border-radius:24px;background:#fffaf3ed;color:#345642;box-shadow:0 3px 14px #1a342520;backdrop-filter:blur(8px);font-family:inherit}
#shared-classroom.test-room-design .test-room-design-options{display:flex;gap:2px;border-radius:20px;background:#e9eee3;padding:2px}
#shared-classroom.test-room-design #test-room-design-switch [data-room-design]{min-height:34px;padding:6px 13px;border:0;border-radius:18px;background:transparent;color:#55715a;font-size:13px;line-height:20px;white-space:nowrap;font-weight:600;cursor:pointer}
#shared-classroom.test-room-design #test-room-design-switch [data-room-design][aria-pressed=true]{background:#476c50;color:#fff;box-shadow:0 2px 5px #29493225}
#shared-classroom.test-room-design #test-room-design-switch[aria-busy=true] [data-room-design=modern]{opacity:.7}
#shared-classroom.test-room-design #test-room-design-switch .test-room-design-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#shared-classroom.test-room-design #test-room-design-switch #forest-theme-open{position:static;min-height:34px;padding:6px 10px;border:0;border-radius:18px;background:transparent;color:#345642;font-size:12px;line-height:20px;box-shadow:none;white-space:nowrap}
#shared-classroom.test-room-design #test-room-design-switch button:hover{filter:brightness(1.04)}
#shared-classroom.test-room-design #test-room-design-switch button:focus-visible{outline:3px solid #639578;outline-offset:2px}
@media(max-width:900px){#shared-classroom.test-room-design #test-room-design-switch{top:max(60px,calc(env(safe-area-inset-top) + 48px));right:max(12px,env(safe-area-inset-right));gap:4px}#shared-classroom.test-room-design #test-room-design-switch [data-room-design]{min-height:36px;padding:6px 11px}#shared-classroom.test-room-design #test-room-design-switch #forest-theme-open{padding:6px 8px;min-height:36px}}
#shared-classroom.test-room-design:not(.forest-room) .room-side{padding-top:76px}
@media(max-width:900px){#shared-classroom.test-room-design:not(.forest-room) .room-side{padding-top:118px}}
@media(max-width:1100px) and (max-height:580px) and (min-aspect-ratio:2/1){#shared-classroom.test-room-design.forest-room #test-room-design-switch{left:max(12px,env(safe-area-inset-left));right:auto;top:max(70px,calc(env(safe-area-inset-top) + 58px));width:146px;flex-direction:column;align-items:stretch;gap:2px;border-radius:20px}#shared-classroom.test-room-design.forest-room .test-room-design-options{width:100%}#shared-classroom.test-room-design.forest-room #test-room-design-switch [data-room-design]{flex:1;padding:6px 7px;font-size:12px}#shared-classroom.test-room-design.forest-room #test-room-design-switch #forest-theme-open{width:100%;text-align:center}}

/* Dense pilot layouts retain the fixed stage; names use the gaps between rows. */
.forest-room[data-scene-capacity="7"] .forest-seat .name-tag,
.forest-room[data-scene-capacity="8"] .forest-seat .name-tag,
.forest-room[data-scene-capacity="9"] .forest-seat .name-tag,
.forest-room[data-scene-capacity="10"] .forest-seat .name-tag,
.forest-room[data-scene-capacity="11"] .forest-seat .name-tag,
.forest-room[data-scene-capacity="12"] .forest-seat .name-tag{font-size:14px!important;max-width:128px;padding:2px 6px}

/* Original dark themes remain stored but cannot tint a layered scene's text. */
.forest-room.cd-themed[data-preview-theme] .room-stage{color:var(--preview-ink)}

/* Pilot-only fourth panel, shared timer styling and reversible local module visibility. */
.forest-room .top-strip{left:114px!important;width:1308px!important;grid-template-columns:164px 250px 370px 488px!important;align-items:start}
.forest-room .top-strip>.honor-wall{grid-column:2!important;grid-row:1}
.forest-room .top-strip>.timer-card{grid-column:3!important;grid-row:1}
.forest-room .top-strip>.blackboard{grid-column:4!important;grid-row:1}
.forest-room .top-strip>[data-forest-module]{position:relative;padding-top:34px!important}
.forest-room .panel-title{padding-right:22px}
.forest-room .forest-module-toggle{position:absolute;top:6px;right:6px;z-index:15;display:grid;place-items:center;width:25px;height:25px;min-height:25px!important;padding:4px!important;border:1px solid #ffffff50;border-radius:7px;background:#ffffff40;color:inherit;opacity:.65;cursor:pointer}
.forest-room .forest-module-toggle:hover,.forest-room .forest-module-toggle:focus-visible{opacity:1;background:#ffffff70}
.forest-room .forest-module-toggle svg{width:17px;height:17px}
.forest-room .top-strip>.forest-module-hidden{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.forest-room .forest-module-hidden>*:not(.forest-module-toggle){visibility:hidden!important;pointer-events:none!important}
.forest-room .forest-module-hidden>.forest-module-toggle{opacity:.9;background:#fffaf0d9;color:#496548}
.forest-room #forest-cabinet{grid-column:1;grid-row:1;height:292px;padding:34px 9px 8px;border:3px solid #916c44;border-radius:7px;background:linear-gradient(90deg,#bd996b,#d8b98d 45%,#b08b60);box-shadow:inset 0 0 8px #684a3640,0 4px 12px #3c351e1c;color:#533c2c;overflow:hidden}
.forest-room #forest-cabinet h2{font-size:15px;text-align:center;line-height:22px;margin:0 0 7px}
.forest-room .forest-cabinet-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:68px;align-content:start;height:218px;overflow:auto;background:repeating-linear-gradient(transparent 0 63px,#947044 63px 68px);padding:0 3px;scrollbar-width:thin}
.forest-room .forest-cabinet-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;padding-bottom:7px;min-width:0}
.forest-room .forest-cabinet-item>img,.forest-room .forest-cabinet-item>i{width:40px;height:40px;object-fit:contain;display:grid;place-items:center}
.forest-room .forest-cabinet-item i img,.forest-room .forest-cabinet-item svg{width:100%;height:100%;object-fit:contain}
.forest-room .forest-cabinet-item span{font-size:10px;line-height:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.forest-room .forest-cabinet-item small{font-size:10px;line-height:12px}.forest-room .forest-cabinet-empty{grid-column:1/-1;text-align:center;font-size:12px;color:#6a523d;padding-top:14px}
.forest-room #forest-wall-notice[hidden]{display:none!important}
.forest-room #forest-wall-notice{left:536px;width:704px}
.forest-room .forest-schedule-title{font-size:17px;line-height:22px;margin:0;color:var(--preview-ink,#755335);flex:none}
body.todo-mode .forest-room .forest-schedule-title{display:none}
.forest-room .timer-card{gap:7px!important;justify-content:flex-start!important;align-items:stretch}
.forest-room .timer-card .timer-header .panel-title{display:none}
.forest-room .timer-card .timer-header{min-height:22px;justify-content:flex-end;margin:0}
.forest-room .timer-card #timeshow,.forest-room .timer-card #pomo-timeshow{height:54px!important;min-height:54px!important;font-size:42px!important;line-height:1.1;background:#fff8ef;border-radius:8px;margin:0;padding:4px!important;color:#2d241f}
.forest-room .timer-card .progress{height:8px;min-height:8px;flex:none;border-radius:8px;margin:0}
.forest-room .timer-card .timer-actions,.forest-room .timer-card .pomo-controls{display:grid;gap:7px;min-height:32px}
.forest-room .timer-card .timer-actions button,.forest-room .timer-card .pomo-controls button{height:32px;min-height:32px!important;padding:4px 7px;font-size:14px!important}
.forest-room .timer-card .timer-stats{font-size:12px;line-height:17px}.forest-room .timer-card .timer-stats strong{font-size:14px}
.forest-room .timer-card .record-actions{margin-top:auto;justify-content:center}
.forest-room .timer-card .record-button{height:27px;min-height:27px;padding:3px 10px}
.forest-room .blackboard .board-mode-toggle{right:38px;top:6px;font-size:12px}
.forest-room .blackboard .board-save{right:8px;top:40px}
.forest-room .blackboard .board-todo{padding-top:10px;height:100%;min-height:0}
.forest-room .blackboard .todo-section{min-height:0;display:flex;flex:1;flex-direction:column;overflow:hidden}
.forest-room .blackboard .todo-items{min-height:0;overflow:auto}
.forest-room .blackboard .plan-list{max-height:195px;overflow:auto}
.forest-room .forest-seated>.forest-avatar-tint{position:absolute!important;inset:0;object-fit:contain}
.forest-room #forest-avatar-settings{order:0;min-height:36px;padding:6px 12px;border:1px solid #c9d4bd;border-radius:10px;background:#fffaf0;color:#45623e;cursor:pointer}
#forest-avatar-dialog{width:min(350px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #c7d4bd;border-radius:16px;padding:20px;background:#f9f7ee;color:#3d5846}
#forest-avatar-dialog::backdrop{background:#18312577;backdrop-filter:blur(3px)}
#forest-avatar-dialog header,#forest-avatar-dialog label,#forest-avatar-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
#forest-avatar-dialog h2{font-size:19px;margin:0}#forest-avatar-dialog .forest-avatar-preview{display:block;width:140px;height:140px;object-fit:contain;margin:5px auto 12px}
#forest-avatar-dialog input[type=color]{width:72px;height:36px;border:1px solid #bcccb4;border-radius:6px;background:white;padding:3px}
#forest-avatar-dialog button{min-height:34px;padding:5px 12px;border:1px solid #c6d2bd;border-radius:7px;background:#edf2e7;color:#36553f}
#forest-avatar-dialog button[type=submit]{background:#4d7350;color:white}#forest-avatar-dialog [role=status]{font-size:13px;color:#a55342}
.forest-room .forest-panel-content>[data-forest-module]{height:auto!important;min-height:292px!important;padding-top:34px!important}
.forest-room .forest-panel-content>.forest-module-hidden{min-height:45px!important;height:45px!important}
.forest-room .timer-card{flex-direction:column!important}
.forest-room .timer-card .timer-header{position:absolute;top:34px;right:14px}
.forest-room .forest-seated>.forest-avatar-tint{left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:100%!important;height:100%!important}
.forest-room #forest-announcement-module{position:absolute;left:536px;top:366px;width:704px;height:36px;z-index:6}
.forest-room #forest-announcement-module[hidden]{display:none!important}
.forest-room #forest-announcement-module #forest-wall-notice{position:absolute;left:0;top:0;width:100%;height:100%;padding-right:38px}
.forest-room #forest-announcement-module .forest-module-toggle{top:5px;right:6px;color:#694e32}
.forest-room .forest-panel-content>#forest-cabinet{width:100%;height:auto;min-height:292px!important}
.forest-room .forest-panel-content .forest-cabinet-shelves{grid-template-columns:repeat(3,minmax(0,1fr));height:218px}
@media(max-width:900px){.forest-room #forest-panel-tools{gap:4px;padding:5px}.forest-room #forest-panel-tools button{padding:8px 10px}}

/* Balanced wall: cabinet + ranking, central clock, and equally wide task board. */
.forest-room .top-strip{left:114px!important;width:1308px!important;grid-template-columns:164px 270px 392px 446px!important;gap:12px!important}
.forest-room #forest-announcement-module{left:126px;width:1284px;text-align:center}
.forest-room #forest-announcement-module #forest-wall-notice{text-align:center}
.forest-room .forest-cabinet-shelves{grid-auto-rows:68px;padding:0 4px}
.forest-room .forest-cabinet-item{position:relative;justify-content:center;padding:5px 2px 8px;border-radius:6px;outline-offset:-2px}
.forest-room .forest-cabinet-item>img,.forest-room .forest-cabinet-item>i{width:49px;height:49px}
.forest-room .forest-cabinet-item::after{content:attr(data-tooltip);position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:4;max-width:132px;width:max-content;white-space:normal;padding:5px 7px;border:1px solid #f7ead459;border-radius:6px;background:#392c21ed;color:#fff9ea;font-size:11px;line-height:1.35;text-align:center;pointer-events:none;opacity:0;transition:opacity .16s}
.forest-room .forest-cabinet-item:hover::after,.forest-room .forest-cabinet-item:focus-visible::after{opacity:1}
.forest-room .forest-cabinet-item:focus-visible{outline:2px solid #fff2cd}
.forest-room .toggle-side{right:max(12px,env(safe-area-inset-right))}
.forest-room #forest-immersive-open{position:fixed;right:max(70px,calc(env(safe-area-inset-right) + 58px));top:max(12px,env(safe-area-inset-top));z-index:22;display:grid;place-items:center;width:42px;height:42px;padding:10px;border:1px solid #d5dccb;border-radius:50%;background:#fffaf0ed;color:#476447;box-shadow:0 3px 14px #19332220;cursor:pointer}
.forest-room #forest-immersive-open svg{width:21px;height:21px}

.forest-room .forest-cabinet-item:nth-child(odd)::after{left:0;transform:none}
.forest-room .forest-cabinet-item:nth-child(even)::after{left:auto;right:0;transform:none}
.forest-room .forest-panel-content .forest-cabinet-item::after{left:50%;right:auto;transform:translateX(-50%)}
.forest-room .forest-panel-content .forest-cabinet-item:nth-child(3n+1)::after{left:0;transform:none}
.forest-room .forest-panel-content .forest-cabinet-item:nth-child(3n)::after{left:auto;right:0;transform:none}
body.forest-immersive-open .forest-room :is(.forest-avatar,#forest-theme-effect,#forest-theme-effect i){animation-play-state:paused!important}
@media(min-width:601px) and (max-width:900px){.forest-room .wall-clock{left:50%;right:auto;transform:translateX(-50%)}}
@media(max-width:600px){.forest-room .wall-clock{left:50%;right:auto;top:max(60px,calc(env(safe-area-inset-top) + 48px));transform:translateX(-50%)}}

/* Test classroom: wider three-icon cabinet, narrower team ranking. */
.forest-room .top-strip{grid-template-columns:204px 230px 392px 446px!important}
.forest-room .forest-cabinet-shelves{grid-template-columns:repeat(3,minmax(0,1fr))}
.forest-room .forest-cabinet-item:nth-child(n)::after{left:50%;right:auto;transform:translateX(-50%)}
.forest-room .forest-cabinet-item:nth-child(3n+1)::after{left:0;right:auto;transform:none}
.forest-room .forest-cabinet-item:nth-child(3n)::after{left:auto;right:0;transform:none}
#forest-avatar-dialog select{min-height:36px;min-width:100px;padding:5px 10px;border:1px solid #bcccb4;border-radius:6px;background:#fff;color:#36553f;font:inherit}
