#quiz-dock #outside-hand{position:fixed;right:max(10px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);width:clamp(48px,5vw,66px);height:auto;aspect-ratio:1;display:grid;place-items:center;padding:0;border:2px solid #a6773f;border-radius:50%;background:#ffe09b;box-shadow:0 3px 9px #53371e42;font-size:clamp(25px,3vw,35px);line-height:1}
#quiz-dock #outside-hand:disabled{opacity:.78}
#quiz-board[open]{position:fixed;z-index:12;display:block;overflow:hidden;box-sizing:border-box;width:min(820px,calc(100vw - 2 * clamp(62px,7vw,90px)));height:min(580px,calc(100dvh - var(--quiz-top,25dvh) - 10px));max-width:none;border:1px solid #997344;box-shadow:0 5px 24px #402d1738}
#quiz-board iframe{display:block}
@media(max-width:600px){#quiz-board[open]{width:calc(100vw - 70px);margin-left:4px}#quiz-dock #outside-hand{right:8px}}
#guest-profile{position:fixed;inset:0;margin:auto;width:min(400px,94vw);max-height:94dvh;border:1px solid #ab8960;border-radius:14px;background:#fff9ed;color:#3d3529;padding:22px;box-shadow:0 16px 55px #32210e44}
#guest-profile::backdrop{background:#342a1c77}
#guest-profile form,#guest-profile label{display:grid;gap:6px}
#guest-profile form{gap:13px}
#guest-profile h2{margin:0;font:600 25px Georgia,serif;color:#244637}
#guest-profile label{font-size:14px;font-weight:600}
#guest-profile input,#guest-profile select{box-sizing:border-box;width:100%;min-width:0;background:white;color:#362f26;border:1px solid #c8b79f;padding:9px;border-radius:7px;font:inherit}
#guest-profile .profile-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#guest-profile img{border-radius:50%;object-fit:cover}
#guest-profile [hidden],#guest-profile p:empty{display:none}
#guest-profile p{margin:0;color:#963520}
#guest-profile button[type=submit]{background:#294d3c;color:white;padding:11px;border:0;border-radius:8px}
#guest-profile [data-close]{position:absolute;right:14px;top:12px;background:none;border:0;font-size:20px}

#class-speaker{display:flex;align-items:center;gap:8px;background:#fff6df;color:#344936;border:1px solid #ba986c;border-radius:24px;padding:3px 12px 3px 3px}
#class-speaker img{border-radius:50%;object-fit:cover}
body:has(#quiz-board[open]) #class-speaker{display:none}
#seat-hover{position:fixed;z-index:20;pointer-events:none;display:flex;align-items:center;gap:8px;max-width:min(260px,calc(100vw - 12px));box-sizing:border-box;padding:5px 12px 5px 5px;border:1px solid #ad9370;border-radius:24px;background:#fff9eb;color:#2d4237;box-shadow:0 3px 12px #34281935;font:600 14px/1.25 system-ui,sans-serif}
#seat-hover[hidden],#seat-hover [hidden]{display:none}
#seat-hover img{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover}
#seat-hover strong{overflow-wrap:anywhere}
.seat-pin.with-avatar:hover,.seat-pin.with-avatar:focus-visible{background:transparent;color:transparent;border-color:transparent;box-shadow:none}
.seat-pin.with-avatar:is(:hover,:focus-visible) small{color:transparent}
