/* 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: #fbbf24;
  --fm-orange: #f59e0b;

  --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: 900;
  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:900;
  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:800;
  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:800;
  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:#f59e0b; }
.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:900; 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:#f59e0b; }

/* =========================
   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:900;
  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:800; 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:800;
  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(253, 234, 196, .92);
  border-color: rgba(245,158,11,.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(245,158,11,.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;
}
.fm-gsv2 .fm-sku__name{
  font-size:14px;
  font-weight:900;
  color: rgba(11,18,32,.86);
  line-height:1.1;
  min-height:28px;
}
.fm-gsv2 .fm-sku__priceRow{
  margin-top:8px;
  display:flex;
  align-items:baseline;
  gap:12px;
}
.fm-gsv2 .fm-sku__priceRow .now{
  font-size:16px;
  font-weight:950;
  color: rgba(11,18,32,.90);
}
.fm-gsv2 .fm-sku__priceRow .old{
  font-size:12px;
  font-weight:800;
  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:950;
  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:950;
  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:700; }
.fm-gsv2 .fm-bill__row .v{ color: rgba(11,18,32,.90); font-weight:900; }

.fm-gsv2 .fm-bill__link{
  border:0;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:900;
  color: rgba(245,158,11,.95);
  padding:6px 8px;
  border-radius:12px;
}
.fm-gsv2 .fm-bill__link:hover{ background: rgba(245,158,11,.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:700;
  color: rgba(107,114,128,.95);
}
.fm-gsv2 .fm-bill__break .r .v{ color: rgba(11,18,32,.86); font-weight:900; }

.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:900; color: rgba(11,18,32,.80); }
.fm-gsv2 .fm-bill__total .v{ font-size:26px; font-weight:950; 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:950;
  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:950; 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:900;
  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:950; margin:0 0 10px; }

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

/* =========================
   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:950; 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: 800;
}

.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(253, 234, 196, .55);
  border-color: rgba(245,158,11,.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: 950;
  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: 700;
  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: 950;
  color: rgba(245,158,11,.98);
}

.fm-coupon-save{
  font-size: 12px;
  font-weight: 900;
  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: 900;
  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: 950;
  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: #f5b800;
  --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: 950;
  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: 900;
  flex: 1;
  font-size: 13px;
}
#fm-coupon-modal .ck3-btn--primary{
  background: var(--ck3-accent);
  border-color: rgba(245,184,0,.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(245,184,0,.60);
  box-shadow: 0 10px 28px rgba(245,184,0,.10);
}
#fm-coupon-modal .ck3-coupon-item.is-disabled{
  opacity:.55;
  cursor:not-allowed;
}
#fm-coupon-modal .ck3-coupon-item__t{
  font-weight: 950;
  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: #FFEEBA !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: 10px !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: 800;
  line-height: normal;
}

#fm_trust_modal .fm-trust-title{
  margin-top: 10px;
  color: #FFF;
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  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(245,158,11,.98);
  font-size: 14px;
  font-weight: 900;
  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: 650;
  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:800;
  font-size:18px;
  color:#111827;
  border:2px solid rgba(17,24,39,.14);
}

.gsv2-skuinfo__ttl .zh{
  font-size:20px;
  font-weight:800;
  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:700;
  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:900;
}

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

.gsv2-skuinfo__btn .zh{
  display:block;
  font-size:18px;
  font-weight:900;
  line-height:1.05;
}
.gsv2-skuinfo__btn .en{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:700;
  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:800;
}
.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:700; }
.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(251,191,36,.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: 800;
  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: 800;
  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: 800;
  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;
}