/* Shop page, soft theme: the same warm charcoal, Bricolage headings, Azeret Mono captions and single ember accent as the
   account page, with a thin ASCII / dither layer behind the content. Loaded after the older shop styles; it re-points their
   --clean-* colour variables first, then restyles the pieces that were built around the old blue/glass look.
   Product pictures stay plain: no dither on content. */

body.shop-soft {
  --bg: #1c1b19;
  --surface: #242220;
  --raised: #2d2b28;
  --field: #151413;
  --text: #ece6dc;
  --dim: #a9a298;
  --line: rgba(var(--text-rgb), 0.1);
  --line-strong: rgba(var(--text-rgb), 0.2);
  --ember: #e3915a;
  --ember-hover: #eca473;
  --ember-ink: #1c1b19;
  --ember-soft: rgba(var(--ember-rgb), 0.14);
  /* channel triplets, for the translucent shades; */
  --bg-rgb: 28, 27, 25;
  --ember-rgb: 227, 145, 90;
  --text-rgb: 236, 230, 220;
  --deep-rgb: 14, 13, 12;
  --f-head: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-ui: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* the older shop stylesheet reads these */
  --clean-text: var(--text);
  --clean-muted: var(--dim);
  --clean-line: var(--line);
  --clean-line-strong: var(--line-strong);
  --clean-surface: var(--surface);
  --clean-accent: var(--ember);
  --clean-accent-strong: var(--ember-hover);
  --clean-pick: var(--ember);
  --clean-owned: #9db5a6;
  scrollbar-color: #4a4640 var(--bg);
  font-synthesis: none;
}

body.shop-soft::before,
body.shop-soft::after {
  display: none !important;
}

/* the shared dark theme also paints a fixed blue glow on the root element */
html:has(body.shop-soft)::before {
  display: none !important;
}

/* The ground colour lives on the root element, and two fixed dither pictures sit between it and the page: contour waves at
   the top right and an ASCII-and-dither sunset tree at the bottom. They are fixed to the screen, so they do not scroll with the content;
   the cards slide over them. (html pseudo-elements, because the shared mobile-nav.js turns body::before into a parallax layer.) */
html:has(body.shop-soft) {
  background-color: var(--ground, #1c1b19) !important;
}

html[data-theme="dark"] body.shop-soft {
  background-color: transparent !important;
  background-image: none !important;
}

html:has(body.shop-soft)::before,
html:has(body.shop-soft)::after,
.soft-tree {
  display: block !important;
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  image-rendering: pixelated;
}

html:has(body.shop-soft)::before {
  top: 0;
  right: 0;
  width: min(100vw, 1040px);
  height: 340px;
  background: var(--art-top, url("/assets/account/account-backdrop.png")) no-repeat right top / 1040px 278px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 42% 100% at 80% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 42% 100% at 80% 0%, #000 25%, transparent 100%);
}

/* when shop-soft.js has added the real element, the pseudo-element steps aside */
html.has-soft-tree:has(body.shop-soft)::after { display: none !important; }

html:has(body.shop-soft)::after,
.soft-tree {
  top: 0;
  left: 0;
  width: 100vw;
  height: 135vh;
  /* a soft diagonal shade darkens the left and top so the art sits quietly; the picture itself is the ASCII / dither tree */
  background:
    linear-gradient(98deg, rgba(var(--bg-rgb, 28, 27, 25), 0.92) 0%, rgba(var(--bg-rgb, 28, 27, 25), 0.55) 38%, rgba(var(--bg-rgb, 28, 27, 25), 0) 74%),
    var(--art-ascii, url("/assets/shop/shop-ascii.png")) center bottom / cover no-repeat;
  image-rendering: auto;
  opacity: 0.34;
  /* shop-soft.js moves the real .soft-tree element up by 35vh over the whole page */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent 92%), linear-gradient(to right, rgba(0,0,0,0) 0, #000 7%, rgba(0,0,0,0.16) 17%, rgba(0,0,0,0.16) 83%, #000 93%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 35%, transparent 92%), linear-gradient(to right, rgba(0,0,0,0) 0, #000 7%, rgba(0,0,0,0.16) 17%, rgba(0,0,0,0.16) 83%, #000 93%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
}

@media (max-width: 720px) {
  html:has(body.shop-soft)::after,
  .soft-tree {
    background-position: 0 0, 64% bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.shop-soft)::after,
  .soft-tree {
    transform: none !important;
  }
}

body.shop-soft ::selection {
  background: var(--ember-soft);
  color: var(--text);
}

/* ---------- page frame and the two ASCII/dither layers ---------- */
body.shop-soft main.shop-clean {
  position: relative;
  isolation: isolate;
  font-family: var(--f-ui) !important;
  color: var(--text);
  caret-color: var(--ember);
}

body.shop-soft main.shop-clean button,
body.shop-soft main.shop-clean input,
body.shop-soft main.shop-clean select {
  font-family: inherit;
}

body.shop-soft main.shop-clean :focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

/* ---------- Explore / Shop switch ---------- */
body.shop-soft .mode-switch {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  box-shadow: none;
}

body.shop-soft .mode-switch a {
  border-radius: 9px;
  color: var(--dim);
  font: 500 14px/1 var(--f-ui);
}

body.shop-soft .mode-switch a[aria-current="page"] {
  background: var(--raised);
  color: var(--text);
}

/* ---------- bundle banner: soft frame, the artwork itself is left alone ---------- */
body.shop-soft .shop-bundle-banner {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}

body.shop-soft .shop-bundle-price strong {
  color: var(--ember);
}

body.shop-soft .shop-bundle-each {
  color: var(--text);
  font: 500 13px/1.4 var(--f-ui);
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

body.shop-soft .shop-bundle-cta {
  border-radius: 10px;
  background: var(--ember);
  color: var(--ember-ink);
  font: 600 15px/1 var(--f-ui);
  box-shadow: none;
}

body.shop-soft .shop-bundle-cta:hover {
  background: var(--ember-hover);
}

body.shop-soft .shop-bundle-compat li {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.7);
}

/* ---------- social strip, compatibility note ---------- */
body.shop-soft .flash-social-strip,
body.shop-soft .shop-compat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}

body.shop-soft .fss-copy strong {
  font: 600 16px/1.3 var(--f-head);
}

body.shop-soft .fss-copy span,
body.shop-soft .shop-compat-msg {
  color: var(--dim);
}

body.shop-soft .fss-copy a {
  color: var(--ember);
}

body.shop-soft .fss-link,
body.shop-soft .shop-compat-btn {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent !important;
  color: var(--text);
  box-shadow: none;
  font: 500 13px/1 var(--f-ui);
}

body.shop-soft .fss-link:hover,
body.shop-soft .shop-compat-btn:hover {
  background: var(--raised) !important;
}

body.shop-soft .shop-compat-btn[aria-pressed="true"] {
  border-color: rgba(var(--ember-rgb, 227, 145, 90), 0.5);
  background: var(--ember-soft) !important;
  color: var(--ember);
}

body.shop-soft .shop-compat-msg b,
body.shop-soft .shop-compat-msg strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- search, filters, sort ---------- */
body.shop-soft .store-search-bar,
body.shop-soft .shop-sort select,
body.shop-soft .shop-hide-owned {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  box-shadow: none;
}

body.shop-soft .shop-sort > span {
  color: var(--dim);
  font: 400 12px/1 var(--f-mono);
}

body.shop-soft .store-search-bar:focus-within {
  border-color: var(--ember);
}

body.shop-soft .search-shortcut-hint {
  border-color: var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  font-family: var(--f-mono);
}

/* ---------- section titles ---------- */
body.shop-soft .shop-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font: 600 26px/1.15 var(--f-head) !important;
  letter-spacing: -0.01em;
  color: var(--text);
}

body.shop-soft .shop-section-glyph {
  display: none;
}

