/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 * Canvas puts stable sa-* classes on every section; this file hooks onto them.
 */

/* =========================================================================
   AVALON SHARDS: design layer on top of Canvas.
   Idea: the logo's A is three shards on one 60° cut. Everything here moves on
   that line, every box has one corner cut on it, and orange (#FF6B00, the
   theme accent) stays at ~10%: buttons, the two logo shards, prices on hover.
   ========================================================================= */
:root {
  --av-ink: rgb(var(--cl-t-primary));
  --av-muted: rgb(var(--cl-t-muted));
  --av-bg: rgb(var(--cl-background));
  --av-raise: rgb(var(--cl-surface));
  --av-raise-2: rgb(var(--cl-surface-raised));
  --av-line: var(--cl-border);
  --av-grad: linear-gradient(160deg, #FFA157, rgb(var(--cl-accent)) 55%, #FF5C28);
  --av-gutter: 1rem;
  --av-u: clamp(0.5rem, 0.35rem + 0.6vw, 1rem);
  --av-cut: 0.85rem;
  --av-cut-shape: polygon(0 0, calc(100% - var(--av-cut)) 0, 100% calc(var(--av-cut) * 1.732), 100% 100%, 0 100%);
  --av-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --av-header: 4.25rem;
  --av-logo: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='70 125 630 490'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23FFA157'/><stop offset='1' stop-color='%23FF5C28'/></linearGradient></defs><polygon points='95,592 240,343 298,343 398,505 510,313 545,375 420,592 375,592 303,478 240,592' fill='%23201F26' stroke='%23F3F4F6' stroke-opacity='.45' stroke-width='9' stroke-linejoin='round'/><polygon points='293,255 355,148 413,148 500,300 441,405 385,315 358,365' fill='url(%23g)'/><polygon points='552,385 675,592 540,592 488,493' fill='url(%23g)'/></svg>");
}
@media (min-width: 640px) { :root { --av-gutter: 1.5rem; } }

body { font-variation-settings: 'wdth' 100; -webkit-font-smoothing: antialiased; }
::selection { background: rgb(var(--cl-accent)); color: rgb(var(--cl-on-accent)); }
:focus-visible { outline: 2px solid rgb(var(--cl-accent)); outline-offset: 3px; }

/* Fallbacks for the condensed display caps while Archivo loads. Archivo at wdth 68 is much
   narrower than any system font, so an unscaled fallback wraps the hero title onto extra lines
   and the page jumps when Archivo arrives (CLS 0.65 on a phone). size-adjust scales each fallback
   to Archivo's width, measured on the hero copy at weight 800: Arial 65.9%, Roboto 79.7%.
   Arial/Helvetica cover Windows, Mac and iOS; Roboto covers Android. */
@font-face { font-family: 'Av Display Fallback A'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'); font-weight: 100 900; size-adjust: 65.9%; }
@font-face { font-family: 'Av Display Fallback R'; src: local('Roboto Bold'), local('Roboto-Bold'), local('Roboto'); font-weight: 100 900; size-adjust: 79.7%; }

/* Display voice: condensed heavy caps, the same voice as the product covers. */
.av-display,
.sa-section-title,
.sa-tpl-product h1,
.sa-tpl-products h1,
.sa-custom-page-heading h1 {
  font-family: Archivo, 'Av Display Fallback A', 'Av Display Fallback R', sans-serif;
  font-variation-settings: 'wdth' 68;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.88;
}
.sa-section-title { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.5rem); }
.sa-section-title .mk, .av-display .mk, .av-access__statement .mk { color: rgb(var(--cl-accent)); background: none; }
.sa-section-eyebrow, .av-label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--av-muted);
}
.av-muted { color: var(--av-muted); }
.av-accent { color: rgb(var(--cl-accent)); }
.av-num { font-variant-numeric: tabular-nums; }
.av-wrap { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--av-gutter); }
.av-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--av-gutter); }
.av-h2 { font-size: clamp(2.6rem, 1.2rem + 5vw, 6.5rem); margin-top: 0.6rem; color: var(--av-ink); }

/* ---------- Buttons: diagonal flood along the cut ---------- */
.sa-btn, .sa-add-to-cart, .av-btn {
  position: relative; isolation: isolate; overflow: clip;
  border-radius: 0 !important;
  clip-path: var(--av-cut-shape);
  font-weight: 700 !important;
  transition: color 0.35s var(--av-ease), scale 0.2s !important;
}
.sa-btn::before, .sa-add-to-cart::before, .av-btn::before {
  content: ''; position: absolute; inset: 0 -45%; z-index: -1;
  background: var(--av-ink);
  transform: skewX(-30deg); translate: -101% 0;
  transition: translate 0.6s var(--av-ease);
  pointer-events: none;
}
.sa-btn--outline::before, .sa-btn--ghost::before, .av-btn--ghost::before { background: rgb(var(--cl-accent)); }
.av-btn {
  display: inline-flex; align-items: center; gap: 0.7em; min-height: 3.1rem; padding: 0 1.35rem 0 1.25rem;
  background: rgb(var(--cl-accent)); color: rgb(var(--cl-on-accent)); font-size: 0.95rem;
}
.av-btn--ghost { background: transparent; color: var(--av-ink); box-shadow: inset 0 0 0 1px rgba(var(--cl-t-primary), 0.32); }
.av-arrow { width: 0.95em; height: 0.95em; flex: none; transition: translate 0.45s var(--av-ease); }
@media (hover: hover) {
  .sa-btn:hover::before, .sa-add-to-cart:hover::before, .av-btn:hover::before { translate: 0 0; }
  .sa-btn:hover, .sa-add-to-cart:hover, .av-btn:hover { color: rgb(var(--cl-on-accent)) !important; }
  .av-btn:hover .av-arrow { translate: 0.3em -0.3em; }
}
.sa-btn:focus-visible::before, .av-btn:focus-visible::before, .sa-add-to-cart:focus-visible::before { translate: 0 0; }
.sa-btn:focus-visible, .av-btn:focus-visible, .sa-add-to-cart:focus-visible { color: rgb(var(--cl-on-accent)) !important; outline-offset: 4px; }
.sa-btn:active, .av-btn:active, .sa-add-to-cart:active { scale: 0.97; }

