/* The soft look for the older pages (legal pages, support, redeem, 404 and the product / bundle / download pages).
   Loaded after shop-soft.css, which supplies the palette variables, the header, the ground and the drifting tree; this file re-skins
   the content those pages already have. Scoped to body.soft-page so nothing else changes. */

body.soft-page {
  background: transparent !important;
  color: var(--text);
  font-family: var(--f-ui);
}

body.soft-page h1,
body.soft-page h2,
body.soft-page h3 { font-family: var(--f-head); letter-spacing: -0.015em; color: var(--text); }

/* the header on these pages: no social icons or theme button, the same two tabs as the shop */
html body.soft-page header.flow-nav .flow-social-links,
html body.soft-page header.flow-nav .theme-toggle-btn { display: none !important; }

/* ---------- buttons: ember fill, quiet outline ---------- */
body.soft-page .button.primary,
body.soft-page .primary-action,
body.soft-page a.primary-action,
body.soft-page .support-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 600 15px/1 var(--f-ui);
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 120ms ease-out;
}

body.soft-page .button.primary:hover,
body.soft-page .primary-action:hover,
body.soft-page .support-discord-btn:hover { background: var(--ember-hover) !important; color: var(--ember-ink) !important; }

body.soft-page .support-copy-btn,
body.soft-page .promotion-secondary-link,
body.soft-page .button:not(.primary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--text) !important;
  font: 500 14px/1 var(--f-ui);
  text-decoration: none;
  cursor: pointer;
}

body.soft-page .support-copy-btn:hover,
body.soft-page .promotion-secondary-link:hover,
body.soft-page .button:not(.primary):hover { border-color: var(--ember) !important; }

/* ---------- small mono labels ---------- */
body.soft-page .flow-kicker,
body.soft-page .eyebrow,
body.soft-page .support-tag-main {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ember);
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Terms, Privacy, Refunds: one readable column, sections divided by a line ---------- */
body.soft-page .flow-legal {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

body.soft-page .flow-legal .flow-page-hero { margin: 0 0 36px; padding: 0; border: 0; background: none; }
body.soft-page .flow-legal .flow-page-hero h1 { margin: 0 0 16px; font: 400 clamp(56px, 8vw, 96px)/0.98 var(--f-serif); letter-spacing: -0.01em; }
body.soft-page .flow-legal .flow-page-hero p:not(.flow-kicker) { max-width: 560px; margin: 0; color: var(--dim); font: 400 14px/1.6 var(--f-mono); }

body.soft-page .flow-legal .flow-panel {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.soft-page .flow-legal .flow-panel h2 { margin: 0 0 12px; font: 600 22px/1.25 var(--f-head); }
body.soft-page .flow-legal .flow-panel p,
body.soft-page .flow-legal .flow-panel li { color: rgba(var(--text-rgb), 0.78); font: 400 15.5px/1.75 var(--f-ui); }
body.soft-page .flow-legal .flow-panel p + p { margin-top: 12px; }
body.soft-page .flow-legal .flow-panel ul { margin: 10px 0 0; padding-left: 20px; }

/* ---------- Support ---------- */
body.soft-page .support-shell {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

body.soft-page .support-header { margin: 0 0 32px; text-align: left; }
body.soft-page .support-header h1 { margin: 0 0 14px; font: 400 clamp(48px, 7vw, 84px)/1 var(--f-serif); letter-spacing: -0.01em; }
body.soft-page .support-header p { margin: 0; max-width: 540px; color: var(--dim); font: 400 14px/1.6 var(--f-mono); }

body.soft-page .support-card {
  margin: 0 0 16px;
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface) !important;
  box-shadow: none !important;
}

body.soft-page .support-card.is-discord { border-color: rgba(var(--ember-rgb), 0.45); }
body.soft-page .support-card h2,
body.soft-page .support-card h3 { margin: 0 0 10px; font: 600 22px/1.2 var(--f-head); }
body.soft-page .support-card p { margin: 0 0 18px; color: rgba(var(--text-rgb), 0.78); font: 400 15px/1.65 var(--f-ui); }
body.soft-page .support-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
body.soft-page .support-brand-group { display: flex; align-items: center; gap: 14px; }
body.soft-page .support-discord-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--raised) !important; }
body.soft-page .support-discord-badge svg { width: 22px; height: 22px; fill: var(--ember); }
body.soft-page .support-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
body.soft-page .support-discord-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Redeem (community drop) ---------- */
body.soft-page .promotion-page { position: relative; z-index: 1; width: min(640px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 120px; }

body.soft-page .promotion-card {
  padding: 36px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface) !important;
  box-shadow: none !important;
  text-align: center;
}