body.shop-soft .shop-section-title small {
  padding: 0;
  border: 0;
  background: none;
  color: var(--dim);
  font: 400 13px/1 var(--f-mono);
}

body.shop-soft .shop-section-title small::before {
  content: "(";
}

body.shop-soft .shop-section-title small::after {
  content: ")";
}

body.shop-soft .shop-section-title::after {
  content: ".:-=+*#%@";
  color: var(--dim);
  opacity: 0.55;
  font: 400 12px/1 var(--f-mono);
  letter-spacing: 0.22em;
}

body.shop-soft .shop-section-toggle {
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: 500 14px/1 var(--f-ui);
  box-shadow: none;
  backdrop-filter: none;
}

body.shop-soft .shop-section.is-collapsed .shop-section-toggle {
  box-shadow: none;
  backdrop-filter: none;
}

body.shop-soft .shop-section-toggle:hover {
  border-color: rgba(var(--text-rgb, 236, 230, 220), 0.3);
  background: var(--raised);
}

/* ---------- product tiles: picture first, then name and price (no text on the art) ---------- */
body.shop-soft .shop-tile {
  aspect-ratio: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
  transition: border-color 140ms ease-out;
}

body.shop-soft .shop-tile::after {
  display: none;
}

body.shop-soft .shop-tile:hover,
body.shop-soft .shop-tile:focus-within {
  transform: none;
  box-shadow: none;
  border-color: var(--line-strong);
}

body.shop-soft .shop-tile-card {
  justify-content: flex-start;
  flex: 0 0 auto;
}

body.shop-soft .shop-tile-art {
  position: relative;
  inset: auto;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background-color: var(--raised);
}

body.shop-soft .shop-tile:hover .shop-tile-art img {
  transform: scale(1.03);
}

body.shop-soft .shop-tile-name {
  padding: 12px 14px 0;
  color: var(--text);
  text-shadow: none;
  font: 600 16px/1.25 var(--f-head) !important;
  letter-spacing: -0.01em;
}

body.shop-soft .shop-tile-more {
  display: none !important;
}

body.shop-soft .shop-tile-compat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.72);
}

body.shop-soft .shop-tile-pick {
  border: 1px solid rgba(var(--ember-rgb, 227, 145, 90), 0.5);
  border-radius: 8px;
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.72);
  color: var(--ember);
}

body.shop-soft .shop-tile-buy {
  padding: 8px 12px 12px 14px;
}

body.shop-soft .shop-tile-price b {
  color: var(--text);
  font: 600 15px/1.3 var(--f-ui);
  font-variant-numeric: tabular-nums;
}

body.shop-soft .shop-tile-price em {
  color: var(--dim);
  font: 400 12px/1.4 var(--f-mono);
  letter-spacing: 0;
}

body.shop-soft .shop-tile-price s {
  color: var(--dim);
}

body.shop-soft .shop-tile-quick-cart,
body.shop-soft .shop-clean .shop-tile-cart {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--dim);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.shop-soft .shop-tile-quick-cart:hover,
body.shop-soft .shop-clean .shop-tile-cart:hover {
  background: var(--raised);
  color: var(--text);
}

/* ---------- category cards, reviews, promo, footer ---------- */
body.shop-soft .shop-cat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}

body.shop-soft .shop-cat-card-name {
  font: 600 16px/1.25 var(--f-head);
}

body.shop-soft .shop-cat-card-desc,
body.shop-soft .shop-suggestions-hint {
  color: var(--dim);
}

body.shop-soft .flash-reviews-title,
body.shop-soft .shop-explore-promo h2,
body.shop-soft .shop-suggestions-title {
  font: 600 26px/1.15 var(--f-head) !important;
  letter-spacing: -0.01em;
}

body.shop-soft .flash-star-icon {
  color: var(--ember);
  fill: var(--ember);
}

body.shop-soft .shop-explore-promo {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}

body.shop-soft .shop-explore-promo p {
  color: var(--dim);
}

body.shop-soft .shop-explore-btn {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: 500 14px/1 var(--f-ui);
}

body.shop-soft .shop-explore-btn:hover {
  background: var(--raised);
}

body.shop-soft .shop-socials a {
  border-color: var(--line);
  color: var(--dim);
}

body.shop-soft .shop-socials a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  body.shop-soft * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- reviews ---------- */
body.shop-soft .flash-review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}

body.shop-soft .flash-review-quote {
  color: var(--text);
  font: 400 16px/1.5 var(--f-ui);
}

body.shop-soft .flash-review-quote svg,
body.shop-soft .flash-review-quote::before {
  color: var(--ember);
}

body.shop-soft .flash-review-author {
  color: var(--dim);
  font: 400 12px/1.4 var(--f-mono);
}

body.shop-soft .flash-reviews-nav-btn {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
}

body.shop-soft .flash-reviews-nav-btn:hover {
  background: var(--raised);
}

body.shop-soft .flash-reviews-dot {
  background: rgba(var(--text-rgb, 236, 230, 220), 0.25);
}

body.shop-soft .flash-reviews-dot.is-active,
body.shop-soft .flash-reviews-dot[aria-current="true"] {
  background: var(--ember);
}

body.shop-soft .flash-reviews-section a,
body.shop-soft .flash-reviews-section button:not(.flash-reviews-nav-btn):not(.flash-reviews-dot) {
  border-radius: 10px;
  background: var(--ember);
  color: var(--ember-ink);
  font: 600 14px/1 var(--f-ui);
  box-shadow: none;
}

/* ---------- Explore promo and channel row ---------- */
body.shop-soft .shop-explore-btn {
  color: var(--text) !important;
}

body.shop-soft .shop-socials {
  background: transparent;
  border: 0;
}

body.shop-soft .flash-quote-mark {
  color: var(--ember) !important;
}

body.shop-soft footer.shop-socials {
  background: transparent !important;
}

body.shop-soft .mode-switch a[aria-current="page"] {
  background: var(--raised) !important;
  color: var(--text) !important;
}

@media (max-width: 720px) {
  /* narrow tiles: keep price and cart on one row (the mono unit line is the wide part) */
  body.shop-soft .shop-tile-price em {
    font-family: var(--f-ui);
    font-size: 12px;
  }

  body.shop-soft .shop-tile-buy {
    flex-wrap: nowrap;
    gap: 6px;
  }

  body.shop-soft .shop-tile-quick-cart {
    width: 34px;
    height: 34px;
  }
}

