/* Deliberately opt-in: only the official shop receives either of these markers. */
body[data-mini-shop-visitor][data-official-select-shop]{
 --official-visit-width:min(1192px,calc(100% - 32px));
 color:#f5e7d3;
 background:#1b1519 radial-gradient(ellipse min(92vw,1120px) 640px at 50% 120px,#55382970,transparent 100%) no-repeat;
 min-height:100vh
}
body[data-mini-shop-visitor][data-official-select-shop] > .top{
 background:linear-gradient(110deg,#171219,#2a191c 55%,#171219);
 color:#ffe9ba;border-bottom:1px solid #9b703b
}
body[data-mini-shop-visitor][data-official-select-shop] > .top > .shop-top,
body[data-mini-shop-visitor][data-official-select-shop] > main.shop-page{
 width:var(--official-visit-width);margin-inline:auto;padding-inline:0
}
body[data-mini-shop-visitor][data-official-select-shop] > main.shop-page{margin-block:0 52px}
body[data-mini-shop-visitor][data-official-select-shop] :is(#official-pick-bags,#shop-products,#neighbor-visit,#today-treasure){width:100%}
body[data-mini-shop-visitor][data-official-select-shop] #official-pick-bags{padding-inline:0}
@media(max-width:720px){
 body[data-mini-shop-visitor][data-official-select-shop]{--official-visit-width:calc(100% - 20px)}
}
body[data-official-select-shop] #room-visit{
 margin:0;padding:0;border:0;border-radius:0;background:transparent;
 box-shadow:none
}
body[data-official-select-shop] :is(#neighbor-visit,#today-treasure){margin-inline:auto}
body[data-official-select-shop] #room-visit #mini-room[data-official-select-room]{
 width:100%;margin:0;aspect-ratio:21/9;border-radius:0
}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room]{
 border:1px solid #b28955;
 background:#241c20 url('/market/room/official-select-showroom.svg') center/100% 100% no-repeat;
 --shop-accent:#ffe2a0;--shop-edge:#b38a57;
 --shelf-top:#d3ad72;--shelf-trim:#6e4b2d;--shelf-a:#342723;--shelf-b:#151218
}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room] > :is(.room-wall,.room-wall-theme,.room-floor,.room-window){display:none}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room] .room-sign{
 background:#221819ed;color:#ffe7af;border-color:#c59a5a;box-shadow:0 3px 12px #0008;
 max-width:43%
}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room] .room-display[data-market-counter]{
 background:linear-gradient(180deg,transparent calc(100% - 12px),#dabb81 calc(100% - 12px),#e4c286 calc(100% - 8px),#805b36 calc(100% - 7px),#402a22);
 box-shadow:none
}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room] .room-display[data-market-counter]::before{
 content:"";background:repeating-linear-gradient(90deg,#fff1d00a 0 1px,#140f12 2px 7px,#241b1b 7px 9px);
 border:1px solid #9b754d
}
:is(#mini-room,#showcase-room,.directory-official-stage)[data-official-select-room] .room-shelf-item:not(.room-object-cutout){
 border-color:#b98d50;background:#282025;box-shadow:0 3px 12px #0008
}
#mini-room[data-official-select-room] .mini-shop-room-picks a{border-color:#dbb877}
.official-select-insignia{
 position:absolute;z-index:5;left:3%;top:8%;pointer-events:none;display:flex;align-items:center;gap:.5em;
 padding:.45em .7em;border:1px solid #bd925a;border-radius:5px;
 color:#ffe0a2;background:linear-gradient(135deg,#3a2a23ee,#1c1519ee);box-shadow:0 3px 14px #120d12aa;
 font-size:clamp(9px,1.25vw,15px);font-weight:800;letter-spacing:.035em;white-space:nowrap
}
.official-select-insignia b{color:#ffe7a5;text-shadow:0 0 7px #ffc050}
body[data-official-select-shop] .mini-shop-pick-photos:not([hidden]){
 width:100%;margin:10px auto 0;padding:8px 0 10px;
 border-bottom:1px solid #ad81554d;scrollbar-color:#a4774b #201619
}
body[data-official-select-shop] .mini-shop-pick-photos a{border-color:#a4774b}
body[data-official-select-shop] #shop-products{
 width:100%;margin:22px auto 0;color:#f6ead7;
 background:#231c20;border-color:#ad815559
}
body[data-official-select-shop] #shop-products :is(h2,#shop-count,.shop-item-copy b){color:#f8d99b}
body[data-official-select-shop] #shop-products :is(.shop-item-copy small,.shop-empty){color:#decbaf}
body[data-official-select-shop] #shop-products :is(.shop-item,.shop-empty){background:#2c2428;border-color:#b78e6155}
body[data-official-select-shop] #shop-products .shop-item a:hover{background:#402f30}
body[data-official-select-shop] #shop-products a:focus-visible{outline:2px solid #f3c984;outline-offset:-3px}
@media(max-width:720px){
 body[data-official-select-shop] #room-visit #mini-room[data-official-select-room]{aspect-ratio:3/2}
 .official-select-insignia{left:3%;top:6%;padding:.4em .55em}
}

#showcase-room[data-official-select-room]{background:#241c20 url('/market/room/official-select-showroom.svg') center/100% 100% no-repeat}
#shop-showcase :is(#showcase-official-link,#showcase-link)[hidden]{display:none!important}
#shop-showcase #showcase-official-link{
 display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid #c99753;border-radius:6px;
 background:linear-gradient(125deg,#6b4319,#3c2818);color:#ffe8b6;font-weight:800;text-shadow:none;white-space:nowrap
}
#shop-showcase #showcase-official-link:hover{background:#5b381d;color:#fff1ca}
#shop-showcase #showcase-official-link:focus-visible{outline:2px solid #f3c984}

/* Keep the shop editor’s sizing in the official home card, not the compact carousel thumbnail caps. */
#showcase-scene #showcase-room[data-official-select-room] .room-shelf-position .room-shelf-item img{
 width:100%;height:auto;max-height:155px;
}
#showcase-scene #showcase-room[data-official-select-room] .room-shelf-position .room-object-cutout{padding:0}
#showcase-scene #showcase-room[data-official-select-room] .room-display[data-market-counter]{width:64%;padding:0}
#showcase-scene #showcase-room[data-official-select-room] .room-display[data-market-counter]::before{height:38px;bottom:-37px}
@media(max-width:620px){
 #showcase-scene #showcase-room[data-official-select-room] .room-display[data-market-counter]{width:72%}
 #showcase-scene #showcase-room[data-official-select-room] .room-display[data-market-counter]::before{height:27px;bottom:-26px}
}