body.soft-page .promotion-card h1 { margin: 0 0 14px; font: 400 clamp(44px, 7vw, 64px)/1.02 var(--f-serif); letter-spacing: -0.01em; }
body.soft-page .promotion-card p { color: rgba(var(--text-rgb), 0.78); font: 400 15px/1.65 var(--f-ui); }
body.soft-page .promotion-mark { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--ember-soft) !important; color: var(--ember) !important; font: 500 14px/1 var(--f-mono); }
body.soft-page .promotion-note { color: var(--dim) !important; font: 400 12px/1.5 var(--f-mono) !important; }

/* ---------- 404 and other small message cards ---------- */
body.soft-page .legal-page { position: relative; z-index: 1; width: min(620px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
body.soft-page .legal-card { padding: 0; border: 0; background: none !important; box-shadow: none !important; }
body.soft-page .legal-card h1 { margin: 0 0 14px; font: 400 clamp(56px, 9vw, 104px)/0.98 var(--f-serif); letter-spacing: -0.01em; }
body.soft-page .legal-card p { color: rgba(var(--text-rgb), 0.78); font: 400 15px/1.65 var(--f-ui); }

/* ---------- the footer every soft page gets (injected by mobile-nav.js) ---------- */
.soft-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 400 12px/1.4 var(--f-mono);
}

.soft-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.soft-footer a { color: var(--dim) !important; text-decoration: none; }
.soft-footer a:hover { color: var(--text) !important; }
.soft-footer .sf-social { display: flex; gap: 14px; }
.soft-footer .sf-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 8px; }
.soft-footer .sf-social a:hover { border-color: var(--ember); color: var(--ember) !important; }

body.has-mobile-tabbar .soft-footer { margin-bottom: 76px; }

/* links inside the readable text stay ember, whatever the page's old stylesheet says */
body.soft-page .flow-legal a,
body.soft-page .support-card a:not(.support-discord-btn):not(.support-copy-btn),
body.soft-page .legal-card a:not(.button) { color: var(--ember) !important; }

/* the phone tab bar only exists on phones */
@media (min-width: 901px) { body.soft-page .mobile-tabbar { display: none !important; } }

/* ---------- the old accents (sky blue, acid lime, red) become ember ---------- */
html body.soft-page,
html body.soft-page .fdb,
html body.soft-page .fdb.ttb {
  --fdb-accent: var(--ember);
  --fdb-accent-ink: var(--ember-ink);
  --fdb-text: var(--text);
}

html body.soft-page.item-template-page,
html body.soft-page .item-template-page {
  --item-accent: var(--ember);
  --item-accent-strong: var(--ember-hover);
}

html body.soft-page .bt-page,
html body.soft-page.bt-page {
  --bt-bg: var(--bg);
  --bt-red: var(--ember);
  --bt-green: var(--sage);
  --bt-panel: var(--surface);
  --bt-panel-2: var(--raised);
}

/* Download Flash */
body.soft-page .btn-primary-action { background: var(--ember) !important; color: var(--ember-ink) !important; border-color: var(--ember) !important; box-shadow: none !important; }
body.soft-page .edition-card { border-color: rgba(var(--ember-rgb), 0.5) !important; box-shadow: none !important; }
body.soft-page .card-badge,
body.soft-page .video-kicker { color: var(--ember) !important; border-color: rgba(var(--ember-rgb), 0.55) !important; background: transparent !important; }