/* surfaces stay solid so the page texture only shows between them */
body.shop-soft .shop-tile,
body.shop-soft .flash-social-strip,
body.shop-soft .shop-compat,
body.shop-soft .flash-review-card,
body.shop-soft .shop-explore-promo,
body.shop-soft .shop-cat-card {
  background-color: var(--surface, #242220) !important;
}

/* ---------- product tiles, final: flat plates in a bento grid (first item of each section is large) ---------- */
/* Shared by all three card directions: flat plates (no card fill, border or big radius), no compat badges or star overlay,
   name first, a bracketed mono price tag, the cart button only on hover/focus, pictures that dissolve into the page by a dither edge. */
body.shop-soft .shop-tile,
body.shop-soft .shop-tile:hover,
body.shop-soft .shop-tile:focus-within {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.shop-soft .shop-tile-compat,
body.shop-soft .shop-tile-pick,
body.shop-soft .shop-tile-more {
  display: none !important;
}

body.shop-soft .shop-tile-art {
  position: relative;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  outline: 1px solid var(--line);
  outline-offset: 0;
}

/* dither dissolve along the bottom edge of every picture */
body.shop-soft .shop-tile-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: var(--art-edge, url("/assets/shop/shop-edge.png")) repeat-x left bottom / 64px 12px;
  image-rendering: pixelated;
  pointer-events: none;
}

body.shop-soft .shop-tile-name {
  padding: 14px 0 0;
  font: 600 18px/1.2 var(--f-head) !important;
  letter-spacing: -0.015em;
  white-space: normal;
}

body.shop-soft .shop-tile-buy {
  padding: 8px 0 0;
  gap: 10px;
  align-items: baseline;
}

body.shop-soft .shop-tile-price {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

body.shop-soft .shop-tile-price b {
  color: var(--ember);
  font: 500 13px/1.3 var(--f-mono);
  letter-spacing: 0;
}

body.shop-soft .shop-tile-price b::before { content: "[ "; color: var(--dim); }
body.shop-soft .shop-tile-price b::after { content: " ]"; color: var(--dim); }

body.shop-soft .shop-tile-price em {
  color: var(--dim);
  font: 400 12px/1.3 var(--f-mono);
}

body.shop-soft .shop-tile-price s { color: var(--dim); font: 400 12px/1.3 var(--f-mono); }

body.shop-soft .shop-tile-actions { margin-left: auto; }

body.shop-soft .shop-tile-quick-cart {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ember) !important;
  border-radius: 4px;
  background: transparent !important;
  color: var(--ember) !important;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 140ms ease-out, transform 140ms ease-out;
}

body.shop-soft .shop-tile:hover .shop-tile-quick-cart,
body.shop-soft .shop-tile:focus-within .shop-tile-quick-cart {
  opacity: 1;
  transform: none;
}

body.shop-soft .shop-tile-quick-cart:hover { background: var(--ember) !important; color: var(--ember-ink) !important; }

@media (hover: none) {
  body.shop-soft .shop-tile-quick-cart { opacity: 1; transform: none; }
}

body.shop-soft .shop-tile:hover .shop-tile-art { outline-color: rgba(var(--ember-rgb, 227, 145, 90), 0.55); }
/* C "Bento": the first item of every section is large (2x2) with a big name; the rest sit in a tight four-column grid */
body.shop-soft .shop-tile-grid { gap: 28px 18px; grid-auto-flow: dense; }

body.shop-soft .shop-tile-art { aspect-ratio: 16 / 10; }

body.shop-soft .shop-tile-grid .shop-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-card { flex: 1; display: flex; flex-direction: column; }

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-art {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
  outline-color: rgba(var(--ember-rgb, 227, 145, 90), 0.5);
}

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-name {
  font-size: 30px !important;
  padding-top: 18px;
}

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-price b { font-size: 16px; }

@media (max-width: 720px) {
  body.shop-soft .shop-tile-grid { gap: 22px 12px; }
  body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-name { font-size: 22px !important; padding-top: 12px; }
  body.shop-soft .shop-tile-name { font-size: 16px !important; padding-top: 10px; }
  body.shop-soft .shop-tile-price em { display: block; flex-basis: 100%; }
}

@media (max-width: 720px) {
  /* on two columns the large first tile is one picture on a full row, so it needs its own ratio instead of filling a 2-row cell */
  body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-art {
    flex: none;
    aspect-ratio: 16 / 10;
    width: 100%;
  }
}

/* ---------- device choice: the old Mac / AMD strip and side filters are replaced by one standing line (shop-device.js) ---------- */
body.shop-soft .shop-compat,
body.shop-soft [data-side-filter="mac-compatible"],
body.shop-soft [data-side-filter="amd-compatible"] {
  display: none !important;
}

body.shop-soft .shop-device-bar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: 400 13px/1.4 var(--f-mono);
}

body.shop-soft .sdb-change {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--r-info, var(--ember));
  font: inherit;
  cursor: pointer;
}

body.shop-soft .sdb-change:hover {
  color: var(--r-info-hover, var(--ember-hover));
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.shop-soft .sdb-count {
  margin-left: auto;
  color: var(--dim);
}

/* the social strip: one quiet line, no box */
body.shop-soft .flash-social-strip {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent !important;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- category index: a plain mono row under the toolbar, replacing the pop-over cards ---------- */
body.shop-soft .shop-cat-index {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 10px;
  margin: 18px 0 8px;
  /* ten categories: one line, scrolling sideways (no scrollbar) when the column is narrower than the row */
  overflow-x: auto;
  scrollbar-width: none;
}

body.shop-soft .shop-cat-index::-webkit-scrollbar { display: none; }

body.shop-soft .sci-item {
  appearance: none;
  display: inline-flex;
  align-items: baseline;
  flex: none;
  gap: 5px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--dim);
  white-space: nowrap;
  font: 500 13.5px/1.2 var(--f-ui);
  cursor: pointer;
  transition: color 120ms ease-out, border-color 120ms ease-out;
}

body.shop-soft .sci-item small {
  color: var(--dim);
  font: 400 11px/1 var(--f-mono);
  opacity: 0.8;
}

body.shop-soft .sci-item:hover {
  color: var(--text);
}

body.shop-soft .sci-item.is-active {
  color: var(--text);
  border-bottom-color: var(--ember);
}

/* platform icons are gone from the shop: the device choice replaces them */
body.shop-soft .shop-bundle-compat {
  display: none !important;
}

/* ---------- Library view (index.html#for-you): the same soft look ---------- */
body.shop-soft .for-you-hub {
  position: relative;
}

body.shop-soft .for-you-hero {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 8px 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none !important;
  box-shadow: none;
}

body.shop-soft .for-you-badge {
  display: none;
}

body.shop-soft .for-you-hero-user { flex: 1 1 320px; }

body.shop-soft .for-you-hero-user h1 {
  font: 600 40px/1.1 var(--f-head) !important;
  letter-spacing: -0.015em;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

body.shop-soft .for-you-hero-user p {
  margin-top: 8px;
  color: var(--dim);
  font: 400 15px/1.5 var(--f-ui);
}

body.shop-soft .for-you-hero-stats {
  display: flex;
  gap: 28px;
}

body.shop-soft .for-you-stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none !important;
  box-shadow: none;
}

body.shop-soft .for-you-stat-label {
  color: var(--dim);
  font: 400 11px/1 var(--f-mono);
  letter-spacing: 0.06em;
}

body.shop-soft .for-you-stat-val {
  color: var(--text);
  font: 400 34px/1 var(--f-mono);
  letter-spacing: -0.03em;
}

body.shop-soft .for-you-btn,
body.shop-soft .for-you-btn.primary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ember);
  border-radius: 10px;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 600 14px/1 var(--f-ui);
  text-decoration: none;
  box-shadow: none;
}

body.shop-soft .for-you-btn:hover { background: var(--ember-hover) !important; }

body.shop-soft .for-you-section { margin-top: 44px; }

body.shop-soft .for-you-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.shop-soft .for-you-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font: 600 26px/1.15 var(--f-head) !important;
  letter-spacing: -0.01em;
  color: var(--text);
}

body.shop-soft .for-you-section-glyph { display: none; }

body.shop-soft .for-you-section-title::after {
  content: ".:-=+*#%@";
  color: var(--dim);
  opacity: 0.55;
  font: 400 12px/1 var(--f-mono);
  letter-spacing: 0.22em;
}

body.shop-soft .for-you-view-all {
  color: var(--ember);
  font: 500 13px/1 var(--f-mono);
  text-decoration: none;
}

body.shop-soft .for-you-view-all:hover { text-decoration: underline; text-underline-offset: 3px; }

body.shop-soft .for-you-toolbar { gap: 16px; margin-bottom: 18px; }

body.shop-soft .for-you-search-box,
body.shop-soft .for-you-search-input {
  border-radius: 10px;
  border-color: var(--line-strong);
  background: var(--field) !important;
  color: var(--text);
  box-shadow: none;
}

body.shop-soft .for-you-filter-group { display: flex; gap: 20px; border: 0; background: none; padding: 0; }

body.shop-soft .for-you-filter-btn {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none !important;
  color: var(--dim);
  font: 500 14px/1.2 var(--f-ui);
  box-shadow: none;
}

