:root {
  color-scheme: dark;
  --logo-surface: #000000;
  --logo-text: #f5f5f5;
  --background: #080808;
  --surface: #131313;
  --elevated: #1b1b1b;
  --nav-surface: #080808;
  --border: #2b2b2b;
  --border-strong: #565656;
  --text: #f5f5f5;
  --text-muted: #aaaaaa;
  --muted: #767676;
  --accent: #ff8538;
  --accent-ink: #050505;
  --hover-surface: #232323;
  --scrim: rgb(8 8 8 / 86%);
  --radius: 5px;
  --card-radius: clamp(12px, calc(var(--radius) + 10px), 20px);
  --card-inner-radius: calc(var(--card-radius) - 1px);
  --heading-font: "Century Gothic", "Aptos Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --heading-tracking: .06em;
  --ease-responsive: cubic-bezier(.23, 1, .32, 1);
  --showcase-motion-speed: .7;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

:lang(zh-TW) { font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif; }
:lang(zh-CN) { font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif; }
:lang(ja) { font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", Meiryo, sans-serif; }
:lang(ko) { font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html[lang="en"] { font-family: "Segoe UI", system-ui, sans-serif; }
html:not([lang="en"]) :is(h1,h2,h3,.eyebrow) { letter-spacing: 0; line-height: 1.26; }
html:not([lang="en"]) .hero h1 { font-size: clamp(1.85rem, 3vw, 3.2rem); }
html[lang="en"] :is(.hero h1, .section-heading h2, .page-heading h1, .archive-copy h2, .admin-shell h1) {
  font-family: var(--heading-font); letter-spacing: var(--heading-tracking);
}
html[lang="en"] .section-heading h2 { text-transform: uppercase; }
html[lang^="zh"] :is(.hero h1, .section-heading h2, .page-heading h1, .archive-copy h2, .admin-shell h1) { letter-spacing: .02em; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
input::placeholder { color: var(--text-muted); opacity: 1; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
p { line-height: var(--copy-leading, 1.55); }
h1, h2, h3 { line-height: 1.11; }
:focus-visible { outline: 2px solid var(--focus-color, var(--accent)); outline-offset: 3px; }
.wrap { width: min(var(--layout-width, 1440px), calc(100% - 80px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; position: absolute; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 4; top: 8px; left: 8px; padding: 10px; background: var(--surface); }

.header { background: var(--nav-surface, var(--surface)); border-bottom: 1px solid var(--border); }
.masthead { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); min-height: 70px; }
.logo { display: inline-flex; flex: none; min-width: 0; max-width: 100%; }
.brand { display: inline-flex; align-items: center; max-width: 100%; color: var(--text); font-family: var(--heading-font); line-height: 1; }
.brand-type { display: grid; gap: 5px; min-width: 0; }
.brand-name { font-size: 1rem; font-weight: 750; }
.brand-subtitle { font-size: .57rem; font-weight: 650; letter-spacing: .12em; }
.brand-version, .brand-narrow { display: none; }
html[data-theme="dark"] .brand-dark, html[data-theme="light"] .brand-light { display: inline-block; }
.brand-wide { display: inline-flex; align-items: center; }
.brand-image { max-width: 170px; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.assassin-brand { display: block; width: clamp(175px, 19vw, 280px); max-width: 100%; }
.assassin-brand img { width: 100%; height: auto; }
.footer .assassin-brand { width: 230px; }
.header-find { display: flex; align-items: center; gap: 11px; height: 39px; max-width: 430px; flex: 1; padding: 0 12px; background: var(--background); border: 1px solid var(--muted); border-radius: var(--radius); color: var(--text-muted); font-size: .875rem; }
.tools { display: flex; gap: 22px; align-items: center; margin-left: auto; white-space: nowrap; font-size: .875rem; }
.tool, .account-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.tool:hover, .account-link:hover, .nav a:hover, .text-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: .24em; }
.count { display: inline-flex; justify-content: center; min-width: 19px; padding: 2px 4px; border-radius: 2px; background: var(--elevated); color: var(--text); font-size: .75rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.symbol { font-family: "Segoe UI Symbol", sans-serif; font-size: 1.24rem; line-height: 1; }
.icon { display: inline-block; position: relative; flex: none; }
.icon-search { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; margin: 0 3px 3px 0; }
.icon-search::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.icon-bag { width: 13px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; margin-top: 3px; }
.icon-bag::before { content: ""; position: absolute; width: 6px; height: 6px; left: 2px; top: -6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); min-height: 42px; border-top: 1px solid var(--border); white-space: nowrap; overflow-x: auto; scrollbar-width: thin; }
.nav a { display: block; padding: 11px 0 12px; font-size: .9rem; font-weight: 600; }
.nav a[aria-current="page"], .tools a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px var(--accent); }
.local-label { margin-left: auto; color: var(--text-muted); font-size: .8rem; }

.hero { --banner-height: 392px; --banner-headroom: 20px; --banner-control-height: 52px; display: grid; gap: 20px; margin-block: 24px 30px; position: relative; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .8fr); align-items: center; gap: 16px 48px; }
.hero-single .hero-copy { padding-top: 0; }
.hero-intro, .hero-find { min-width: 0; }
.eyebrow { color: var(--text-muted); font-size: .81rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.hero h1, html:not([lang="en"]) .hero h1 { margin-bottom: 6px; font-size: clamp(1.45rem, 3.1vw, 2.85rem); font-weight: var(--heading-weight, 690); line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.hero-intro p { max-width: 70ch; color: var(--text-muted); line-height: 1.5; font-size: .9rem; }
.hero-intro .hero-tagline { margin-bottom: 4px; color: var(--text); font-weight: 650; }
.hero-find .search-hero { margin-top: 0; }
.home-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.home-actions .button { min-height: 44px; }
.home-carousel { position: relative; min-width: 0; overflow-x: clip; overflow-clip-margin: 9px; }
.hero-stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); position: relative; height: var(--banner-height); min-width: 0; background: var(--background); }
.hero-slide:not([hidden]) { display: grid; grid-area: 1 / 1; grid-template-rows: minmax(0, 1fr); min-width: 0; min-height: 0; }
.hero-slide:not([hidden], [data-banner-outgoing]) { z-index: 1; }
.hero-slide[data-banner-outgoing] { pointer-events: none; }
.hero-slide-link { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); align-items: center; min-width: 0; min-height: 0; padding: 22px clamp(26px, 5vw, 78px) calc(var(--banner-control-height) + 14px); isolation: isolate; }
.hero-slide-link:focus-visible { outline-offset: -3px; }
.hero-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; border-radius: var(--card-radius); background: var(--surface); }
.hero-art :is(img, video) { position: absolute; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: center; }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--surface) 8%, var(--surface) 27%, color-mix(in srgb, var(--surface) 28%, transparent) 77%); }
.hero-art-contain img { object-fit: contain; object-position: right center; }
.hero-slide-layered .hero-art img { width: 100%; object-position: right center; filter: blur(4px); transform: translate(var(--banner-background-x, 0%), var(--banner-background-y, 0%)) scale(calc(1.028 * var(--banner-background-scale, 1))); }
.hero-slide-layered .hero-art::after { background: linear-gradient(90deg, var(--surface) 4%, color-mix(in srgb, var(--surface) 93%, transparent) 32%, color-mix(in srgb, var(--surface) 36%, transparent) 62%, transparent 89%); }
.hero-figure-clip { position: absolute; z-index: -1; pointer-events: none; inset: calc(-1 * var(--banner-headroom)) 0 0; overflow: hidden; border-radius: 0 0 var(--card-radius) var(--card-radius); }
.hero-figure { position: absolute; inset: calc(var(--banner-headroom) + clamp(-36px, -2.5vw, -20px)) 5% 35px 49%; transform: translate(var(--banner-foreground-x, 0%), var(--banner-foreground-y, 0%)) scale(var(--banner-foreground-scale, 1)); }
.hero-figure img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(#000 85%, transparent); filter: drop-shadow(0 8px 16px rgb(0 0 0 / 30%)); }
.hero-slide-tomorrow-district:not(.hero-slide-custom-figure) .hero-figure { inset-inline: 44% -8px; }
.hero-slide-redline-ride:not(.hero-slide-custom-figure) .hero-figure {
  --pair-bleed: clamp(54px, 6.7vw, 94px);
  inset: calc(var(--banner-headroom) - var(--pair-bleed)) -6px 35px 35%;
  container-type: size;
  overflow: hidden;
  mask-image: linear-gradient(#000 85%, transparent);
}
.hero-slide-redline-ride:not(.hero-slide-custom-figure) .hero-figure img {
  position: absolute;
  inset: 0 0 auto auto;
  width: max(100%, calc(100cqh * 1050 / 702));
  max-width: none;
  height: auto;
  mask-image: none;
  /* The shared sheet puts the outer tip of the mech to the left of the pilot's hair. */
  clip-path: polygon(0 var(--pair-bleed), 75% var(--pair-bleed), 75% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-caption { display: flex; flex-direction: column; align-items: flex-start; width: min(46%, 59ch); max-height: 100%; position: relative; }
.hero-caption > :not(.hero-series-description) { flex-shrink: 0; }
.hero-caption .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; letter-spacing: .2em; }
.hero-caption .eyebrow::before { content: ""; width: 16px; height: 12px; flex: none; background: repeating-linear-gradient(130deg, var(--accent) 0 2px, transparent 2px 5px); }
.hero-caption h2 { max-width: 100%; font-size: clamp(2rem, 4.9vw, 3.45rem); font-weight: 850; line-height: .94; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: anywhere; }
html[lang="en"] .hero-caption h2 { text-transform: uppercase; }
html:not([lang="en"]) .hero-caption h2 { line-height: 1.08; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.hero-series-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 0; max-width: 45ch; margin-top: 12px; color: var(--text-muted); font-size: clamp(.8rem, 1.15vw, 1rem); line-height: 1.48; }
.hero-series-action { margin-top: 17px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-inline: 19px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .86rem; font-weight: 750; }
.hero-slide-link:hover .hero-series-action { text-decoration: underline; text-underline-offset: .2em; }
.banner-controls:not([hidden]) { position: absolute; inset: auto 0 0; height: var(--banner-control-height); z-index: 3; pointer-events: none; border-radius: 0 0 var(--card-radius) var(--card-radius); background: color-mix(in srgb, var(--background) 76%, transparent); }
.banner-button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); line-height: 1; pointer-events: auto; }
.banner-button:hover { background: var(--hover-surface); border-color: var(--muted); }
.banner-button[data-banner-previous] { left: 4px; bottom: 4px; }
.banner-button[data-banner-next] { right: 53px; bottom: 4px; }
.banner-button[data-banner-toggle] { right: 4px; bottom: 4px; }
.banner-control-mark { display: block; }
[data-banner-previous] .banner-control-mark, [data-banner-next] .banner-control-mark { width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; }
[data-banner-previous] .banner-control-mark { transform: rotate(135deg); }
[data-banner-next] .banner-control-mark { transform: rotate(-45deg); }
[data-banner-toggle] .banner-control-mark { border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; margin-left: 2px; }
[data-banner-toggle][data-playing] .banner-control-mark { width: 10px; height: 12px; margin: 0; border: solid currentColor; border-width: 0 2px; }
.banner-pagination { position: absolute; inset-inline: 53px 101px; bottom: 4px; display: flex; justify-content: center; }
.banner-dot { display: grid; place-items: center; flex: 0 1 32px; min-width: 20px; height: 44px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; pointer-events: auto; }
.banner-dot:focus-visible { outline-offset: -4px; }
.banner-dot::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--text-muted); border-radius: 50%; }
.banner-dot[aria-current="true"]::before { width: 10px; height: 10px; border-color: var(--accent); background: var(--accent); }
.banner-dot:hover::before { border-color: var(--text); }
.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.poster-link { display: block; }
.poster-link img { border: 1px solid var(--border); border-radius: var(--card-radius); }
.poster-caption { display: flex; justify-content: space-between; gap: 5px; padding-block: 7px 3px; font-size: .875rem; color: var(--text-muted); }
.poster-caption span { color: var(--text); font-weight: 650; }
.poster-link:hover .poster-caption { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  [data-home-revealed] .section-heading, [data-home-revealed] .archive-copy { animation: home-content-in calc(360ms / var(--showcase-motion-speed)) var(--ease-responsive) both; }
  [data-home-revealed] :is(.section-heading, .archive-copy):focus-within { animation: none; }
  @keyframes home-content-in {
    from { opacity: .84; transform: translateY(11px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.search { display: flex; align-items: center; gap: 12px; min-width: 0; background: var(--elevated); border: 1px solid var(--muted); border-radius: var(--radius); }
.search-hero { margin-top: 18px; padding: 3px 3px 3px 13px; max-width: 560px; }
.search-hero .button { min-height: 44px; padding-inline: 16px; }
.search-header { flex: 1; width: min(100%, 430px); height: 39px; padding-inline: 12px; background: var(--background); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 0; outline: none; }
.search:focus-within { outline: 2px solid var(--focus-color, var(--accent)); outline-offset: 2px; }
.search input:focus-visible { outline: none; }
.quick-links { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 9px; }
.quick-links a { background: var(--elevated); border: 1px solid var(--border); border-radius: 3px; padding: 5px 8px; font-size: .82rem; }
.quick-links a:hover { color: var(--text); border-color: var(--muted); }

.language { position: relative; flex: none; }
.language summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--elevated); white-space: nowrap; font-size: .875rem; cursor: pointer; list-style: none; }
.language summary::-webkit-details-marker { display: none; }
.language summary:hover, .language[open] summary { background: var(--hover-surface); border-color: var(--muted); }
.language summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.icon-globe { width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; }
.icon-globe::before { content: ""; position: absolute; inset: -1px 3px; border: 1px solid currentColor; border-radius: 50%; }
.icon-globe::after { content: ""; position: absolute; top: 6px; left: 0; right: 0; border-top: 1px solid currentColor; }
.language-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; min-width: max(100%, 9rem); padding: 4px; background: var(--elevated); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.language-menu button { text-align: left; display: block; width: 100%; min-height: 38px; padding: 5px 9px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--text); white-space: nowrap; }
.language-menu button:hover, .language-menu button[aria-current="true"] { background: var(--hover-surface); }
.language-menu button[aria-current="true"] { border-color: var(--border-strong); }
.language-menu button:focus-visible { outline-offset: -2px; }
.theme-switch { flex: none; }
.theme-switch button { display: flex; gap: 5px; align-items: center; min-height: 40px; background: var(--elevated); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 5px 9px; font-size: .82rem; white-space: nowrap; }
.theme-switch button:hover { background: var(--hover-surface); }
.theme-symbol { font-size: 1.13rem; line-height: 1; }

.catalog-section { margin-block: 28px 40px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.section-heading h2 { font-size: clamp(1.42rem, 2vw, 1.95rem); letter-spacing: -.038em; font-weight: 670; }
.text-link { color: var(--text); font-weight: 650; font-size: .91rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.asset-grid { display: grid; grid-template-columns: repeat(var(--grid-columns, 4), minmax(0, 1fr)); gap: var(--grid-gap, 16px); }
.asset-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; position: relative; }
.asset-card::after {
  --card-highlight: var(--accent);
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid color-mix(in srgb, var(--card-highlight) 86%, transparent);
  border-radius: inherit;
  box-shadow: 0 0 19px color-mix(in srgb, var(--card-highlight) 34%, transparent), inset 0 0 8px color-mix(in srgb, var(--card-highlight) 18%, transparent);
  opacity: 0;
  pointer-events: none;
}
.card-art { position: relative; background: var(--elevated); border-radius: var(--card-inner-radius) var(--card-inner-radius) 0 0; }
.card-art > a { display: flex; width: 100%; aspect-ratio: 16 / 9; align-items: center; justify-content: center; overflow: hidden; overflow: clip; border-radius: inherit; }
.card-art img { height: 100%; object-fit: contain; border-radius: inherit; }
.collection-art { overflow: hidden; overflow: clip; }
.asset-card:has(:focus-visible)::after { opacity: .68; }
@media (hover: hover) and (pointer: fine) {
  .asset-card:hover::after { --card-highlight: var(--card-glow, var(--accent)); opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .asset-card::after { transition: opacity calc(230ms / var(--showcase-motion-speed)) var(--ease-responsive); }
  .card-art:not(.card-art-avatar) img { transition: scale calc(380ms / var(--showcase-motion-speed)) var(--ease-responsive); }
  .asset-card:hover .card-art:not(.card-art-avatar) img {
    scale: 1.055;
    animation: card-breathe calc(2750ms / var(--showcase-motion-speed)) ease-in-out calc(350ms / var(--showcase-motion-speed)) infinite alternate;
  }
  @keyframes card-breathe { from { transform: scale(1); } to { transform: scale(1.028); } }
}
.card-art-avatar > a { aspect-ratio: auto; justify-content: flex-start; min-height: 52px; padding-inline: 8px 50px; }
.card-art-avatar img { width: 36px; height: 36px; }
.card-art-avatar .free-label { left: 52px; }
.asset-card:has(.card-art > a:hover) h3 a { text-decoration: underline; text-underline-offset: 3px; }
.card-art > .action-form { position: absolute; right: 8px; top: 8px; }
.free-label { position: absolute; left: 8px; top: 9px; padding: 4px 8px; color: var(--text); background: var(--surface); font-size: .8rem; font-weight: 700; border-radius: 3px; pointer-events: none; }
.save-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--elevated); width: 44px; min-height: 44px; font-size: .875rem; font-weight: 650; }
.heart-icon { flex: none; width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; fill: none; }
.save-button .heart-icon { width: 19px; height: 19px; }
.save-button[aria-pressed="true"] .heart-icon { fill: var(--accent); }
.save-button[aria-busy="true"] { cursor: progress; }
.save-button:hover, .save-button[aria-pressed="true"] { background: var(--hover-surface); }
.save-wide { padding-inline: 12px; width: auto; }
.card-body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 11px 12px 12px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 6px; color: var(--text-muted); font-size: .78rem; }
.card-specs { display: grid; gap: 4px; margin: 10px 0 0; font-size: .78rem; line-height: 1.4; }
.card-specs div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.card-specs dt { color: var(--text-muted); }
.card-specs dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; overflow-wrap: anywhere; }
.card-art-pack img { object-fit: contain; }
.boxed-pack { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--card-radius); background: var(--surface); }
.boxed-pack img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--background); }
.boxed-pack-copy { display: grid; align-content: center; justify-items: start; gap: 9px; padding: 14px; }
.boxed-pack-copy h3 { font-size: .98rem; line-height: 1.3; overflow-wrap: anywhere; }
.boxed-pack-copy p { color: var(--text-muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.boxed-pack-lead { grid-template: minmax(0, 1fr) / minmax(0, 1.9fr) minmax(0, 1fr); }
.boxed-pack-lead .boxed-pack-copy { gap: 14px; padding: clamp(18px, 3vw, 46px); }
.boxed-pack-lead h2 { font-size: clamp(1.4rem, 3.5vw, 3.1rem); letter-spacing: -.03em; line-height: 1.08; overflow-wrap: anywhere; }
.boxed-pack:hover h2, .boxed-pack:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.boxed-pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pack-artwork-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pack-poster-board { padding: clamp(6px, 1.2vw, 16px); border: 1px solid var(--border); border-radius: var(--card-radius); background: var(--surface); }
.pack-poster-panels { display: flex; justify-content: center; gap: clamp(3px, .65vw, 10px); aspect-ratio: 2.25; }
.pack-poster-panels > a { min-width: 0; }
.pack-poster-panels img { width: auto; height: 100%; object-fit: contain; }
.pack-poster-board figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 3px 2px; font-size: .82rem; color: var(--text-muted); }
.pack-poster-board figcaption strong { color: var(--text); }
.pack-delivery-details { margin-top: 14px; }
.pack-delivery-details summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
.pack-delivery-details .specs { margin-top: 0; }
@media (max-width: 850px) { .boxed-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .boxed-pack-lead { grid-template: auto auto / minmax(0, 1fr); }
  .boxed-pack-lead .boxed-pack-copy { padding: 14px; gap: 9px; }
}
.card-body h3 { font-size: 1rem; line-height: 1.28; font-weight: 670; }
.card-body h3 a:hover { text-decoration: underline; }
.creator-credit { color: var(--text-muted); line-height: 1.4; font-size: .78rem; }
.product-intro .creator-credit { margin-bottom: 7px; font-size: .9rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.price { font-size: .92rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.button { border: 1px solid transparent; border-radius: var(--radius); padding: 8px 12px; display: inline-flex; min-height: 40px; justify-content: center; align-items: center; font-size: .875rem; font-weight: 650; text-align: center; line-height: 1.2; }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { box-shadow: inset 0 0 0 1px currentColor; }
.button-primary:disabled { background: var(--hover-surface); color: var(--text-muted); border-color: var(--muted); box-shadow: none; }
.button-outline { color: var(--text); border-color: var(--muted); background: var(--secondary, var(--surface)); }
.button-outline:hover { background: var(--hover-surface); }
.button-outline:disabled { opacity: .75; cursor: default; }
.button-text { background: none; color: var(--text); padding-inline: 0; text-decoration: underline; }
.card-actions .button { padding-inline: 9px; }
.card-actions .button { min-height: 44px; }

.archive-callout, .collection-card { background: var(--surface); border: 1px solid var(--border); }
.archive-callout { display: grid; grid-template-columns: 1.07fr 1fr; }
.archive-art { aspect-ratio: 2.05; overflow: hidden; border-radius: var(--card-inner-radius) 0 0 var(--card-inner-radius); background: var(--elevated); }
.archive-art img { height: 100%; object-fit: cover; }
.archive-copy { align-content: center; padding: clamp(18px, 4vw, 49px); }
.archive-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.45rem); letter-spacing: -.045em; margin-top: 9px; }
.archive-copy > p:not(.eyebrow) { color: var(--text-muted); max-width: 53ch; margin-block: 10px 16px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.collection-card > a { display: block; height: 100%; border-radius: inherit; }
.collection-art { aspect-ratio: 2.25; overflow: hidden; border-radius: var(--card-inner-radius) var(--card-inner-radius) 0 0; background: var(--elevated); }
.collection-art img { height: 100%; object-fit: cover; }
.collection-art-full { aspect-ratio: 16 / 9; }
.collection-art-full img { object-fit: contain; }
.collection-copy { padding: 17px 19px 20px; }
.collection-copy h3 { font-size: 1.3rem; }
.collection-copy p { color: var(--text-muted); margin: 8px 0 12px; }

.pair-feature { margin-block: clamp(34px, 5vw, 74px); padding-block: 18px; border-block: 1px solid var(--border); scroll-margin-top: 16px; }
.pair-feature-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px 26px; margin-bottom: 16px; }
.pair-feature-heading h2 { font: 800 clamp(1.65rem, 3.15vw, 3.1rem)/1.06 var(--heading-font); letter-spacing: -.025em; text-wrap: balance; }
html:not([lang="en"]) .pair-feature-heading h2 { font-family: inherit; }
.pair-feature-heading p { margin-top: 5px; color: var(--text-muted); }
.pair-feature-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pair-feature-actions .button { min-height: 44px; text-align: center; }
.pair-feature-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); align-items: start; gap: clamp(10px, 1.6vw, 24px); }
.pair-feature-frame, .pair-feature-sheet-art { overflow: hidden; border-radius: var(--card-radius); background: var(--elevated); }
.pair-feature-frame { aspect-ratio: 16 / 9; }
.pair-feature-scene figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding-top: 9px; }
.pair-feature-scene figcaption span, .pair-feature-sheet figcaption > span:last-child { color: var(--text-muted); font-size: .82rem; }
.pair-feature-sheets { display: grid; gap: 12px; }
.pair-feature-sheet { min-width: 0; }
.pair-feature-sheet-art { aspect-ratio: 16 / 9; }
.pair-feature-sheet figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; padding: 7px 0 0; font-size: .88rem; }
.pair-feature-sheet figcaption b { color: var(--accent); margin-right: 4px; font-variant-numeric: tabular-nums; }
.phone-review { width: min(100% - 20px, 392px); margin-inline: auto; }
.phone-review h1 { margin-block: 12px 8px; font-size: 1rem; }
.phone-review nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.phone-review nav .button { min-height: 40px; padding-inline: 9px; }
.phone-review iframe { display: block; width: 100%; height: min(846px, calc(100dvh - 98px)); border: 1px solid var(--border-strong); border-radius: var(--card-radius); }
@media (prefers-reduced-motion: no-preference) {
  [data-pair-motion] .pair-feature-frame img {
    transform: translateY(calc((1 - var(--pair-scene, 1)) * 18px)) scale(calc(1 + (1 - var(--pair-scene, 1)) * .12));
    clip-path: inset(0 0 calc((1 - var(--pair-scene, 1)) * 12%) 0);
  }
  [data-pair-motion] .pair-feature-sheet:first-child { --sheet-progress: var(--pair-pilot, 1); }
  [data-pair-motion] .pair-feature-sheet:last-child { --sheet-progress: var(--pair-mech, 1); }
  [data-pair-motion] .pair-feature-sheet-art img {
    transform: translateY(calc((1 - var(--sheet-progress)) * 12px));
    clip-path: inset(0 calc((1 - var(--sheet-progress)) * 16%) 0 0);
    opacity: calc(.73 + .27 * var(--sheet-progress));
  }
}
@media (max-width: 760px) {
  .pair-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .pair-feature-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair-feature-scene figcaption { padding-bottom: 4px; }
  .pair-feature-heading { align-items: start; }
  .pair-feature-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .pair-feature-actions .button { min-width: 0; padding-inline: 8px; font-size: .82rem; white-space: normal; }
}