/* Learn: the category pills lose their rainbow */
body.soft-page .glossary-category-pill,
body.soft-page .learn-modal-badge { color: var(--dim) !important; border-color: var(--line-strong) !important; background: transparent !important; }

/* Claim (standalone page with its own palette) */
body.soft-page .btn-claim,
body.soft-page .btn-claim:hover { background: var(--ember) !important; color: var(--ember-ink) !important; }
body.soft-page .kicker { color: var(--ember) !important; }

/* green "you save" lines and prices read as the sage tag, not neon */
body.soft-page .vlt-save,
body.soft-page .vlt-save b,
body.soft-page .related-price-credits { color: var(--sage) !important; }
body.soft-page .vlt-pct,
body.soft-page .ttb-save { color: var(--ember) !important; }

/* ---------- panels that still had the old navy / teal fill ---------- */
body.soft-page .item-hero-template,
body.soft-page .item-info-panel { background: transparent !important; }

body.soft-page .item-gallery-panel,
body.soft-page .item-gallery-panel.steam-gallery-panel {
  background: var(--surface) !important;
  background-image: none !important;
  border-color: var(--line) !important;
}

body.soft-page .item-story { background: transparent !important; background-image: none !important; }

body.soft-page .related-horizontal-card,
body.soft-page .edition-card.is-air,
body.soft-page .video-showcase-section,
body.soft-page .screenshot-card,
body.soft-page .mwf-card,
body.soft-page .learn-modal-container,
body.soft-page .bt-card,
body.soft-page .bt-buy-card,
body.soft-page .fdb-buy-card {
  background: var(--surface) !important;
  background-image: none !important;
  border-color: var(--line-strong) !important;
  box-shadow: none !important;
}

body.soft-page .ttb-console { background: rgba(var(--bg-rgb), 0.72) !important; border-color: var(--line-strong) !important; }

/* the CRT page keeps its warm browns but its red buy button and counters become ember */
body.soft-page .fdb-buy-card button,
body.soft-page .fdb-btn-buy { background: var(--ember) !important; color: var(--ember-ink) !important; border-color: var(--ember) !important; box-shadow: none !important; }
body.soft-page .buy-card-price,
body.soft-page .deal-timer-val,
body.soft-page .fdb-hw-lbl,
body.soft-page .fdb-eyebrow,
body.soft-page .bt-hint { color: var(--ember) !important; }
body.soft-page .fdb-step-n { background: var(--ember) !important; color: var(--ember-ink) !important; }

/* the home page holds two views; only the one that is switched on shows */
html:not(.flash-view-foryou) [data-for-you-hub] { display: none !important; }

/* ---------- the home page ---------- */
body.soft-page .hx-btn,
body.soft-page .mock-button,
body.soft-page .hx-offer-tag.is-featured,
body.soft-page .hx-offer-cta { background: var(--ember) !important; color: var(--ember-ink) !important; border-color: var(--ember) !important; box-shadow: none !important; }
body.soft-page .hx-offer-cta { background: transparent !important; color: var(--ember) !important; border: 0 !important; }
body.soft-page .hx-link,
body.soft-page .hx-kicker,
body.soft-page .hx-offer-tag { color: var(--ember) !important; }
body.soft-page .hx-offer-tag { background: rgba(var(--ember-rgb), 0.14) !important; border-color: transparent !important; }
body.soft-page .hx-offer.is-featured { background: rgba(var(--ember-rgb), 0.08) !important; border-color: rgba(var(--ember-rgb), 0.5) !important; }
body.soft-page .hx-offer,
body.soft-page .mock-download-cta,
body.soft-page .fuses-video-card { background: var(--surface) !important; background-image: none !important; border-color: var(--line-strong) !important; box-shadow: none !important; }
body.soft-page .mock-home-public em { color: var(--ember) !important; }
body.soft-page .fuses-explainer-section { background-image: none !important; }
body.soft-page .fuses-explainer-section h2 span,
body.soft-page .fuses-explainer-section h2 em,
body.soft-page .fuses-explainer-section h2 strong { color: var(--ember) !important; }
body.soft-page .mock-trust-strip { background: var(--surface) !important; border-color: var(--line) !important; }
body.soft-page .hx-video [class*="play"] { background: var(--ember) !important; color: var(--ember-ink) !important; }

