/* ============================================================
   MC Capers v2 skin: the redesign laid over the v1 markup.
   Applies only to pages that opt in with <body class="v2">; loaded after v1.css.
   ============================================================ */
body.v2 {
  --v2-bg: #0d0c10;
  --v2-bg-2: #13111a;
  --v2-card: #17151f;
  --v2-line: rgba(255, 255, 255, .08);
  --v2-line-2: rgba(255, 255, 255, .14);
  --v2-text: #f8f4f2;
  --v2-dim: rgba(248, 244, 242, .62);
  --v2-mute: rgba(248, 244, 242, .42);
  --v2-purple: #762aea;
  --v2-horn: #f5a524;
  --v2-ok: #34d399;
  --v2-display: "Lilita One", "Outfit", system-ui, sans-serif;
  --v2-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--v2-bg);
  color: var(--v2-text);
  font-family: var(--v2-body);
}
body.v2 #starsCanvas { display: none; }

/* nav (markup from components.js) */
body.v2 nav.v1-nav { background: rgba(13, 12, 16, .82); border-bottom-color: var(--v2-line); }
body.v2 nav.v1-nav .logo { font: 400 23px/1 var(--v2-display); letter-spacing: .5px; }
body.v2 nav.v1-nav .logo-img { width: 36px; height: 36px; }
body.v2 nav.v1-nav .nav-center a { font: 600 14px var(--v2-body); color: var(--v2-dim); padding: 8px 13px; border-radius: 10px; }
body.v2 nav.v1-nav .nav-center a:hover, body.v2 nav.v1-nav .nav-center a.active { color: var(--v2-text); background: rgba(255, 255, 255, .06); }
body.v2 nav.v1-nav .nav-center a.active::after { display: none; }
body.v2 nav.v1-nav .icon-btn { width: 44px; height: 44px; border-radius: 12px; border-color: var(--v2-line-2); background: rgba(255, 255, 255, .03); color: var(--v2-text); }
body.v2 nav.v1-nav .icon-btn svg { width: 19px; height: 19px; }
body.v2 nav.v1-nav .icon-btn .cart-badge { background: var(--v2-horn); color: #1b1206; }
body.v2 nav.v1-nav .btn-login { height: 44px; padding: 0 20px; border-radius: 12px; font: 700 15px var(--v2-body); }
body.v2 .mc-drawer, body.v2 .drawer-head { font-family: var(--v2-body); }
body.v2 .drawer-logo { font: 400 21px/1 var(--v2-display); }

/* sections kept from v1 (reviews, FAQ) take the new type */
body.v2 .v1-section-head h2 { font: 400 clamp(30px, 4vw, 46px)/1.05 var(--v2-display); letter-spacing: .3px; }

/* footer */
body.v2 .v1-footer { background: var(--v2-bg); border-top: 1px solid var(--v2-line); font-family: var(--v2-body); }
body.v2 .v1-footer .footer-brand .flogo { font: 400 22px/1 var(--v2-display); }

/* shop: header, toolbar, grid */
body.v2 .v2-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
body.v2 .v2-head { position: relative; overflow: hidden; padding: 28px 0 8px; }
body.v2 .v2-head::before {
  content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 42, 234, .3), transparent); pointer-events: none;
}
body.v2 .v2-head .v2-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
body.v2 .v2-kicker { display: block; margin-bottom: 10px; color: var(--v2-horn); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
body.v2 .v2-head h1 { margin: 0; font: 400 clamp(36px, 4vw, 52px)/1.05 var(--v2-display); letter-spacing: .3px; }
body.v2 .v2-head p, body.v2 .v2-goat { display: none; }
body.v2 .v2-toolbar {
  position: sticky; top: 68px; z-index: 40; margin-bottom: 28px; background: rgba(13, 12, 16, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--v2-line);
}
body.v2 .v2-toolbar .v2-wrap { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
body.v2 .v2-search { position: relative; flex: 0 1 300px; }
body.v2 .v2-search input {
  width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--v2-line-2);
  background: var(--v2-card); color: var(--v2-text); font: 500 15px var(--v2-body); outline: none;
}
body.v2 .v2-search input:focus { border-color: #9b5cff; }
body.v2 .v2-search svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--v2-mute); }
body.v2 .v2-chips { display: flex; flex: 1; gap: 8px; overflow-x: auto; scrollbar-width: none; }
body.v2 .v2-chips::-webkit-scrollbar { display: none; }
body.v2 .v2-chips .tag-btn {
  flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--v2-line-2); background: none;
  color: var(--v2-dim); font: 700 14px var(--v2-body); white-space: nowrap; cursor: pointer;
}
body.v2 .v2-chips .tag-btn.active { background: var(--v2-text); border-color: var(--v2-text); color: var(--v2-bg); }
body.v2 .all-wrap.v2-all { padding: 0 0 60px; }
body.v2 .v2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* product card */
body.v2 .v2-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--v2-card);
  border: 1px solid var(--v2-line); color: inherit; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s;
}
body.v2 .v2-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 24px 50px -24px var(--c); }
body.v2 .v2-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0f0e13; }
body.v2 .v2-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
body.v2 .v2-art img.v2-photo { object-fit: contain; padding: 10%; }
body.v2 .v2-card:hover .v2-art img { transform: scale(1.05); }
body.v2 .v2-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--v2-line-2);
  background: rgba(13, 12, 16, .7); backdrop-filter: blur(6px); color: var(--v2-horn);
  font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
}
body.v2 .v2-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
body.v2 .v2-name { font: 400 23px/1.1 var(--v2-display); }
body.v2 .v2-desc { display: none; }
body.v2 .v2-stock { display: none; }
body.v2 .v2-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
body.v2 .v2-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
body.v2 .v2-price { font: 400 26px/1 var(--v2-display); letter-spacing: 0; color: var(--v2-text); white-space: nowrap; }
body.v2 .v2-price .u { margin-left: 3px; color: var(--v2-mute); font: 600 13px var(--v2-body); }
/* i18n.js forces Outfit on every element for CJK/Thai pages; the display face has to win back on headings */
body.v2 nav.v1-nav .logo, body.v2 .drawer-logo, body.v2 .v1-footer .flogo, body.v2 .v1-section-head h2, body.v2 .v2-head h1,
body.v2 .v2-name, body.v2 .v2-price, body.v2 .home-sect h2, body.v2 .v2-hero h1 {
  font-family: "Lilita One", "Outfit", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif !important;
}
body.v2 .v2-price .u { font-family: var(--v2-body) !important; }
body.v2 .v2-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--v2-line-2); background: rgba(255, 255, 255, .06); color: var(--v2-text);
  font: 700 14px var(--v2-body); white-space: nowrap; cursor: pointer; transition: .2s;
}
body.v2 .v2-add svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.v2 .v2-add:hover, body.v2 .v2-add.added { background: var(--v2-purple); border-color: var(--v2-purple); color: #fff; }
body.v2 .v2-add:disabled { opacity: .45; cursor: not-allowed; }

/* the hourly static cards, shown until the shop script replaces them */
/* Static cards are in the HTML for no-JS and SEO. Hide them so they don't flash before renderProducts() swaps in the live cards. */
body.v2 #productsGrid > .v1-card { display: none !important; }
body.v2 .v2-grid > .v1-card { overflow: hidden; border-radius: 18px; border: 1px solid var(--v2-line); background: var(--v2-card); }
body.v2 .v2-grid > .v1-card .v1-card-img { aspect-ratio: 1 / 1; background: #0f0e13; }
body.v2 .v2-grid > .v1-card .v1-card-img img { width: 100%; height: 100%; object-fit: contain; }

/* home: hero copy on the left, the featured cape on the right */
body.v2 .v2-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
body.v2 .v2-hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 42, 234, .38), transparent 70%); pointer-events: none;
}
body.v2 .v2-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
body.v2 .v2-eyebrow {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(245, 165, 36, .35);
  background: rgba(245, 165, 36, .1); color: var(--v2-horn); font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
body.v2 .v2-hero h1 { margin: 22px 0 14px; font: 400 clamp(46px, 6.4vw, 88px)/1.02 var(--v2-display); letter-spacing: .3px; }
body.v2 .v2-lead { margin: 0 0 30px; color: var(--v2-dim); font-size: 20px; }
body.v2 .v2-cta { display: flex; flex-wrap: wrap; gap: 12px; }
body.v2 .v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 14px;
  font: 700 16px var(--v2-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, background .2s;
}
body.v2 .v2-btn svg { width: 18px; height: 18px; }
body.v2 .v2-btn:active { transform: translateY(1px); }
body.v2 .v2-btn-primary { background: var(--v2-purple); color: #fff; box-shadow: 0 10px 30px -8px rgba(118, 42, 234, .8), inset 0 -3px 0 rgba(0, 0, 0, .25); }
body.v2 .v2-btn-primary:hover { background: #8436f5; }
body.v2 .v2-btn-ghost { border: 1px solid var(--v2-line-2); background: rgba(255, 255, 255, .04); color: var(--v2-text); }
body.v2 .v2-btn-sm { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
body.v2 .v2-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
body.v2 .v2-proof .tchip { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--v2-dim); font-size: 14px; font-weight: 600; }
body.v2 .v2-proof .tchip svg { width: 17px; height: 17px; color: var(--v2-horn); }
body.v2 .v2-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
body.v2 .v2-pay img { width: auto; height: 26px; }
body.v2 .v2-show { position: relative; width: 100%; max-width: 500px; margin-left: auto; }
body.v2 .v2-show-art {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 26px; border: 1px solid var(--v2-line-2);
  background: #0f0e13; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); color: inherit; text-decoration: none;
}
body.v2 .v2-show-art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.v2 .v2-show-art .v2-badge { top: 16px; left: 16px; padding: 6px 12px; font-size: 13px; }
body.v2 .v2-show-info {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 12px 12px 18px; border-radius: 18px; border: 1px solid var(--v2-line-2); background: rgba(13, 12, 16, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
body.v2 .v2-show-name { font: 400 26px/1.05 var(--v2-display); }
body.v2 .v2-show-price { min-height: 1.1em; color: var(--v2-horn); font: 400 22px/1.1 var(--v2-display); }
body.v2 .v2-show-goat {
  position: absolute; right: -36px; top: -44px; z-index: 3; width: 124px; height: auto; rotate: 10deg; pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); animation: v2bob 5s ease-in-out infinite;
}
@keyframes v2bob { 50% { transform: translateY(-12px); } }
body.v2 .home-sect h2 { font: 400 clamp(32px, 4.2vw, 52px)/1.05 var(--v2-display); letter-spacing: .3px; }
body.v2 .home-sect .hs-kicker { color: var(--v2-horn); }
body.v2 .hf-card .hf-img { height: auto; aspect-ratio: 1 / 1; background: #0f0e13; }
body.v2 .hf-card .hf-img img { width: 100%; height: 100%; object-fit: cover; }
body.v2 .hf-card .hf-name { font: 400 21px/1.15 var(--v2-display); }

@media (max-width: 1024px) {
  body.v2 .v2-grid { grid-template-columns: repeat(3, 1fr); }
  body.v2 .v2-hero-in { grid-template-columns: 1fr; }
  body.v2 .v2-show { margin: 30px auto 0; }
}
@media (max-width: 720px) {
  body.v2 .v2-hero { padding: 26px 0 30px; }
  body.v2 .v2-hero::before { top: -240px; right: -200px; width: 480px; height: 480px; }
  body.v2 .v2-hero-in { gap: 0; }
  body.v2 .v2-eyebrow { padding: 0; border: 0; background: none; font-size: 12px; }
  body.v2 .v2-hero h1 { margin: 10px 0 10px; font-size: 46px; }
  body.v2 .v2-lead { margin-bottom: 20px; font-size: 17px; }
  body.v2 .v2-cta { flex-wrap: nowrap; gap: 10px; }
  body.v2 .v2-cta .v2-btn { flex: 1 1 0; height: 48px; padding: 0 12px; border-radius: 999px; font-size: 15px; box-shadow: none; }
  body.v2 .v2-cta .v2-btn svg { display: none; }
  body.v2 .v2-proof { gap: 8px 16px; margin-top: 20px; }
  body.v2 .v2-proof .tchip { font-size: 13px; }
  body.v2 .v2-pay img { height: 22px; }
  body.v2 .v2-show { max-width: none; margin: 24px 0 0; }
  body.v2 .v2-show-goat { display: none; }
  body.v2 .v2-show-art { border-radius: 20px; }
  body.v2 .v2-show-art .v2-badge { top: 10px; left: 10px; padding: 4px 9px; font-size: 11px; }
  body.v2 .v2-show-info { left: 10px; right: 10px; bottom: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; }
  body.v2 .v2-show-name { font-size: 20px; }
  body.v2 .v2-show-price { font-size: 18px; }
}
@media (max-width: 768px) {
  body.v2 nav.v1-nav .nav-right .icon-btn[onclick^="handleCartClick"], body.v2 nav.v1-nav .nav-right .v2-theme-btn { display: flex !important; }
}
@media (max-width: 720px) {
  body.v2 .v2-wrap { width: calc(100% - 32px); }
  body.v2 .v2-head { padding: 18px 0 14px; }
  body.v2 .v2-head::before { right: -160px; top: -200px; width: 420px; height: 420px; }
  body.v2 .v2-head .v2-wrap { gap: 14px; }
  body.v2 .v2-kicker, body.v2 .v2-head p { display: none; }
  body.v2 .v2-head h1 { font-size: 32px; line-height: 1.08; }
  body.v2 .v2-toolbar { position: static; margin-bottom: 14px; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.v2 .v2-toolbar .v2-wrap { padding: 0; }
  body.v2 .v2-search { display: none; }
  body.v2 .v2-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body.v2 .v2-card { border-radius: 16px; }
  body.v2 .v2-card:hover { transform: none; box-shadow: none; border-color: var(--v2-line); }
  body.v2 .v2-badge, body.v2 .v2-desc, body.v2 .v2-stock { display: none; }
  body.v2 .v2-body { gap: 2px; padding: 10px 12px 12px; }
  body.v2 .v2-name { min-height: 2.3em; font-size: 17px; line-height: 1.15; }
  body.v2 .v2-row { padding-top: 6px; }
  body.v2 .v2-price { font-size: 21px; }
  body.v2 .v2-price .u { display: none; }
  body.v2 .v2-add { flex: 0 0 44px; width: 44px; padding: 0; border-radius: 50%; background: var(--v2-text); border-color: var(--v2-text); color: var(--v2-bg); }
  body.v2 .v2-add span { display: none; }
  body.v2 .v2-add.added { background: var(--v2-ok); border-color: var(--v2-ok); color: #0d0c10; }
  body.v2 .v2-add.v2-reserve { flex: 0 0 auto; width: auto; padding: 0 14px; border-radius: 999px; }
  body.v2 .v2-add.v2-reserve span { display: inline; }
}

/* theme switch (nav button) and the phone tab bar */
body.v2 .v2-theme-btn { position: relative; }
body.v2 .v2-theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.v2 .v2-theme-btn .sun, html.light body.v2 .v2-theme-btn .moon { display: none; }
html.light body.v2 .v2-theme-btn .sun { display: block; }
body.v2 .v2-tabbar { display: none; }
@media (max-width: 720px) {
  body.v2 { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.v2 .v2-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: repeat(3, 1fr);
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(19, 17, 26, .94); border-top: 1px solid var(--v2-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  body.v2 .v2-tabbar a, body.v2 .v2-tabbar button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; color: var(--v2-mute); font: 700 11px var(--v2-body); text-decoration: none; cursor: pointer;
  }
  body.v2 .v2-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  body.v2 .v2-tabbar .on { color: var(--v2-text); }
  body.v2 .v2-tabbar .on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: #9b5cff; }
  body.v2 .v2-tabbar .n { position: absolute; top: 6px; right: calc(50% - 22px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--v2-horn); color: #1b1206; font-size: 10px; line-height: 16px; }
  body.v2 .v2-tabbar .n:empty { display: none; }
  body.v2 .chat-widget { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}

/* light themes (cream, lilac): same layout on light surfaces. Card art switches to the transparent cut and the
   spotlight behind it is drawn from the cape's own colour; the white goat gets an outline to read on light. */
html[data-theme="cream"] body.v2 {
  --v2-bg: #fbf8f3; --v2-bg-2: #f3eee6; --v2-card: #ffffff; --v2-art: #f1ebe2; --v2-ink: #2b2140; --v2-nav: rgba(251, 248, 243, .86);
  --v2-line: rgba(40, 28, 60, .09); --v2-line-2: rgba(40, 28, 60, .16);
  --v2-text: #1c1724; --v2-dim: rgba(28, 23, 36, .7); --v2-mute: rgba(28, 23, 36, .52);
}
html[data-theme="lilac"] body.v2 {
  --v2-bg: #f6f3ff; --v2-bg-2: #ede7fd; --v2-card: #ffffff; --v2-art: #ebe4fb; --v2-ink: #2a1d4a; --v2-nav: rgba(246, 243, 255, .86);
  --v2-line: rgba(64, 36, 130, .1); --v2-line-2: rgba(64, 36, 130, .18);
  --v2-text: #1d1531; --v2-dim: rgba(29, 21, 49, .7); --v2-mute: rgba(29, 21, 49, .52);
}
html.light body.v2 {
  --v2-horn: #a85f00; --v2-ok: #0e9f6e;
  --bg: var(--v2-bg); --surface: var(--v2-card); --border: var(--v2-line); --text: var(--v2-text); --text-dim: var(--v2-dim); --text-faint: var(--v2-mute);
  color-scheme: light;
}
html.light { background: var(--v2-bg, #fbf8f3); }
html[data-theme="cream"] { background: #fbf8f3 !important; }
html[data-theme="lilac"] { background: #f6f3ff !important; }

html.light body.v2 nav.v1-nav { background: var(--v2-nav); border-bottom-color: var(--v2-line); }
html.light body.v2 nav.v1-nav .logo, html.light body.v2 .drawer-logo, html.light body.v2 .v1-footer .footer-brand .flogo { color: var(--v2-text); }
html.light body.v2 nav.v1-nav .nav-center a { color: var(--v2-dim); }
html.light body.v2 nav.v1-nav .nav-center a:hover, html.light body.v2 nav.v1-nav .nav-center a.active { color: var(--v2-text); background: rgba(40, 28, 60, .06); }
html.light body.v2 nav.v1-nav .icon-btn, html.light body.v2 .drawer-toggle { border-color: var(--v2-line-2); background: rgba(255, 255, 255, .7); color: var(--v2-text); }
html.light body.v2 nav.v1-nav .icon-btn svg { color: var(--v2-text); stroke: currentColor; }
html.light body.v2 .drawer-toggle span { background: var(--v2-text); }
html.light body.v2 nav.v1-nav .btn-login, html.light body.v2 .drawer-login-btn { background: var(--v2-text); color: var(--v2-bg); }
html.light body.v2 .mcl-btn { color: var(--v2-text); border-color: var(--v2-line-2); background: rgba(255, 255, 255, .7); }
html.light body.v2 nav.v1-nav .logo-img, html.light body.v2 .drawer-logo img, html.light body.v2 .flogo-img, html.light body.v2 .v2-goat {
  --ol: 1.5px;
  filter: drop-shadow(var(--ol) 0 0 var(--v2-ink)) drop-shadow(calc(var(--ol) * -1) 0 0 var(--v2-ink))
          drop-shadow(0 var(--ol) 0 var(--v2-ink)) drop-shadow(0 calc(var(--ol) * -1) 0 var(--v2-ink));
}
html.light body.v2 .v2-goat { --ol: 2.5px; }

html.light body.v2 .drawer-backdrop { background: rgba(28, 20, 44, .35); }
html.light body.v2 .mc-drawer, html.light body.v2 .drawer-head { background: var(--v2-bg); border-color: var(--v2-line); }
html.light body.v2 .mc-drawer:not(.open) { box-shadow: none; visibility: hidden; }
html.light body.v2 .drawer-close { border-color: var(--v2-line-2); color: var(--v2-dim); }
html.light body.v2 .drawer-nav a { color: var(--v2-text); }
html.light body.v2 .drawer-nav a:hover { background: rgba(40, 28, 60, .05); color: var(--v2-text); }
html.light body.v2 .drawer-nav a.active { background: rgba(118, 42, 234, .1); color: var(--v2-text); border-color: rgba(118, 42, 234, .25); }
html.light body.v2 .drawer-nav .dn-icon { background: var(--v2-card); border-color: var(--v2-line); }
html.light body.v2 .drawer-nav .dn-icon svg { color: #6c23dc; }
html.light body.v2 .drawer-nav .dn-arrow, html.light body.v2 .drawer-copyright { color: var(--v2-mute); }
html.light body.v2 .drawer-act { background: var(--v2-card); border: 1px solid var(--v2-line); color: var(--v2-text); }

html.light body.v2 .v2-head::before { background: radial-gradient(closest-side, rgba(118, 42, 234, .14), transparent); }
html.light body.v2 .v2-toolbar { background: var(--v2-nav); }
html.light body.v2 .v2-search input:focus { border-color: #6c23dc; }
html.light body.v2 .v2-chips .tag-btn { color: var(--v2-dim); }
html.light body.v2 .v2-chips .tag-btn.active { background: var(--v2-text); border-color: var(--v2-text); color: var(--v2-bg); }
html.light body.v2 .v2-card { box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 10px 26px -18px rgba(40, 28, 60, .22); }
html.light body.v2 .v2-art, html.light body.v2 .v2-grid > .v1-card .v1-card-img {
  background: radial-gradient(ellipse 62% 58% at 50% 38%, color-mix(in srgb, var(--c, #762aea) 34%, var(--v2-art)), var(--v2-art));
}
html.light body.v2 .v2-badge { background: rgba(255, 255, 255, .88); }
html.light body.v2 .v2-all { color: var(--v2-dim); }
html.light body.v2 .v2-card { color: var(--v2-text); }
@media (min-width: 721px) {
  html.light body.v2 .v2-add { background: rgba(40, 28, 60, .05); }
  html.light body.v2 .v2-add:hover, html.light body.v2 .v2-add.added { color: #fff; }
}
html.light body.v2 .v2-tabbar { background: rgba(255, 255, 255, .94); }
html.light body.v2 .v2-tabbar .on::before { background: #6c23dc; }

html.light body.v2 .v1-section-head h2, html.light body.v2 .vc-name, html.light body.v2 .faq-q, html.light body.v2 .rs-title,
html.light body.v2 .v1-footer .footer-section h4 { color: var(--v2-text); }
html.light body.v2 .v1-section-head .sub, html.light body.v2 .vouch-stat .lbl, html.light body.v2 .vc-date, html.light body.v2 .vc-product { color: var(--v2-mute); }
html.light body.v2 .vc-text, html.light body.v2 .faq-a, html.light body.v2 .rs-body { color: var(--v2-dim); }
html.light body.v2 .vouch-stats, html.light body.v2 .vc, html.light body.v2 .faq-item, html.light body.v2 .rs {
  background: var(--v2-card); border-color: var(--v2-line); box-shadow: 0 1px 2px rgba(40, 28, 60, .04);
}
html.light body.v2 .vc-product { border-top-color: var(--v2-line); }
html.light body.v2 .vouch-stat .num { background: linear-gradient(135deg, var(--v2-text), #6c23dc); -webkit-background-clip: text; background-clip: text; }
html.light body.v2 .vc-product strong, html.light body.v2 .rs-body a, html.light body.v2 .faq-q::after, html.light body.v2 .faq-a a { color: #6c23dc !important; }
html.light body.v2 .v1-btn-ghost { border-color: var(--v2-line-2); color: var(--v2-text); }
html.light body.v2 .v1-btn-ghost:hover { background: rgba(40, 28, 60, .04); }

html.light body.v2 .v1-footer { background: var(--v2-bg-2); border-top-color: var(--v2-line); }
html.light body.v2 .v1-footer .footer-payments, html.light body.v2 .v1-footer .footer-bottom { border-color: var(--v2-line); }
html.light body.v2 .v1-footer .footer-section ul li a:hover, html.light body.v2 .v1-footer .footer-links a:hover { color: var(--v2-text); }
html.light body.v2 .v1-footer .pay-icon { background: #fff; }

/* home sections below the hero: shop cards, shop surfaces, shop type */
body.v2.v2-home .home-sect { max-width: none; padding: 72px 0 0; }
body.v2.v2-home .home-sect.last { padding-bottom: 88px; }
body.v2.v2-home .home-sect .hs-kicker { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
body.v2.v2-home .home-sect h2 { margin: 0 0 12px; color: var(--v2-text); }
body.v2.v2-home .home-sect .hs-sub { max-width: 680px; margin: 0 0 28px; color: var(--v2-dim); font-size: 17px; line-height: 1.6; }
body.v2.v2-home .home-sect .v2-grid { margin-top: 28px; }
body.v2.v2-home .v2-instock { display: inline-flex; align-items: center; gap: 7px; color: var(--v2-ok); font-size: 13px; font-weight: 700; white-space: nowrap; }
body.v2.v2-home .v2-instock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
body.v2.v2-home .hs-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.v2.v2-home .hs-links a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--v2-line-2);
  background: rgba(255, 255, 255, .04); color: var(--v2-text); font: 700 15px var(--v2-body); text-decoration: none; transition: background .2s, border-color .2s;
}
body.v2.v2-home .hs-links a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); }

body.v2.v2-home .hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
body.v2.v2-home .hw-card { padding: 24px; border-radius: 18px; border: 1px solid var(--v2-line); background: var(--v2-card); }
body.v2.v2-home .hw-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  background: rgba(118, 42, 234, .16); color: #b48cff;
}
body.v2.v2-home .hw-ico svg { width: 22px; height: 22px; }
body.v2.v2-home .hw-card h3 { margin: 0 0 8px; color: var(--v2-text); font: 400 23px/1.1 var(--v2-display); }
body.v2.v2-home .hw-card p { margin: 0; color: var(--v2-dim); font-size: 15px; line-height: 1.65; }
body.v2.v2-home .hw-card a, body.v2.v2-home .hfaq details p a { color: #b48cff; }

body.v2.v2-home .hfaq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin-top: 28px; }
body.v2.v2-home .hfaq details { border-radius: 16px; border: 1px solid var(--v2-line); background: var(--v2-card); }
body.v2.v2-home .hfaq summary { padding: 18px 22px; color: var(--v2-text); font: 700 17px var(--v2-body); }
body.v2.v2-home .hfaq summary::after { color: var(--v2-horn); font-size: 22px; }
body.v2.v2-home .hfaq details[open] { border-color: var(--v2-line-2); }
body.v2.v2-home .hfaq details p { padding: 0 22px 18px; color: var(--v2-dim); font-size: 15px; line-height: 1.7; }

body.v2.v2-home .hg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.v2.v2-home .hg-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border-radius: 18px;
  border: 1px solid var(--v2-line); background: var(--v2-card); color: inherit; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s;
}
body.v2.v2-home .hg-card:hover { transform: translateY(-4px); border-color: rgba(118, 42, 234, .6); box-shadow: 0 24px 50px -24px #762aea; }
body.v2.v2-home .hg-kicker { margin-bottom: 10px; color: var(--v2-horn); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
body.v2.v2-home .hg-card h3 { margin: 0 0 8px; color: var(--v2-text); font: 400 23px/1.12 var(--v2-display); }
body.v2.v2-home .hg-card p { margin: 0; color: var(--v2-dim); font-size: 15px; line-height: 1.6; }
body.v2.v2-home .hg-cta { color: var(--v2-text); font-weight: 700; font-size: 15px; }
body.v2.v2-home .hw-card h3, body.v2.v2-home .hg-card h3 {
  font-family: "Lilita One", "Outfit", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

@media (max-width: 1024px) {
  body.v2.v2-home .hw-grid, body.v2.v2-home .hg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body.v2.v2-home .home-sect { padding-top: 48px; }
  body.v2.v2-home .home-sect.last { padding-bottom: 48px; }
  body.v2.v2-home .home-sect .hs-sub { margin-bottom: 18px; font-size: 15px; }
  body.v2.v2-home .home-sect .v2-grid { margin-top: 18px; }
  body.v2.v2-home .v2-instock { display: none; }
  body.v2.v2-home .hw-grid, body.v2.v2-home .hg-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  body.v2.v2-home .hw-card, body.v2.v2-home .hg-card { padding: 18px; border-radius: 16px; }
  body.v2.v2-home .hw-ico { width: 38px; height: 38px; margin-bottom: 12px; }
  body.v2.v2-home .hw-card h3, body.v2.v2-home .hg-card h3 { font-size: 20px; }
  body.v2.v2-home .hfaq { margin-top: 18px; }
  body.v2.v2-home .hfaq summary { padding: 16px 18px; font-size: 15px; }
  body.v2.v2-home .hfaq details p { padding: 0 18px 16px; font-size: 14px; }
  body.v2.v2-home .hs-links { gap: 8px; }
  body.v2.v2-home .hs-links a { height: 40px; padding: 0 14px; font-size: 14px; }
}

html.light body.v2.v2-home .hw-card, html.light body.v2.v2-home .hfaq details, html.light body.v2.v2-home .hg-card {
  box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 10px 26px -18px rgba(40, 28, 60, .22);
}
html.light body.v2.v2-home .hw-ico { background: rgba(118, 42, 234, .1); color: #6c23dc; }
html.light body.v2.v2-home .hw-card a, html.light body.v2.v2-home .hfaq details p a { color: #6c23dc; }
html.light body.v2.v2-home .hs-links a { background: rgba(255, 255, 255, .7); }
html.light body.v2.v2-home .v2-show-art { background: radial-gradient(ellipse 62% 58% at 50% 38%, color-mix(in srgb, #5ca8b8 34%, var(--v2-art)), var(--v2-art)); }
html.light body.v2.v2-home .v2-show-info { background: rgba(255, 255, 255, .8); }

/* ============================================================
   Shared v2 surfaces for the remaining v1 pages (product, article, policy, marketing).
   ============================================================ */
body.v2 { --surface: var(--v2-card); --border: var(--v2-line); }
body.v2 :is(h1, h2, h3) a { color: inherit; }
body.v2 ::selection { background: rgba(118, 42, 234, .5); color: #fff; }

/* product pages (cape/*.html): shop card art, shop buttons, shop type */
body.v2.v2-product .p-crumbs, body.v2.v2-product .p-crumbs a { color: var(--v2-mute); font-size: 13px; }
body.v2.v2-product .p-crumbs a:hover { color: var(--v2-text); }
body.v2.v2-product .p-grid { grid-template-columns: minmax(0, 500px) 1fr; gap: 48px; }
body.v2.v2-product .p-imgbox {
  aspect-ratio: 1 / 1; border-radius: 22px; border: 1px solid var(--v2-line-2); background: #0f0e13;
  box-shadow: 0 40px 80px -40px var(--c, #762aea);
}
body.v2.v2-product .p-imgbadge {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--v2-line-2); background: rgba(13, 12, 16, .7);
  backdrop-filter: blur(6px); color: var(--v2-horn); font-size: 12px; letter-spacing: .4px;
}
body.v2.v2-product .p-info h1 { margin-bottom: 12px; color: var(--v2-text); font: 400 clamp(36px, 4vw, 54px)/1.04 var(--v2-display); letter-spacing: .3px; }
body.v2.v2-product .p-verified, body.v2.v2-product .p-vouchlink { padding: 6px 12px; border-radius: 999px; font-size: 13px; }
body.v2.v2-product .p-sub { color: var(--v2-dim); font-size: 16px; }
body.v2.v2-product .p-buybox { padding: 24px; border-radius: 20px; border: 1px solid var(--v2-line); background: var(--v2-card); }
body.v2.v2-product .p-price { color: var(--v2-text); font: 400 44px/1 var(--v2-display); letter-spacing: 0; }
body.v2.v2-product .p-price .u { color: var(--v2-mute); font: 600 14px var(--v2-body); }
body.v2.v2-product .p-stock { border-color: var(--v2-line-2); }
body.v2.v2-product .p-shipline { color: var(--v2-mute); font-size: 13px; }
body.v2.v2-product .btn-buy, body.v2.v2-product .ps-buy {
  height: 54px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--v2-purple); color: #fff; font: 700 16px var(--v2-body);
  box-shadow: 0 10px 30px -8px rgba(118, 42, 234, .8), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
body.v2.v2-product .btn-buy:hover:not(:disabled), body.v2.v2-product .ps-buy:hover:not(:disabled) { background: #8436f5; transform: none; }
body.v2.v2-product .btn-cart {
  height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--v2-line-2); background: rgba(255, 255, 255, .04);
  color: var(--v2-text); font: 700 16px var(--v2-body);
}
body.v2.v2-product .btn-cart:hover:not(:disabled) { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
body.v2.v2-product .p-trust-title { color: var(--v2-horn); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
body.v2.v2-product .p-trust-row { color: var(--v2-dim); font-size: 14px; }
body.v2.v2-product .p-trust-row svg { stroke: var(--v2-horn); }
body.v2.v2-product .p-payrow { border-top-color: var(--v2-line); }
body.v2.v2-product .p-storylink a { color: var(--v2-text); font-weight: 700; }
body.v2.v2-product .p-chip { padding: 8px 14px; border-radius: 999px; border-color: var(--v2-line-2); background: none; color: var(--v2-dim); font-size: 13px; font-weight: 700; }

body.v2.v2-product .p-body { max-width: 860px; color: var(--v2-dim); font-size: 16px; }
body.v2.v2-product .p-body h2, body.v2.v2-product .p-related h2 { margin: 44px 0 16px; color: var(--v2-text); font: 400 clamp(26px, 3vw, 34px)/1.1 var(--v2-display); letter-spacing: .3px; }
body.v2.v2-product .p-body a { color: #b48cff; }
body.v2.v2-product .p-lead { padding: 18px 20px; border: 1px solid var(--v2-line); border-left: 3px solid var(--v2-ok); border-radius: 16px; background: var(--v2-card); color: var(--v2-dim); font-size: 15px; }
body.v2.v2-product .p-glance { padding: 20px 22px; border-radius: 18px; border-color: var(--v2-line); background: var(--v2-card); gap: 12px; }
body.v2.v2-product .p-glance li { color: var(--v2-dim); font-size: 15px; }
body.v2.v2-product .p-glance li strong { color: var(--v2-text); }
body.v2.v2-product .p-compare { display: block; overflow-x: auto; border-radius: 16px; border: 1px solid var(--v2-line); background: var(--v2-card); font-size: 14px; }
body.v2.v2-product .p-compare th, body.v2.v2-product .p-compare td { padding: 12px 14px; border-bottom-color: var(--v2-line); }
body.v2.v2-product .p-compare th { color: var(--v2-horn); font-size: 12px; }
body.v2.v2-product .p-note { border-radius: 0 16px 16px 0; font-size: 15px; }
body.v2.v2-product .p-faq { padding: 6px 24px; border-radius: 18px; border-color: var(--v2-line); background: var(--v2-card); }
body.v2.v2-product .p-faq details { border-bottom-color: var(--v2-line); padding: 18px 0; }
body.v2.v2-product .p-faq summary { color: var(--v2-text); font: 700 17px var(--v2-body); }
body.v2.v2-product .p-faq p { color: var(--v2-dim); font-size: 15px; }

body.v2.v2-product .p-related { max-width: 1200px; }
body.v2.v2-product .p-rel-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
body.v2.v2-product .p-rel-card { border-radius: 18px; border-color: var(--v2-line); background: var(--v2-card); }
body.v2.v2-product .p-rel-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, #762aea) 60%, transparent); box-shadow: 0 24px 50px -24px var(--c, #762aea); }
body.v2.v2-product .prc-img { height: auto; aspect-ratio: 1 / 1; background: #0f0e13; }
body.v2.v2-product .prc-body { padding: 14px 16px 16px; }
body.v2.v2-product .prc-name { margin-bottom: 8px; color: var(--v2-text); font: 400 19px/1.15 var(--v2-display); white-space: normal; }
body.v2.v2-product .prc-row .prc-price { color: var(--v2-text); font: 400 21px/1 var(--v2-display); }
body.v2.v2-product .p-info h1, body.v2.v2-product .p-price, body.v2.v2-product .p-body h2, body.v2.v2-product .p-related h2,
body.v2.v2-product .prc-name, body.v2.v2-product .prc-row .prc-price, body.v2.v2-product .ps-price {
  font-family: "Lilita One", "Outfit", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif !important;
}
body.v2.v2-product .p-stickybar { background: rgba(19, 17, 26, .96); border-top-color: var(--v2-line); }
body.v2.v2-product .ps-price { font-size: 20px; font-weight: 400; }
@media (max-width: 900px) {
  body.v2.v2-product .p-grid { grid-template-columns: 1fr; gap: 26px; }
  body.v2.v2-product .p-imgcol { position: static; }
  body.v2.v2-product .p-imgbox { max-width: none; }
}
@media (max-width: 720px) {
  body.v2.v2-product .p-hero { margin-top: 14px; padding: 0 16px; }
  body.v2.v2-product .p-info h1 { font-size: 36px; }
  body.v2.v2-product .p-sub { font-size: 15px; }
  body.v2.v2-product .p-buybox { padding: 18px; }
  body.v2.v2-product .p-price { font-size: 38px; }
  body.v2.v2-product .p-body { padding: 36px 16px 0; font-size: 15px; }
  body.v2.v2-product .p-related { padding: 16px 16px 40px; }
  body.v2.v2-product .p-rel-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.v2.v2-product .prc-name { font-size: 16px; }
  body.v2.v2-product .p-stickybar { bottom: calc(64px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
  body.v2.v2-product .ps-buy { height: 46px; border-radius: 12px; box-shadow: none; }
}
html.light body.v2.v2-product .p-imgbox, html.light body.v2.v2-product .prc-img {
  background: radial-gradient(ellipse 62% 58% at 50% 38%, color-mix(in srgb, var(--c, #762aea) 34%, var(--v2-art)), var(--v2-art));
}
html.light body.v2.v2-product .p-imgbox { box-shadow: 0 30px 60px -40px var(--c, #762aea); }
html.light body.v2.v2-product .p-imgbadge { background: rgba(255, 255, 255, .88); }
html.light body.v2.v2-product .p-body a { color: #6c23dc; }
html.light body.v2.v2-product .btn-cart, html.light body.v2.v2-product .p-chip { background: rgba(255, 255, 255, .7); }
html.light body.v2.v2-product .p-stickybar { background: rgba(255, 255, 255, .96); }
html.light body.v2.v2-product .ps-name { color: var(--v2-dim); }
html.light body.v2.v2-product .ps-price, html.light body.v2.v2-product .p-faq summary { color: var(--v2-text); }

/* articles + blog hub (steam-blog template: blog-*.html, cape-*.html, blog.html, all-blogs.html) */
body.v2.steam-blog {
  --steam-bg: var(--v2-bg); --steam-panel: var(--v2-card); --steam-panel-2: var(--v2-bg-2); --steam-border: var(--v2-line);
  --steam-text: var(--v2-dim); --steam-text-dim: var(--v2-mute); --steam-title: var(--v2-text);
  --steam-link: #b48cff; --steam-accent: var(--v2-horn); --steam-purple: var(--v2-purple); --steam-gold: var(--v2-horn);
  --steam-highlight: rgba(118, 42, 234, .28); --steam-max: 980px;
  background: var(--v2-bg) !important; color: var(--v2-dim);
}
body.v2.steam-blog .steam-crumbs, body.v2.steam-blog .steam-crumbs a { color: var(--v2-mute); font-size: 13px; }
body.v2.steam-blog .steam-crumbs a:hover { color: var(--v2-text); text-decoration: none; }
body.v2.steam-blog .steam-panel { border-radius: 22px; border-color: var(--v2-line); background: var(--v2-card); box-shadow: 0 40px 80px -50px rgba(118, 42, 234, .6); }
body.v2.steam-blog .steam-banner { background: #0f0e13; border-bottom-color: var(--v2-line); }
body.v2.steam-blog .steam-banner::after { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--v2-card) 70%, transparent) 100%); }
body.v2.steam-blog .steam-category { color: var(--v2-horn); font-weight: 800; letter-spacing: 1.2px; }
body.v2.steam-blog .steam-badge { border-radius: 999px; font-weight: 800; }
body.v2.steam-blog .steam-title { color: var(--v2-text); font: 400 clamp(34px, 4.4vw, 56px)/1.04 var(--v2-display) !important; letter-spacing: .3px; }
body.v2.steam-blog .steam-byline { color: var(--v2-mute); }
body.v2.steam-blog .steam-share-btn { border-radius: 12px; border-color: var(--v2-line-2); background: rgba(255, 255, 255, .04); color: var(--v2-text); }
body.v2.steam-blog .steam-share-btn:hover { background: var(--v2-purple); border-color: var(--v2-purple); color: #fff; }
body.v2.steam-blog .steam-body { color: var(--v2-dim); font-size: 17px; line-height: 1.75; }
body.v2.steam-blog .steam-body h2 { color: var(--v2-text); font: 400 clamp(26px, 3vw, 34px)/1.12 var(--v2-display) !important; letter-spacing: .3px; }
body.v2.steam-blog .steam-body h3 { color: var(--v2-text); font: 400 22px/1.15 var(--v2-display) !important; }
body.v2.steam-blog .steam-body strong { color: var(--v2-text); }
body.v2.steam-blog .steam-body a { color: #b48cff; }
body.v2.steam-blog .steam-body mark { background: rgba(245, 165, 36, .2); color: var(--v2-text); }
body.v2.steam-blog :is(.steam-facts, .steam-body .facts, .steam-callout, .steam-body .callout, .steam-body .ptable, .steam-body .tl,
  .steam-body .rank-item, .steam-proof, .steam-fineprint, .steam-body .src-note) {
  border-color: var(--v2-line); border-radius: 16px; background: var(--v2-bg-2);
}
body.v2.steam-blog :is(.steam-facts, .steam-body .facts) .f-lbl, body.v2.steam-blog .steam-body .ptable th { color: var(--v2-horn); }
body.v2.steam-blog :is(.steam-facts, .steam-body .facts) .f-val { color: var(--v2-text); }
body.v2.steam-blog .steam-body .ptable { display: block; overflow-x: auto; }
body.v2.steam-blog .steam-body .ptable td, body.v2.steam-blog .steam-body .ptable th { border-color: var(--v2-line); }
body.v2.steam-blog .steam-body .rank-item.top { border-color: rgba(245, 165, 36, .45); }
body.v2.steam-blog .steam-body .rank-name, body.v2.steam-blog .steam-body .rank-price { color: var(--v2-text); }
body.v2.steam-blog :is(.steam-fig, .steam-body .cape-fig) img, body.v2.steam-blog .steam-proof img { border-radius: 16px; border-color: var(--v2-line); }
body.v2.steam-blog :is(.steam-cta, .steam-body .cta-card, .subscribe-cta) {
  border-radius: 20px; border: 1px solid rgba(118, 42, 234, .45); background:
  radial-gradient(ellipse 70% 120% at 100% 0%, rgba(118, 42, 234, .32), transparent 60%), var(--v2-bg-2);
}
body.v2.steam-blog :is(.steam-cta, .steam-body .cta-card) h3 { color: var(--v2-text); font: 400 26px/1.1 var(--v2-display) !important; }
body.v2.steam-blog :is(.steam-cta, .steam-body .cta-card) .btn-primary {
  height: 48px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--v2-purple); color: #fff; font: 700 15px var(--v2-body);
  box-shadow: 0 10px 30px -8px rgba(118, 42, 234, .8), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
body.v2.steam-blog :is(.steam-cta, .steam-body .cta-card) .btn-ghost {
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--v2-line-2); background: rgba(255, 255, 255, .04); color: var(--v2-text); font: 700 15px var(--v2-body);
}
body.v2.steam-blog .steam-related h2 { color: var(--v2-text); font: 400 clamp(26px, 3vw, 34px)/1.1 var(--v2-display) !important; }
body.v2.steam-blog .steam-related-grid a { border-radius: 18px; border-color: var(--v2-line); background: var(--v2-card); color: var(--v2-text); }
body.v2.steam-blog .steam-related-grid a:hover { border-color: rgba(118, 42, 234, .6); box-shadow: 0 24px 50px -24px #762aea; transform: translateY(-3px); }

body.v2.steam-blog .blog-hub-kicker { color: var(--v2-horn); font-weight: 800; letter-spacing: 1.2px; }
body.v2.steam-blog .blog-hub-head h1 { color: var(--v2-text); font: 400 clamp(40px, 5vw, 64px)/1.02 var(--v2-display) !important; letter-spacing: .3px; }
body.v2.steam-blog .blog-hub-head p { color: var(--v2-dim); font-size: 17px; }
body.v2.steam-blog .blog-card { border-radius: 18px; border: 1px solid var(--v2-line); background: var(--v2-card); }
body.v2.steam-blog .blog-card:hover { transform: translateY(-4px); border-color: rgba(118, 42, 234, .6); box-shadow: 0 24px 50px -24px #762aea; }
body.v2.steam-blog .blog-card-cap { background: linear-gradient(180deg, transparent, rgba(13, 12, 16, .92) 60%); }
body.v2.steam-blog .blog-card-cap h3 { font: 400 21px/1.12 var(--v2-display) !important; color: #fff; }
@media (max-width: 720px) {
  body.v2.steam-blog .steam-news { padding: 0 12px 32px; margin-top: 14px; }
  body.v2.steam-blog .steam-title { font-size: 32px !important; }
  body.v2.steam-blog .steam-body { font-size: 16px; }
  body.v2.steam-blog .steam-body h2 { font-size: 26px !important; }
  body.v2.steam-blog .blog-hub-head h1 { font-size: 38px !important; }
  body.v2.steam-blog .blog-card-cap h3 { font-size: 18px !important; }
}
html.light body.v2.steam-blog { --steam-link: #6c23dc; }
html.light body.v2.steam-blog .steam-panel { box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 20px 50px -30px rgba(40, 28, 60, .3); }
html.light body.v2.steam-blog .steam-banner { background: var(--v2-art); }
html.light body.v2.steam-blog .steam-body a { color: #6c23dc; }
html.light body.v2.steam-blog .steam-share-btn { background: rgba(255, 255, 255, .7); }
html.light body.v2.steam-blog :is(.steam-cta, .steam-body .cta-card, .subscribe-cta) { background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(118, 42, 234, .14), transparent 60%), var(--v2-card); }
html.light body.v2.steam-blog .blog-card-cap h3 { color: #fff; }
body.v2.steam-blog :is(.steam-body, .steam-body p, .steam-body li, .steam-byline, .steam-crumbs, .steam-fineprint) { font-family: var(--v2-body); }

/* marketing, policy, account and one-off pages: shop headings, shop hero band, shop surfaces */
body.v2:not(.v2-checkout):not(.v2-pay) :is(h1, h2) {
  font-family: "Lilita One", "Outfit", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif !important;
  font-weight: 400 !important; letter-spacing: .3px !important;
}
body.v2:not(.v2-checkout):not(.v2-pay) :is(h1, h2) :is(span, em, b, strong) { font-family: inherit !important; font-weight: inherit !important; }
body.v2 :is(.v2-giveaways, .v2-vouch) { background: var(--v2-bg); }
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero { padding: 0; margin: 0; }
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero-inner {
  position: relative; overflow: hidden; width: min(1200px, 100% - 40px); margin: 0 auto; padding: 44px 0 30px;
  border: 0; border-radius: 0; background: none; box-shadow: none;
}
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero::before {
  content: ""; position: absolute; right: -200px; top: -300px; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 42, 234, .3), transparent); pointer-events: none;
}
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--v2-line); }
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero-orb { display: none; }
body.v2 :is(.v1-hero, .lg-hero, .invite-hero, .sub-hero) .hero-tag, body.v2 .lg-hero :is(.lg-kicker, .lg-tag),
body.v2 :is(.invite-hero, .sub-hero) :is(.ih-kicker, .sh-kicker, .kicker, .eyebrow) {
  display: inline-flex; padding: 0; border: 0; background: none; color: var(--v2-horn); font: 800 13px var(--v2-body); letter-spacing: 1.2px; text-transform: uppercase;
}
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero h1 { margin: 12px 0 14px; color: var(--v2-text); font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1.02; }
body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero .hero-desc { max-width: 640px; color: var(--v2-dim); font-size: 18px; line-height: 1.6; }
body.v2 :is(.v1-hero, .lg-hero) .hero-trust .tchip { padding: 0; border: 0; background: none; color: var(--v2-dim); font: 600 14px var(--v2-body); }
body.v2 :is(.v1-hero, .lg-hero) .hero-trust .tchip svg { color: var(--v2-horn); }
body.v2:is(.v2-giveaways, .v2-vouch) .hero-trust { gap: 10px 22px; margin-top: 22px; }
body.v2.v2-giveaways .giveaways-wrap, body.v2.v2-giveaways .v1-sect { width: min(1200px, 100% - 40px); margin-left: auto; margin-right: auto; }

body.v2 :is(.btn-primary, .v1-btn-primary, .cta-primary):not(.v2-btn) {
  border: 0; border-radius: 14px; background: var(--v2-purple); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(118, 42, 234, .8), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
body.v2 :is(.btn-primary, .v1-btn-primary, .cta-primary):not(.v2-btn):hover { background: #8436f5; }
body.v2 :is(.btn-ghost, .v1-btn-ghost):not(.v2-btn) { border-radius: 14px; border: 1px solid var(--v2-line-2); background: rgba(255, 255, 255, .04); color: var(--v2-text); }

/* shared card surfaces on these pages */
body.v2:is(.v2-giveaways, .v2-vouch, .v2-legit, .v2-events, .v2-subscribe, .v2-account, .v2-delivery, .v2-review, .v2-404, .v2-policy, .v2-refund-policy)
  :is(.ga-card, .giveaway-card, .vc, .vouch-stats, .lg-card, .lg-step, .lg-box, .acc-card, .account-card, .rv-card, .order-card, .delivery-card, .ib-card, .inv-card, .sub-card, .how-card, .faq-item, .toc) {
  border-color: var(--v2-line); background: var(--v2-card);
}

/* legal pages */
body.v2:is(.v2-policy, .v2-refund-policy) .policy-wrap { max-width: 900px; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-head h1 { color: var(--v2-text); font-size: clamp(40px, 5vw, 60px) !important; line-height: 1.04; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-head .crumb { color: var(--v2-horn); font-weight: 800; letter-spacing: 1.2px; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-head .updated { color: var(--v2-mute); }
body.v2:is(.v2-policy, .v2-refund-policy) .toc { border: 0; background: none; }
body.v2:is(.v2-policy, .v2-refund-policy) .toc a {
  border-radius: 999px; border: 1px solid var(--v2-line-2); background: none; color: var(--v2-dim); font: 700 13px var(--v2-body);
}
body.v2:is(.v2-policy, .v2-refund-policy) .toc a:hover { border-color: var(--v2-text); color: var(--v2-text); }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-body { color: var(--v2-dim); font-size: 16px; line-height: 1.75; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-body h2 { margin-top: 40px; padding: 0; border: 0; color: var(--v2-text); font-size: 28px !important; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-body h2::before { display: none; }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-body strong { color: var(--v2-text); }
body.v2:is(.v2-policy, .v2-refund-policy) .policy-body a { color: #b48cff; }

/* 404 */
body.v2.v2-404 { background: var(--v2-bg) !important; }
body.v2.v2-404 h1 { color: var(--v2-text); font-size: clamp(36px, 5vw, 56px) !important; }

@media (max-width: 720px) {
  body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero-inner { width: calc(100% - 32px); padding: 22px 0 20px; }
  body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero h1 { font-size: 40px !important; }
  body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero .hero-desc { font-size: 16px; }
  body.v2.v2-giveaways .giveaways-wrap, body.v2.v2-giveaways .v1-sect { width: calc(100% - 32px); }
  body.v2:is(.v2-policy, .v2-refund-policy) .policy-head h1 { font-size: 38px !important; }
  body.v2:is(.v2-policy, .v2-refund-policy) .policy-body h2 { font-size: 24px !important; }
}
html.light body.v2:is(.v2-policy, .v2-refund-policy) .policy-body a { color: #6c23dc; }
html.light body.v2:is(.v2-giveaways, .v2-vouch) .v1-hero::before { background: radial-gradient(closest-side, rgba(118, 42, 234, .14), transparent); }
body.v2.v2-legit .lg-hero { max-width: none; margin: 0; padding: 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--v2-line); }
body.v2.v2-legit .lg-hero::before {
  content: ""; position: absolute; right: -200px; top: -300px; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 42, 234, .3), transparent); pointer-events: none;
}
body.v2.v2-legit .lg-hero-inner { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 36px 0 30px; border: 0; border-radius: 0; background: none; }
body.v2.v2-legit .lg-orb { display: none; }
body.v2.v2-legit .lg-crumbs, body.v2.v2-legit .lg-crumbs a { color: var(--v2-mute); font-size: 13px; }
body.v2.v2-legit .lg-hero-content { max-width: 760px; }
body.v2.v2-legit .lg-hero-content h1 {
  margin: 12px 0 14px; background: none; -webkit-text-fill-color: currentColor; color: var(--v2-text);
  font-size: clamp(40px, 5.4vw, 68px) !important; line-height: 1.02;
}
body.v2.v2-legit .lg-hero-content .sub { color: var(--v2-dim); font-size: 18px; line-height: 1.6; }
body.v2.v2-legit .lg-stat { padding: 0; border: 0; background: none; color: var(--v2-dim); font: 600 14px var(--v2-body); }
body.v2.v2-legit .lg-stat svg { color: var(--v2-horn); }
body.v2 :is(h1, h2)[style*="background-clip"], body.v2 .v1-hero h1 { -webkit-text-fill-color: currentColor; background: none; color: var(--v2-text); }
@media (max-width: 720px) {
  body.v2.v2-legit .lg-hero-inner { width: calc(100% - 32px); padding: 20px 0; }
  body.v2.v2-legit .lg-hero-content h1 { font-size: 38px !important; }
  body.v2.v2-legit .lg-hero-content .sub { font-size: 16px; }
}
body.v2 img.v2-art-swap { object-fit: cover !important; background: #0f0e13; }
html.light body.v2 img.v2-art-swap { background: radial-gradient(ellipse 62% 58% at 50% 38%, color-mix(in srgb, var(--c, #762aea) 34%, var(--v2-art)), var(--v2-art)); }
body.v2.v2-vouch .v1-sect { width: min(1200px, 100% - 40px); max-width: none; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
@media (max-width: 720px) { body.v2.v2-vouch .v1-sect { width: calc(100% - 32px); } }

/* checkout + pay (pay.css variables): shop colours, shop type, purple pay button */
body.v2:is(.v2-checkout, .v2-pay) {
  --bg: var(--v2-bg); --card: var(--v2-card); --text: var(--v2-text); --text-2: var(--v2-dim); --text-3: var(--v2-mute);
  --line: var(--v2-line); --line-2: var(--v2-line-2); --focus: #9b5cff; --focus-ring: 0 0 0 3px rgba(118, 42, 234, .35);
  --btn: var(--v2-purple); --btn-hover: #8436f5; --ok: var(--v2-ok); --radius: 12px; --font: var(--v2-body);
  --shadow-card: 0 0 0 1px var(--v2-line); --shadow-input: none; --danger-bg: rgba(223, 27, 65, .12);
  padding-bottom: 0;
}
html:has(body.v2:is(.v2-checkout, .v2-pay)) { background: var(--v2-bg, #0d0c10); }
body.v2:is(.v2-checkout, .v2-pay) .v2-tabbar { display: none !important; }
body.v2:is(.v2-checkout, .v2-pay) .pay-total { font: 400 46px/1.05 var(--v2-display); letter-spacing: 0; }
body.v2:is(.v2-checkout, .v2-pay) .pay-total .cur { font: 600 18px var(--v2-body); }
body.v2:is(.v2-checkout, .v2-pay) .pay-h { font: 400 28px/1.1 var(--v2-display); letter-spacing: .3px; }
body.v2:is(.v2-checkout, .v2-pay) .pay-merchant { color: var(--v2-horn); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
body.v2:is(.v2-checkout, .v2-pay) .pay-item-img { border-radius: 10px; background: #0f0e13; }
body.v2:is(.v2-checkout, .v2-pay) :is(input, select, textarea) { border-radius: 12px; background: var(--v2-bg-2); border-color: var(--v2-line-2); color: var(--v2-text); }
body.v2:is(.v2-checkout, .v2-pay) .pm-tile { border-radius: 14px; background: var(--v2-bg-2); border-color: var(--v2-line-2); }
body.v2:is(.v2-checkout, .v2-pay) .pm-tile.is-selected { border-color: #9b5cff; box-shadow: 0 0 0 1px #9b5cff; background: rgba(118, 42, 234, .12); }
body.v2:is(.v2-checkout, .v2-pay) :is(.pay-btn, .pay-submit, button[type="submit"]) {
  height: 54px; border: 0; border-radius: 14px; background: var(--v2-purple); color: #fff; font: 700 16px var(--v2-body);
  box-shadow: 0 10px 30px -8px rgba(118, 42, 234, .8), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
html.light body.v2:is(.v2-checkout, .v2-pay) { --shadow-card: 0 15px 35px rgba(60, 66, 87, .08), 0 5px 15px rgba(0, 0, 0, .06); }
html.light body.v2:is(.v2-checkout, .v2-pay) :is(input, select, textarea), html.light body.v2:is(.v2-checkout, .v2-pay) .pm-tile { background: #fff; }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) :is(.ac-list, .qty, .notice-card, .pm-tile .chk, .f-group-btn) { background: var(--v2-bg-2); border-color: var(--v2-line-2); color: var(--v2-text); }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) :is(.ac-item:hover, .ac-item.is-active) { background: rgba(255, 255, 255, .06); }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) .pm-tile.is-selected .chk { background: #9b5cff; border-color: #9b5cff; }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) :is(.pay-next .ico) { background: var(--v2-bg-2); }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) .notice-item { background: rgba(245, 165, 36, .08); border-color: rgba(245, 165, 36, .3); }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) .sk { background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.05) 75%); background-size: 200% 100%; }
body.v2:is(.v2-checkout, .v2-pay) .f-group-btn { font-weight: 700; }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) .pay-lock { background: rgba(52, 211, 153, .1); color: var(--v2-ok); font-weight: 700; }
html:not(.light) body.v2:is(.v2-checkout, .v2-pay) .f-group-btn:hover { background: rgba(255, 255, 255, .08); }
html.light body.v2 .v2-pay img { border-radius: 5px; box-shadow: 0 0 0 1px var(--v2-line-2); }

/* language / currency menu (styles injected by i18n.js are dark-only) */
html.light .mcl-btn { background: rgba(255, 255, 255, .75) !important; border-color: var(--v2-line-2, rgba(40, 28, 60, .16)) !important; color: #1c1724 !important; }
html.light .mcl-btn:hover, html.light .mcl.open .mcl-btn { background: rgba(118, 42, 234, .08) !important; border-color: rgba(108, 35, 220, .35) !important; }
html.light .mcl-btn .mcl-cur { color: rgba(28, 23, 36, .62) !important; }
html.light .mcl-btn .mcl-sep { background: rgba(40, 28, 60, .18) !important; }
html.light .mcl-panel, html.light .mcl-banner { background: rgba(255, 255, 255, .98) !important; border-color: rgba(40, 28, 60, .12) !important; color: #1c1724 !important; box-shadow: 0 24px 60px -20px rgba(40, 28, 60, .35) !important; }
html.light .mcl-col h4 { color: rgba(28, 23, 36, .5) !important; }
html.light .mcl-item { color: rgba(28, 23, 36, .82) !important; }
html.light .mcl-item b { color: #1c1724 !important; }
html.light .mcl-item small { color: rgba(28, 23, 36, .5) !important; }
html.light .mcl-item:hover { background: rgba(40, 28, 60, .05) !important; color: #1c1724 !important; }
html.light .mcl-item.on { background: rgba(118, 42, 234, .1) !important; color: #1c1724 !important; }
html.light .mcl-search { background: #fff !important; border-color: rgba(40, 28, 60, .16) !important; color: #1c1724 !important; }
html.light .mcl-note { color: rgba(28, 23, 36, .55) !important; border-top-color: rgba(40, 28, 60, .1) !important; }
html.light .mcl-banner-x { color: rgba(28, 23, 36, .55) !important; }
html.light .mcl-list { scrollbar-color: rgba(40, 28, 60, .2) transparent !important; }

/* light theme: page-specific panels that were hard-coded dark */
html.light body.v2 :is(.panel, .empty-state, .drop-card, .mail-stamp, .ga, .ga.completed, .creeper-drop, .subscriber-redirect) {
  background: var(--v2-card) !important; border-color: var(--v2-line) !important;
  box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 12px 30px -20px rgba(40, 28, 60, .28) !important;
}
html.light body.v2 :is(.drop-art, .cape-tile) { background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(118, 42, 234, .14), var(--v2-art)) !important; border-color: var(--v2-line) !important; }
html.light body.v2 .panel input, html.light body.v2 .empty-state input { background: #fff !important; border-color: var(--v2-line-2) !important; color: var(--v2-text) !important; }
html.light body.v2:is(.v2-blog-aurora-cape) article, html.light body.v2 article.panel {
  background: var(--v2-card) !important; border-color: var(--v2-line) !important; box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 20px 50px -30px rgba(40, 28, 60, .3) !important;
}
html.light body.v2 article.panel .hero, html.light body.v2:is(.v2-blog-aurora-cape) figure { background: var(--v2-art) !important; }
html.light body.v2:is(.v2-blog-aurora-cape) th { background: var(--v2-bg-2) !important; }
html.light body.v2 .subscribe-cta { background: radial-gradient(80% 140% at 100% 0, rgba(118, 42, 234, .12), transparent 60%), var(--v2-card) !important; border-color: rgba(118, 42, 234, .25) !important; }
html.light body.v2 :is(.invite-teaser, .membership-bar) {
  background: linear-gradient(110deg, rgba(245, 165, 36, .1), var(--v2-card) 55%) !important; border-color: var(--v2-line) !important;
  box-shadow: 0 1px 2px rgba(40, 28, 60, .04), 0 12px 30px -20px rgba(40, 28, 60, .28) !important;
}
html.light body.v2 .membership-bar { background: linear-gradient(100deg, rgba(118, 42, 234, .08), var(--v2-card) 55%) !important; }

/* product cards: keep the price row inside the card padding at every grid width */
body.v2 .v2-card { container-type: inline-size; }
body.v2 .v2-row > * { min-width: 0; }
@container (max-width: 300px) {
  body.v2 .v2-card .v2-price .u { display: none; }
}
@container (max-width: 268px) {
  body.v2 .v2-card .v2-add[data-icon] { flex: 0 0 44px; width: 44px; padding: 0; }
  body.v2 .v2-card .v2-add[data-icon] span { display: none; }
}
body.v2:is(.v2-checkout, .v2-pay) .pm-tile .brand-row { flex-wrap: nowrap; overflow: hidden; max-width: 100%; }
body.v2:is(.v2-checkout, .v2-pay) .pm-tile { min-width: 0; }