body.shop-soft .for-you-filter-btn.is-active {
  color: var(--text);
  border-bottom-color: var(--ember);
}

body.shop-soft .for-you-view-toggle {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent !important;
  color: var(--dim);
}

body.shop-soft .for-you-view-toggle.is-active { color: var(--text); border-color: var(--ember); }

/* the library grids are even: no large first tile */
body.shop-soft .for-you-grid .shop-tile:first-child {
  grid-column: auto !important;
  grid-row: auto !important;
  display: flex !important;
}

body.shop-soft .for-you-grid .shop-tile:first-child .shop-tile-art { aspect-ratio: 16 / 10; flex: none; outline-color: var(--line); }
body.shop-soft .for-you-grid .shop-tile:first-child .shop-tile-name { font-size: 18px !important; padding-top: 14px; }
body.shop-soft .for-you-grid .shop-tile:first-child .shop-tile-price b { font-size: 13px; }

/* buy / download buttons inside tiles: quiet outlines */
body.shop-soft .shop-tile-buy a,
body.shop-soft .shop-tile-buy button:not(.shop-tile-quick-cart) {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 500 13px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

body.shop-soft .shop-tile-buy a:hover,
body.shop-soft .shop-tile-buy button:not(.shop-tile-quick-cart):hover {
  background: var(--raised) !important;
}

body.shop-soft .shop-starter-btn,
body.shop-soft .shop-clean .shop-tile-cart.is-download,
body.shop-soft .shop-tile-cart.is-download {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 500 13px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

body.shop-soft .shop-starter-btn:hover,
body.shop-soft .shop-tile-cart.is-download:hover {
  background: var(--raised) !important;
}

body.shop-soft .for-you-grid + *,
body.shop-soft .shop-starter {
  border-color: var(--line);
}

/* the standing device line sticks under the header while you scroll; the floating search bar sits just below it */
body.shop-soft .shop-device-bar {
  position: sticky;
  top: 44px;
  z-index: 40;
  margin: 0 0 14px;
  padding: 11px 0 11px;
  background: var(--bg, #1c1b19);
}

body.shop-soft .store-search-bar.is-floating {
  top: 100px !important;
}

/* ---------- wider page, shelves, opening ---------- */
@media (min-width: 1440px) {
  body.shop-soft main.shop-clean.new-store-overview[data-shop-overview] {
    max-width: min(1320px, calc(100vw - 380px)) !important;
  }

  body.shop-soft .shop-side {
    left: max(24px, calc((100vw - min(1320px, 100vw - 380px)) / 2 - 172px));
    gap: 26px;
  }

  body.shop-soft .shop-side-sections { gap: 15px; }
}

@media (min-width: 1620px) {
  body.shop-soft .shop-tile-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

body.shop-soft .shop-section { margin-top: 64px; }
body.shop-soft .shop-section:first-child { margin-top: 28px; }

/* an ASCII rule opens every shelf after the first */
body.shop-soft .shop-section + .shop-section::before {
  content: ".:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:. .:-=+*#%@@%#*+=-:.";
  display: block;
  height: 14px;
  margin: 0 0 30px;
  overflow: hidden;
  color: var(--dim);
  opacity: 0.28;
  font: 400 12px/14px var(--f-mono);
  letter-spacing: 0.28em;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 55%, transparent 100%);
}

body.shop-soft .shop-section-blurb {
  margin: 6px 0 22px;
  color: var(--dim);
  font: 400 13px/1.5 var(--f-mono);
}

body.shop-soft .shop-section-title { margin-bottom: 0; }

/* shelves are whole: no faded peek row */
body.shop-soft .shop-section.is-collapsed .shop-grid-clip {
  -webkit-mask-image: none;
  mask-image: none;
  padding: 0;
  margin: 0;
}

body.shop-soft .shop-section-toggle,
body.shop-soft .shop-section.is-collapsed .shop-section-toggle {
  display: block;
  margin: 22px 0 0;
  width: auto;
  height: auto;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--ember);
  border-radius: 0;
  background: none !important;
  color: var(--ember);
  font: 500 13px/1.2 var(--f-mono);
  box-shadow: none;
  backdrop-filter: none;
}

body.shop-soft .shop-section-toggle::after { content: "  \2192"; }
body.shop-soft .shop-section-toggle:hover { color: var(--ember-hover); border-bottom-color: var(--ember-hover); }

/* tile caption under the name */
body.shop-soft .shop-tile-cat {
  display: block;
  padding-top: 4px;
  color: var(--dim);
  font: 400 11px/1.3 var(--f-mono);
  letter-spacing: 0.02em;
}

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-cat { font-size: 12px; }

/* the old banner stays in the page (the opening reads its price and video) but is not shown */
body.shop-soft .shop-bundle-banner { display: none !important; }

/* ---------- opening: one line and three moving previews ---------- */
body.shop-soft .shop-opening { margin: 10px 0 30px; }

body.shop-soft .shop-intro {
  margin: 0 0 22px;
  font: 600 clamp(30px, 3.6vw, 48px)/1.08 var(--f-head);
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 18ch;
}

body.shop-soft .shop-intro em {
  font-style: normal;
  color: var(--dim);
}

body.shop-soft .shop-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.shop-soft .shop-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

body.shop-soft .sf-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  outline: 1px solid var(--line);
  background: var(--raised);
}

body.shop-soft .sf-media img,
body.shop-soft .sf-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.shop-soft .sf-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: var(--art-edge, url("/assets/shop/shop-edge.png")) repeat-x left bottom / 64px 12px;
  image-rendering: pixelated;
  pointer-events: none;
}

body.shop-soft .shop-feature:hover .sf-media { outline-color: rgba(var(--ember-rgb, 227, 145, 90), 0.55); }

body.shop-soft .sf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}

body.shop-soft .sf-tag {
  flex-basis: 100%;
  color: var(--dim);
  font: 400 11px/1.3 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.shop-soft .sf-meta strong {
  font: 600 22px/1.2 var(--f-head);
  letter-spacing: -0.015em;
}

body.shop-soft .sf-line {
  margin-left: auto;
  color: var(--dim);
  font: 400 13px/1.3 var(--f-mono);
}

body.shop-soft .sf-line s { opacity: 0.7; }
body.shop-soft .sf-price { color: var(--ember); }

@media (max-width: 900px) {
  body.shop-soft .shop-feature-row { grid-template-columns: 1fr; }
  body.shop-soft .shop-feature:nth-child(n + 3) { display: none; }
}

/* short shelves: an even grid, no large first tile */
body.shop-soft .shop-tile-grid.is-flat .shop-tile:first-child {
  grid-column: auto !important;
  grid-row: auto !important;
  display: flex !important;
}

body.shop-soft .shop-tile-grid.is-flat .shop-tile:first-child .shop-tile-art {
  flex: none;
  aspect-ratio: 16 / 10;
  outline-color: var(--line);
}

body.shop-soft .shop-tile-grid.is-flat .shop-tile:first-child .shop-tile-name { font-size: 18px !important; padding-top: 14px; }
body.shop-soft .shop-tile-grid.is-flat .shop-tile:first-child .shop-tile-price b { font-size: 13px; }
body.shop-soft .shop-tile-grid.is-flat .shop-tile:first-child .shop-tile-cat { font-size: 11px; }

/* ---------- sales pass: hero, badges, price hierarchy, See all, sticky categories ---------- */

/* hero */
body.shop-soft .shop-hero {
  position: relative;
  display: grid;
  margin: 8px 0 30px;
}

body.shop-soft .sh-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease-out, visibility 0s linear 500ms;
}

body.shop-soft .sh-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease-out;
}