/* Inline text links keep an underline at rest; it rises into an orange band. */
.av-link {
  background: linear-gradient(rgb(var(--cl-accent)) 0 0) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s var(--av-ease), color 0.3s;
}
@media (hover: hover) { .av-link:hover { background-size: 100% 100%; color: rgb(var(--cl-on-accent)) !important; } }
.av-link:focus-visible { background-size: 100% 100%; color: rgb(var(--cl-on-accent)) !important; }

/* ---------- Header ---------- */
.sa-navbar-link {
  border-radius: 0 !important; background-color: transparent !important;
  background-image: linear-gradient(rgb(var(--cl-accent)) 0 0) !important;
  background-position: 0.75rem calc(100% - 0.3rem) !important; background-size: 0% 2px !important; background-repeat: no-repeat !important;
  transition: background-size 0.45s var(--av-ease), color 0.25s !important;
}
@media (hover: hover) { .sa-navbar-link:hover { background-size: calc(100% - 1.5rem) 2px !important; } }
.sa-navbar-link.text-t-primary, .sa-navbar-link:focus-visible { background-size: calc(100% - 1.5rem) 2px !important; }
.sa-header { transition: translate 0.5s var(--av-ease); }
html.av-header-hidden .sa-header { translate: 0 -100%; }

/* ---------- Product cards (shop, groups, category pages) ---------- */
/* Browsing surfaces are softened (radius 14px, set by the theme's Card radius);
   actions keep the sharp diagonal cut. Soft things you look at, sharp things you press. */
.sa-product-card, .sa-categories-item {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-card) !important;
  transform-style: preserve-3d; will-change: auto;
  transition: border-color 0.35s, box-shadow 0.5s var(--av-ease) !important;
}
.sa-product-card-media img { transition: scale 0.9s var(--av-ease) !important; }
/* A soft light that follows the pointer while the card leans (custom.js sets the vars). */
.sa-product-card::after, .sa-categories-item::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 50% at var(--av-mx, 50%) var(--av-my, 0%), rgb(255 255 255 / 0.16), transparent 70%);
  opacity: var(--av-lit, 0);
}
.av-tilt { will-change: transform; }
@media (hover: hover) {
  .sa-product-card:hover, .sa-categories-item:hover {
    border-color: rgba(var(--cl-accent), 0.55) !important;
    box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.8), 0 0 0 1px rgba(var(--cl-accent), 0.25) !important;
  }
  .sa-product-card:hover .sa-product-card-media img, .sa-categories-item:hover img { scale: 1.04; }
  .sa-product-card:hover .sa-product-card-price { color: rgb(var(--cl-accent)); }
}
.sa-product-card:focus-visible { border-color: rgb(var(--cl-accent)) !important; }
.sa-product-card-price { transition: color 0.3s; }

/* Product page */
.sa-product-gallery, .sa-product-gallery img, .sa-product-gallery .splide__slide { border-radius: var(--radius-card) !important; overflow: hidden; }

