/* public/assets/test/css/game/detail/game-show-v2.pc.css */
/* =========================================================
   game-show-v2.pc.css (Desktop) — Clean + Coupon modal + Recent ticker stable
   20260204: coupon style + remove duplicated recent rules + keep your hero/grid
========================================================= */

:root{
  --fm-text: #0b1220;
  --fm-muted:#6b7280;

  --fm-card: rgba(255,255,255,.92);
  --fm-shadow: 0 18px 45px rgba(15,23,42,.10);
  --fm-radius: 26px;

  --fm-yellow: var(--fm-brand-yellow);
  --fm-orange: var(--fm-brand-yellow);

  --fm-red: #ef4444;
  --fm-green: #10b981;
}

/* =========================
   page bg: full-page blur
========================= */
.fm-gsv2{
  position: relative;
  min-height: 100vh;
  color: var(--fm-text);
  font-size: 14px;
  isolation: isolate;

  --gsv2-bg-blur: 16px;
  --gsv2-bg-opacity: .86;
  --gsv2-ol-top: .18;
  --gsv2-ol-mid: .44;
  --gsv2-ol-bot: .62;

  --gsv2-container-max: 1240px;
  --gsv2-container-pad: 24px;

  --gsv2-container-left: max(
    var(--gsv2-container-pad),
    calc((100vw - var(--gsv2-container-max)) / 2 + var(--gsv2-container-pad))
  );

  --gsv2-back-gap: 0px;
  --gsv2-back-top: 90px;
}

.fm-gsv2::before{
  content:"";
  position: fixed;
  inset: -60px;
  z-index: -2;
  background-image: var(--fm-hero-bg);
  background-size: cover;
  background-position: center;
  filter: blur(var(--gsv2-bg-blur)) saturate(1.12) contrast(1.04);
  transform: scale(1.12);
  opacity: var(--gsv2-bg-opacity);
}

.fm-gsv2::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,var(--gsv2-ol-top)) 0%,
      rgba(255,255,255,var(--gsv2-ol-mid)) 36%,
      rgba(255,255,255,var(--gsv2-ol-bot)) 100%);
}

.fm-gsv2 .fm-container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* =========================
   HERO
========================= */
.fm-gsv2 .fm-hero{ padding: 0px 0 10px; }
.fm-gsv2 .fm-hero::after{ content:none !important; }

.fm-gsv2 .fm-heroInner{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-left: 0;
  padding-right: 0;
}