body.shop-soft .sh-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(var(--r-tag-rgb, var(--ember-rgb)), 0.14);
  color: var(--r-tag, var(--ember));
  font: 500 11px/1.3 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.shop-soft .sh-name {
  margin: 14px 0 0;
  font: 600 clamp(32px, 3.8vw, 54px)/1.04 var(--f-head) !important;
  letter-spacing: -0.025em;
  color: var(--text);
}

body.shop-soft .sh-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--dim);
  font: 400 15px/1.55 var(--f-ui);
}

body.shop-soft .sh-buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 26px;
}

body.shop-soft .sh-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

body.shop-soft .sh-price .shop-tile-price {
  display: flex;
  align-items: baseline;
  gap: 4px 12px;
  flex-wrap: wrap;
}

body.shop-soft .sh-price .shop-tile-price b {
  font: 700 36px/1 var(--f-ui);
  letter-spacing: -0.02em;
  color: var(--text);
}

body.shop-soft .sh-price .shop-tile-price del { color: var(--dim); font: 400 15px/1 var(--f-mono); }
body.shop-soft .sh-price .shop-tile-price em { color: var(--dim); font: 400 13px/1 var(--f-mono); }

body.shop-soft .sh-save {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--r-sale, var(--text));
  color: var(--r-sale-ink, var(--bg));
  font: 600 12px/1.3 var(--f-ui);
}

body.shop-soft .sh-cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 10px;
  background: var(--ember);
  color: var(--ember-ink);
  font: 700 16px/1 var(--f-ui);
  text-decoration: none;
  transition: background-color 140ms ease-out;
}

body.shop-soft .sh-cta::after { content: "\00a0\2192"; }
body.shop-soft .sh-cta:hover { background: var(--ember-hover); }

body.shop-soft .sh-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  outline: 1px solid var(--line);
  background: var(--raised);
}

body.shop-soft .sh-media img,
body.shop-soft .sh-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.shop-soft .sh-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: var(--art-edge, url("/assets/shop/shop-edge.png")) repeat-x left bottom / 64px 12px;
  image-rendering: pixelated;
  pointer-events: none;
}

body.shop-soft .sh-dots {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

body.shop-soft .sh-dot {
  appearance: none;
  position: relative;
  flex: 1 1 0;
  padding: 10px 0 12px;
  border: 0;
  border-top: 1px solid var(--line-strong);
  background: none;
  color: var(--dim);
  font: 500 12px/1.2 var(--f-mono);
  text-align: left;
  cursor: pointer;
}

body.shop-soft .sh-dot:hover,
body.shop-soft .sh-dot.is-active { color: var(--text); }

body.shop-soft .sh-dot i {
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--ember);
}

body.shop-soft .sh-dot.is-active i { animation: sh-progress 30s linear forwards; }
body.shop-soft .shop-hero.is-paused .sh-dot.is-active i,
body.shop-soft .shop-hero.is-offscreen .sh-dot.is-active i { animation-play-state: paused; }

@keyframes sh-progress { to { width: 100%; } }

@media (max-width: 820px) {
  body.shop-soft .sh-slide { grid-template-columns: 1fr; gap: 18px; }
  body.shop-soft .sh-media { order: -1; }
  body.shop-soft .sh-dots { gap: 8px; }
  body.shop-soft .sh-dot span { display: none; }
  body.shop-soft .sh-dot { padding: 6px 0; }
}

/* badges on the picture: New (ember), a saving (light) */
body.shop-soft .shop-tile-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

body.shop-soft .shop-tile-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font: 700 11px/1.3 var(--f-ui);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.shop-soft .shop-tile-badge.is-new { background: var(--ember); color: var(--ember-ink); }
body.shop-soft .shop-tile-badge.is-sale { background: var(--r-sale, var(--text)); color: var(--r-sale-ink, var(--bg)); }

/* the card: picture, name, then the price as the strongest line */
body.shop-soft .shop-tile-cat { display: none !important; }

body.shop-soft .shop-tile-name { font-weight: 600; }

body.shop-soft .shop-tile-price b,
body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-price b {
  color: var(--text);
  font: 700 18px/1.2 var(--f-ui);
  letter-spacing: -0.01em;
}

body.shop-soft .shop-tile-price b::before,
body.shop-soft .shop-tile-price b::after { content: none; }

body.shop-soft .shop-tile-price em {
  color: var(--dim);
  font: 400 12px/1.2 var(--f-mono);
}

body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-price b { font-size: 22px; }

body.shop-soft .shop-tile-price del {
  color: var(--dim);
  font: 400 12px/1.2 var(--f-mono);
  opacity: 1 !important;
}

body.shop-soft .shop-tile-price .price-save-badge { display: none; }