/* ---------- Shard stage ---------- */
.av-stage { position: relative; }
.av-stage__sticky {
  position: sticky; top: 0; height: 100svh; overflow: clip; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--av-gutter);
  padding: var(--av-header) var(--av-gutter) 0; max-width: var(--container-max); margin-inline: auto;
}
.av-stage__glow { position: absolute; inset: 0; background: radial-gradient(55% 55% at 72% 50%, rgba(var(--cl-accent), 0.12), transparent 70%); }
.av-stage__art { grid-column: 6 / 12; align-self: center; position: relative; }
.av-shards { width: 100%; height: auto; overflow: visible; max-height: 62svh; }
.av-shards__edge { fill: none; stroke: rgba(var(--cl-t-primary), 0.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.av-stage__clock { position: absolute; left: 0; top: 0; display: grid; gap: 0.3rem; }
.av-clock { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.5rem); line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--av-ink); transition: color 0.4s; }
.av-clock.is-done { color: rgb(var(--cl-accent)); }
.av-stage__copy { position: relative; margin-top: -100svh; z-index: 2; max-width: var(--container-max); margin-inline: auto; }
.av-stage__block { min-height: 78svh; display: grid; align-content: center; padding-inline: var(--av-gutter); }
.av-stage__block:last-child { min-height: 100svh; }
.av-stage__block--hero { min-height: 100svh; }
.av-stage__inner { width: min(100%, 38rem); }
.av-stage__title { font-size: clamp(3rem, 1rem + 6.4vw, 8.5rem); margin: 0.75rem 0 0 -0.04em; color: var(--av-ink); }
.av-stage__lede { margin-top: calc(var(--av-u) * 2.5); max-width: 30rem; color: var(--av-muted); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); line-height: 1.35; }
.av-stage__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: calc(var(--av-u) * 3.5); }
.av-stage__trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: calc(var(--av-u) * 3.5); font-size: 0.875rem; color: var(--av-muted); }
.av-stage__trust b { color: var(--av-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.av-step__n { display: flex; align-items: center; gap: 0.75rem; }
.av-step__n::before { content: ''; width: 2.2rem; height: 2px; background: rgb(var(--cl-accent)); }
.av-step__title { font-size: clamp(3.2rem, 1rem + 8vw, 10rem); margin: calc(var(--av-u) * 1.5) 0 0 -0.04em; color: var(--av-ink); }
.av-step__text { margin-top: calc(var(--av-u) * 2); max-width: 27rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.4rem); line-height: 1.35; color: var(--av-muted); }
@media (max-width: 860px) {
  .av-stage__art { grid-column: 1 / -1; align-self: start; margin-top: calc(var(--av-u) * 2); }
  .av-shards { max-height: 26svh; width: 76%; margin-inline: auto 0; }
  .av-stage__clock { top: 0; left: 0; }
  .av-clock { font-size: 1.9rem; }
  .av-stage__block--hero .av-label { display: none; }
  .av-stage__glow { background: radial-gradient(90% 40% at 50% 24%, rgba(var(--cl-accent), 0.14), transparent 70%); }
  .av-stage__block { min-height: 72svh; align-content: start; padding-top: 44svh; padding-bottom: 0; }
  .av-stage__block:last-child { min-height: 100svh; }
  .av-stage__block--hero { min-height: 100svh; align-content: end; padding-top: 0; padding-bottom: calc(var(--av-u) * 4); }
  .av-stage__inner {
    background: linear-gradient(to top, var(--av-bg) 78%, rgba(var(--cl-background), 0));
    padding: calc(var(--av-u) * 6) var(--av-gutter) 0; margin-inline: calc(var(--av-gutter) * -1); width: auto;
  }
  .av-stage__title { font-size: clamp(2.7rem, 12.5vw, 4.4rem); }
  .av-step__title { font-size: clamp(3rem, 17vw, 5rem); }
}

/* ---------- Shelf (index list) ---------- */
.av-shelf { padding-block: calc(var(--av-u) * 6) calc(var(--av-u) * 5); }
.av-shelf__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--av-gutter); }
.av-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.av-tab {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 2.75rem; padding: 0 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--av-line); font-weight: 600; font-size: 0.875rem; color: var(--av-ink);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.av-tab::before { content: ''; position: absolute; inset: 0 -40%; z-index: -1; background: var(--av-raise-2); transform: skewX(-30deg); translate: -101% 0; transition: translate 0.55s var(--av-ease); }
.av-tab .av-num { color: var(--av-muted); font-weight: 500; }
.av-tab[aria-selected='true'] { background: var(--av-ink); color: var(--av-bg); border-color: var(--av-ink); }
.av-tab[aria-selected='true'] .av-num { color: #4b515c; }
@media (hover: hover) {
  .av-tab:not([aria-selected='true']):hover { border-color: rgb(var(--cl-accent)); }
  .av-tab:not([aria-selected='true']):hover::before { translate: 0 0; }
}
.av-tab:focus-visible::before { translate: 0 0; }
.av-index { margin-top: calc(var(--av-u) * 5); border-top: 1px solid var(--av-line); }
.av-index__row { border-bottom: 1px solid var(--av-line); }
.av-index__row a {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 5rem minmax(0, 1fr) 9rem 7rem 1.4rem; gap: var(--av-gutter);
  padding-block: calc(var(--av-u) * 1.5); color: var(--av-ink);
}
.av-index__thumb { display: block; width: 5rem; aspect-ratio: 16 / 9; object-fit: cover; background: var(--av-raise); border-radius: 6px; }
.av-index__title { font-size: clamp(1.6rem, 1rem + 2.2vw, 3.25rem); transition: translate 0.55s var(--av-ease); }
.av-index__meta { font-size: 0.875rem; color: var(--av-muted); }
.av-index__price { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; transition: color 0.3s; white-space: nowrap; }
.av-plus { opacity: 0.6; }
.av-low { color: rgb(var(--cl-accent)); }
.av-out { color: rgb(var(--cl-error)); }
.av-index__go { width: 1.4rem; height: 1.4rem; justify-self: end; transition: translate 0.5s var(--av-ease), color 0.3s; }
.av-index__row a::before {
  content: ''; position: absolute; left: calc(5rem + var(--av-gutter)); top: 50%; width: 0.8rem; height: 1.6rem; translate: 0 -50%;
  background: var(--av-grad); clip-path: polygon(0 0, 100% 0, 42% 100%, 0 100%);
  scale: 0 1; transform-origin: left; transition: scale 0.45s var(--av-ease);
}
@media (hover: hover) {
  .av-index__row a:hover .av-index__title { translate: 1.5rem 0; }
  .av-index__row a:hover::before { scale: 1 1; }
  .av-index__row a:hover .av-index__price, .av-index__row a:hover .av-index__go { color: rgb(var(--cl-accent)); }
  .av-index__row a:hover .av-index__go { translate: 0.3rem -0.3rem; }
}
.av-index__row a:focus-visible { outline-offset: -2px; }
.av-index__row a:focus-visible .av-index__title { translate: 1.5rem 0; }
.av-index__row a:focus-visible::before { scale: 1 1; }
.av-shelf__more { margin-top: calc(var(--av-u) * 4); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.av-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(16rem, 24vw, 26rem); aspect-ratio: 16 / 9; translate: -50% -118%;
  opacity: 0; visibility: hidden; background: var(--av-raise);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.75);
}
.av-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .av-preview { display: none; } }
@media (max-width: 760px) {
  .av-index__row a { grid-template-columns: 4.5rem minmax(0, 1fr) auto; row-gap: 0.1rem; column-gap: 1rem; }
  .av-index__thumb { grid-row: 1 / span 2; width: 4.5rem; }
  .av-index__meta { grid-column: 2; grid-row: 2; font-size: 0.8125rem; }
  .av-index__price { grid-column: 3; grid-row: 1 / span 2; font-size: 1.05rem; }
  .av-index__go, .av-index__row a::before { display: none; }
  .av-index__title { font-size: 1.45rem; }
}