/* =====================================================================
   Sitewide clean-up: no rounded pills, no dot bullets, quieter gradients
   ===================================================================== */

/* labels and chips: square-cornered mono text instead of pills */
body.soft-page .related-tag-pill,
body.soft-page .related-badge-editors-pick,
body.soft-page .item-badge-pill,
body.soft-page .fdb-chip,
body.soft-page .fdb-or-chip,
body.soft-page .fdb-install-divider-badge,
body.soft-page .hx-offer-tag,
body.soft-page .hx-video-label,
body.soft-page .vlt-save,
body.soft-page .vlt-more,
body.soft-page .support-tag-main,
body.soft-page .fdb-ba,
body.soft-page .bt-feat-tag,
body.soft-page .card-badge,
body.soft-page .glossary-category-pill,
body.soft-page .learn-modal-badge,
body.soft-page .mwf-tag {
  border-radius: 4px !important;
}

body.soft-page .related-tag-pill,
body.soft-page .related-badge-editors-pick,
body.soft-page .item-badge-pill,
body.soft-page .fdb-chip,
body.soft-page .hx-offer-tag,
body.soft-page .vlt-save {
  background: transparent !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--dim) !important;
  font: 500 11px/1.3 var(--f-mono) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

body.soft-page .item-badge-pill.is-editors-pick,
body.soft-page .related-badge-editors-pick { color: var(--ember) !important; border-color: rgba(var(--ember-rgb), 0.5) !important; }

body.soft-page .item-back-link,
body.soft-page .bt-back,
body.soft-page .reel-back { border-radius: 8px !important; }

/* numbered steps and tick lists on the item page: mono numerals and a plain marker */
body.soft-page .item-story-steps span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none !important;
  color: var(--ember) !important;
  font: 500 13px/1 var(--f-mono);
}

body.soft-page .item-story-steps span::after { content: "."; }
/* item-story.css makes the number a 26px grid circle, which stacked the dot under the numeral */
html body.soft-page .item-story-steps span { display: inline-flex; width: auto; height: auto; place-items: initial; }
body.soft-page .item-story-steps li + li::before { width: 28px; height: 1px; border-radius: 0; background: var(--line-strong); }

body.soft-page.item-template-page .item-plain-bullets li { gap: 12px; }
body.soft-page.item-template-page .item-plain-bullets svg { display: none; }
body.soft-page.item-template-page .item-plain-bullets li::before {
  content: "+";
  flex: none;
  color: var(--ember);
  font: 500 15px/1.4 var(--f-mono);
}

/* the dots next to "Latest" go as well */
body.shop-soft .sci-latest::before,
.mm-feature-tag::before { display: none !important; }

/* gradients: sky and lime glows become a muted ember dither, rules and text lose their colour sweeps */
body.soft-page .fuses-title-accent,
body.soft-page .crt-glitch-text,
body.soft-page [class*="gradient-text"] {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--ember) !important;
}

body.soft-page .crt-glitch-text { color: var(--text) !important; }

body.soft-page .fuses-explainer-section::before,
body.soft-page .mock-download-cta::before {
  background: linear-gradient(90deg, transparent, rgba(var(--ember-rgb), 0.45), transparent) !important;
}

body.soft-page .ttb-orb,
body.soft-page .ttb-grid {
  background: radial-gradient(circle, rgba(var(--ember-rgb), 0.55) 1.1px, transparent 1.8px) 0 0 / 8px 8px !important;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
  opacity: 0.28 !important;
  filter: none !important;
}

body.soft-page .ttb-grid { -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); opacity: 0.12 !important; }

body.soft-page .vlt-thumb,
body.soft-page .vlt-mini {
  background:
    radial-gradient(circle, rgba(var(--ember-rgb), 0.3) 1px, transparent 1.7px) 0 0 / 7px 7px,
    var(--bg) !important;
}