/* free: a quiet green tag, so it reads as an entry point and not as a price */
body.shop-soft .shop-tile-price.is-free b,
body.shop-soft .shop-tile-grid .shop-tile:first-child .shop-tile-price.is-free b {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(var(--sage-rgb, 157, 181, 166), 0.45);
  border-radius: 4px;
  background: rgba(var(--sage-rgb, 157, 181, 166), 0.1);
  color: var(--sage, #9db5a6);
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* owned */
body.shop-soft .shop-tile-owned {
  border: 1px solid rgba(var(--sage-rgb, 157, 181, 166), 0.45);
  border-radius: 6px;
  background: transparent;
  color: var(--sage, #9db5a6);
  font: 500 12px/1 var(--f-ui);
}

/* See all: obvious at the head of a shelf and as a full-width row at the foot */
body.shop-soft .shop-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

body.shop-soft .shop-section-seeall {
  appearance: none;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ember);
  background: none;
  color: var(--ember);
  font: 500 13px/1.2 var(--f-mono);
  cursor: pointer;
  white-space: nowrap;
}

body.shop-soft .shop-section-seeall::after { content: "  \2192"; }
body.shop-soft .shop-section-seeall:hover { color: var(--ember-hover); border-bottom-color: var(--ember-hover); }

body.shop-soft .shop-section-toggle,
body.shop-soft .shop-section.is-collapsed .shop-section-toggle {
  display: block;
  width: 100%;
  margin: 26px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--ember);
  border-radius: 10px;
  background: var(--ember-soft) !important;
  color: var(--ember);
  font: 600 16px/1.2 var(--f-ui);
  text-align: center;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}

body.shop-soft .shop-section-toggle::after { content: "  \2192"; }

body.shop-soft .shop-section-toggle:hover {
  background: var(--ember) !important;
  color: var(--ember-ink);
  border-color: var(--ember);
}

/* categories stay in reach while scrolling; the Tags drop-down repeats them */
body.shop-soft .shop-cat-index {
  position: sticky;
  top: 86px;
  z-index: 35;
  margin: 10px 0 0;
  padding: 10px 0 8px;
  background: var(--bg, #1c1b19);
}

body.shop-soft .store-search-bar.is-floating { top: 136px !important; }
body.shop-soft .shop-sort:has(#shopTagSelect) { display: none; }

/* the old opening is gone */
body.shop-soft .shop-opening { display: none; }

/* the section rail sits above the sticky strips, which now only span the content column and so no longer cover it */
body.shop-soft .shop-side { z-index: 60; }

/* ---------- site chrome in the soft look: header, search bar, cart, mobile bottom bar ---------- */

/* header */
html body.shop-soft header.flow-nav {
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.94) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.shop-soft header.flow-nav .flow-brand strong {
  font: 600 20px/1 var(--f-head) !important;
  letter-spacing: -0.02em;
  color: var(--text) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html body.shop-soft header.flow-nav .brand-scribble {
  color: var(--ember) !important;
  opacity: 0.9;
}

html body.shop-soft header.flow-nav nav a {
  color: var(--dim) !important;
  font: 500 14px/1 var(--f-ui) !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 8px;
  transition: color 120ms ease-out;
}

html body.shop-soft header.flow-nav nav a:hover { color: var(--text) !important; }

html body.shop-soft header.flow-nav nav a[aria-current="page"] {
  color: var(--text) !important;
  background: none !important;
  box-shadow: inset 0 -2px 0 var(--ember) !important;
  border-radius: 0;
}

html body.shop-soft .flow-cart-btn,
html body.shop-soft .flow-menu-toggle,
html body.shop-soft .theme-toggle-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

html body.shop-soft .flow-cart-btn:hover,
html body.shop-soft .flow-menu-toggle:hover { background: var(--raised) !important; }

html body.shop-soft .flow-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 700 11px/18px var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .flow-nav-signin-btn {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 600 14px/38px var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .flow-nav-signin-btn:hover { background: var(--raised) !important; }

/* search bar */
html body.shop-soft .store-search-bar,
html body.shop-soft .shop-clean .shop-toolbar .store-search-bar {
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  background: var(--field) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body.shop-soft .store-search-bar.is-floating {
  background: var(--surface) !important;
  border-color: rgba(var(--text-rgb, 236, 230, 220), 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

html body.shop-soft .store-search-bar:focus-within,
html body.shop-soft .store-search-bar.is-expanded,
html body.shop-soft .store-search-bar.has-tags,
html body.shop-soft .shop-clean .shop-toolbar .store-search-bar:focus-within {
  border-color: var(--ember) !important;
  box-shadow: none !important;
}

html body.shop-soft .store-search-bar input,
html body.shop-soft .store-search-bar input::placeholder {
  color: var(--text) !important;
  font: 400 15px/1.2 var(--f-ui) !important;
}

html body.shop-soft .store-search-bar > svg,
html body.shop-soft .search-ghost { color: var(--dim) !important; }

html body.shop-soft .search-ghost-text { font: 400 15px/1.2 var(--f-ui) !important; }

html body.shop-soft .search-tag,
html body.shop-soft .search-tags-list > * {
  border: 1px solid rgba(var(--ember-rgb, 227, 145, 90), 0.5) !important;
  border-radius: 6px !important;
  background: var(--ember-soft) !important;
  color: var(--ember) !important;
  font: 600 12px/1.2 var(--f-ui) !important;
}

html body.shop-soft .search-shortcut-hint {
  border: 1px solid var(--line-strong) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--dim) !important;
  font: 400 11px/1 var(--f-mono) !important;
}

/* cart drawer */
html body.shop-soft .flash-cart-backdrop { background: rgba(var(--deep-rgb, 14, 13, 12), 0.7) !important; backdrop-filter: none !important; }

html body.shop-soft .flash-cart-drawer {
  background: var(--surface) !important;
  border-left: 1px solid var(--line-strong) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5) !important;
  color: var(--text);
  font-family: var(--f-ui);
}

html body.shop-soft .cart-drawer-head {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line) !important;
  background: none !important;
}

html body.shop-soft .cart-drawer-head h2 {
  margin: 0;
  font: 600 26px/1.1 var(--f-head) !important;
  letter-spacing: -0.015em;
  color: var(--text) !important;
}

html body.shop-soft .cart-drawer-head small,
html body.shop-soft .cart-item-info small,
html body.shop-soft .cart-or-credits,
html body.shop-soft .cart-refund-notice {
  color: var(--dim) !important;
  font: 400 12px/1.4 var(--f-mono) !important;
}

html body.shop-soft .cart-drawer-close,
html body.shop-soft .cart-item-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--dim) !important;
}

html body.shop-soft .cart-drawer-close:hover,
html body.shop-soft .cart-item-remove:hover { color: var(--text) !important; background: var(--raised) !important; }

html body.shop-soft .cart-drawer-item {
  padding: 14px 22px;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: none !important;
}

html body.shop-soft .cart-item-art,
html body.shop-soft .cart-addon-art { border-radius: 4px !important; outline: 1px solid var(--line); }

html body.shop-soft .cart-item-info strong,
html body.shop-soft .cart-addon-info strong { font: 600 15px/1.3 var(--f-head) !important; color: var(--text) !important; }

html body.shop-soft .cart-usd,
html body.shop-soft .cart-usd-total {
  color: var(--text) !important;
  font: 700 17px/1.2 var(--f-ui) !important;
}

html body.shop-soft .cart-addons { padding: 18px 22px; border: 0 !important; background: none !important; }

html body.shop-soft .cart-addons-title {
  color: var(--dim) !important;
  font: 400 12px/1.3 var(--f-mono) !important;
  letter-spacing: 0.04em;
}

html body.shop-soft .cart-addon-row {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: none !important;
}

html body.shop-soft .cart-addon-add {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 600 13px/1 var(--f-ui) !important;
}

html body.shop-soft .cart-addon-add:hover { background: var(--raised) !important; }

html body.shop-soft .cart-drawer-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line) !important;
  background: var(--surface) !important;
}

html body.shop-soft .cart-drawer-total { color: var(--text) !important; }

html body.shop-soft .cart-checkout-btn,
html body.shop-soft .cart-pay-usd {
  min-height: 50px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 700 16px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .cart-checkout-btn:hover { background: var(--ember-hover) !important; }

html body.shop-soft .cart-credits-btn {
  min-height: 46px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 600 14px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .cart-credits-btn:hover { background: var(--raised) !important; }

html body.shop-soft .cart-clear-btn {
  border: 0 !important;
  background: none !important;
  color: var(--dim) !important;
  font: 500 13px/1 var(--f-mono) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* the little "Added to cart" pill and toast */
html body.shop-soft .flash-cart-floating-widget .cart-floating-pill,
html body.shop-soft .flash-cart-toast {
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  font: 500 13px/1.3 var(--f-ui) !important;
}

html body.shop-soft .flash-cart-floating-widget .cart-floating-pill svg { color: var(--ember) !important; }

/* announcement toast */
html body.shop-soft .flash-announce {
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

html body.shop-soft .flash-announce-pill {
  border-radius: 4px !important;
  background: var(--ember-soft) !important;
  color: var(--ember) !important;
  font: 500 11px/1.3 var(--f-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

html body.shop-soft .flash-announce strong { font: 600 16px/1.2 var(--f-head) !important; color: var(--text) !important; }
html body.shop-soft .flash-announce small { color: var(--dim) !important; font: 400 13px/1.4 var(--f-ui) !important; }

/* mobile bottom bar: flat, full width, one ember underline on the active tab */
html body.shop-soft .mobile-tabbar {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important;
  border: 0 !important;
  border-top: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.97) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.shop-soft .mobile-tab {
  position: relative;
  gap: 4px;
  color: var(--dim) !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  font: 500 11px/1 var(--f-ui) !important;
  letter-spacing: 0.01em;
}

html body.shop-soft .mobile-tab.is-active {
  color: var(--text) !important;
  background: none !important;
}

html body.shop-soft .mobile-tab.is-active::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28%;
  right: 28%;
  height: 2px;
  background: var(--ember);
}

html body.shop-soft .mobile-tab.is-active svg { color: var(--ember) !important; stroke: var(--ember) !important; }

/* the floating cart panel that opens from the "Added to cart" pill */
html body.shop-soft .cart-floating-panel,
html body.shop-soft .flash-cart-floating-widget.is-expanded .cart-floating-panel {
  border: 1px solid var(--line-strong) !important;
  border-radius: 14px !important;
  background: var(--surface) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5) !important;
  color: var(--text) !important;
  font-family: var(--f-ui) !important;
}

html body.shop-soft .cart-floating-header,
html body.shop-soft .cart-floating-footer { background: none !important; border-color: var(--line) !important; }

html body.shop-soft .cart-floating-title-box,
html body.shop-soft .cart-floating-pill-title { color: var(--text) !important; font: 600 15px/1.2 var(--f-head) !important; }

html body.shop-soft .cart-floating-count {
  border-radius: 4px !important;
  background: var(--ember-soft) !important;
  color: var(--ember) !important;
  font: 500 11px/1.4 var(--f-mono) !important;
}

html body.shop-soft .cart-floating-item-row {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: none !important;
}

html body.shop-soft .cart-floating-item-name { color: var(--text) !important; font: 600 14px/1.3 var(--f-head) !important; }
html body.shop-soft .cart-floating-item-type { color: var(--dim) !important; font: 400 11px/1.3 var(--f-mono) !important; text-transform: none !important; }
html body.shop-soft .cart-floating-item-price { color: var(--text) !important; font: 700 15px/1.2 var(--f-ui) !important; }
html body.shop-soft .cart-floating-thumb { border-radius: 4px !important; }

html body.shop-soft .cart-floating-clear-btn,
html body.shop-soft .cart-floating-collapse-btn,
html body.shop-soft .cart-floating-remove-btn {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--dim) !important;
  font: 500 12px/1 var(--f-mono) !important;
}

html body.shop-soft .cart-floating-checkout-btn {
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 700 15px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .cart-floating-credits-btn {
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 600 14px/1 var(--f-ui) !important;
  box-shadow: none !important;
}

html body.shop-soft .cart-floating-refund-notice { color: var(--dim) !important; font: 400 11px/1.4 var(--f-mono) !important; }
html body.shop-soft .cart-floating-pill-total { color: var(--text) !important; font: 700 14px/1 var(--f-ui) !important; }
html body.shop-soft .cart-floating-pill-icon { color: var(--ember) !important; }

/* phone menu panel */
@media (max-width: 900px) {
  html body.shop-soft header.flow-nav nav,
  html body.shop-soft header.flow-nav.is-menu-open nav {
    border: 1px solid var(--line-strong) !important;
    border-radius: 12px !important;
    background: var(--surface) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
  }

  html body.shop-soft header.flow-nav nav a { font-size: 16px !important; padding: 12px 0; }

  html body.shop-soft header.flow-nav nav a[aria-current="page"] {
    box-shadow: none !important;
    color: var(--ember) !important;
    background: none !important;
    border-bottom: 0 !important;
  }

  html body.shop-soft .mobile-tabbar { background: var(--bg, #1c1b19) !important; }
}

/* ---------- "Browse by category" under the search bar: flat plates, no navy box ---------- */
html body.shop-soft .shop-search-suggestions {
  margin: 14px 0 8px;
  padding: 18px 0 6px;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body.shop-soft .shop-suggestions-header { margin-bottom: 14px; }

html body.shop-soft .shop-suggestions-title {
  font: 600 22px/1.15 var(--f-head) !important;
  letter-spacing: -0.015em;
  color: var(--text) !important;
}

html body.shop-soft .shop-suggestions-hint {
  color: var(--dim) !important;
  font: 400 12px/1.3 var(--f-mono) !important;
}

html body.shop-soft .shop-suggestions-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

html body.shop-soft .shop-suggestions-arrow:hover:not(:disabled) { background: var(--raised) !important; }
html body.shop-soft .shop-suggestions-arrow:disabled { opacity: 0.35; }

html body.shop-soft .shop-suggestions-grid { gap: 14px; }

html body.shop-soft .shop-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  transform: none !important;
}

html body.shop-soft .shop-cat-card-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 4px;
  outline: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
  transition: outline-color 140ms ease-out, filter 140ms ease-out;
}

html body.shop-soft .shop-cat-card:hover .shop-cat-card-art {
  outline-color: rgba(var(--ember-rgb, 227, 145, 90), 0.55);
  filter: none;
}

html body.shop-soft .shop-cat-card.is-active .shop-cat-card-art {
  outline: 2px solid var(--ember);
  filter: none;
}

html body.shop-soft .shop-cat-card-count {
  position: absolute !important;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border: 0 !important;
  border-radius: 4px !important;
  background: rgba(var(--bg-rgb, 28, 27, 25), 0.82) !important;
  color: var(--text) !important;
  font: 500 11px/1.4 var(--f-mono) !important;
  backdrop-filter: none !important;
}

html body.shop-soft .shop-cat-card-body {
  position: static !important;
  padding: 10px 0 0 !important;
  background: none !important;
}

html body.shop-soft .shop-cat-card-name {
  display: block;
  color: var(--text) !important;
  font: 600 16px/1.25 var(--f-head) !important;
  letter-spacing: -0.01em;
  text-shadow: none !important;
}

html body.shop-soft .shop-cat-card.is-active .shop-cat-card-name { color: var(--ember) !important; }

html body.shop-soft .shop-cat-card-desc {
  display: block;
  margin-top: 2px;
  color: var(--dim) !important;
  font: 400 12px/1.4 var(--f-mono) !important;
  text-shadow: none !important;
}

html body.shop-soft .store-search-bar:focus-within > svg,
html body.shop-soft .store-search-bar.is-expanded > svg { color: var(--ember) !important; }

html body.shop-soft .shop-cat-card {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

html body.shop-soft .shop-cat-card::before,
html body.shop-soft .shop-cat-card::after { content: none !important; display: none !important; }

html body.shop-soft .shop-cat-card.is-active::after {
  content: "\2713" !important;
  display: grid !important;
  place-items: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 700 13px/1 var(--f-ui);
  box-shadow: none !important;
  border: 0 !important;
}

/* the chosen tag in the search bar, and its remove button */
html body.shop-soft .search-tag-remove,
html body.shop-soft .clear-search-btn { color: var(--text) !important; background: transparent !important; }
html body.shop-soft .search-tag-remove:hover,
html body.shop-soft .clear-search-btn:hover { color: var(--ember) !important; }

/* a chosen category: one big section named after it, with room under its title */
html body.shop-soft #section-tagged .shop-section-head { margin-bottom: 18px; }
html body.shop-soft #section-tagged .shop-section-title { font-size: 34px !important; }
html body.shop-soft .shop-cat-card.is-active::after { z-index: 3; }

/* ---------- no category panel; shelf names in a serif so they read as headings, not as cards ---------- */
html body.shop-soft .shop-search-suggestions,
html body.shop-soft #shopSearchSuggestions { display: none !important; }

body.shop-soft { --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif; }

body.shop-soft .shop-section-title,
body.shop-soft #section-tagged .shop-section-title {
  font: var(--title-weight, 400) var(--title-size, clamp(40px, 4.4vw, 58px))/1 var(--f-serif) !important;
  letter-spacing: var(--title-track, -0.01em);
  color: var(--text);
}

body.shop-soft .shop-section-title::after { content: none !important; display: none !important; }

body.shop-soft .shop-section-title small {
  align-self: flex-end;
  padding-bottom: 6px;
  color: var(--dim);
  font: 400 13px/1 var(--f-mono);
}

body.shop-soft .shop-section-blurb { margin: 10px 0 24px; }
body.shop-soft .shop-section-head { align-items: flex-end; }
body.shop-soft .shop-section-seeall { margin-bottom: 8px; }

/* ---------- category page (shop.html?tag= / ?group= / ?type=): only that category, plus a way back ---------- */
body.shop-soft.is-category-page .shop-hero,
body.shop-soft.is-category-page .shop-toolbar,
body.shop-soft.is-category-page .shop-mode-row,
body.shop-soft.is-category-page .flash-social-strip,
body.shop-soft.is-category-page .shop-compat,
body.shop-soft.is-category-page .flash-reviews-section,
body.shop-soft.is-category-page .shop-explore-promo,
body.shop-soft.is-category-page .store-search-bar { display: none !important; }

body.shop-soft.is-category-page .shop-section { margin-top: 22px; }
body.shop-soft.is-category-page .shop-section::before { display: none !important; }

body.shop-soft .shop-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text) !important;
  font: 600 14px/1 var(--f-ui);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}

body.shop-soft .shop-back:hover {
  background: var(--raised);
  border-color: rgba(var(--ember-rgb, 227, 145, 90), 0.6);
}

/* ---------- navigation: one sticky strip (the category row), the device line scrolls away, no floating search ---------- */
@media (min-width: 901px) {
  body.shop-soft .shop-cat-index { top: 44px; }
}

body.shop-soft .shop-cat-index { align-items: center; }
body.shop-soft .sci-item[hidden] { display: none; }

body.shop-soft .sci-search {
  appearance: none;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: color 120ms ease-out, border-color 120ms ease-out;
}

body.shop-soft .sci-search:hover,
body.shop-soft .sci-search:focus-visible { color: var(--text); border-color: var(--ember); outline: none; }

/* the Explore / Shop switch repeats the header on desktop */
@media (min-width: 901px) {
  body.shop-soft .shop-side .mode-switch { display: none; }
}

/* The shop's own stylesheet (shop-clean.css) paints a blue glow on html::before with a more specific selector, which hid the contour-wave
   texture at the top right on this page. Same rule again, specific enough to win. */
html:not([data-theme="bright"]):has(body.shop-soft)::before {
  inset: auto;
  top: 0;
  right: 0;
  width: min(100vw, 1040px);
  height: 340px;
  background: var(--art-top, url("/assets/account/account-backdrop.png")) no-repeat right top / 1040px 278px;
  background-size: 1040px 278px;
  background-repeat: no-repeat;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 42% 100% at 80% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 42% 100% at 80% 0%, #000 25%, transparent 100%);
}

/* ---------- the device line: a pill pinned to the bottom of the screen on desktop, a strip under the header on phones ---------- */
@media (min-width: 901px) {
  body.shop-soft .shop-device-bar {
    position: fixed;
    top: auto;
    right: auto;
    left: 50%;
    bottom: 18px;
    height: auto;
    z-index: 60;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 48px);
    margin: 0;
    padding: 10px 18px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(var(--bg-rgb, 28, 27, 25), 0.97);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7);
  }

  body.shop-soft .shop-device-bar .sdb-count {
    padding-left: 14px;
    border-left: 1px solid var(--line-strong);
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  /* overflow-x: hidden on the page turns it into a scroll container that never scrolls, which stops sticky from working; clip does not */
  html body.shop-soft { overflow-x: clip !important; overflow-y: visible !important; }

  body.shop-soft .shop-device-bar {
    position: sticky;
    top: 54px;
    z-index: 45;
    margin: 0 0 8px;
    padding: 10px 0;
    background: var(--bg, #1c1b19);
    border-bottom: 1px solid var(--line);
  }

  /* the category row scrolls with the page; the search bar is the sticky piece on phones */
  body.shop-soft .shop-cat-index { position: static; }
  body.shop-soft .shop-device-bar { flex-wrap: nowrap; gap: 10px; font-size: 12px; white-space: nowrap; }
  body.shop-soft .shop-device-bar .sdb-count { display: none; }
  body.shop-soft .store-search-bar.is-floating { top: 98px !important; }
}

/* ---------- sort menu ---------- */
body.shop-soft .shop-sortmenu { position: relative; flex: none; }

body.shop-soft .ssm-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  font: 500 14px/1 var(--f-ui);
  cursor: pointer;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}

body.shop-soft .ssm-prefix { color: var(--dim); font: 400 12px/1 var(--f-mono); }
body.shop-soft .ssm-btn:hover,
body.shop-soft .ssm-btn[aria-expanded="true"] { border-color: var(--ember); background: var(--raised); }
body.shop-soft .ssm-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
body.shop-soft .shop-sortmenu.is-custom .ssm-btn { border-color: rgba(var(--ember-rgb, 227, 145, 90), 0.6); }
body.shop-soft .shop-sortmenu.is-custom .ssm-value { color: var(--ember); }
body.shop-soft .ssm-chev { color: var(--dim); transition: transform 140ms ease-out; }
body.shop-soft .ssm-btn[aria-expanded="true"] .ssm-chev { transform: rotate(180deg); }

body.shop-soft .ssm-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  min-width: 236px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.75);
}

body.shop-soft .ssm-list[hidden] { display: none; }

body.shop-soft .ssm-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--dim);
  font: 500 14px/1.2 var(--f-ui);
  cursor: pointer;
}