/* ---------- Statement ---------- */
.av-access { padding-block: calc(var(--av-u) * 7) calc(var(--av-u) * 9); }
.av-access__statement { grid-column: 1 / span 10; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; color: var(--av-ink); }
.av-access__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gutter); margin-top: calc(var(--av-u) * 7); }
.av-access__item { border-top: 2px solid var(--av-ink); padding-top: calc(var(--av-u) * 1.5); }
.av-access__item:nth-child(2) { margin-top: calc(var(--av-u) * 4); }
.av-access__item:nth-child(3) { margin-top: calc(var(--av-u) * 8); border-top-color: rgb(var(--cl-accent)); }
.av-access__item h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem); font-weight: 700; line-height: 1.25; color: var(--av-ink); }
.av-access__item p { margin-top: 0.4rem; color: var(--av-muted); }
@media (max-width: 760px) {
  .av-access__statement { grid-column: 1 / -1; }
  .av-access__list { grid-template-columns: 1fr; }
  .av-access__item:nth-child(n) { margin-top: 0; }
}

/* ---------- Proof ---------- */
.av-proof { background: var(--av-raise); padding-block: calc(var(--av-u) * 12); }
.av-proof__label { margin-bottom: calc(var(--av-u) * 4); }
.av-proof__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gutter); }
.av-fact { border-left: 1px solid var(--av-line); padding-left: var(--av-gutter); }
.av-fact:first-child { border-left: 0; padding-left: 0; }
.av-fact__n { font-size: clamp(3.4rem, 1rem + 8vw, 9rem); color: var(--av-ink); font-variant-numeric: tabular-nums; }
.av-fact__n .mk { color: rgb(var(--cl-accent)); background: none; }
.av-fact__l { margin-top: 0.6rem; color: var(--av-muted); max-width: 18rem; }
.av-proof__log { margin-top: calc(var(--av-u) * 8); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gutter); }
.av-proof__log > div { grid-column: 1 / span 4; }
.av-proof__log h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem); font-weight: 700; color: var(--av-ink); }
.av-proof__log > div p { margin-top: 0.5rem; }
.av-proof__log > div a { margin-top: 1rem; display: inline-block; color: var(--av-ink); }
.av-proof__log ul { grid-column: 6 / -1; border-top: 1px solid var(--av-line); }
.av-proof__log li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--av-line); font-size: 0.875rem; align-items: baseline; }
.av-proof__item { display: grid; gap: 0.15rem; min-width: 0; }
.av-proof__msg { color: var(--av-ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.av-stars { letter-spacing: 0.08em; color: rgba(var(--cl-t-primary), 0.25); white-space: nowrap; }
.av-stars .on { color: rgb(var(--cl-accent)); }
@media (max-width: 760px) {
  .av-proof__facts { grid-template-columns: 1fr; }
  .av-fact, .av-fact:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--av-line); padding-top: var(--av-u); }
  .av-proof__log > div, .av-proof__log ul { grid-column: 1 / -1; }
  .av-proof__log li { grid-template-columns: 1fr auto; }
  .av-proof__log li > .av-muted:first-child { grid-column: 1 / -1; }
}


/* ---------- Reveals (only with JS and motion allowed) ---------- */
html.av-motion .av-rise { opacity: 0; translate: 0 2.2rem; transition: opacity 0.9s var(--av-ease), translate 1.1s var(--av-ease); transition-delay: var(--av-d, 0s); }
html.av-motion .av-rise.is-in { opacity: 1; translate: 0 0; }