/* =====================================================================
   One page rhythm: the same container, title and intro on the info pages
   ===================================================================== */

html body.soft-page main.download-studio,
html body.soft-page main.mwf-container,
html body.soft-page main.learn-container {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 64px 0 100px !important;
}

html body.soft-page .edition-hero,
html body.soft-page .mwf-hero,
html body.soft-page .learn-hero {
  margin: 0 0 44px !important;
  padding: 0 !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
}

html body.soft-page .edition-hero h1,
html body.soft-page .mwf-hero h1,
html body.soft-page .learn-hero h1 {
  margin: 0 0 16px !important;
  font: 400 clamp(52px, 7vw, 92px)/0.98 var(--f-serif) !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
  color: var(--text) !important;
}

html body.soft-page .edition-hero h1 strong,
html body.soft-page .mock-type-emphasis { font-weight: 400 !important; color: var(--ember) !important; font-style: italic; }

html body.soft-page .hero-subtitle,
html body.soft-page .mwf-hero-desc,
html body.soft-page .learn-hero-desc,
html body.soft-page .learn-hero-eyebrow {
  max-width: 560px;
  margin: 0 !important;
  color: var(--dim) !important;
  font: 400 14px/1.6 var(--f-mono) !important;
  text-align: left !important;
}

html body.soft-page .learn-hero-eyebrow { margin-bottom: 14px !important; color: var(--ember) !important; font-size: 12px !important; letter-spacing: 0.1em; text-transform: uppercase; }

/* download page chips (size, system, speed) */
html body.soft-page .edition-card li,
html body.soft-page .edition-card [class*="chip"],
html body.soft-page .edition-card [class*="meta"] > * {
  border-radius: 4px !important;
  background: transparent !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--dim) !important;
  font: 500 12px/1.3 var(--f-mono) !important;
}

html body.soft-page .edition-card.is-air { width: 100%; max-width: none; }
html body.soft-page .edition-stack,
html body.soft-page .edition-grid { max-width: none; }