/* back / fav */
.fm-gsv2 .fm-heroBack,
.fm-gsv2 .fm-heroFav{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 28px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fm-gsv2 .fm-heroBack .material-icons,
.fm-gsv2 .fm-heroFav .material-icons{
  font-size: 22px;
  color: rgba(15,23,42,.78);
}
.fm-gsv2 .fm-heroFav{
  position: absolute;
  top: 56px;
  right: 0;
}
.fm-gsv2 .fm-heroFav.is-active .material-icons{ color: #ff5a1f; }

.fm-gsv2 .fm-heroBack.fm-heroBack--fixed{
  position: fixed;
  left: clamp(12px, calc(var(--gsv2-container-left) - var(--gsv2-back-gap)), 9999px);
  top:  var(--gsv2-back-top);
  z-index: 999998;
}

/* cover */
.fm-gsv2 .fm-heroCover{
  margin-top: 62px;
  width: 210px;
  height: 320px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.4);
  box-shadow: 0 18px 38px rgba(15,23,42,.14);
  cursor: zoom-in;
  flex: 0 0 auto;
}
.fm-gsv2 .fm-heroCover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* meta */
.fm-gsv2 .fm-heroMeta{ min-width: 0; padding-top: 42px; background: transparent; }

.fm-gsv2 .fm-heroTitleRow{ display:flex; align-items:center; gap:12px; }
.fm-gsv2 .fm-heroTitle{
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.2px;
  color: rgba(11,18,32,.92);
}
.fm-gsv2 .fm-heroOff{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  background: var(--fm-yellow);
  color: rgba(11,18,32,.92);
  box-shadow: 0 10px 18px rgba(15,23,42,.10);
}

/* chips */
.fm-gsv2 .fm-heroChips{
  margin-top: 14px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.fm-gsv2 .fm-chip{
  border:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background: rgba(16,185,129,.18);
  color: rgba(11,18,32,.82);
  font-weight:600;
  font-size:13px;
  box-shadow: 0 14px 26px rgba(15,23,42,.10);
}
.fm-gsv2 .fm-chip .ico{
  width:28px;height:28px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background: rgba(16,185,129,.90);
  box-shadow: 0 10px 18px rgba(15,23,42,.12);
}
.fm-gsv2 .fm-chip .ico .material-icons{ font-size:18px; color:#fff; }

.fm-gsv2 .fm-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 26px rgba(15,23,42,.10);
  font-size:13px;
  font-weight:600;
  color: rgba(11,18,32,.76);
}
.fm-gsv2 .fm-pill .ico{
  width:28px;height:28px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  box-shadow: 0 10px 18px rgba(15,23,42,.10);
}
.fm-gsv2 .fm-pill .ico .material-icons{ font-size:18px;color:#fff; }
.fm-gsv2 .fm-pill--sales .ico{ background:#ef4444; }
.fm-gsv2 .fm-pill--rating .ico{ background:var(--fm-brand-yellow); }
.fm-gsv2 .fm-pill--fav   .ico{ background:#ef4444; }

.fm-gsv2 .fm-pill .k{ opacity:.82; }
.fm-gsv2 .fm-pill .v,
.fm-gsv2 .fm-pill .v2{ font-weight:600; margin-left:2px; }
.fm-gsv2 .fm-pill .v.is-red,
.fm-gsv2 .fm-pill .v2.is-red{ color:#ef4444; }
.fm-gsv2 .fm-pill .v.is-yellow,
.fm-gsv2 .fm-pill .v2.is-yellow{ color:var(--fm-brand-yellow); }

/* =========================
   Recent ticker (PC stable)
   - ONLY ONE VERSION (remove duplicates)
========================= */
.fm-gsv2 .fm-heroRecent{
  --fm-recent-row-h: 56px;
  --fm-recent-top-op: .42;
  --fm-recent-bot-op: .72;

  margin-top: 14px;
  position: relative;
  overflow: hidden;
  height: calc(var(--fm-recent-row-h) * 4);
  background: transparent;

  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,var(--fm-recent-top-op)) 0%,
    rgba(0,0,0,var(--fm-recent-top-op)) 25%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,1) 75%,
    rgba(0,0,0,var(--fm-recent-bot-op)) 75%,
    rgba(0,0,0,var(--fm-recent-bot-op)) 100%
  );
  mask-image: linear-gradient(to bottom,
    rgba(0,0,0,var(--fm-recent-top-op)) 0%,
    rgba(0,0,0,var(--fm-recent-top-op)) 25%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,1) 75%,
    rgba(0,0,0,var(--fm-recent-bot-op)) 75%,
    rgba(0,0,0,var(--fm-recent-bot-op)) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.fm-gsv2 #fm_recent_list{
  margin:0;
  padding:0;
  list-style:none;
  transform: translateY(0);
  will-change: transform;
}

.fm-gsv2 #fm_recent_list > .fm-heroRecentItem{
  height: var(--fm-recent-row-h);
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 0;
  box-sizing:border-box;
  overflow:hidden;
}

.fm-gsv2 .fm-heroRecentAvatar{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 18px rgba(15,23,42,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  color: rgba(11,18,32,.70);
}
.fm-gsv2 .fm-heroRecentAvatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.fm-gsv2 .fm-heroRecentTxt{ min-width:0; color: rgba(11,18,32,.72); }
.fm-gsv2 .fm-heroRecentTxt .l1{ font-size:13px; font-weight:600; line-height:1.2; }
.fm-gsv2 .fm-heroRecentTxt .l2{ margin-top:2px; font-size:12px; font-weight:600; line-height:1.25; color: rgba(11,18,32,.62); }

/* =========================
   MAIN GRID
========================= */
.fm-gsv2 .fm-main{ padding: 8px 0 22px; }

.fm-gsv2 .fm-mainGrid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap:26px;
  align-items:start;
}

/* purchase card */
.fm-gsv2 .fm-purchaseCard{
  background: rgba(255,255,255,.92);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  padding: 14px 16px 18px;
}

/* scene tabs */
.fm-gsv2 .fm-sceneTabs{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 26px rgba(15,23,42,.10);
}
.fm-gsv2 .fm-sceneTabs__btn{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:10px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  color: rgba(11,18,32,.55);
  white-space:nowrap;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.fm-gsv2 .fm-sceneTabs__btn:hover{ transform: translateY(-1px); color: rgba(11,18,32,.75); }
.fm-gsv2 .fm-sceneTabs__btn.is-active{
  background: rgba(11,18,32,.92);
  color:#fff;
  box-shadow: 0 12px 22px rgba(15,23,42,.14);
}

/* panes */
.fm-gsv2 .scene-pane{ display:none; }
.fm-gsv2 .scene-pane.is-active{ display:block; }

/* sku grid */
.fm-gsv2 .fm-skuGrid{
  margin-top:14px;
  padding:4px 2px 0;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:18px;
}
.fm-gsv2 .fm-sku input{ display:none; }

.fm-gsv2 .fm-sku__card{
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 22px rgba(15,23,42,.06);
  cursor:pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.fm-gsv2 .fm-sku__card:hover{ transform: translateY(-1px); box-shadow: 0 16px 28px rgba(15,23,42,.10); }

.fm-gsv2 .fm-sku input:checked + .fm-sku__card{
  background: rgba(var(--fm-brand-yellow-rgb), .92);
  border-color: rgba(var(--fm-brand-yellow-rgb), .70);
  box-shadow: 0 18px 30px rgba(15,23,42,.12);
}

.fm-gsv2 .fm-sku__img{
  position:relative;
  aspect-ratio: 12 / 12;
  background: rgba(255,255,255,.40);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.fm-gsv2 .fm-sku input:checked + .fm-sku__card .fm-sku__img{ border-bottom-color: rgba(var(--fm-brand-yellow-rgb), .55); }
.fm-gsv2 .fm-sku__img img{ width:100%; height:100%; object-fit:cover; display:block; }

.fm-gsv2 .fm-sku__info{
  position:absolute;
  top:10px; left:10px;
  width:26px; height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.70);
  box-shadow: 0 10px 16px rgba(15,23,42,.10);
  z-index:2;
}
.fm-gsv2 .fm-sku__info .material-icons{ font-size:16px; color: rgba(11,18,32,.55); }

/* check corner (smooth appear) */
.fm-gsv2 .fm-sku__check{
  position:absolute;
  top:0; right:0;
  width:46px; height:46px;
  background:#f97316;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index:3;

  opacity:0;
  transform: scale(.88);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s cubic-bezier(.22,.61,.36,1);
  pointer-events:none;
}
.fm-gsv2 .fm-sku input:checked + .fm-sku__card .fm-sku__check{
  opacity:1;
  transform: scale(1);
}
.fm-gsv2 .fm-sku__check .material-icons{
  position:absolute;
  top:9px; right:9px;
  font-size:18px;
  color:#fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.fm-gsv2 .fm-sku__meta{
  position:relative;
  padding:12px 14px 14px;
  padding-right:68px;
  display:flex;
  flex-direction:column;
  min-height:78px;          /* 至少容纳 2 行 name + 一行价格 */
}
.fm-gsv2 .fm-sku__name{
  font-size:14px;
  font-weight:600;
  color: rgba(11,18,32,.86);
  line-height:1.1;
  min-height:28px;
}
.fm-gsv2 .fm-sku__priceRow{
  margin-top:auto;          /* 关键：把价格推到 meta 底部 */
  padding-top:8px;
  display:flex;
  align-items:baseline;
  gap:12px;
}
.fm-gsv2 .fm-sku__priceRow .now{
  font-size:16px;
  font-weight:600;
  color: rgba(11,18,32,.90);
}
.fm-gsv2 .fm-sku__priceRow .old{
  font-size:12px;
  font-weight:600;
  color: rgba(107,114,128,.90);
  text-decoration: line-through;
}
.fm-gsv2 .fm-sku__off{
  position:absolute;
  right:12px;
  bottom:12px;
  height:22px;
  padding:0 10px;
  border-radius:999px;
  background: var(--fm-yellow);
  color: rgba(11,18,32,.90);
  font-weight:600;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 16px rgba(15,23,42,.10);
}

/* =========================
   BILL (right summary)
========================= */
.fm-gsv2 .fm-bill{
  position: sticky;
  top: 14px;
  background: rgba(255,255,255,.92);
  border-radius: 22px;
  box-shadow: var(--fm-shadow);
  padding: 16px 16px 18px;
}
.fm-gsv2 .fm-bill__title{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  color: rgba(11,18,32,.85);
}
.fm-gsv2 .fm-bill__title .material-icons{ font-size:18px; opacity:.75; }

.fm-gsv2 .fm-bill__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  border-top:1px solid rgba(15,23,42,.08);
  font-size:13px;
}
.fm-gsv2 .fm-bill__row:first-of-type{ border-top:0; }
.fm-gsv2 .fm-bill__row .k{ color: rgba(107,114,128,.95); font-weight:600; }
.fm-gsv2 .fm-bill__row .v{ color: rgba(11,18,32,.90); font-weight:600; }

.fm-gsv2 .fm-bill__link{
  border:0;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
  color: rgba(var(--fm-brand-yellow-rgb), .95);
  padding:6px 8px;
  border-radius:12px;
}
.fm-gsv2 .fm-bill__link:hover{ background: rgba(var(--fm-brand-yellow-rgb), .10); }
.fm-gsv2 .fm-bill__link .material-icons{ font-size:18px; opacity:.65; }

.fm-gsv2 .fm-bill__break{
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(15,23,42,.16);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fm-gsv2 .fm-bill__break .r{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  font-weight:600;
  color: rgba(107,114,128,.95);
}
.fm-gsv2 .fm-bill__break .r .v{ color: rgba(11,18,32,.86); font-weight:600; }

.fm-gsv2 .fm-bill__total{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.10);
  display:flex;
  align-items:baseline;
  justify-content:space-between;
}
.fm-gsv2 .fm-bill__total .k{ font-size:13px; font-weight:600; color: rgba(11,18,32,.80); }
.fm-gsv2 .fm-bill__total .v{ font-size:26px; font-weight:600; color: rgba(11,18,32,.92); }

.fm-gsv2 .fm-btn{
  width:100%;
  border:0;
  cursor:pointer;
  margin-top:14px;
  border-radius:999px;
  padding:14px 16px;
  font-size:14px;
  font-weight:600;
  transition: transform .12s ease, filter .15s ease;
}
.fm-gsv2 .fm-btn-primary{
  background: var(--fm-yellow);
  color: rgba(11,18,32,.92);
  box-shadow: 0 16px 26px rgba(15,23,42,.12);
}
.fm-gsv2 .fm-btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.02); }

/* details card */
.fm-gsv2 .fm-detailCard{
  margin-top:16px;
  background: rgba(255,255,255,.92);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  overflow:hidden;
}
.fm-gsv2 .fm-detailCard__head{
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.fm-gsv2 .fm-detailCard__head .ttl{ font-size:14px; font-weight:600; margin-bottom:10px; }
.fm-gsv2 .tabs-nav-item{
  padding:8px 12px;
  border-radius:999px;
  border:0;
  background: rgba(11,18,32,.92);
  color:#fff;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  margin-right:8px;
}
.fm-gsv2 .fm-detailCard__body{
  padding:14px 16px 18px;
  color: rgba(11,18,32,.78);
  font-size:13px;
  line-height:1.85;
}
.fm-gsv2 .tab-panel{ display:none; }
.fm-gsv2 .tab-panel.is-active{ display:block; }
.fm-gsv2 .tab-panel h3{ font-size:14px; font-weight:600; margin:0 0 10px; }

/* helpers */
.fm-gsv2 .fm-empty{ padding:12px 14px; color: var(--fm-muted); font-weight:600; }

/* =========================
   Modal base
========================= */
.fm-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.fm-modal.is-open,
.fm-modal.is-active{ display:flex; }

.fm-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(2,6,23,.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fm-modal-dialog{
  position:relative;
  width: min(560px, calc(100vw - 28px));
  max-height: min(78vh, 720px);
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.fm-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.fm-modal-title{ font-weight:600; font-size:15px; color: rgba(11,18,32,.86); }
.fm-modal-x{
  border:0;
  background: rgba(15,23,42,.04);
  padding: 8px;
  border-radius: 12px;
  cursor:pointer;
}
.fm-modal-x:hover{ background: rgba(15,23,42,.08); }

.fm-modal-body{
  padding: 12px 14px 14px;
  overflow:auto;
  max-height: calc(min(78vh, 720px) - 54px);
}

/* =========================
   Coupon modal (FULL STYLE)
========================= */
#fm-coupon-modal .fm-modal-dialog{
  width: min(640px, calc(100vw - 28px));
}

#fm_coupon_list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-coupon-empty{
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(15,23,42,.03);
  color: rgba(107,114,128,.95);
  font-weight: 600;
}

.fm-coupon-item{
  width: 100%;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.fm-coupon-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15,23,42,.10);
}

.fm-coupon-item.is-selected{
  background: rgba(var(--fm-brand-yellow-rgb), .55);
  border-color: rgba(var(--fm-brand-yellow-rgb), .55);
}

.fm-coupon-item.is-disabled{
  opacity: .52;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.fm-coupon-main{
  min-width: 0;
  flex: 1 1 auto;
}

.fm-coupon-title{
  font-size: 14px;
  font-weight: 600;
  color: rgba(11,18,32,.88);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-coupon-sub{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(107,114,128,.92);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-coupon-right{
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.fm-coupon-val{
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--fm-brand-yellow-rgb), .98);
}

.fm-coupon-save{
  font-size: 12px;
  font-weight: 600;
  color: rgba(16,185,129,.95);
  background: rgba(16,185,129,.12);
  padding: 4px 8px;
  border-radius: 999px;
}

.fm-coupon-bad{
  font-size: 12px;
  font-weight: 600;
  color: rgba(239,68,68,.95);
  background: rgba(239,68,68,.10);
  padding: 4px 8px;
  border-radius: 999px;
}

#fm_coupon_clear{
  width: 100%;
  margin-top: 12px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(15,23,42,.06);
  color: rgba(11,18,32,.82);
  transition: background .15s ease, transform .12s ease;
}
#fm_coupon_clear:hover{
  background: rgba(15,23,42,.10);
  transform: translateY(-1px);
}

/* =========================
   Image Preview Overlay
========================= */
.fm-img-preview{
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(2,6,23,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.fm-img-preview__img{
  max-width: min(980px, 92vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  background:#fff;
}
.fm-img-preview__x{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 30px rgba(15,23,42,.18);
}
.fm-img-preview__x .material-icons{
  font-size:22px;
  color: rgba(15,23,42,.78);
}

/* material icons tweak */
.material-icons{
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-feature-settings: "liga";
}

/* ===== PATCH: Recent ticker (no bullet + stable row) ===== */
.fm-gsv2 .fm-heroRecentList,
.fm-gsv2 #fm_recent_list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fm-gsv2 .fm-heroRecentList > li,
.fm-gsv2 #fm_recent_list > li{
  list-style: none !important;
}

/* 兜底：强制每行固定高度，JS 轮转靠它 */
.fm-gsv2 .fm-heroRecent{
  --fm-recent-row-h: 56px; /* 你要改行高就只改这里 */
}
.fm-gsv2 #fm_recent_list > .fm-heroRecentItem{
  height: var(--fm-recent-row-h);
}

/* ===== PATCH: Coupon modal (match CK3 checkout) ===== */
#fm-coupon-modal{
  --ck3-text: #0f172a;
  --ck3-muted: rgba(15,23,42,.56);
  --ck3-accent: var(--fm-brand-yellow);
  --ck3-border: rgba(15,23,42,.10);
}

#fm-coupon-modal.ck3-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;

  /* ✅ 关键兜底：如果它同时带 .fm-modal，清掉 padding，避免 mask 四周漏边/点击怪 */
  padding: 0 !important;
  box-sizing: border-box;
}
#fm-coupon-modal.is-open{ display:block; }

