/* HIR interface contract: established materials, one control/spacing/focus vocabulary. */
:root{--hir-ui-ink:#101010;--hir-ui-paper:#fff;--hir-ui-muted:#555;--hir-ui-rule:#dedede;--hir-ui-soft:#f5f5f5;--hir-ui-dark:#111212;--hir-ui-silver:#d6dcd3;--hir-ui-dark-muted:#b8bdb6;--hir-ui-space-1:8px;--hir-ui-space-2:16px;--hir-ui-space-3:24px;--hir-ui-space-4:40px;--hir-ui-hit:44px;--hir-ui-fast:140ms;--hir-ui-normal:220ms;--hir-ui-ease:cubic-bezier(.22,1,.36,1);--hir-ui-focus:var(--hir-ui-ink);--hir-ui-header:112px;--hir-ui-bottom:24px}
.hir-skip-link{position:fixed;left:16px;top:12px;z-index:2000;padding:14px 20px;background:var(--hir-ui-ink);color:var(--hir-ui-paper);transform:translateY(-180%);font:500 14px/1.4 'Space Grotesk',sans-serif}.hir-skip-link:focus{transform:none;outline:2px solid var(--hir-ui-silver);outline-offset:3px}
body.commerce-scene :is(.shop-page,.portal-page){scroll-padding-block:var(--hir-ui-header) var(--hir-ui-bottom)}
body.commerce-scene :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--hir-ui-focus);outline-offset:4px;text-shadow:none;scroll-margin-block:var(--hir-ui-header) var(--hir-ui-bottom)}
body.commerce-scene :is(.ag-console,.hir-account-card,.ascension-game){--hir-ui-focus:var(--hir-ui-silver)}
body.commerce-scene .product-presentation-page{--hir-ui-focus:var(--product-amber,#e5b76f)}
body.commerce-scene :is(.pill,.text-button,summary){min-height:var(--hir-ui-hit)}
body.commerce-scene summary{cursor:pointer;line-height:1.6;padding-block:10px;text-underline-offset:4px}
body.commerce-scene :is(input,textarea,select){border-radius:0;scroll-margin-block:var(--hir-ui-header) var(--hir-ui-bottom)}
body.commerce-scene :is(input,textarea)::placeholder{opacity:1}
body.commerce-scene :is(button,a){-webkit-tap-highlight-color:transparent}
body.commerce-scene .hir-mobile-dock :is(a,span,svg){color:var(--hir-ui-silver)}
body.commerce-scene .hir-mobile-dock a[aria-current=page]{background:#252726;color:var(--hir-ui-paper)}
body.commerce-scene .hir-mobile-dock a[aria-current=page] :is(span,svg){color:var(--hir-ui-paper)}
body.commerce-scene .hir-mobile-dock a:focus-visible{outline-color:var(--hir-ui-silver);outline-offset:-4px}
body.commerce-scene .hir-loading{padding:24px 0;min-height:180px;max-width:960px}
.hir-loading-lines{display:grid;gap:14px;margin-top:24px}.hir-loading-lines>span{display:block;height:14px;width:85%;background:var(--hir-ui-rule);max-width:640px}.hir-loading-lines>span:nth-child(even){width:65%}
body.commerce-scene .hir-account-card .hir-loading-lines>span{background:#343835}
body.commerce-scene .catalog-toolbar{display:flex;align-items:end;gap:16px;margin:0 0 20px}
body.commerce-scene .catalog-query{display:grid;gap:9px;flex:1;min-width:0;font-size:13px}
body.commerce-scene .catalog-query input{width:100%;min-width:0;min-height:46px;padding:12px 14px;border:1px solid #aaa;background:var(--hir-ui-paper);color:var(--hir-ui-ink);font:inherit;font-size:15px}
body.commerce-scene .catalog-filter-toggle{min-height:46px;gap:10px;flex-shrink:0}
body.commerce-scene .catalog-filter-toggle svg:last-child{transition:transform var(--hir-ui-normal) var(--hir-ui-ease)}
body.commerce-scene .catalog-filter-toggle[aria-expanded=true] svg:last-child{transform:rotate(180deg)}
body.commerce-scene .catalog-refinements[hidden]{display:none}
body.commerce-scene .catalog-refinements{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;background:var(--hir-ui-soft);margin-bottom:24px}
body.commerce-scene .own-catalog{grid-template-columns:repeat(var(--catalog-columns,3),minmax(0,1fr));gap:40px 28px}
body.commerce-scene .own-catalog[data-count="1"]{max-width:620px}
body.commerce-scene .catalog-loading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:24px}
.catalog-loading-grid>span{display:block;aspect-ratio:1;background:var(--hir-ui-soft)}
body.commerce-scene .shop-product-image{isolation:isolate}
body.commerce-scene .shop-product h2{font-family:var(--sans,'Space Grotesk',sans-serif);font-size:24px;font-weight:600;line-height:1.3;letter-spacing:-.025em}
body.commerce-scene .shop-product .portal-row{font-variant-numeric:tabular-nums}
body.commerce-scene .product-card-tools{flex-wrap:wrap}
body.commerce-scene .admin-main>.admin-section-title h2,body.commerce-scene .admin-main .portal-panel>.admin-section-title h2{font-family:var(--sans,'Space Grotesk',sans-serif);font-size:28px;line-height:1.25;font-weight:600;letter-spacing:-.025em}
body.commerce-scene .admin-main .admin-section-title .eyebrow{display:none}
body.commerce-scene .admin-management-grid h2{font-family:var(--sans,'Space Grotesk',sans-serif);font-size:24px;font-weight:600;line-height:1.3}
body.commerce-scene .admin-main :is(.task-count,.admin-stats strong){font-variant-numeric:tabular-nums}
body.commerce-scene .portal-page>article.portal-wrap{max-width:76ch;margin-left:0;font-size:16px;line-height:1.75}
body.commerce-scene .portal-page>article.portal-wrap h1{font-size:clamp(28px,3.8vw,48px);line-height:1.15;letter-spacing:-.03em;text-wrap:balance}
body.commerce-scene .portal-page>article.portal-wrap h2{font-family:var(--sans,'Space Grotesk',sans-serif);font-size:23px;line-height:1.3;letter-spacing:-.02em;margin:36px 0 12px}
body.commerce-scene .portal-page>article.portal-wrap :is(p,li,address){font-size:16px;line-height:1.75}
body.commerce-scene .portal-page>article.portal-wrap address{font-style:normal}
@media(hover:hover) and (pointer:fine){body.commerce-scene .hir-mobile-dock a:hover{background:#252726}body.commerce-scene .catalog-filter-toggle:hover{background:var(--hir-ui-soft)}}
@media(max-width:1024px){body.commerce-scene .portal-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}body.commerce-scene .portal-tabs>*{white-space:nowrap;flex-shrink:0}body.commerce-scene .shop-filters{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:12px;scrollbar-width:thin;overscroll-behavior-x:contain}body.commerce-scene .shop-filters button{flex-shrink:0;white-space:nowrap}}
@media(max-width:900px){body.commerce-scene .own-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}}
@media(max-width:680px){
 :root{--hir-ui-header:112px;--hir-ui-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
 body.commerce-scene .commerce-navigation:not(.is-full-navigation){display:none}
 body.commerce-scene :is(.shop-page,.portal-page:not(.product-presentation-page)){padding-left:16px;padding-right:16px;padding-top:122px;padding-bottom:var(--hir-ui-bottom)}
 body.commerce-scene .shop-page{padding-top:118px}
 body.commerce-scene .own-store-heading{padding-bottom:12px;gap:16px}
 body.commerce-scene .own-store-heading h1{font-size:clamp(27px,7vw,38px);line-height:1.08}
 body.commerce-scene .own-store-heading>p{margin-top:12px;font-size:14px;max-width:45ch;line-height:1.6}
 body.commerce-scene .shop-discovery-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:20px;margin-bottom:14px;scrollbar-width:thin}
 body.commerce-scene .shop-discovery-nav>a{min-height:44px;flex-shrink:0}
 body.commerce-scene .shop-filters{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:12px;margin-bottom:12px;scrollbar-width:thin;overscroll-behavior-x:contain}
 body.commerce-scene .shop-filters button{flex-shrink:0;min-height:44px;font-size:13px;padding:10px 13px}
 body.commerce-scene .catalog-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:12px}
 body.commerce-scene .catalog-query{font-size:12px;min-width:0}
 body.commerce-scene .catalog-query input{font-size:16px;min-height:46px;padding:12px}
 body.commerce-scene .catalog-filter-toggle{padding:12px;font-size:13px!important;gap:7px}
 body.commerce-scene .catalog-refinements{grid-template-columns:1fr;padding:16px;gap:16px}
 body.commerce-scene .own-catalog{grid-template-columns:1fr;gap:32px}
 body.commerce-scene .shop-result{margin-block:10px 18px;padding:0}
 body.commerce-scene .shop-product h2{font-size:23px}
 body.commerce-scene :is(.portal-page,.shop-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px}
 body.commerce-scene .admin-main .portal-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 body.commerce-scene .admin-main .portal-tabs button{white-space:nowrap;flex-shrink:0}
 body.commerce-scene .hir-mobile-dock{padding-inline:8px}
 body.commerce-scene .hir-mobile-dock :is(a,span){font-size:12px}
 body.commerce-scene .portal-page>article.portal-wrap :is(p,li,address){font-size:15px}
 .hir-loading{padding-block:20px}
}
@media(prefers-reduced-motion:reduce){body.commerce-scene .catalog-filter-toggle svg:last-child{transition:none}}

.hir-content-start{display:block;height:0;scroll-margin-top:var(--hir-ui-header)}
/* The shared background is covered in commerce. Its pause control belongs to the visible homepage video. */
body.commerce-scene .background-motion-control{display:none}

/* One viewport anchor across commerce routes; changing material never reshapes chrome. */
body.commerce-scene .site-header.store-header .brand{left:24px;top:16px;width:136px;height:80px;transform:none}
body.commerce-scene .commerce-navigation:not(.is-full-navigation){left:24px;top:146px;width:168px}
@media(max-width:680px){body.commerce-scene .site-header.store-header .brand{left:20px;top:22px;width:94px;height:56px}}
