/* Approved connected cabinet. Existing cover camera, labels and shadows stay native. */
@media screen {
html[data-cs-browse] .weekly-content .shop-wall[data-cs-cabinet="ready"]{position:relative}
html[data-cs-browse] .weekly-content .shop-wall[data-cs-cabinet="ready"]::before{content:""!important;position:absolute!important;inset:-20px -64px!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--cs-connected-paint) no-repeat left top / 100% 100%!important;opacity:1!important;pointer-events:none!important;z-index:-1!important}
html[data-cs-browse] .weekly-content .shop-wall[data-cs-cabinet="ready"] .shelf-row>:is(.rack-backboard,.rack-deck,.rack-ledge,.rack-fascia){opacity:0!important}
html[data-cs-browse] .weekly-content .shop-wall .shelf-row>.rack-deck{left:0!important;right:0!important}
html[data-cs-browse] .weekly-content .shop-wall .shelf-row>.rack-fascia{transform-style:flat!important}
}
@media print{.cs-connected-cabinet{display:none!important}}

/* Compact mounted signs: type stays readable while padding and empty tracks shrink. */
@media screen {
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall{--sign-height:52px;--sign-mount-gap:3px;--shelf-sign-shadow-y:1.5px}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-row .shelf-caption{
 min-height:52px!important;padding:2px 7px!important;gap:1px!important;align-content:center!important;
 grid-template-rows:var(--rack-title-height,auto) 14.4px max-content!important;
 border:1px solid #b899b1!important;border-radius:3px!important;background:#17141d!important;
 box-shadow:1px 1.5px 0 #32162e,inset 0 1px 0 #fbe3f31c!important;
}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-caption .shelf-cover-title{display:flex;align-items:center;justify-content:center;line-height:1.1!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-title-open{font-size:14px!important;line-height:1.1!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-cover-artist,
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-credit-trigger{font-size:12px!important;line-height:1.2!important;color:#cdc4d0!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-caption .shelf-cover-kind{font-size:11px!important;line-height:1.15!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-caption:has(.shelf-cover-homage){grid-template-rows:var(--rack-title-height,auto) 14.4px max-content max-content!important}

/* STAFF PICKS hangs from a slim painted rail, with a real-looking metal clip. */
html[data-cs-browse] .weekly-content .cs-main-spotlights{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}
html[data-cs-browse] .weekly-content .cs-main-spotlights::before{content:""!important;position:absolute!important;inset:18px 0 auto!important;height:8px!important;border:2px solid #30162f!important;border-radius:4px!important;background:#95265f!important;box-shadow:inset 0 1px 0 #e982b3!important;transform:none!important;z-index:-1!important;pointer-events:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary{position:relative;min-height:44px!important;padding:5px 244px 5px 12px!important;gap:0!important;list-style:none}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary::before{display:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary::-webkit-details-marker{display:none}
html[data-cs-browse] .cs-main-spotlights .cs-fun-title{position:relative;display:flex!important;align-items:center;gap:7px!important;min-height:30px!important;padding:5px 13px!important;background:#fff1d4!important;color:#2e1730!important;border:2px solid #30162f!important;border-radius:2px!important;box-shadow:2px 2px 0 #30162f!important;transform:rotate(-1deg)!important;font:800 13px/1.1 CSBarlow,'Barlow Semi Condensed',Arial,sans-serif!important;letter-spacing:.035em}
html[data-cs-browse] .cs-main-spotlights .cs-fun-title::before{content:""!important;position:absolute!important;top:-8px!important;left:calc(50% - 6px)!important;right:auto!important;width:12px!important;height:10px!important;box-sizing:border-box!important;border:2px solid #30162f!important;border-radius:3px 3px 2px 2px!important;background:#c4bcc9!important;box-shadow:inset 0 2px 0 #fff4fa!important;opacity:1!important;transform:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-title::after{content:"+"!important;position:static!important;display:block!important;width:auto!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;color:#b32368!important;font:900 17px/12px Arial,sans-serif!important;transform:none!important;opacity:1!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure[open] .cs-fun-title::after{content:"−"!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-hint{display:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-arrivals-crate{top:5px!important;right:10px!important;min-height:34px!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-grid{margin-top:7px!important;padding:10px!important;border:2px solid #43203f!important;background:#17131d!important;border-radius:4px!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-edition{padding-inline:12px;background:#17131d}

/* Discrete two-frame button travel, with a high-contrast ink-and-paper focus ring. */
html[data-cs-browse] .cs-main-toolbar :is(button,a),
html[data-cs-browse] .cs-main-spotlights :is(.cs-fun-title,.cs-arrivals-crate){transition:transform 100ms steps(2,end),box-shadow 100ms steps(2,end),background-color 100ms steps(2,end)!important}
html[data-cs-browse] .cs-main-toolbar :is(button,a):active:not(:disabled){transform:translateY(2px)!important;box-shadow:inset 0 1px 0 #26142b!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary:active .cs-fun-title{transform:translateY(2px) rotate(-1deg)!important;box-shadow:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-arrivals-crate:active{transform:translateY(2px)!important;box-shadow:none!important}
html[data-cs-browse] .cs-main-toolbar :is(button,a):focus-visible,
html[data-cs-browse] .cs-main-spotlights summary:focus-visible,
html[data-cs-browse] .weekly-content .shelf-caption :is(button,a):focus-visible{outline:2px solid #fff1d4!important;outline-offset:3px!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary:focus-visible{outline:none!important}
html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary:focus-visible .cs-fun-title{outline:2px solid #fff1d4!important;outline-offset:3px!important;box-shadow:0 0 0 5px #30162f!important}
@media(max-width:760px){
 html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary{padding:6px 182px 6px 8px!important;min-height:48px!important}
 html[data-cs-browse] .cs-main-spotlights .cs-fun-title{font-size:12px!important;padding:5px 8px!important;gap:5px!important}
 html[data-cs-browse] .cs-main-spotlights .cs-arrivals-crate{top:2px!important;right:4px!important;width:172px!important;min-height:44px!important}
 html[data-cs-browse] .weekly-content .cs-main-spotlights::before{top:21px!important}
}
@media(max-width:360px){html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary{padding-right:158px!important}html[data-cs-browse] .cs-main-spotlights .cs-arrivals-crate{width:148px!important}}
@media(prefers-reduced-motion:reduce){html[data-cs-browse] .cs-main-toolbar :is(button,a),html[data-cs-browse] .cs-main-spotlights :is(.cs-fun-title,.cs-arrivals-crate){transition:none!important}html[data-cs-browse] .cs-main-toolbar :is(button,a):active,html[data-cs-browse] .cs-main-spotlights .cs-arrivals-crate:active{transform:none!important}html[data-cs-browse] .cs-main-spotlights .cs-fun-disclosure>summary:active .cs-fun-title{transform:rotate(-1deg)!important}}
}

/* The artwork and existing colored designation are the only shelf labels. */
html[data-cs-browse] .weekly-content .cs-shelf-stamp{display:none!important}

@media screen {
/* Strengthen just the seam. Keep the original projected footprint and pickup state. */
html[data-cs-browse] .weekly-content .shop-wall .rack-book-contact{fill:#100a15!important;opacity:.98!important;filter:blur(.18px)!important}
html[data-cs-browse] .weekly-content .shop-wall .rack-book-cast{fill:var(--cs-cast-gradient)!important;opacity:.62!important;filter:blur(.7px)!important}
html[data-cs-browse] .weekly-content .shop-wall .rack-book-penumbra{opacity:.18!important;filter:blur(1.8px)!important}
html[data-cs-browse] .weekly-content .shop-wall .rack-book-shadow[data-cover-lifted][data-stack-copies="1"] .rack-book-contact{opacity:.18!important}
html[data-cs-browse] .weekly-content .shop-wall .rack-book-shadow[data-cover-lifted][data-stack-copies="1"] .rack-book-cast{opacity:.42!important}

/* All cards share the row's title allowance and a stable designation baseline. */
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall .shelf-caption .shelf-cover-kind{align-self:end!important;min-height:1.15em}
html[data-cs-browse] .weekly-content .shop-wall .shelf-cover-artist{min-width:0}
html[data-cs-browse] .counter-artist{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-height:none!important;-webkit-line-clamp:unset!important;line-clamp:unset!important}
}


/* A legible illustrated stock depth, independent of the catalog's physical
   thickness measurements. Native counts and the 68-degree shelf camera stay intact. */
@media screen{
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-stack{
 --cs-stock-layer:0;--cs-paper-depth:clamp(4.2px,.42vw,5.8px);
 --cs-stock-front:calc(var(--cs-paper-depth) * 10);

 --cs-stock-x:calc(var(--cs-stock-front) * .012);
 --cs-stock-y:calc(var(--cs-stock-front) * var(--rack-cosine));
 --cs-stock-z:calc(var(--cs-stock-front) * var(--rack-sine));
}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-stack>:is(.cover-visual,.shelf-front-book,.shelf-contact){transform:translate3d(var(--cs-stock-x),var(--cs-stock-y),var(--cs-stock-z))!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy{
 --cs-stock-advance:calc(var(--cs-stock-front) - var(--cs-stock-layer) * var(--cs-paper-depth));
 transform:translate3d(calc(var(--cs-stock-advance) * .012),calc(var(--cs-stock-advance) * var(--rack-cosine)),calc(var(--cs-stock-advance) * var(--rack-sine)))!important;
 filter:none!important;
}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .copy-paper-top{height:var(--cs-paper-depth)!important;background:#d7cbd0!important;border-top:.65px solid #f7edf0!important;border-bottom:.5px solid #4c3045!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .copy-paper-side{width:var(--cs-paper-depth)!important;background:#a592a2!important;border-top:.5px solid #3a2138!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy-surface::after{border-left:.8px solid #f0e1e9!important;border-top:.7px solid #f6e8ee!important}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy-art img{filter:none!important}
/* Paper, art and the resting marker share one plane. Pickup changes only y. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-stack:has(>.cover-visual:hover)>:is(.cover-visual,.shelf-front-book){transform:translate3d(var(--cs-stock-x),calc(var(--cs-stock-y) - var(--cover-pickup-lift)),var(--cs-stock-z))!important}
}
@media(prefers-reduced-motion:no-preference){
 html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-stack:has(>.cover-visual:focus-visible)>:is(.cover-visual,.shelf-front-book){transform:translate3d(var(--cs-stock-x),calc(var(--cs-stock-y) - var(--cover-pickup-lift)),var(--cs-stock-z))!important}
}
@media(prefers-reduced-motion:reduce){html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-stack>:is(.cover-visual,.shelf-front-book){transition:none!important}}
}

html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="1"]{--cs-stock-layer:1}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="2"]{--cs-stock-layer:2}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="3"]{--cs-stock-layer:3}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="4"]{--cs-stock-layer:4}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="5"]{--cs-stock-layer:5}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="6"]{--cs-stock-layer:6}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="7"]{--cs-stock-layer:7}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="8"]{--cs-stock-layer:8}
html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-copy[data-stack-layer="9"]{--cs-stock-layer:9}

/* Owner: straight-on, centered depth; a slightly more pronounced illustrated fixture. */
@media screen{html[data-cs-browse] .weekly-shell:not(.foc-shelf) .weekly-content .shop-wall:not(:has(>.shelf-order-row)) .shelf-row{--rack-depth:max(calc(clamp(65.664px,7.904vw,89.984px) + 38px),var(--rack-min-depth,0px))!important}}
