/* A single, stationary isometric projection; products remain upright on its planes. */
.isometric-market{position:relative;width:100%;aspect-ratio:640/520;isolation:isolate;user-select:none;-webkit-user-select:none;container-type:inline-size;background:radial-gradient(ellipse at 50% 54%,#e1e9d2 0,transparent 68%);border-radius:24px}
.island-art{width:100%;height:100%;display:block;overflow:visible;pointer-events:none}
.scene-product{position:absolute;z-index:3;transform:translate(-50%,-50%);width:var(--pack-width);height:var(--pack-height);min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;background:transparent;border:0;border-radius:14px;touch-action:manipulation;overflow:visible;cursor:pointer}
.scene-product:before{content:'';position:absolute;width:90%;height:23%;bottom:3%;border-radius:50%;transform:rotate(-26deg);background:#34604712;border:1px solid #7b93694d;z-index:-1}
.scene-product .package{width:100%;height:100%;display:block;filter:drop-shadow(2px 4px 0 #5b6c3f12)}
.scene-product .package svg{display:block;width:100%;height:100%;overflow:visible}
.scene-product:focus-visible{outline:3px solid #216c5d;outline-offset:0;background:#eff6db80}
.scene-product:hover:not(:disabled) .package{filter:drop-shadow(0 0 3px #fff8d3) drop-shadow(2px 4px 0 #496b3c20)}
.scene-product.in-section:before{border-color:#758e5d66;background:#c3b17922}
.scene-product.is-held:before{border:3px solid #d47c35;background:#f5d59299;box-shadow:0 0 0 4px #fff0c366}
.scene-product.is-held .package{filter:drop-shadow(0 -2px 0 #fff2bf) drop-shadow(2px 4px 0 #b9742c33)}
.scene-product.is-guided{outline:2px dashed #c47331;outline-offset:-2px}
.scene-product.is-delivered{opacity:.4;filter:grayscale(.7);cursor:default}
.package-state{position:absolute;z-index:4;left:50%;bottom:-10px;transform:translateX(-50%);white-space:nowrap;background:#fff4d4;color:#8a5429;border:1px solid #d4b174;border-radius:5px;padding:1px 5px;font-size:12px;line-height:1.6;font-weight:700;pointer-events:none}
.is-delivered .package-state{color:#285b48;background:#e5eedf;border-color:#9fb59d}
.package-name{position:absolute;left:50%;bottom:calc(100% + 2px);transform:translateX(-50%);background:#fffef4;color:#315c48;box-shadow:0 3px 10px #25483720;border:1px solid #d4ddc1;border-radius:6px;padding:4px 8px;font-size:14px;white-space:nowrap;opacity:0;pointer-events:none;z-index:9}
.scene-product:focus-visible .package-name,.scene-product:hover .package-name,.scene-product.is-held .package-name{opacity:1}
.stand-sign{position:absolute;z-index:2;transform:translate(-50%,-50%);font-size:14px;font-weight:700;color:#5d684d;background:#f7e8c7;border:1px solid #b99e71;border-radius:5px;min-height:44px;min-width:112px;line-height:1.3;padding:5px 9px;box-shadow:0 3px 0 #a9815340;white-space:nowrap;touch-action:manipulation}
.stand-sign.active{color:#fff4d4;background:#246e5a;border-color:#195c4e;box-shadow:0 3px 0 #144d4140}
.stand-sign:hover{outline:2px solid #d9ab63;outline-offset:2px}
.cashier-sign{position:absolute;z-index:4;left:44%;top:76%;transform:translate(-50%,-50%);border-radius:6px;border:1px solid #976c42;background:#f6e5bc;color:#5f5132;font-size:14px;font-weight:700;min-height:44px;padding:5px 10px;white-space:nowrap;box-shadow:0 3px 0 #9c794940;touch-action:manipulation}
.cashier-sign:not(:disabled){background:#f7d081;border-color:#bd7b38;color:#6f4522}
.cashier-sign:disabled{opacity:1;color:#786c50;cursor:default}
.shopper-caption{position:absolute;left:12%;top:81%;color:#738265;font-size:12px;letter-spacing:1px;pointer-events:none}
.scene-heading{display:flex;align-items:center;justify-content:space-between;color:#547754;margin:18px 0 0;font-size:14px;letter-spacing:1px}
.scene-heading small{font-size:12px;color:#80906f;letter-spacing:0}
.play>.isometric-market{width:calc(100% + 24px);margin:0 -12px -6px}
.scene-preview{width:calc(100% + 24px);margin:0 -12px 8px}
.scene-preview .scene-product{min-width:0;min-height:0;pointer-events:none;cursor:default}
.scene-preview .scene-product:before{display:none}
.scene-preview .stand-sign{display:grid;place-items:center;min-height:24px;min-width:0;font-size:12px;padding:3px 7px;pointer-events:none}
.scene-preview .cashier-sign{min-height:24px;font-size:12px;display:grid;place-items:center;pointer-events:none}
.scene-preview .package-name{display:none}
.game-active .paper{margin-bottom:10px}
.game-active .compact .clues li{font-size:14px;line-height:1.55;padding:6px 0}
.game-active .scene-heading{margin-top:10px}
.game-active .checkout{margin-top:0;box-shadow:0 -8px 18px #fbf8ecdd;border-top:1px solid #d9dfcb}
.game-active .checkout .held{min-width:0}
.game-active .held strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-active .play-footer{margin-top:0}
.game-active .site-footer{display:none}
@media(max-width:400px){.stand-sign{font-size:12px;min-width:104px;padding:5px}.cashier-sign{font-size:12px}.game-active .order-heading h2{font-size:20px}.game-active .compact{padding:6px 12px}.game-active .scene-heading{margin-top:8px}.game-active header{margin-bottom:4px}.game-active .timer{padding:6px 10px}.game-active .feedback{font-size:12px}.package-state{font-size:11px;padding:1px 3px}.shopper-caption{font-size:11px;left:9%}}
@media(min-width:700px){.home h1{font-size:42px}.home .intro{margin-bottom:0}.scene-preview{margin-top:-10px;margin-bottom:-12px}}


.stand-navigation {
  display: flex;
  margin: 10px 0 6px;
  padding: 3px;
  border: 1px solid #ccd9bd;
  border-radius: 12px;
  background: #ecf0e3;
}
.stand-navigation button {
  flex: 1;
  min-height: 44px;
  border-radius: 8px;
  color: #355f4b;
  background: transparent;
  font-size: 14px;
}
.stand-navigation [aria-pressed="true"] {
  background: #246e5a;
  color: #fff8de;
  font-weight: 700;
}
.stand-closeup { overflow: hidden; }
.stand-closeup .island-art { overflow: hidden; }

.scene-product .product-image { display:block; width:100%; height:100%; object-fit:contain; }
.knowledge-card > .product-image { width:78px; height:86px; object-fit:contain; align-self:center; }
.order-quota { margin:10px 0; color:#365f50; font-size:14px; }
.scene-product.missing-photo .package-name { opacity:1; bottom:20%; }