/* ---------- Page transition: the new page cuts in along the 60° line ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: av-hold 0.7s both; }
  ::view-transition-new(root) { animation: av-cut-in 0.75s cubic-bezier(0.87, 0, 0.13, 1) both; }
}
@keyframes av-hold { to { opacity: 0.6; } }
/* The leading edge leans like the logo's cut: its top sits 58vh right of its bottom (60°). */
@keyframes av-cut-in {
  from { clip-path: polygon(calc(100% + 58vh) 0, 200% 0, 200% 100%, 100% 100%); }
  to   { clip-path: polygon(0 0, 200% 0, 200% 100%, -58vh 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .av-index__title, .av-tab::before, .sa-btn::before, .av-btn::before { transition: none !important; }
}

/* ---------- Accessibility and touch targets ---------- */
.av-skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.7em 1.1em;
  background: rgb(var(--cl-accent)); color: rgb(var(--cl-on-accent)); font-weight: 700;
  translate: 0 -300%;
}
.av-skip:focus-visible { translate: 0 0; }
#av-main:focus { outline: none; }
.sa-footer-link, .sa-breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- FAQ: ruled rows in the site's type, full width ---------- */
.sa-faq .sa-faq-items { gap: 0 !important; border-top: 1px solid var(--av-line); }
.sa-faq .sa-faq-item { border: 0 !important; border-bottom: 1px solid var(--av-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.sa-faq .sa-faq-item > button { padding: 1.35rem 0 !important; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem); font-weight: 600; transition: color 0.3s, translate 0.5s var(--av-ease); }
@media (hover: hover) { .sa-faq .sa-faq-item > button:hover { color: rgb(var(--cl-accent)); translate: 0.5rem 0; } }
.sa-faq .sa-faq-item > button:focus-visible { color: rgb(var(--cl-accent)); }
.sa-faq .faq-panel-inner > * { padding-inline: 0 !important; font-size: 1rem; max-width: 46rem; }

/* ---------- Small primary controls ---------- */
.av-tabline { background: linear-gradient(rgb(var(--cl-accent)) 0 0) left bottom / 0% 2px no-repeat; transition: background-size 0.45s var(--av-ease), color 0.3s !important; }
@media (hover: hover) { .av-tabline:hover { background-size: 100% 2px; } }
.av-icon-btn svg { transition: translate 0.4s var(--av-ease), rotate 0.4s var(--av-ease); }
@media (hover: hover) { .av-icon-btn:hover { color: rgb(var(--cl-accent)) !important; } .av-icon-btn:hover svg { rotate: -12deg; translate: 0 -1px; } }

/* ---------- The full Avalon mark before inner page titles ---------- */
.sa-tpl-products h1.sa-section-title::before, .sa-tpl-product h1::before {
  content: ''; display: inline-block; width: 0.95em; height: 0.75em; margin-right: 0.25em; vertical-align: -0.02em;
  background: var(--av-logo) center / contain no-repeat;
}

/* Card titles speak in the display voice too. */
.sa-product-card-title { font-variation-settings: 'wdth' 72; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0; font-size: 1.15rem; line-height: 1.05; }
@media (max-width: 860px) { .av-stage__inner { background: none !important; margin-inline: 0 !important; padding-inline: 0 !important; width: 100% !important; } }

/* Phone: the shards sit on a ground-coloured band above the copy, so step text slides
   under the art instead of across it. */
@media (max-width: 860px) {
  .av-stage__sticky { z-index: 3; background: linear-gradient(to bottom, var(--av-bg) 0, var(--av-bg) 40svh, rgba(var(--cl-background), 0) 47svh); }
}





/* =====================================================================
   STORE HERO v3: title row + game strips. Static, any number of games,
   covers shown whole at 16:9, labels under the photo, never on it.
   ===================================================================== */
.av-hero { position: relative; overflow: clip; padding: calc(var(--av-u) * 3.5) 0 calc(var(--av-u) * 5); }
.av-hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(45% 45% at 70% 40%, rgba(var(--cl-accent), 0.12), transparent 70%);
}
.av-hero__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }

.av-chip {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  background: rgba(var(--cl-accent), 0.12); color: rgb(var(--cl-accent));
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 0.6rem) 0, 100% 100%, 0 100%);
}
.av-chip svg { width: 1.15rem; height: auto; }
.av-hero__title { margin: calc(var(--av-u) * 1.5) 0 0 -0.04em; font-size: clamp(2.6rem, 1rem + 4.2vw, 5.4rem); color: var(--av-ink); }
.av-hero__title .av-accent { display: block; }
.av-hero__lede { max-width: 32rem; color: var(--av-muted); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.45; }

.av-search {
  display: flex; align-items: stretch; margin-top: calc(var(--av-u) * 2.5); height: 3.3rem;
  border-bottom: 2px solid rgba(var(--cl-t-primary), 0.22); transition: border-color 0.3s;
}
.av-search:focus-within { border-bottom-color: rgb(var(--cl-accent)); }
.av-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--av-ink); font-size: 1.02rem; padding: 0 0.25rem; }
.av-search input::placeholder { color: var(--av-muted); }
.av-search input::-webkit-search-cancel-button { display: none; }
.av-search__go {
  position: relative; isolation: isolate; overflow: clip; flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0.35rem 0; padding: 0 0.9rem 0 1.1rem; font-weight: 700; font-size: 0.875rem; color: var(--av-ink);
  clip-path: polygon(0.55rem 0, 100% 0, 100% 100%, 0 100%); background: rgba(var(--cl-t-primary), 0.07); transition: color 0.3s;
}
.av-search__go::before { content: ''; position: absolute; inset: 0 -40%; z-index: -1; background: rgb(var(--cl-accent)); transform: skewX(-30deg); translate: -101% 0; transition: translate 0.55s var(--av-ease); }
.av-search__go svg { width: 0.95rem; height: 0.95rem; transition: translate 0.4s var(--av-ease); }
@media (hover: hover) { .av-search__go:hover { color: rgb(var(--cl-on-accent)); } .av-search__go:hover::before { translate: 0 0; } .av-search__go:hover svg { translate: 0.2rem 0; } }
.av-search__go:focus-visible { color: rgb(var(--cl-on-accent)); }
.av-search__go:focus-visible::before { translate: 0 0; }
.av-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: calc(var(--av-u) * 2.5); }
/* The icon keeps its width before Font Awesome loads. Without it the Discord button grew when the
   icon font arrived, wrapped to a new row on phones and pushed the game strips down. */
.av-hero__ctas .fa-discord { font-size: 1.05em; display: inline-block; width: 1.25em; text-align: center; }
.av-hero__trust { font-size: 0.875rem; color: var(--av-muted); }
.av-hero__trust b { color: var(--av-ink); font-weight: 600; }
.av-stars--sm { color: rgb(var(--cl-accent)); letter-spacing: 0.05em; font-size: 0.8rem; }