/* product pages: the title uses the shop's heading font and a steadier size */
html body.soft-page .fdb-h1,
html body.soft-page .bt-h1,
html body.soft-page.item-template-page .item-info-panel h1 {
  font-family: var(--f-head) !important;
  font-weight: 600 !important;
  font-size: clamp(42px, 5.2vw, 72px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
}

html body.soft-page .bt-h1 { -webkit-text-stroke: 0 !important; }

/* section titles on product pages */
html body.soft-page .fdb-h2,
html body.soft-page .fdb-section h2 {
  font-family: var(--f-head) !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

/* item page: buy buttons, compatibility and the setup line */
html body.soft-page .item-buy-credits {
  border: 1px solid var(--ember) !important;
  border-radius: 10px !important;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  box-shadow: none !important;
}

html body.soft-page .item-buy-usd {
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  background: var(--raised) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

html body.soft-page .item-buy-usd:hover { border-color: var(--ember) !important; }
html body.soft-page .item-credit-save { color: rgba(28, 27, 25, 0.7) !important; font-family: var(--f-mono) !important; }

html body.soft-page .item-setup-line,
html body.soft-page .fs-setup {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
}

html body.soft-page .fs-setup.is-bad { border-color: rgba(185, 89, 75, 0.6) !important; color: #d98a7d !important; }

/* Blob Tracker title: no outlined second word */
html body.soft-page .bt-h1 span + span { color: inherit !important; -webkit-text-stroke: 0 !important; }

/* per-page accents (set inline or on :root by the older pages) all resolve to the soft palette */
html body.soft-page,
html body.soft-page .fdb,
html body.soft-page .fdb.ttb,
html body.soft-page .reel-page,
html body.soft-page.reel-page {
  --fdb-accent: var(--ember) !important;
  --fdb-accent-ink: var(--ember-ink) !important;
  --reel-accent: var(--ember) !important;
  --story-accent: var(--ember) !important;
}

html body.soft-page .reel-page { background: transparent !important; }
html body.soft-page .fdb .fdb-price b,
html body.soft-page .fdb-price b { color: var(--text) !important; }
html body.soft-page .item-buy-usd.is-reel,
html body.soft-page .reel-buy .item-buy-usd { background: var(--ember) !important; color: var(--ember-ink) !important; border-color: var(--ember) !important; }
html body.soft-page .reel-headline,
html body.soft-page .reel-hero h1 { font-family: var(--f-head) !important; letter-spacing: -0.02em !important; }

/* green accents on the old pages become the quiet sage */
html body.soft-page [class*="vlt"] b,
html body.soft-page .vlt-row b { color: inherit; }

.soft-footer { background: transparent !important; border-radius: 0 !important; }
html body.soft-page .category-price-row b { color: var(--text) !important; }
html body.soft-page .category-card-type-tag { color: var(--dim) !important; border-color: var(--line-strong) !important; background: transparent !important; border-radius: 4px !important; }
html body.soft-page .compat-status { color: var(--sage) !important; }
html body.soft-page .vlt-math dt,
html body.soft-page .vlt-math dd,
html body.soft-page [class*="vlt"] dt,
html body.soft-page [class*="vlt"] dd { color: var(--text); }
html body.soft-page .flash-cart-count { color: var(--ember-ink); }

html body.soft-page .mock-product-image > span,
html body.soft-page .bt-card-btns span,
html body.soft-page .bt-card-btns > *,
html body.soft-page li.is-ok,
html body.soft-page .bt-back { border-radius: 6px !important; }
html body.soft-page .mock-product-image > span { background: rgba(var(--bg-rgb), 0.8) !important; border: 1px solid var(--line-strong) !important; color: var(--text) !important; font: 500 11px/1.3 var(--f-mono) !important; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px !important; }

/* =====================================================================
   Tool cards inside bundle contents and category lists: the shop's flat tile
   ===================================================================== */

html body.soft-page .item-bundle-grid,
html body.soft-page .category-browser-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 28px 20px !important;
}

html body.soft-page .category-browser-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transform: none !important;
}

html body.soft-page .category-card-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px !important;
  outline: 1px solid var(--line);
  background: var(--surface) !important;
  background-image: none !important;
}

html body.soft-page .category-card-art img,
html body.soft-page .category-card-thumb-img { width: 100%; height: 100%; object-fit: cover; }

/* the dither edge the shop tiles have */
html body.soft-page .category-card-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;
}

html body.soft-page .category-browser-card:hover .category-card-art { outline-color: rgba(var(--ember-rgb), 0.55); }

html body.soft-page .category-card-body { display: flex !important; flex-direction: column; gap: 6px; padding: 14px 0 0 !important; background: none !important; }
html body.soft-page .category-card-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
html body.soft-page .category-card-title { color: var(--text) !important; font: 600 17px/1.25 var(--f-head) !important; letter-spacing: -0.01em !important; }
html body.soft-page .card-title-badges { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; opacity: 0.8; }
html body.soft-page .title-compat-icon { width: 13px !important; height: 13px !important; }

html body.soft-page .category-card-type-tag {
  flex: none;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--dim) !important;
  font: 500 10.5px/1 var(--f-mono) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

html body.soft-page .category-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  color: var(--dim) !important;
  font: 400 13px/1.5 var(--f-ui) !important;
}

html body.soft-page .category-card-footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid var(--line) !important;
  background: none !important;
}

html body.soft-page .category-price-row,
html body.soft-page .category-price-row b {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--text) !important;
  font: 700 16px/1.2 var(--f-ui) !important;
}

html body.soft-page .category-price-row small,
html body.soft-page .category-price-row em { color: var(--dim) !important; font: 400 12px/1.2 var(--f-mono) !important; }

html body.soft-page .card-cart-btn {
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

html body.soft-page .card-cart-btn:hover,
html body.soft-page .card-cart-btn.is-in-cart { border-color: var(--ember) !important; color: var(--ember) !important; }

html body.soft-page .pack-exclusive-pill,
html body.soft-page [class*="pick-badge"],
html body.soft-page [class*="editor-ribbon"],
html body.soft-page .category-card-art [class*="pick"] {
  padding: 3px 7px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--ember) !important;
  color: var(--ember-ink) !important;
  font: 600 10px/1.2 var(--f-mono) !important;
  font-style: normal !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
}