#fm-coupon-modal .ck3-modal__mask{
  position:absolute; inset:0;
  background: rgba(15,23,42,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#fm-coupon-modal .ck3-modal__panel{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100% - 26px));
  max-height: min(76vh, 720px);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--ck3-border);
  box-shadow: 0 26px 90px rgba(2,6,23,.18);
  overflow:hidden;
  display:flex;
  flex-direction: column;
}

#fm-coupon-modal .ck3-modal__hd{
  padding: 12px 12px;
  display:flex; align-items:center; justify-content: space-between;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
#fm-coupon-modal .ck3-modal__title{
  font-weight: 600;
  color: var(--ck3-text);
  font-size: 13px;
}
#fm-coupon-modal .ck3-modal__x{
  border:0; background:transparent;
  cursor:pointer;
  font-size: 18px;
  color: rgba(15,23,42,.6);
}

#fm-coupon-modal .ck3-modal__bd{
  padding: 12px 12px;
  overflow:auto;
}

#fm-coupon-modal .ck3-modal__ft{
  padding: 12px 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  display:flex;
  gap: 10px;
}

#fm-coupon-modal .ck3-btn{
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  cursor:pointer;
  font-weight: 600;
  flex: 1;
  font-size: 13px;
}
#fm-coupon-modal .ck3-btn--primary{
  background: var(--ck3-accent);
  border-color: rgba(var(--fm-brand-yellow-rgb), .55);
}
#fm-coupon-modal .ck3-btn--ghost{ background: rgba(255,255,255,.55); }

/* coupon item */
#fm-coupon-modal .ck3-coupon-item{
  width: 100%;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  border-radius: 16px;
  padding: 10px 10px;
  margin-bottom: 10px;
  cursor:pointer;
  text-align:left;
}
#fm-coupon-modal .ck3-coupon-item.is-active{
  border-color: rgba(var(--fm-brand-yellow-rgb), .60);
  box-shadow: 0 10px 28px rgba(var(--fm-brand-yellow-rgb), .10);
}
#fm-coupon-modal .ck3-coupon-item.is-disabled{
  opacity:.55;
  cursor:not-allowed;
}
#fm-coupon-modal .ck3-coupon-item__t{
  font-weight: 600;
  color: var(--ck3-text);
  font-size: 13px;
}
#fm-coupon-modal .ck3-coupon-item__d{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15,23,42,.55);
}

/* =========================
   PATCH: heroBack 跟 heroFav 同一套“固定在 hero 里”
   （放在 game-show-v2.pc.css 最底部）
========================= */

/* 确保定位参照物是 hero 容器 */
.fm-gsv2 .fm-heroInner{
  position: relative; /* 你前面已有，但这里再兜底一次 */
}

/* 关键：把 back 从 viewport-fixed 改成 hero-absolute */
.fm-gsv2 .fm-heroBack.fm-heroBack--fixed{
  position: absolute !important;
  top: 18px !important;
  left: 277px !important;
  z-index: 6 !important;

  /* 清掉你之前 fixed 用的定位变量影响 */
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

/* =========================================================
   FIX: Reviews section must use SAME container as .fm-main
   Put at VERY BOTTOM of game-show-v2.pc.css
========================================================= */

/* Reviews 区块本身留点间距（按你页面节奏） */
.fm-gsv2 .fm-gsv2Reviews{
  padding: 6px 0 26px;
}

/* 关键：让 Reviews Grid “自己变成 fm-container”——和上面主区完全同宽同内边距 */
.fm-gsv2 .fm-gsv2ReviewsGrid{
  width: 100%;
  max-width: var(--gsv2-container-max, 1240px) !important;
  margin: 0 auto !important;
  padding: 0 var(--gsv2-container-pad, 24px) !important;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px; /* 同 .fm-mainGrid */
  gap: 26px;                                  /* 同 .fm-mainGrid */
  align-items: start;
}

/* 你现在 HTML 只有 Left，没有 Right，占位用伪元素补一格（保证列宽永远生效） */
.fm-gsv2 .fm-gsv2ReviewsGrid::after{
  content:"";
  min-height: 1px;
}

/* 左列不允许被内容撑爆 */
.fm-gsv2 .fm-gsv2ReviewsLeft{ min-width: 0; }

/* include 内部如果又套了 container/wrap，直接打平（避免二次缩进） */
.fm-gsv2 .fm-gsv2ReviewsLeft :is(.fm-container, .fm-page, .container, .wrap, .inner){
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 如果 include 内部 container 自带左右 padding，会再缩一圈——清掉 */
.fm-gsv2 .fm-gsv2ReviewsLeft :is(.fm-container, .container){
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* reviews 根节点/卡片撑满左列 */
.fm-gsv2 .fm-gsv2ReviewsLeft .fm-rv2,
.fm-gsv2 .fm-gsv2ReviewsLeft .fm-rv2-card{
  width: 100% !important;
  max-width: none !important;
}

/* =========================================================
   FIX: PC SKU selected checkmark (triangle + tick)
   Put at VERY BOTTOM of game-show-v2.pc.css
========================================================= */

/* 兜底：确保定位参照物没被其他 css 冲掉 */
.fm-gsv2 .fm-sku__img{
  position: relative !important;
}

/* 兜底：确保右上角三角永远在最上层、可见 */
.fm-gsv2 .fm-sku__check{
  display: block !important;
  z-index: 10 !important;
  pointer-events: none;
}

/* 兜底：选中态强制显示（防止被其他 patch 覆盖） */
.fm-gsv2 .fm-sku input:checked + .fm-sku__card .fm-sku__check{
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ✅ 关键：你现在用的是 SVG，不是 material-icons —— 给 SVG 定位 */
.fm-gsv2 .fm-sku__checkSvg{
  position: absolute;
  top: 9px;
  right: 9px;
  width: 18px;
  height: 14px;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(15,23,42,.18));
}

/* 防止某些全局 svg/path 样式把填充色清掉 */
.fm-gsv2 .fm-sku__checkSvg path{
  fill: var(--fm-brand-yellow-soft) !important; /* 你 SVG 里本来就是这个色 */
}

/* Safari/老浏览器 clip-path 兜底：用伪元素画三角 */
@supports not (clip-path: polygon(100% 0, 0 0, 100% 100%)) {
  .fm-gsv2 .fm-sku__check{
    background: transparent !important;
    clip-path: none !important;
  }
  .fm-gsv2 .fm-sku__check::before{
    content:"";
    position:absolute;
    top:0; right:0;
    width:0; height:0;
    border-top: 46px solid #f97316;
    border-left: 46px solid transparent;
  }
}

/* =========================================================
   PATCH: SKU price — off on top row, now+old on bottom row (NO overlap)
   Keep your flex structure, no grid
========================================================= */

/* 1) 价格区域不用再为右下角绝对定位预留 68px */
.fm-gsv2 .fm-sku__meta{
  padding-right: 14px !important; /* 原来 68px 是给 .fm-sku__off 绝对定位用的 */
}

/* 2) 让 priceRow 允许换行：第一行放 off，第二行放 now/old */
.fm-gsv2 .fm-sku__priceRow{
  display: flex !important;
  flex-wrap: wrap !important;        /* 关键：允许两行 */
  align-items: baseline !important;
  gap: 6px 10px !important;          /* row-gap / col-gap，避免挤在一起 */
}

/* 3) 折扣：取消绝对定位，强制占满一行并靠右（在上面一行） */
.fm-gsv2 .fm-sku__off{
  position: static !important;
  right: auto !important;
  bottom: auto !important;

  order: 0 !important;
  flex: 0 0 100% !important;         /* 独占一行 */
  display: flex !important;
  justify-content: flex-end !important;

  height: 20px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}

/* 4) now / old：固定在第二行（同一行），且不互相重叠 */
.fm-gsv2 .fm-sku__priceRow .now{
  order: 1 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important; /* 金额太长就省略，避免压到 old */
}

.fm-gsv2 .fm-sku__priceRow .old{
  order: 2 !important;
  flex: 0 0 auto !important;

  margin-left: 6px !important;       /* 更靠近 now */
  font-size: 11px !important;        /* 小一点 */
  line-height: 1.05 !important;
  white-space: nowrap !important;
  opacity: .9;
}

/* =========================================================
   PATCH: SKU price layout (old above now, off on the right)
   Put at VERY BOTTOM of game-show-v2.pc.css
========================================================= */

.fm-gsv2 .fm-sku__meta{
  /* 取消给 off 绝对定位预留的右侧空间 */
  padding-right: 14px !important;

  /* 两列：左价格、右折扣 */
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas:
    "name  name"
    "price off" !important;
  column-gap: 0px !important;
  row-gap: 6px !important;

  position: relative; /* 保留你的定位语义 */
}

/* name 占满两列不变 */
.fm-gsv2 .fm-sku__name{
  grid-area: name;
}

/* 价格区：old 在上，now 在下 */
.fm-gsv2 .fm-sku__priceRow{
  grid-area: price;

  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;

  min-width: 0 !important; /* 允许省略 */
}

.fm-gsv2 .fm-sku__priceRow .old{
  font-size: 11px !important;
  line-height: 1.05 !important;
  margin: 0 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.fm-gsv2 .fm-sku__priceRow .now{
  font-size: 16px !important;
  line-height: 1.05 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* 折扣：不再 absolute，也不再占整行，固定在右侧 */
.fm-gsv2 .fm-sku__off{
  grid-area: off;

  position: static !important;
  right: auto !important;
  bottom: auto !important;

  justify-self: end !important;
  align-self: end !important;

  height: 20px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}

/* =========================================================
   TRUST / SAFETY MODAL (PC)
   Append to VERY BOTTOM of game-show-v2.pc.css
========================================================= */

#fm_trust_modal{
  /* 复用你现有 .fm-modal 机制：默认 display:none；加 is-open 才显示 */
}

#fm_trust_modal .fm-trust-dialog{
  width: min(780px, calc(100vw - 28px)) !important;
  max-height: min(76vh, 720px) !important;
  padding: 0 !important;

  border-radius: 28px !important;
  overflow: hidden;
  background: #fff !important;

  box-shadow: 0 26px 90px rgba(2,6,23,.22) !important;
  border: 1px solid rgba(255,255,255,.38);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* ---- hero ---- */
#fm_trust_modal .fm-trust-hero{
  position: relative;
  min-height: 178px;
  padding: 18px 22px 18px 22px;

  background-image: url("https://cdn.flashmunk.com/static_bg/home/game-show-safety.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 轻微暗化，保证白字清晰（不破坏你背景图） */
#fm_trust_modal .fm-trust-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.10) 55%, rgba(0,0,0,.08) 100%);
  pointer-events:none;
}

#fm_trust_modal .fm-trust-hero__txt{
  position: relative;
  z-index: 1;
  max-width: 520px;
}

#fm_trust_modal .fm-trust-brand{
  color: rgba(255, 255, 255, 0.50);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: normal;
}

#fm_trust_modal .fm-trust-title{
  margin-top: 10px;
  color: #FFF;
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.96px;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0,0,0,.28);
}

