/* Shared catalog colors preserve proportions in both room objects and previews. */
.campus-variant-art{display:flex;align-items:center;justify-content:center;width:100%;height:100%;filter:var(--item-variant-filter,brightness(1));pointer-events:none}
.campus-variant-art>.campus-item-art{width:100%;height:100%;object-fit:contain}
.campus-variant-art>.campus-material-swatch{object-fit:cover}
.campus-object-art>.campus-variant-art{display:block}
.campus-variant-art>.room-living-thumb{width:100%;height:100%}
.market-product-art-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%;text-decoration:none;color:inherit}
.market-product-title-link{color:inherit;text-decoration:none}
.market-product-title-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.market-card-colors{display:flex;align-items:center;gap:6px;margin:12px 0 2px}
.market-card-colors i{display:block;width:17px;height:17px;border:1px solid #b6a47b;border-radius:50%;box-shadow:inset 0 1px 2px #fff8}
.market-card-colors small{margin-left:5px;font-size:12px}
.market-item-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 22px}
.market-item-heading h1{margin:5px 0 0;font-size:clamp(26px,3vw,40px)}
.market-item-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:clamp(24px,4vw,58px);padding:clamp(20px,3.5vw,44px);border:1px solid #ab996b90;border-radius:22px;background:linear-gradient(135deg,#fffaf084,#f6eacf30);box-shadow:inset 0 1px 0 #fff8,0 14px 40px #4c3e2410}
.market-item-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:320px;aspect-ratio:1.12;background:radial-gradient(ellipse at 50% 80%,#786e4520,transparent 45%),radial-gradient(ellipse at 50% 40%,#ffffff70,transparent 65%);border:1px solid #bba77d45;border-radius:18px;padding:28px;position:relative;overflow:hidden}
.market-item-stage .campus-item-art{max-width:100%;max-height:420px;object-fit:contain;filter:drop-shadow(0 15px 10px #35352e22)}
.market-item-stage .campus-material-swatch{object-fit:cover;aspect-ratio:1;height:100%;max-height:none}
.market-item-stage .room-painted-toy{width:90%}
.market-item-stage .room-living-thumb{display:flex;position:relative;align-items:center;justify-content:center}
.market-item-stage .room-living-thumb i{position:absolute;right:35%;top:25%;color:#fff1aa;text-shadow:0 0 15px #fff}
.market-item-config{display:flex;flex-direction:column;justify-content:center;min-width:0}
.market-item-config h2{font-size:24px;margin:0 0 12px}
.market-item-description{font-size:17px;line-height:1.55;margin:0 0 20px}
.market-variant-group{border:0;padding:0;margin:0 0 20px;min-width:0}
.market-variant-group legend{font-size:14px;margin-bottom:12px;font-weight:bold}
.market-variant-options{display:flex;flex-wrap:wrap;gap:10px}
.market-variant-option{display:flex;align-items:center;gap:8px;padding:9px 12px;min-height:44px;background:#fff8;border:1px solid #ac9a7060;border-radius:12px;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.market-variant-option i{width:23px;height:23px;border-radius:50%;background:var(--swatch);border:1px solid #a2906f;box-shadow:inset 0 1px 3px #fff7}
.market-variant-option[aria-pressed=true]{border-color:#167d87;box-shadow:0 0 0 2px #168e8a26;background:#d9efeb80}
.market-variant-option:hover{border-color:#168e8a}
.market-variant-option:focus-visible{outline:3px solid #58b5bd;outline-offset:3px}
.market-item-buybox{border-top:1px solid #ae9d7150;padding-top:18px;margin-top:5px}
.market-item-price{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.market-item-price img{width:38px;height:38px;object-fit:contain}
.market-item-price strong{font-size:27px}.market-item-price span{font-size:15px}
.market-item-buybox .primary,.market-item-buybox>.soft-btn{width:100%;justify-content:center;margin-bottom:12px;min-height:46px}
.market-item-note{font-size:13px;line-height:1.5;opacity:.8;margin:0 0 14px}
.market-item-owned{display:flex;align-items:center;gap:8px;font-weight:bold;margin-bottom:14px;color:#247a6d}
.market-item-breadcrumb{font-size:14px}
html[data-theme=dark] .market-item-detail{background:linear-gradient(135deg,#173e478c,#102b3545);border-color:#b8a3777a;box-shadow:inset 0 1px 0 #b1edeb15,0 14px 40px #00121925}
html[data-theme=dark] .market-item-stage{background:radial-gradient(ellipse at 50% 80%,#00151950,transparent 45%),radial-gradient(ellipse at 50% 40%,#527d8133,transparent 65%)}
html[data-theme=dark] .market-variant-option{background:#264650aa;border-color:#b4a07966}
html[data-theme=dark] .market-variant-option[aria-pressed=true]{background:#27616b;border-color:#98dbd2}
html[data-theme=dark] .market-item-owned{color:#a1ddd2}
@media(max-width:760px){.market-item-detail{grid-template-columns:1fr;gap:22px;padding:18px}.market-item-stage{min-height:240px;max-height:360px;padding:20px}.market-item-heading{align-items:flex-start}.market-item-heading>.soft-btn{max-width:145px;text-align:center}.market-item-description{font-size:15px}.market-variant-options{gap:7px}.market-variant-option{padding:8px 10px}}
@media(prefers-reduced-motion:no-preference){.market-item-stage>.campus-variant-art{animation:marketItemReveal .28s ease-out}@keyframes marketItemReveal{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}}