/* Game strips */
.av-strips-wrap { margin-top: calc(var(--av-u) * 3.5); }
.av-strips { --media-h: clamp(14rem, 21vw, 19rem); --open-w: calc(var(--media-h) * 16 / 9); --closed-min: 4.75rem;
  display: flex; gap: 0.75rem; }
.av-strips__item { flex: 1 1 0; min-width: var(--closed-min); container-type: inline-size; transition: flex 0.75s var(--av-ease); }
.av-strips__item.is-open { flex: 0 0 min(var(--open-w), calc(100% - (var(--n) - 1) * (var(--closed-min) + 0.75rem))); }
.av-gs {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--radius-card); border: 1px solid var(--av-line); background: var(--av-raise); color: var(--av-ink);
  transition: border-color 0.4s, box-shadow 0.6s var(--av-ease);
}
.av-gs__media { position: relative; display: block; height: var(--media-h); overflow: hidden; background: var(--av-raise-2); }
/* The image is always laid out at its open 16:9 size and right-aligned, so a strip shows a slice
   and opening it reveals the whole cover with no resize jump and no cropping. */
.av-gs__media img { position: absolute; top: 0; right: 0; height: 100%; width: var(--open-w); max-width: none; object-fit: cover; transition: scale 1s var(--av-ease), filter 0.6s; filter: saturate(0.75) brightness(0.62); }
.av-gs__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 9, 12, 0.85), rgba(8, 9, 12, 0.1) 60%); transition: opacity 0.5s; }
.av-gs__spine {
  position: absolute; left: 50%; bottom: 1.1rem; z-index: 1; white-space: nowrap;
  font-size: 1.35rem; color: #fff; writing-mode: vertical-rl; rotate: 180deg; translate: -50% 0;
  transition: opacity 0.35s;
}
.av-strips__item.is-open .av-gs__media img { filter: none; }
.av-strips__item.is-open .av-gs__media::after, .av-strips__item.is-open .av-gs__spine { opacity: 0; }
.av-strips__item.is-open .av-gs { border-color: rgba(var(--cl-accent), 0.5); }
/* The full Avalon mark marks the open game. */
.av-gs__media::before {
  content: ''; position: absolute; left: 1rem; top: 1rem; z-index: 2; width: 2.1rem; height: 1.65rem;
  background: var(--av-logo) center / contain no-repeat; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  opacity: 0; translate: -0.4rem 0.6rem; transition: opacity 0.4s, translate 0.6s var(--av-ease);
}
.av-strips__item.is-open .av-gs__media::before { opacity: 1; translate: 0 0; }

.av-gs__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.85rem 0.9rem 0.9rem 1rem; border-top: 1px solid var(--av-line); min-height: 4.4rem; }
.av-gs__text { display: grid; gap: 0.15rem; min-width: 0; }
.av-gs__name { font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.55rem); line-height: 0.95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-gs__meta { font-size: 0.8125rem; color: var(--av-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-gs__go {
  position: relative; isolation: isolate; overflow: clip; flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: rgba(var(--cl-t-primary), 0.07); color: var(--av-ink);
  clip-path: polygon(0 0, calc(100% - 0.55rem) 0, 100% 0.95rem, 100% 100%, 0 100%); transition: color 0.3s;
}
.av-gs__go::before { content: ''; position: absolute; inset: 0 -45%; z-index: -1; background: rgb(var(--cl-accent)); transform: skewX(-30deg); translate: -101% 0; transition: translate 0.55s var(--av-ease); }
.av-gs__go svg { width: 1rem; height: 1rem; transition: translate 0.45s var(--av-ease); }
.av-strips__item.is-open .av-gs__go { color: rgb(var(--cl-on-accent)); }
.av-strips__item.is-open .av-gs__go::before { translate: 0 0; }
@media (hover: hover) { .av-strips__item.is-open .av-gs:hover .av-gs__go svg { translate: 0.15rem -0.15rem; } .av-strips__item.is-open .av-gs:hover .av-gs__media img { scale: 1.03; } }
.av-gs:focus-visible { outline-offset: 3px; }
/* Narrow strips keep only the name in the bar. */
@container (max-width: 15rem) { .av-gs__from { display: none; } .av-gs__name { font-size: 1.15rem; } }
@container (max-width: 10rem) {
  .av-gs__go { display: none; }
  .av-gs__bar { padding-inline: 0.75rem; }
  .av-gs__name { font-size: 1rem; }
}

/* Three-step strip */
.av-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: calc(var(--av-u) * 4); border-top: 1px solid var(--av-line); border-bottom: 1px solid var(--av-line); }
.av-strip__item { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.15rem; padding: 1.15rem 1.25rem 1.15rem 0; }
.av-strip__item + .av-strip__item { padding-left: 1.25rem; border-left: 1px solid var(--av-line); }
.av-strip__n { grid-row: span 2; font-weight: 800; font-variation-settings: 'wdth' 68; font-size: 1.6rem; line-height: 1; color: rgb(var(--cl-accent)); }
.av-strip__t { font-weight: 700; color: var(--av-ink); }
.av-strip__d { font-size: 0.875rem; color: var(--av-muted); }
/* step icons: live dot, lock, check. Visible at rest; they act when their step runs. */
.av-strip__t { display: inline-flex; align-items: center; gap: 0.5rem; }
.av-strip__i { display: inline-flex; width: 0.9rem; height: 0.9rem; color: rgb(var(--cl-accent)); }
.av-strip__i svg { width: 100%; height: 100%; overflow: visible; }
.av-strip__i--live { align-items: center; justify-content: center; }
.av-strip__i--live i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(var(--cl-accent), 0.6); }
.av-shackle { transition: translate 0.45s cubic-bezier(.3, 1.4, .5, 1); }
.av-strip__i--check path { stroke-dasharray: 20; stroke-dashoffset: 0; }

