body #glass-shortcut{display:block;width:255px;max-width:100%;margin-top:7px;padding:9px 12px;min-height:40px;border:1px solid #ac9066;border-radius:5px;background:var(--paper,#efdfc0);color:var(--ink,#3d2d20);font-size:12px;cursor:pointer;box-shadow:0 2px 5px #37281824}
body #environment-panel{max-height:max(220px,calc(100dvh - 430px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#glass-options{margin:0 0 18px;padding:0 0 14px;border:0;border-bottom:1px solid #aa8e6566;min-width:0;color:var(--ink,#3d2d20)}
#glass-options legend{font-size:13px;font-weight:700;margin-bottom:9px;padding:0}.glass-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.glass-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:79px;min-width:0;padding:9px 5px;background:#f7ebd5;color:#493c2c;border:1px solid #b49d78;border-radius:5px;cursor:pointer;font-size:11px;line-height:1.4}
.glass-choices button[aria-pressed=true]{background:#e1eddf;border:2px solid #416b5a;box-shadow:inset 0 0 0 1px #fff9;color:#234b3d;font-weight:700}
.glass-swatch{display:block;width:29px;height:29px;border:1px solid #668d94;box-shadow:inset 2px 2px 0 #fffd,2px 2px 0 #84999955;transform:skewY(-8deg);background:linear-gradient(135deg,#fff6,#a6d4da33)}
.glass-swatch-blue{background:linear-gradient(135deg,#d8f0f8,#7aafc388)}.glass-swatch-frosted{background:linear-gradient(135deg,#fbfffd,#a8c2c9);box-shadow:inset 0 0 8px white,2px 2px 0 #84999955}.glass-swatch-crystal{background:linear-gradient(130deg,#e0f8ff99 25%,#ffffff 27%,#a3cce45c 33%,#c8edfba6 65%,white 67%,#9cb7bf88 73%)}
#glass-options .glass-hint{font-size:11px;line-height:1.6;margin:9px 0 5px;color:var(--muted,#735b42)}#glass-options small{display:block;font-size:10px;line-height:1.6;color:var(--muted,#735b42)}
body.touch-game #environment-panel{max-height:none;overflow:visible}body.touch-game .glass-choices button{min-height:80px;font-size:12px}body.touch-game #glass-shortcut{width:100%;font-size:13px}
body #environment-controls:has(#environment-panel:not([hidden])){z-index:8}
@media(max-height:650px) and (min-width:800px){body:not(.touch-game) #environment-panel{position:fixed;left:300px;top:65px;width:290px;max-height:calc(100dvh - 85px)}}