html body.soft-page .item-bundle-header h2 { font: 600 28px/1.15 var(--f-head) !important; letter-spacing: -0.015em !important; }
html body.soft-page .item-bundle-subtitle { color: var(--dim) !important; font: 400 13px/1.5 var(--f-mono) !important; }
html body.soft-page .item-bundle-contents-section { background: transparent !important; border: 0 !important; }

html body.soft-page .soft-footer,
html body.soft-page footer.soft-footer { background: transparent !important; background-color: transparent !important; box-shadow: none !important; }
html body.soft-page footer.soft-footer::before,
html body.soft-page footer.soft-footer::after { display: none !important; }

html body.soft-page main.item-template,
html body.soft-page .reel-page main { background: transparent !important; }

html body.soft-page .soft-footer,
html body.soft-page .soft-footer span { color: var(--dim) !important; }

html body.soft-page .soft-footer a { color: var(--dim) !important; }
html body.soft-page .soft-footer a:hover { color: var(--text) !important; }

html body.soft-page a.category-browser-card,
html body.soft-page a.category-browser-card.tier-medium,
html body.soft-page article.category-browser-card {
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.soft-page .category-browser-card .category-card-art { border-radius: 4px !important; background-color: var(--surface) !important; }
html body.soft-page .category-price-row b { text-shadow: none !important; }

html body.soft-page .category-browser-card.tier-cheap:not(.is-owned-item):not(:has(.is-owned-pill)),
html body.soft-page .category-browser-card.tier-medium:not(.is-owned-item):not(:has(.is-owned-pill)),
html body.soft-page .category-browser-card.tier-high:not(.is-owned-item):not(:has(.is-owned-pill)),
html body.soft-page .store-grid-card.tier-cheap:not(.is-owned-item):not(:has(.is-owned-pill)),
html body.soft-page .store-grid-card.tier-medium:not(.is-owned-item):not(:has(.is-owned-pill)),
html body.soft-page .store-grid-card.tier-high:not(.is-owned-item):not(:has(.is-owned-pill)) {
  background: none !important;
  background-image: none !important;
  border: 0 !important;
}

/* =====================================================================
   Item page: the shop's column. Text and gallery sit in one 1180px container, no full-bleed panels or divider lines
   ===================================================================== */
html body.soft-page section.item-hero-template {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
  gap: 56px !important;
  align-items: start !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 44px 0 56px !important;
  border: 0 !important;
  background: none !important;
}

html body.soft-page .item-info-panel,
html body.soft-page .item-gallery-panel,
html body.soft-page .item-gallery-panel.steam-gallery-panel {
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html body.soft-page .item-gallery-panel { position: sticky; top: 84px; align-self: start; }
html body.soft-page .steam-player-stage,
html body.soft-page .steam-stage-viewport { border-radius: 6px !important; }
html body.soft-page .steam-player-stage { outline: 1px solid var(--line); border: 0 !important; box-shadow: none !important; }

html body.soft-page .item-info-panel h1 { margin-top: 18px !important; }
html body.soft-page .item-buy-choices,
html body.soft-page .item-fuse-unowned-actions,
html body.soft-page .item-version-actions { box-shadow: none !important; filter: none !important; }
html body.soft-page .item-buy-credits,
html body.soft-page .item-buy-usd,
html body.soft-page .item-add-cart-btn { box-shadow: none !important; filter: none !important; }
html body.soft-page .item-add-cart-btn { border: 1px solid var(--line-strong) !important; border-radius: 10px !important; background: transparent !important; color: var(--text) !important; }
html body.soft-page .item-add-cart-btn:hover { border-color: var(--ember) !important; }

@media (max-width: 900px) {
  html body.soft-page section.item-hero-template { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; padding: 24px 0 40px !important; }
  html body.soft-page .item-gallery-panel { position: static; }
}

/* =====================================================================
   Bundle and campaign pages: tool cards without GPU badges, owned state as plain text, compat line quiet
   ===================================================================== */
html body.soft-page .card-title-badges,
html body.soft-page .title-compat-icon,
html body.soft-page .category-browser-card .card-title-badges { display: none !important; }

html body.soft-page .category-browser-card.is-owned-item,
html body.soft-page a.category-browser-card.is-owned-item {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.soft-page .is-owned-pill,
html body.soft-page .shop-tile-owned {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--d3, #6fb3a8) !important;
  font: 500 11px/1 var(--f-mono, monospace) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

html body.soft-page .is-owned-check { width: 11px; height: 11px; }

/* "In your library" and install rows on the reel pages */
html body.soft-page .reel-indiv-owned {
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: none !important;
  color: var(--d3, #6fb3a8) !important;
  font: 500 12px/1 var(--f-mono, monospace) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html body.soft-page .reel-indiv-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html body.soft-page .reel-indiv-img { border-radius: 4px !important; outline: 1px solid var(--line); }
html body.soft-page .reel-indiv-body { padding: 14px 0 0 !important; }

/* compatibility strip on product pages: plain mono text, no brand icons */
html body.soft-page .reel-compat img,
html body.soft-page .reel-compat svg,
html body.soft-page .compat-os-icon,
html body.soft-page .compat-gpu-icon { display: none !important; }
html body.soft-page .reel-compat,
html body.soft-page .reel-compat-main,
html body.soft-page .reel-compat-detail { color: var(--dim) !important; font: 400 12px/1.5 var(--f-mono, monospace) !important; }
html body.soft-page .reel-compat-main { color: var(--text) !important; }

/* ---------- SpiderVerse Pack page: drop the navy fills multiverse-viewer.css adds ---------- */
html body.soft-page.item-template-page:has(#multiverse-viewer:not([hidden])) .item-hero-template { background: transparent !important; }
html body.soft-page .multiverse-viewer {
  background: transparent;
  border-top: 1px solid var(--line);
}
html body.soft-page .multiverse-viewer__detail h3,
html body.soft-page .multiverse-viewer__node::after,
html body.soft-page .multiverse-viewer__hover-label { font-family: var(--f-head); }
html body.soft-page .multiverse-viewer__canvas,
html body.soft-page .multiverse-viewer__settings-frame { border-color: var(--line); }
html body.soft-page .multiverse-viewer__node:hover,
html body.soft-page .multiverse-viewer__node:focus-visible,
html body.soft-page .multiverse-viewer__node.is-active { border-color: rgba(var(--ember-rgb), 0.75); background: var(--ember-soft); }
html body.soft-page .multiverse-viewer__node:focus-visible { outline-color: var(--ember); }
html body.soft-page .multiverse-viewer__node.is-active::after { color: var(--ember); }

/* on-site zip download (owned packs, Flash Download): ember like the other primary buttons, not the old white pill */
html body.soft-page.item-template-page .item-version-row.is-buy-panel a.item-direct-zip-download-btn,
html body.soft-page.item-template-page .item-version-row.is-owned a.item-direct-zip-download-btn {
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--ember) !important;
  box-shadow: none !important;
  color: var(--ember-ink) !important;
  font: 600 15px/1 var(--f-ui) !important;
}
html body.soft-page.item-template-page .item-version-row.is-buy-panel a.item-direct-zip-download-btn:hover,
html body.soft-page.item-template-page .item-version-row.is-owned a.item-direct-zip-download-btn:hover { background: var(--ember-hover) !important; }

/* item-clean.css gives the credits button a sky-blue glow (and USD a white one) with a stronger selector than the line above */
html body.soft-page.public-studio-page.item-template-page .item-version-row .item-buy-choices button.item-buy-credits[data-credit-purchase],
html body.soft-page.public-studio-page.item-template-page .item-version-row .item-buy-choices button.item-buy-usd[data-usd-checkout] { box-shadow: none !important; }