/* close */
#fm_trust_modal .fm-trust-x{
  position:absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  background: transparent;
  border-radius: 12px;
}
#fm_trust_modal .fm-trust-x:hover{
  background: rgba(255,255,255,.08);
}

/* ---- body ---- */
#fm_trust_modal .fm-trust-body{
  padding: 12px 18px 16px;
  background: #fff;
}

#fm_trust_modal .fm-trust-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;

  padding: 14px 6px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

#fm_trust_modal .fm-trust-item--last{
  border-bottom: 0;
}

#fm_trust_modal .fm-trust-ico{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(28, 20, 12, .92);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 8px 16px rgba(2,6,23,.10);

  margin-top: 2px;
}

#fm_trust_modal .fm-trust-main{ min-width: 0; }

#fm_trust_modal .fm-trust-item__t{
  color: rgba(var(--fm-brand-yellow-rgb), .98);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
}

#fm_trust_modal .fm-trust-item__d{
  margin-top: 4px;
  color: rgba(15,23,42,.52);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

/* ---- responsive tighten ---- */
@media (max-width: 640px){
  #fm_trust_modal .fm-trust-dialog{
    width: min(560px, calc(100vw - 20px)) !important;
    border-radius: 22px !important;
  }
  #fm_trust_modal .fm-trust-hero{ min-height: 160px; padding: 16px 16px; }
  #fm_trust_modal .fm-trust-brand{ font-size: 16px; }
  #fm_trust_modal .fm-trust-title{ font-size: 24px; letter-spacing: -0.6px; }
}

/* =========================================================
   FIX: Trust modal hero image has NO white border
   Put at VERY BOTTOM of game-show-v2.pc.css
========================================================= */

/* 1) dialog 必须负责圆角裁切，避免图边缘露白 */
#fm_trust_modal .fm-modal-dialog.fm-trust-dialog{
  padding: 0 !important;              /* ✅ 防止 dialog 自己 padding 露白 */
  background: transparent !important;  /* ✅ 防止白底从边缘透出来 */
  border: 0 !important;
  overflow: hidden !important;         /* ✅ 关键：用圆角裁切掉 hero 图 */
  border-radius: 22px !important;      /* 你可以按图调，比如 24 */
  box-shadow: 0 26px 90px rgba(2,6,23,.22);
}

/* 2) 顶部 hero 背景必须铺满 + 自己也裁切（双保险） */
#fm_trust_modal .fm-trust-hero{
  position: relative;
  min-height: 180px;                  /* 你按设计图可调 */
  overflow: hidden;                   /* ✅ 双保险：hero 自己也裁切 */
  border-radius: 22px 22px 0 0;       /* ✅ 顶部圆角 */
  background: url("https://cdn.flashmunk.com/static_bg/home/game-show-safety.png") center/cover no-repeat;
}

/* 3) 防止出现 1px 细缝（某些浏览器渲染会有） */
#fm_trust_modal .fm-trust-hero::after{
  content:"";
  position:absolute;
  inset:-1px;                         /* ✅ 往外扩 1px，彻底消缝 */
  background: inherit;
  z-index: 0;
}

/* 4) hero 文案层要在背景之上 */
#fm_trust_modal .fm-trust-hero__txt,
#fm_trust_modal .fm-trust-x{
  position: relative;
  z-index: 1;
}

/* 5) 下半部分白底内容区：与 hero 紧贴，不要缝 */
#fm_trust_modal .fm-trust-body{
  background: #fff;
  margin: 0 !important;               /* ✅ 防止外边距形成白边/缝 */
  padding: 16px 18px 18px;            /* 你可以按图再调 */
}

/* 6) 如果你还有旧的 .fm-modal-dialog 默认白底，这里强制取消 */
#fm_trust_modal .fm-modal-dialog{
  background: transparent !important;
}

/* =========================================================
   FIX: Trust modal close button must be top-right
   Put at VERY BOTTOM of game-show-v2.pc.css
========================================================= */

#fm_trust_modal .fm-trust-hero{
  position: relative; /* ✅ 作为绝对定位参照 */
}

/* 你之前加了 hero::after 做背景扩边，这里确保它永远在最底层 */
#fm_trust_modal .fm-trust-hero::after{
  z-index: 0 !important;
  pointer-events: none !important;
}

/* 文案层在背景之上 */
#fm_trust_modal .fm-trust-hero__txt{
  position: relative;
  z-index: 1;
}

/* ✅ 关键：关闭按钮固定到右上角 */
#fm_trust_modal .fm-trust-x{
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;

  z-index: 3 !important;         /* ✅ 高于 hero 文案与背景 */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;

  background: rgba(0,0,0,.18);   /* 贴合你图里偏暗的圆底 */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* SVG 颜色/大小稳定 */
#fm_trust_modal .fm-trust-x svg{
  width: 18px;
  height: 18px;
  display: block;
}
#fm_trust_modal .fm-trust-x:hover{
  background: rgba(0,0,0,.26);
}

/* =========================
   SKU Info Modal (gsv2)
========================= */
.gsv2-skuinfo{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gsv2-skuinfo.is-open,
.gsv2-skuinfo.is-active{ display:block; }

.gsv2-skuinfo__mask{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gsv2-skuinfo__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: min(640px, calc(100vw - 56px));
  background:#fff;
  border-radius: 28px;
  padding: 24px 26px 22px;
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.gsv2-skuinfo__hd{
  display:flex;
  align-items:center;
  gap:14px;
}

.gsv2-skuinfo__ico{
  width:38px;
  height:38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:18px;
  color:#111827;
  border:2px solid rgba(17,24,39,.14);
}

.gsv2-skuinfo__ttl .zh{
  font-size:20px;
  font-weight:600;
  letter-spacing:.2px;
  color:#111827;
  line-height:1.1;
}
.gsv2-skuinfo__ttl .en{
  margin-top:4px;
  font-size:13px;
  font-weight:600;
  color: rgba(17,24,39,.55);
  line-height:1.1;
}

.gsv2-skuinfo__hr{
  height:1px;
  background: rgba(15,23,42,.10);
  margin:16px 0 14px;
}

.gsv2-skuinfo__bd{
  color:#111827;
}

.gsv2-skuinfo__p{
  margin: 10px 0;
}
.gsv2-skuinfo__p .zh{
  font-size:16px;
  font-weight:600;
  line-height:1.45;
}
.gsv2-skuinfo__p .en{
  margin-top:6px;
  font-size:13px;
  font-weight:600;
  color: rgba(17,24,39,.58);
  line-height:1.45;
}

.gsv2-skuinfo__p.is-strong .zh{ font-size:18px; }
.gsv2-skuinfo__p.is-strong .en{ font-size:13px; }

.gsv2-skuinfo__p .js-skuinfo-worth{
  font-weight:600;
}

.gsv2-skuinfo__btn{
  margin-top:18px;
  width:100%;
  height:58px;
  border:0;
  border-radius: 999px;
  background:var(--fm-brand-yellow);
  color:#111827;
  cursor:pointer;
  box-shadow: 0 14px 34px rgba(var(--fm-brand-yellow-rgb), .36);
}

.gsv2-skuinfo__btn .zh{
  display:block;
  font-size:18px;
  font-weight:600;
  line-height:1.05;
}
.gsv2-skuinfo__btn .en{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:600;
  opacity:.62;
  line-height:1.05;
}

/* 让 info 更像可点 */
.fm-sku__info{
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
}

/* PC only: <=900 不用管，顺手隐藏避免误出现 */
@media (max-width: 900px){
  .gsv2-skuinfo{ display:none !important; }
}

/* ===== 最后覆盖：SKU Info 改小版（你原来的“缩小三倍” patch，保持在最底） ===== */
.gsv2-skuinfo__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);

  /* ✅ 小三倍思路：宽度从 640 -> 320 左右 */
  width: min(320px, calc(100vw - 40px));

  background:#fff;
  border-radius: 18px;
  padding: 14px 16px 14px;
  box-shadow: 0 18px 55px rgba(0,0,0,.26);
}

.gsv2-skuinfo__ico{
  width:28px;
  height:28px;
  border-radius: 10px;
  font-size:14px;
}

.gsv2-skuinfo__ttl .zh{
  font-size:15px;
  font-weight:600;
}
.gsv2-skuinfo__ttl .en{
  font-size:11px;
  margin-top:3px;
}

.gsv2-skuinfo__hr{
  margin:10px 0 10px;
}

.gsv2-skuinfo__p{ margin:8px 0; }
.gsv2-skuinfo__p.is-strong .zh{ font-size:14px; }
.gsv2-skuinfo__p .zh{ font-size:13px; font-weight:600; }
.gsv2-skuinfo__p .en{ font-size:11px; margin-top:4px; }

