/* Lightweight draft shelves; scene backgrounds and printer stay unchanged. */
.collection-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #88d8ff66;border-radius:18px;background:#163c5380;box-shadow:inset 0 -6px 12px #071e38}
.collection-slot{min-width:0;min-height:70px;border:1px solid #86d7ff66;border-radius:10px;background:#bddff319;color:#bceaff}.collection-slot .item-image{width:100%;height:52px;object-fit:contain}.collection-slot small{display:block;font-size:10px}
.room-collection{position:absolute;left:5%;bottom:8%;width:32%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:5px;border:2px solid #e6c782;border-radius:10px;background:#4e9ccca6;box-shadow:0 5px 8px #09264844;z-index:8}.room-collection[hidden]{display:none}.room-collection.has-cabinet{width:35%;grid-template-columns:repeat(4,minmax(0,1fr))}.room-collection-slot{height:35px;min-width:0;padding:0;border:0;border-bottom:2px solid #ffe6aa;background:#bceaff22;color:#e8faff}.room-collection-slot img{width:100%;height:100%;object-fit:contain}
.activity-card .item-image{width:80px;height:70px;object-fit:contain}.answer-feedback{line-height:1.5}.answer-grid button{white-space:normal}.game-dialog{max-width:calc(100vw - 24px)}.shop-grid,.activity-card,.inventory-row{min-width:0}.collection-slot:disabled{opacity:.6}
.quiz-companion{float:right;width:76px;height:86px;object-fit:contain;margin:0 0 8px 10px;filter:drop-shadow(0 4px 9px #58d7ff44)}.answer-grid{clear:both}

/* Collection edition: hand-drawn scalable toy models and glass cabinet. */
.blueprint-card{display:grid;grid-template-columns:94px minmax(0,1fr);column-gap:12px;align-items:center;border:1px solid #9fdcff40;background:radial-gradient(ellipse at 10% 20%,#8adfff19,transparent 70%),#122b40;border-radius:18px;padding:14px;margin:12px 0}.blueprint-card>.item-image{grid-row:1/4;width:94px;height:106px;filter:drop-shadow(0 5px 8px #73d4f52e)}.blueprint-card h3{margin:0;font-size:15px}.blueprint-card p{font-size:11px;line-height:1.6;margin:6px 0}.blueprint-card .action{grid-column:1/-1;margin-top:8px}.collection-count{color:#b2e6ff;letter-spacing:.04em;font-size:12px}
.room-collection{left:auto;right:5%;bottom:17%;width:33%;height:17%;border:0;border-radius:10px;background:linear-gradient(transparent 10%,#6d96c64d),linear-gradient(transparent 83%,#f5d395 84%,#ae793e 91%,transparent 92%);box-shadow:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:0 7px 10px;align-items:end;z-index:3}
.room-collection.has-cabinet{width:33%;height:32%;bottom:9%;right:4%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));padding:18% 5% 7%;padding:calc(32% * .18) 4.8% calc(32% * .07);gap:0 4px;background:url('assets/collection-cabinet.svg') center/100% 100% no-repeat}
.room-collection-slot{width:100%;height:100%;min-height:0;border:0;background:none;display:flex;align-items:end;justify-content:center;color:#ceeaff7d;cursor:pointer}.room-collection-slot img{width:100%;height:100%;max-height:58px;object-fit:contain;filter:drop-shadow(0 2px 2px #26498755)}
.collection-shelf{grid-template-columns:repeat(2,minmax(0,1fr));background:linear-gradient(#17416399,#112a46e6);border:1px solid #f2d99a80}.collection-shelf.collection-cabinet{background:radial-gradient(ellipse at 20% 0,#bdeeff44,transparent 55%),linear-gradient(#234f78,#182c53);border:3px solid #ead49e;border-radius:34px 34px 15px 15px;padding:20px 16px 14px;box-shadow:inset 0 0 18px #94d8ff33,0 6px 14px #050f2144}.collection-slot{min-height:98px;border:0;border-radius:0;border-bottom:3px solid #e4ca93;background:linear-gradient(120deg,#a4e4ff0d,#d7f5ff18,transparent);padding:4px;position:relative}.collection-slot .item-image{height:75px;filter:drop-shadow(0 4px 4px #08182a66)}.collection-slot small{font-size:11px;color:#def6ff}.collection-slot:hover{background:#b1eaff20}

.doctor-reference{display:block;width:100%;max-height:230px;object-fit:contain;border-radius:18px;background:#e7f4ff}.real-product-link{display:block;text-align:center;text-decoration:none;margin-top:14px}.inventory-row .item-image{max-width:110px}

/* Large exhibits instead of a miniature eight-cell cupboard. */
.room-collection,.room-collection.has-cabinet{left:auto;right:2%;bottom:8%;width:46%;height:28%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;align-items:start;gap:0;padding:0 7% 18%;padding:0 3% 0;background:url('assets/collection-podium.svg') center/100% 100% no-repeat;border:0;box-shadow:none}
.room-collection-slot{height:66%;align-self:start;align-items:end;padding-top:0}.room-collection-slot[hidden]{display:none}.room-collection-slot img{width:100%;height:100%;max-height:none;object-fit:contain;filter:drop-shadow(0 3px 3px #26498733)}
.collection-open-label{position:absolute;bottom:2%;left:4%;width:92%;border:0;border-radius:12px;padding:6px 2px;background:#163449e8;color:#ddf9ff;font:600 10px system-ui;cursor:pointer;min-height:26px}
.collection-shelf,.collection-shelf.collection-cabinet{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:1px solid #b9e8ff44;border-radius:20px;padding:14px;background:radial-gradient(ellipse at 50% 0,#7ccfe529,transparent 70%),#132e46;box-shadow:none}.collection-slot{min-height:170px;border:1px solid #c1e7ff33;border-bottom:3px solid #e7c990;border-radius:15px;padding:8px;background:#c5edff0a}.collection-slot .item-image{width:100%;height:132px}.collection-slot small{font-size:12px;line-height:1.4}.collection-closeup.item-image{display:block;width:100%;max-width:300px;height:280px;object-fit:contain;margin:0 auto 15px;filter:drop-shadow(0 10px 12px #0b1b294d)}.doctor-color-preview.item-image{display:block;width:180px;height:180px;object-fit:contain;margin:12px auto}.blueprint-card>.item-image{width:110px;height:125px}.blueprint-card{grid-template-columns:110px minmax(0,1fr)}

.room-collection{touch-action:pan-y}.podium-controls{position:absolute;left:-5%;right:-5%;bottom:-9%;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:3px}.podium-controls button{min-height:40px;border:1px solid #caecff77;border-radius:12px;background:#173e54eb;color:#effdff;cursor:pointer;box-shadow:0 3px 6px #14334933}.podium-controls .podium-arrow{font-size:27px;line-height:1}.podium-controls .podium-arrow:disabled{opacity:.4;cursor:default}.podium-page{font:600 10px/1.4 system-ui;white-space:pre-line;padding:2px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.gallery-card{min-width:0;border:1px solid #bce8ff40;border-radius:18px;padding:8px;background:linear-gradient(135deg,#a6e9ff16,#112c4233)}.gallery-view{width:100%;border:0;padding:0;background:none;color:#e4f6ff;cursor:pointer}.gallery-view .item-image{width:100%;height:140px;max-height:none;object-fit:contain}.gallery-view strong{display:block;font-size:12px;line-height:1.4;margin:6px 0}.favorite-button{width:100%;min-height:44px;font-size:11px;border:1px solid #9de4e44d;border-radius:10px;color:#bcefff;background:#4da0ac17;cursor:pointer}.favorite-button[aria-pressed="true"]{color:#ffe5ef;border-color:#f3b9d178;background:#a6557d26}.collection-closeup.item-image{max-height:none}.gallery-grid+.action{margin:5px 0}

/* All artwork shares the surface baseline, including the wider duck SVG. */
.room-collection-slot{position:relative;z-index:1}.room-collection-slot img{object-position:center bottom}
.room-collection-slot::before{content:"";position:absolute;left:12%;right:12%;bottom:12%;height:6%;border-radius:50%;background:radial-gradient(ellipse,#325a7259,transparent 72%);pointer-events:none;z-index:-1}
.room-collection::before{content:"";position:absolute;left:0;right:0;top:42%;height:48%;border-radius:50%;background:radial-gradient(ellipse,#72e7ff66 0,#c8fbff25 35%,transparent 72%);filter:blur(5px);pointer-events:none;animation:podium-light 4s ease-in-out infinite alternate}
.room-collection::after{content:"";position:absolute;left:7%;right:7%;top:59%;height:3%;border-radius:50%;background:linear-gradient(90deg,transparent,#b7faff 25%,#f7ffff 50%,#9fefff 75%,transparent);box-shadow:0 0 9px #94edffb3,0 0 18px #84e7ff66;pointer-events:none;animation:podium-light 4s ease-in-out infinite alternate}
.podium-controls{z-index:3}@keyframes podium-light{from{opacity:.45}to{opacity:.95}}
.life-paused .room-collection::before,.life-paused .room-collection::after{animation-play-state:paused!important}.reduced .room-collection::before,.reduced .room-collection::after{animation:none!important;opacity:.65}
@media(prefers-reduced-motion:reduce){.room-collection::before,.room-collection::after{animation:none!important;opacity:.65}}