/* Running order (JS adds .is-running): an orange line fills the top of each step in turn,
   the running step lights up, then all three hold as delivered and it starts over.
   Time-driven, never scroll; paused off screen and while pointed at. */
.av-strip.is-running .av-strip__item { position: relative; transition: opacity 0.5s ease; opacity: 0.45; }
.av-strip.is-running .av-strip__item.is-on,
.av-strip.is-running .av-strip__item.is-done,
.av-strip.is-running.is-complete .av-strip__item { opacity: 1; }
.av-strip.is-running:not(.is-complete) .av-strip__item.is-done { opacity: 0.75; }
.av-strip.is-running .av-strip__item::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: rgb(var(--cl-accent)); transform: scaleX(0); transform-origin: left; }
.av-strip.is-running .av-strip__item.is-on::before { animation: av-flow-fill var(--av-flow-step, 3.2s) linear forwards; }
.av-strip.is-running .av-strip__item.is-done::before,
.av-strip.is-running.is-complete .av-strip__item::before { transform: scaleX(1); }
.av-strip.is-running:hover .av-strip__item::before,
.av-strip.is-paused .av-strip__item::before { animation-play-state: paused; }
.av-strip.is-running .av-strip__n { transition: translate 0.4s cubic-bezier(.3, 1.4, .5, 1), text-shadow 0.4s ease; }
.av-strip.is-running .is-on .av-strip__n { translate: 0 -3px; text-shadow: 0 0 18px rgba(var(--cl-accent), 0.55); }
.av-strip.is-running .av-strip__d { transition: color 0.4s ease; }
.av-strip.is-running .is-on .av-strip__d { color: var(--av-ink); }
.av-strip.is-running .is-on .av-strip__i--live i { animation: av-flow-ping 1.1s ease-out infinite; }
.av-strip.is-running .av-strip__i--lock .av-shackle { translate: 0 -1.6px; }
.av-strip.is-running .is-on .av-strip__i--lock .av-shackle,
.av-strip.is-running .is-done .av-strip__i--lock .av-shackle,
.av-strip.is-running.is-complete .av-strip__i--lock .av-shackle { translate: 0 0; }
.av-strip.is-running .av-strip__i--check path { stroke-dashoffset: 20; }
.av-strip.is-running.is-complete .av-strip__i--check path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.45s ease-out; }
@keyframes av-flow-fill { to { transform: scaleX(1); } }
@keyframes av-flow-ping { 0% { box-shadow: 0 0 0 0 rgba(var(--cl-accent), 0.6); } 100% { box-shadow: 0 0 0 0.55rem rgba(var(--cl-accent), 0); } }

@media (max-width: 900px) {
  .av-hero__top { grid-template-columns: 1fr; align-items: start; }
}
/* Phones and small tablets: a swipe row of whole cards, any number of games. */
@media (max-width: 760px) {
  .av-hero { padding-top: calc(var(--av-u) * 3); }
  .av-hero__title { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .av-strips-wrap { margin-inline: calc(var(--av-gutter) * -1); }
  .av-strips { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--av-gutter) 0.5rem; scrollbar-width: none; }
  .av-strips::-webkit-scrollbar { display: none; }
  .av-strips__item, .av-strips__item.is-open { flex: 0 0 82%; scroll-snap-align: start; scroll-margin-left: var(--av-gutter); transition: none; }
  .av-gs__media { height: auto; aspect-ratio: 16 / 9; }
  .av-gs__media img { position: static; width: 100%; height: 100%; translate: none; filter: none; }
  .av-gs__media::after, .av-gs__spine { display: none; }
  .av-gs__media::before { opacity: 1; translate: 0 0; }
  .av-gs__go { color: rgb(var(--cl-on-accent)); }
  .av-gs__go::before { translate: 0 0; }
  .av-strip { grid-template-columns: 1fr; }
  .av-strip__item, .av-strip__item + .av-strip__item { padding: 1rem 0; border-left: 0; }
  .av-strip__item + .av-strip__item { border-top: 1px solid var(--av-line); }
  .av-hero__ctas .av-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .av-strips__item, .av-gs__media img, .av-gs__go::before, .av-gs__media::before { transition: none; } }

/* =========================================================================
   Shelf as rows: one row of product cards per game (components/shelf.njk)
   ========================================================================= */
.av-rows__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; font-variation-settings: 'wdth' 80; letter-spacing: -0.01em; color: var(--av-ink); margin-bottom: calc(var(--av-u) * 3); }
.av-row + .av-row { margin-top: calc(var(--av-u) * 5); }
.av-row__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.av-row__head h3 { font-size: 1.25rem; font-weight: 800; font-variation-settings: 'wdth' 80; color: var(--av-ink); }
.av-row__tools { display: flex; align-items: center; gap: 0.9rem; }
.av-row__all { font-size: 0.875rem; font-weight: 700; color: var(--av-muted); white-space: nowrap; transition: color 0.2s; }
.av-row__all span { color: rgb(var(--cl-accent)); }
.av-row__all:hover { color: var(--av-ink); }
.av-row__arrows { display: flex; gap: 0.4rem; }
.av-row__arrows button { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border: 1px solid var(--av-line); border-radius: 9px; color: var(--av-muted); background: transparent; transition: color 0.2s, border-color 0.2s; }
.av-row__arrows button:hover { color: var(--av-ink); border-color: var(--av-muted); }
.av-row__arrows button:disabled { opacity: 0.35; cursor: default; }
.av-row__track { list-style: none; margin: 0 -0.5rem; padding: 0.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1rem) / 4); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0.5rem; scrollbar-width: none; }
.av-row__track::-webkit-scrollbar { display: none; }
.av-row__track > li { scroll-snap-align: start; display: flex; }