.gsv2-skuinfo__btn{
  margin-top:12px;
  height:42px;
  border-radius:999px;
  box-shadow: 0 10px 26px rgba(var(--fm-brand-yellow-rgb), .30);
}
.gsv2-skuinfo__btn .zh{ font-size:14px; }
.gsv2-skuinfo__btn .en{ font-size:10px; margin-top:2px; }
/* =========================================================
   HOTFIX: PC “Trust / Official guarantee” click not firing
   (CSS-only, put at VERY BOTTOM)
========================================================= */

/* 1) 背景伪元素永远不吃点击（有些浏览器/叠层情况下会吞） */
.fm-gsv2::before,
.fm-gsv2::after{
  pointer-events: none !important;
}

/* 2) 让 hero 内容区永远在最上面（避免被某些透明层压住） */
.fm-gsv2 .fm-hero,
.fm-gsv2 .fm-heroInner{
  position: relative;
  z-index: 5;
}

/* 3) “官方保障”通常在 chips/pill 里：把它们再抬一层 + 强制可点 */
.fm-gsv2 .fm-heroMeta,
.fm-gsv2 .fm-heroChips{
  position: relative;
  z-index: 6;
  pointer-events: auto !important;
}

.fm-gsv2 .fm-chip,
.fm-gsv2 .fm-pill{
  position: relative;
  z-index: 7;
  pointer-events: auto !important;
}

/* 4) 如果 recent 区块（或其 mask）有覆盖到 chips，禁掉它吃点击 */
.fm-gsv2 .fm-heroRecent{
  position: relative;
  z-index: 3;
  pointer-events: none; /* recent 纯展示，一般不需要点 */
}
/* =========================
   Trust Modal visibility driven by aria-hidden
   (NO JS change required)
========================= */
#fm_trust_modal[aria-hidden="true"]  { display: none !important; }
#fm_trust_modal[aria-hidden="false"] { display: flex !important; }







/* =========================================================
   PC background: lower half fade to white
   追加到 game-show-v2.pc.css 最底部
   ========================================================= */
@media (min-width: 901px){

  /* 背景图本身稍微降一点存在感，避免下半段“脏” */
  .fm-gsv2::before{
    opacity: .72 !important;
    background-position: center top !important;
  }

  /* 关键：把整页覆盖层改成“上轻下重”的白色渐变 */
  .fm-gsv2::after{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.04) 0%,
        rgba(255,255,255,.12) 10%,
        rgba(255,255,255,.24) 20%,
        rgba(255,255,255,.42) 32%,
        rgba(255,255,255,.68) 46%,
        rgba(255,255,255,.84) 49%,
        rgba(255,255,255,.94) 62%,
        rgba(255,255,255,.985) 82%,
        rgba(255,255,255,1) 100%
      ) !important;
  }
}


/* =========================================================
   SKU Info Modal — Rich Text Content
   适配后台富文本：p / ul / ol / img / table / a / code / blockquote
   ========================================================= */
.gsv2-skuinfo__rich{
  color: rgba(17,24,39,.82);
  line-height: 1.7;
  font-size: 13px;

  word-break: break-word;
  overflow-wrap: anywhere;
}

.gsv2-skuinfo__rich > :first-child{
  margin-top: 0 !important;
}
.gsv2-skuinfo__rich > :last-child{
  margin-bottom: 0 !important;
}

/* headings */
.gsv2-skuinfo__rich h1,
.gsv2-skuinfo__rich h2,
.gsv2-skuinfo__rich h3,
.gsv2-skuinfo__rich h4,
.gsv2-skuinfo__rich h5,
.gsv2-skuinfo__rich h6{
  margin: 0 0 10px;
  color: rgba(17,24,39,.92);
  font-weight: 600;
  line-height: 1.3;
}

.gsv2-skuinfo__rich h1{ font-size: 20px; }
.gsv2-skuinfo__rich h2{ font-size: 18px; }
.gsv2-skuinfo__rich h3{ font-size: 16px; }
.gsv2-skuinfo__rich h4{ font-size: 15px; }
.gsv2-skuinfo__rich h5,
.gsv2-skuinfo__rich h6{ font-size: 14px; }

/* text */
.gsv2-skuinfo__rich p{
  margin: 10px 0;
}

.gsv2-skuinfo__rich strong,
.gsv2-skuinfo__rich b{
  font-weight: 600;
  color: rgba(17,24,39,.92);
}

.gsv2-skuinfo__rich em,
.gsv2-skuinfo__rich i{
  font-style: italic;
}

.gsv2-skuinfo__rich small{
  font-size: 12px;
  color: rgba(17,24,39,.56);
}

/* list */
.gsv2-skuinfo__rich ul,
.gsv2-skuinfo__rich ol{
  margin: 10px 0;
  padding-left: 20px;
}

.gsv2-skuinfo__rich li{
  margin: 0;
  line-height: 1.65;
}

.gsv2-skuinfo__rich li + li{
  margin-top: 6px;
}

/* link */
.gsv2-skuinfo__rich a{
  color: #2563eb;
  text-decoration: underline;
  word-break: break-all;
}

/* image */
.gsv2-skuinfo__rich img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
  border-radius: 12px;
}

.gsv2-skuinfo__rich figure{
  margin: 12px 0;
}

.gsv2-skuinfo__rich figure img{
  margin: 0 auto;
}

.gsv2-skuinfo__rich figcaption{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17,24,39,.52);
  text-align: center;
}

/* blockquote */
.gsv2-skuinfo__rich blockquote{
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(37,99,235,.22);
  border-radius: 10px;
  background: rgba(37,99,235,.05);
  color: rgba(17,24,39,.72);
}

/* hr */
.gsv2-skuinfo__rich hr{
  border: 0;
  height: 1px;
  margin: 14px 0;
  background: rgba(15,23,42,.08);
}

/* code */
.gsv2-skuinfo__rich code{
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15,23,42,.06);
  font-size: .92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.gsv2-skuinfo__rich pre{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,23,42,.06);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre-wrap;
  word-break: break-word;
}

.gsv2-skuinfo__rich pre code{
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
}

/* table */
.gsv2-skuinfo__rich table{
  width: 100%;
  min-width: 420px; /* 给横向滚动留空间 */
  border-collapse: collapse;
  margin: 12px 0;
  background: #fff;
}

.gsv2-skuinfo__rich th,
.gsv2-skuinfo__rich td{
  border: 1px solid rgba(15,23,42,.08);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
}

.gsv2-skuinfo__rich th{
  background: rgba(15,23,42,.04);
  font-weight: 600;
  color: rgba(17,24,39,.88);
}

/* media */
.gsv2-skuinfo__rich iframe,
.gsv2-skuinfo__rich video{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 12px 0;
  border: 0;
  border-radius: 12px;
}


/* PC details: sequential show (override tabs behavior) */
.fm-gsv2 .fm-detailCard__head .fm-tabs-nav,
.fm-gsv2 .fm-detailCard__head .tabs-nav-item{
  display: none !important;
}

.fm-gsv2 .fm-detailCard .tab-panel{
  display: block !important;
}

.fm-gsv2 .fm-detailCard .tab-panel + .tab-panel{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,.08);
}


/* =========================================================
   PATCH: PC 确认/购买主按钮颜色“浅一点但不发白”
   覆盖：右侧 Secure checkout / 以及优惠券弹窗 Done
   放到 game-show-v2.pc.css 最底部
========================================================= */
@media (min-width: 901px){

  /* 1) 右侧 Summary 的主按钮（Secure checkout / btn-buy-now） */
  .fm-gsv2 .fm-btn-primary,
  .fm-gsv2 .fm-bill .btn-buy-now{
    background: var(--fm-brand-yellow) !important;
    color: rgba(11,18,32,.92) !important;
    box-shadow: 0 16px 26px rgba(15,23,42,.10) !important; /* 略收一点，视觉更“浅” */
  }

  .fm-gsv2 .fm-btn-primary:hover,
  .fm-gsv2 .fm-bill .btn-buy-now:hover{
    background: var(--fm-brand-yellow) !important;
    filter: brightness(1.03) !important;
    transform: translateY(-1px);
  }

  .fm-gsv2 .fm-btn-primary:active,
  .fm-gsv2 .fm-bill .btn-buy-now:active{
    background: var(--fm-brand-yellow) !important;
    filter: brightness(.96) !important;
    transform: translateY(0);
  }

  /* 2) 优惠券弹窗 “Done” 按钮（ck3-btn--primary） */
  #fm-coupon-modal .ck3-btn--primary{
    background: var(--fm-brand-yellow) !important;
    border-color: rgba(var(--fm-brand-yellow-rgb), .45) !important;
    color: rgba(11,18,32,.92) !important;
  }
  #fm-coupon-modal .ck3-btn--primary:hover{
    background: var(--fm-brand-yellow) !important;
  }
  #fm-coupon-modal .ck3-btn--primary:active{
    background: var(--fm-brand-yellow) !important;
  }
}



/* =========================================================
   FIX: PC bg band line + bg from top
   Append to VERY BOTTOM of game-show-v2.pc.css
========================================================= */
@media (min-width: 901px){

  /* 1) 背景图从头显示 + 减少采样缝 */
  .fm-gsv2::before{
    background-position: center top !important; /* ✅ 从顶部开始 */
    background-repeat: no-repeat !important;

    /* 轻微调整：更平滑、不容易出“横线” */
    filter: blur(22px) saturate(1.10) contrast(1.02) !important;
    transform: translate3d(0,0,0) scale(1.18) !important;

    /* 给足 bleed，避免边缘/采样导致的细缝 */
    inset: -120px !important;

    opacity: .70 !important;
  }

  /* 2) 覆盖层渐变：改成均匀过渡（去掉中间突变线） */
  .fm-gsv2::after{
    background: linear-gradient(180deg,
      rgba(255,255,255,.03) 0%,
      rgba(255,255,255,.07) 12%,
      rgba(255,255,255,.14) 24%,
      rgba(255,255,255,.24) 36%,
      rgba(255,255,255,.38) 48%,
      rgba(255,255,255,.54) 60%,
      rgba(255,255,255,.70) 72%,
      rgba(255,255,255,.84) 82%,
      rgba(255,255,255,.93) 90%,
      rgba(255,255,255,.985) 96%,
      rgba(255,255,255,1) 100%
    ) !important;
  }
}