body.shop-soft .ssm-list li:hover,
body.shop-soft .ssm-list li:focus { background: var(--raised); color: var(--text); outline: none; }
body.shop-soft .ssm-list li[aria-selected="true"] { color: var(--text); }
body.shop-soft .ssm-list li[aria-selected="true"] > svg:first-child { color: var(--ember); }
body.shop-soft .ssm-check { margin-left: auto; color: var(--ember); opacity: 0; }
body.shop-soft .ssm-list li[aria-selected="true"] .ssm-check { opacity: 1; }

/* the Latest entry in the category row */
body.shop-soft .sci-latest { color: var(--ember); }
body.shop-soft .sci-latest::before {
  content: "";
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

/* ---------- scrolling cost: keep each picture's repaint inside its own box, and let the browser skip the layers it cannot see ---------- */
body.shop-soft .shop-tile-art { contain: layout paint style; }
body.shop-soft .shop-tile { contain: layout style; }
body.shop-soft .shop-tile-art img { transform: translateZ(0); }

/* the Legacy switch lives in the left rail on wide screens; below that it sits in the toolbar */
@media (min-width: 1440px) {
  body.shop-soft .shop-legacy-top { display: none !important; }
}

/* legacy items are never listed on phones, so the switch is not offered there */
@media (max-width: 900px) {
  body.shop-soft .shop-legacy-top { display: none !important; }
}

/* ---------- Editor's picks: the flagship fuses get a violet frame, a serif name and a small spark ---------- */
body.shop-soft { --pick: #b4a3ff; --pick-rgb: 169, 149, 255; }

body.shop-soft .shop-tile.is-pick .shop-tile-art {
  outline: 1px solid rgba(var(--pick-rgb), 0.55);
  box-shadow: 0 0 0 5px rgba(var(--pick-rgb), 0.06), 0 22px 52px -24px rgba(var(--pick-rgb), 0.6);
  transition: outline-color 160ms ease-out, box-shadow 220ms ease-out;
}
/* a thin inner line, like the mat of a framed print */
body.shop-soft .shop-tile.is-pick .shop-tile-art::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 1;
  border: 1px solid rgba(var(--pick-rgb), 0.26);
  border-radius: 2px;
  pointer-events: none;
}
body.shop-soft .shop-tile.is-pick:hover .shop-tile-art,
body.shop-soft .shop-tile.is-pick:focus-within .shop-tile-art {
  outline-color: rgba(var(--pick-rgb), 0.95);
  box-shadow: 0 0 0 5px rgba(var(--pick-rgb), 0.1), 0 26px 58px -22px rgba(var(--pick-rgb), 0.75);
}

/* the name: the shop's serif, italic, in violet, with a spark after it */
body.shop-soft .shop-tile.is-pick .shop-tile-name {
  color: var(--pick) !important;
  font-family: var(--f-serif) !important;
  font-style: italic;
  font-weight: 400 !important;
  font-size: 24px !important;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
body.shop-soft .shop-tile-spark { display: none; }
body.shop-soft .shop-tile.is-pick .shop-tile-spark {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 7px;
  vertical-align: 0.12em;
  color: var(--pick);
  filter: drop-shadow(0 0 6px rgba(var(--pick-rgb), 0.7));
}
body.shop-soft .shop-tile.is-pick .shop-tile-price b { color: var(--pick); }

body.shop-soft .shop-section.is-pick .shop-section-title { color: var(--pick); }
body.shop-soft .shop-section.is-pick .shop-section-glyph { color: var(--pick); }
body.shop-soft .shop-side-filter.is-pick svg { color: var(--pick); }

@media (max-width: 900px) {
  body.shop-soft .shop-tile.is-pick .shop-tile-name { font-size: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.shop-soft .shop-tile.is-pick .shop-tile-art { transition: none; }
}