.av-pc { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--av-raise); border: 1px solid var(--av-line); border-radius: 14px; overflow: hidden; color: var(--av-ink);
  transform-style: preserve-3d; transition: border-color 0.35s, box-shadow 0.5s var(--av-ease); }
.av-pc img, .av-pc__ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--av-raise-2); }
.av-pc::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 50% at var(--av-mx, 50%) var(--av-my, 0%), rgb(255 255 255 / 0.16), transparent 70%); opacity: var(--av-lit, 0); }
.av-pc__body { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.75rem 0.9rem 0.9rem; flex: 1; }
.av-pc__game { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--av-muted); }
.av-pc__name { font-weight: 800; font-size: 1.05rem; line-height: 1.3; font-variation-settings: 'wdth' 80; }
.av-pc__line { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding: 0.55rem 0 0.75rem; }
.av-pc__price { font-size: 1.35rem; font-weight: 900; font-variation-settings: 'wdth' 72; font-variant-numeric: tabular-nums; }
.av-pc__stock { font-size: 0.8rem; color: var(--av-muted); white-space: nowrap; }
.av-pc__stock.is-low { color: rgb(var(--cl-accent)); font-weight: 700; }
.av-pc__buy { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1rem; font-weight: 800; font-size: 0.875rem;
  background: var(--av-raise-2); color: var(--av-ink); box-shadow: inset 0 0 0 1px var(--av-line); clip-path: var(--av-cut-shape);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.av-pc__buy::after { content: '\2197'; color: rgb(var(--cl-accent)); font-weight: 900; transition: color 0.2s; }
@media (hover: hover) {
  .av-pc:hover { border-color: rgba(var(--cl-accent), 0.55); box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.8), 0 0 0 1px rgba(var(--cl-accent), 0.25); }
  .av-pc:hover .av-pc__buy { background: rgb(var(--cl-accent)); color: rgb(var(--cl-on-accent)); box-shadow: none; }
  .av-pc:hover .av-pc__buy::after { color: rgb(var(--cl-on-accent)); }
}
.av-pc:focus-visible { outline: 2px solid rgb(var(--cl-accent)); outline-offset: 3px; }
.av-pc:focus-visible .av-pc__buy { background: rgb(var(--cl-accent)); color: rgb(var(--cl-on-accent)); }

@media (max-width: 1024px) { .av-row__track { grid-auto-columns: calc((100% - 2 * 1rem) / 3); } }
@media (max-width: 760px) {
  .av-row__track { grid-auto-columns: 46%; gap: 0.75rem; margin-inline: calc(var(--av-gutter) * -1); padding-inline: var(--av-gutter); scroll-padding-inline: var(--av-gutter); }
  .av-row__arrows { display: none; }
}
@media (max-width: 480px) {
  .av-row__track { grid-auto-columns: 70%; }
  .av-pc__name { font-size: 0.98rem; }
  .av-pc__price { font-size: 1.2rem; }
}

/* Hero search suggestions (custom.js, "hero search") */
.av-search { position: relative; z-index: 30; }
.av-suggest { position: absolute; z-index: 40; top: calc(100% + 0.5rem); left: 0; right: 0; padding: 0.4rem; max-height: min(26rem, 60vh); overflow-y: auto;
  background: var(--av-raise); border: 1px solid var(--av-line); border-radius: 14px; box-shadow: 0 28px 60px -24px rgb(0 0 0 / 0.85); }
.av-suggest[hidden] { display: none; }
.av-suggest__item { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 0.8rem; padding: 0.45rem 0.6rem 0.45rem 0.45rem; border-radius: 10px; color: var(--av-ink); }
.av-suggest__item img, .av-suggest__ph { width: 4rem; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; background: var(--av-raise-2); }
.av-suggest__txt { display: flex; flex-direction: column; min-width: 0; }
.av-suggest__name { font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-suggest__name b { color: rgb(var(--cl-accent)); font-weight: 800; }
.av-suggest__game { font-size: 0.78rem; color: var(--av-muted); }
.av-suggest__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.av-suggest__item.is-out { opacity: 0.55; }
.av-suggest__item:hover, .av-suggest__item.is-active { background: var(--av-raise-2); }
.av-suggest__all { display: block; width: 100%; margin-top: 0.3rem; padding: 0.7rem 0.6rem; border: 0; border-top: 1px solid var(--av-line); background: none; text-align: left;
  color: var(--av-muted); font: inherit; font-size: 0.9rem; cursor: pointer; border-radius: 0 0 10px 10px; }
.av-suggest__all b { color: var(--av-ink); }
.av-suggest__all:hover, .av-suggest__all.is-active { background: var(--av-raise-2); color: var(--av-ink); }
@media (max-width: 480px) { .av-suggest__item { grid-template-columns: 3.2rem 1fr auto; gap: 0.6rem; } .av-suggest__item img, .av-suggest__ph { width: 3.2rem; } }

/* Sound effects toggle (assets/av-sfx.js) */
.av-snd[aria-pressed="true"] .av-snd__off, .av-snd[aria-pressed="false"] .av-snd__on { display: none; }
.av-snd[aria-pressed="false"] { opacity: 0.6; }