/* =========================================================
   PC BG FINAL: cover + top align + remove mid seam
   Append to VERY BOTTOM of game-show-v2.pc.css
========================================================= */
@media (min-width: 901px){

  /* 背景图：仍然 cover（铺满），但从顶部开始取景 */
  .fm-gsv2::before{
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: 50% 0% !important; /* ✅ 从头显示（top） */

    /* ✅ 防 blur 露边：保留外扩，但别夸张 */
    inset: -90px !important;
    transform: translate3d(0,0,0) scale(1.10) !important; /* 原来 1.12/1.16 太狠就会“只剩一角” */

    /* 质感 */
    filter: blur(16px) saturate(1.12) contrast(1.03) !important;
    opacity: .78 !important;

    will-change: transform;
    backface-visibility: hidden;
  }

  /*
   * 关键：修复“中间横线”
   * 你之前在 46%~49% 直接跳变，必然出现明显分界线
   * 这里改成更连续的过渡 + 叠一层轻微 radial，视觉更自然
   */
  .fm-gsv2::after{
    background:
      radial-gradient(1200px 760px at 50% 18%,
        rgba(255,255,255,.10) 0%,
        rgba(255,255,255,0) 60%),
      linear-gradient(180deg,
        rgba(255,255,255,.06) 0%,
        rgba(255,255,255,.12) 12%,
        rgba(255,255,255,.22) 26%,
        rgba(255,255,255,.38) 38%,
        rgba(255,255,255,.52) 48%,
        rgba(255,255,255,.66) 56%,
        rgba(255,255,255,.80) 66%,
        rgba(255,255,255,.90) 76%,
        rgba(255,255,255,.965) 88%,
        rgba(255,255,255,1) 100%
      ) !important;
  }
}


/* =========================================================
   PC BG: cover full-bleed + focal position (avoid "only hair")
========================================================= */
@media (min-width: 901px){
  /* 默认焦点：往下 22%（你可以调 18%~40%） */
  .fm-gsv2{ --gsv2-bg-pos: 50% 22%; }

  .fm-gsv2::before{
    background-size: cover !important;
    background-position: var(--gsv2-bg-pos) !important; /* ✅ 关键：不再死 top */
  }
}


