/* Shared gold-and-paper system; six visible cards, independent catalog scrolling. */
body[data-view=shop]{background:#fff6e9 url('./assets/painted-ui/approved-honor-paper.webp') center/512px 512px repeat!important;padding-bottom:0!important}
body[data-view=shop] #main-content{width:100%!important;max-width:none!important;padding:0 24px!important}
body #page-shop:not([hidden]){display:flex;flex-direction:column}
body #page-shop>.page-heading{order:0;flex:none}
body #page-shop>.shop-layout{order:1;display:grid;grid-template-columns:minmax(0,62fr) minmax(0,38fr);gap:18px;align-items:stretch;margin-top:-34px}
body #page-shop>.continent-closet{order:2;margin:12px 0 0;padding:8px 18px;border:1px solid #d0ac68!important;border-image:none!important;background:#fff7e9!important;border-radius:10px;box-shadow:none;color:#775b33;font-size:12px}
body #page-shop>.page-note{order:3;font-size:10px;margin:10px 0;color:#917a56;text-align:center}
body #page-shop .shop-balance,body #page-shop .shop-banner{display:none!important}
body #page-shop .shop-catalog,body #page-shop .fitting-room{border:12px solid transparent!important;border-image:url('./assets/honor-wall/alpha-v1/skin-frame.svg') 28 /28px/0 stretch!important;background:#fff6e9 url('./assets/painted-ui/approved-honor-paper.webp') center/512px 512px repeat!important;border-radius:0!important;box-shadow:none!important;min-width:0;position:relative;padding:12px}
body #page-shop .shop-filter-bar{height:64px;display:flex;align-items:center;flex-wrap:nowrap;gap:16px;border-bottom:1px solid #d5b47e;margin:0 0 14px;padding:0 4px 10px}
body #page-shop .shop-tabs{display:flex;flex:1;gap:0;margin:0;padding:0;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;min-width:0}
body #page-shop .shop-tabs button{position:relative;flex:1;padding:8px 10px;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;border-radius:0!important;white-space:nowrap;font-size:27px;color:#49331c;letter-spacing:2px}
body #page-shop .shop-tabs button+button{border-left:1px solid #d6b47a!important}
body #page-shop .shop-tabs button[aria-pressed=true]{color:#a82718!important}
body #page-shop .shop-tabs button[aria-pressed=true]::after{content:'';display:block!important;position:absolute;left:12%;right:12%;bottom:0;height:7px;border:0;background:#ad281b;clip-path:polygon(0 70%,18% 30%,66% 12%,100% 52%,78% 55%,27% 74%,3% 100%);transform:rotate(-2deg)}
body #page-shop #shop-tier{width:172px;height:39px;border:1px solid #c7a16a;border-radius:10px;padding:4px 10px;background:#fff4e1;color:#49331c;font-size:17px}
body #page-shop .product-grid{--shop-card-height:200px;--shop-card-gap:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:var(--shop-card-height);gap:var(--shop-card-gap);height:calc(3 * var(--shop-card-height) + 2 * var(--shop-card-gap));max-height:calc(3 * var(--shop-card-height) + 2 * var(--shop-card-gap));overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c59f5b #f7ecd8;scroll-snap-type:y proximity;padding:0 2px;align-content:start}
body #page-shop .product-grid:focus-visible{outline:2px solid #bd883b;outline-offset:3px}
body #page-shop .product-card{display:grid!important;grid-template-columns:42% minmax(0,58%);height:100%;min-height:0!important;max-height:none;margin:0;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;outline:none;background:url('./assets/shop-reference/card-daily.webp') center/100% 100% no-repeat!important;overflow:hidden;scroll-snap-align:start;padding:8px}
body #page-shop .product-card[data-tier=ethnic]{background-image:url('./assets/shop-reference/card-ethnic.webp')!important}body #page-shop .product-card[data-tier=dynasty]{background-image:url('./assets/shop-reference/card-dynasty.webp')!important}body #page-shop .product-card[data-tier=world]{background-image:url('./assets/shop-reference/card-world.webp')!important}
body #page-shop .product-card.previewing{filter:drop-shadow(0 0 1px #ae3b1c)}
body #page-shop .product-art{height:100%!important;min-height:0!important;width:100%;padding:5px 4px;border:0!important;border-image:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
body #page-shop .product-art img,body #page-shop .product-art svg,body #page-shop .product-art .atlas-product{width:100%;height:100%;max-height:100%;min-height:0!important;object-fit:contain}
body #page-shop .product-info{padding:6px 9px 6px 2px;min-width:0;display:flex;flex-direction:column;justify-content:center;background:none}
body #page-shop .product-info .product-tag{position:static;display:block;align-self:flex-start;max-width:100%;border:0;border-image:none;border-radius:0;background:url('./assets/honor-wall/alpha-v1/skin-tab-red.webp') center/100% 100% no-repeat;color:#fff0d7;font-size:12px;font-weight:600;line-height:1.3;padding:4px 15px;margin-bottom:3px;white-space:nowrap}
body #page-shop .product-info h3{font-size:23px;line-height:1.35;color:#352819;margin:2px 0 5px;font-weight:600;overflow-wrap:anywhere}
body #page-shop .product-info>.region-chip,body #page-shop .product-info>p{display:none}
body #page-shop .product-info .product-price-row{display:block;margin:0 0 8px;min-height:24px}
body #page-shop .product-price-row b{font-size:20px;color:#563b20;font-weight:400;white-space:nowrap}
body #page-shop .product-price-row b::before{content:'';display:inline-block;vertical-align:middle;width:25px;height:25px;margin-right:4px;background:url('./assets/painted-ui/score-plaque.webp') left center/340% 100% no-repeat;border-radius:50%;filter:url('#game-cutout-clean')}
body #page-shop .product-info .product-card-actions{display:flex;gap:7px;justify-content:flex-start;align-items:center;margin:0}
body #page-shop .product-card-actions button{flex:1;min-width:0;height:37px;min-height:0;margin:0!important;padding:2px 7px!important;border:0!important;border-image:none!important;box-shadow:none!important;border-radius:0!important;background:url('./assets/honor-wall/alpha-v1/skin-tab-paper.webp') center/100% 100% no-repeat!important;color:#49331c;font-size:17px;line-height:1.1;white-space:nowrap}
body #page-shop .product-card-actions .product-buy{background-image:url('./assets/honor-wall/alpha-v1/skin-tab-red.webp')!important;color:#fff0d7}
body #page-shop .product-card-actions button:disabled{opacity:.6;cursor:default}
body #page-shop .locked-caption{font-size:11px;line-height:1.4;color:#7b582a;margin:-3px 0 4px}
body #page-shop .fitting-room{position:relative;top:auto;text-align:center;padding:8px 12px 14px}
body #page-shop .fitting-room .block-title{position:absolute;top:-22px;left:15%;right:15%;z-index:2;display:flex;justify-content:center;margin:0}
body #page-shop .fitting-room .block-title h2{width:210px;height:43px;margin:0;padding:4px 15px;font-size:24px;line-height:1.4;color:#573819;border:0!important;border-image:none!important;border-radius:0!important;background:url('./assets/honor-wall/alpha-v1/skin-tab-paper.webp') center/100% 100% no-repeat;box-shadow:none}
body #page-shop .fitting-room .block-title>span{display:none}
body #page-shop .shop-avatar{width:100%;height:470px;aspect-ratio:auto;margin:0;border:0!important;border-image:none!important;border-radius:12px 12px 0 0;box-shadow:none!important;overflow:hidden;background:url('./assets/desktop/garden.webp') center/cover}
body #page-shop .shop-avatar svg{display:block;width:100%;height:100%;border:0;border-radius:0;filter:none}
body #page-shop .fitting-room .avatar-motion-controls,body #page-shop .fitting-room>.attachment-controls,body #page-shop .fitting-room>.wearing-controls,body #page-shop .fitting-room>.hat-auto-note,body #page-shop .inspiration-note{display:none!important}



body #page-shop .fitting-name{height:56px;margin:0 0 12px;padding:10px 16px;border:0!important;border-image:none!important;background:url('./assets/home-reference/profile-divider.svg') center bottom/100% 17px no-repeat}
body #page-shop .fitting-name h3{font-size:22px;color:#145b48;line-height:1.4;margin:0}
body #page-shop .fitting-name>span,body #page-shop .fitting-name>p{display:none}


body #page-shop .fitting-room>small{clear:both;display:block;padding-top:12px;font-size:13px;color:#755a36}

body #page-shop .scene-toggle{font-size:13px;margin:0 0 8px;color:#84582d}
body[data-view=shop] .app-footer{height:70px;min-height:0;margin:8px -24px 0;padding:8px 25px 0;border:0;font-size:9px;background:url('./assets/painted-ui/reference-page-footer.webp') center/100% 100% no-repeat!important}
@media(min-width:1100px){
 body[data-view=shop] #main-content{padding-inline:calc(24 * var(--reference-unit))!important}
 body #page-shop>.shop-layout{gap:calc(18 * var(--reference-unit));margin-top:calc(-34 * var(--reference-unit))}
 body #page-shop .shop-catalog,body #page-shop .fitting-room{padding:calc(12 * var(--reference-unit));border-width:calc(12 * var(--reference-unit))!important;border-image-width:calc(28 * var(--reference-unit))!important}
 body #page-shop .shop-filter-bar{height:calc(64 * var(--reference-unit));gap:calc(16 * var(--reference-unit));margin-bottom:calc(14 * var(--reference-unit));padding-bottom:calc(10 * var(--reference-unit))}
 body #page-shop .shop-tabs button{font-size:calc(27 * var(--reference-unit));padding:calc(8 * var(--reference-unit)) calc(10 * var(--reference-unit))}
 body #page-shop #shop-tier{width:calc(172 * var(--reference-unit));height:calc(39 * var(--reference-unit));font-size:calc(17 * var(--reference-unit))}
 body #page-shop .product-grid{--shop-card-height:calc(200 * var(--reference-unit));--shop-card-gap:calc(14 * var(--reference-unit))}
 body #page-shop .product-card{padding:calc(8 * var(--reference-unit))}
 body #page-shop .product-info h3{font-size:calc(23 * var(--reference-unit))}
 body #page-shop .product-info .product-tag{font-size:calc(12 * var(--reference-unit));padding:calc(4 * var(--reference-unit)) calc(15 * var(--reference-unit))}
 body #page-shop .product-price-row b{font-size:calc(20 * var(--reference-unit))}
 body #page-shop .product-card-actions button{height:calc(37 * var(--reference-unit));font-size:calc(17 * var(--reference-unit))}
 body #page-shop .locked-caption{font-size:calc(11 * var(--reference-unit))}
 body #page-shop .fitting-room .block-title{top:calc(-22 * var(--reference-unit))}
 body #page-shop .fitting-room .block-title h2{height:calc(43 * var(--reference-unit));width:calc(210 * var(--reference-unit));font-size:calc(24 * var(--reference-unit))}
 body #page-shop .shop-avatar{height:calc(470 * var(--reference-unit))}


 body #page-shop .fitting-name{height:calc(56 * var(--reference-unit));padding:calc(10 * var(--reference-unit)) calc(16 * var(--reference-unit));margin-bottom:calc(12 * var(--reference-unit))}
 body #page-shop .fitting-name h3{font-size:calc(22 * var(--reference-unit))}

 body #page-shop .fitting-room>small{font-size:calc(13 * var(--reference-unit))}
 body[data-view=shop] .app-footer{height:calc(70 * var(--reference-unit));margin-inline:calc(-24 * var(--reference-unit))}
}
@media(max-width:1099px){body #page-shop>.shop-layout{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px;margin-top:0}body #page-shop .product-grid{--shop-card-height:180px;--shop-card-gap:10px}body #page-shop .product-card{grid-template-columns:40% minmax(0,60%)}body #page-shop .product-info h3{font-size:18px}body #page-shop .product-price-row b{font-size:16px}body #page-shop .product-card-actions button{font-size:13px;padding:2px 4px!important}body #page-shop .shop-filter-bar{height:auto;flex-wrap:wrap}body #page-shop .shop-tabs{flex-basis:100%}body #page-shop .shop-tabs button{font-size:22px}body #page-shop .shop-avatar{height:360px}body #page-shop .fitting-name h3{font-size:18px}}
@media(max-width:760px){body[data-view=shop] #main-content{padding-inline:10px!important}body #page-shop>.shop-layout{grid-template-columns:minmax(0,1fr)}body #page-shop .shop-catalog{order:1}body #page-shop .fitting-room{order:0}body #page-shop .shop-avatar{height:340px}body #page-shop .product-grid{--shop-card-height:185px}body #page-shop .shop-filter-bar{gap:8px}body #page-shop .product-info h3{font-size:19px}body #page-shop .product-info .product-tag{font-size:10px}body #page-shop .product-card-actions{flex-wrap:wrap}body #page-shop .product-card-actions button{height:30px;flex-basis:100%}body[data-view=shop] .app-footer{margin-inline:-10px}}
@media(max-width:440px){body #page-shop .product-grid{grid-template-columns:minmax(0,1fr)}body #page-shop .product-card{grid-template-columns:40% minmax(0,60%)}body #page-shop .product-card-actions{flex-wrap:nowrap}body #page-shop .product-card-actions button{flex-basis:auto;height:36px;font-size:17px}}
/* Explicit selected-state resets prevent the legacy red nine-slice from winning. */
body #page-shop .shop-tabs button[aria-pressed],body #page-shop .shop-tabs button[aria-pressed=true]{background:none!important;background-image:none!important;border:0!important;border-image:none!important;border-image-source:none!important;border-image-slice:0!important;border-image-width:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;min-height:0!important;line-height:1.35;padding:8px 10px!important;color:#49331c!important}
body #page-shop .shop-tabs button[aria-pressed]+button{border-left:1px solid #d6b47a!important}
body #page-shop .shop-tabs button[aria-pressed=true]{color:#a82718!important}
body #page-shop .shop-tabs button[aria-pressed=false]::after{display:none!important}
body #page-shop .shop-tabs button[aria-pressed=true]::after{background:#ad281b!important;border:0!important;box-shadow:none!important}
body #page-shop #shop-tier{appearance:none!important;-webkit-appearance:none!important;border:1px solid #c7a16a!important;border-image:none!important;border-image-source:none!important;border-image-width:0!important;border-radius:10px!important;box-shadow:none!important;background:#fff4e1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23674421' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-size:16px 10px!important;background-repeat:no-repeat!important;padding:4px 36px 4px 12px!important;color:#49331c!important;cursor:pointer}
@media(min-width:1100px){body #page-shop .shop-tabs button[aria-pressed],body #page-shop .shop-tabs button[aria-pressed=true]{padding:calc(8 * var(--reference-unit)) calc(10 * var(--reference-unit))!important}}
/* Reference-correct live Song labels with short double-brush selection marks. */
body #page-shop .shop-tabs button[aria-pressed=true]{font-family:ShanheSong,'Songti SC',serif!important;font-weight:600;color:#a62418!important}
body #page-shop .shop-tabs button[aria-pressed=true]::after{display:block!important;left:50%!important;right:auto!important;bottom:-1px!important;width:72px!important;height:9px!important;transform:translateX(-50%)!important;clip-path:none!important;border:0!important;background:transparent url('./assets/shop-reference/tab-brush.webp') center/100% 100% no-repeat!important;border-radius:0!important;filter:url('#game-cutout-clean')}
body #page-shop .product-info .product-tag{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:82px;height:28px;flex:none;padding:0 12px!important;margin-bottom:4px;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;background:none!important;color:#fff8e8!important;font-size:14px;font-weight:600;line-height:1;letter-spacing:.04em;white-space:nowrap;text-shadow:0 1px 1px #7e2918}
body #page-shop .product-info .product-tag::before{content:'';position:absolute;inset:0;z-index:-1;background:url('./assets/shop-reference/label-daily.webp') center/100% 100% no-repeat;filter:brightness(.86) saturate(1.04)}
body #page-shop .locked-caption{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;min-height:25px;padding:3px 4px 3px 18px;margin:0 0 3px;line-height:1.2;font-size:11px;font-weight:500;color:#67411f;white-space:nowrap;letter-spacing:0}
body #page-shop .locked-caption::before{content:'';position:absolute;inset:0;z-index:-1;background:url('./assets/shop-reference/unlock-note.webp') center/100% 100% no-repeat;filter:url('#game-cutout-clean')}
body #page-shop .locked-caption::after{content:'';position:absolute;left:4px;top:50%;transform:translateY(-50%);width:11px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M4 8V5a4 4 0 018 0v3' fill='none' stroke='%23895a25' stroke-width='2'/%3E%3Crect x='1' y='8' width='14' height='11' rx='2' fill='%23895a25'/%3E%3Cpath d='M8 12v3' stroke='%23fff1d2' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
@media(min-width:1100px){body #page-shop .shop-tabs button[aria-pressed=true]::after{width:calc(72 * var(--reference-unit))!important;height:calc(9 * var(--reference-unit))!important}body #page-shop .product-info .product-tag{width:calc(82 * var(--reference-unit));height:calc(28 * var(--reference-unit));font-size:calc(14 * var(--reference-unit))}body #page-shop .locked-caption{min-height:calc(25 * var(--reference-unit));font-size:calc(11 * var(--reference-unit))}}
@media(max-width:1099px){body #page-shop .locked-caption{font-size:9px;min-height:21px}body #page-shop .product-info .product-tag{width:68px;height:24px;font-size:12px}body #page-shop .shop-tabs button[aria-pressed=true]::after{width:62px!important;height:8px!important}}
/* One real scene, a framed outfit name and two equal parallel actions. */
body #page-shop .shop-avatar{width:min(100%,376px);height:470px;margin-inline:auto;aspect-ratio:4/5;box-sizing:border-box;background:none!important;border:8px solid transparent!important;border-image:url('./assets/honor-wall/alpha-v1/skin-frame.svg') 28 /16px/0 stretch!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
body #page-shop .fitting-name{height:56px;display:flex;align-items:center;justify-content:center;margin:0 0 12px;padding:4px 10px;border:8px solid transparent!important;border-image:url('./assets/honor-wall/alpha-v1/skin-score.webp') 8 30 fill /8px 30px/0 stretch!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body #page-shop .fitting-name h3{font-size:21px;line-height:1.3;margin:0;color:#145b48;overflow-wrap:anywhere}
body #page-shop .fitting-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;clear:both;align-items:stretch;margin:0}
body #page-shop .fitting-actions>button{width:100%!important;min-width:0;min-height:58px;height:58px;float:none!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0!important;padding:4px 10px!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;outline:none!important;font-size:23px;line-height:1.2;white-space:nowrap;letter-spacing:0;background:url('./assets/honor-wall/alpha-v1/skin-tab-red.webp') center/100% 100% no-repeat!important;color:#fff2d9!important}
body #page-shop .fitting-actions>[data-action=reset-preview]{order:-1;background-image:url('./assets/honor-wall/alpha-v1/skin-tab-paper.webp')!important;color:#57391e!important}
body #page-shop .fitting-actions>button:disabled{opacity:.65;cursor:default}
body #page-shop .fitting-room .block-title h2{position:relative;isolation:isolate;border:0!important;border-image:none!important;background:none!important;color:#fff4dc!important;font-size:24px;font-weight:500;text-shadow:0 1px 1px #714712}
body #page-shop .fitting-room .block-title h2::before{content:'';position:absolute;inset:0;z-index:-1;background:url('./assets/shop-reference/fitting-title.webp') center/100% 100% no-repeat}
@media(min-width:1100px){body #page-shop .shop-avatar{width:min(100%,calc(376 * var(--reference-unit)));height:calc(470 * var(--reference-unit));border-width:calc(8 * var(--reference-unit))!important;border-image-width:calc(16 * var(--reference-unit))!important}body #page-shop .fitting-name{height:calc(56 * var(--reference-unit));margin-bottom:calc(12 * var(--reference-unit))}body #page-shop .fitting-name h3{font-size:calc(21 * var(--reference-unit))}body #page-shop .fitting-actions{gap:calc(14 * var(--reference-unit))}body #page-shop .fitting-actions>button{height:calc(58 * var(--reference-unit));min-height:calc(58 * var(--reference-unit));font-size:calc(23 * var(--reference-unit))}body #page-shop .fitting-room .block-title h2{font-size:calc(24 * var(--reference-unit))}}
@media(max-width:1099px){body #page-shop .shop-avatar{width:min(100%,288px);height:360px}body #page-shop .fitting-actions{gap:8px}body #page-shop .fitting-actions>button{height:45px;min-height:45px;font-size:17px}body #page-shop .fitting-name h3{font-size:18px}}
@media(max-width:760px){body #page-shop .shop-avatar{width:min(100%,272px);height:340px}body #page-shop .fitting-actions>button{font-size:20px}}
/* Four category colors share the requested clipped, fine gold label silhouette. */
body #page-shop .product-card[data-tier=daily] .product-tag::before{background-image:url('./assets/shop-reference/label-daily.webp');filter:none}
body #page-shop .product-card[data-tier=ethnic] .product-tag::before{background-image:url('./assets/shop-reference/label-ethnic.webp');filter:none}
body #page-shop .product-card[data-tier=dynasty] .product-tag::before{background-image:url('./assets/shop-reference/label-dynasty.webp');filter:none}
body #page-shop .product-card[data-tier=world] .product-tag::before{background-image:url('./assets/shop-reference/label-world.webp');filter:none}
body #page-shop .product-info .product-tag{color:#fff8e8!important;font-weight:600;text-shadow:0 1px 1px #392313}
/* More room for the actual fitting portrait; compact controls below it. */
body #page-shop .shop-avatar{width:min(100%,432px);height:auto!important;aspect-ratio:4/5}


body #page-shop .fitting-name{position:relative;isolation:isolate;height:48px;margin:0 0 6px;padding:0;border:0!important;border-image:none!important;background:none!important}
body #page-shop .fitting-name::before{content:'';position:absolute;inset:0;z-index:-1;background:url('./assets/shop-reference/outfit-name-plaque.webp') center/100% 100% no-repeat}
body #page-shop .fitting-name h3{width:78%;margin:0;font-family:ShanheSong,'Songti SC',serif!important;font-size:21px;font-weight:600;line-height:1.2;letter-spacing:.06em;color:#0d4e3e;text-align:center}
body #page-shop .fitting-actions{gap:12px}
body #page-shop .fitting-actions>button{height:46px;min-height:46px;font-size:21px;padding:3px 8px!important}
body #page-shop .fitting-room>small{padding-top:6px;margin:0;font-size:11px;line-height:1.2}
@media(min-width:1100px){body #page-shop .shop-avatar{width:min(100%,calc(432 * var(--reference-unit)))}body #page-shop .fitting-name{height:calc(48 * var(--reference-unit));margin-bottom:calc(6 * var(--reference-unit))}body #page-shop .fitting-name h3{font-size:calc(21 * var(--reference-unit))}body #page-shop .fitting-actions{gap:calc(12 * var(--reference-unit))}body #page-shop .fitting-actions>button{height:calc(46 * var(--reference-unit));min-height:calc(46 * var(--reference-unit));font-size:calc(21 * var(--reference-unit))}body #page-shop .fitting-room>small{padding-top:calc(6 * var(--reference-unit));font-size:calc(11 * var(--reference-unit))}}
@media(max-width:1099px){body #page-shop .shop-avatar{width:min(100%,320px)}body #page-shop .fitting-name h3{font-size:17px}body #page-shop .fitting-actions>button{font-size:17px;height:42px;min-height:42px}}
@media(max-width:760px){body #page-shop .shop-avatar{width:min(100%,320px)}body #page-shop .fitting-actions>button{font-size:19px}}

/* Close-up is the single shop preview mode. */
body #page-shop .shop-avatar{width:min(100%,464px);height:auto!important;aspect-ratio:4/5}
body #page-shop .fitting-name{display:grid!important;place-items:center!important;padding:0!important;box-sizing:border-box;margin-top:6px}
body #page-shop .fitting-name h3{display:block;margin:0!important;padding:0!important;font-family:ShanheSong,'Songti SC',serif!important;font-weight:600!important;line-height:1.2!important;letter-spacing:.06em;color:#0d4e3e!important;align-self:center;justify-self:center}
body #page-shop .product-info{justify-content:flex-start!important;padding-top:8px!important}
body #page-shop .product-info .product-card-actions{margin-top:auto!important}
body #page-shop .product-card.previewing{position:relative;outline:none!important;border:0!important;border-image:none!important;box-shadow:none!important;filter:none!important}
body #page-shop .product-card.previewing::after{display:none!important;border:0!important;box-shadow:none!important}
body #page-shop .product-card.previewing::before{content:'✓';position:absolute;top:11px;right:12px;z-index:2;width:18px;height:18px;border-radius:50%;border:1px solid #fff1d1;background:#997037;color:#fff8e6;text-align:center;font:600 13px/17px system-ui;pointer-events:none}
@media(min-width:1100px){body #page-shop .shop-avatar{width:min(100%,calc(464 * var(--reference-unit)))}body #page-shop .product-info{padding-top:calc(8 * var(--reference-unit))!important}body #page-shop .fitting-name{margin-top:calc(6 * var(--reference-unit))}}
@media(max-width:1099px){body #page-shop .shop-avatar{width:min(100%,340px)}}

/* Isolate card actions from legacy .owned and disabled nine-slice treatments. */
body #page-shop .product-info .product-card-actions{display:flex!important;align-items:center!important;gap:7px}
body #page-shop .product-card-actions>button,body #page-shop .product-card-actions>.product-buy.is-owned,body #page-shop .product-card-actions>.product-buy:disabled{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;height:37px;min-height:37px!important;margin:0!important;padding:2px 5px!important;border:0!important;border-image:none!important;border-image-source:none!important;border-image-width:0!important;border-radius:0!important;box-shadow:none!important;background:url('./assets/honor-wall/alpha-v1/skin-tab-paper.webp') center/100% 100% no-repeat!important;color:#57391e!important;font-size:17px;line-height:1.1;opacity:1!important;white-space:nowrap;box-sizing:border-box}
body #page-shop .product-card-actions>.product-buy:not(:disabled){background-image:url('./assets/honor-wall/alpha-v1/skin-tab-red.webp')!important;color:#fff4dc!important;cursor:pointer}
body #page-shop .product-card-actions>.product-buy:disabled{color:#8b6339!important;cursor:default}
@media(min-width:1100px){body #page-shop .product-card-actions>button,body #page-shop .product-card-actions>.product-buy.is-owned,body #page-shop .product-card-actions>.product-buy:disabled{height:calc(37 * var(--reference-unit));min-height:calc(37 * var(--reference-unit))!important;font-size:calc(17 * var(--reference-unit))}}
@media(max-width:1099px){body #page-shop .product-card-actions>button,body #page-shop .product-card-actions>.product-buy.is-owned,body #page-shop .product-card-actions>.product-buy:disabled{font-size:13px}}

body #page-shop .product-info{padding-top:0!important}
body #page-shop .product-info .product-tag{inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:0!important;align-self:flex-start}

/* Match the reference's Song lettering and serif score figures. */
body #page-shop .shop-tabs button,body #page-shop .product-info h3,body #page-shop .product-price-row b,body #page-shop .product-card-actions button{font-family:ShanheSong,'Songti SC',serif!important}
body #page-shop .product-info h3{font-weight:700}
body #page-shop .product-price-row b{font-weight:600}
@media(min-width:1100px){body #page-shop .product-info h3{font-size:calc(27 * var(--reference-unit))}body #page-shop .product-price-row b{font-size:calc(23 * var(--reference-unit))}body #page-shop .product-card-actions button{font-size:calc(20 * var(--reference-unit))}body #page-shop .shop-tabs button{font-size:calc(29 * var(--reference-unit))}}