.page-heading { padding: 36px 0 24px; }
.page-heading h1, .purchase h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); letter-spacing: -.051em; margin-block: 7px 10px; }
.page-heading > p:not(.eyebrow), .page-heading > div > p:not(.eyebrow) { max-width: 69ch; color: var(--text-muted); }
.page-heading.with-image { display: grid; grid-template-columns: 1fr minmax(210px, 30%); gap: 24px; align-items: center; }
.with-image img { max-height: 155px; object-fit: cover; }
.page-heading:has(.collection-actions) img { max-height: 210px; object-fit: contain; }
.collection-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.offer-filters { display: flex; flex-wrap: wrap; gap: 6px 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.offer-filters a { color: var(--text-muted); padding: 8px 2px; font-size: .875rem; font-weight: 650; }
.offer-filters a:hover, .offer-filters a[aria-current="page"] { color: var(--text); }
.offer-filters a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.facets { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; background: var(--surface); border: 1px solid var(--border); padding: 14px; }
.search-facet-fields:not([hidden]) { display: contents; }
.facets [hidden] { display: none; }
.search-active-filters { display: none; }
.filter-control { position: relative; flex: 1 1 115px; display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .875rem; font-weight: 620; }
.filter-query { flex: 1.55 1 190px; }
.filter-control :is(input, select) { min-width: 0; height: 40px; width: 100%; background: var(--elevated); border: 1px solid var(--muted); border-radius: var(--radius); padding: 6px 8px; font-weight: 400; }
.filter-control select { appearance: none; padding-right: 26px; }
.filter-control:has(select)::after { content: ""; position: absolute; right: 12px; bottom: 17px; width: 7px; height: 7px; border: solid var(--text-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.results-bar { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 17px 0 12px; color: var(--text-muted); overflow-wrap: anywhere; }
.results-bar a, .notice a, .specs a, .pair a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 10px 12px; background: var(--elevated); color: var(--text); border-left: 2px solid var(--accent); font-size: .875rem; margin-bottom: 15px; }
.empty { padding: 33px; background: var(--surface); border: 1px solid var(--border); }
.empty p { margin: 8px 0 14px; color: var(--text-muted); }

.breadcrumb { padding-block: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--text-muted); font-size: .875rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a::after { display: inline-block; content: "/"; margin-left: 8px; color: var(--text-muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(285px, 1fr); gap: 22px; align-items: start; grid-template-areas: "gallery info"; }
.atlas-detail { grid-template-columns: minmax(0, 760px) minmax(275px, 420px); }
.atlas-detail .purchase-content .notice { margin: 10px 0 0; }
.sheet-pack-link { margin-top: 8px; font-size: .875rem; }
.sheet-pack-link a { text-decoration: underline; text-underline-offset: 3px; }
.sheet-tags { margin-block: 8px 10px; font-size: .875rem; }
.sheet-tags > span { color: var(--text-muted); }
.product-gallery { grid-area: gallery; display: grid; gap: 13px; }
.paired-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; grid-area: gallery; }
.product-gallery figcaption { color: var(--text-muted); padding-block: 6px 3px; font-size: .875rem; }
.preview-link, .preview-still { position: relative; display: block; border: 1px solid var(--border); background: var(--surface); }
.preview-link img, .preview-still img { border-radius: var(--card-inner-radius); }
.preview-link span { position: absolute; bottom: 9px; right: 9px; padding: 6px 9px; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--elevated); font-size: .82rem; }
.preview-link:hover span { background: var(--hover-surface); }
.purchase { grid-area: info; background: var(--surface); border: 1px solid var(--border); padding: clamp(16px, 2.2vw, 28px); }
.purchase h1 { font-size: clamp(1.85rem, 3vw, 2.75rem); letter-spacing: normal; text-wrap: balance; }
.product-description { color: var(--text-muted); }
.product-price { font-size: 1.65rem; font-weight: 750; margin: 15px 0 9px; }
.product-price small { font-size: .8rem; color: var(--text-muted); font-weight: 480; margin-left: 7px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.access-note { margin-top: 10px; color: var(--text-muted); font-size: .875rem; }
.specs { margin: 17px 0 0; }
.specs > div, .summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding: 8px 0; font-size: .875rem; }
.specs dd, .summary dd { margin: 0; text-align: right; font-weight: 600; }
.specs dt { color: var(--text-muted); }
.pair { padding-top: 10px; border-top: 1px solid var(--border); }
.pack-roster { margin-block: 0 24px; padding: clamp(14px, 2vw, 22px); border: 1px solid var(--border); background: var(--surface); }
.roster-count, .roster-preview-hint { font-size: .875rem; color: var(--text-muted); }
.roster-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.roster-title-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
.roster-heading-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.roster-tap-hint { display: none; }
@media (hover: none) {
  .roster-hover-hint { display: none; }
  .roster-tap-hint { display: inline; }
}
.roster-group + .roster-group { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.roster-group h3 { margin-bottom: 9px; font-size: .92rem; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, 36px); gap: 7px; padding: 0; margin: 0; list-style: none; }
.roster-grid[data-roster-paired] { grid-template-columns: repeat(auto-fill, 79px); }
.roster-pair { display: flex; gap: 7px; }
.roster-avatar { position: relative; display: grid; place-items: center; width: 36px; height: 36px; background: var(--elevated); border-radius: 3px; }
.roster-avatar img { width: 36px; height: 36px; object-fit: cover; border-radius: inherit; }
.roster-avatar img:not([src]), .roster-avatar img[src] + span { display: none; }
.roster-avatar span { color: var(--text-muted); font-size: .68rem; font-variant-numeric: tabular-nums; }
.roster-avatar:is(:hover, [aria-expanded="true"]) { outline: 1px solid var(--text); outline-offset: 1px; }
.roster-avatar:focus-visible { outline: 2px solid var(--focus-color, var(--accent)); outline-offset: 2px; }
.roster-peek { position: fixed; z-index: 6; width: 254px; max-width: calc(100vw - 20px); padding: 6px; border: 1px solid var(--border-strong); background: var(--elevated); pointer-events: none; }
.roster-peek[data-roster-touch] { pointer-events: auto; }
.roster-peek img { width: auto; max-width: 100%; max-height: 240px; margin-inline: auto; object-fit: contain; }
.roster-peek:not([data-preview-ready]) img { visibility: hidden; }
.roster-peek figcaption { margin-top: 4px; color: var(--text-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
dialog { width: min(96vw, 1170px); max-height: 94vh; padding: 12px; background: var(--elevated); color: var(--text); border: 1px solid var(--muted); }
dialog::backdrop { background: var(--scrim); }
dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
dialog img { max-height: 79vh; object-fit: contain; }
#preview-dialog { padding: 0; }
.preview-surface { padding: 12px; }
.preview-surface .button { min-height: 44px; }
.preview-surface img { max-height: calc(94dvh - 80px); }
#preview-dialog[aria-busy="true"] img { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .save-button:active:not(:focus-visible) .heart-icon { transform: scale(.9); }
  .save-button .heart-icon { transition: transform 110ms var(--ease-responsive); }
  #preview-dialog[data-pointer-motion] { opacity: 0; transform: scale(.985); transition: opacity 120ms var(--ease-responsive), transform 120ms var(--ease-responsive), display 120ms allow-discrete, overlay 120ms allow-discrete; }
  #preview-dialog[data-pointer-motion][open] { opacity: 1; transform: scale(1); transition-duration: 190ms; }
  #preview-dialog[data-pointer-motion]::backdrop { background: transparent; transition: background-color 120ms var(--ease-responsive), display 120ms allow-discrete, overlay 120ms allow-discrete; }
  #preview-dialog[data-pointer-motion][open]::backdrop { background: var(--scrim); transition-duration: 190ms; }
  @starting-style {
    #preview-dialog[data-pointer-motion][open] { opacity: 0; transform: scale(.985); }
    #preview-dialog[data-pointer-motion][open]::backdrop { background: transparent; }
  }
}
#sheet-unlock-dialog { width: min(92vw, 430px); padding: clamp(16px, 4vw, 24px); }
.unlock-panel { max-width: 430px; margin-block: 14px; padding: 20px; border: 1px solid var(--border); background: var(--surface); }
:is(#sheet-unlock-dialog, .unlock-panel) > p { margin-top: 8px; color: var(--text-muted); }
:is(#sheet-unlock-dialog, .unlock-panel) h2 { letter-spacing: normal; font-size: 1.3rem; }
.unlock-cost { margin-block: 12px; border-block: 1px solid var(--border); padding-block: 6px; }
.unlock-cost > div { display: flex; justify-content: space-between; gap: 10px; padding-block: 4px; }
.unlock-cost dd { font-weight: 700; }
.unlock-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.unlock-actions form { margin: 0; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr); gap: 20px; align-items: start; }
.cart-items, .summary, .info-content { background: var(--surface); border: 1px solid var(--border); }
.cart-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 14px; }
.cart-row + .cart-row { border-top: 1px solid var(--border); }
.cart-row h2 { font-size: 1.05rem; line-height: 1.28; }
.cart-row p { color: var(--text-muted); font-size: .875rem; }
.cart-image { background: var(--elevated); }
.summary, .info-content { padding: 21px; }
.summary h2 { font-size: 1.25rem; }
.summary .summary-total { font-size: 1rem; font-weight: 700; }
.info-content { max-width: 760px; }
.info-content h2 + p { margin-top: 8px; }
.info-content p + h2 { margin-top: 18px; }
.commerce-list { padding: 0; list-style: none; }
.commerce-list li { padding-block: 10px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.commerce-list small { display: block; color: var(--text-muted); }
.info-content form + .account-actions { margin-top: 12px; }
.info-content p + p, .info-content p + a { margin-top: 12px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.oauth-options, .account-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; }
.account-form input[type="email"] { display: block; margin-top: 5px; border: 1px solid var(--muted); border-radius: var(--radius); padding: 6px; background: var(--elevated); }
.credit-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.credit-packs div { background: var(--elevated); border: 1px solid var(--border); padding: 10px; display: grid; gap: 6px; }
.credit-packs span { color: var(--text-muted); }
.credit-purchase, .gift-channels, .gift-redeem { margin-bottom: 24px; }
.gift-channels, .gift-redeem { border: 1px solid var(--border); border-radius: var(--card-radius); }
.gift-channels summary { cursor: pointer; padding: 16px 20px; min-height: 44px; border-radius: inherit; }
.gift-channels summary h2 { display: inline; font-size: 1.15rem; }
.gift-channels summary span { display: block; color: var(--text-muted); margin-top: 5px; }
.gift-channel-body, .gift-redeem { padding: 16px 20px; overflow-wrap: anywhere; }
.gift-channel-body { border-top: 1px solid var(--border); }
.gift-channel-body ul { list-style: none; padding: 0; margin: 12px 0 0; }
.gift-channel-body li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; border-top: 1px solid var(--border); }
.gift-channel-body li div { flex: 1 1 230px; }
.gift-channel-body p { margin: 6px 0; }
.gift-channel-body h3, .gift-redeem h2 { margin: 0 0 4px; }
.gift-channel-body small, .gift-form small { color: var(--text-muted); }
.gift-form { display: grid; gap: 8px; margin: 12px 0 24px; }
.gift-form > div { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-form input[type="text"] { max-width: 100%; min-width: 0; flex: 1 1 250px; min-height: 44px; padding: 8px 12px; color: var(--text); background: var(--elevated); border: 1px solid var(--muted); border-radius: var(--radius); }
.gift-form .button, .gift-channel-body .button, .gift-redeem > .button { min-height: 44px; }
.gift-redeem { scroll-margin-top: 24px; }

.asset-card, .archive-callout, .collection-card, .facets, .empty, .preview-link, .preview-still,
.purchase, .purchase-content, .pack-roster, .roster-peek, .unlock-panel,
.cart-items, .summary, .info-content, .credit-packs div, dialog { border-radius: var(--card-radius); }

main { min-height: 57vh; }
.footer { margin-top: 45px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 20px; padding-block: 25px; }
.footer p { margin-top: 6px; font-size: .875rem; color: var(--text-muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 9px 19px; font-size: .875rem; }
.footer nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer-status { font-size: .8rem; color: var(--text-muted); }
.feedback { position: fixed; z-index: 3; bottom: 16px; right: 16px; padding: 11px 17px; background: var(--elevated); color: var(--text); border: 1px solid var(--muted); border-radius: var(--radius); }
.ad-slot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-block: 20px; padding: 17px; color: var(--text-muted); background: var(--elevated); border-block: 1px solid var(--border-strong); font-size: .875rem; }
.ad-slot strong { color: var(--text); }
.reward-test { margin-block: 22px; padding: 12px 15px; border: 1px solid var(--border-strong); }
.reward-test summary { color: var(--text); cursor: pointer; }
.reward-test p { margin-block: 8px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desktop-break { display: none; }
  .asset-grid { gap: 12px; }
}
@media (max-width: 850px) {
  .asset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools { gap: 14px; }
  .tool-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .theme-name { display: none; }
}
@media (700px < width <= 1100px) {
  .hero-slide-redline-ride .hero-caption { width: 42%; }
  .hero-slide-redline-ride:not(.hero-slide-custom-figure) .hero-figure {
    inset-inline-start: 42%;
    mask-image: linear-gradient(90deg, transparent, #000 18%), linear-gradient(#000 85%, transparent);
    mask-composite: intersect;
  }
}
@media (width > 700px) {
  .hero-copy { align-items: start; }
  .hero-find { width: min(100%, 392px); justify-self: end; }
  .hero-find .search-hero { font-size: .9rem; padding-left: 10px; }
  .hero-find > .search-hero .button, .hero-find .home-actions .button { min-height: 36px; padding: 6px 11px; font-size: .8rem; }
  .hero-find .home-actions { gap: 6px; margin-top: 6px; }
  .hero-figure-clip {
    clip-path: polygon(0 var(--banner-copy-inset, 0px), var(--banner-copy-width, 0px) var(--banner-copy-inset, 0px),
      var(--banner-copy-width, 0px) 0, 100% 0, 100% 100%, 0 100%);
  }
  body:has(.home-carousel) .header :is(.masthead > *, .nav > *) { position: relative; z-index: 2; }
  body:has(.home-carousel) .header :is(.tools, .nav > *) { background: var(--nav-surface, var(--surface)); }
  html[lang="en"] .hero-slide-street-offbeat .hero-caption h2 { font-size: clamp(1.9rem, 4.1vw, 3rem); }
  html:not([lang="en"]) .hero-slide-street-form-atlas .hero-caption h2 { font-size: clamp(1.85rem, 4vw, 2.95rem); }
}
@media (max-width: 700px) {
  :root { --heading-tracking: .03em; }
  .wrap { width: calc(100% - 30px); }
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 8px; padding-block: 8px 7px; min-height: 56px; }
  .masthead .logo { grid-area: 1 / 1; justify-self: start; }
  .language { grid-area: 1 / 2; justify-self: end; }
  .theme-switch { grid-area: 1 / 3; }
  .theme-switch button { min-width: 35px; justify-content: center; }
  .masthead .tools { grid-area: 2 / 2 / 3 / 4; }
  .search-header { grid-area: 2 / 1; width: 100%; max-width: none; }
  .brand-wide { display: none; }
  .brand-narrow { display: inline-flex; align-items: center; }
  .brand-image { max-width: 124px; max-height: 33px; }
  .header-find { display: none; }
  .tools { gap: 11px; }
  .masthead .assassin-brand { width: clamp(154px, 48vw, 245px); }
  .brand-type { gap: 4px; }
  .brand-subtitle { font-size: .49rem; letter-spacing: .18em; }
  .nav { gap: 18px; }
  .nav a { font-size: .85rem; }
  .local-label { margin-right: 3px; }
  .hero { --banner-picture-height: clamp(205px, 62vw, 320px); --banner-height: calc(var(--banner-picture-height) + 280px); --banner-headroom: 10px; gap: 12px; margin-block: 13px 24px; }
  .home-carousel { order: 0; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 9px; }
  .hero-caption { width: 100%; padding: 12px 3% 0; }
  .hero-caption .eyebrow { margin-bottom: 6px; }
  .hero-caption h2, html:not([lang="en"]) .hero-caption h2 { font-size: clamp(1.5rem, 7.2vw, 2.7rem); line-height: 1.05; }
  .hero-slide-link { align-items: start; padding: var(--banner-picture-height) 12px calc(var(--banner-control-height) + 8px); }
  .hero-art :is(img, video) { width: 100%; height: var(--banner-picture-height); }
  .hero-art::after { background: linear-gradient(0deg, var(--surface) 36%, transparent 89%); }
  .hero-slide-layered .hero-art img { object-position: 73% center; filter: blur(3px); }
  .hero-slide-layered .hero-art::after { background: linear-gradient(0deg, var(--surface) 38%, transparent 91%); }
  .hero-figure-clip { bottom: auto; height: calc(var(--banner-picture-height) + var(--banner-headroom)); border-radius: 0; }
  .hero-figure, .hero-slide-tomorrow-district:not(.hero-slide-custom-figure) .hero-figure { inset: 0 1% auto; height: calc(var(--banner-picture-height) + var(--banner-headroom)); }
  .hero-slide-redline-ride:not(.hero-slide-custom-figure) .hero-figure {
    --pair-bleed: clamp(36px, 11.5vw, 51px);
    inset: calc(var(--banner-headroom) - var(--pair-bleed)) -5px auto;
    height: calc(var(--banner-picture-height) + var(--pair-bleed));
  }
  .hero-series-description { -webkit-line-clamp: 2; margin-top: 6px; }
  .hero-series-action { margin-top: 8px; }
  .hero .quick-links { padding-top: 6px; }
  .hero + .catalog-section { margin-top: 24px; }

  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "gallery" "details" "extras"; gap: 10px; }
  .product .purchase, .product-gallery { display: contents; }
  .product-intro { grid-area: intro; padding-bottom: 2px; }
  .product-gallery > :is(.preview-link, .preview-still) { grid-area: gallery; }
  .purchase-content { grid-area: details; padding: 13px; background: var(--surface); border: 1px solid var(--border); }
  .purchase-content .product-price { margin-top: 0; }
  .gallery-extras { grid-area: extras; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .page-heading { padding: 23px 0 14px; }
  .page-heading.with-image { grid-template-columns: 1fr; gap: 12px; }
  .with-image img { max-height: 120px; }
}
@media (max-width: 375px) {
  .masthead .assassin-brand, .admin-brand .assassin-brand { width: 63px; }
}
@media (max-width: 560px) {
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 7px; min-height: 0; overflow: visible; }
  .nav a { padding-block: 7px 8px; white-space: normal; }
  .local-label { margin-left: 0; }
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card-body { padding: 7px 8px 9px; }
  .card-meta { font-size: .75rem; }
  .card-body h3 { font-size: .89rem; }
  .card-actions { justify-content: flex-start; flex-direction: column; align-items: stretch; }
  .card-actions .button { width: 100%; font-size: .83rem; }
  .card-art > .action-form { right: 4px; top: 4px; }
  .free-label { top: 4px; left: 4px; }
  .collection-grid, .archive-callout { grid-template-columns: 1fr; }
  .archive-art { aspect-ratio: 2.5; border-radius: var(--card-inner-radius) var(--card-inner-radius) 0 0; }
  .facets { gap: 7px; padding: 9px; }
  .filter-query { flex-basis: 100%; }
  body:has(.search-heading) .search-header { display: none; }
  .search-heading { padding: 13px 0 6px; }
  .search-heading :is(.eyebrow, h1 + p) { display: none; }
  .search-heading h1 { font-size: clamp(1.42rem, 6vw, 1.7rem); margin-block: 0 6px; }
  .search-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin-bottom: 8px; }
  .search-offers a { display: grid; place-items: center; min-height: 44px; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
  [data-compact-facets] { align-items: center; padding: 0; border: 0; background: transparent; }
  [data-compact-facets] .filter-query { flex: 1 1 0; }
  [data-compact-facets] .filter-query > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  [data-compact-facets] input[type="search"], [data-compact-facets] > button { min-height: 44px; }
  [data-compact-facets] > button { padding-inline: 10px; }
  [data-compact-facets] [data-facet-toggle] { gap: 5px; }
  [data-compact-facets] [data-facet-toggle][aria-expanded="true"] { border-color: var(--accent); }
  [data-compact-facets] .search-facet-fields:not([hidden]) {
    flex-basis: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--card-radius); padding: 9px;
  }
  [data-compact-facets] .search-facet-fields > button { grid-column: 1 / -1; min-height: 44px; justify-self: end; }
  [data-compact-facets] + .search-active-filters { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 5px; }
  .search-active-filters a { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; padding: 4px 9px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; }
  .search-active-filters a:hover { border-color: var(--muted); }
  :is([data-compact-facets], .search-active-filters) + .results-bar { padding-top: 10px; }
  .cart-row { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 8px; padding-inline: 8px; }
  .cart-row h2 { font-size: .93rem; }
  .credit-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