/* =========================================================
   SHOW-V2 REDESIGN — DESKTOP
   Strictly scoped to the redesigned blade structure
========================================================= */
@media (min-width: 901px){
  .fm-gsv2.gsv2-redesign{
    --gsv2-desktop-max: 1280px;
    --gsv2-desktop-gap: 24px;
    --gsv2-desktop-aside-w: 360px;
    --gsv2-desktop-pad: 24px;
  }

  /* 小屏适配：aside 列宽 300px，gap 收紧 */
  @media (max-width: 1279.98px){
    .fm-gsv2.gsv2-redesign{
      --gsv2-desktop-aside-w: 300px;
      --gsv2-desktop-gap: 18px;
      --gsv2-desktop-pad: 18px;
    }
  }

  /* 大屏适配：aside 列宽 400px，gap 加大 */
  @media (min-width: 1440px){
    .fm-gsv2.gsv2-redesign{
      --gsv2-desktop-aside-w: 400px;
      --gsv2-desktop-gap: 32px;
      --gsv2-desktop-pad: 32px;
    }
  }

  .fm-gsv2.gsv2-redesign .fm-container{
    max-width: var(--gsv2-desktop-max);
  }

  .fm-gsv2.gsv2-redesign .gsv2-stage{
    padding: 34px 0 0;
  }

  .fm-gsv2.gsv2-redesign .gsv2-stage__back{
    margin-bottom: 18px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-backBtn{
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 18px 36px rgba(15,23,42,.08);
    color: rgba(17,24,39,.92);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .fm-gsv2.gsv2-redesign .gsv2-backBtn:hover{
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(15,23,42,.12);
  }

  .fm-gsv2.gsv2-redesign .gsv2-backBtn .material-icons{
    font-size: 26px;
    color: inherit;
  }

  /* 页面外壳 grid：左列垂直堆叠三个 section，右列 aside 跨三行
     使用 grid-template-areas 让 aside 在视觉上与各 section 平齐
     PC 端单列布局 + aside 独立右列 */
  .fm-gsv2.gsv2-redesign .gsv2-stageGrid,
  .fm-gsv2.gsv2-redesign .gsv2-detailGrid{
    display: block;  /* 改单列：原 grid 两列布局改为普通流式 */
    width: 100%;
  }

  .fm-gsv2.gsv2-redesign .gsv2-stageGrid > .fm-purchase,
  .fm-gsv2.gsv2-redesign .gsv2-detailGrid > .fm-purchase{
    width: 100%;
    max-width: none;
  }

  /* 新增：gsv2-pageShell 作为内容容器，左列堆叠三个 section + 右列独立 aside */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell{
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--gsv2-desktop-aside-w, 360px);
    grid-template-areas:
      "stage  aside"
      "detail aside"
      "reviews aside";
    gap: var(--gsv2-desktop-gap, 24px);
    align-items: start;
    max-width: var(--gsv2-desktop-max, 1280px);
    margin: 0 auto;
    padding: 0 var(--gsv2-desktop-pad, 24px);
    box-sizing: border-box;
  }

  /* 左列三个 section 在 grid 中的位置 */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-product{ grid-area: stage; }
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-detail { grid-area: detail; }
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-reviews{ grid-area: reviews; }

  /* 让 section 内的 .fm-container 撑满 section 宽度（pageShell 已经做了 max-width 限制）
     避免双重 max-width 导致左列内容比 pageShell 左列窄 48px */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-product .fm-container,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-detail .fm-container,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > #game-reviews .fm-container{
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  /* 确保 productCard / detailCard / reviewsLeft 三个模块宽度 100% 撑满左列 */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-product .gsv2-productCard,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-detail  .gsv2-detailCard,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-detail  .fm-detailCard,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-reviews .fm-rv2-card{
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  /* 同时让 .fm-purchase 容器本身也撑满（确保 grid item 撑开） */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-product > .fm-container > .gsv2-stageGrid,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-product > .fm-container > .gsv2-stageGrid > .fm-purchase,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-detail > .fm-container > .gsv2-detailGrid,
  .fm-gsv2.gsv2-redesign .gsv2-pageShell #game-detail > .fm-container > .gsv2-detailGrid > .fm-purchase{
    width: 100%;
    max-width: none;
  }

  /* aside 在右列：grid-row: 1/4 让 aside 跨越 stage/detail/reviews 三行 */
  .fm-gsv2.gsv2-redesign .gsv2-pageShell > .gsv2-summaryAside{
    grid-area: aside;
    grid-row: 1 / 4;  /* 跨 3 行（stage/detail/reviews） */
    align-self: start;
    margin-top:90px;
    padding-bottom: 26px;
    /* top:185px; */
  }

  /* 隐藏 aside 占位的 gsv2-detailSpacer（grid 不再需要它） */
  .fm-gsv2.gsv2-redesign .gsv2-detailSpacer{ display: none; }

  /* reviews grid 改为单列布局：去掉右侧 ::after 伪元素占位 */
  .fm-gsv2.gsv2-redesign .fm-gsv2Reviews{
    width: 100%;
    box-sizing: border-box;
  }
  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsGrid{
    display: block;  /* 改单列：不再用 grid */
    width: 100%;
  }
  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsGrid::after{
    display: none;  /* 伪元素占位不再需要 */
  }
  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft{
    width: 100%;
    max-width: none;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productCard,
  .fm-gsv2.gsv2-redesign .gsv2-summaryCard,
  .fm-gsv2.gsv2-redesign .fm-detailCard,
  .fm-gsv2.gsv2-redesign .gsv2-detailCard{
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 22px 48px rgba(15,23,42,.08);
  }

  .fm-gsv2.gsv2-redesign .gsv2-productCard{
    padding: 18px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead{
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__cover{
    width: 116px;
    height: 116px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15,23,42,.08);
    cursor: pointer;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__main{
    min-width: 0;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__headline{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__titleWrap{
    min-width: 0;
    flex: 1 1 auto;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__titleRow{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__title{
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(17,24,39,.94);
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__off{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--fm-brand-yellow);
    color: rgba(17,24,39,.92);
    font-size: 13px;
    font-weight: 600;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingRow{
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingStars{
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingStars .material-icons{
    font-size: 19px;
    color: rgba(var(--fm-brand-yellow-rgb), .42);
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingStars .material-icons.is-active{
    color: var(--fm-brand-yellow);
  }

  /* 有评分时整排星标全部点亮为黄色 */
  .fm-gsv2.gsv2-redesign .gsv2-ratingRow.has-rating .gsv2-ratingStars .material-icons{
    color: var(--fm-brand-yellow);
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingValue{
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(17,24,39,.88);
    transition: background-color .15s ease, color .15s ease;
  }

  /* 有评分时数字：黄色背景 + 黑色文字 */
  .fm-gsv2.gsv2-redesign .gsv2-ratingRow.has-rating .gsv2-ratingValue{
    color: #111;
    background: var(--fm-brand-yellow);
    padding: 0 6px;
    border-radius: 3px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingReviews{
    font-size: 12px;
    font-weight: 500;
    color: #626366;
    transition: color .15s ease;
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: rgba(15,23,42,.08);
    color: rgba(148,163,184,.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav:hover{
    transform: translateY(-1px);
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav .material-icons{
    font-size: 24px;
    color: inherit;
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav.is-active{
    background: rgba(239,68,68,.10);
    color: #ef4444;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaLine{
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(17,24,39,.76);
  }

  .fm-gsv2.gsv2-redesign .gsv2-avatarStack{
    display: inline-flex;
    align-items: center;
    padding-right: 2px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-avatarDot{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    margin-left: -6px;
    border: 2px solid #fff;
    background: #e5e7eb;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(17,24,39,.72);
    box-shadow: 0 8px 16px rgba(15,23,42,.08);
  }

  .fm-gsv2.gsv2-redesign .gsv2-avatarDot:first-child{
    margin-left: 0;
  }

  .fm-gsv2.gsv2-redesign .gsv2-avatarDot img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(17,24,39,.82);
    border: 0;
    padding: 0;
    background: transparent;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem .material-icons{
    font-size: 20px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem--sales{
    font-weight: 500;
    color: rgba(17,24,39,.86);
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem--trust{
    color: #0f8b67;
    cursor: pointer;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem--favorites{
    color: rgba(17,24,39,.86);
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem--favorites .material-icons{
    color: #ff5e57;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem--favorites strong{
    color: #ff5e57;
    font-weight: 600;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaDivider{
    width: 1px;
    height: 18px;
    background: rgba(148,163,184,.36);
  }

  .fm-gsv2.gsv2-redesign .gsv2-mobileMeta{
    display: none !important;
  }

  .fm-gsv2.gsv2-redesign .gsv2-sceneTabsWrap{
    margin-top: 18px;
  }

  .fm-gsv2.gsv2-redesign .fm-sceneTabs{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15,23,42,.07);
  }

  .fm-gsv2.gsv2-redesign .fm-sceneTabs__btn{
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: rgba(17,24,39,.52);
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .fm-gsv2.gsv2-redesign .fm-sceneTabs__btn.is-active{
    background: #fff;
    color: rgba(17,24,39,.92);
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
  }

  .fm-gsv2.gsv2-redesign .scene-pane{
    display: none;
    margin-top: 18px;
  }

  .fm-gsv2.gsv2-redesign .scene-pane.is-active{
    display: block;
  }

  .fm-gsv2.gsv2-redesign .fm-skuGrid.cardType{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .fm-gsv2.gsv2-redesign .fm-sku.gsv2-sku{
    display: block;
    cursor: pointer;
  }

  .fm-gsv2.gsv2-redesign .fm-sku.gsv2-sku > input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCard{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  }

  /* HOT 标签：图片右下角 */
  .fm-gsv2.gsv2-redesign .gsv2-skuCard__media .fm-sku__hot{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #111827;
    background: #FFCB2E;
    box-shadow: 0 10px 18px rgba(255,203,46,.28);
    letter-spacing: .5px;
  }

  .fm-gsv2.gsv2-redesign .fm-sku.gsv2-sku:hover .gsv2-skuCard{
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(15,23,42,.08);
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCard__media{
    position: relative;
    aspect-ratio: 1 / 1;
    background: rgba(15,23,42,.04);
    overflow: hidden;
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCard__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fm-gsv2.gsv2-redesign .fm-sku__info{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17,24,39,.78);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15,23,42,.16);
  }

  .fm-gsv2.gsv2-redesign .fm-sku__info .material-icons{
    font-size: 16px;
    color: inherit;
  }

  .fm-gsv2.gsv2-redesign .fm-sku__check{
    position: absolute;
    top: 14px !important;
    right: 14px !important;
    z-index: 12 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px;
    display: block;
    background: var(--fm-brand-yellow);
    clip-path: none !important;
    box-shadow: 0 12px 24px rgba(var(--fm-brand-yellow-rgb), .22);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .18s ease, transform .18s ease;
    overflow: visible;
    font-size: 0;
    line-height: 0;
  }

  .fm-gsv2.gsv2-redesign .fm-sku.gsv2-sku > input:checked + .gsv2-skuCard{
    border-color: rgba(var(--fm-brand-yellow-rgb), .85);
    background: var(--fm-brand-yellow-soft);
    box-shadow: 0 22px 36px rgba(var(--fm-brand-yellow-rgb), .14);
  }

  .fm-gsv2.gsv2-redesign .fm-sku.gsv2-sku > input:checked + .gsv2-skuCard .fm-sku__check{
    opacity: 1;
    transform: scale(1);
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCheckIcon{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px !important;
    height: 10px !important;
    display: block;
    transform: translate(-50%, -50%);
    overflow: visible;
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCard__meta{
    position: relative;
    padding: 12px 14px 10px;
    min-height: 108px; /* ✅ 加大高度，确保 2 行标题完整显示并保留价格行空间 */
    display: flex;
    flex-direction: column;
  }

  .fm-gsv2.gsv2-redesign .fm-sku__name{
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    color: rgba(17,24,39,.92);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;                       /* 标准属性兜底 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;             /* ✅ 允许长词/数字串在中间换行，避免单行溢出 */
    overflow-wrap: anywhere;
  }

  .fm-gsv2.gsv2-redesign .fm-sku__priceRow{
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .fm-gsv2.gsv2-redesign .fm-sku__priceRow .now{
    font-size: 15px;
    font-weight: 600;
    color: rgba(17,24,39,.94);
  }

  .fm-gsv2.gsv2-redesign .fm-sku__priceRow .old{
    font-size: 12px;
    text-decoration: line-through;
    color: rgba(148,163,184,.92);
  }

  .fm-gsv2.gsv2-redesign .gsv2-skuCard__meta .fm-sku__off{
    position: static !important;
    order: 3 !important;
    margin: 0 !important;
    margin-left: auto !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #EA4129 !important;
    display: inline !important;
    vertical-align: baseline !important;
    align-items: normal !important;
    justify-content: normal !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    white-space: nowrap !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
  }

  /* 兜底：图片里的 off（--media）保持绝对定位在图片右下角 */
  .fm-gsv2.gsv2-redesign .gsv2-skuCard__media .fm-sku__off{
    position: absolute;
    right: 14px;
    bottom: 12px;
    min-width: 54px;
    height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--fm-brand-yellow);
    color: rgba(17,24,39,.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
  }

  .fm-gsv2.gsv2-redesign .gsv2-summaryAside{
    /* sticky 定位：在 pageShell 盒子内跟随滚动，但不超出该盒子边界
       top = navOffset + 20 让 aside 顶部停在 nav 下方 20px
       父容器 .gsv2-pageShell 高度决定 sticky 元素的滚动范围 */
    position: sticky;
    top: calc(var(--nav-offset, 96px) + 20px);
    align-self: start;
    /* 填满 grid 右列宽度，与左列内容对齐 */
    width: 100%;
    max-width: var(--gsv2-desktop-aside-w, 360px);
    /* 启用 GPU 合成层 + 平滑过渡 sticky 边界的视觉过渡 */
    will-change: transform;
  }

  /* 内层 card 不再使用 sticky，由外层 aside 的 fixed/stuck 状态统一控制 */
  .fm-gsv2.gsv2-redesign .gsv2-summaryCard{
    padding: 18px 20px 22px;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__title{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(17,24,39,.92);
  }

  .fm-gsv2.gsv2-redesign .fm-bill__title .material-icons{
    font-size: 20px;
    color: rgba(17,24,39,.78);
  }

  .fm-gsv2.gsv2-redesign .fm-bill__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__row .k{
    font-size: 14px;
    color: rgba(17,24,39,.74);
  }

  .fm-gsv2.gsv2-redesign .fm-bill__row .v{
    font-size: 15px;
    font-weight: 600;
    color: rgba(17,24,39,.92);
    text-align: right;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__row--link{
    align-items: center;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__link{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--fm-brand-yellow);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__link .material-icons{
    font-size: 18px;
    color: inherit;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__break{
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(148,163,184,.38);
    display: grid;
    gap: 16px;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__break .r,
  .fm-gsv2.gsv2-redesign .fm-bill__total{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__break .r .k,
  .fm-gsv2.gsv2-redesign .fm-bill__total .k{
    font-size: 14px;
    color: rgba(17,24,39,.74);
  }

  .fm-gsv2.gsv2-redesign .fm-bill__break .r .v{
    font-size: 16px;
    font-weight: 600;
    color: rgba(17,24,39,.92);
  }

  .fm-gsv2.gsv2-redesign .fm-bill__total{
    margin-top: 16px;
  }

  .fm-gsv2.gsv2-redesign .fm-bill__total .v{
    font-size: 20px;
    font-weight: 600;
    color: rgba(17,24,39,.98);
  }

  .fm-gsv2.gsv2-redesign .gsv2-summaryCard .btn-buy-now{
    width: 100%;
    margin-top: 22px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--fm-brand-yellow-light) 0%, var(--fm-brand-yellow) 100%);
    color: rgba(17,24,39,.96);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 20px 32px rgba(var(--fm-brand-yellow-rgb), .24);
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailWrap{
    margin-top: 10px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailOnly{
    min-width: 0;
    /* 撑满父容器宽度（pageShell 左列） */
    width: 100%;
    box-sizing: border-box;
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailSpacer{
    visibility: hidden;
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard,
  .fm-gsv2.gsv2-redesign .gsv2-detailCard{
    padding: 18px 20px 22px;
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148,163,184,.18);
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailCard__title{
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailCard__title .material-icons{
    font-size: 21px;
    color: rgba(17,24,39,.76);
  }

  .fm-gsv2.gsv2-redesign .gsv2-detailCard__title .ttl{
    font-size: 16px;
    font-weight: 600;
    color: rgba(17,24,39,.92);
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard__body{
    padding-top: 18px;
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard .tab-panel + .tab-panel{
    margin-top: 20px;
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard h3{
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
    color: rgba(17,24,39,.92);
  }

  .fm-gsv2.gsv2-redesign .fm-detailCard .tab-html{
    color: rgba(17,24,39,.74);
    line-height: 1.72;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2Reviews{
    margin-top: 10px;
    /* 撑满 pageShell 左列 */
    width: 100%;
    box-sizing: border-box;
  }

  /* 重构后：reviewsGrid 不再嵌套 grid 单列布局，让 reviewsLeft 占满 reviews section */
  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsGrid{
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    display: block !important;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsGrid::after{
    content: "";
    min-height: 1px;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft{
    min-width: 0;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft :is(.fm-container, .fm-page, .container, .wrap, .inner){
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft :is(.fm-container, .container){
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft .fm-rv2,
  .fm-gsv2.gsv2-redesign .fm-gsv2ReviewsLeft .fm-rv2-card{
    width: 100% !important;
    max-width: none !important;
  }
}

/* =========================================================
   FINAL PATCH: detail rich text safety rules
   - 主详情 .tab-html 和 SKU 富文本统一收口
   - 兜底处理超宽图片 / figure / table / iframe
========================================================= */
.fm-gsv2 .fm-detailCard .tab-html,
.gsv2-skuinfo__rich{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: rgba(17,24,39,.82);
  line-height: 1.7;
  font-size: 13px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.fm-gsv2 .fm-detailCard .tab-html > :first-child,
.gsv2-skuinfo__rich > :first-child{
  margin-top: 0 !important;
}

.fm-gsv2 .fm-detailCard .tab-html > :last-child,
.gsv2-skuinfo__rich > :last-child{
  margin-bottom: 0 !important;
}

.fm-gsv2 .fm-detailCard .tab-html h1,
.fm-gsv2 .fm-detailCard .tab-html h2,
.fm-gsv2 .fm-detailCard .tab-html h3,
.fm-gsv2 .fm-detailCard .tab-html h4,
.fm-gsv2 .fm-detailCard .tab-html h5,
.fm-gsv2 .fm-detailCard .tab-html h6,
.gsv2-skuinfo__rich h1,
.gsv2-skuinfo__rich h2,
.gsv2-skuinfo__rich h3,
.gsv2-skuinfo__rich h4,
.gsv2-skuinfo__rich h5,
.gsv2-skuinfo__rich h6{
  margin: 0 0 10px;
  color: rgba(17,24,39,.92);
  font-weight: 600;
  line-height: 1.3;
}

.fm-gsv2 .fm-detailCard .tab-html h1,
.gsv2-skuinfo__rich h1{ font-size: 20px; }
.fm-gsv2 .fm-detailCard .tab-html h2,
.gsv2-skuinfo__rich h2{ font-size: 18px; }
.fm-gsv2 .fm-detailCard .tab-html h3,
.gsv2-skuinfo__rich h3{ font-size: 16px; }
.fm-gsv2 .fm-detailCard .tab-html h4,
.gsv2-skuinfo__rich h4{ font-size: 15px; }
.fm-gsv2 .fm-detailCard .tab-html h5,
.fm-gsv2 .fm-detailCard .tab-html h6,
.gsv2-skuinfo__rich h5,
.gsv2-skuinfo__rich h6{ font-size: 14px; }

.fm-gsv2 .fm-detailCard .tab-html p,
.gsv2-skuinfo__rich p{
  margin: 10px 0;
}

.fm-gsv2 .fm-detailCard .tab-html strong,
.fm-gsv2 .fm-detailCard .tab-html b,
.gsv2-skuinfo__rich strong,
.gsv2-skuinfo__rich b{
  font-weight: 600;
  color: rgba(17,24,39,.92);
}

.fm-gsv2 .fm-detailCard .tab-html em,
.fm-gsv2 .fm-detailCard .tab-html i,
.gsv2-skuinfo__rich em,
.gsv2-skuinfo__rich i{
  font-style: italic;
}

.fm-gsv2 .fm-detailCard .tab-html small,
.gsv2-skuinfo__rich small{
  font-size: 12px;
  color: rgba(17,24,39,.56);
}

.fm-gsv2 .fm-detailCard .tab-html ul,
.fm-gsv2 .fm-detailCard .tab-html ol,
.gsv2-skuinfo__rich ul,
.gsv2-skuinfo__rich ol{
  margin: 10px 0;
  padding-left: 20px;
}

.fm-gsv2 .fm-detailCard .tab-html li,
.gsv2-skuinfo__rich li{
  margin: 0;
  line-height: 1.65;
}

.fm-gsv2 .fm-detailCard .tab-html li + li,
.gsv2-skuinfo__rich li + li{
  margin-top: 6px;
}

.fm-gsv2 .fm-detailCard .tab-html a,
.gsv2-skuinfo__rich a{
  color: #2563eb;
  text-decoration: underline;
  word-break: break-all;
}

.fm-gsv2 .fm-detailCard .tab-html img,
.gsv2-skuinfo__rich img{
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 12px auto;
  border-radius: 12px;
}

.fm-gsv2 .fm-detailCard .tab-html figure,
.gsv2-skuinfo__rich figure{
  display: block;
  width: auto !important;
  max-width: 100% !important;
  margin: 12px auto;
}

.fm-gsv2 .fm-detailCard .tab-html figure img,
.gsv2-skuinfo__rich figure img{
  margin: 0 auto;
}

.fm-gsv2 .fm-detailCard .tab-html figcaption,
.gsv2-skuinfo__rich figcaption{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17,24,39,.52);
  text-align: center;
}

.fm-gsv2 .fm-detailCard .tab-html blockquote,
.gsv2-skuinfo__rich blockquote{
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(37,99,235,.22);
  border-radius: 10px;
  background: rgba(37,99,235,.05);
  color: rgba(17,24,39,.72);
}

.fm-gsv2 .fm-detailCard .tab-html hr,
.gsv2-skuinfo__rich hr{
  border: 0;
  height: 1px;
  margin: 14px 0;
  background: rgba(15,23,42,.08);
}

.fm-gsv2 .fm-detailCard .tab-html code,
.gsv2-skuinfo__rich code{
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15,23,42,.06);
  font-size: .92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.fm-gsv2 .fm-detailCard .tab-html pre,
.gsv2-skuinfo__rich pre{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,23,42,.06);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre-wrap;
  word-break: break-word;
}

.fm-gsv2 .fm-detailCard .tab-html pre code,
.gsv2-skuinfo__rich pre code{
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
}

.fm-rich-table-wrap{
  width: 100%;
  max-width: 100%;
  margin: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fm-gsv2 .fm-detailCard .tab-html table,
.gsv2-skuinfo__rich table{
  width: 100%;
  min-width: 420px;
  max-width: none;
  border-collapse: collapse;
  margin: 12px 0;
  background: #fff;
}

.fm-rich-table-wrap > table{
  margin: 0;
}

.fm-gsv2 .fm-detailCard .tab-html th,
.fm-gsv2 .fm-detailCard .tab-html td,
.gsv2-skuinfo__rich th,
.gsv2-skuinfo__rich td{
  border: 1px solid rgba(15,23,42,.08);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.fm-gsv2 .fm-detailCard .tab-html th,
.gsv2-skuinfo__rich th{
  background: rgba(15,23,42,.04);
  font-weight: 600;
  color: rgba(17,24,39,.88);
}

.fm-gsv2 .fm-detailCard .tab-html iframe,
.fm-gsv2 .fm-detailCard .tab-html video,
.gsv2-skuinfo__rich iframe,
.gsv2-skuinfo__rich video{
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px 0;
  border: 0;
  border-radius: 12px;
}

.fm-gsv2 .fm-detailCard .tab-html :is(p, div, figure, span)[style*="width"],
.fm-gsv2 .fm-detailCard .tab-html :is(p, div, figure, span)[style*="max-width"],
.gsv2-skuinfo__rich :is(p, div, figure, span)[style*="width"],
.gsv2-skuinfo__rich :is(p, div, figure, span)[style*="max-width"]{
  width: auto !important;
  max-width: 100% !important;
}

.fm-gsv2 .fm-detailCard .tab-html :is(p, div, figure, span)[style*="float"],
.gsv2-skuinfo__rich :is(p, div, figure, span)[style*="float"]{
  float: none !important;
}

/* =========================================================
   FINAL PATCH: fixed background should stay visible on PC
   收轻白色蒙层，降低模糊，不再把背景图洗白
========================================================= */
@media (min-width: 901px){
  .fm-gsv2.gsv2-redesign{
    --gsv2-bg-pos: 50% 18%;
  }

  .fm-gsv2.gsv2-redesign::before{
    background-position: var(--gsv2-bg-pos) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    filter: blur(8px) saturate(1.06) contrast(1.01) !important;
    transform: translate3d(0,0,0) scale(1.05) !important;
    inset: -72px !important;
    opacity: .96 !important;
  }

  .fm-gsv2.gsv2-redesign::after{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.02) 0%,
        rgba(255,255,255,.08) 18%,
        rgba(255,255,255,.16) 38%,
        rgba(255,255,255,.26) 56%,
        rgba(255,255,255,.38) 72%,
        rgba(255,255,255,.54) 86%,
        rgba(255,255,255,.68) 100%
      ) !important;
  }
}

/* =========================================================
   FINAL PATCH: PC top header/logo + compact product summary
   - 内容区左侧返回改为品牌 logo
   - 上方产品信息整体缩小一档，减少拥挤感
========================================================= */
@media (min-width: 901px){
  .fm-gsv2.gsv2-redesign .gsv2-stage{
    padding: 24px 0 0;
  }

  .fm-gsv2.gsv2-redesign .gsv2-stage__back{
    margin-bottom: 12px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productCard{
    padding: 14px 16px;
    border-radius: 28px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead{
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 14px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__cover{
    width: 98px;
    height: 98px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__headline{
    gap: 12px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__titleRow{
    gap: 10px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__title{
    font-size: 17px;
    line-height: 1.18;
  }

  .fm-gsv2.gsv2-redesign .gsv2-productHead__off{
    height: 24px;
    padding: 0 9px;
    border-radius: 9px;
    font-size: 12px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingRow{
    margin-top: 8px;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingStars{
    gap: 2px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingStars .material-icons{
    font-size: 17px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingValue{
    font-size: 14px;
    font-weight: 600;
  }

  .fm-gsv2.gsv2-redesign .gsv2-ratingReviews{
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #626366;
    transition: color .15s ease;
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav{
    width: 38px;
    height: 38px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-fav .material-icons{
    font-size: 21px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaLine{
    margin-top: 12px;
    gap: 10px;
    row-gap: 8px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-avatarDot{
    width: 24px;
    height: 24px;
    margin-left: -5px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem{
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaItem .material-icons{
    font-size: 18px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-metaDivider{
    height: 14px;
  }

  .fm-gsv2.gsv2-redesign .gsv2-sceneTabsWrap{
    margin-top: 14px;
  }
}

/* =========================================================
   FINAL PATCH: skuinfo modal language should follow locale
   语言切换后只显示当前语言，避免中英文同屏
========================================================= */
.gsv2-skuinfo.is-zh .en{
  display: none !important;
}

.gsv2-skuinfo.is-en .zh{
  display: none !important;
}
