/* Illustrated scenes share the same inner outline as the Matter collision walls. */
html,body{overflow-x:clip}
body[data-board=jar]{background:linear-gradient(140deg,#f3e4bc,#e4c68d)}
body[data-board=hamper]{background:linear-gradient(140deg,#f1d8b8,#e3c0a0)}
body[data-board=space]{background:linear-gradient(140deg,#8f9bb5,#596f89)}
body:not([data-board=toy]) .cabinet{filter:none}
.board-scene{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;contain:paint;z-index:0;pointer-events:none}
.board-scene img{position:absolute;display:block;object-fit:fill;max-width:none;mask-image:radial-gradient(ellipse 83% 87% at 50% 54%,#000 66%,transparent 100%)}
.stage{position:relative;z-index:1}
.board-glass{position:absolute;left:18.25%;top:21.15%;width:63.5%;height:63.5%;z-index:1;pointer-events:none;overflow:visible}
.board-glass svg{display:block;width:100%;height:100%;overflow:visible}
.masthead,footer,.left-panel,.right-panel{position:relative;z-index:6}
.board-current{display:flex;align-items:center;gap:10px;margin:15px 0 5px;padding:11px 13px;border:1px solid #dbc39b;border-radius:12px;background:#f2e9d3;text-align:left}
.board-current svg{width:31px;height:42px;flex:none}
.board-current>span{flex:1;min-width:0;font-size:15px;font-weight:bold;color:#287973}
.board-current button{font-size:14px;font-weight:bold;border:1px solid #c4b18c;border-radius:8px;padding:8px 10px;background:#fff8e9}
.board-heading{text-align:center}.board-heading p{margin:5px 0 16px}
.board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}
.board-card{position:relative;padding:0 0 13px;overflow:hidden;border:2px solid #dfc9a3;background:#fffdf4;border-radius:15px;text-align:left;box-shadow:0 3px #9b754a15}
.board-card[aria-pressed=true]{border-color:#24867f;box-shadow:0 0 0 2px #24867f20}
.board-card:hover{background:#ecf1df}
.board-card .board-thumb{display:block;position:relative;height:145px;background:linear-gradient(120deg,#f2d6a5,#9db7a5);overflow:hidden;margin-bottom:11px}
.board-card .board-thumb>img{width:100%;height:100%;object-fit:cover}
.board-card[data-board-choice=toy] .board-thumb>img{object-fit:contain;padding:7px}
.board-card strong{display:block;color:#226e69;font-size:18px;padding:0 12px}
.board-card small{display:block;color:#8b694b;font-size:13px;line-height:1.4;padding:0 12px;margin-top:4px}
.board-card .shape-badge{position:absolute;bottom:8px;right:8px;width:37px;height:53px;padding:5px;background:#fff8e9ee;border:1px solid #fff9ec;border-radius:8px;box-shadow:0 2px 5px #46391d30}
.board-card .selected-board{position:absolute;top:8px;left:8px;background:#247c72;color:#fff9e9;border-radius:7px;padding:5px 8px;font-size:12px}
body[data-board=space] .brand,body[data-board=space] .controls,body[data-board=space] .host-mobile-line,body[data-board=space] footer{color:#fff3db;text-shadow:0 1px 2px #24394c}
body[data-board=space] #round-caption,body[data-board=space] #goal-state{color:#fff3db;text-shadow:0 1px 3px #24394c}
body[data-board=space] #clock{color:#faf3d7;text-shadow:0 1px 3px #24394c}
body[data-board=space] #clock.urgent{color:#ffcf94}
body[data-board=space] .host-mobile-line b,body[data-board=space] #auto-drop{color:#fff4d9}
body[data-board=space] #auto-drop small{color:#f5e2c1}
body[data-board=space] .stubborn-note{color:#f8ecd4}
body[data-board=space] .stubborn-note small{color:#f1ddc0}
body:not([data-board=toy]) .round-status{position:relative;background:#fff7e4dc;border:1px solid #dfca9b;border-radius:11px;margin-block:3px;min-height:42px}
body:not([data-board=toy]) #round-caption{color:#775939;text-shadow:none}
body:not([data-board=toy]) #clock{color:#176f71;text-shadow:none}
body:not([data-board=toy]) #clock.urgent{color:#bd4c35}
body:not([data-board=toy]) .controls,body:not([data-board=toy]) .host-mobile-line{background:#fff5dedb;border-radius:8px;padding:4px 9px;width:fit-content;margin-inline:auto;color:#795b3d;text-shadow:none}
body:not([data-board=toy]) .host-mobile-line b{color:#176f6a}
body:not([data-board=toy]) footer{background:#fff5dedb;border-radius:10px;color:#775939;text-shadow:none;padding-block:7px}
@media(max-width:740px){.masthead{padding-inline:9px}.brand{gap:5px;font-size:9px;letter-spacing:.4px}.brand-dot{width:19px;height:19px}.brand small{font-size:8px;letter-spacing:.5px}.masthead nav{gap:4px}.nav-button{padding:7px 8px;font-size:12px}.icon-button{width:30px}.board-grid{gap:10px}.board-card .board-thumb{height:114px}.board-card strong{font-size:16px;padding-inline:9px}.board-card small{font-size:12px;padding-inline:9px}.board-card .shape-badge{width:31px;height:45px}.board-current{padding:8px 10px}.board-current>span{font-size:14px}}
@media(max-width:350px){.brand-dot{display:none}.brand{font-size:8px}.masthead{padding-inline:7px;gap:4px}.masthead nav{gap:3px}.nav-button{padding:7px}.icon-button{width:28px}.board-card .board-thumb{height:96px}}
