/*
Theme Name: Slot News
Author: bigfish
Description: Figma-driven slot content theme for stage one.
Version: 0.1.1
Text Domain: slot-news
*/

:root {
  --slot-bg: #0b0d14;
  --slot-surface: #141720;
  --slot-surface-2: #111520;
  --slot-border: #1e2433;
  --slot-text: #ffffff;
  --slot-muted: #94a3b8;
  --slot-accent: #7c5cfc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--slot-bg);
  color: var(--slot-text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.slot-site-header,
.slot-site-footer {
  border-color: var(--slot-border);
  background: var(--slot-surface-2);
}

.slot-site-header {
  border-bottom: 1px solid var(--slot-border);
}

.slot-site-footer {
  border-top: 1px solid var(--slot-border);
}

.slot-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.slot-site-header .slot-shell,
.slot-site-footer .slot-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.slot-page {
  padding: 32px 0 80px;
}

.slot-page__hero,
.slot-page__section,
.slot-card-grid,
.slot-placeholder-panel {
  border: 1px solid var(--slot-border);
  border-radius: 16px;
  background: var(--slot-surface);
}

.slot-page__hero,
.slot-page__section,
.slot-placeholder-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.slot-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px;
}

.slot-card {
  border: 1px solid var(--slot-border);
  border-radius: 12px;
  background: var(--slot-surface-2);
  padding: 16px;
}

.slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(124, 92, 252, 0.16);
  color: var(--slot-accent);
  font-size: 12px;
  font-weight: 700;
}

.slot-muted {
  color: var(--slot-muted);
}

.slot-ad-slot {
  margin: 24px 0;
  min-height: 120px;
}

@media (max-width: 767px) {
  .slot-site-header .slot-shell,
  .slot-site-footer .slot-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Videos --- */
.slot-badge--sm {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}

.slot-video-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.slot-video-meta__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slot-video-meta__item--full {
  grid-column: 1 / -1;
}

.slot-video-meta__item strong {
  font-size: 14px;
}

.slot-video-meta__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slot-video-meta__related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.slot-video-meta__related a {
  color: var(--slot-accent);
  border-bottom: 1px dashed rgba(124, 92, 252, 0.35);
}

.slot-video-content {
  line-height: 1.65;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.slot-video-content p {
  margin: 0 0 14px;
}

.slot-card-grid--videos {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.slot-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.slot-video-card:hover {
  transform: translateY(-2px);
  border-color: var(--slot-accent);
}

.slot-video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--slot-surface);
}

.slot-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-video-card__no-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1219 100%);
}

.slot-video-card__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.slot-video-card__cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 20px;
}

.slot-video-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-video-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slot-video-card__title a:hover {
  color: var(--slot-accent);
}

.slot-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.slot-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--slot-border);
  border-radius: 8px;
  background: var(--slot-surface-2);
  color: var(--slot-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.12s ease;
}

.slot-pagination .page-numbers:hover {
  border-color: var(--slot-accent);
  color: var(--slot-text);
}

.slot-pagination .page-numbers.current {
  background: var(--slot-accent);
  border-color: var(--slot-accent);
  color: #fff;
}

@media (max-width: 767px) {
  .slot-card-grid--videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .slot-video-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .slot-video-card__title {
    font-size: 13px;
  }

  .slot-video-card__duration {
    font-size: 11px;
    padding: 3px 6px;
  }
}

/* ==================================================================
 * =Phase 8 Search/Relations + Phase 9 Ad Manager
 * Figma Tokens 鍐欐鍒?:root锛涚粍浠跺懡鍚嶈鑼?c-xxx锛堜笉姹℃煋鏃?slot-xxx锛? * 鏃?slot-video* 鍙橀噺淇濈暀 0 淇敼锛孷ideo 鎾斁鍣ㄥ厹搴曚笉鍥炲綊
 * ================================================================== */

:root {
  /* 鈥斺€?鑳屾櫙/琛ㄩ潰/杈规 7 灞傦紙Figma fill_* 绮剧‘鑹插€硷級鈥斺€?*/
  --bg-page:          #0B0D14;
  --bg-surface-1:     #141720;
  --bg-surface-2:     #1E2433;
  --bg-surface-3:     #111520;
  --bg-surface-4:     #1C2030;
  --bg-surface-5:     #080A10;
  --border-default:   #2A3040;
  --border-strong:    #1E293B;

  /* 鈥斺€?涓昏壊 & 娓愬彉 鈥斺€?*/
  --brand-primary:    #7C5CFC;
  --brand-primary-2:  #6B4FE0;
  --brand-06:         rgba(124, 92, 252, 0.06);
  --brand-13:         rgba(124, 92, 252, 0.13);
  --brand-gradient:   linear-gradient(135deg, #7C5CFC 0%, #3B1E94 100%);

  /* 鈥斺€?璇箟娓愬彉 chips 鈥斺€?*/
  --chip-rtp-high:    #00D4AA;
  --chip-rtp-grad:    linear-gradient(135deg, #00D4AA 0%, #0052D4 100%);
  --chip-demo:        linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  --chip-new:         linear-gradient(135deg, #FEE140 0%, #FA709A 100%);
  --chip-hot:         linear-gradient(135deg, #FF0844 0%, #FFB199 100%);
  --chip-pink:        linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
  --chip-orange:      linear-gradient(135deg, #F6D365 0%, #FDA085 100%);
  --chip-volatility:  linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
  --chip-bg-green-13: rgba(0, 212, 170, 0.13);
  --warn-yellow:      #FBBF24;
  --err-red:          #EF4444;
  --ok-green:         #10B981;
  --info-blue:        #3B82F6;
  --rtp-gold:         #CD7F32;

  /* 鈥斺€?鏂囧瓧 3 灞?鈥斺€?*/
  --text-primary:     #FFFFFF;
  --text-secondary:   #94A3B8;
  --text-tertiary:    #64748B;
  --text-chip-dark:   #000000;

  /* 鈥斺€?瀛椾綋锛團igma Inter 閿佹锛夆€斺€?*/
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* 鈥斺€?瀛楀彿浣撶郴锛團igma style_* 绮剧‘瀛楀彿+瀛楅噸锛夆€斺€?*/
  --fs-h1: 32px;   /* ExtraBold 800 */
  --fs-h2: 24px;   /* ExtraBold 800 / Bold 700 */
  --fs-h3: 20px;   /* ExtraBold 800 */
  --fs-h4: 18px;   /* ExtraBold 800 */
  --fs-body-lg: 15px;
  --fs-body:   14px;
  --fs-body-sm:13px;
  --fs-btn:    14px; /* SemiBold 600 */
  --fs-label:  12px;
  --fs-chip:   11px;

  /* 鈥斺€?闂磋窛锛?px 鍩烘爡鏍硷紝Figma gap 瀵归綈锛夆€斺€?*/
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px;
  --sp-10:40px; --sp-12:48px; --sp-15:60px; --sp-20:80px;

  /* 鈥斺€?鍦嗚锛堟柟瑙掓劅 2/4/8/12/16锛夆€斺€?*/
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* 鈥斺€?瀹瑰櫒灏哄锛團igma layout_* 绮剧‘瀹介珮锛夆€斺€?*/
  --container-w: 1200px;
  --page-w:      1440px;
  --game-card-w: 285px;
  --game-card-h: 340px;
  --game-card-cover-h: 150px;
  --game-card-sm-w: 270px;
  --game-card-sm-h: 320px;
  --news-card-w: 386px;
  --news-card-h: 220px;
  --news-card-cover-h: 130px;
  --video-card-w: 360px;
  --video-card-h: 310px;
  --hero-w:      800px;
  --hero-h:      64px;
}

html, body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-primary); text-decoration: none; }
a:hover { color: var(--brand-primary); }
img { max-width: 100%; display: block; }

/* ======= 閫氱敤锛氬鍣?/ 鏍呮牸 ======= */
.c-container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--sp-4);
}
.c-section {
  padding-block: var(--sp-10);
}
.c-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.c-section__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.c-section__viewall {
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
  font-weight: 600;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ======= Header / Footer ======= */
.c-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-surface-5);
  border-bottom: 1px solid var(--border-default);
  backdrop-filter: blur(6px);
}
.c-site-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.c-site-header__brand-link { display: inline-flex; align-items: center; height: 100%; }
.c-site-header__brand { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.01em; color: var(--brand-primary); }
.c-site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-8); align-items: center; }
.c-site-nav__link {
  color: var(--text-secondary);
  font-size: var(--fs-btn);
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.12s ease;
}
.c-site-nav__link.is-current { color: var(--text-primary); }
.c-site-nav__link.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
}
.c-site-nav__link:hover { color: var(--text-primary); }
.c-site-footer {
  border-top: 1px solid var(--border-default);
  background: var(--bg-surface-5);
  margin-top: var(--sp-20);
}
.c-site-footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
}
.c-site-footer__copy { color: var(--text-tertiary); font-size: var(--fs-body-sm); margin: 0; }
.c-site-footer__socials { display: flex; gap: var(--sp-3); }
.c-social {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface-3);
  color: var(--text-secondary);
  font-weight: 700;
  transition: all 0.12s ease;
}
.c-social:hover { color: var(--text-primary); border-color: var(--brand-primary); }

/* ======= Buttons ======= */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding-inline: 18px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.12s ease;
  line-height: 1;
  font-family: inherit;
  white-space: nowrap;
}
.c-btn--primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.c-btn--primary:hover { background: var(--brand-primary-2); border-color: var(--brand-primary-2); color: #fff; }
.c-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.c-btn--ghost:hover { border-color: var(--brand-primary); color: var(--text-primary); }
.c-btn--play {
  background: var(--brand-gradient);
  color: #fff;
  padding-inline: 16px;
  min-height: 32px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}
.c-btn--play:hover { filter: brightness(1.1); color: #fff; }

/* ======= Chips / Flags ======= */
.c-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding-inline: 8px;
  gap: 4px;
  font-size: var(--fs-chip);
  font-weight: 600;
  border-radius: var(--radius-xs);
  line-height: 1;
  color: var(--text-secondary);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  user-select: none;
}
.c-chip--filter {
  cursor: pointer;
  padding-inline: 10px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
}
.c-chip--filter input { position: absolute; opacity: 0; pointer-events: none; }
.c-chip--filter.is-on {
  background: var(--brand-13);
  border-color: var(--brand-primary);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--brand-primary) inset;
}
.c-chip--rtp {
  color: var(--chip-rtp-high);
  background: var(--chip-bg-green-13);
  border-color: transparent;
  font-weight: 700;
}
.c-chip--vol {
  background: var(--chip-bg-green-13);
  color: var(--chip-rtp-high);
  border-color: transparent;
}
.c-chip--demo {
  background: var(--chip-demo);
  color: var(--text-chip-dark);
  border-color: transparent;
  min-height: 32px;
  padding-inline: 10px;
}
.c-chip--demo.is-disabled {
  background: var(--bg-surface-2);
  color: var(--text-tertiary);
  border-color: var(--border-default);
  cursor: not-allowed;
  opacity: 0.7;
}
.c-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.c-chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.c-chip-row--scroll::-webkit-scrollbar { height: 6px; }
.c-chip-row--scroll::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 3px; }

.c-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: var(--fs-chip);
  font-weight: 700;
  border-radius: var(--radius-xs);
  color: var(--text-chip-dark);
  line-height: 1;
  letter-spacing: 0.02em;
  z-index: 2;
}
.c-flag--new { background: var(--chip-new); }
.c-flag--cat {
  background: var(--brand-13);
  color: var(--brand-primary);
  top: auto;
  bottom: 8px;
  left: 8px;
}
.c-flag--cat a { color: inherit; }

/* ======= Search + Filter bar ======= */
.c-filter-bar {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.c-filter-bar__row { display: flex; align-items: center; gap: var(--sp-4); }
.c-filter-bar__row + .c-filter-bar__row { margin-top: var(--sp-4); }
.c-filter-bar__row--search { justify-content: space-between; }
.c-filter-bar__row--inline {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--sp-6);
}
.c-filter-bar__group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 1 1 auto;
  min-width: 0;
}
.c-filter-bar__label {
  flex-shrink: 0;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  font-weight: 700;
  min-width: 72px;
}
.c-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 48px;
  background: var(--bg-surface-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding-inline: 14px;
  gap: 10px;
  transition: border-color 0.12s ease;
}
.c-search:focus-within { border-color: var(--brand-primary); }
.c-search__icon {
  color: var(--text-tertiary);
  display: inline-flex;
}
.c-search__input {
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  font-size: var(--fs-body);
  font-family: inherit;
  padding-block: 12px;
}
.c-search__input::placeholder { color: var(--text-tertiary); }
.c-search__go { min-height: 36px; }

/* ======= Game Card锛堜弗鏍?285脳340 涓嶅厑璁歌秴宸級======= */
.slot-card-grid,
.c-card-grid,
.c-card-grid--games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}
.c-card-grid--games > .c-ad-slot:nth-child(5n) {
  grid-column: span 1;
}
.c-game-card {
  width: var(--game-card-w);
  height: var(--game-card-h);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.c-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.12);
}
.c-game-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.c-game-card__cover-wrap {
  position: relative;
  width: 100%;
  height: var(--game-card-cover-h);
  background: var(--bg-surface-2);
  overflow: hidden;
}
.c-game-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.c-game-card:hover .c-game-card__cover { transform: scale(1.03); }
.c-game-card__cover.is-empty {
  background: linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-surface-4) 100%);
}
.c-game-card__body {
  flex: 1 1 auto;
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.c-game-card__title {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  min-height: 38px;
}
.c-game-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.c-game-card__brand {
  margin-left: auto;
  font-size: var(--fs-chip);
  color: var(--text-tertiary);
  font-weight: 600;
}
.c-game-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

/* ======= Provider / News / Video 鍗?======= */
.c-card-grid--providers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}
.c-provider-card {
  width: 270px;
  height: 320px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.c-provider-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
}
.c-provider-card__link {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
}
.c-provider-card__logo-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  padding: 0;
  overflow: hidden;
}
.c-provider-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.c-provider-card__logo.is-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-2);
  width: 100%;
  height: 100%;
  padding: var(--sp-4);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.92);
  text-align: center;
  background: var(--pv-empty-bg, var(--brand-gradient));
  border-radius: inherit;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.c-provider-card__empty-icon {
  display: block;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,.92);
}
.c-provider-card__empty-label {
  line-height: 1.2;
}
@media (max-width: 640px) {
  .c-provider-card__empty-icon { width: 28px; height: 28px; }
  .c-provider-card__logo.is-empty { font-size: 12px; }
}
.c-provider-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.c-provider-card__name { margin: 0; font-size: var(--fs-h4); font-weight: 800; line-height: 1.3; min-height: 48px; }
.c-provider-card__count {
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.c-card-grid--news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.c-news-card {
  width: var(--news-card-w);
  height: var(--news-card-h);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.c-news-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}
.c-news-card__link { display: flex; width: 100%; height: 100%; }
.c-news-card__cover-wrap {
  position: relative;
  width: var(--news-card-cover-h); /* 鏂瑰舰宸﹀浘 */
  flex-shrink: 0;
  background: var(--bg-surface-2);
}
.c-news-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-news-card__cover.is-empty {
  background: linear-gradient(135deg, var(--bg-surface-2), var(--bg-surface-4));
}
.c-news-card__body {
  flex: 1 1 auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.c-news-card__title {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.4;
  min-height: 40px;
}
.c-news-card__excerpt {
  margin: 0;
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 44px;
}
.c-news-card__date {
  margin-top: auto;
  color: var(--text-tertiary);
  font-size: var(--fs-label);
  font-weight: 600;
}

/* ======= 14 涓箍鍛婁綅锛氭寜灏哄璁剧疆鏈€灏忛珮搴?======= */
.c-ad-slot {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-1);
  border: 1px dashed var(--border-default);
}
.c-ad-slot.is-empty {
  min-height: 90px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0,
    rgba(255,255,255,0.02) 8px,
    transparent 8px,
    transparent 16px
  );
}
.c-ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c-ad-slot a { display: block; width: 100%; height: 100%; }
.c-ad-slot[data-ad-size="970x90"],   .c-ad-slot--970x90    { min-height: 90px; max-width: 970px; margin-inline: auto; }
.c-ad-slot[data-ad-size="970x250"],  .c-ad-slot--970x250   { min-height: 250px; max-width: 970px; margin-inline: auto; }
.c-ad-slot[data-ad-size="1200x90"],  .c-ad-slot--1200x90   { min-height: 90px; }
.c-ad-slot[data-ad-size="1200x250"], .c-ad-slot--1200x250  { min-height: 250px; }
.c-ad-slot[data-ad-size="760x90"],   .c-ad-slot--760x90    { min-height: 90px; max-width: 760px; }
.c-ad-slot[data-ad-size="760x250"],  .c-ad-slot--760x250   { min-height: 250px; max-width: 760px; }
.c-ad-slot[data-ad-size="285x250"],  .c-ad-slot--285x250   { min-height: 250px; width: 285px; }
.c-ad-slot[data-ad-size="300x600"],  .c-ad-slot--300x600   { min-height: 600px; width: 300px; }

/* ======= 棣栭〉锛欻ero + 鏂版父鎺ㄨ崘 ======= */
.c-hero {
  background:
    radial-gradient(1200px 360px at 20% 0%, rgba(124, 92, 252, 0.22) 0%, rgba(11, 13, 20, 0) 60%),
    radial-gradient(900px 260px at 80% 40%, rgba(0, 212, 170, 0.14) 0%, rgba(11, 13, 20, 0) 60%),
    var(--bg-page);
  padding-block: var(--sp-15) var(--sp-12);
  border-bottom: 1px solid var(--border-default);
}
.c-hero__inner {
  max-width: var(--hero-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding-inline: var(--sp-4);
}
.c-hero__eyebrow {
  display: inline-flex;
  margin: 0 auto;
  padding: 4px 12px;
  font-size: var(--fs-chip);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-13);
  border-radius: 999px;
  border: 1px solid var(--brand-primary);
}
.c-hero__title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #C9BFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.c-hero__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  max-width: 560px;
  margin-inline: auto;
}
.c-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.c-hero__cta .c-search {
  flex: 0 1 var(--hero-w);
  min-height: var(--hero-h);
  box-shadow: 0 16px 60px rgba(124, 92, 252, 0.25);
}

/* ======= 娓告垙璇︽儏锛歨ero + meta + related ======= */
.c-game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--sp-8);
  padding-block: var(--sp-10);
}
.c-game-hero__cover {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--bg-surface-2);
  aspect-ratio: 16 / 9;
}
.c-game-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.c-game-hero__info { display: flex; flex-direction: column; gap: var(--sp-4); }
.c-game-hero__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.c-game-hero__meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.c-game-hero__desc {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--fs-body);
}
.c-game-hero__ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}
.c-game-hero__side {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: sticky;
  top: 88px;
}
.c-game-hero__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed var(--border-default);
}
.c-game-hero__stat:last-child { border-bottom: 0; padding-bottom: 0; }
.c-game-hero__stat-label { color: var(--text-tertiary); font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.c-game-hero__stat-value { color: var(--rtp-gold); font-weight: 800; font-size: 15px; }

.c-article-content {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-10);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: var(--fs-body-lg);
}
.c-article-content h2 { font-size: var(--fs-h3); font-weight: 800; margin: var(--sp-6) 0 var(--sp-4); }
.c-article-content p { margin: 0 0 var(--sp-4); color: var(--text-secondary); }
.c-article-content strong { color: var(--text-primary); }

/* ======= Pagination ======= */
.c-pagination {
  margin-block: var(--sp-10) var(--sp-6);
  text-align: center;
}
.c-pagination .page-numbers,
.slot-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface-3);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.12s ease;
  margin-inline: 3px;
}
.c-pagination .page-numbers:hover,
.slot-pagination .page-numbers:hover { border-color: var(--brand-primary); color: var(--text-primary); }
.c-pagination .page-numbers.current,
.slot-pagination .page-numbers.current {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* ======= Provider detail锛氭棗涓嬫父鎴忔爡鏍?======= */
.c-provider-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: var(--sp-8);
  padding-block: var(--sp-10);
  align-items: start;
}
.c-provider-hero__logo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: var(--brand-gradient);
  overflow: hidden;
}
.c-provider-hero__logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.c-provider-hero__logo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
@media (max-width: 767px) {
  .c-provider-hero {
    grid-template-columns: 1fr;
  }
}
.c-provider-hero__title { margin: 0 0 var(--sp-3); font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.02em; }
.c-provider-hero__desc { color: var(--text-secondary); line-height: 1.6; margin: 0 0 var(--sp-5); }

/* ======= 閫氱敤渚ц竟鏍忥紙6 涓?widget 鍖哄煙 HIGH7锛?======= */
.c-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--sp-10);
  align-items: start;
}
.c-layout__sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--sp-6); }
.widget {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.widget .widget-title {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-body);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ======= Lightbox锛堝師鐢?<dialog>锛?======= */
.c-lightbox {
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  color: var(--text-primary);
}
.c-lightbox::backdrop { background: rgba(5, 6, 12, 0.86); backdrop-filter: blur(4px); }
.c-lightbox[open] { display: block; }
.c-lightbox__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}
.c-lightbox__close-form { position: absolute; top: 12px; right: 12px; }
.c-lightbox__close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.12s ease;
}
.c-lightbox__close:hover { background: var(--brand-primary); }

/* ======= 鍝嶅簲寮忥細骞虫澘 / 鎵嬫満 ======= */
@media (max-width: 1199px) {
  :root { --container-w: 100%; }
  .c-card-grid--games, .slot-card-grid--videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-card-grid--providers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-card-grid--news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-layout { grid-template-columns: minmax(0, 1fr); }
  .c-layout__sidebar { position: static; }
  .c-game-hero, .c-provider-hero { grid-template-columns: 1fr; }
  .c-game-hero__side { position: static; }
}
@media (max-width: 767px) {
  .c-site-nav__list { gap: var(--sp-4); }
  .c-hero__title { font-size: 30px; }
  .c-card-grid--games, .slot-card-grid--videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .c-card-grid--providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-card-grid--news { grid-template-columns: 1fr; }
  .c-game-card, .c-provider-card { width: 100%; height: auto; min-height: var(--game-card-h); }
  .c-news-card { width: 100%; height: auto; }
  .c-news-card__cover-wrap { width: 110px; }
  .c-game-hero__title { font-size: var(--fs-h2); }
  .c-pagination .page-numbers { min-width: 32px; height: 32px; font-size: 12px; }
  .c-article-content { padding: var(--sp-4); }
  .c-hero { padding-block: var(--sp-8); }
  .c-site-header__inner { height: 56px; }
}

/* ============= D3.2 Fix: Homepage 5 visual bugs (Append-only, zero regression) ============= */

/* Bug 1/5: c-brand-gradient class missing 鈥?Hero title purple gradient */
.c-brand-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  display: inline-block;
}

/* Bug 3/5: .c-ad-slot.is-empty too dark 鈫?bright purple diagonal + dashed border + dev slot_key label */
.c-ad-slot.is-empty {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(124, 92, 252, 0.12) 0 10px,
    transparent 10px 20px
  ) !important;
  border: 1px dashed rgba(124, 92, 252, 0.50) !important;
  position: relative;
}
.c-ad-slot.is-empty::after {
  content: attr(data-slot-key);
  position: absolute;
  inset: auto 8px 4px auto;
  font-size: 10px;
  line-height: 1;
  color: rgba(124, 92, 252, 0.75);
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* Bug 4/5 (fallback only 鈥?Bug2 fixes Hero CTA by using c-search structure): .c-input fallback */
.c-input,
.c-input--lg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--fs-body);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.c-input:focus,
.c-input--lg:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.15);
}
.c-input--lg {
  font-size: var(--fs-lead);
  padding: 14px 18px;
  border-radius: var(--r-md);
}
.c-input::placeholder,
.c-input--lg::placeholder {
  color: var(--text-tertiary);
}

/* ============= Phase B1. Figma Header Redesign (铏庢満涓栫晫) ============= */

.c-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #141720;
  border-bottom: 1px solid #1E2433;
}
.c-site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  gap: 40px;
}
.c-site-header__brand-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}
.c-site-header__brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.c-site-header__brandicon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #7C5CFC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.c-site-header__brandword {
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.c-site-header__logo {
  height: 40px;
  width: auto;
  display: block;
}
.c-site-header__middle {
  display: flex;
  align-items: center;
  flex: 1;
}
.c-site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
.c-site-nav__link {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  color: #94A3B8;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 24px 0 4px;
  position: relative;
  transition: color 0.12s ease;
}
.c-site-nav__link > span {
  display: inline-block;
}
.c-site-nav__link:hover {
  color: #FFFFFF;
}
.c-site-nav__indicator {
  display: block;
  width: 30px;
  height: 2px;
  background: #7C5CFC;
  border-radius: 2px;
  margin-top: 4px;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.c-site-nav__link.is-current {
  color: #FFFFFF;
  font-weight: 700;
}
.c-site-nav__link.is-current .c-site-nav__indicator {
  opacity: 1;
  transform: scaleX(1);
}

.c-site-header__controls {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.c-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.12s ease, background 0.12s ease;
}
.c-icon-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}
.c-site-header__avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 16px;
  background: #1C2030;
  border: 1px solid #1E2433;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}
.c-site-header__avatar:hover {
  color: #FFFFFF;
  background: #1E2433;
}

/* Header 灞曞紑鎼滅储闈㈡澘 */
.c-site-header__searchpanel {
  display: none;
  align-items: center;
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 120px 16px;
  border-top: 1px solid #1E2433;
  background: #141720;
}
.c-site-header.is-search-open .c-site-header__searchpanel {
  display: flex;
}
.c-site-header__searchicon {
  display: inline-flex;
  align-items: center;
  color: #94A3B8;
  padding-left: 12px;
}
.c-site-header__searchpanel input[type="search"] {
  flex: 1;
  background: #0B0D14;
  border: 1px solid #1E2433;
  color: #FFFFFF;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.12s ease;
}
.c-site-header__searchpanel input[type="search"]:focus {
  border-color: #7C5CFC;
}
.c-site-header__searchgo {
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .c-site-header__inner { padding: 0 20px; gap: 16px; }
  .c-site-header__searchpanel { padding: 12px 20px 16px; }
  .c-site-nav__list { gap: 16px; }
  .c-site-header__lang span { display: none; }
}
@media (max-width: 640px) {
  .c-site-header__inner { height: 64px; padding: 0 16px; }
  .c-site-header__middle { display: none; }
  .c-site-header__controls { gap: 8px; }
  .c-site-header__brandword { font-size: 18px; }
  .c-site-header__brandicon { width: 32px; height: 32px; font-size: 18px; }
}

/* ============= Phase B2. Figma Homepage Redesign (12 sections) ============= */

.c-home {
  background: #0B0D14;
  padding-bottom: 120px;
  width: 100%;
  min-width: 0;
}

.c-home-banner {
  width: 100%;
  padding: 0 0 32px 0;
  margin: 0;
}
.c-home-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.c-home-banner__inner--1200x120 {
  max-width: 1200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-home-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}
.c-home-section--pad {
  padding: 40px 0;
  margin: 0 auto;
}

/* Section 缁熶竴鏍囬鏍?*/
.c-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.c-sec-head__title {
  margin: 0;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
}
.c-sec-head__more {
  color: #7C5CFC;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.12s ease;
}
.c-sec-head__more:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 閫氱敤 4 鍒楁爡鏍?(card 285 + gap 20) */
.c-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}
.c-grid-row--g20 {
  gap: 20px;
}

/* ===== 鐑棬鑰佽檸鏈猴細3 寮犲ぇ鍗?(386x300) ===== */
.c-hot-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  width: 100%;
}
.c-hot-hero {
  width: 100%;
  height: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #141720;
  border: 1px solid #1E2433;
  display: block;
  text-decoration: none;
}
.c-hot-hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.c-hot-hero__cover.is-empty {
  background-size: cover;
  background-position: center;
}
.c-hot-hero__cover.is-empty[data-grad="0"] {
  background-image: linear-gradient(135deg, rgba(124, 92, 252, 1) 0%, rgba(59, 30, 148, 1) 100%);
}
.c-hot-hero__cover.is-empty[data-grad="1"] {
  background-image: linear-gradient(135deg, rgba(0, 212, 170, 1) 0%, rgba(0, 82, 212, 1) 100%);
}
.c-hot-hero__cover.is-empty[data-grad="2"] {
  background-image: linear-gradient(135deg, rgba(0, 242, 254, 1) 0%, rgba(79, 172, 254, 1) 100%);
}
.c-hot-hero__info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.c-hot-hero__title {
  margin: 0;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}
.c-hot-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #94A3B8;
  font-size: 13px;
  margin-top: auto;
}

/* ===== 鐑棬鑰佽檸鏈猴細4 寮犵揣鍑戣鍗?(285x80) ===== */
.c-hot-compact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: -4px;
}
.c-hot-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  height: 80px;
  background: #141720;
  border: 1px solid #1E2433;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.c-hot-compact:hover {
  border-color: #2A3040;
}
.c-hot-compact__thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}
.c-hot-compact__thumb.is-empty[data-grad="0"] {
  background-image: linear-gradient(135deg, rgba(254, 225, 64, 1) 0%, rgba(250, 112, 154, 1) 100%);
}
.c-hot-compact__thumb.is-empty[data-grad="1"] {
  background-image: linear-gradient(135deg, rgba(255, 8, 68, 1) 0%, rgba(255, 177, 153, 1) 100%);
}
.c-hot-compact__thumb.is-empty[data-grad="2"] {
  background-image: linear-gradient(135deg, rgba(246, 211, 101, 1) 0%, rgba(253, 160, 133, 1) 100%);
}
.c-hot-compact__thumb.is-empty[data-grad="3"] {
  background-image: linear-gradient(135deg, rgba(255, 154, 158, 1) 0%, rgba(254, 207, 239, 1) 100%);
}
.c-hot-compact__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.c-hot-compact__title {
  margin: 0;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.c-hot-compact__rtp {
  color: #7C5CFC;
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
}

/* ===== 鏂伴椈锛氬乏澶у崱 (480楂? + 鍙?3 寮犵揣鍑?(140楂? ===== */
.c-news-layout {
  display: grid;
  grid-template-columns: 584px 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}
.c-news-layout__left,
.c-news-layout__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.c-news-layout__right {
  gap: 30px;
}
.c-news-large {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: 10px;
  overflow: hidden;
  background: #141720;
  border: 1px solid #1E2433;
  display: block;
  text-decoration: none;
}
.c-news-large.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.c-news-large__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c-news-large__cover.is-empty {
  background-image: linear-gradient(135deg, rgba(124, 92, 252, 0.3) 0%, rgba(0, 212, 170, 0.25) 100%);
}
.c-news-large__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(11, 13, 20, 0.85) 60%, rgba(11, 13, 20, 1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  gap: 8px;
}
.c-news-large__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-news-large__title {
  margin: 0;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
}
.c-news-large__excerpt {
  margin: 0;
  color: #CBD5E1;
  font-size: 14px;
  line-height: 1.55;
}
.c-news-large__date {
  color: #94A3B8;
  font-size: 13px;
}

.c-news-compact {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-height: 140px;
  background: #141720;
  border: 1px solid #1E2433;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.12s ease;
}
.c-news-compact:hover {
  border-color: #2A3040;
}

/* =============== B2.1 棣栭〉鏍峰紡 P0 淇 v2 =============== */
/* 1. 鍖哄潡闂磋窛锛欶igma 48px between sections锛坉esktop 鈮?025锛泃ablet 32鈮?024锛沵obile 24鈮?40锛?*/
/* 鍐欏湪鏈€鏈熬 瑕嗙洊鎵€鏈夊墠闈media鍧?*/


/* 2. 骞垮憡浣嶅浐瀹氶珮搴?(1200x90 / 1200x250 / 1200x120) */
.c-home-banner:first-of-type .c-home-banner__inner { height: 90px; }
.c-home-banner[aria-label="涓儴骞垮憡"] .c-home-banner__inner { height: 250px; }
.c-home-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #2A3040;
  border-radius: 6px;
  background: #111520;
  overflow: hidden;
}

/* 3. 鏍呮牸锛?鍒?涓ユ牸 285脳340锛團igma EL-26bc23d1锛?*/
.c-home-section .c-grid-row {
  grid-template-columns: repeat(4, 285px) !important;
  grid-auto-rows: 340px !important;
  justify-content: start !important;
  align-items: start !important;
  gap: 20px !important;
  width: 100% !important;
}
.c-home-section .c-grid-row .c-game-card {
  width: 285px !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}
.c-home-section .c-grid-row .c-game-card__cover-wrap {
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 4. 娓告垙鍗″皝闈細涓嶉€忔槑娓愬彉 楂樺姣?*/
.c-game-card__cover.is-empty {
  background-image:
    linear-gradient(135deg, #3a2d7a 0%, #1a2138 100%) !important;
  background-size: cover !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.c-game-card__cover {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
/* NEW 鏃楁爣瀹氫綅淇 */
.c-game-card__cover-wrap .c-flag--new {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 3 !important;
  background: linear-gradient(90deg, #FCD34D, #FB7185) !important;
  color: #111827 !important;
}
/* body 涓嶉€忔槑 */
.c-home-section .c-grid-row .c-game-card__body {
  padding: 12px 14px 14px !important;
  background: #141720 !important;
  flex: 1 1 auto !important;
  min-height: 190px !important;
}
.c-game-card__title {
  color: #FFFFFF !important;
}
.c-game-card__meta { color: #94A3B8 !important; }
.c-chip--rtp {
  background: rgba(124, 92, 252, 0.18) !important;
  border: 1px solid rgba(124, 92, 252, 0.35) !important;
  color: #C4B5FD !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
.c-chip--demo {
  background: rgba(30, 36, 51, 0.9) !important;
  border: 1px solid #2A3040 !important;
  color: #94A3B8 !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.c-btn--play {
  background: #7C5CFC !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* 5. 鐑棬鑰佽檸鏈猴細3澶у崱 (386x300) Figma EL-6effe11e */
.c-hot-hero-row {
  grid-template-columns: repeat(3, 386px) !important;
  justify-content: start !important;
  gap: 21px !important;
}
.c-hot-hero {
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  width: 386px !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 10px !important;
  border: 1px solid #1E2433 !important;
  background: #141720 !important;
}
.c-hot-hero__cover {
  width: 100% !important;
  height: 140px !important;
  top: 0 !important; left: 0 !important;
  display: block !important;
  position: absolute !important;
  background-size: cover !important;
}
.c-hot-hero__cover.is-empty[data-grad="0"] {
  background-image: linear-gradient(135deg, #7C5CFC 0%, #3B1E94 100%) !important;
}
.c-hot-hero__cover.is-empty[data-grad="1"] {
  background-image: linear-gradient(135deg, #00D4AA 0%, #0052D4 100%) !important;
}
.c-hot-hero__cover.is-empty[data-grad="2"] {
  background-image: linear-gradient(135deg, #00F2FE 0%, #4FACE 100%) !important;
}
.c-hot-hero__info {
  position: absolute !important;
  left: 0 !important; right: 0 !important;
  top: 140px !important; bottom: 0 !important;
  padding: 16px 20px 20px !important;
  background: #141720 !important;
  color: #FFFFFF !important;
}
.c-hot-hero__title { color: #FFFFFF !important; font-size: 18px !important; margin-bottom: 8px !important; }
.c-hot-hero__meta { font-size: 12px !important; color: #94A3B8 !important; margin-top: 0 !important; }

/* 6. 鐑棬鑰佽檸鏈虹揣鍑戝崱锛?鍒?285x80 */
.c-hot-compact-row {
  grid-template-columns: repeat(4, 285px) !important;
  gap: 20px !important;
  margin-top: 20px !important;
  justify-content: start !important;
}
.c-hot-compact {
  width: 285px !important;
  height: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  padding: 12px !important;
  border-radius: 8px !important;
  background: #141720 !important;
  border: 1px solid #1E2433 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.c-hot-compact__thumb {
  width: 56px !important;
  height: 56px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
  display: block !important;
  background-size: cover !important;
}
.c-hot-compact__thumb.is-empty[data-grad="0"] { background-image: linear-gradient(135deg, #FEE140 0%, #FA709A 100%) !important; }
.c-hot-compact__thumb.is-empty[data-grad="1"] { background-image: linear-gradient(135deg, #FF0844 0%, #FFB199 100%) !important; }
.c-hot-compact__thumb.is-empty[data-grad="2"] { background-image: linear-gradient(135deg, #F6D365 0%, #FDA085 100%) !important; }
.c-hot-compact__thumb.is-empty[data-grad="3"] { background-image: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%) !important; }
.c-hot-compact__title { color: #FFFFFF !important; font-size: 13px !important; margin: 0 !important; }
.c-hot-compact__rtp { color: #7C5CFC !important; font-size: 12px !important; font-weight: 600 !important; margin-top: 4px !important; }

/* 7. 鏂伴椈锛氬乏 584 瀹藉ぇ鍗?+ 鍙?3 寮犵揣鍑戝崱 */
.c-news-layout {
  grid-template-columns: 584px 1fr !important;
  gap: 32px !important;
  align-items: start !important;
}
.c-news-layout__left { width: 584px !important; max-width: 584px !important; flex-shrink: 0 !important; }
.c-news-large {
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  width: 584px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #141720 !important;
  border: 1px solid #1E2433 !important;
  position: relative !important;
}
.c-news-large__cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}
.c-news-large__cover.is-empty {
  background-image: linear-gradient(135deg, rgba(124, 92, 252, 0.5) 0%, rgba(0, 212, 170, 0.4) 100%) !important;
}
.c-news-layout__right {
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
}
.c-news-compact {
  display: grid !important;
  grid-template-columns: 120px 1fr !important;
  width: 100% !important;
  min-height: 140px !important;
  padding: 16px !important;
  border-radius: 10px !important;
  background: #141720 !important;
  border: 1px solid #1E2433 !important;
  align-items: center !important;
  gap: 16px !important;
  text-decoration: none !important;
}
.c-news-compact__thumb {
  width: 120px !important;
  height: 108px !important;
  border-radius: 6px !important;
  display: block !important;
  object-fit: cover !important;
}
.c-news-compact__thumb.is-empty {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.4) 0%, rgba(30, 36, 51, 0.9) 100%) !important;
}
.c-news-compact__title {
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.4 !important;
}
.c-news-compact__excerpt { color: #94A3B8 !important; font-size: 13px !important; margin: 0 0 6px 0 !important; }
.c-news-compact__date { color: #64748B !important; font-size: 12px !important; }

/* 8. line-clamp 宸ュ叿绫?*/
.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ===== 鏂伴椈绱у噾鍗?body锛堜慨澶?640 media 娌￠棴鍚堣鍚炴帀鐨?rule锛?===== */
.c-news-compact__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.c-news-compact__title {
  margin: 0;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}
.c-news-compact__excerpt {
  margin: 0;
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.5;
}
.c-news-compact__date {
  color: #64748B;
  font-size: 12px;
}

/* [removed old mid breakpoints; replaced by GLOBAL block at EOF] */
/* Homepage 鍝嶅簲寮?*/
@media (max-width: 1024px) {
  .c-home { padding-bottom: 64px; }
  .c-grid-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .c-hot-hero-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .c-hot-compact-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .c-news-layout { grid-template-columns: 1fr; gap: 24px; }
  .c-hot-hero__info { top: 150px; }
}
@media (max-width: 640px) {
  .c-grid-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .c-hot-hero-row { grid-template-columns: 1fr; }
  .c-hot-hero { height: 280px; }
  .c-hot-hero__cover { height: 130px; }
  .c-hot-hero__info { top: 144px; }
  .c-hot-compact-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .c-hot-compact { height: 72px; padding: 8px; }
  .c-hot-compact__thumb { width: 48px; height: 48px; }
  .c-news-layout__right { gap: 16px; }
  .c-news-large { min-height: 360px; }
  .c-news-large__title { font-size: 20px; }
  .c-news-compact { grid-template-columns: 96px 1fr; padding: 12px; min-height: 120px; }
  .c-news-compact__thumb { width: 96px; height: 96px; }
  .c-home-banner { padding: 20px 0; }
  .c-home-section--pad { padding: 28px 0; }
}


/* ============================================================
   GLOBAL 寮哄埗闂磋窛锛堝啓鍦ㄦ渶鍚庯紝瑕嗙洊鍓嶉潰 @media 1024/640 鐨勬棫澹版槑锛?   ============================================================ */
@media (min-width: 1025px) {
  .c-home > section + section { margin-top: 48px !important; }
}
@media (max-width: 1024px) and (min-width: 641px) {
  .c-home > section + section { margin-top: 32px !important; }
  .c-home-section { padding: 0 20px !important; }
  .c-home-section .c-grid-row { grid-template-columns: repeat(3, 285px) !important; }
  .c-hot-hero-row { grid-template-columns: repeat(2, 1fr) !important; }
  .c-hot-compact-row { grid-template-columns: repeat(2, 285px) !important; }
  .c-news-layout { grid-template-columns: 1fr !important; }
  .c-news-layout__left, .c-news-large { width: 100% !important; max-width: 100% !important; }
}
@media (max-width: 640px) {
  .c-home > section + section { margin-top: 24px !important; }
  .c-home-section { padding: 0 16px !important; }
  .c-home-banner { padding: 16px 0 !important; }
  .c-home-section .c-grid-row { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: auto !important; }
  .c-home-section .c-grid-row .c-game-card,
  .c-home-section .c-grid-row .c-game-card:nth-child(n+5) { width: 100% !important; height: auto !important; min-height: 340px !important; }
  .c-hot-hero-row { grid-template-columns: 1fr !important; }
  .c-hot-compact-row { grid-template-columns: 1fr !important; }
  .c-hot-hero { width: 100% !important; }
  .c-hot-compact { width: 100% !important; }
  .c-news-large { height: 380px !important; min-height: 380px !important; max-height: 380px !important; }
  .c-sec-head__title { font-size: 20px !important; }
  .c-home-banner:first-of-type .c-home-banner__inner { height: 70px !important; }
  .c-home-banner[aria-label="涓儴骞垮憡"] .c-home-banner__inner { height: 180px !important; }
  .c-news-compact__thumb.is-empty {
    background-image: linear-gradient(135deg, rgba(124, 92, 252, 0.25) 0%, rgba(0, 212, 170, 0.2) 100%);
  }
}

/* =============== B2.2 绗?3 杞慨澶嶏細PHP a 宓屽淇 + 鈮?025 妗ｇ‖閿?+ span 浜や簰鏍峰紡 =============== */
/* 1. Play/Demo span 鏍峰紡锛氳瑙夌瓑浠蜂簬 a锛屽彲閿洏/榧犳爣浜や簰 */
.c-btn--play[role="link"],
.c-chip--demo[role="link"] {
  cursor: pointer;
  user-select: none;
  outline: none;
}
.c-btn--play[role="link"]:focus-visible,
.c-chip--demo[role="link"]:focus-visible {
  outline: 2px solid #7C5CFC;
  outline-offset: 2px;
}
.c-btn--play[role="link"]:hover { filter: brightness(1.08); }
.c-chip--demo[role="link"]:hover { border-color: #7C5CFC !important; color: #C4B5FD !important; }

/* 2. 鈮?025 妗ｏ細鏍呮牸纭攣 4 鍒?1200 瀹?+ section 闂磋窛 48px 瑙嗚绾?gap */
@media (min-width: 1025px) {
  .c-home {
    max-width: 1200px;
    margin: 0 auto;
  }
  .c-home > section + section {
    margin-top: 48px !important;
  }
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .c-home-section .c-grid-row {
    grid-template-columns: repeat(4, 285px) !important;
    grid-auto-rows: 340px !important;
    gap: 20px !important;
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: start !important;
  }
  .c-home-section .c-grid-row .c-game-card {
    width: 285px !important;
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  .c-home-section .c-grid-row .c-game-card__title,
  .c-home-section .c-grid-row .c-game-card__title a {
    color: #FFFFFF !important;
    text-decoration: none !important;
  }
  .c-home-section .c-grid-row .c-game-card__meta {
    color: #94A3B8 !important;
  }
}

/* =============== B2.2 GLOBAL 鍏滃簳锛氬叏鍒嗚鲸鐜囧己鍒舵枃瀛楀姣斿害锛堜笉鍖?@media锛?=============== */
.c-home-section .c-grid-row .c-game-card__title,
.c-home-section .c-grid-row .c-game-card__title a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.c-home-section .c-grid-row .c-game-card__meta,
.c-home-section .c-grid-row .c-game-card__meta > *,
.c-home-section .c-grid-row .c-game-card__brand {
  color: #94A3B8 !important;
}
.c-home-section .c-grid-row .c-chip--demo {
  color: #E2E8F0 !important;
}
.c-home-section .c-grid-row .c-chip--demo[class*="is-disabled"] {
  color: #64748B !important;
  opacity: 0.6 !important;
}
.c-home-section .c-grid-row .c-game-card {
  overflow: hidden !important;
}

/* =============== B3 v4 鏂板潡鍗犱綅锛氭帓琛屾 / 鐜╁鎺ㄨ崘 / 鏈€鏂拌瘎璁猴紙Figma #5 #8 #9锛?=============== */
/* --- 閫氱敤娓愬彉鍗犱綅锛坉ata-grad 0/1/2 涓夎壊锛岃法 rankings / testimonials / comments 澶嶇敤锛?--- */
.is-empty[data-grad="0"],
.c-rank-row__no[data-grad="0"],
.c-comment-row__avatar[data-grad="0"],
.c-test-card__avatar[data-grad="0"] {
  background-image: linear-gradient(135deg, #7C5CFC 0%, #2563EB 100%);
}
.is-empty[data-grad="1"],
.c-rank-row__no[data-grad="1"],
.c-comment-row__avatar[data-grad="1"],
.c-test-card__avatar[data-grad="1"] {
  background-image: linear-gradient(135deg, #06B6D4 0%, #7C5CFC 100%);
}
.is-empty[data-grad="2"],
.c-rank-row__no[data-grad="2"],
.c-comment-row__avatar[data-grad="2"],
.c-test-card__avatar[data-grad="2"] {
  background-image: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

/* --- [Figma #5] 鎺掕姒?sec-rankings锛歵ab + 2 鍒?ranking-layout row gap40 --- */
.c-rank-tabs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  background: #111520;
  border: 1px solid #1E2433;
  border-radius: 999px;
}
.c-rank-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.c-rank-tab:hover { color: #E2E8F0; }
.c-rank-tab.is-on {
  background: #7C5CFC;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.3);
}
.c-ranking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.c-ranking-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-rank-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid #1E2433;
  border-radius: 10px;
  background: #141720;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.c-rank-row:hover {
  border-color: #7C5CFC;
  transform: translateY(-1px);
}
.c-rank-row__no {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  background-image: linear-gradient(135deg, #334155 0%, #1E2433 100%);
}
.c-rank-row__no--1 { background-image: linear-gradient(135deg, #F59E0B 0%, #F97316 100%); }
.c-rank-row__no--2 { background-image: linear-gradient(135deg, #94A3B8 0%, #64748B 100%); }
.c-rank-row__no--3 { background-image: linear-gradient(135deg, #B45309 0%, #92400E 100%); }
.c-rank-row__thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #1E2433;
}
.c-rank-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.c-rank-row__title {
  margin: 0;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
}
.c-rank-row__sub {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 500;
}

/* --- [Figma #8] Testimonials 鐜╁鎺ㄨ崘锛? 鍗★紝鍚?guides 3 鍒楁爡鏍硷級 --- */
.c-grid-row .c-test-card {
  display: flex;
  flex-direction: column;
  background: #141720;
  border: 1px solid #1E2433;
  border-radius: 12px;
  overflow: hidden;
}
.c-test-card__cover {
  height: 140px;
  width: 100%;
  display: block;
  background: #1E2433;
}
.c-test-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.c-test-card__title {
  margin: 0;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}
.c-test-card__quote {
  margin: 0;
  color: #E2E8F0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}
.c-test-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.c-test-card__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.c-test-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.c-test-card__meta strong {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.c-test-card__meta small {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 500;
}

/* --- [Figma #9] Comments 鏈€鏂拌瘎璁猴紙鍦嗚杈规 box + 3 鏉?row锛?--- */
.c-comments-box {
  padding: 20px 24px;
  background: #141720;
  border: 1px solid #1E2433;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.c-comment-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #1E2433;
}
.c-comment-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.c-comment-row__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.c-comment-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.c-comment-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.c-comment-row__head strong {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.c-comment-row__time {
  color: #64748B;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.c-comment-row__text {
  margin: 0;
  color: #E2E8F0;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

/* --- B3 鍝嶅簲寮忥紙鈮?024 + 鈮?40 妗ｏ級锛氭帓琛屾鏀瑰崟鍒椼€乼estimonials 3鈫?鈫? --- */
@media (max-width: 1024px) {
  .c-ranking-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .c-rank-tabs { width: 100%; overflow-x: auto; }
  .c-rank-tabs::-webkit-scrollbar { display: none; }
  .c-comments-box { padding: 16px; }
  .c-comment-row__head { flex-direction: column; align-items: flex-start; }
}

/* --- B4 c-news-large 瀹氫綅淇锛堝叧閿‖淇細鐖跺繀椤?relative + overflow:hidden锛屽惁鍒?overlay 鐩稿鏂囨。娴佺洊浣忔暣椤碉級--- */
.c-home .c-news-large,
.c-news-large {
  position: relative !important;
  overflow: hidden !important;
}
.c-home .c-news-large__overlay,
.c-news-large__overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  pointer-events: none !important; /* 涓嶆嫤鎴偣鍑伙紝鐐瑰嚮浜ょ粰 <a> 鐖跺眰 */
}
.c-home .c-news-large__cover,
.c-news-large__cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

/* --- B5 Figma 鏈€鏂版父鎴忓崱锛?85脳340锛夛細瀹屽叏鏂囨。娴侊紝鏃犱换浣?absolute/overlay 瀹氫綅 ---
   缁撴瀯锛歝over-wrap(鍥哄畾楂?200px) 鈫?body(padding 鍥哄畾 琛岄『搴忥細鏍囬/鍘傚悕/猸愭槦绾?璇勫垎 / RTP缁縞hip+娉㈠姩chip / 鍏嶈垂璇曠帺鍏ㄥ鎸夐挳) */
.c-home .c-game-card,
.c-game-card {
  width: 285px !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  flex-shrink: 0 !important;
  border-radius: 10px !important;
  background: #141720 !important;
  border: 1px solid #1E2433 !important;
  overflow: hidden !important;
  position: static !important;  /* 鐢ㄦ埛锛氳璁″浘鏍规湰娌℃湁杩欎釜瀹氫綅鐨勪笢瑗?鈫?鍏ㄧ敤 static 鏂囨。娴侊紝涓嶈兘 relative/absolute */
  display: block !important;
}
.c-home .c-game-card__link,
.c-game-card__link {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-decoration: none !important;
  color: inherit !important;
  position: static !important;
}
.c-home .c-game-card__cover-wrap,
.c-game-card__cover-wrap {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  position: static !important;
  overflow: hidden !important;
}
.c-home .c-game-card__cover,
.c-game-card__cover {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  position: static !important;
}
.c-home .c-game-card__cover.is-empty,
.c-game-card__cover.is-empty { background-image: linear-gradient(135deg,#A855F7 0%,#6366F1 100%); }
/* 绗?1 琛岋紙Figma 鎴浘锛?-3 */
.c-home .c-game-card__cover.is-empty[data-grad="0"],
.c-game-card__cover.is-empty[data-grad="0"] { background-image: linear-gradient(135deg,#A855F7 0%,#6366F1 100%); } /* 鐢滆湝瀹濈煶澶у啋闄╋細娣辩传鈫掕摑绱?*/
.c-home .c-game-card__cover.is-empty[data-grad="1"],
.c-game-card__cover.is-empty[data-grad="1"] { background-image: linear-gradient(135deg,#10B981 0%,#0369A1 100%); } /* 娴风洍瀹濊棌锛氱繝缁库啋娴疯摑 */
.c-home .c-game-card__cover.is-empty[data-grad="2"],
.c-game-card__cover.is-empty[data-grad="2"] { background-image: linear-gradient(135deg,#22D3EE 0%,#3B82F6 100%); } /* 榫欎箣璐㈠瘜锛氭祬闈掆啋绾摑 */
.c-home .c-game-card__cover.is-empty[data-grad="3"],
.c-game-card__cover.is-empty[data-grad="3"] { background-image: linear-gradient(135deg,#FACC15 0%,#F97316 100%); } /* 骞歌繍閲戣熅锛氶粍鈫掓 */
/* 绗?2 琛岋紙Figma 鎴浘锛?-7 */
.c-home .c-game-card__cover.is-empty[data-grad="4"],
.c-game-card__cover.is-empty[data-grad="4"] { background-image: linear-gradient(135deg,#FF1744 0%,#FF9A9E 100%); } /* 鏈堝厜濂崇锛氭繁绾⑩啋绮夋 */
.c-home .c-game-card__cover.is-empty[data-grad="5"],
.c-game-card__cover.is-empty[data-grad="5"] { background-image: linear-gradient(135deg,#EC4899 0%,#F9A8D4 100%); } /* 瀹濈煶杩炴秷锛氬搧绾⑩啋娴呯矇 */
.c-home .c-game-card__cover.is-empty[data-grad="6"],
.c-game-card__cover.is-empty[data-grad="6"] { background-image: linear-gradient(135deg,#F59E0B 0%,#FDBA74 100%); } /* 鍐伴洩濂囩紭锛氱惀鐝€鈫掓祬姗?*/
.c-home .c-game-card__cover.is-empty[data-grad="7"],
.c-game-card__cover.is-empty[data-grad="7"] { background-image: linear-gradient(135deg,#FBCFE8 0%,#F5D0FE 100%); } /* 鐙傞噹瑗块儴锛氳８绮夆啋钖拌。鑽夌矇 */

.c-home .c-game-card__body,
.c-game-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 14px 16px 16px !important;
  gap: 8px !important;
  position: static !important;
  background: #141720 !important;
}
.c-home .c-game-card__title,
.c-game-card__title {
  margin: 0 !important;
  color: #FFFFFF !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  min-height: 2.7em !important;
}
.c-home .c-game-card__brand-row,
.c-game-card__brand-row {
  margin: 0 !important;
  color: #94A3B8 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 400 !important;
}
.c-home .c-game-card__stars-row,
.c-game-card__stars-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 2px !important;
}
.c-home .c-game-card__stars,
.c-game-card__stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.c-star--full  { color: #FBBF24; }
.c-star--half  { color: #FBBF24; position: relative; display: inline-block; }
.c-star--half::after {
  content: "鈽?;
  position: absolute;
  left: 0; top: 0;
  width: 50%;
  overflow: hidden;
  color: #475569;
}
.c-star--empty { color: #475569; }
.c-home .c-game-card__rating,
.c-game-card__rating {
  color: #64748B;
  font-size: 12px;
  font-family: Inter,system-ui,sans-serif;
}
.c-home .c-game-card__chips-row,
.c-game-card__chips-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 0 !important;
}
.c-home .c-chip--rtp-green,
.c-chip--rtp-green {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  background: #0D2E28 !important;
  color: #34D399 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: Inter,system-ui,sans-serif !important;
  line-height: 1.2 !important;
}
.c-home .c-chip--vol,
.c-chip--vol {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  background: #1E2433 !important;
  color: #94A3B8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: Inter,system-ui,sans-serif !important;
  line-height: 1.2 !important;
  border: 1px solid #1E2433 !important;
}
.c-home .c-game-card__cta-row,
.c-game-card__cta-row {
  margin-top: auto !important;
  display: flex !important;
  width: 100% !important;
}
.c-home .c-btn--try-free,
.c-btn--try-free {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg,#7C5CFC 0%,#6366F1 100%) !important;
  color: #FFFFFF !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 40px !important;
  text-align: center !important;
  cursor: pointer !important;
  user-select: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: filter .15s ease !important;
}
.c-home .c-btn--try-free:hover,
.c-btn--try-free:hover { filter: brightness(1.08) !important; }
.c-home .c-btn--try-free:focus-visible,
.c-btn--try-free:focus-visible {
  outline: 2px solid #7C5CFC !important;
  outline-offset: 2px !important;
}

/* 鏃?B2.2/B3 閲岀殑 absolute 瀹氫綅銆佹棫 Play/Demo 灏忔寜閽細鐢ㄦ埛鏄庣‘璇磋璁″浘閲屾病鏈夎繖浜?鈫?鍏ㄥ眬鍏虫帀 c-game-card 閲岀殑缁濆瀹氫綅 */
.c-home .c-game-card *,
.c-game-card * { position: static !important; }
.c-home .c-game-card .c-btn,
.c-game-card .c-btn,
.c-home .c-game-card .c-chip,
.c-game-card .c-chip { position: relative !important; } /* span 浜や簰鍏冪礌闇€瑕佺浉瀵规墠鑳芥甯?click 姘旀场锛屼絾 z 姘歌繙鏄?auto */

/* ========== B5.2 Figma 鏈€鏂版父鎴忓崱鏁翠綋甯冨眬浼樺寲锛歝-game-card 285脳340 1:1 涓ユ牸瀵归綈 EL-9650a25b 瀛愯妭鐐?   璁捐缁撴瀯锛堢函 flex 鏂囨。娴侊紝鏃犵粷瀵瑰畾浣嶏級:
   card(285脳340, R10, #141720, #1E2433 1px, pad 0 0 14, gap=12, overflow:hidden)
    鈹?link (flex-col 100% stretch, gap=12)
       鈹?cover-wrap  285脳200  (img object-cover, R 10 10 0 0)
       鈹?row--title-brand  pad 0 16,  col gap 6
       鈹?  鈹?title (16/700/#FFF, style_781cdc5a)
       鈹?  鈹?brand (13/400/#94A3B8, style_defc74b3)
       鈹?row--stars  pad 2 16 0,  space-between align-center  (EL-5c21dd87)
       鈹?  鈹?stars 5棰?inline-flex gap2
       鈹?  鈹?rating 14/600/#7C5CFC / muted
       鈹?row--chips  pad 0 16,  gap 8  (EL-61a1eea3)
       鈹?  鈹?rtp chip  #1C2030 pad4脳8 R4 12/600 #34D399
       鈹?  鈹?vol chip  #1C2030 pad4脳8 R4 11/500 #94A3B8
       鈹?row--cta  pad 4 16 0  鈫? c-btn--try-free  32h  R6  gradient #7C5CFC  (EL-adbc20fa)
*/
.c-home .c-game-card,
.c-game-card {
  width: 285px !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  padding: 0 0 14px 0 !important;   /* Figma EL-9650a25b: padding 0 0 14 */
  gap: 12px !important;             /* Figma card 鍐呴儴 5 涓ぇ item 涔嬮棿 gap=12 */
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  border-radius: 10px !important;
  background: #141720 !important;
  border: 1px solid #1E2433 !important;
  overflow: hidden !important;
  position: static !important;
  flex-shrink: 0 !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.c-home .c-game-card:hover,
.c-game-card:hover {
  transform: translateY(-2px) !important;
  border-color: #7C5CFC !important;
  box-shadow: 0 14px 32px -20px rgba(124,92,252,.55) !important;
}
/* 鈥斺€?閾炬帴锛坒lex 瀹瑰櫒锛屽寘鍚?5 琛岋紝gap=12 鎸?Figma card锛?鈥斺€?*/
.c-home .c-game-card__link,
.c-game-card__link {
  width: 100% !important;
  height: 100% !important;
  padding: 0 0 14px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  position: static !important;
  overflow: hidden !important;
}
/* 鈥斺€?灏侀潰 200px 楂橈紙Figma: cover 鍥哄畾 200, 椤跺渾瑙?10 10 0 0 鍥犱负琚?card R10 瑁侊級鈥斺€?*/
.c-home .c-game-card .c-game-card__cover-wrap,
.c-game-card .c-game-card__cover-wrap {
  flex: 0 0 200px !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  position: static !important;
  overflow: hidden !important;
  border-radius: 10px 10px 0 0 !important;
}
.c-home .c-game-card .c-game-card__cover,
.c-game-card .c-game-card__cover {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  flex: 0 0 200px !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: static !important;
  border-radius: 10px 10px 0 0 !important;
  transition: transform .35s ease !important;
}
.c-home .c-game-card:hover .c-game-card__cover,
.c-game-card:hover .c-game-card__cover { transform: scale(1.035) !important; }

/* 鈥斺€?姣忎竴琛岋細缁熶竴 flex column锛堥櫎 stars/chips 鐢?row锛夊乏鍙?padding 16px 鈥斺€?*/
.c-home .c-game-card__row,
.c-game-card__row {
  position: static !important;
  width: auto !important;
  display: flex !important;
  align-items: stretch !important;
}
.c-home .c-game-card__row--title-brand,
.c-game-card__row--title-brand {
  padding: 0 16px !important;
  flex-direction: column !important;
  gap: 6px !important;                      /* Figma EL-b6e226e3 gap 6 */
  align-items: stretch !important;
}
.c-home .c-game-card__row--stars,
.c-game-card__row--stars {
  padding: 2px 16px 0 !important;          /* Figma EL-5c21dd87 pad 2 0 0 + 宸﹀彸 16 */
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.c-home .c-game-card__row--chips,
.c-game-card__row--chips {
  padding: 0 16px !important;              /* Figma EL-61a1eea3 pad 0 16 + gap 8 */
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}
.c-home .c-game-card__row--cta,
.c-game-card__row--cta {
  padding: 4px 16px 0 !important;          /* Figma EL-fb221e4e pad 4 16 0 */
  flex-direction: row !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
}

/* 鈥斺€?鏍囬 / 鍘傚悕锛欶igma 绮剧‘瀛楀彿瀛楅噸 鈥斺€?*/
.c-home .c-game-card .c-game-card__row--title-brand .c-game-card__title,
.c-game-card .c-game-card__row--title-brand .c-game-card__title,
.c-home .c-game-card .c-game-card__title,
.c-game-card__title {
  margin: 0 !important;
  padding: 0 !important;
  color: #FFFFFF !important;
  font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-weight: 700 !important;             /* Figma style_781cdc5a: Bold 16 */
  font-size: 16px !important;
  line-height: 1.35 !important;
  min-height: 2.7em !important;            /* 2 琛屽浐瀹氶珮搴﹂槻鍘傚悕/鏄熺骇椤惰烦琛?*/
  max-height: 2.7em !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
  overflow: hidden !important;
}
.c-home .c-game-card .c-game-card__row--title-brand .c-game-card__brand-row,
.c-game-card .c-game-card__row--title-brand .c-game-card__brand-row,
.c-home .c-game-card__brand-row,
.c-game-card__brand-row {
  margin: 0 !important;
  padding: 0 !important;
  color: #94A3B8 !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 400 !important;             /* Figma style_defc74b3: Regular 13 */
  font-size: 13px !important;
  line-height: 1.2 !important;
  min-height: 1.2em !important;
  text-align: left !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* 鈥斺€?鏄熺骇 + 璇勫垎锛?Figma EL-5843db5d gap 2 鈥斺€?*/
.c-home .c-game-card__stars,
.c-game-card__stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  height: 16px !important;
}
.c-star--full  { color: #FBBF24; }
.c-star--half  { color: #FBBF24; position: relative; display: inline-block; }
.c-star--half::after {
  content: "鈽?;
  position: absolute;
  left: 0; top: 0;
  width: 50%;
  overflow: hidden;
  color: #475569;
}
.c-star--empty { color: #475569; }
.c-home .c-game-card__rating,
.c-game-card__rating {
  margin-left: auto !important;
  color: #94A3B8 !important;                 /* Figma: Semi Bold 14 鐧藉瓧鍋忕伆 */
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  height: 16px !important;
}

/* 鈥斺€?涓や釜 Chip锛?Figma pad 4脳8 R4  鈥斺€?*/
.c-home .c-chip--rtp-green,
.c-chip--rtp-green {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;                /* Figma EL-79830218 pad 4脳8 */
  height: 22px !important;
  min-height: 22px !important;
  border-radius: 4px !important;
  background: rgba(0, 212, 170, 0.13) !important;  /* Figma b8e1ec5a */
  border: 1px solid #00D4AA !important;           /* green 500 鎻忚竟 */
  color: #34D399 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: Inter,system-ui,sans-serif !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
}
.c-home .c-chip--vol,
.c-chip--vol {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;                /* Figma EL-432490ac pad 4脳8 */
  height: 22px !important;
  min-height: 22px !important;
  border-radius: 4px !important;
  background: #1C2030 !important;
  color: #94A3B8 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  font-family: Inter,system-ui,sans-serif !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border: 1px solid #1E2433 !important;
}

/* 鈥斺€?CTA 鍏嶈垂璇曠帺鎸夐挳锛?Figma 32 楂橈紝R6 鈥斺€?*/
.c-home .c-btn--try-free,
.c-btn--try-free {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 32px !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg,#7C5CFC 0%,#6366F1 100%) !important;
  color: #FFFFFF !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-align: center !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  user-select: none !important;
  border: 0 !important;
  transition: filter .15s ease, transform .15s ease !important;
  box-shadow: 0 8px 20px -12px rgba(124,92,252,.7) !important;
}
.c-home .c-btn--try-free:hover,
.c-btn--try-free:hover { filter: brightness(1.1) !important; transform: translateY(-1px); }
.c-home .c-btn--try-free:active,
.c-btn--try-free:active { filter: brightness(.96) !important; transform: translateY(0); }
.c-home .c-btn--try-free:focus-visible,
.c-btn--try-free:focus-visible {
  outline: 2px solid #7C5CFC !important;
  outline-offset: 2px !important;
}

/* B5.2 瑕嗙洊 B5 鑰佺殑鏃?body / 鏃?cta 40px 楂?/ chip 澶у鍣紙涓嶅啀鐢?__body锛屾敼鐢?row 鍒嗗潡锛?*/
.c-home .c-game-card__body,
.c-game-card__body { display: none !important; }
.c-home .c-game-card__stars-row,
.c-game-card__stars-row,
.c-home .c-game-card__chips-row,
.c-game-card__chips-row,
.c-home .c-game-card__cta-row,
.c-game-card__cta-row { display: none !important; }

/* ========== B5.3 slot_game_card 5th 4琛岀揣鍑戠増 路 缁濇潃鏍峰紡锛堝搴?functions.php slot_game_card 鏂?HTML锛?   缁撴瀯棰勭畻楂樺害 332px锛堝崱楂?340锛岄鐣?8px 鍛煎惛锛屾寜閽粷瀵逛笉婧㈠嚭锛夛細
   cover 200 + gap8 + head 46 + gap8 + meta 26 + gap8 + cta 36 = 332
   纭鍒欙細鍙湁 card 澶栧眰鍐欎竴浠?gap=8 / pad-bottom=14锛沖_link 缁濆闆?gap 闆?padding锛岄伩鍏嶅弻閲嶅彔鍔犳孩鍑?   鏂?class锛歘_row--head / __row--meta / __meta-left / __meta-right / __desc / __brand
*/
/* 1. card锛歡ap 浠?12 鈫?8锛?琛岀粨鏋勫彧鏈?3 涓?gap锛夛紝pad-bottom 14 淇濈暀 */
.c-home .c-game-card,
.c-game-card {
  gap: 8px !important;
}
/* 2. link锛氱粷鏉€鈥斺€斿交搴曞彇娑?gap 鍜?padding锛屽叏閮ㄤ氦缁?card 澶栧眰绠★紙娑堥櫎鍙岄噸鍙犲姞 = 婧㈠嚭鏍瑰洜锛?*/
.c-home .c-game-card__link,
.c-game-card__link {
  gap: 0 !important;
  padding: 0 !important;
}
/* 3. 鑰?row class锛圔5.2 鐨?title-brand / stars / chips锛夆€斺€?鏃㈢劧鏂?HTML 宸茬粡涓嶇敤锛岀洿鎺ラ殣钘忛槻 cascade 娈嬬暀骞叉壈 */
.c-home .c-game-card__row--title-brand,
.c-game-card__row--title-brand,
.c-home .c-game-card__row--stars,
.c-game-card__row--stars,
.c-home .c-game-card__row--chips,
.c-game-card__row--chips { display: none !important; }

/* 4. 鏂?ROW-1锛歘_row--head  鏍囬 + 鎻忚堪锛坧ad 0 16锛宑ol gap6锛宧=~46锛?*/
.c-home .c-game-card__row--head,
.c-game-card__row--head {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 16px !important;
  gap: 6px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-height: 46px !important;
  max-height: 46px !important;
  flex: 0 0 46px !important;
}
/* 鏍囬 clamp-1锛?6/700锛屽彧鐣?1 琛岄珮 ~22px锛堜笉鏄箣鍓嶇殑 2.7em 鍙岃鍗犱綅 鈫?鐪?22px锛?*/
.c-home .c-game-card .c-game-card__row--head .c-game-card__title,
.c-game-card .c-game-card__row--head .c-game-card__title {
  margin: 0 !important;
  padding: 0 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  min-height: 22px !important;
  max-height: 22px !important;
  height: 22px !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  display: block !important;
}
/* 鎻忚堪 clamp-1锛?2/400 #94A3B8锛岀洰鏍?B锛氭案杩滈潪绌烘覆鏌?*/
.c-home .c-game-card__desc,
.c-game-card__desc {
  margin: 0 !important;
  padding: 0 !important;
  color: #94A3B8 !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  min-height: 18px !important;
  max-height: 18px !important;
  height: 18px !important;
  text-align: left !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* 5. 鏂?ROW-2锛歘_row--meta  宸︼細鏄熺骇+璇勫垎+鍘傚悕 / 鍙筹細涓?chips锛坧ad 0 16锛宺ow space-between锛宧=~26锛?*/
.c-home .c-game-card__row--meta,
.c-game-card__row--meta {
  display: flex !important;
  flex-direction: row !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
}
.c-home .c-game-card__meta-left,
.c-game-card__meta-left {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  height: 22px !important;
}
.c-home .c-game-card__meta-right,
.c-game-card__meta-right {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  height: 22px !important;
}
/* 鍘傚悕锛堝湪 meta-left 鍐?inline 绱ц窡 rating 鍚庯級锛?2px #7C5CFC 绱壊锛宑lamp-1 */
.c-home .c-game-card__brand,
.c-game-card__brand {
  color: #7C5CFC !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 96px !important;
  display: inline-block !important;
}
/* 璇勫垎锛堜箣鍓?margin-left:auto 浼氭妸鍘傚悕鎸ゅ幓鏈€鍙?鈫?鍙栨秷锛屾敼涓?inline 绱у噾锛?*/
.c-home .c-game-card__rating,
.c-game-card__rating {
  margin-left: 0 !important;
  color: #7C5CFC !important;
  font-family: Inter,system-ui,sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  height: 14px !important;
  padding: 0 !important;
}
/* 鏄熺骇锛堢缉灏?1px锛岄厤 meta 琛岄珮 22锛?*/
.c-home .c-game-card__stars,
.c-game-card__stars {
  font-size: 12px !important;
  gap: 1px !important;
  height: 14px !important;
}

/* 6. ROW-3锛歘_row--cta  楂樺害 36px锛? pad-top 4 + 鎸夐挳 32锛夛紝鎸夐挳 100% 瀹?*/
.c-home .c-game-card__row--cta,
.c-game-card__row--cta {
  padding: 4px 16px 0 16px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* chip 鍦ㄦ柊缁撴瀯閲岄珮搴﹀繀椤?22锛屼笉鑳藉啀琚€?specificity 鎾戦珮 */
.c-home .c-chip--rtp-green,
.c-chip--rtp-green,
.c-home .c-chip--vol,
.c-chip--vol {
  box-sizing: border-box !important;
}

/* =============== B6. 骞垮憡(3澶? + 鍐呭(8澶? 鍏?11 section 鐨勭骇闂磋窛缁濇潃 路 涓夋。缁熶竴 ===============
   鍘熷垯 1锛歴ection 鐩掓ā鍨?鈥斺€?涓婁笅 padding/margin 鍏ㄩ儴娓呴浂锛?           鐩搁偦闂磋窛銆愬敮涓€鏉ユ簮銆? 鐩搁偦鍏勫紵閫夋嫨鍣?.c-home > section + section { margin-top }
           锛堜笉绠℃槸 banner 杩樻槸 content-section锛岀粺涓€瑙勫垯锛?   鍘熷垯 2锛氬箍鍛婂尯鍧楄瑙夐珮搴?鈥斺€?瀹屽叏鐢?.c-home-banner__inner { height:Npx } 鎾戯紝
           .c-home-banner 鑷繁涓嶅啓浠讳綍涓婁笅 padding 鍙備笌 section 闂磋窛鍙犲姞
   鍘熷垯 3锛歝-home-section--pad锛堝叆闂?鎺ㄨ崘/璇勮/璇濋 4 涓儗鏅尯锛夐渶瑕佺殑鍐呴儴鐣欑櫧
           涓嬫斁鍒板畠鐨?:first-child / :last-child 涓婏紝涓嶅娉勫埌 section 绾?*/

/* ---------- 妗?1锛欴esktop 鈮?025 鈫?闂磋窛 48 / 椤跺箍鍛?90 / 涓箍鍛?250 / 搴曞箍鍛?120 ---------- */
@media (min-width: 1025px) {
  /* section 鐩掞細涓婁笅 padding 褰掗浂锛堝敮涓€闇€瑕佽鐩栧墠闈㈡棫澹版槑锛歜anner pad-bottom 32 / c-home-section--pad pad 40 绛夛級锛?     margin 涓嶅鍐欐竻闆讹紝閬垮厤 specificity 璧簡鍚庨潰鐨勫厔寮熼€夋嫨鍣?section + section */
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* 鐩搁偦闂磋窛锛堜富婧愶紝鍏勫紵閫夋嫨鍣?1-class specificity锛屽洜涓轰笉澶嶅啓娓呴浂 mar-top 鎵€浠ヨ兘鐢熸晥锛?*/
  .c-home > section + section {
    margin-top: 48px !important;
  }
  /* c-home-section--pad 鍐呴儴涓婁笅鐣欑櫧锛堣瑙夎儗鏅～鍏咃紝涓嶅娉勶級 */
  .c-home > .c-home-section--pad > :first-child { padding-top: 40px !important; }
  .c-home > .c-home-section--pad > :last-child  { padding-bottom: 40px !important; }
  /* 3 涓箍鍛婂尯鍧?inner 鍥哄畾楂樺害锛團igma 1200脳90 / 1200脳250 / 1200脳120锛?*/
  .c-home > .c-home-banner:first-of-type > .c-home-banner__inner         { height: 90px  !important; }
  .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner { height: 250px !important; }
  .c-home > .c-home-banner--bottom > .c-home-banner__inner                { height: 120px !important; }
}

/* ---------- 妗?2锛歍ablet 641-1024 鈫?闂磋窛 32 / 椤跺箍鍛?80 / 涓箍鍛?200 / 搴曞箍鍛?100 ---------- */
@media (max-width: 1024px) and (min-width: 641px) {
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .c-home > section + section {
    margin-top: 32px !important;
  }
  .c-home > .c-home-section--pad > :first-child { padding-top: 28px !important; }
  .c-home > .c-home-section--pad > :last-child  { padding-bottom: 28px !important; }
  /* Tablet 妗ｏ細section 宸﹀彸鍐呯缉 20锛屽拰 header/footer 20 瀵归綈 */
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  .c-home > .c-home-banner:first-of-type > .c-home-banner__inner         { height: 80px  !important; }
  .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner { height: 200px !important; }
  .c-home > .c-home-banner--bottom > .c-home-banner__inner                { height: 100px !important; }
}

/* ---------- 妗?3锛歁obile 鈮?40 鈫?闂磋窛 24 / 椤跺箍鍛?70 / 涓箍鍛?180 / 搴曞箍鍛?90 ---------- */
@media (max-width: 640px) {
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .c-home > section + section {
    margin-top: 24px !important;
  }
  .c-home > .c-home-section--pad > :first-child { padding-top: 24px !important; }
  .c-home > .c-home-section--pad > :last-child  { padding-bottom: 24px !important; }
  /* Mobile 妗ｏ細section 宸﹀彸鍐呯缉 16 */
  .c-home > .c-home-banner,
  .c-home > .c-home-section,
  .c-home > .c-home-section--pad {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  .c-home > .c-home-banner:first-of-type > .c-home-banner__inner         { height: 70px  !important; }
  .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner { height: 180px !important; }
  .c-home > .c-home-banner--bottom > .c-home-banner__inner                { height: 90px  !important; }
}

/* =============== B7. 椤堕儴 2 澶勫叧閿棿璺濈粷鏉€锛堝鑸爮鈫掗《閮ㄥ箍鍛娾啋鏈€鏂版父鎴忥級 ===============
   Figma Desktop #2:1337 鏍?layout col gap=48锛宧eader鈫抰opBanner=48锛泃opBanner鈫抯ecNewGames=48
   瑙勫垯锛?c-home padding-top 缁?header 鍜?topAd 涔嬮棿鐨勭涓€涓?section 闂磋窛
         鍚屾椂 椤堕儴鍒嗘閲?c-home-banner:first-of-type 鐢ㄦ洿鍏蜂綋閫夋嫨鍣紙2-class锛夋墦璐忎箣鍓?section+section */

/* ---------- Desktop 鈮?025 椤堕儴鍒嗘 ---------- */
@media (min-width: 1025px) {
  .c-home { padding-top: 48px !important; }
  /* 鏇村叿浣?= 鎵撹耽鍓嶉潰鐨?section+section锛?-class锛?*/
  body .c-home > section.c-home-banner:first-of-type + section.c-home-section,
  body .c-home > section:nth-of-type(1) + section:nth-of-type(2) {
    margin-top: 48px !important;
  }
}

/* ---------- Tablet 641-1024 椤堕儴鍒嗘 ---------- */
@media (max-width: 1024px) and (min-width: 641px) {
  .c-home { padding-top: 32px !important; }
  body .c-home > section.c-home-banner:first-of-type + section.c-home-section,
  body .c-home > section:nth-of-type(1) + section:nth-of-type(2) {
    margin-top: 32px !important;
  }
}

/* ---------- Mobile 鈮?40 椤堕儴鍒嗘 ---------- */
@media (max-width: 640px) {
  .c-home { padding-top: 24px !important; }
  body .c-home > section.c-home-banner:first-of-type + section.c-home-section,
  body .c-home > section:nth-of-type(1) + section:nth-of-type(2) {
    margin-top: 24px !important;
  }
}

/* =============== B8. v=113 鏁版嵁+鏍峰紡琛ヤ竵锛堝巶鐗屾硠闇?Hero RTP 鍏滃簳/璇濋鏁版嵁/涓箍鍛婇珮搴﹂€夋嫨鍣級 =============== */

/* B8.1 淇 B6 涓箍鍛婇珮搴﹂€夋嫨鍣ㄤ腑鏂囧け鏁堬細front-page.php 鐜板湪 aria-label="Middle Banner"锛堣嫳鏂囷級锛?   鍘熶笁妗?[aria-label="涓儴骞垮憡"] 閫夋嫨鍣ㄤ粠鏈懡涓?鈫?楂樺害 fallback 瀹瑰櫒榛樿 auto
   杩欓噷鎸変笁妗ｈˉ鍏ㄨ嫳鏂?aria-label锛屽悓鏃朵繚鐣欎腑鏂囧弻淇濋櫓 */
@media (min-width: 1025px) {
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner {
    height: 250px !important;
  }
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner {
    height: 200px !important;
  }
}
@media (max-width: 640px) {
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner {
    height: 180px !important;
  }
}

/* B8.2 Hot Hero Meta 琛岋細RTP 96.00% + Medium 鑻辨枃鍚庡搴︿竴鑷存€?+ pro 鍚堟硶鍚嶄笉婧㈠嚭 */
.c-hot-hero__meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.c-hot-hero__meta .c-chip--rtp,
.c-hot-hero__meta .c-chip--vol {
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.c-hot-hero__pro {
  max-width: 46% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  line-height: 1 !important;
  font-size: 13px !important;
  color: #B7BBC7 !important;
  padding-left: 2px !important;
}
.line-clamp-1 {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
}

/* B8.3 鐑棬璇濋 c-topic-chip min-width锛屽綋鍙湁 4-8 涓?chips 鏃惰瑙夋洿楗辨弧涓嶆尋缁嗘潯 */
.c-topics-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 10px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
.c-topics-cloud .c-topic-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  min-width: 132px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #DCE2F0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all .15s ease !important;
}
.c-topics-cloud .c-topic-chip:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.18) !important;
}
.c-topics-cloud .c-topic-chip small {
  font-size: 12px !important;
  color: #7F8495 !important;
  font-weight: 500 !important;
  margin-left: auto !important;
}

/* =============== B9. Figma depth=3 缁撴瀯 1:1 缁濇潃淇锛坴=115 瀵归綈 #2:1337 鑺傜偣锛?===============
   鍏ㄩ儴瑙勫垯 body 鍓嶇紑鎻愬崌 specificity 鑳?B6/B7/B8锛沘ppend-only 涓嶇鏃㈡湁浠ｇ爜 */

/* ---------- B9.1 Rankings 鍙屽垪锛氣墺1025 宸?fill / 鍙?320px 鍥哄畾锛実ap24 ---------- */
@media (min-width: 1025px) {
  body .c-home > section > .c-ranking-layout {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 40px !important;
  }
  body .c-home > section > .c-ranking-layout > .c-ranking-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  body .c-home > section > .c-ranking-layout > .c-ranking-col.c-ranking-col--right {
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
  }
}

/* ---------- B9.2 Guide Card 300 楂橈細wrapper 濉厖 grid cell ---------- */
body .c-home .c-guide-card.c-card--300 {
  display: flex !important;
  height: 300px !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body .c-home .c-guide-card.c-card--300 > * {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
}

/* ---------- B9.3 Testimonial Card 200 楂?---------- */
body .c-home .c-test-card.c-test-card--200 {
  height: 200px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* ---------- B9.4 Comments Box 澶栨 + 鍒嗛殧绾?---------- */
body .c-home .c-comments-box {
  border: 1px solid #1E2433 !important;
  background: #141720 !important;
  border-radius: 10px !important;
  padding: 16px 24px !important;
  box-sizing: border-box !important;
}
body .c-home .c-comments-box .c-comment-row__divider {
  border: 0 !important;
  border-top: 1px solid #1E2433 !important;
  margin: 0 -24px !important;
  padding: 0 !important;
  display: block !important;
}
body .c-home .c-comments-box .c-comment-row {
  padding: 16px 0 !important;
}
body .c-home .c-comments-box .c-comment-row:first-child {
  padding-top: 0 !important;
}
body .c-home .c-comments-box .c-comment-row:last-child {
  padding-bottom: 0 !important;
}

/* ---------- B9.5 Trending Topics 鍓?3 Pill 绱弿杈?---------- */
body .c-home .c-topics-cloud .c-topic-chip.c-topic-chip--featured {
  border-color: #7C5CFC !important;
  background: rgba(124, 92, 252, 0.05) !important;
}
body .c-home .c-topics-cloud .c-topic-chip.c-topic-chip--featured:hover {
  border-color: #987FFC !important;
  background: rgba(124, 92, 252, 0.12) !important;
}

/* ---------- B9.6 3 骞垮憡浣嶇粺涓€ 120/100/90 楂橈紙瑕嗙洊 B6/B8 鏃?250/90 楂橈級 ---------- */
@media (min-width: 1025px) {
  /* Top / Middle / Bottom 涓夊 banner inner 缁熶竴 120 */
  body .c-home > .c-home-banner:first-of-type > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner,
  body .c-home > .c-home-banner--bottom > .c-home-banner__inner,
  body .c-home > .c-home-banner .c-home-banner__inner--1200x120 {
    height: 120px !important;
  }
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .c-home > .c-home-banner:first-of-type > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner,
  body .c-home > .c-home-banner--bottom > .c-home-banner__inner,
  body .c-home > .c-home-banner .c-home-banner__inner--1200x120 {
    height: 100px !important;
  }
}
@media (max-width: 640px) {
  body .c-home > .c-home-banner:first-of-type > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="Middle Banner"] > .c-home-banner__inner,
  body .c-home > .c-home-banner[aria-label="涓儴骞垮憡"] > .c-home-banner__inner,
  body .c-home > .c-home-banner--bottom > .c-home-banner__inner,
  body .c-home > .c-home-banner .c-home-banner__inner--1200x120 {
    height: 90px !important;
  }
}

/* ---------- B9.7 骞垮憡绌烘€佸崰浣嶏細铏氱嚎杈规 + 灞呬腑 Advertisement 鏂囨湰 ---------- */
body .c-home .c-ad-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px dashed #2A3040 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}
body .c-home .c-ad-placeholder span {
  color: #7F8495 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
}

/* =============== B10. Hot Slots 鐑棬鑰佽檸鏈哄浘鐗囬珮搴︽斁澶э紙浠呬慨姝ｇ敤鎴锋姇璇夌殑"姣斾緥澶皬"锛屼笉杩囧害璁捐锛?===============
   鐢ㄦ埛鍘熻瘔姹傦細鐑棬鑰佽檸鏈虹殑鍥剧墖姣斾緥鏈夌偣灏?鈫?Hero 灏侀潰楂樺害 140 澶煯锛孋ompact 缂╃暐鍥?56脳56 澶眬淇冦€?   淇鍘熷垯锛?*鍙姞楂樺害/灏哄锛屼笉鎶婂浘鐗囬摵婊℃暣涓鍣ㄥ綋鑳屾櫙鍥撅紝涓嶅紩鍏ュ浣欑殑閬僵灞?灞傜骇閲嶆瀯銆?* */

/* ---------- B10.1 Hero 灏侀潰锛?40 鈫?200锛堝鍣?300 鈫?鍗犳瘮 66%锛屽澶т絾涓嶆槸鑳屾櫙锛夛紱info 灞傚搴斾笅绉?50px ---------- */
body .c-home .c-hot-hero .c-hot-hero__cover {
  height: 200px !important;
  width: 100% !important;
  inset: 0 0 auto 0 !important;
  object-fit: cover !important;
}
/* info 灞備粠 top:160 鈫?210锛坈over 200 + 10px 鍛煎惛锛夛紝bottom 淇濈暀鍘?20 涓嶅彉 */
body .c-home .c-hot-hero .c-hot-hero__info {
  top: 210px !important;
  left: 20px !important;
  right: 20px !important;
  bottom: 20px !important;
}

/* ---------- B10.2 Compact 缂╃暐鍥撅細56脳56 鈫?64脳64锛宲adding 12鈫? ---------- */
body .c-home .c-hot-compact {
  padding: 8px !important;
  gap: 12px !important;
}
body .c-home .c-hot-compact .c-hot-compact__thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 8px !important;
}

/* ---------- B10.3 Tablet 妗ｄ綅寰皟锛?27px 褰撳墠瑙嗗彛锛夛紝淇濊瘉涓嶆孩鍑?---------- */
@media (max-width: 1024px) and (min-width: 641px) {
  body .c-home .c-hot-hero .c-hot-hero__cover {
    height: 180px !important;
  }
  body .c-home .c-hot-hero .c-hot-hero__info {
    top: 190px !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}
/* Mobile 妗ｄ綅淇濆畧缁存寔鍘熷€硷紙Hero 130 / Compact 48锛夐槻姝㈡孩鍑?*/
@media (max-width: 640px) {
  body .c-home .c-hot-compact .c-hot-compact__thumb {
    width: 56px !important;
    height: 56px !important;
  }
}

/* =============== B11. Compact 琛屽崱鍐呴儴甯冨眬閲嶆瀯锛堟寜璁捐鑷富鐗堬紝涓嶆墸 Figma锛?===============
   鐩爣锛氳В鍐充箣鍓?涓ゅ垪澶辫　銆佸彸绔┖绌哄涔?鐨勫鎬鎰?鈫?涓夊垪绛夐珮鐙珛甯冨眬锛屾案杩滃钩琛°€?   缁撴瀯锛?     宸﹀垪 col--left 锛?6 瀹斤級锛歵humb 56脳56 + 鍙充笂瑙?rank-badge锛堝崐閫忔槑绱壊鑳跺泭锛?     涓垪 col--mid锛坒lex:1 鑷€傚簲锛夛細title line-clamp-2 缃《 + sub 鍘傜墝/鍒嗙被缃簳
     鍙冲垪 col--right锛堝浐瀹氬 64锛夛細RTP chip or rank#澶у瓧锛屾按骞?鍨傜洿缁濆灞呬腑锛屾案杩滀笉绌? */

body .c-home .c-hot-compact {
  padding: 10px !important;
  gap: 12px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

/* 閫氱敤鍒楋細姣忓垪鍐呴儴 flex 甯冨眬 */
body .c-home .c-hot-compact .c-hot-compact__col {
  display: flex !important;
  flex-shrink: 0 !important;
  align-items: stretch !important;
}

/* 宸﹀垪锛氱浉瀵瑰畾浣嶏紙鐢ㄤ簬 badge 缁濆浣嶇疆锛夛紝thumb 56脳56 */
body .c-home .c-hot-compact .c-hot-compact__col--left {
  position: relative !important;
  flex: 0 0 56px !important;
  width: 56px !important;
  justify-content: center !important;
  align-items: center !important;
}

/* ============================================================
 * = HOMEPAGE (clean rewrite) 鈥?slot-news front-page.php
 * All selectors prefixed with `body` to ensure weight wins.
 * Tokens:
 *   bg=#0b0d14  surface=#141720  border=#1e2433
 *   accent=#7c5cfc  accent-soft=rgba(124,92,252,0.12)
 *   text=#fff  muted=#94a3b8
 * Spacing: desktop 48px / tablet 32px / mobile 24px between sections
 * Ads height: 120 / 100 / 90
 * ============================================================ */

/* --- Base shell --- */
body .c-main {
  min-width: 0;
}
body .hp-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 80px;
}
@media (max-width: 640px) {
  body .hp-wrap {
    width: min(100%, calc(100% - 24px));
    padding: 24px 0 60px;
  }
}

/* ============================================================
 * UNIVERSAL TOP HEADER + BOTTOM FOOTER (閫氱敤椤堕儴/搴曢儴)
 * 鎺ュ叆: functions.php 鎸?wp_body_open (header) + wp_footer (footer)
 * 棰滆壊娌跨敤 :root --slot-* 鍙橀噺, 鍜屾繁鑹蹭富棰樻棤缂濊鎺? * ============================================================ */

/* ---------- 鍩虹澹?---------- */
body .c-main {
  min-width: 0;
  min-height: 40vh;
}

/* ---------- 1. 椤堕儴瀵艰埅 ---------- */
body .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0d14;
  border-bottom: 1px solid #171a24;
}
body .site-header__inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Brand */
body .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
body .site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 60%, #ec4899 100%);
  position: relative;
  flex-shrink: 0;
}
body .site-brand__mark::before {
  content: "";
  position: absolute;
  left: 5px; top: 5px; right: 5px; bottom: 5px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 45%),
              radial-gradient(circle at 75% 70%, rgba(255,255,255,0.18) 0%, transparent 40%);
  border-radius: 4px;
}
body .site-brand__mark::after {
  content: "";
  position: absolute;
  left: 8px;  top: 10px;
  width: 3px; height: 4px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 6px 0 0 #fff, 3px 5px 0 #fff;
}
body .site-brand__text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f8fafc;
}
body .site-brand__logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
body .site-brand--footer .site-brand__logo {
  height: 36px;
  max-width: 200px;
}

/* Nav list 鈥?涓嶅啀灞呬腑, 绱ц创 Logo 鍙充晶 */
body .site-nav {
  flex: 0 0 auto;
  display: flex;
}
body .site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
body .site-nav__item { display: block; }
body .site-nav__link {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 13px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  transition: color .15s ease;
  letter-spacing: 0.01em;
}
body .site-nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #7c5cfc, #db2777);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
body .site-nav__link:hover {
  color: #fff;
}
body .site-nav__link:hover::after,
body .site-nav__link[aria-current="page"]::after,
body .site-nav__link.is-active::after {
  transform: scaleX(1);
}

/* 鍙充晶宸ュ叿鏉★細5 涓渾褰?icon 鎸夐挳 */
body .site-header__util {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
body .util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #cbd5e1;
  background: transparent;
  transition: background .15s ease, color .15s ease, transform .08s ease;
  font-size: 13px;
  line-height: 1;
}
body .util-btn:hover {
  background: rgba(124,92,252,0.12);
  color: #fff;
}
body .util-btn:active { transform: translateY(1px); }
body .util-btn--search {
  width: 30px;
  height: 30px;
  background: rgba(124,92,252,0.18);
  border: 1px solid rgba(167,139,250,0.35);
}
body .util-btn--menu {
  display: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(124,92,252,0.18);
  border: 1px solid rgba(167,139,250,0.35);
}
body .site-menu-icon,
body .site-menu-icon::before,
body .site-menu-icon::after {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
body .site-menu-icon {
  position: relative;
}
body .site-menu-icon::before,
body .site-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
body .site-menu-icon::before { top: -5px; }
body .site-menu-icon::after { top: 5px; }
body .site-header.is-menu-open .site-menu-icon {
  background: transparent;
}
body .site-header.is-menu-open .site-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
body .site-header.is-menu-open .site-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  body .site-header.is-menu-open {
    z-index: 100;
  }
}

/* 移动端抽屉：桌面不渲染；narrow 屏由菜单按钮打开 */
body .site-menu[hidden] { display: none !important; }
body .site-menu {
  display: none;
}
html.site-menu-open,
html.site-menu-open body {
  overflow: hidden;
}

@media (max-width: 820px) {
  body .site-header__inner { height: 50px; gap: 14px; }
  body .site-header > .site-nav,
  body .site-header__inner > .site-nav { display: none; }
  body .util-btn--account,
  body .util-btn--search { display: none; }
  body .util-btn--menu { display: inline-flex; }
  body .site-menu {
    display: block;
    position: fixed;
    top: 50px;
    left: 50%;
    width: 100vw;
    height: calc(100vh - 50px);
    height: calc(100dvh - 50px);
    transform: translateX(-50%);
    z-index: 60;
  }
  body .site-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 14, 0.62);
  }
  body .site-menu__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #0f121c;
    border-bottom: 1px solid #1e2433;
    padding: 8px 16px 18px;
    max-height: 100%;
    overflow: auto;
  }
  body .site-menu .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body .site-menu .site-nav__link {
    height: auto;
    width: 100%;
    padding: 13px 4px;
    font-size: 15px;
    color: #cbd5e1;
  }
  body .site-menu .site-nav__link::after {
    display: none;
  }
  body .site-menu .site-nav__item.is-active .site-nav__link {
    color: #fff;
  }
  body .site-menu__extra {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #1e2433;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  body .site-menu__action {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
  }
  body .site-menu__action--login,
  body .site-menu__action--logout {
    color: #c4b5fd;
  }
}
@media (max-width: 520px) {
  body .site-header__inner { gap: 10px; }
  body .site-brand__text { display: none; }
}

/* ---------- 2. 搴曢儴椤佃剼 ---------- */
body .site-footer {
  margin-top: 0;
  border-top: 1px solid #171a24;
  background: #090b11;
  color: #94a3b8;
}
body .site-footer__inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 24px;
}
body .site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}
body .site-footer__col--brand .site-brand { margin-bottom: 14px; }
body .site-footer__col h4.site-footer__h {
  margin: 0 0 16px;
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
body .site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body .site-footer__list a {
  color: #6b7280;
  font-size: 13px;
  transition: color .15s ease;
  letter-spacing: 0.01em;
}
body .site-footer__list a:hover { color: #c4b5fd; }
body .site-footer__tag {
  margin: 0;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 320px;
}

/* 搴曡锛氬乏鐗堟潈 + 鍙崇ぞ浜?*/
body .site-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #171a24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body .site-footer__copy {
  margin: 0;
  color: #4b5563;
  font-size: 12px;
  letter-spacing: 0.02em;
}
body .site-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
body .site-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #9ca3af;
  background: #13161f;
  border: 1px solid #1f232e;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
body .site-social__btn svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}
body .site-social__btn:hover {
  color: #fff;
  border-color: rgba(167,139,250,0.45);
  background: rgba(124,92,252,0.12);
}

/* Footer 鍝嶅簲寮忔姌鍙?*/
@media (max-width: 900px) {
  body .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
  }
}
@media (max-width: 640px) {
  body .site-footer__inner { padding: 24px 0 16px; }
  body .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  body .site-footer__col {
    padding: 16px 0;
    border-top: 1px solid rgba(148,163,184,0.08);
  }
  body .site-footer__col:first-child {
    padding-top: 0;
    border-top: 0;
  }
  body .site-footer__col--brand {
    padding-bottom: 18px;
  }
  body .site-footer__col--brand .site-brand { margin-bottom: 10px; }
  body .site-footer__col h4.site-footer__h {
    position: relative;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #cbd5e1;
    margin: 0 0 12px;
    padding-left: 12px;
  }
  body .site-footer__col h4.site-footer__h::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 100%);
  }
  body .site-footer__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  body .site-footer__list a {
    font-size: 12.5px;
    display: inline-block;
    padding: 2px 0;
  }
  body .site-footer__tag {
    font-size: 11.5px;
    line-height: 1.55;
    color: #64748b;
    max-width: none;
  }
  body .site-footer__bottom {
    margin-top: 22px;
    padding-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ============================================================
 *  GL COMPONENTS (Game Archive)
 *  娓告垙鍒楄〃椤典笓灞炵粍浠?鈥?涓嶆薄鏌撳叾浠栭〉闈㈠叕鍏辨牱寮? * ============================================================ */

/* 1. Breadcrumb */
body .gl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1;
  margin: 8px 0 24px;
  color: #64748b;
  padding: 0 2px;
}
body .gl-breadcrumb__link {
  color: #818cf8;
  text-decoration: none;
  transition: color .15s ease;
}
body .gl-breadcrumb__link:hover { color: #a5b4fc; }
body .gl-breadcrumb__sep { color: #3f3f46; }
body .gl-breadcrumb__current { color: #94a3b8; }

/* 2. Hero (H1 + desc + search + count) */
body .gl-hero {
  margin: 0 0 40px;
  padding: 0 2px;
}
body .gl-hero__title {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body .gl-hero__desc {
  margin: 0 0 20px;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 640px;
}

/* 3. Search bar */
body .gl-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #13161f;
  border: 1px solid #1e2433;
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}
body .gl-search:focus-within {
  border-color: rgba(124,92,252,0.45);
  background: #151825;
}
body .gl-search__icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #64748b;
}
body .gl-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 4px 0;
  font-size: 13.5px;
  color: #cbd5e1;
  font-family: inherit;
}
body .gl-search__input::placeholder { color: #64748b; opacity: 1; }
body .gl-search__btn {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg,#7C5CFC 0%,#6366F1 100%);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
  font-family: inherit;
}
body .gl-search__btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* 4. Count */
body .gl-count {
  margin: 14px 2px 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 500;
}

/* 5. Corner flags (HOT / NEW / Coming Soon) 鈥?injected in hp-gc coverwrap */
body .gl-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 4px;
  line-height: 1.2;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
body .gl-flag.is-hot  { background: #ef4444; }
body .gl-flag.is-new  { background: #10b981; color: #052e23; }
body .gl-flag.is-soon { background: #f59e0b; color: #432a03; }

/* Ensure hp-gc coverwrap is rel for flag abs positioning (already rel, but enforce) */
body .hp-gc__coverwrap { position: relative; overflow: hidden; }

/* 6. Pagination 鈥?uses WP .page-numbers classes */
body .gl-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  padding: 0 2px;
}
body .gl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  background: #13161f;
  border: 1px solid #1e2433;
  border-radius: 6px;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  font-family: inherit;
}
body .gl-pagination .page-numbers:hover:not(.current) {
  color: #c7d2fe;
  border-color: rgba(124,92,252,0.35);
}
body .gl-pagination a.page-numbers:focus-visible {
  outline: 2px solid rgba(124,92,252,0.55);
  outline-offset: 2px;
}
body .gl-pagination .page-numbers.current {
  background: linear-gradient(90deg,#7C5CFC 0%,#6366F1 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
body .gl-pagination .page-numbers.prev,
body .gl-pagination .page-numbers.next { padding: 0 14px; }
body .gl-pagination .page-numbers.dots {
  background: transparent;
  border: 0;
  padding: 0 4px;
  color: #475569;
}

/* 7. SEO long-form */
body .gl-seo {
  margin-top: 72px;
  padding: 0 2px 8px;
  max-width: 960px;
}
body .gl-seo h2 {
  margin: 0 0 16px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
body .gl-seo h3 {
  margin: 24px 0 10px;
  color: #e5e7eb;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
body .gl-seo p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 900px;
}

/* 8. Empty state */
body .gl-empty {
  margin: 40px 0;
  padding: 40px 24px;
  background: #0f121b;
  border: 1px dashed #1e2433;
  border-radius: 12px;
  text-align: center;
}
body .gl-empty__title {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 600;
}
body .gl-empty__desc {
  margin: 0 auto 20px;
  max-width: 480px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
}
body .gl-empty__btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg,#7C5CFC 0%,#6366F1 100%);
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
body .gl-empty__btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* -------- GL Responsive breakpoints -------- */
@media (max-width: 1024px) and (min-width: 641px) {
  body .gl-breadcrumb { margin: 6px 0 18px; }
  body .gl-hero { margin: 0 0 32px; }
  body .gl-hero__title { font-size: 28px; }
  body .gl-pagination { margin-top: 40px; }
  body .gl-seo { margin-top: 56px; }
}
@media (max-width: 640px) {
  body .gl-breadcrumb {
    margin: 4px 0 14px;
    font-size: 11px;
    gap: 6px;
  }
  body .gl-hero { margin: 0 0 24px; }
  body .gl-hero__title { font-size: 24px; margin-bottom: 8px; }
  body .gl-hero__desc  { font-size: 12.5px; line-height: 1.65; margin-bottom: 14px; }
  body .gl-search      { padding: 10px 12px; gap: 10px; border-radius: 9px; }
  body .gl-search__btn { height: 26px; padding: 0 10px; font-size: 11.5px; }
  body .gl-search__input { font-size: 12.5px; }
  body .gl-count { margin: 12px 2px 0; font-size: 11.5px; }
  body .gl-flag { top: 8px; left: 8px; padding: 2.5px 6px; font-size: 8.5px; }
  body .gl-pagination { margin-top: 32px; gap: 6px; }
  body .gl-pagination .page-numbers {
    min-width: 30px; height: 30px; padding: 0 8px; font-size: 11.5px;
  }
  body .gl-pagination .page-numbers.prev,
  body .gl-pagination .page-numbers.next { padding: 0 10px; }
  body .gl-seo { margin-top: 48px; padding-bottom: 4px; }
  body .gl-seo h2 { font-size: 20px; margin-bottom: 12px; }
  body .gl-seo h3 { font-size: 15px; margin: 18px 0 8px; }
  body .gl-seo p  { font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; }
  body .gl-empty { padding: 28px 16px; margin: 28px 0; }
  body .gl-empty__title { font-size: 16px; }
  body .gl-empty__btn { height: 34px; padding: 0 16px; font-size: 12px; }
}
/* -------- Game Archive: override hp-gc-grid columns ONLY for this page (homepage keeps 4/2/1) -------- */
body.post-type-archive-game .hp-gc-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body.post-type-archive-game .hp-gc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 640px) {
  body.post-type-archive-game .hp-gc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.post-type-archive-game .hp-gc-grid > .hp-ad {
    grid-column: 1 / -1 !important;
  }
  body.post-type-archive-game .hp-gc {
    min-width: 0;
  }
  body.post-type-archive-game .hp-gc__body {
    padding: 10px 9px 12px;
    gap: 7px;
  }
  body.post-type-archive-game .hp-gc__title {
    font-size: 14px;
  }
  body.post-type-archive-game .hp-gc__row {
    gap: 5px;
  }
  body.post-type-archive-game .hp-gc__brand {
    max-width: 100%;
  }
}
/* Between-ads inserted inside grid must span full width so they don't break column count */
body.post-type-archive-game .hp-gc-grid > .hp-ad {
  grid-column: 1 / -1 !important;
  margin: 4px 0 !important;
}
@media (max-width: 480px) {
  body .gl-search__btn span.label { display: none; }
}

/* 首页游戏区：移动端使用横向卡片轨道，桌面网格保持不变 */
@media (max-width: 640px) {
  body.home .hp-section--newgames .hp-gc-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    margin-right: -2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.home .hp-section--newgames .hp-gc-grid::-webkit-scrollbar {
    display: none;
  }

  body.home .hp-section--newgames .hp-gc-grid > .hp-gc {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    scroll-snap-align: start;
  }

  body.home .hp-section--newgames .hp-gc__body {
    padding: 10px 9px 12px;
    gap: 7px;
  }

  body.home .hp-section--newgames .hp-gc__title {
    font-size: 14px;
  }
}

/* --- Section spacing: 48 / 32 / 24 --- */
body .hp-section + .hp-section,
body .hp-ad + .hp-section,
body .hp-section + .hp-ad,
body .hp-ad + .hp-ad {
  margin-top: 48px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-section + .hp-section,
  body .hp-ad + .hp-section,
  body .hp-section + .hp-ad,
  body .hp-ad + .hp-ad { margin-top: 32px; }
}
@media (max-width: 640px) {
  body .hp-section + .hp-section,
  body .hp-ad + .hp-section,
  body .hp-section + .hp-ad,
  body .hp-ad + .hp-ad { margin-top: 24px; }
}

/* --- Homepage H1 above New Games --- */
body .hp-home-h1 {
  margin: 0;
  padding: 18px 22px;
  background:
    linear-gradient(180deg, rgba(124, 92, 252, 0.10) 0%, rgba(20, 23, 32, 0.35) 100%),
    #141720;
  border: 1px solid rgba(124, 92, 252, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 28px -18px rgba(124, 92, 252, 0.55);
}
body .hp-home-h1__title {
  margin: 0;
  color: #f8fafc;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}
body .hp-ad + .hp-home-h1,
body .hp-home-h1 + .hp-section {
  margin-top: 24px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-home-h1 {
    padding: 16px 18px;
  }
  body .hp-home-h1__title {
    font-size: 22px;
    line-height: 1.32;
  }
  body .hp-ad + .hp-home-h1,
  body .hp-home-h1 + .hp-section {
    margin-top: 20px;
  }
}
@media (max-width: 640px) {
  body .hp-home-h1 {
    padding: 14px 14px;
    border-radius: 12px;
  }
  body .hp-home-h1__title {
    font-size: 18px;
    line-height: 1.35;
  }
  body .hp-ad + .hp-home-h1,
  body .hp-home-h1 + .hp-section {
    margin-top: 16px;
  }
}

/* --- Section head (title + View all) --- */
body .hp-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
body .hp-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
body .hp-section__more {
  color: #7c5cfc;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .15s ease;
}
body .hp-section__more:hover { opacity: .8; }

/* --- Ads: 120 / 100 / 90; render only if configured (no empty placeholder) --- */
body .hp-ad {
  width: 100%;
  display: block;
}
body .hp-ad > *:first-child {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-ad > *:first-child { height: 100px; }
}
@media (max-width: 640px) {
  body .hp-ad > *:first-child { height: 90px; }
}
body .hp-ad img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .hp-ad iframe,
body .hp-ad ins {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
 * BLOCK 2 鈥?New Games 8 cards grid
 * Purple 1px border, 14px radius, 4-col grid (1 tablet, 1 mobile)
 * ============================================================ */
body .hp-gc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-gc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  body .hp-gc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

body .hp-gc {
  border: 1px solid rgba(124,92,252,0.35);
  border-radius: 14px;
  background: #141720;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
body .hp-gc:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,0.65);
  box-shadow: 0 10px 30px -12px rgba(124,92,252,0.35);
}
body .hp-gc__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
}
body .hp-gc__coverwrap {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #1a1e2a;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
body .hp-gc__coverlink {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}
body .hp-gc__cover {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f121a 100%);
}
body .hp-gc__cover--empty {
  display: block;
  width: 100%;
  height: 100%;
}
body .hp-gc__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}
body .hp-gc__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .hp-gc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
body .hp-gc__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
body .hp-gc__stars {
  display: inline-flex;
  font-size: 12px;
  line-height: 1;
  gap: 1px;
}
body .c-star { font-style: normal; }
body .c-star--full  { color: #f59e0b; }
body .c-star--half  { color: #f59e0b; opacity: .55; }
body .c-star--empty { color: #3a3f50; }
body .hp-gc__rating {
  font-size: 12px;
  font-weight: 600;
  color: #fbbf24;
}
body .hp-gc__brand {
  font-size: 11px;
  color: #94a3b8;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .hp-gc__right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
body .hp-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  white-space: nowrap;
}
body .hp-chip--rtp {
  background: rgba(16,185,129,0.12);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
}
body .hp-chip--vol {
  background: rgba(124,92,252,0.12);
  color: #a78bfa;
  border: 1px solid rgba(124,92,252,0.3);
}
body .hp-gc__desc {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.5em;
}
body .hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
  cursor: pointer;
  border: 0;
  line-height: 1;
  width: 100%;
  text-align: center;
}
body .hp-btn--play {
  background: #7c5cfc;
  color: #fff;
}
body .hp-btn--play:hover {
  background: #6d4afc;
  transform: translateY(-1px);
}
body .hp-btn--ghost {
  background: rgba(124,92,252,0.12);
  color: #c4b5fd;
  border: 1px solid rgba(124,92,252,0.35);
  width: auto;
  align-self: flex-start;
}
body .hp-btn--ghost:hover { background: rgba(124,92,252,0.22); }

/* ============================================================
 * BLOCK 3 鈥?Hot Slots (3 hero row + 4 compact row)
 * ============================================================ */
body .hp-hot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body .hp-hot__hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-hot__hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body .hp-hot__hero { grid-template-columns: 1fr; }
}

body .hp-hh {
  border: 1px solid #1e2433;
  border-radius: 14px;
  background: #141720;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body .hp-hh__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
  position: relative;
}
body .hp-hh__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f121a 100%);
  flex-shrink: 0;
}
body .hp-hh__cover--empty {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}
body .hp-hh__info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  background: linear-gradient(180deg, rgba(20,23,32,0) 0%, #141720 40%);
  margin-top: -28px;
  position: relative;
  z-index: 1;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
body .hp-hh__title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .hp-hh__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body .hp-hh__brand {
  font-size: 12px;
  color: #94a3b8;
}
body .hp-hh__rtp {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  padding: 2px 8px;
  background: rgba(16,185,129,0.1);
  border-radius: 999px;
}

/* Hot slots bottom row: 4 compact cards in grid */
body .hp-hot__compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .hp-hot__compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body .hp-hot__compact { grid-template-columns: 1fr; }
}
body .hp-hc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #1e2433;
  border-radius: 10px;
  background: #141720;
  transition: border-color .15s ease, background .15s ease;
  color: inherit;
  min-width: 0;
}
body .hp-hc:hover {
  border-color: rgba(124,92,252,0.45);
  background: #171a26;
}
body .hp-hc__left {
  flex: 0 0 56px;
  width: 56px;
  position: relative;
}
body .hp-hc__thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #141822;
}
body .hp-hc__thumb--empty {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
}
body .hp-hc__rank {
  position: absolute;
  top: -5px;
  right: -5px;
  background: rgba(124,92,252,0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid #7c5cfc;
}
body .hp-hc__mid {
  flex: 1 1 auto;
  min-width: 0;
}
body .hp-hc__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .hp-hc__right {
  flex: 0 0 auto;
}
body .hp-hc__rtp {
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  padding: 3px 8px;
  background: rgba(16,185,129,0.1);
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
 * BLOCK 5 鈥?Latest News (1 left big + 3 right small list)
 * ============================================================ */
body .hp-news {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  body .hp-news { grid-template-columns: 1fr !important; }
  body .hp-nh__coverwrap { max-height: 360px !important; }
  body .hp-news__compact {
    height: auto !important;
    min-height: 0 !important;
  }
}
@media (max-width: 640px) {
  body .hp-nh__coverwrap { max-height: 280px !important; }
  body .hp-nh__title { font-size: 18px; }
  body .hp-nh__excerpt { font-size: 13px; }
}

body .hp-nh {
  border: 1px solid #1e2433;
  border-radius: 14px;
  background: #141720;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
body .hp-nh__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
}
body .hp-nh__coverwrap {
  width: 100%;
  aspect-ratio: 880 / 730;
  max-height: 380px;
  background: #141720;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 14px 14px 0 0;
}
body .hp-nh__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  background: #141720;
  position: absolute;
  inset: 0;
}
body .hp-nh__cover--empty {
  display: block;
  width: 100%;
  height: 100%;
}
body .hp-nh__cat {
  font-size: 11px;
  font-weight: 600;
  color: #ddd6fe;
  padding: 2px 10px;
  background: rgba(124,92,252,0.28);
  border: 1px solid rgba(124,92,252,0.35);
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body .hp-nh__cat a {
  color: inherit;
  text-decoration: none;
}
body .hp-nh__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
body .hp-nh__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1 1 auto;
  min-height: 0;
}
body .hp-nh__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .hp-nh__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .hp-nh__date {
  margin-top: auto;
  font-size: 12px;
  color: #94a3b8;
}

/* Right column: 3 compact stacked */
body .hp-news__compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 100%;
}
body .hp-nc {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #1e2433;
  border-radius: 14px;
  background: #141720;
  transition: border-color .15s ease, background .15s ease;
  color: inherit;
  min-width: 0;
  align-items: center;
  box-sizing: border-box;
}
/* 首页右侧卡按内容撑开，允许跟着左侧 hero 变高，但不能被压扁裁切 */
body .hp-news .hp-nc {
  flex: 1 0 auto;
  min-height: 120px;
  overflow: visible;
}
body .hp-nc:hover {
  border-color: rgba(124,92,252,0.45);
  background: #171a26;
}
body .hp-nc__thumb,
body .hp-nc__thumb--empty {
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  height: 96px;
  min-height: 96px;
  border-radius: 10px;
  background: #1a1e2a;
  overflow: hidden;
  display: block;
  align-self: center;
}
body .hp-nc__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f121a 100%);
  border-radius: inherit;
}
body .hp-nc__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}
body .hp-nc__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body .hp-nc__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body .hp-nc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 0;
  min-width: 0;
}
body .hp-nc__date {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
  white-space: nowrap;
}
body .hp-nc__cat {
  font-size: 11px;
  font-weight: 600;
  color: #ddd6fe;
  padding: 2px 10px;
  background: rgba(124,92,252,0.28);
  border: 1px solid rgba(124,92,252,0.35);
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  body .hp-news .hp-nc {
    min-height: 100px;
  }
  body .hp-nc {
    padding: 10px 12px;
    gap: 12px;
  }
  body .hp-nc__thumb,
  body .hp-nc__thumb--empty {
    flex: 0 0 80px;
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
  }
  body .hp-nc__title {
    font-size: 14px;
    line-height: 1.35;
  }
  body .hp-nc__excerpt { font-size: 12px; }
  body .hp-nc__date { font-size: 11px; }
  body .hp-nc__cat { font-size: 10px; padding: 1px 8px; }
}
@media (max-width: 480px) {
  body .hp-news { gap: 14px; }
  body .hp-nh__body { padding: 14px 16px 16px; gap: 8px; }
  body .hp-nh__title { font-size: 16px; line-height: 1.35; }
  body .hp-nh__excerpt { font-size: 13px; line-height: 1.5; }
  body .hp-nh__coverwrap { max-height: 220px !important; }
  body .hp-news .hp-nc {
    min-height: 92px;
  }
  body .hp-nc {
    padding: 10px;
    gap: 10px;
  }
  body .hp-nc__thumb,
  body .hp-nc__thumb--empty {
    flex: 0 0 72px;
    width: 72px;
    min-width: 72px;
    height: 72px;
    min-height: 72px;
    border-radius: 8px;
  }
  body .hp-nc__title { font-size: 13px; line-height: 1.35; }
  body .hp-nc__excerpt {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  body .hp-nc__meta {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
  }
  body .hp-nc__date { font-size: 11px; }
  body .hp-nc__cat {
    font-size: 10px;
    padding: 1px 8px;
    max-width: 100%;
  }
}

/* ============================================================
 * BLOCK 6 鈥?Latest Comments (5 rows, box)
 * ============================================================ */
body .hp-comments {
  border: 1px solid #1e2433;
  background: #141720;
  border-radius: 12px;
  padding: 12px 24px;
}
@media (max-width: 640px) {
  body .hp-comments { padding: 10px 16px; }
}
body .hp-comments__divider {
  border: 0;
  border-top: 1px solid #1e2433;
  margin: 0 -24px;
  display: block;
  padding: 0;
}
@media (max-width: 640px) {
  body .hp-comments__divider { margin: 0 -16px; }
}
body .hp-cr {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  align-items: flex-start;
  min-width: 0;
}
body .hp-cr__avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1e2a;
  flex-shrink: 0;
}
body .hp-cr__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #141822;
}
body .hp-cr__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body .hp-cr__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
}
body .hp-cr__user {
  font-weight: 600;
  color: #fff;
}
body .hp-cr__meta {
  color: #94a3b8;
}
body .hp-cr__meta a {
  color: #a78bfa;
  border-bottom: 1px dashed rgba(124,92,252,0.35);
}
body .hp-cr__meta a:hover { color: #c4b5fd; }
body .hp-cr__date {
  color: #64748b;
  margin-left: auto;
}
@media (max-width: 640px) {
  body .hp-cr__date { margin-left: 0; }
}
body .hp-cr__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}

/* --- End of slot-news main CSS --- */
body .hp-empty {
  border: 1px solid #1e2433;
  background: #141720;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
}
body .hp-empty__text {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

/* --- Lightbox dialog fallback --- */
body .c-lightbox {
  border: 0;
  background: transparent;
  padding: 0;
  max-width: 92vw;
  max-height: 92vh;
}
body .c-lightbox::backdrop {
  background: rgba(0,0,0,0.78);
}
body .c-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20,23,32,0.85);
  color: #fff;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
body .c-lightbox__frame img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  border-radius: 10px;
}
body .c-home .c-hot-compact .c-hot-compact__col--left .c-hot-compact__thumb {
  width: 56px !important;
  height: 56px !important;
  border-radius: 10px !important;
  display: block !important;
  margin: 0 !important;
}
/* rank 寰芥爣锛歵humb 鍙充笂瑙?absolute 14脳14 鍗婇€忔槑绱兌鍥婄櫧鏁板瓧 */
body .c-home .c-hot-compact .c-hot-compact__badge {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #7C5CFC !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 2px 6px rgba(124, 92, 252, 0.35) !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 涓垪锛歠lex-col space-between 鈫?title 涓?sub 涓嬶紝姘歌繙椤跺簳瀵归綈 */
body .c-home .c-hot-compact .c-hot-compact__col--mid {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 2px 0 !important;
  gap: 6px !important;
}
body .c-home .c-hot-compact .c-hot-compact__col--mid .c-hot-compact__title {
  margin: 0 !important;
  width: 100% !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #F5F7FB !important;
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
body .c-home .c-hot-compact .c-hot-compact__col--mid .c-hot-compact__sub {
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #7F8495 !important;
  letter-spacing: 0.01em !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 鍙冲垪锛氬浐瀹氬锛屾案杩滃瀭鐩存按骞冲眳涓?RTP or 鎺掑悕澶у瓧锛屾案杩滀笉绌?*/
body .c-home .c-hot-compact .c-hot-compact__col--right {
  flex: 0 0 60px !important;
  width: 60px !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
body .c-home .c-hot-compact .c-hot-compact__col--right .c-hot-compact__rtp,
body .c-home .c-hot-compact .c-hot-compact__col--right .c-hot-compact__rank {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  min-height: 22px !important;
  text-align: center !important;
}
body .c-home .c-hot-compact .c-hot-compact__col--right .c-hot-compact__rtp {
  background: rgba(124, 92, 252, 0.12) !important;
  color: #B8A6FF !important;
  border: 1px solid rgba(124, 92, 252, 0.25) !important;
}
body .c-home .c-hot-compact .c-hot-compact__col--right .c-hot-compact__rank {
  background: rgba(30, 36, 51, 0.6) !important;
  color: #A6ACBE !important;
  border: 1px solid #1E2433 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Tablet / Mobile 灏忔。浣嶅井璋?*/
@media (max-width: 640px) {
  body .c-home .c-hot-compact { padding: 8px !important; gap: 10px !important; }
  body .c-home .c-hot-compact .c-hot-compact__col--left { flex: 0 0 52px !important; width: 52px !important; }
  body .c-home .c-hot-compact .c-hot-compact__col--left .c-hot-compact__thumb { width: 52px !important; height: 52px !important; border-radius: 8px !important; }
  body .c-home .c-hot-compact .c-hot-compact__col--right { flex: 0 0 54px !important; width: 54px !important; }
  body .c-home .c-hot-compact .c-hot-compact__col--mid .c-hot-compact__title { font-size: 13px !important; }
}

/* =============== B12. Hot Slots 鍏ㄥ眬 padding/gap 瑙嗚鏀剁揣锛堢敤鎴锋姇璇?padding 澶ぇ锛?===============
   鐩爣锛氫慨澶?section 鈫?涓ゆ帓鍗?/ info 鍖?/ compact 鍗?/ row gap 杩囧鐨勯棶棰橈紝瑙嗚澶揣 = padding/gap 鏁板瓧鏀?30~40% 涓嶆斁婧€?
   Before (Tablet=727px):
   - section L/R padding锛?0 鈫?16
   - HeroRow gap锛?1 鈫?16锛汣ompactRow gap锛?0 鈫?14
   - Hero 3 琛屸啋 40鈫?4
   - Hero info padding锛?6/20/20/20 鈫?12/14/14/14锛坕nfo 鍖哄煙鍐呴儴 padding 鍗犳瘮浠?56鈫?4 鏀剁揣锛?   - Compact 鍗曞崱 padding锛?0 鈫?7锛屼笁鍒?gap 12鈫?0 */

/* 鈶?Hot Slots 鎵€鍦?section锛氬乏鍙?padding 20鈫?6锛堢敤 :has 鍛戒腑鍚?hero 琛岀殑 section锛岄伩鍏嶆薄鏌撳厔寮?section锛?*/
body .c-home section:has(.c-hot-hero-row),
body .c-home section:has(.c-hot-compact-row) {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* 鈶?HeroRow / CompactRow 鎺掑唴鍗￠棿璺濓細Hero 21鈫?6锛孋ompact 20鈫?4
   HeroRow 鈫?CompactRow 涔嬮棿鐨勫瀭鐩撮棿璺濓細浠?40 鏀剁揣鍒?20锛堢簿纭浉閭婚€夋嫨鍣紝閬垮厤 *+* 杩囧害姹℃煋 sec-head gap锛?*/
body .c-home .c-hot-hero-row {
  gap: 16px !important;
  column-gap: 16px !important;
  row-gap: 16px !important;
}
body .c-home .c-hot-compact-row {
  gap: 14px !important;
  row-gap: 14px !important;
  column-gap: 14px !important;
  margin-top: 0 !important; /* 闃叉鏃ц鍒?mt 娈嬬暀 */
}
/* 绮剧‘锛欻ot Slots section 鍐?compact-row 椤堕儴闂磋窛
   娉ㄦ剰锛歴ection.display=flex column 鑷甫 gap=20锛屾墍浠?compactRow 涓嶈鍐嶅姞 mt锛屽惁鍒?20+20=40 鍙犲姞銆?   鏀逛负 mt=0锛岀敱 section gap=20 鑷繁杈撳嚭 20 鈫?heroRow鈫抍ompactRow 鎬昏窛=20锛堜箣鍓?40锛夈€?*/
body .c-home section.c-home-section > .c-hot-compact-row,
body .c-home section:has(> .c-hot-hero-row) > .c-hot-compact-row {
  margin-top: 0 !important;
}

/* 鈶?Hero 澶у崱 info 鍐呴儴 padding 16/20/20/20 鈫?12/14/14/14 鏀剁揣 */
body .c-home .c-hot-hero .c-hot-hero__info {
  padding: 12px 14px 14px 14px !important;
}

/* 鈶?Compact 琛屽崱 padding 10鈫?锛屽唴 gap 12鈫?0 */
body .c-home .c-hot-compact {
  padding: 7px !important;
  gap: 10px !important;
}
/* 瀵瑰簲璋冩暣 7 涓?badge 浣嶇疆锛歵humb 56 + pad 7 鈫?鍙充笂瑙?-2/-2 寰皟 */
body .c-home .c-hot-compact .c-hot-compact__badge {
  top: -2px !important;
  right: -2px !important;
}

/* =============== B13. Hot Slots 鍥剧墖銆屼笉鍒囧浘銆嶄慨澶嶏紙鐢ㄦ埛鎶曡瘔 objectFit: cover 瑁佸垏鏂瑰浘杈硅锛?===============
   瀹炴祴鏁版嵁锛坴iewport=968 Desktop 妗ｏ級锛?   - Hero cover 384脳180 aspect=2.133 | img 鍘熷浘 2048脳2048 square 1:1 | objectFit=cover 鈫?涓婁笅 2/3 琚垏鎺夛紝鍙墿妯潯
   - Compact thumb 56脳56 aspect=1.0 | col--left 瀹瑰櫒 56脳64 | img 鍘熷浘 square | objectFit=cover 鈫?4 杈归兘瑁佷簡涓€鐐?   淇绛栫暐锛?   1) 鎵€鏈?Hot Slots 鍐呯殑 cover/thumb img锛歰bjectFit 鏀?contain锛屽畬鏁存樉绀轰笉瑁佸垏浠讳綍鍍忕礌
   2) 鍔犺儗鏅壊琛ョ┖锛堟繁鑹?#0E1118 淇濇寔涓€鑷存€э紝闃叉 contain 鍚庣殑宸﹀彸/涓婁笅绌虹櫧鍖洪€忓嚭鍗″簳鑹诧級
   3) Hero cover锛氬浐瀹氬楂樹繚鎸?Figma 瀹瑰櫒鐩爣锛圖esktop 384脳180锛変笉鍙橈紝淇℃伅灞傛寜 cover 楂樺害瀵归綈涓嶉
   4) Compact thumb锛氫繚鎸?56脳56 square锛坈ol--left 56脳64 瀹瑰櫒鍐?center 灞呬腑锛夛紝涓嶆尋鍘?*/

/* 鈶?Hero 3 寮犲ぇ鍗″皝闈細cover 鈫?contain锛宐g=#0E1118 琛ョ┖ */
body .c-home .c-hot-hero .c-hot-hero__cover {
  object-fit: contain !important;
  -o-object-fit: contain !important;
  object-position: center center !important;
  -o-object-position: center center !important;
  background-color: #0E1118 !important;
  width: 100% !important;
  display: block !important;
}

/* 鈶?Compact 4 寮犺鍗＄缉鐣ュ浘锛歝over 鈫?contain锛宐g=#0E1118 琛ョ┖锛宼humb 灏哄淇濇寔 square
   (thumbnail 鏂瑰舰 56脳56锛屾斁鍦?col--left 56脳64 瀹瑰櫒鍐呭瀭鐩村眳涓? */
body .c-home .c-hot-compact .c-hot-compact__thumb {
  object-fit: contain !important;
  -o-object-fit: contain !important;
  object-position: center center !important;
  -o-object-position: center center !important;
  background-color: #0E1118 !important;
  display: block !important;
}


/* ============================================================
   PV-* : Provider Archive (全锟铰筹拷锟斤拷页) 锟斤拷锟斤拷锟绞?   锟斤拷锟斤拷 body.post-type-archive-provider 锟斤拷效, 锟斤拷锟斤拷染锟斤拷锟斤拷页锟斤拷
   ============================================================ */

/* ---------- LAYOUT: 锟斤拷锟斤拷 hp-wrap, 锟劫硷拷一锟斤拷 pv-wrap 专锟斤拷尉锟?---------- */
body.post-type-archive-provider .pv-wrap > * + * {
  margin-top: 24px;
}
@media (max-width: 640px) {
  body.post-type-archive-provider .pv-wrap > * + * { margin-top: 18px; }
}

/* ---------- 1. PV Breadcrumb (锟斤拷锟斤拷锟斤拷戏页 gl-breadcrumb 锟接撅拷) ---------- */
body .pv-breadcrumb {
  font-size: 11.5px;
  line-height: 1;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
body .pv-breadcrumb__link {
  color: #7C5CFC;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
body .pv-breadcrumb__link:hover { color: #a78bfa; }
body .pv-breadcrumb__sep { color: #334155; }
body .pv-breadcrumb__current {
  color: #cbd5e1;
  font-weight: 500;
}

/* ---------- 2. PV Hero ---------- */
body .pv-hero__title {
  margin: 0 0 10px 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
body .pv-hero__desc {
  margin: 0;
  max-width: 640px;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- 3. PV A锟紺Z 锟斤拷母锟斤拷锟斤拷锟斤拷 ---------- */
body .pv-az {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
body .pv-az__btn {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #13161f;
  border: 1px solid #1e2433;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}
body .pv-az__btn:hover {
  border-color: #7C5CFC;
  color: #fff;
  transform: translateY(-1px);
}
body .pv-az__btn.is-active {
  background: linear-gradient(90deg, #7C5CFC 0%, #6366F1 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(124, 92, 252, 0.35);
}

/* ---------- 4. PV Count + Sort bar ---------- */
body .pv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
body .pv-count {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
}
body .pv-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #13161f;
  border: 1px solid #1e2433;
  border-radius: 8px;
  padding: 4px;
  height: 32px;
}
body .pv-sort__label {
  padding: 0 8px 0 10px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  line-height: 1;
}
body .pv-sort__btn {
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
body .pv-sort__btn:hover { color: #fff; }
body .pv-sort__btn.is-active {
  background: #1e2433;
  color: #fff;
}

/* ---------- 5. PV Provider Grid (锟斤拷锟斤拷 4 / 平锟斤拷 3 / 锟街伙拷 2) ---------- */
body .pv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .pv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  body .pv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body .pv-grid > .hp-ad {
    grid-column: 1 / -1;
  }
  body.post-type-archive-provider .c-provider-card,
  body.post-type-archive-provider .c-provider-card > .c-provider-card__link {
    min-height: 0;
  }
  body.post-type-archive-provider .c-provider-card__body {
    padding: 12px;
  }
  body.post-type-archive-provider .c-provider-card__desc {
    min-height: 0;
    margin-bottom: 8px;
  }
}
/* Between ad / mid ad inserted inside pv-grid -> 锟斤拷锟斤拷锟斤拷锟叫撑匡拷锟斤拷锟狡伙拷锟斤拷锟斤拷 */
body .pv-grid > .hp-ad {
  grid-column: 1 / -1;
  margin: 4px 0;
}

/* ---------- 5.1 Provider CARD (锟斤拷锟斤拷 c-provider-card 锟斤拷 PV 锟斤拷锟斤拷锟斤拷锟斤拷desc + HOT锟角憋拷 + 锟竭达拷锟揭伙拷锟? ---------- */
body .pv-grid > .c-provider-card,
body.post-type-archive-provider .c-provider-card {
  width: 100% !important;
  height: auto !important;
  min-height: 320px;
}
body .pv-grid > .c-provider-card > .c-provider-card__link,
body.post-type-archive-provider .c-provider-card > .c-provider-card__link {
  min-height: 320px;
}
body .pv-grid .c-provider-card__body,
body.post-type-archive-provider .c-provider-card__body {
  flex: 1 1 auto;
  justify-content: flex-start;
}
body .pv-grid .c-provider-card__name,
body.post-type-archive-provider .c-provider-card__name {
  min-height: auto;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: #f8fafc;
}
body .pv-grid .c-provider-card__desc,
body.post-type-archive-provider .c-provider-card__desc {
  margin: 0 0 10px 0;
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
  min-height: 38px;
}
body .pv-grid .c-provider-card__count,
body.post-type-archive-provider .c-provider-card__count {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(124, 92, 252, 0.10);
  color: #a78bfa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: auto;
}
/* PV Provider logo-wrap 锟斤拷远锟轿伙拷员锟?HOT 锟角憋拷 absolute */
body .pv-grid .c-provider-card__logo-wrap,
body.post-type-archive-provider .c-provider-card__logo-wrap {
  position: relative;
}

/* ---------- 5.2 HOT / NEW Flag (锟斤拷锟斤拷 gl-flag 锟斤拷色值 + 锟斤拷锟皆讹拷位) ---------- */
body .pv-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  body .pv-flag { top: 8px; left: 8px; padding: 2px 6px; font-size: 9.5px; }
}
body .pv-flag.is-hot  { background: #ef4444; box-shadow: 0 2px 8px rgba(239,68,68,0.35); }

/* ---------- 6. PV Pagination (锟斤拷锟斤拷 gl-pagination) ---------- */
body .pv-pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
body .pv-pagination .page-numbers {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #13161f;
  border: 1px solid #1e2433;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1;
}
body .pv-pagination .page-numbers:hover {
  border-color: #7C5CFC;
  color: #fff;
}
body .pv-pagination .page-numbers.current {
  background: linear-gradient(90deg, #7C5CFC 0%, #6366F1 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,92,252,0.35);
  pointer-events: none;
}
body .pv-pagination .page-numbers.prev,
body .pv-pagination .page-numbers.next {
  min-width: auto;
  padding: 0 14px;
}
@media (max-width: 640px) {
  body .pv-pagination { margin-top: 30px; gap: 6px; }
  body .pv-pagination .page-numbers { min-width: 30px; height: 30px; padding: 0 8px; font-size: 11.5px; }
  body .pv-pagination .page-numbers.prev,
  body .pv-pagination .page-numbers.next { padding: 0 10px; }
}

/* ---------- 7. PV SEO LONG TEXT ---------- */
body .pv-seo {
  margin-top: 56px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.75;
}
body .pv-seo h2 {
  margin: 0 0 14px 0;
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
body .pv-seo h3 {
  margin: 22px 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.4;
}
body .pv-seo p { margin: 0 0 10px 0; }

/* ---------- 8. PV Related entries (5 entries row) ---------- */
body .pv-entries {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body .pv-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body .pv-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body .pv-entries__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #13161f;
  border: 1px solid #1e2433;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
  min-height: 50px;
}
body .pv-entries__item:hover {
  border-color: #7C5CFC;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(124,92,252,0.12);
}
body .pv-entries__label {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.3;
}
body .pv-entries__arrow {
  color: #7C5CFC;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- 9. PV EMPTY state ---------- */
body .pv-empty {
  margin-top: 24px;
  padding: 44px 24px;
  background: #0f1218;
  border: 2px dashed #1e2433;
  border-radius: 14px;
  text-align: center;
}
body .pv-empty__title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
}
body .pv-empty__desc {
  margin: 0 0 20px 0;
  font-size: 13px;
  color: #94a3b8;
}
body .pv-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #7C5CFC 0%, #6366F1 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 12px rgba(124,92,252,0.35);
}
body .pv-empty__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(124,92,252,0.5); }

/* ---------- Responsive adjustments (Hero / SEO headings) ---------- */
@media (max-width: 1024px) and (min-width: 641px) {
  body .pv-hero__title { font-size: 28px; }
  body .pv-seo h2 { font-size: 21px; }
  body .pv-pagination { margin-top: 40px; }
}
@media (max-width: 640px) {
  body .pv-hero__title { font-size: 24px; }
  body .pv-hero__desc { font-size: 12.5px; line-height: 1.65; }
  body .pv-seo { margin-top: 40px; }
  body .pv-seo h2 { font-size: 18px; }
  body .pv-seo h3 { font-size: 14.5px; }
  body .pv-count { width: 100%; }
  body .pv-sort { flex: 1 1 auto; width: 100%; }
}


/* ============================================================
 * Phase-News-2026: News Archive (fully isolated from legacy)
 * Scope: body.news-archive-2026 #na26 only
 * Palette: deep dark #0b0d14 -> #141720 (cards) per design
 * ============================================================ */
body.news-archive-2026 {
  --na-bg: #0b0d14;
  --na-bg-2: #090b11;
  --na-card: #141720;
  --na-card-2: #1a1e2a;
  --na-border: #1e2433;
  --na-text: #e6e8ee;
  --na-muted: #8b93a7;
  --na-muted-2: #64748b;
  --na-accent: #7c3aed;
  --na-accent-2: #8b5cf6;
  --na-accent-soft: rgba(124, 58, 237, 0.14);
  --na-chip: #1e2433;
  --na-chip-text: #cdd5e1;
  --na-radius-lg: 14px;
  --na-radius-md: 10px;
  --na-gap: 20px;
  background: var(--na-bg);
  color: var(--na-text);
}
body.news-archive-2026 #na26.na-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  color: var(--na-text);
  box-sizing: border-box;
}
body.news-archive-2026 .na-ad {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #11141d 0%, #0d1018 100%);
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius-lg);
  padding: 10px;
  margin: 0 0 24px;
  overflow: hidden;
  box-sizing: border-box;
}
body.news-archive-2026 .na-ad--top728 { margin: 0 0 28px; min-height: 110px; }
body.news-archive-2026 .na-ad--mid728 { margin: 0; min-height: 110px; }
body.news-archive-2026 .na-ad--foot728 { margin: 0; min-height: 110px; }
body.news-archive-2026 .na-ad iframe,
body.news-archive-2026 .na-ad img,
body.news-archive-2026 .na-ad > div > iframe,
body.news-archive-2026 .na-ad > div > img { max-width: 100%; }

body.news-archive-2026 .na-crumb {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--na-muted);
}
body.news-archive-2026 .na-crumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.news-archive-2026 .na-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #3a4152;
}
body.news-archive-2026 .na-crumb a { color: var(--na-muted); text-decoration: none; }
body.news-archive-2026 .na-crumb a:hover { color: var(--na-accent-2); }
body.news-archive-2026 .na-crumb li:last-child span { color: #cdd5e1; }

body.news-archive-2026 .na-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 22px;
}
body.news-archive-2026 .na-head__title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f5f6fa;
}
body.news-archive-2026 .na-head__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--na-muted);
  max-width: 760px;
}

body.news-archive-2026 .na-tabs { margin: 0 0 28px; }
body.news-archive-2026 .na-tabs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.news-archive-2026 .na-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--na-card);
  border: 1px solid var(--na-border);
  color: var(--na-chip-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: all 160ms ease;
  user-select: none;
}
body.news-archive-2026 .na-tab:hover {
  border-color: #2e3549;
  color: #fff;
  transform: translateY(-1px);
}
body.news-archive-2026 .na-tab.is-active {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.22);
}

body.news-archive-2026 .na-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  margin: 0 0 34px;
  align-items: stretch;
}
body.news-archive-2026 .na-hero__big { display: flex; }
body.news-archive-2026 .na-hero__big > * { flex: 1 1 auto; }
body.news-archive-2026 .na-hero__small {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.news-archive-2026 .na-hero__small .hp-nc {
  height: calc((100% - 28px) / 3);
  box-sizing: border-box;
  min-height: 0;
}
body.news-archive-2026 .na-hero .hp-nh {
  height: 100%;
  box-sizing: border-box;
}
body.news-archive-2026 .na-hero .hp-nh__link { height: 100%; }
body.news-archive-2026 .na-hero .hp-nh__coverwrap { max-height: 380px; }

body.news-archive-2026 .na-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

body.news-archive-2026 .na-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
body.news-archive-2026 .na-list-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #f5f6fa;
  letter-spacing: -0.005em;
}
body.news-archive-2026 .na-list-count {
  font-size: 12px;
  color: var(--na-muted);
}

body.news-archive-2026 .na-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 28px;
}
body.news-archive-2026 .na-article {
  position: relative;
  background: var(--na-card);
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  min-height: 190px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
body.news-archive-2026 .na-article:hover {
  border-color: #2e3549;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
body.news-archive-2026 .na-article__mainlink {
  position: absolute;
  inset: 0;
  z-index: 1;
  outline: none;
  text-indent: -9999px;
  overflow: hidden;
}
body.news-archive-2026 .na-article__coverwrap,
body.news-archive-2026 .na-article__body,
body.news-archive-2026 .na-article__head,
body.news-archive-2026 .na-article__title,
body.news-archive-2026 .na-article__excerpt,
body.news-archive-2026 .na-article__rels {
  position: relative;
  z-index: 2;
}
body.news-archive-2026 .na-article__coverwrap {
  position: relative;
  background: #0e1119;
  overflow: hidden;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}
body.news-archive-2026 .na-article__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}
body.news-archive-2026 .na-article:hover .na-article__cover { transform: scale(1.035); }
body.news-archive-2026 .na-article__cover.is-empty {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
}
body.news-archive-2026 .na-article__body {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  min-width: 0;
  gap: 10px;
}
body.news-archive-2026 .na-article__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
body.news-archive-2026 .na-article__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: #f5f6fa;
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.news-archive-2026 .na-article__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--na-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
body.news-archive-2026 .na-article__date {
  font-size: 12px;
  color: var(--na-muted-2);
  white-space: nowrap;
}
body.news-archive-2026 .na-article__rels {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.news-archive-2026 .na-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--na-chip);
  color: var(--na-chip-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 120ms ease;
  white-space: nowrap;
}
body.news-archive-2026 a.na-chip:hover { color: #fff; border-color: #2e3549; }
body.news-archive-2026 .na-chip--cat {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(168,85,247,0.12) 100%);
  color: #c4b5fd;
  border-color: rgba(124,58,237,0.35);
  font-weight: 600;
  letter-spacing: 0.01em;
}
body.news-archive-2026 .na-chip--cat:hover { border-color: rgba(168,85,247,0.55); color: #ede9fe; }
body.news-archive-2026 .na-chip--rel {
  background: #151a26;
  color: #cbd5e1;
  border-color: #1e2433;
  font-weight: 500;
}
body.news-archive-2026 .na-chip--rel:hover { background: #1a2030; color: #fff; }
body.news-archive-2026 .na-chip--ghost {
  background: #101420;
  color: #cdd5e1;
  border-color: #1c2133;
  padding: 6px 14px;
  font-size: 12px;
}
body.news-archive-2026 .na-chip--ghost:hover {
  background: var(--na-accent-soft);
  border-color: rgba(124, 58, 237, 0.4);
  color: #ddd6fe;
}

body.news-archive-2026 .na-list__adbreak { margin: 4px 0 0; }

body.news-archive-2026 .na-empty {
  padding: 60px 20px;
  text-align: center;
  background: var(--na-card);
  border: 1px dashed var(--na-border);
  border-radius: var(--na-radius-lg);
}
body.news-archive-2026 .na-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #f5f6fa;
}
body.news-archive-2026 .na-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--na-muted);
}

body.news-archive-2026 .na-pag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 0 8px;
  flex-wrap: wrap;
}
body.news-archive-2026 .na-pag .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  background: var(--na-card);
  border: 1px solid var(--na-border);
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 140ms ease;
  box-sizing: border-box;
}
body.news-archive-2026 .na-pag .page-numbers:hover {
  border-color: #2e3549;
  color: #fff;
  transform: translateY(-1px);
}
body.news-archive-2026 .na-pag .page-numbers.current {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(124, 58, 237, 0.22);
  pointer-events: none;
}
body.news-archive-2026 .na-pag .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--na-muted-2);
  pointer-events: none;
}

body.news-archive-2026 .na-footnote {
  margin: 12px 0 28px;
  background: #10131c;
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius-lg);
  padding: 22px 24px;
}
body.news-archive-2026 .na-footnote__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #f5f6fa;
}
body.news-archive-2026 .na-footnote__body p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--na-muted);
}
body.news-archive-2026 .na-footnote__body p:last-child { margin-bottom: 0; }
body.news-archive-2026 .na-footnote__body em {
  color: #ddd6fe;
  font-style: normal;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.12);
  padding: 0 6px;
  border-radius: 4px;
}
body.news-archive-2026 .na-footnote__entry-label {
  font-weight: 600 !important;
  color: #cdd5e1 !important;
  margin: 10px 0 10px !important;
}
body.news-archive-2026 .na-footnote__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.news-archive-2026 .na-col--side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 20px;
}
body.news-archive-2026 .na-sb {
  background: var(--na-card);
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius-lg);
  padding: 18px 18px 16px;
  min-width: 0;
}
body.news-archive-2026 .na-sb__title {
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: #f5f6fa;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.005em;
}
body.news-archive-2026 .na-sb__flame { font-size: 14px; }
body.news-archive-2026 .na-sb ol,
body.news-archive-2026 .na-sb ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
body.news-archive-2026 .na-sb ol li,
body.news-archive-2026 .na-sb ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #1a1e2a;
}
body.news-archive-2026 .na-sb ol li:last-child,
body.news-archive-2026 .na-sb ul li:last-child { border-bottom: 0; }
body.news-archive-2026 .na-sb__rank {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(168,85,247,0.14) 100%);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
body.news-archive-2026 .na-sb__thmb {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #0e1119;
  display: block;
  border: 1px solid #1a1e2a;
}
body.news-archive-2026 .na-sb__thmb img,
body.news-archive-2026 .na-sb__gthumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.news-archive-2026 .na-sb__gthumb {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #0e1119;
  display: block;
  border: 1px solid #1a1e2a;
  text-decoration: none;
}
body.news-archive-2026 .na-sb__txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.news-archive-2026 .na-sb__txt a {
  font-size: 13px;
  line-height: 1.4;
  color: #e6e8ee;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 500;
  transition: color 120ms ease;
}
body.news-archive-2026 .na-sb__txt a:hover { color: var(--na-accent-2); }
body.news-archive-2026 .na-sb__txt .na-sb__gname { font-weight: 600; }
body.news-archive-2026 .na-sb__txt time {
  font-size: 11px;
  color: var(--na-muted-2);
}
body.news-archive-2026 .na-sb__rate {
  font-size: 12px;
  color: #fbbf24;
  font-weight: 700;
}

body.news-archive-2026 .na-sb--cats ul li {
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}
body.news-archive-2026 .na-sb--cats a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 13px;
  transition: color 120ms ease;
}
body.news-archive-2026 .na-sb--cats a:hover { color: #fff; }
body.news-archive-2026 .na-sb--cats a em {
  font-style: normal;
  color: var(--na-muted-2);
  font-size: 12px;
  font-weight: 500;
}
body.news-archive-2026 .na-sb--cats a:hover em { color: var(--na-accent-2); }

body.news-archive-2026 .na-sb__ad {
  background: #10131c;
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius-lg);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}
body.news-archive-2026 .na-sb__ad.c-ad-slot--empty {
  background: repeating-linear-gradient(
    45deg,
    #10131c,
    #10131c 12px,
    #131722 12px,
    #131722 24px
  );
  border-style: dashed;
}

@media (max-width: 1100px) {
  body.news-archive-2026 .na-main { grid-template-columns: minmax(0, 1fr) 300px !important; gap: 22px !important; }
  body.news-archive-2026 .na-hero { grid-template-columns: 1.15fr 1fr !important; }
  body.news-archive-2026 .na-article { grid-template-columns: 260px minmax(0,1fr) !important; }
}
@media (max-width: 960px) {
  body.news-archive-2026 .na-main { grid-template-columns: 1fr !important; }
  body.news-archive-2026 .na-col--side { position: static !important; }
  body.news-archive-2026 .na-hero { grid-template-columns: 1fr !important; }
  body.news-archive-2026 .na-hero__small .hp-nc { min-height: 120px !important; }
}
@media (max-width: 640px) {
  body.news-archive-2026 #na26.na-wrap { padding: 14px 14px 32px !important; }
  body.news-archive-2026 .na-head__title { font-size: 22px !important; }
  body.news-archive-2026 .na-head__sub { font-size: 12px !important; }
  body.news-archive-2026 .na-tabs ul { gap: 8px !important; }
  body.news-archive-2026 .na-tab { padding: 7px 14px !important; font-size: 12px !important; }
  body.news-archive-2026 .na-article { grid-template-columns: 1fr !important; min-height: auto !important; }
  body.news-archive-2026 .na-article__coverwrap { min-height: 200px !important; aspect-ratio: 16 / 9; }
  body.news-archive-2026 .na-article__body { padding: 14px 16px 16px !important; }
  body.news-archive-2026 .na-article__title { font-size: 15px !important; }
  body.news-archive-2026 .na-article__excerpt { -webkit-line-clamp: 2; }
  body.news-archive-2026 .na-footnote { padding: 16px !important; }
  body.news-archive-2026 .na-footnote__title { font-size: 14px !important; }
  body.news-archive-2026 .na-footnote__body p { font-size: 12px !important; }
  body.news-archive-2026 .na-pag .page-numbers { min-width: 34px; height: 34px; padding: 0 10px; font-size: 12px; }
}

/* ==========================================================================
   Game Detail 2026 鈥?Chinese Reference Image (100% Clean Rewrite, v2 layout)
   Double isolation: body.single-game-2026 parent class + .sg-* component prefix.
   NEVER leaks to Home / News / Provider pages 鈥?every selectors prefixed.
   ========================================================================== */
body.single-game-2026 {
  --sg-bg:          #0b0d16;
  --sg-bg-2:        #0f1120;
  --sg-card:        #151829;
  --sg-card-2:      #1b1f33;
  --sg-border:      rgba(148, 163, 184, 0.10);
  --sg-border-2:    rgba(148, 163, 184, 0.16);
  --sg-text:        #e5e9f7;
  --sg-text-2:      #cfd5ea;
  --sg-muted:       #8d95b3;
  --sg-muted-2:     #6a7291;
  --sg-accent:      #7c3aed;
  --sg-accent-2:    #5b21b6;
  --sg-green:       #50bb30;
  --sg-green-2:     #2f7712;
  --sg-red:         #ef4444;
  --sg-amber:       #f59e0b;
  --sg-gradient-accent: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  --sg-gradient-green:  linear-gradient(180deg, #6ecf3c 0%, #4aae22 100%);
  color: var(--sg-text);
  background: var(--sg-bg);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
body.single-game-2026 #page,
body.single-game-2026 .site,
body.single-game-2026 #main,
body.single-game-2026 #primary,
body.single-game-2026 .site-content { background: transparent !important; }
body.single-game-2026 .site-content { padding: 0 !important; }
body.single-game-2026 .entry-header,
body.single-game-2026 .entry-content,
body.single-game-2026 .entry-footer,
body.single-game-2026 .post-thumbnail,
body.single-game-2026 .c-game-hero,
body.single-game-2026 .c-card-grid,
body.single-game-2026 .c-hero,
body.single-game-2026 .c-breadcrumb,
body.single-game-2026 .c-footer { display: none !important; }

body.single-game-2026 .sg-wrap  { width: 100%; min-height: 100vh; padding: 20px 0 48px; }
body.single-game-2026 .sg-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 22px; }
body.single-game-2026 .sg-muted  { color: var(--sg-muted); }
body.single-game-2026 .sg-en     { color: var(--sg-muted-2); font-weight: 500; font-size: 0.82em; }
body.single-game-2026 .sg-dot    { color: var(--sg-muted-2); margin: 0 4px; }
body.single-game-2026 .sg-fs-s   { font-size: 12.5px !important; }
body.single-game-2026 .sg-mt-s   { margin-top: 8px !important; }

/* ===== Ad slots (hide_empty=true already handled at PHP level, no DOM when empty) ===== */
body.single-game-2026 .sg-ad {
  border-radius: 14px;
  border: 1px dashed var(--sg-border-2);
  background: var(--sg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sg-muted-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.single-game-2026 .sg-ad--top728,
body.single-game-2026 .sg-ad--mid728,
body.single-game-2026 .sg-ad--foot728 { min-height: 110px; }
body.single-game-2026 .sg-ad--side300 { min-height: 260px; }
body.single-game-2026 .sg-ad--side300 + .sg-ad--side300 { margin-top: 16px; }

/* ===== Breadcrumb (Chinese 棣栭〉 鈥?娓告垙 鈥?鍘傚晢 鈥?褰撳墠) ===== */
body.single-game-2026 .sg-breadcrumb { font-size: 13px; }
body.single-game-2026 .sg-breadcrumb__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 8px; list-style: none; padding: 0; margin: 0;
}
body.single-game-2026 .sg-breadcrumb__item a { color: var(--sg-muted); text-decoration: none; transition: color .15s; }
body.single-game-2026 .sg-breadcrumb__item a:hover { color: var(--sg-text); }
body.single-game-2026 .sg-breadcrumb__item.is-current { color: var(--sg-text); font-weight: 600; }
body.single-game-2026 .sg-breadcrumb__sep { color: var(--sg-muted-2); user-select: none; font-size: 12px; }

/* ===== Hero Grid: [leftcol stacked (cover鈫抰itle鈫抯pecs鈫扖TA鈫扵OC)] | [right sidebar 2脳300] ===== */
body.single-game-2026 .sg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
body.single-game-2026 .sg-hero.is-single-col {
  grid-template-columns: minmax(0, 1fr);
}
body.single-game-2026 .sg-hero__leftcol { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
body.single-game-2026 .sg-hero__side    { display: flex; flex-direction: column; }

/* ===== 3.1 Hero Cover with green Play Demo overlay button ===== */
body.single-game-2026 .sg-hero__cover {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sg-card-2);
  isolation: isolate;
}
body.single-game-2026 .sg-hero__coverimg { display: block; width: 100%; height: 100%; object-fit: cover; }
body.single-game-2026 .sg-hero__coverimg.is-placeholder { display: block; }
body.single-game-2026 .sg-hero__rtp-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--sg-border-2);
  color: var(--sg-text);
  font-size: 12.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
body.single-game-2026 .sg-hero__coveroverlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 24, 0.00) 0%, rgba(8, 10, 24, 0.12) 40%, rgba(8, 10, 24, 0.55) 100%),
    radial-gradient(120% 70% at 50% 40%, rgba(124, 58, 237, 0.00) 40%, rgba(8, 10, 24, 0.45) 100%);
}
body.single-game-2026 .sg-hero__playbtn {
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 12px;
  width: min(84%, 440px);
  min-width: min(84%, 440px);
  padding: 22px 28px;
  background: var(--sg-gradient-green);
  color: #ffffff;
  font-family: inherit;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
  border-bottom: 3px solid var(--sg-green-2);
  border-radius: 16px;
  box-shadow:
    0 14px 38px -16px rgba(74, 174, 34, 0.85),
    0 4px 12px -4px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  text-shadow: 0 1px 2px rgba(20, 65, 2, 0.55);
}
body.single-game-2026 .sg-hero__playbtn > svg {
  display: inline-block; flex: 0 0 auto;
  filter: drop-shadow(0 1px 1px rgba(20, 65, 2, 0.55));
  margin-left: -6px;
}
body.single-game-2026 .sg-hero__playbtn:hover {
  filter: brightness(1.05);
  transform: translate(-50%, calc(-50% - 2px));
}
body.single-game-2026 .sg-hero__playbtn:active {
  transform: translate(-50%, calc(-50% + 1px));
  filter: brightness(0.98);
  border-bottom-width: 2px;
}
body.single-game-2026 .sg-hero__playbtn:focus-visible {
  outline: 3px solid var(--sg-accent);
  outline-offset: 4px;
}

/* ===== 3.2 Title area (title + provbadge + ratingrow + chips) ===== */
body.single-game-2026 .sg-hero__titlearea { display: flex; flex-direction: column; gap: 12px; }
body.single-game-2026 .sg-hero__titlehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
body.single-game-2026 .sg-hero__title {
  font-size: 30px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
body.single-game-2026 .sg-hero__subtitle {
  display: inline-block;
  margin-left: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--sg-muted);
}
body.single-game-2026 .sg-hero__provbadge {
  display: inline-flex;
  align-items: center;
  background: var(--sg-gradient-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: 0 8px 22px -12px rgba(124, 58, 237, 0.65);
}
body.single-game-2026 .sg-hero__ratingrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.single-game-2026 .sg-hero__rating    { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
body.single-game-2026 .sg-hero__ratingval strong { font-size: 15.5px; color: var(--sg-text); }
body.single-game-2026 .sg-hero__released  { color: var(--sg-text-2); font-size: 13.5px; }
body.single-game-2026 .sg-hero__chips     { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== Chips (Provider / RTP / Vol / Info / Feature) ===== */
body.single-game-2026 .sg-chip {
  display: inline-flex; align-items: center;
  background: var(--sg-card);
  border: 1px solid var(--sg-border-2);
  color: var(--sg-text-2);
  border-radius: 10px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
body.single-game-2026 a.sg-chip:hover {
  border-color: #414767; background: var(--sg-card-2); color: var(--sg-text);
}
body.single-game-2026 .sg-chip--provider {
  background: var(--sg-gradient-accent); border-color: transparent; color: #fff;
}
body.single-game-2026 .sg-chip--rtp {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.30);
  color: #6ee7b7;
}
body.single-game-2026 .sg-chip--vol {
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.30);
  color: #fcd34d;
}
body.single-game-2026 .sg-chip--feat {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.28);
  color: #c4b5fd;
}

/* ===== Generic Buttons (sg-btn 鈥?reused by CTA / Write Review / Post Comment) ===== */
body.single-game-2026 .sg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .08s, opacity .15s, background .15s, border-color .15s, box-shadow .15s;
  font-family: inherit;
}
body.single-game-2026 .sg-btn:hover  { opacity: .94; transform: translateY(-1px); }
body.single-game-2026 .sg-btn:active { transform: translateY(0); }
body.single-game-2026 .sg-btn--primary {
  background: var(--sg-gradient-green);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 2px solid var(--sg-green-2);
  box-shadow: 0 10px 26px -12px rgba(74, 174, 34, 0.75);
}
body.single-game-2026 .sg-btn--ghost {
  background: var(--sg-card-2);
  border-color: var(--sg-border-2);
  color: var(--sg-text);
}
body.single-game-2026 .sg-btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
body.single-game-2026 .sg-btn--lg { padding: 14px 28px; font-size: 15.5px; border-radius: 14px; }
body.single-game-2026 .sg-btn.is-disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }

/* ===== Stars (sg-stars 鈥?rating, gold gradient on :before + mask not needed; just amber color) ===== */
body.single-game-2026 .sg-stars {
  background: linear-gradient(180deg, #ffe380 0%, #f0a500 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  display: inline-block;
  line-height: 1;
}
body.single-game-2026 .sg-stars--sm { font-size: 14px; }
body.single-game-2026 .sg-stars--md { font-size: 17px; letter-spacing: 1.5px; }
body.single-game-2026 .sg-stars--lg { font-size: 22px; letter-spacing: 2.5px; }
body.single-game-2026 .sg-stars--xl { font-size: 28px; letter-spacing: 3px; }
body.single-game-2026 .sg-stars--rateable { cursor: pointer; letter-spacing: 5px; }

/* ===== Block head (title + meta / view-all / countpill) ===== */
body.single-game-2026 .sg-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
}
body.single-game-2026 .sg-block__head--withmeta { margin-bottom: 18px; }
body.single-game-2026 .sg-block__title {
  font-size: 18.5px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--sg-text);
}
body.single-game-2026 .sg-block__title--narrow { font-size: 16px; margin: 0 0 12px; }
body.single-game-2026 .sg-block__title .sg-countpill {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--sg-card-2);
  color: var(--sg-muted);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--sg-border-2);
}
body.single-game-2026 .sg-block__viewall {
  font-size: 13px;
  color: var(--sg-muted);
  text-decoration: none;
  transition: color .15s;
}
body.single-game-2026 .sg-block__viewall:hover { color: var(--sg-accent); }

/* ===== 3.3 Game Specs table + Player's Picks 3 cards ===== */
body.single-game-2026 .sg-specs-wrap {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 18px 22px 20px;
}
body.single-game-2026 .sg-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
body.single-game-2026 .sg-specs tr { border-bottom: 1px dashed var(--sg-border-2); }
body.single-game-2026 .sg-specs tr:last-child { border-bottom: 0; }
body.single-game-2026 .sg-specs th,
body.single-game-2026 .sg-specs td {
  padding: 11px 6px;
  text-align: left;
  vertical-align: middle;
}
body.single-game-2026 .sg-specs th {
  width: 42%;
  color: var(--sg-muted);
  font-weight: 500;
  font-size: 13px;
  padding-left: 0;
}
body.single-game-2026 .sg-specs td {
  color: var(--sg-text);
  font-weight: 600;
  padding-right: 0;
  font-size: 13.8px;
}
body.single-game-2026 .sg-specs td a {
  color: var(--sg-text);
  text-decoration: none;
  border-bottom: 1px dashed var(--sg-border-2);
}
body.single-game-2026 .sg-specs td a:hover { color: #fff; border-color: var(--sg-accent); }

body.single-game-2026 .sg-picks { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--sg-border-2); }
body.single-game-2026 .sg-picks__head { font-size: 13.5px; margin-bottom: 12px; color: var(--sg-text-2); }
body.single-game-2026 .sg-picks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.single-game-2026 .sg-pick {
  display: flex; align-items: center; gap: 10px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 14px;
  padding: 10px 12px;
}
body.single-game-2026 .sg-pick__swatch {
  flex: 0 0 44px; height: 44px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
body.single-game-2026 .sg-pick__name { font-size: 13px; font-weight: 700; }
body.single-game-2026 .sg-pick__sub  { font-size: 12px; color: var(--sg-muted); margin-top: 2px; }

/* ===== 3.4 Mid CTA banner (purple gradient + green demo button) ===== */
body.single-game-2026 .sg-cta {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #2d1b69 40%, #312e81 100%);
  border: 1px solid rgba(124, 58, 237, 0.40);
  border-radius: 18px;
  padding: 20px 24px;
}
body.single-game-2026 .sg-cta__icon { font-size: 24px; text-align: center; }
body.single-game-2026 .sg-cta__title { font-size: 19px; font-weight: 800; margin: 0 0 4px; color: #fff; }
body.single-game-2026 .sg-cta__sub   { margin: 0; color: #c7d2fe; font-size: 13.5px; line-height: 1.65; }

/* ===== 3.5 Table of Contents (7 anchor items) ===== */
body.single-game-2026 .sg-toc {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 16px 20px 18px;
}
body.single-game-2026 .sg-toc__head {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--sg-text-2);
}
body.single-game-2026 .sg-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
body.single-game-2026 .sg-toc__list li { min-width: 0; }
body.single-game-2026 .sg-toc__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--sg-text-2);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.45;
  transition: background .15s, color .15s;
}
body.single-game-2026 .sg-toc__list a:hover {
  background: var(--sg-card-2);
  color: var(--sg-text);
}
body.single-game-2026 .sg-toc__n {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sg-card-2);
  color: var(--sg-muted);
  border: 1px solid var(--sg-border-2);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   REVIEW 鈥?7 numbered sections (S1..S7)
   ========================================================================== */
body.single-game-2026 .sg-review { display: flex; flex-direction: column; gap: 22px; }
body.single-game-2026 .sg-review__sec {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 20px 24px 22px;
}
body.single-game-2026 .sg-review__head {
  display: flex; align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--sg-border-2);
}
body.single-game-2026 .sg-review__num {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sg-gradient-accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 8px 20px -12px rgba(124, 58, 237, 0.70);
}
body.single-game-2026 .sg-review__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--sg-text); }
body.single-game-2026 .sg-review__body p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.78; color: var(--sg-text-2); }
body.single-game-2026 .sg-review__body p:last-child { margin-bottom: 0; }
body.single-game-2026 .sg-subtitle {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--sg-text);
}

/* Illustration placeholders */
body.single-game-2026 .sg-review__grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 14px 0;
}
body.single-game-2026 .sg-review__ill {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  border: 1px solid var(--sg-border-2);
}
body.single-game-2026 .sg-review__ill--wide {
  height: 260px;
  margin: 14px 0;
  width: 100%;
}
body.single-game-2026 .sg-review__illcap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(8, 10, 20, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
body.single-game-2026 .sg-review__cap { font-size: 12.5px; color: var(--sg-muted); margin: -4px 0 0 !important; }

/* Callouts (green / lighter green / amber warning) */
body.single-game-2026 .sg-callout {
  border-radius: 14px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.7;
}
body.single-game-2026 .sg-callout--ok {
  background: rgba(6, 78, 59, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
}
body.single-game-2026 .sg-callout--ok.sg-callout--lite {
  background: rgba(6, 78, 59, 0.18);
  border-color: rgba(16, 185, 129, 0.32);
  color: #86efac;
}
body.single-game-2026 .sg-callout--warn {
  background: rgba(120, 53, 15, 0.30);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

/* Checklist & bullets */
body.single-game-2026 .sg-checklist {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.single-game-2026 .sg-checklist li,
body.single-game-2026 .sg-ul li,
body.single-game-2026 .sg-bullets li {
  font-size: 14px;
  line-height: 1.72;
  color: var(--sg-text-2);
}
body.single-game-2026 .sg-ul      { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
body.single-game-2026 .sg-ul li   { padding-left: 20px; position: relative; }
body.single-game-2026 .sg-ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sg-accent);
  opacity: 0.85;
}
body.single-game-2026 .sg-bullets { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
body.single-game-2026 .sg-bullets li { padding-left: 22px; position: relative; }
body.single-game-2026 .sg-bullets li::before {
  content: '鈼?;
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--sg-accent);
  font-size: 12px;
}

/* S4 鈥?Wild/Scatter 2-up cards */
body.single-game-2026 .sg-review__cards2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body.single-game-2026 .sg-card {
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.single-game-2026 .sg-card--wild    { border-color: rgba(16, 185, 129, 0.32); background: linear-gradient(180deg, rgba(6, 78, 59, 0.25) 0%, var(--sg-card-2) 100%); }
body.single-game-2026 .sg-card--scatter { border-color: rgba(59, 130, 246, 0.34); background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, var(--sg-card-2) 100%); }
body.single-game-2026 .sg-card__icon   { position: relative; }
body.single-game-2026 .sg-card__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}
body.single-game-2026 .sg-card__badge--green { background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); box-shadow: 0 8px 20px -12px rgba(22, 163, 74, 0.70); }
body.single-game-2026 .sg-card__badge--blue  { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); box-shadow: 0 8px 20px -12px rgba(37, 99, 235, 0.70); }
body.single-game-2026 .sg-card__title { font-size: 15px; font-weight: 700; color: var(--sg-text); }
body.single-game-2026 .sg-card__body  { font-size: 13.5px; line-height: 1.72; color: var(--sg-text-2); }
body.single-game-2026 .sg-card__body p { margin: 0; }

/* S6 鈥?Pros/Cons grid */
body.single-game-2026 .sg-pc {
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
  padding: 16px 18px;
}
body.single-game-2026 .sg-pc--pros { border-color: rgba(16, 185, 129, 0.30); }
body.single-game-2026 .sg-pc--cons { border-color: rgba(239, 68, 68, 0.28); }
body.single-game-2026 .sg-pc__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--sg-text);
}
body.single-game-2026 .sg-pc__title--green { color: #86efac; }
body.single-game-2026 .sg-pc__title--red   { color: #fca5a5; }

/* S7 鈥?Verdict (9.2 score badge) */
body.single-game-2026 .sg-verdict {
  position: relative;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(49, 46, 129, 0.20) 100%);
  border: 1px solid rgba(124, 58, 237, 0.40);
  border-radius: 18px;
  padding: 20px 22px 22px;
}
body.single-game-2026 .sg-verdict__badge {
  display: inline-block;
  position: absolute;
  top: 14px; right: 18px;
  background: linear-gradient(135deg, #8b5cf6 0%, #4338ca 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px -12px rgba(139, 92, 246, 0.75);
}
body.single-game-2026 .sg-verdict__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-top: 6px;
}
body.single-game-2026 .sg-verdict__score { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
body.single-game-2026 .sg-verdict__num {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
body.single-game-2026 .sg-verdict__num .sg-muted { background: none; -webkit-text-fill-color: var(--sg-muted); color: var(--sg-muted); font-size: 24px; font-weight: 600; margin-left: 4px; }
body.single-game-2026 .sg-verdict__copy { color: var(--sg-text-2); }
body.single-game-2026 .sg-verdict__copy p  { margin: 0 0 10px; font-size: 14.5px; line-height: 1.78; }
body.single-game-2026 .sg-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-size: 13.5px;
  color: var(--sg-text-2);
}


/* ==========================================================================
   User Rating & Community Vote block (3-col grid)
   ========================================================================== */
body.single-game-2026 .sg-usrating {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 20px 24px 22px;
}
body.single-game-2026 .sg-usrating__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
body.single-game-2026 .sg-usrating__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
body.single-game-2026 .sg-usrating__score {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
}
body.single-game-2026 .sg-usrating__num {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
body.single-game-2026 .sg-usrating__num .sg-muted {
  background: none;
  -webkit-text-fill-color: var(--sg-muted);
  color: var(--sg-muted);
  font-size: 22px;
  font-weight: 600;
  margin-left: 4px;
}

/* Distribution bars (5 stars) */
body.single-game-2026 .sg-ratings { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
body.single-game-2026 .sg-ratings__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
}
body.single-game-2026 .sg-ratings__star { font-size: 13px; color: var(--sg-muted); font-weight: 600; }
body.single-game-2026 .sg-ratings__bar {
  height: 8px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 999px;
  overflow: hidden;
}
body.single-game-2026 .sg-ratings__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: inherit;
}
body.single-game-2026 .sg-ratings__pct {
  font-size: 12.5px;
  color: var(--sg-muted);
  text-align: right;
  font-weight: 600;
}

/* Vote emojis (right column) */
body.single-game-2026 .sg-usrating__vbox {
  padding: 14px 16px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
}
body.single-game-2026 .sg-usrating__vhead { font-size: 14px; color: var(--sg-text); margin-bottom: 4px; }
body.single-game-2026 .sg-usrating__vemoji {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}
body.single-game-2026 .sg-emoji {
  background: transparent;
  border: 1px solid var(--sg-border-2);
  color: var(--sg-text-2);
  border-radius: 12px;
  padding: 10px 6px 8px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .08s;
}
body.single-game-2026 .sg-emoji:hover {
  background: #1f2338;
  border-color: #444a6b;
  transform: translateY(-1px);
}
body.single-game-2026 .sg-emoji span {
  font-size: 11px;
  color: var(--sg-muted);
  line-height: 1.3;
}

/* ==========================================================================
   YMAL 4 cards, Provider banner, Related Articles 3 cards
   ========================================================================== */
body.single-game-2026 .sg-ymal__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
body.single-game-2026 .sg-provider__card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 24px 52px -30px rgba(124, 58, 237, 0.75);
  transition: transform .12s, filter .15s;
}
body.single-game-2026 .sg-provider__card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
body.single-game-2026 .sg-provider__mono {
  width: 72px; height: 72px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-radius: 16px;
}
body.single-game-2026 .sg-provider__title { margin: 0 0 4px; color: #fff; font-size: 18px; font-weight: 800; }
body.single-game-2026 .sg-provider__sub   { margin: 0;  color: #e0e7ff; font-size: 13.5px; line-height: 1.6; opacity: 0.92; }
body.single-game-2026 .sg-provider__cta {
  justify-self: end;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

body.single-game-2026 .sg-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch !important;
}
body.single-game-2026 .sg-articles__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100% !important;
}
body.single-game-2026 .sg-articles .c-news-compact {
  align-items: flex-start !important;
  height: 100% !important;
  flex: 1 1 auto !important;
}
body.single-game-2026 .sg-articles .c-news-compact__thumb {
  width: 120px !important;
  height: 108px !important;
  overflow: hidden !important;
  flex: 0 0 108px !important;
}
body.single-game-2026 .sg-articles .c-news-compact__thumb img {
  width: 120px !important;
  height: 108px !important;
  object-fit: cover !important;
  display: block !important;
}
body.single-game-2026 .sg-articles .c-news-compact__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  gap: 4px !important;
  min-height: 108px !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Comments block (Latest 3 + form)
   ========================================================================== */
body.single-game-2026 .sg-comments {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 20px 24px 24px;
}
body.single-game-2026 .sg-commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.single-game-2026 .sg-comment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 14px 14px 14px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
}
body.single-game-2026 .sg-comment__avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, #64748b 0%, #334155 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}
body.single-game-2026 .sg-comment__body { min-width: 0; }
body.single-game-2026 .sg-comment__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
body.single-game-2026 .sg-comment__author { font-size: 14px; font-weight: 700; color: var(--sg-text); }
body.single-game-2026 .sg-comment__date   { font-size: 12px; color: var(--sg-muted); margin-left: auto; }
body.single-game-2026 .sg-comment__body > p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--sg-text-2);
}
body.single-game-2026 .sg-comment__foot { font-size: 12.5px; }
body.single-game-2026 .sg-comment__reply {
  color: var(--sg-muted);
  text-decoration: none;
  transition: color .15s;
}
body.single-game-2026 .sg-comment__reply:hover { color: var(--sg-accent); }

/* Comment form：虚线卡片包住整张表单，对齐 Leave a Review 截图 */
body.single-game-2026 .sg-commentform {
  margin: 18px 0 0;
  padding: 22px 24px 20px;
  background: transparent;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  box-sizing: border-box;
}
body.single-game-2026 .sg-commentform__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
body.single-game-2026 .sg-commentform__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
body.single-game-2026 .sg-commentform__rate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.single-game-2026 .sg-commentform__ratelabel {
  font-size: 13px;
  color: var(--sg-muted);
  font-weight: 600;
}
body.single-game-2026 .sg-commentform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
/* 已登录时 WP 不输出昵称/邮箱，空 grid 不再占间距 */
body.single-game-2026 .sg-commentform__grid:not(:has(*)) {
  display: none;
  margin: 0;
}
body.single-game-2026 .sg-field { display: block; }
body.single-game-2026 .sg-field__label {
  display: block;
  font-size: 13px;
  color: #a5adc8;
  font-weight: 600;
  margin: 0 0 8px;
}
body.single-game-2026 .sg-field__input {
  width: 100%;
  box-sizing: border-box;
  background: #1a1e32;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--sg-text);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
body.single-game-2026 .sg-field__input:focus {
  outline: none;
  border-color: rgba(124, 92, 252, 0.7);
  background: #161a2c;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.16);
}
body.single-game-2026 .sg-field__input.sg-field__textarea {
  min-height: 140px;
  resize: vertical;
  border-radius: 18px;
  padding: 16px 18px;
  line-height: 1.65;
}
body.single-game-2026 .sg-field__textarea::placeholder,
body.single-game-2026 .sg-field__input::placeholder {
  color: #7a829e;
  opacity: 1;
}
body.single-game-2026 .sg-commentform__actions,
body.single-game-2026 .comment-form .sg-commentform__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
body.single-game-2026 .comment-form.sg-commentform .submit.sg-btn--primary,
body.single-game-2026 .sg-commentform .submit.sg-btn--primary {
  background: linear-gradient(180deg, #8b6cff 0%, #7c5cfc 55%, #6d4ef0 100%);
  color: #fff;
  border: 0;
  border-bottom: 2px solid #5b21b6;
  box-shadow: 0 8px 20px -10px rgba(124, 92, 252, 0.85);
  padding: 11px 22px;
  font-size: 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 42px;
  flex: 0 0 auto;
  margin-left: auto;
}
body.single-game-2026 .comment-form.sg-commentform .submit.sg-btn--primary:hover,
body.single-game-2026 .sg-commentform .submit.sg-btn--primary:hover {
  opacity: 1;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(124, 92, 252, 0.95);
}
body.single-game-2026 .comment-form.sg-commentform .submit.sg-btn--primary:active,
body.single-game-2026 .sg-commentform .submit.sg-btn--primary:active {
  transform: translateY(1px);
  filter: brightness(0.96);
  box-shadow: 0 2px 8px -4px rgba(91, 33, 182, 0.7);
  border-bottom-width: 1px;
}
body.single-game-2026 .sg-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sg-muted);
  cursor: pointer;
  max-width: min(640px, calc(100% - 180px));
}
body.single-game-2026 .sg-check input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: 0 0 15px;
  accent-color: var(--sg-accent);
  cursor: pointer;
}

/* ========== 评论区整体容器（外层确认是 section.sg-comments，不再兼容不存在的 .comments-area）
   注意：以下所有选择器每个逗号分隔项都是完整可独立命中的，杜绝 replace_all 前缀错位错误 ========== */

body.single-game-2026 .sg-comments,
body.single-provider-2026 .sg-comments,
body.single-video-2026 .sg-comments {
  margin: 0;
  padding: 0;
  background: transparent;
}

/* 隐藏 WP 默认评论回复标题文字（我们用自定义的 sg-comments__head 头部替代）*/
body.single-game-2026 .sg-comments .comment-reply-title,
body.single-provider-2026 .sg-comments .comment-reply-title,
body.single-video-2026 .sg-comments .comment-reply-title {
  display: none;
}

/* 评论表单各段落统一 margin/padding 归零，由 sg-commentform__grid 接管布局 */
body.single-game-2026 .sg-comments .comment-notes,
body.single-game-2026 .sg-comments .email-notes,
body.single-game-2026 .sg-comments .logged-in-as,
body.single-game-2026 .sg-comments .must-log-in,
body.single-game-2026 .sg-comments .comment-form-cookies-consent,
body.single-game-2026 .sg-comments p.comment-form-comment,
body.single-game-2026 .sg-comments p.comment-form-author,
body.single-game-2026 .sg-comments p.comment-form-email,
body.single-game-2026 .sg-comments p.comment-form-url,
body.single-provider-2026 .sg-comments .comment-notes,
body.single-provider-2026 .sg-comments .email-notes,
body.single-provider-2026 .sg-comments .logged-in-as,
body.single-provider-2026 .sg-comments .must-log-in,
body.single-provider-2026 .sg-comments .comment-form-cookies-consent,
body.single-provider-2026 .sg-comments p.comment-form-comment,
body.single-provider-2026 .sg-comments p.comment-form-author,
body.single-provider-2026 .sg-comments p.comment-form-email,
body.single-provider-2026 .sg-comments p.comment-form-url,
body.single-video-2026 .sg-comments .comment-notes,
body.single-video-2026 .sg-comments .email-notes,
body.single-video-2026 .sg-comments .logged-in-as,
body.single-video-2026 .sg-comments .must-log-in,
body.single-video-2026 .sg-comments .comment-form-cookies-consent,
body.single-video-2026 .sg-comments p.comment-form-comment,
body.single-video-2026 .sg-comments p.comment-form-author,
body.single-video-2026 .sg-comments p.comment-form-email,
body.single-video-2026 .sg-comments p.comment-form-url {
  margin: 0;
  padding: 0;
}

/* 姓名/邮箱/URL 三字段在非 grid 容器中占满整行 */
body.single-game-2026 .sg-comments p.comment-form-author,
body.single-game-2026 .sg-comments p.comment-form-email,
body.single-game-2026 .sg-comments p.comment-form-url,
body.single-provider-2026 .sg-comments p.comment-form-author,
body.single-provider-2026 .sg-comments p.comment-form-email,
body.single-provider-2026 .sg-comments p.comment-form-url,
body.single-video-2026 .sg-comments p.comment-form-author,
body.single-video-2026 .sg-comments p.comment-form-email,
body.single-video-2026 .sg-comments p.comment-form-url {
  width: 100%;
}

/* 在 sg-commentform__grid 内三字段各占一列，恢复 auto 宽度（grid-template-columns 已等分）*/
body.single-game-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-author,
body.single-game-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-email,
body.single-game-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-url,
body.single-provider-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-author,
body.single-provider-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-email,
body.single-provider-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-url,
body.single-video-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-author,
body.single-video-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-email,
body.single-video-2026 .sg-comments .comment-form .sg-commentform__grid p.comment-form-url {
  width: auto;
}

/* 提交按钮：清除主题默认的 margin/padding，由 sg-commentform__submit 统一控制 */
body.single-game-2026 .sg-comments .form-submit,
body.single-provider-2026 .sg-comments .form-submit,
body.single-video-2026 .sg-comments .form-submit {
  margin: 0 !important;
  padding: 0 !important;
}

/* 必填星号：统一 sg-red 警示色 */
body.single-game-2026 .sg-comments .comment-form-author .required,
body.single-game-2026 .sg-comments .comment-form-email  .required,
body.single-game-2026 .sg-comments .comment-form-comment .required,
body.single-provider-2026 .sg-comments .comment-form-author .required,
body.single-provider-2026 .sg-comments .comment-form-email  .required,
body.single-provider-2026 .sg-comments .comment-form-comment .required,
body.single-video-2026 .sg-comments .comment-form-author .required,
body.single-video-2026 .sg-comments .comment-form-email  .required,
body.single-video-2026 .sg-comments .comment-form-comment .required {
  color: var(--sg-red);
}

/* 隐藏 WP 默认 h2/h3.comments-title（被下面自定义的 sg-reviewstitle/sg-reviewcount 替代）*/
body.single-game-2026 .sg-comments h3.comments-title,
body.single-game-2026 .sg-comments h2.comments-title,
body.single-provider-2026 .sg-comments h3.comments-title,
body.single-provider-2026 .sg-comments h2.comments-title,
body.single-video-2026 .sg-comments h3.comments-title,
body.single-video-2026 .sg-comments h2.comments-title {
  display: none;
}

/* 自定义评论头部大标题：「用户评价」(N) */
body.single-game-2026 .sg-comments .sg-reviewstitle,
body.single-game-2026 .sg-comments .sg-reviewcount,
body.single-provider-2026 .sg-comments .sg-reviewstitle,
body.single-provider-2026 .sg-comments .sg-reviewcount,
body.single-video-2026 .sg-comments .sg-reviewstitle,
body.single-video-2026 .sg-comments .sg-reviewcount {
  color: var(--sg-text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}
body.single-game-2026 .sg-comments .sg-reviewcount,
body.single-provider-2026 .sg-comments .sg-reviewcount,
body.single-video-2026 .sg-comments .sg-reviewcount {
  color: var(--sg-accent);
  margin-left: 6px;
}

/* 自定义 sg-comments__head 头部下沿间距（紧接评论列表） */
body.single-game-2026 .sg-comments .sg-comments__head,
body.single-provider-2026 .sg-comments .sg-comments__head,
body.single-video-2026 .sg-comments .sg-comments__head {
  padding: 0 0 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid transparent;
}

/* 评论列表根容器：清除项目符号，顶部加 1px 实线分隔标题与列表 */
body.single-game-2026 .sg-comments ol.commentlist,
body.single-game-2026 .sg-comments ul.commentlist,
body.single-provider-2026 .sg-comments ol.commentlist,
body.single-provider-2026 .sg-comments ul.commentlist,
body.single-video-2026 .sg-comments ol.commentlist,
body.single-video-2026 .sg-comments ul.commentlist {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid var(--sg-border);
}

/* ============ 原生评论卡片：左 48 圆头像 + 右主内容（用户名行 + 时间右对齐 + 正文 + 左下回复） ============ */
/* 注意：此处完全不依赖自定义 callback/DOM，严格使用 WP Walker_Comment 默认输出的类名，
   防止未来切主题或插件影响结构时样式全部失效 */

/* 每条评论项：上下 padding + 下沿虚线分隔（1px dashed rgba(255,255,255,0.07)）*/
body.single-game-2026 .sg-comments ol.commentlist > li.comment,
body.single-game-2026 .sg-comments ul.commentlist > li.comment,
body.single-provider-2026 .sg-comments ol.commentlist > li.comment,
body.single-provider-2026 .sg-comments ul.commentlist > li.comment,
body.single-video-2026 .sg-comments ol.commentlist > li.comment,
body.single-video-2026 .sg-comments ul.commentlist > li.comment {
  padding: 18px 0 16px;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
  list-style: none;
  margin: 0;
}

/* comment-body：左边预留 62px 头像空位（48头像宽 + 14间距），相对定位方便头像 absolute 飞过去 */
body.single-game-2026 .sg-comments li.comment > article.comment-body,
body.single-provider-2026 .sg-comments li.comment > article.comment-body,
body.single-video-2026 .sg-comments li.comment > article.comment-body {
  position: relative;
  padding: 0 0 0 62px;
  min-width: 0;
}

/* 头像本体：绝对定位到左边空位（top:2 与用户名行对齐），48 圆 + 边框阴影
   注意：WP 原生结构里 img 和 fn+says 在同一个 .vcard 里，不能把 vcard 整体 grid 到头像列，
   否则 fn+says 也会被拖进 48px 窄列导致完全显示不出用户名文字 */
body.single-game-2026 .sg-comments .comment-author img.avatar,
body.single-provider-2026 .sg-comments .comment-author img.avatar,
body.single-video-2026 .sg-comments .comment-author img.avatar {
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: block !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 20px -12px rgba(0,0,0,0.45);
  object-fit: cover;
  z-index: 3;
  /* 覆盖原生 height/width 属性 */
  max-width: 48px !important;
  max-height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
}

/* vcard 容器：恢复正常流式，去掉相对定位，不参与头像布局 */
body.single-game-2026 .sg-comments .comment-author.vcard,
body.single-provider-2026 .sg-comments .comment-author.vcard,
body.single-video-2026 .sg-comments .comment-author.vcard {
  display: inline;
  margin: 0;
  line-height: 1.3;
}

/* 旧版 vcard::before 渐变色已废弃（首字 SVG 直接通过 data:image/svg+xml 替换了 img src），
   这里强制不显示，防止其他插件 fallback 伪元素与 SVG 叠在一起 */
body.single-game-2026 .sg-comments .comment-author.vcard::before,
body.single-provider-2026 .sg-comments .comment-author.vcard::before,
body.single-video-2026 .sg-comments .comment-author.vcard::before {
  content: none;
}

/* footer.comment-meta：弹性布局，左右两端对齐，左=用户名+说:+五星，右=时间戳 */
body.single-game-2026 .sg-comments footer.comment-meta,
body.single-provider-2026 .sg-comments footer.comment-meta,
body.single-video-2026 .sg-comments footer.comment-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 14px;
  row-gap: 4px;
  flex-wrap: wrap;
  margin: 0 0 4px;
  padding: 2px 0 0;
  min-width: 0;
}
/* 取消 WP 默认 footer 底部分割线边框 */
body.single-game-2026 .sg-comments footer.comment-meta,
body.single-provider-2026 .sg-comments footer.comment-meta,
body.single-video-2026 .sg-comments footer.comment-meta {
  border: 0;
  padding-bottom: 0;
}

/* 用户名 fn：与五星同行，加粗 14.5 sg-text 白字 */
body.single-game-2026 .sg-comments .fn,
body.single-game-2026 .sg-comments .comment-author .fn,
body.single-provider-2026 .sg-comments .fn,
body.single-provider-2026 .sg-comments .comment-author .fn,
body.single-video-2026 .sg-comments .fn,
body.single-video-2026 .sg-comments .comment-author .fn {
  color: var(--sg-text);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  font-style: normal;
  display: inline;
}
body.single-game-2026 .sg-comments .fn a,
body.single-provider-2026 .sg-comments .fn a,
body.single-video-2026 .sg-comments .fn a {
  color: inherit;
  text-decoration: none;
}

/* 「说：」弱化颜色小字号 12.5 muted，与参考图显示一致 */
body.single-game-2026 .sg-comments .says,
body.single-provider-2026 .sg-comments .says,
body.single-video-2026 .sg-comments .says {
  display: inline-block;
  margin-left: 6px;
  color: var(--sg-muted);
  font-size: 12.5px;
  font-weight: 500;
  vertical-align: baseline;
}

/* 真实评分五星 SVG：仅当 sg_rating(1-5) meta 真实存在时才输出
   没数据时连这个 span 都不渲染，绝不画空星占位/伪造评分 */
body.single-game-2026 .sg-comments .sg-review__stars,
body.single-provider-2026 .sg-comments .sg-review__stars,
body.single-video-2026 .sg-comments .sg-review__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  vertical-align: -2px;
}
body.single-game-2026 .sg-comments .sg-review__star,
body.single-provider-2026 .sg-comments .sg-review__star,
body.single-video-2026 .sg-comments .sg-review__star {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* 时间戳：右对齐到右上角（与第二张参考图一致），12.5 muted；flex:0 0 auto 防止被压缩换行 */
body.single-game-2026 .sg-comments div.comment-metadata,
body.single-provider-2026 .sg-comments div.comment-metadata,
body.single-video-2026 .sg-comments div.comment-metadata {
  flex: 0 0 auto;
  padding-top: 2px;
  white-space: nowrap;
}
body.single-game-2026 .sg-comments div.comment-metadata a,
body.single-game-2026 .sg-comments div.comment-metadata time,
body.single-provider-2026 .sg-comments div.comment-metadata a,
body.single-provider-2026 .sg-comments div.comment-metadata time,
body.single-video-2026 .sg-comments div.comment-metadata a,
body.single-video-2026 .sg-comments div.comment-metadata time {
  color: var(--sg-muted);
  font-size: 12.5px;
  text-decoration: none;
}
body.single-game-2026 .sg-comments div.comment-metadata .edit-link,
body.single-provider-2026 .sg-comments div.comment-metadata .edit-link,
body.single-video-2026 .sg-comments div.comment-metadata .edit-link {
  margin-left: 6px;
}
body.single-game-2026 .sg-comments div.comment-metadata .edit-link a,
body.single-provider-2026 .sg-comments div.comment-metadata .edit-link a,
body.single-video-2026 .sg-comments div.comment-metadata .edit-link a {
  color: var(--sg-muted);
  font-size: 12px;
}
body.single-game-2026 .sg-comments div.comment-metadata a:hover,
body.single-provider-2026 .sg-comments div.comment-metadata a:hover,
body.single-video-2026 .sg-comments div.comment-metadata a:hover {
  color: var(--sg-text);
}

/* 正文区：14px 1.75 行距，sg-text-2 颜色，与参考图正文间距一致 */
body.single-game-2026 .sg-comments div.comment-content,
body.single-provider-2026 .sg-comments div.comment-content,
body.single-video-2026 .sg-comments div.comment-content {
  color: var(--sg-text-2);
  font-size: 14px;
  line-height: 1.75;
  margin: 2px 0 4px;
  min-width: 0;
}
body.single-game-2026 .sg-comments div.comment-content p,
body.single-provider-2026 .sg-comments div.comment-content p,
body.single-video-2026 .sg-comments div.comment-content p {
  margin: 0;
}

/* 回复链接：左下 12.5px muted 弱化，hover 变 accent，与参考图左下"回复"按钮一致 */
body.single-game-2026 .sg-comments div.reply,
body.single-provider-2026 .sg-comments div.reply,
body.single-video-2026 .sg-comments div.reply {
  margin-top: 2px;
  padding: 0;
}
body.single-game-2026 .sg-comments a.comment-reply-link,
body.single-game-2026 .sg-comments a.comment-reply-login,
body.single-provider-2026 .sg-comments a.comment-reply-link,
body.single-provider-2026 .sg-comments a.comment-reply-login,
body.single-video-2026 .sg-comments a.comment-reply-link,
body.single-video-2026 .sg-comments a.comment-reply-login {
  color: var(--sg-muted);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 0;
}
body.single-game-2026 .sg-comments a.comment-reply-link:hover,
body.single-provider-2026 .sg-comments a.comment-reply-link:hover,
body.single-video-2026 .sg-comments a.comment-reply-link:hover {
  color: var(--sg-accent);
}

/* 游戏详情评论 UI：覆盖上方 transparent / 虚线平铺，改成区块卡片 + 独立评论卡。
   只改 body.single-game-2026，厂商/视频页仍走上面的扁平列表。
   选择器对齐 WP 原生 ol.commentlist / li.comment / article.comment-body，不依赖死 class。 */
body.single-game-2026 .sg-comments {
  margin: 0;
  padding: 20px 24px 24px;
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  box-sizing: border-box;
}
body.single-game-2026 .sg-comments .sg-comments__head {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 0 0 14px;
  margin: 0 0 16px;
  border-bottom: 1px dashed var(--sg-border-2);
}
/* WP 默认 comments.php 输出 h3#comments「《标题》有 N 条评论」，已由 sg-comments__head 替代 */
body.single-game-2026 .sg-comments h3#comments {
  display: none;
}
/* 评论不足一页时导航是空壳，去掉占位 */
body.single-game-2026 .sg-comments .navigation:not(:has(a)) {
  display: none;
}
body.single-game-2026 .sg-comments ol.commentlist,
body.single-game-2026 .sg-comments ul.commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 顶层评论做成独立深色卡片，不再用条目之间的虚线分隔 */
body.single-game-2026 .sg-comments ol.commentlist > li.comment,
body.single-game-2026 .sg-comments ul.commentlist > li.comment {
  padding: 16px 16px 14px;
  margin: 0;
  list-style: none;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  border-radius: 16px;
  border-bottom: 1px solid var(--sg-border-2);
  box-sizing: border-box;
}
body.single-game-2026 .sg-comments li.comment > article.comment-body {
  position: relative;
  padding: 0 0 0 62px;
  min-width: 0;
}
/* 原生「说道：」与卡片 UI 重复，隐藏后只保留用户名 */
body.single-game-2026 .sg-comments .says {
  display: none;
}
body.single-game-2026 .sg-comments footer.comment-meta {
  margin: 0 0 8px;
  padding: 2px 0 0;
}
body.single-game-2026 .sg-comments div.comment-content {
  margin: 0 0 8px;
}
/* 回复做成小胶囊，避免纯文字贴在正文下面看不清 */
body.single-game-2026 .sg-comments div.reply {
  margin-top: 2px;
  padding: 0;
}
body.single-game-2026 .sg-comments a.comment-reply-link,
body.single-game-2026 .sg-comments a.comment-reply-login {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 92, 252, 0.12);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .15s, color .15s;
}
body.single-game-2026 .sg-comments a.comment-reply-link:hover,
body.single-game-2026 .sg-comments a.comment-reply-login:hover {
  background: rgba(124, 92, 252, 0.22);
  color: #fff;
}
/* 子回复相对父评缩进，并用更暗的内嵌卡片区分层级 */
body.single-game-2026 .sg-comments ul.children {
  list-style: none;
  margin: 12px 0 0 54px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px dashed rgba(148, 163, 184, 0.22);
  padding-left: 12px;
}
body.single-game-2026 .sg-comments ul.children > li.comment {
  padding: 12px 12px 10px;
  margin: 0;
  list-style: none;
  background: rgba(11, 13, 22, 0.42);
  border: 1px solid var(--sg-border);
  border-radius: 14px;
  box-sizing: border-box;
}
body.single-game-2026 .sg-comments ul.children li.comment > article.comment-body {
  padding-left: 48px;
}
body.single-game-2026 .sg-comments ul.children .comment-author img.avatar {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  top: 1px !important;
}
body.single-game-2026 .sg-comments .comment-awaiting-moderation {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: #fbbf24;
}


/* ==========================================================================
   Footer (4 columns, Chinese per reference image)
   ========================================================================== */
body.single-game-2026 .sg-footer {
  background: var(--sg-card);
  border: 1px solid var(--sg-border);
  border-radius: 20px;
  padding: 24px 26px 20px;
}
body.single-game-2026 .sg-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--sg-border-2);
}
body.single-game-2026 .sg-footer__title {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--sg-text);
  letter-spacing: 0.01em;
}
body.single-game-2026 .sg-footer__lede {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--sg-text-2);
  margin: 0 0 10px;
}
body.single-game-2026 .sg-footer__note {
  font-size: 12.5px;
  color: var(--sg-muted);
  margin: 0;
  line-height: 1.65;
}
body.single-game-2026 .sg-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.single-game-2026 .sg-footer__links a {
  font-size: 13px;
  color: var(--sg-text-2);
  text-decoration: none;
  transition: color .15s;
}
body.single-game-2026 .sg-footer__links a:hover { color: var(--sg-text); }

body.single-game-2026 .sg-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  flex-wrap: wrap;
}
body.single-game-2026 .sg-footer__copy {
  font-size: 12.5px;
  color: var(--sg-muted);
}
body.single-game-2026 .sg-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.single-game-2026 .sg-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  color: var(--sg-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .15s, border-color .15s, background .15s;
}
body.single-game-2026 .sg-social:hover { color: #fff; border-color: #474d73; background: #1b2039; }

/* ==========================================================================
   Demo Modal (preserved 1:1 from fully verified implementation)
   All rules scoped under body.single-game-2026, never leak outside.
   ========================================================================== */
body.single-game-2026 .sg-modal,
html.sg-modal--open { /* scroll lock */ }
html.sg-modal--open,
html.sg-modal--open body { overflow: hidden !important; }
body.single-game-2026 .sg-modal {
  position: fixed; inset: 0;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
body.single-game-2026 .sg-modal[hidden] { display: none; }
body.single-game-2026 .sg-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 6, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
body.single-game-2026 .sg-modal__wrap {
  position: relative;
  width: min(1200px, 96vw);
  max-height: calc(100vh - 56px);
  display: flex;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(.2,.8,.2,1), opacity 0.22s ease;
  z-index: 2;
}
body.single-game-2026 .sg-modal.is-open .sg-modal__backdrop { opacity: 1; }
body.single-game-2026 .sg-modal.is-open .sg-modal__wrap { opacity: 1; transform: translateY(0) scale(1); }
body.single-game-2026 .sg-modal__card {
  width: 100%;
  max-height: inherit;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #12152a 0%, #0d0f1e 100%);
  border: 1px solid rgba(124, 58, 237, 0.40);
  border-radius: 20px;
  box-shadow: 0 40px 120px -40px rgba(124, 58, 237, 0.80),
              0 20px 50px -20px rgba(0, 0, 0, 0.80);
  overflow: hidden;
}
body.single-game-2026 .sg-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--sg-border-2);
  flex-wrap: wrap;
}
body.single-game-2026 .sg-modal__title  { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.single-game-2026 .sg-modal__kicker { font-size: 12px; color: #a78bfa; font-weight: 700; letter-spacing: 0.06em; }
body.single-game-2026 .sg-modal__gamename { margin: 0; font-size: 18px; font-weight: 800; color: #fff; }
body.single-game-2026 .sg-modal__actions { display: inline-flex; align-items: center; gap: 10px; }
body.single-game-2026 .sg-modal__btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
body.single-game-2026 .sg-modal__btn--ghost {
  background: #1a1e34;
  border: 1px solid var(--sg-border-2);
  color: #e0e7ff;
}
body.single-game-2026 .sg-modal__btn--icon {
  width: 36px; height: 36px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
body.single-game-2026 .sg-modal__btn--ghost:hover { background: #222642; color: #fff; }
body.single-game-2026 .sg-modal__close {
  width: 36px; height: 36px;
  border-radius: 10px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1a1e34;
  border: 1px solid var(--sg-border-2);
  color: #cbd5e1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
body.single-game-2026 .sg-modal__close:hover { background: #2a2f4e; color: #fff; }

body.single-game-2026 #sg-demo-iframe:fullscreen {
  width: 100% !important;
  height: 100% !important;
  background: #000;
}
body.single-game-2026 #sg-demo-iframe:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  background: #000;
}
body.single-game-2026 #sg-demo-iframe:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
  background: #000;
}
body.single-game-2026 #sg-demo-iframe:-ms-fullscreen {
  width: 100% !important;
  height: 100% !important;
  background: #000;
}

/* 移动端试玩弹层已铺满屏幕；全屏打在 iframe 上后工具栏消失，无法退回窗口，因此隐藏入口 */
@media (max-width: 960px), (hover: none) and (pointer: coarse) {
  body.single-game-2026 #sg-demo-fullscreen {
    display: none;
  }
}

body.single-game-2026 .sg-modal__frame {
  flex: 1 1 auto;
  display: flex;
  background: #000;
  min-height: 600px;
  max-height: calc(100vh - 210px);
  overflow: auto;
}
body.single-game-2026 .sg-modal__frame iframe {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  border: 0;
  background: #000;
}
body.single-game-2026 .sg-modal__foot {
  padding: 10px 18px 12px;
  border-top: 1px solid var(--sg-border-2);
}
body.single-game-2026 .sg-modal__disclaim {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sg-muted);
}

/* ==========================================================================
   Responsive breakpoints (1100 / 960 / 640)
   ========================================================================== */
@media (max-width: 1100px) {
  body.single-game-2026 .sg-inner { max-width: 980px; padding: 0 14px; }
  body.single-game-2026 .sg-hero  { grid-template-columns: minmax(0, 1fr) 300px; }
  body.single-game-2026 .sg-hero__playbtn { width: min(82%, 360px); min-width: min(82%, 360px); font-size: 24px; padding: 18px 22px; border-radius: 14px; }
  body.single-game-2026 .sg-hero__playbtn > svg { width: 24px; height: 24px; }
  body.single-game-2026 .sg-usrating__grid { grid-template-columns: 200px minmax(0, 1fr) 320px; gap: 18px; }
  body.single-game-2026 .sg-footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 18px; }
  body.single-game-2026 .sg-ymal__grid { grid-template-columns: repeat(2, 1fr); }
  body.single-game-2026 .sg-articles__grid { grid-template-columns: repeat(2, 1fr); }
  body.single-game-2026 .sg-articles__grid > *:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  body.single-game-2026 .sg-inner { padding: 0 12px; gap: 20px; }
  body.single-game-2026 .sg-hero  { grid-template-columns: minmax(0, 1fr); }
  body.single-game-2026 .sg-hero__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body.single-game-2026 .sg-ad--side300 + .sg-ad--side300 { margin-top: 0; }
  body.single-game-2026 .sg-hero__playbtn { top: 58%; width: min(80%, 420px); min-width: min(80%, 420px); font-size: 26px; padding: 20px 26px; }
  body.single-game-2026 .sg-cta { grid-template-columns: 36px minmax(0, 1fr); }
  body.single-game-2026 .sg-cta__action { grid-column: 1 / -1; justify-self: stretch; }
  body.single-game-2026 .sg-cta__action .sg-btn { width: 100%; }
  body.single-game-2026 .sg-toc__list { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-picks__grid { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-review__grid2,
  body.single-game-2026 .sg-review__cards2 { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-usrating__grid { grid-template-columns: 1fr 1fr; }
  body.single-game-2026 .sg-usrating__vbox { grid-column: 1 / -1; }
  body.single-game-2026 .sg-verdict__row { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
  body.single-game-2026 .sg-provider__card { grid-template-columns: 64px minmax(0, 1fr); }
  body.single-game-2026 .sg-provider__cta { grid-column: 1 / -1; justify-self: start; }
  body.single-game-2026 .sg-footer__cols { grid-template-columns: repeat(2, 1fr); }
  body.single-game-2026 .sg-modal__frame { min-height: 480px; }
}
@media (max-width: 640px) {
  body.single-game-2026 .sg-wrap  { padding: 14px 0 36px; }
  body.single-game-2026 .sg-inner { padding: 0 12px; gap: 18px; }
  body.single-game-2026 .sg-hero__cover { aspect-ratio: 4 / 3; border-radius: 16px; }
  body.single-game-2026 .sg-hero__playbtn {
    top: 56%;
    width: 84%;
    min-width: 84%;
    font-size: 22px;
    padding: 16px 22px;
    border-radius: 12px;
    gap: 10px;
    border-bottom-width: 2px;
  }
  body.single-game-2026 .sg-hero__playbtn > svg { width: 22px; height: 22px; margin-left: -2px; }
  body.single-game-2026 .sg-hero__title { font-size: 24px; }
  body.single-game-2026 .sg-hero__subtitle { display: block; margin: 6px 0 0 0; font-size: 15px; }
  body.single-game-2026 .sg-hero__ratingrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  body.single-game-2026 .sg-hero__side { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-specs-wrap,
  body.single-game-2026 .sg-cta,
  body.single-game-2026 .sg-toc,
  body.single-game-2026 .sg-review__sec,
  body.single-game-2026 .sg-usrating,
  body.single-game-2026 .sg-comments,
  body.single-game-2026 .sg-footer { border-radius: 16px; padding: 16px 16px 18px; }
  body.single-game-2026 .sg-specs th { width: 46%; font-size: 12.5px; }
  body.single-game-2026 .sg-specs td { font-size: 13px; }
  body.single-game-2026 .sg-review__ill--wide { height: 200px; }
  body.single-game-2026 .sg-verdict__badge { position: static; margin-bottom: 10px; }
  body.single-game-2026 .sg-verdict__row { grid-template-columns: 1fr; gap: 14px; }
  body.single-game-2026 .sg-verdict__num { font-size: 48px; }
  body.single-game-2026 .sg-usrating__grid { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-usrating__score { align-items: center; text-align: center; }
  body.single-game-2026 .sg-comment { grid-template-columns: 1fr; gap: 10px; }
  body.single-game-2026 .sg-comment__avatar { width: 36px; height: 36px; }
  body.single-game-2026 .sg-comments ol.commentlist > li.comment,
  body.single-game-2026 .sg-comments ul.commentlist > li.comment {
    padding: 14px 12px 12px;
    border-radius: 14px;
  }
  body.single-game-2026 .sg-comments li.comment > article.comment-body {
    padding-left: 52px;
  }
  body.single-game-2026 .sg-comments .comment-author img.avatar {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  body.single-game-2026 .sg-comments ul.children {
    margin-left: 12px;
    padding-left: 10px;
  }
  body.single-game-2026 .sg-comments ul.children li.comment > article.comment-body {
    padding-left: 44px;
  }
  body.single-game-2026 .sg-commentform {
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
  body.single-game-2026 .sg-commentform__grid { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-commentform__actions,
  body.single-game-2026 .comment-form .sg-commentform__actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.single-game-2026 .sg-check { max-width: 100%; }
  body.single-game-2026 .comment-form.sg-commentform .submit.sg-btn--primary,
  body.single-game-2026 .sg-commentform .submit.sg-btn--primary {
    width: 100%;
    margin-left: 0;
  }
  body.single-game-2026 .sg-ymal__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body.single-game-2026 .sg-articles__grid { grid-template-columns: 1fr; }
  body.single-game-2026 .sg-footer__cols { grid-template-columns: 1fr; gap: 16px; padding-bottom: 14px; }
  body.single-game-2026 .sg-footer__base { flex-direction: column; align-items: flex-start; gap: 12px; }
  body.single-game-2026 .sg-modal__wrap { max-height: 100vh; width: 100vw; border-radius: 0; }
  body.single-game-2026 .sg-modal__card { border-radius: 0; max-height: 100vh; }
  body.single-game-2026 .sg-modal__frame { min-height: 0; flex: 1 1 auto; max-height: none; }
}

/* ==========================================================================
   News Detail (single-news-2026) — 16 sub-modules, 100% prefix isolation
   ========================================================================== */
body.single-news-2026 {
  --sg-nd-card: #12101a;
  --sg-nd-card-2: #171422;
  --sg-nd-border: #262237;
  --sg-nd-border-2: #3a344f;
  --sg-nd-text: #efeafb;
  --sg-nd-text-2: #b7add1;
  --sg-nd-text-3: #7e739c;
  --sg-nd-chip: linear-gradient(135deg, #3b2a6b 0%, #5135a0 100%);
  --sg-nd-chip-soft: rgba(110, 85, 220, 0.12);
  --sg-nd-gradient: linear-gradient(135deg, #7b33f7 0%, #ff3db0 100%);
  --sg-nd-radius: 16px;
  --sg-nd-radius-sm: 12px;
  --sg-nd-radius-lg: 20px;
  --sg-card:   #15142a;
  --sg-card-2: #1b1833;
  --sg-border:    rgba(148, 163, 184, 0.10);
  --sg-border-2:  rgba(187, 175, 230, 0.18);
  --sg-text:   #efeafb;
  --sg-text-2: #cfd5ea;
  --sg-muted:  #8d95b3;
  --sg-muted-2:#6a7291;
  --sg-accent: #7c3aed;
  --sg-accent-2:#5b21b6;
  --sg-green:  #50bb30;
  --sg-green-2:#2f7712;
  --sg-red:    #ef4444;
  --sg-amber:  #f59e0b;
  --sg-gradient-accent: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  background: #0a0812;
  color: var(--sg-nd-text);
}
body.single-news-2026 #colophon,
body.single-news-2026 .site-footer { display: block; }
body.single-news-2026 .c-ad-slot {
  background: var(--sg-nd-card);
  border: 1px dashed var(--sg-nd-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  overflow: hidden;
}
body.single-news-2026 .c-ad-slot--empty { display: none; }

body.single-news-2026 .sg-nd {
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 40px;
  padding: 0 18px;
  box-sizing: border-box;
  color: var(--sg-nd-text);
  font-size: 16px;
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}
body.single-news-2026 .sg-nd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 28px;
  align-items: start;
}
body.single-news-2026 .sg-nd__rail-left {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
  gap: 14px 22px;
  margin-bottom: 6px;
}
body.single-news-2026 .sg-nd__rail-right {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.single-news-2026 .sg-share { flex-direction: row; }
body.single-news-2026 .sg-nd__main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
body.single-news-2026 .sg-nd-section { margin: 0; padding: 0; }
body.single-news-2026 .sg-nd-section--ad { display: flex; justify-content: center; }
body.single-news-2026 .sg-nd-section--ad-top,
body.single-news-2026 .sg-nd-section--ad-bottom { margin-bottom: 6px; }

/* Breadcrumb */
body.single-news-2026 .sg-breadcrumb { margin: 0; padding: 0; }
body.single-news-2026 .sg-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 12.5px;
  color: var(--sg-nd-text-3);
}
body.single-news-2026 .sg-breadcrumb__item { display: inline-flex; align-items: center; }
body.single-news-2026 .sg-breadcrumb a { color: var(--sg-nd-text-2); text-decoration: none; }
body.single-news-2026 .sg-breadcrumb a:hover { color: #c5b1ff; }
body.single-news-2026 .sg-breadcrumb__sep { color: var(--sg-nd-border-2); padding: 0 4px; }
body.single-news-2026 .sg-breadcrumb__item--current { color: var(--sg-nd-text); }

/* Hero */
body.single-news-2026 .sg-news-hero {
  background: linear-gradient(180deg, rgba(79,47,150,0.10) 0%, rgba(123,51,247,0.04) 100%), var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius-lg);
  padding: 28px 30px 26px;
}
body.single-news-2026 .sg-news-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
body.single-news-2026 .sg-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border: 1px solid var(--sg-nd-border-2);
}
body.single-news-2026 .sg-chip--source {
  background: var(--sg-nd-chip);
  border-color: rgba(123, 51, 247, 0.5);
  color: #fff;
}
body.single-news-2026 .sg-chip--sponsor {
  background: var(--sg-nd-chip-soft);
  color: #c5b1ff;
  border-color: rgba(123, 51, 247, 0.3);
}
body.single-news-2026 .sg-news-hero__title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--sg-nd-text);
  letter-spacing: -0.01em;
}
body.single-news-2026 .sg-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--sg-nd-text-2);
}
body.single-news-2026 .sg-news-meta a { color: #c5b1ff; text-decoration: none; }
body.single-news-2026 .sg-news-meta a:hover { color: #fff; }
body.single-news-2026 .sg-news-meta__dot { color: var(--sg-nd-border-2); }
body.single-news-2026 .sg-news-hero__cover {
  margin: 22px 0 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sg-nd-border);
  background: var(--sg-nd-card-2);
}
body.single-news-2026 .sg-news-hero__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Content (prose) */
body.single-news-2026 .sg-nd-content {
  background: var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius-lg);
  padding: 28px 30px;
  min-width: 0;
}
body.single-news-2026 .sg-content h1,
body.single-news-2026 .sg-content h2,
body.single-news-2026 .sg-content h3,
body.single-news-2026 .sg-content h4 {
  color: var(--sg-nd-text);
  font-weight: 800;
  letter-spacing: -0.005em;
  scroll-margin-top: 96px;
}
body.single-news-2026 .sg-content h2 { font-size: 22px; margin: 32px 0 14px; }
body.single-news-2026 .sg-content h3 { font-size: 18px; margin: 26px 0 12px; }
body.single-news-2026 .sg-content p,
body.single-news-2026 .sg-content li { font-size: 15.5px; line-height: 1.75; color: #d6cff0; }
body.single-news-2026 .sg-content a { color: #b38dff; text-decoration: underline; text-underline-offset: 3px; }
body.single-news-2026 .sg-content img,
body.single-news-2026 .sg-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--sg-nd-border);
  display: block;
  margin: 18px auto;
}
body.single-news-2026 .sg-content blockquote {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid #7b33f7;
  background: rgba(123, 51, 247, 0.06);
  color: var(--sg-nd-text-2);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}
body.single-news-2026 .sg-content code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13.5px;
}
body.single-news-2026 .sg-content pre {
  background: #0e0c17;
  border: 1px solid var(--sg-nd-border);
  padding: 14px 18px;
  border-radius: 10px;
  overflow-x: auto;
}

/* TOC */
body.single-news-2026 .sg-toc {
  background: var(--sg-nd-card-2);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius);
  padding: 14px 18px 16px;
  margin: 0 0 24px;
}
body.single-news-2026 .sg-toc__toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  padding: 4px 2px;
  font-size: 14px;
  color: var(--sg-nd-text);
  cursor: pointer;
}
body.single-news-2026 .sg-toc__toggle strong { font-size: 14.5px; font-weight: 800; }
body.single-news-2026 .sg-toc__list { list-style: none; padding: 8px 0 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
body.single-news-2026 .sg-toc__item a {
  display: block;
  color: var(--sg-nd-text-2);
  text-decoration: none;
  font-size: 13.5px;
  padding: 6px 10px;
  border-radius: 8px;
}
body.single-news-2026 .sg-toc__item a:hover { background: rgba(123, 51, 247, 0.08); color: #fff; }
body.single-news-2026 .sg-toc__item--l3 { padding-left: 18px; }
body.single-news-2026 .sg-toc__item--l3 a { font-size: 13px; color: var(--sg-nd-text-3); }

/* Specs table */
body.single-news-2026 .sg-specs--news {
  margin: 0 0 24px;
  padding: 0;
  background: var(--sg-nd-card-2);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius);
  overflow: hidden;
}
body.single-news-2026 .sg-specs__caption {
  font-size: 14px;
  font-weight: 800;
  padding: 12px 18px;
  border-bottom: 1px solid var(--sg-nd-border);
  background: rgba(123, 51, 247, 0.06);
  color: #fff;
}
body.single-news-2026 .sg-specs__table { width: 100%; border-collapse: collapse; }
body.single-news-2026 .sg-specs__table th,
body.single-news-2026 .sg-specs__table td {
  padding: 10px 18px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--sg-nd-border);
}
body.single-news-2026 .sg-specs__table th { color: var(--sg-nd-text-3); font-weight: 600; width: 38%; text-transform: uppercase; letter-spacing: 0.03em; }
body.single-news-2026 .sg-specs__table td { color: var(--sg-nd-text); font-weight: 700; }
body.single-news-2026 .sg-specs__table tr:last-child th,
body.single-news-2026 .sg-specs__table tr:last-child td { border-bottom: 0; }

/* Takeaways */
body.single-news-2026 .sg-takeaways {
  background: rgba(123, 51, 247, 0.08);
  border: 1px solid rgba(123, 51, 247, 0.3);
  border-radius: var(--sg-nd-radius);
  padding: 18px 20px 18px;
  margin: 0 0 24px;
}
body.single-news-2026 .sg-takeaways__head { margin: 0 0 12px; }
body.single-news-2026 .sg-takeaways__title { margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
body.single-news-2026 .sg-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
body.single-news-2026 .sg-checklist--takeaways .sg-checklist__item {
  position: relative;
  padding-left: 26px;
  color: #e6dfff;
  font-size: 14.5px;
  line-height: 1.6;
}
body.single-news-2026 .sg-checklist--takeaways .sg-checklist__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 19px;
  text-align: center;
  border-radius: 6px;
  background: var(--sg-nd-gradient);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

/* Game CTA card (结尾) */
body.single-news-2026 .sg-news-gamecta {
  background: var(--sg-nd-card-2);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius);
  padding: 18px;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.single-news-2026 .sg-news-gamecta__cta { display: flex; justify-content: flex-end; }
body.single-news-2026 .sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: transform .12s ease, filter .12s ease;
}
body.single-news-2026 .sg-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
body.single-news-2026 .sg-btn--sm { padding: 8px 14px; font-size: 13px; }
body.single-news-2026 .sg-btn--primary {
  background: var(--sg-nd-gradient);
  color: #fff;
  border-color: rgba(123, 51, 247, 0.5);
}
body.single-news-2026 .sg-btn--ghost {
  background: transparent;
  color: #c5b1ff;
  border-color: var(--sg-nd-border-2);
}

/* Share */
body.single-news-2026 .sg-share {
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  background: var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: 999px;
  padding: 10px 8px;
  width: fit-content;
}
body.single-news-2026 .sg-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sg-nd-border);
  color: var(--sg-nd-text-2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 0;
}
body.single-news-2026 .sg-share__btn:hover { color: #fff; background: rgba(123, 51, 247, 0.12); border-color: rgba(123, 51, 247, 0.5); }
body.single-news-2026 .sg-share__btn--copy.is-done { color: #22d38b; border-color: rgba(34, 211, 139, 0.5); background: rgba(34, 211, 139, 0.08); }
body.single-news-2026 .sg-nd-share--mobile { display: none; }

/* Sidebar blocks */
body.single-news-2026 .sg-sb {
  background: var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.single-news-2026 .sg-sb__head { margin: 0; padding: 0 0 4px; border-bottom: 1px dashed var(--sg-nd-border); }
body.single-news-2026 .sg-sb__title { margin: 0; font-size: 15px; font-weight: 800; color: #fff; padding-bottom: 10px; }
body.single-news-2026 .sg-hot-list { list-style: none; padding: 0; margin: 0; counter-reset: sg-rank; display: flex; flex-direction: column; gap: 12px; }
body.single-news-2026 .sg-hot-list__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
body.single-news-2026 .sg-hot-list__rank {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--sg-nd-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 24px;
  text-align: center;
  margin-top: 2px;
}
body.single-news-2026 .sg-hot-list__link { color: var(--sg-nd-text); text-decoration: none; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.single-news-2026 .sg-hot-list__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.single-news-2026 .sg-hot-list__link:hover .sg-hot-list__title { color: #c5b1ff; }
body.single-news-2026 .sg-hot-list__date { font-size: 11.5px; color: var(--sg-nd-text-3); }
body.single-news-2026 .sg-sb-popular { display: flex; flex-direction: column; gap: 14px; }
body.single-news-2026 .sg-sb-popular__item { border: 1px solid var(--sg-nd-border); border-radius: var(--sg-nd-radius-sm); overflow: hidden; background: var(--sg-nd-card-2); }
body.single-news-2026 .sg-sb-popular__cta { display: flex; justify-content: stretch; }
body.single-news-2026 .sg-sb-popular__cta .sg-btn { flex: 1; }

/* Related news 3卡 grid */
body.single-news-2026 .sg-nd-rel {
  background: var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius-lg);
  padding: 24px 26px 26px;
}
body.single-news-2026 .sg-nd-rel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
body.single-news-2026 .sg-nd-rel__item { min-width: 0; }

/* Section head (hp section head) */
body.single-news-2026 .hp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
body.single-news-2026 .hp-section-head h2,
body.single-news-2026 .hp-section-head h3 { font-size: 20px; font-weight: 800; margin: 0; color: #fff; }
body.single-news-2026 .hp-section-head a { color: #c5b1ff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
body.single-news-2026 .hp-section-head a:hover { color: #fff; }

/* Comments — 用已存在的 sg-commentform 样式，这里只加外层 wrapper */
body.single-news-2026 .sg-nd-comments {
  background: var(--sg-nd-card);
  border: 1px solid var(--sg-nd-border);
  border-radius: var(--sg-nd-radius-lg);
  padding: 26px 28px 28px;
}
body.single-news-2026 .sg-commentform {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ========== 响应式：≥1280 三栏，≤1279 两栏横排，≤1024 单列，≤768 移动 ========== */
@media (max-width: 1279.98px) {
  body.single-news-2026 .sg-nd__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; }
  body.single-news-2026 .sg-nd__rail-left {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
  body.single-news-2026 .sg-share { flex-direction: row; }
  body.single-news-2026 .sg-nd-content { padding: 22px 24px; }
  body.single-news-2026 .sg-news-hero { padding: 22px 24px; }
}
@media (max-width: 1023.98px) {
  body.single-news-2026 .sg-nd__grid { grid-template-columns: minmax(0, 1fr); }
  body.single-news-2026 .sg-nd__rail-left {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    grid-column: 1 / -1;
  }
  body.single-news-2026 .sg-nd__rail-right { position: static; }
  body.single-news-2026 .sg-nd-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  body.single-news-2026 .sg-nd { padding: 0 14px; margin: 16px auto 32px; }
  body.single-news-2026 .sg-news-hero,
  body.single-news-2026 .sg-nd-content,
  body.single-news-2026 .sg-nd-rel,
  body.single-news-2026 .sg-nd-comments { padding: 18px 16px; border-radius: 14px; }
  body.single-news-2026 .sg-nd-rel__grid { grid-template-columns: 1fr; }
  body.single-news-2026 .sg-nd-share--mobile { display: flex; justify-content: center; }
  body.single-news-2026 .sg-nd__rail-left .sg-share { display: none; }
  body.single-news-2026 .sg-specs__table th { width: 45%; }
}
@media (max-width: 390px) {
  body.single-news-2026 .sg-news-hero__title { font-size: 24px; }
  body.single-news-2026 .sg-news-meta { font-size: 12px; gap: 6px 10px; }
}

/* ========== T5.2 修复：sg-commentform 镜像（对齐 game 页样式） ========== */
body.single-news-2026 .sg-commentform {
  padding-top: 20px;
  border-top: 1px dashed var(--sg-border-2);
}
body.single-news-2026 .sg-commentform__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
body.single-news-2026 .sg-commentform__title { margin: 0; font-size: 17px; font-weight: 800; }
body.single-news-2026 .sg-commentform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
body.single-news-2026 .sg-field { display: block; }
body.single-news-2026 .sg-field__label {
  display: block;
  font-size: 12.5px;
  color: var(--sg-muted);
  font-weight: 600;
  margin: 0 0 6px;
}
body.single-news-2026 .sg-field__input {
  width: 100%;
  box-sizing: border-box;
  background: var(--sg-card-2);
  border: 1px solid var(--sg-border-2);
  color: var(--sg-text);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .15s, background .15s;
}
body.single-news-2026 .sg-field__input:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.65);
  background: #14182a;
}
body.single-news-2026 .sg-field__textarea { min-height: 120px; resize: vertical; }
body.single-news-2026 .sg-commentform__actions,
body.single-news-2026 .comment-form .sg-commentform__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
body.single-news-2026 .comment-form.sg-commentform .submit.sg-btn--primary,
body.single-news-2026 .sg-commentform .submit.sg-btn--primary {
  background: var(--sg-gradient-accent);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 2px solid var(--sg-accent-2);
  box-shadow: 0 10px 26px -12px rgba(124, 58, 237, 0.75);
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
body.single-news-2026 .comment-form.sg-commentform .submit.sg-btn--primary:hover,
body.single-news-2026 .sg-commentform .submit.sg-btn--primary:hover {
  opacity: .94;
  transform: translateY(-1px);
}
body.single-news-2026 .comment-form.sg-commentform .submit.sg-btn--primary:active,
body.single-news-2026 .sg-commentform .submit.sg-btn--primary:active { transform: translateY(0); }
body.single-news-2026 .comments-area {
  margin: 0;
  padding: 0;
  background: transparent;
}
body.single-news-2026 .comments-area .comment-reply-title {
  display: none !important;
}
body.single-news-2026 .comments-area .comment-notes,
body.single-news-2026 .comments-area .email-notes,
body.single-news-2026 .comments-area .logged-in-as,
body.single-news-2026 .comments-area .must-log-in,
body.single-news-2026 .comments-area .comment-form-cookies-consent,
body.single-news-2026 .comments-area p.comment-form-comment,
body.single-news-2026 .comments-area p.comment-form-author,
body.single-news-2026 .comments-area p.comment-form-email,
body.single-news-2026 .comments-area p.comment-form-url {
  margin: 0;
  padding: 0;
}
body.single-news-2026 .comments-area p.comment-form-author,
body.single-news-2026 .comments-area p.comment-form-email,
body.single-news-2026 .comments-area p.comment-form-url {
  width: 100%;
}
body.single-news-2026 .comments-area .comment-form .sg-commentform__grid p.comment-form-author,
body.single-news-2026 .comments-area .comment-form .sg-commentform__grid p.comment-form-email,
body.single-news-2026 .comments-area .comment-form .sg-commentform__grid p.comment-form-url {
  width: auto;
}
body.single-news-2026 .comments-area .form-submit {
  margin: 0 !important;
  padding: 0 !important;
}
body.single-news-2026 .comments-area .comment-form-author .required,
body.single-news-2026 .comments-area .comment-form-email  .required,
body.single-news-2026 .comments-area .comment-form-comment .required {
  color: var(--sg-red);
}
body.single-news-2026 .comments-area h3.comments-title,
body.single-news-2026 .comments-area h2.comments-title {
  display: none;
}
body.single-news-2026 .comments-area ol.commentlist,
body.single-news-2026 .comments-area ul.commentlist {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--sg-border);
}
body.single-news-2026 .comments-area ol.commentlist li.comment,
body.single-news-2026 .comments-area ul.commentlist li.comment {
  padding: 12px 0 14px;
  border-bottom: 1px dashed var(--sg-border);
}
body.single-news-2026 .comments-area .comment-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.single-news-2026 .comments-area .comment-meta,
body.single-news-2026 .comments-area .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sg-muted);
}
body.single-news-2026 .comments-area .comment-author .fn,
body.single-news-2026 .comments-area .comment-author .fn a {
  color: var(--sg-text);
  font-weight: 700;
}
body.single-news-2026 .comments-area .comment-content {
  color: var(--sg-text-2);
  font-size: 14px;
  line-height: 1.65;
}
body.single-news-2026 .comments-area .reply a {
  color: var(--sg-accent);
  font-size: 12.5px;
}

/* ========== T5.2 修正：外层是 .sg-nd-comments 非 .comments-area ========== */
body.single-news-2026 .sg-nd-comments .comment-reply-title,
body.single-news-2026 .comment-respond .comment-reply-title,
body.single-news-2026 #reply-title {
  display: none !important;
}
body.single-news-2026 .sg-nd-comments .comment-notes,
body.single-news-2026 .sg-nd-comments .email-notes,
body.single-news-2026 .sg-nd-comments .logged-in-as,
body.single-news-2026 .sg-nd-comments .must-log-in,
body.single-news-2026 .sg-nd-comments .comment-form-cookies-consent,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-comment,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-author,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-email,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-url,
body.single-news-2026 .sg-nd-comments p.comment-form-comment,
body.single-news-2026 .sg-nd-comments p.comment-form-author,
body.single-news-2026 .sg-nd-comments p.comment-form-email,
body.single-news-2026 .sg-nd-comments p.comment-form-url {
  margin: 0;
  padding: 0;
}
body.single-news-2026 .comment-form.sg-commentform p.comment-form-author,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-email,
body.single-news-2026 .comment-form.sg-commentform p.comment-form-url {
  width: 100%;
}
body.single-news-2026 .sg-commentform__grid p.comment-form-author,
body.single-news-2026 .sg-commentform__grid p.comment-form-email,
body.single-news-2026 .sg-commentform__grid p.comment-form-url {
  width: auto !important;
}
body.single-news-2026 .comment-form.sg-commentform .form-submit,
body.single-news-2026 .sg-nd-comments .form-submit {
  margin: 0 !important;
  padding: 0 !important;
}
body.single-news-2026 .comment-form.sg-commentform .comment-form-author .required,
body.single-news-2026 .comment-form.sg-commentform .comment-form-email  .required,
body.single-news-2026 .comment-form.sg-commentform .comment-form-comment .required {
  color: var(--sg-red);
}
body.single-news-2026 .sg-nd-comments h3.comments-title,
body.single-news-2026 .sg-nd-comments h2.comments-title {
  display: none;
}
body.single-news-2026 .sg-nd-comments ol.commentlist,
body.single-news-2026 .sg-nd-comments ul.commentlist {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--sg-border);
}
body.single-news-2026 .sg-nd-comments ol.commentlist li.comment,
body.single-news-2026 .sg-nd-comments ul.commentlist li.comment {
  padding: 12px 0 14px;
  border-bottom: 1px dashed var(--sg-border);
}
body.single-news-2026 .sg-nd-comments .comment-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.single-news-2026 .sg-nd-comments .comment-meta,
body.single-news-2026 .sg-nd-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sg-muted);
}
body.single-news-2026 .sg-nd-comments .comment-author .fn,
body.single-news-2026 .sg-nd-comments .comment-author .fn a {
  color: var(--sg-text);
  font-weight: 700;
}
body.single-news-2026 .sg-nd-comments .comment-content {
  color: var(--sg-text-2);
  font-size: 14px;
  line-height: 1.65;
}
body.single-news-2026 .sg-nd-comments .reply a {
  color: var(--sg-accent);
  font-size: 12.5px;
}



/* ============================================================
 * VIDEO ARCHIVE �� ��Ƶ�б�ҳ����ʽ����ȫ����ο�ͼ 9 ��ʽ���֣�
 * Grid: 4 �� hp-gc-grid��Card: 16:9 ���� + ͷ��ͷ��/����/����/ʱ�� + ���� + ʱ�� chip
 * �����ֶ�ȫ��������ʵ wp_posts/wp_postmeta������α��ƽ̨/������/����
 * ============================================================ */
body.post-type-archive-video .hp-gc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body.post-type-archive-video .hp-gc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  body.post-type-archive-video .hp-gc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ��Ƶ��Ƭ����ɫԲ�ǿ�����ͣ�ϱ�+�ϸ�����ȫ����ο�ͼ����Ƶ���ߴ� */
body .c-video-card {
  width: 100%;
  height: auto;
  background: #141720;
  border: 1px solid rgba(124,92,252,0.22);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body .c-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,0.62);
  box-shadow: 0 10px 26px -12px rgba(124,92,252,0.42);
}
body .c-video-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ���� 16:9 ������426��240 slot-video-thumb�� */
body .c-video-card__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1e2a;
  overflow: hidden;
  flex-shrink: 0;
}
body .c-video-card__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
body .c-video-card:hover .c-video-card__cover { transform: scale(1.04); }
body .c-video-card__cover.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
body .c-video-card__empty-play { opacity: .92; }

/* ʱ�� chip�����½ǣ���ο�ͼһ�£� */
body .c-chip--dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(3px);
}

/* ���������� chip+ʱ�� �� ���� �� ժҪ */
body .c-video-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}
body .c-video-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
body .c-chip--cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.32);
  color: #a78bfa;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
body .c-chip--cat.is-ghost { color: #94a3b8; background: rgba(148,163,184,0.08); border-color: rgba(148,163,184,0.22); }
body .c-chip--cat:hover { text-decoration: underline; }

body .c-video-card__date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

body .c-video-card__title {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .c-video-card:hover .c-video-card__title { color: #c4b5fd; }

body .c-video-card__excerpt {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(12px * 1.55 * 3);
}

/* -------- Video Archive: 对齐 game 列表页的 responsive columns (4 → 3 → 2) -------- */
body.post-type-archive-video .hp-gc-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 1024px) and (min-width: 641px) {
  body.post-type-archive-video .hp-gc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 640px) {
  body.post-type-archive-video .hp-gc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
/* between-ads 插入网格后全宽横跨，不破坏列数 */
body.post-type-archive-video .hp-gc-grid > .hp-ad {
  grid-column: 1 / -1 !important;
  margin: 4px 0 !important;
}

/* ===================================================================
   Phase-Video-Detail-2026: Single Video (single-video.php 专用)
   中文注释：对应参考截图结构 —— 顶部广告 → 面包屑 → H1+作者meta → 大封面+播放按钮 → 3项信息卡 → 内容说明 → 相关视频4列 → 底部广告
   作用范围：body.single.single-video（WordPress 会为 CPT single 自动注入 body_class post-type-{cpt} single-{cpt}）
   注意：body.post-type-video.single-video 两个 class 同时出现时才命中，避免影响 archive 或 game
   =================================================================== */
body.post-type-video.single-video #sv26.sv-wrap,
body.single-video #sv26.sv-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 64px;
  color: #e6e7eb;
  font-family: inherit;
  line-height: 1.6;
}
body.post-type-video.single-video .sv-inner,
body.single-video .sv-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---- 1. 顶部/中间/底部广告位：统一居中 728 宽度限，两端自适应 ---- */
body.post-type-video.single-video .sv-ad,
body.single-video .sv-ad {
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
  text-align: center;
  background: rgba(20, 22, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 14px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.post-type-video.single-video .sv-ad.sv-ad--top728,
body.single-video .sv-ad.sv-ad--top728 { margin-top: 28px; }
body.post-type-video.single-video .sv-ad.sv-ad--foot728,
body.single-video .sv-ad.sv-ad--foot728 { margin-bottom: 0; }
body.post-type-video.single-video .sv-ad .c-ad-slot--empty,
body.single-video .sv-ad .c-ad-slot--empty { display: none; }

/* ---- 2. 面包屑 sv-breadcrumb（参考截图：Home › Videos › 当前标题，浅色小字分隔） ---- */
body.post-type-video.single-video .sv-breadcrumb,
body.single-video .sv-breadcrumb {
  margin: 8px 0 0;
}
body.post-type-video.single-video .sv-breadcrumb__list,
body.single-video .sv-breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9aa0b4;
}
body.post-type-video.single-video .sv-breadcrumb__sep,
body.single-video .sv-breadcrumb__sep {
  color: rgba(154, 160, 180, 0.6);
  font-size: 16px;
  line-height: 1;
  margin: 0 2px;
  user-select: none;
}
body.post-type-video.single-video .sv-breadcrumb__item a,
body.single-video .sv-breadcrumb__item a {
  color: #9aa0b4;
  text-decoration: none;
  transition: color .2s ease;
}
body.post-type-video.single-video .sv-breadcrumb__item a:hover,
body.single-video .sv-breadcrumb__item a:hover {
  color: #c9b8ff;
}
body.post-type-video.single-video .sv-breadcrumb__item.is-current,
body.single-video .sv-breadcrumb__item.is-current {
  color: #d9deef;
  font-weight: 600;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- 3. sv-head：H1 + 作者meta（头像/名字/约1年前/YouTube chip） ---- */
body.post-type-video.single-video .sv-head,
body.single-video .sv-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.post-type-video.single-video .sv-head__title,
body.single-video .sv-head__title {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: #fff;
}
body.post-type-video.single-video .sv-head__meta,
body.single-video .sv-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #b9bfd3;
}
body.post-type-video.single-video .sv-head__author,
body.single-video .sv-head__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.post-type-video.single-video .sv-head__avatar,
body.single-video .sv-head__avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  background: #1d2038;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
body.post-type-video.single-video .sv-head__avatar img,
body.single-video .sv-head__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.post-type-video.single-video .sv-head__author-name,
body.single-video .sv-head__author-name {
  color: #e2e6f3;
  font-weight: 700;
}
body.post-type-video.single-video .sv-head__author-name a,
body.single-video .sv-head__author-name a {
  color: inherit;
  text-decoration: none;
}
body.post-type-video.single-video .sv-head__author-name a:hover,
body.single-video .sv-head__author-name a:hover {
  color: #c9b8ff;
}
body.post-type-video.single-video .sv-head__date,
body.single-video .sv-head__date {
  color: #9aa0b4;
}

/* ---- 4. sv-chip 通用 chip（YouTube / 分类） ---- */
body.post-type-video.single-video .sv-chip,
body.single-video .sv-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
body.post-type-video.single-video .sv-chip--cat,
body.single-video .sv-chip--cat {
  background: rgba(124, 58, 237, 0.16);
  color: #c9b8ff;
  border: 1px solid rgba(124, 58, 237, 0.35);
}
body.post-type-video.single-video .sv-chip--platform.sv-chip--yt,
body.single-video .sv-chip--platform.sv-chip--yt {
  background: #ff0000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- 5. sv-cover 大封面（参考截图 16:9 横幅大图 + 中心圆形深紫播放按钮 + 右下时长） ---- */
body.post-type-video.single-video .sv-cover,
body.single-video .sv-cover {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #14172a;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.75);
}
body.post-type-video.single-video .sv-cover__img,
body.single-video .sv-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 播放按钮：中心深色紫圆 + 白三角 SVG，hover 轻微放大 */
body.post-type-video.single-video .sv-cover__play,
body.single-video .sv-cover__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(30, 18, 66, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 40px -8px rgba(124, 58, 237, 0.75), inset 0 0 0 1px rgba(201, 184, 255, 0.35);
  backdrop-filter: blur(2px);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  cursor: pointer;
}
body.post-type-video.single-video a.sv-cover__play:hover,
body.single-video a.sv-cover__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(43, 26, 94, 0.95);
}
body.post-type-video.single-video .sv-cover__play.is-disabled,
body.single-video .sv-cover__play.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
/* 时长 chip：右下角深灰半透明，白字 */
body.post-type-video.single-video .sv-cover__dur,
body.single-video .sv-cover__dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

/* ---- 6. sv-info-cards 3 列信息卡（Duration / Views / Likes，=0 不渲染） ---- */
body.post-type-video.single-video .sv-info-cards,
body.single-video .sv-info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.post-type-video.single-video .sv-info-card,
body.single-video .sv-info-card {
  background: rgba(22, 25, 44, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.post-type-video.single-video .sv-info-card__label,
body.single-video .sv-info-card__label {
  font-size: 13px;
  color: #9aa0b4;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.post-type-video.single-video .sv-info-card__value,
body.single-video .sv-info-card__value {
  font-size: 28px;
  font-weight: 900;
  color: #22d3ee;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ---- 7. 通用 section 标题 sv-block__title（Description / Related Videos 共用） ---- */
body.post-type-video.single-video .sv-block__title,
body.single-video .sv-block__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.005em;
  color: #fff;
}

/* ---- 8. sv-content 内容说明区（深灰圆角 + H2 标题 + 正文） ---- */
body.post-type-video.single-video .sv-content,
body.single-video .sv-content {
  background: rgba(22, 25, 44, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 24px;
}
body.post-type-video.single-video .sv-content__body,
body.single-video .sv-content__body {
  font-size: 15px;
  line-height: 1.75;
  color: #c7cbe0;
}
body.post-type-video.single-video .sv-content__body p,
body.single-video .sv-content__body p {
  margin: 0 0 12px;
}
body.post-type-video.single-video .sv-content__body p:last-child,
body.single-video .sv-content__body p:last-child { margin-bottom: 0; }
body.post-type-video.single-video .sv-content__body a,
body.single-video .sv-content__body a {
  color: #c9b8ff;
  text-decoration: none;
  word-break: break-all;
}
body.post-type-video.single-video .sv-content__body a:hover,
body.single-video .sv-content__body a:hover { text-decoration: underline; }

/* ---- 9. sv-related 相关视频 4 列（参考截图下方 4 张相关卡），复用 archive-video 的 slot_video_card ---- */
body.post-type-video.single-video .sv-related,
body.single-video .sv-related {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.post-type-video.single-video .sv-related__grid,
body.single-video .sv-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
body.post-type-video.single-video .sv-related__item,
body.single-video .sv-related__item { min-width: 0; }

/* ===================================================================
   Responsive Breakpoints
   - 桌面 ≥1025px: 4 列相关 / 3 列信息卡（默认）
   - 平板 641~1024px: 3 列相关 / 3 列信息卡保持
   - 移动 ≤640px: 2 列相关 / 1 列信息卡，封面播放按钮缩小 60px
   =================================================================== */
@media (max-width: 1024px) and (min-width: 641px) {
  body.post-type-video.single-video .sv-related__grid,
  body.single-video .sv-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  body.post-type-video.single-video #sv26.sv-wrap,
  body.single-video #sv26.sv-wrap {
    padding: 0 14px 40px;
  }
  body.post-type-video.single-video .sv-inner,
  body.single-video .sv-inner {
    gap: 22px;
  }
  body.post-type-video.single-video .sv-info-cards,
  body.single-video .sv-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.post-type-video.single-video .sv-info-card__value,
  body.single-video .sv-info-card__value {
    font-size: 24px;
  }
  body.post-type-video.single-video .sv-cover__play,
  body.single-video .sv-cover__play {
    width: 60px;
    height: 60px;
  }
  body.post-type-video.single-video .sv-cover__play svg,
  body.single-video .sv-cover__play svg {
    width: 30px !important;
    height: 30px !important;
  }
  body.post-type-video.single-video .sv-related__grid,
  body.single-video .sv-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body.post-type-video.single-video .sv-breadcrumb__item.is-current,
  body.single-video .sv-breadcrumb__item.is-current {
    max-width: 180px;
  }
  body.post-type-video.single-video .sv-head__title,
  body.single-video .sv-head__title {
    font-size: 22px;
  }
}

/* =============================================================
 * 视频详情页 — 内嵌播放器容器（本地 MP4 <video> / YouTube <iframe>）
 * 中文注释：
 * 1. 整个播放区统一 16:9 比例（aspect-ratio），桌面/移动端自适应
 * 2. 本地 MP4 命中时：左上角绿色徽章「本地 MP4 播放」
 * 3. 未下载本地 MP4 时：左上角灰色徽章「YouTube 内嵌播放（未检测到本地 MP4）」
 * 4. <video> / <iframe> 必须 width/height 100% 填满，否则 iframe 不会撑开容器
 * =============================================================*/
.sv-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.sv-player__aspect {
  position: relative;
  width: 100%;
  height: 100%;
}
.sv-player__video,
.sv-player__iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
  background: #000;
}
.sv-player__video {
  object-fit: contain;
}
.sv-player__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.sv-player__badge--local {
  background: rgba(22, 163, 74, 0.92);
  color: #fff;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.35);
}
.sv-player__badge--embed {
  background: rgba(23, 23, 23, 0.88);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* 播放器容器里仍沿用旧的时长/封面占位类 */
.sv-player .sv-cover__dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  pointer-events: none;
}
.sv-player .sv-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-player .sv-cover__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(120, 67, 233, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(120, 67, 233, 0.45);
}
.sv-player .sv-cover__play.is-disabled {
  opacity: 0.5;
}

/* ============================================================
   About Us page（page-about.php）—— 作用域 .au-*，不影响其他模板
   ============================================================ */
.au-page {
  padding: 24px 0 72px;
}

/* 面包屑 */
.au-crumb { margin: 0 0 20px; }
.au-crumb__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--slot-muted);
}
.au-crumb__item a { color: var(--slot-muted); text-decoration: none; transition: color .15s; }
.au-crumb__item a:hover { color: var(--slot-text); }
.au-crumb__sep { color: #4b5563; user-select: none; }
.au-crumb__item--current { color: var(--slot-text); font-weight: 600; }

/* 区块节奏 */
.au-section { margin: 0 0 56px; }
.au-divider {
  border: 0; border-top: 1px solid var(--slot-border);
  margin: 0 0 56px;
}
.au-head { margin: 0 0 28px; }

/* 标题 + 紫色短下划线 + 灰色副标题 */
.au-title {
  position: relative;
  margin: 0 0 14px;
  font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--slot-text); line-height: 1.25;
}
.au-title--h1 { font-size: 30px; }
.au-title__bar {
  display: block;
  width: 34px; height: 3px; margin-top: 12px;
  border-radius: 99px;
  background: var(--slot-accent);
}
.au-lead {
  margin: 0;
  font-size: 13.5px; line-height: 1.6;
  color: var(--slot-muted);
}

/* 通用段落（hero / panel） */
.au-hero p,
.au-panel p {
  margin: 0 0 14px;
  font-size: 14px; line-height: 1.8;
  color: var(--slot-muted);
}
.au-hero p:last-child,
.au-panel p:last-child { margin-bottom: 0; }

/* 卡片与面板基底 */
.au-hero,
.au-panel,
.au-card,
.au-rate,
.au-cta {
  border: 1px solid var(--slot-border);
  border-radius: 16px;
  background: var(--slot-surface);
}
.au-hero { padding: 36px; margin-bottom: 56px; }
.au-hero .au-title { margin-bottom: 20px; }
.au-panel { padding: 28px 30px; }

/* 卡片网格 */
.au-grid { display: grid; gap: 16px; }
.au-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.au-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px;
}
.au-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--slot-accent);
  background: rgba(124, 92, 252, 0.13);
}
.au-ico svg { width: 21px; height: 21px; }
.au-ico--green { color: var(--ok-green); background: rgba(16, 185, 129, 0.13); }
.au-card__body { min-width: 0; }
.au-card__title {
  margin: 2px 0 8px;
  font-size: 15.5px; font-weight: 700; color: var(--slot-text);
}
.au-card__text {
  margin: 0;
  font-size: 13px; line-height: 1.7; color: var(--slot-muted);
}

/* 评分与评测 */
.au-rate { padding: 24px 26px; }
.au-rate__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.au-rate__title { margin: 0; font-size: 17px; font-weight: 800; color: var(--slot-text); }
.au-tag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 7px;
  font-size: 12px; font-weight: 700; line-height: 1.4;
}
.au-tag--brand { color: #b3a4ff; background: rgba(124, 92, 252, 0.16); }
.au-tag--green { color: #34d399; background: rgba(16, 185, 129, 0.16); }
.au-rate__text { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--slot-muted); }

.au-more { margin: 18px 0 0; }
.au-more a {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--slot-accent); font-size: 13.5px; font-weight: 600;
  text-decoration: none;
}
.au-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 广告独立性列表 */
.au-list { margin: 4px 0 0; padding: 0; list-style: none; }
.au-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 13.5px; line-height: 1.8; color: var(--slot-muted);
}
.au-list li:last-child { margin-bottom: 0; }
.au-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--slot-accent);
}

/* 联系我们 CTA */
.au-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 36px;
}
.au-cta__title { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--slot-text); }
.au-cta__text p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--slot-muted); max-width: 720px; }
.au-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 26px; border-radius: 10px;
  background: var(--slot-accent); color: #fff;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.au-btn:hover { background: #6a4ce8; color: #fff; }
.au-btn:active { transform: translateY(1px); }

/* 响应式 */
@media (max-width: 900px) {
  .au-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .au-page { padding: 16px 0 56px; }
  .au-hero { padding: 24px 20px; }
  .au-panel { padding: 22px 18px; }
  .au-title { font-size: 21px; }
  .au-title--h1 { font-size: 26px; }
  .au-grid--3,
  .au-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .au-section { margin-bottom: 40px; }
  .au-hero { margin-bottom: 40px; }
  .au-head { margin-bottom: 22px; }
  .au-cta { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .au-btn { width: 100%; }
  .au-divider { margin: 0 0 40px; }
}

/* Google 登录页：公共头尾之间居中卡片 */
body.gl-login {
  background: #0b0d14;
}
body.gl-login .c-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 72px;
}

.gl-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-card {
  width: min(420px, 100%);
  padding: 40px 36px 32px;
  border-radius: 16px;
  background: #141824;
  border: 1px solid #252b3a;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.gl-card__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.3;
}

.gl-card__lead {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

.gl-card__error {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #f87171;
}
/* 紧贴说明文字，但不要再用负边距，避免和按钮叠在一起 */
.gl-card__lead + .gl-card__error {
  margin-top: -12px;
}

.gl-card__action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.gl-card__action .gl-card__error {
  margin: 0;
}

/* 覆盖全局 a / a:hover 的品牌色，保持原图白底深字；悬停变灰、按下内凹 */
body.gl-login .gl-google-btn,
body.gl-login a.gl-google-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.14);
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.08s ease, color 0.12s ease;
}
body.gl-login .gl-google-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
body.gl-login .gl-google-btn:hover,
body.gl-login a.gl-google-btn:hover,
body.gl-login a.gl-google-btn:focus {
  background: #f1f3f4;
  color: #1f1f1f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.36), 0 1px 3px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
body.gl-login .gl-google-btn:hover::after,
body.gl-login a.gl-google-btn:hover::after {
  opacity: 0.04;
}
body.gl-login .gl-google-btn:active,
body.gl-login a.gl-google-btn:active {
  background: #dadce0;
  color: #1f1f1f;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.28);
  transform: scale(0.97);
}
body.gl-login .gl-google-btn:active::after,
body.gl-login a.gl-google-btn:active::after {
  opacity: 0.1;
}
body.gl-login a.gl-google-btn:focus-visible {
  outline: 2px solid #8ab4f8;
  outline-offset: 2px;
}
body.gl-login .gl-google-btn.is-disabled {
  cursor: not-allowed;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: #1f1f1f;
  opacity: 1;
}
body.gl-login a.gl-google-btn--home,
body.gl-login a.gl-google-btn--home:hover,
body.gl-login a.gl-google-btn--home:focus,
body.gl-login a.gl-google-btn--home:active {
  background: var(--slot-accent);
  color: #fff;
  box-shadow: none;
  transform: none;
}
body.gl-login a.gl-google-btn--home:hover,
body.gl-login a.gl-google-btn--home:focus {
  background: #6a4ce8;
}

.gl-google-btn__icon,
.gl-google-btn__text {
  position: relative;
  z-index: 1;
}
.gl-google-btn__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.gl-google-btn__icon svg {
  display: block;
}

.gl-card__hint {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7b8798;
}
.gl-card__hint a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gl-card__hint a:hover {
  color: #fff;
}

.gl-card__rule {
  margin: 22px 0 16px;
  border: 0;
  border-top: 1px solid #2a3142;
}

.gl-card__legal {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7b8798;
}
.gl-card__legal a {
  color: #8b9cff;
}
.gl-card__legal a:hover {
  color: #b4bfff;
}

@media (max-width: 520px) {
  .gl-card {
    padding: 32px 22px 26px;
    border-radius: 14px;
  }
  .gl-card__title {
    font-size: 20px;
  }
}

/* ============================================================
   用户中心（page-user-center.php）—— 作用域 .uc-*，不影响登录页
   ============================================================ */
.uc-page {
  padding-bottom: 72px;
}

.uc-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--slot-border);
  border-radius: 14px;
  background: var(--slot-surface);
}

.uc-profile__left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.uc-profile__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1f2e;
  border: 2px solid #2a3144;
}
.uc-profile__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-profile__info {
  min-width: 0;
}

.uc-profile__name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.uc-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-size: 13px;
  color: var(--slot-muted);
}
.uc-profile__handle {
  color: #8b95a7;
}
.uc-profile__bio {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slot-muted);
}

.uc-edit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #6d4dff;
  border-radius: 8px;
  background: transparent;
  color: #b9a6ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.uc-edit::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  /* 编辑笔图标，避免额外图片资源 */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M11.13 1.32a1.8 1.8 0 0 1 2.55 2.55l-.7.7-2.55-2.55.7-.7zm-1.41 1.41 2.55 2.55-7.4 7.4H2.32v-2.55l7.4-7.4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M11.13 1.32a1.8 1.8 0 0 1 2.55 2.55l-.7.7-2.55-2.55.7-.7zm-1.41 1.41 2.55 2.55-7.4 7.4H2.32v-2.55l7.4-7.4z'/></svg>") center / contain no-repeat;
}
.uc-edit:hover,
.uc-edit:focus,
.uc-edit.is-active {
  background: rgba(124, 92, 252, 0.16);
  color: #d7ccff;
  border-color: #8b74ff;
}

.uc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 22px 0 24px;
  border-bottom: 1px solid var(--slot-border);
}
.uc-tab {
  position: relative;
  padding: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slot-muted);
  transition: color .15s ease;
}
.uc-tab:hover,
.uc-tab:focus {
  color: #fff;
}
.uc-tab.is-active {
  color: #fff;
}
.uc-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--slot-accent);
  border-radius: 2px 2px 0 0;
}

.uc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 28px;
}
.uc-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 18px 22px;
  border: 1px solid var(--slot-border);
  border-radius: 14px;
  background: var(--slot-surface);
}
.uc-stat__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--slot-muted);
}
.uc-stat__value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.uc-stat__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c2233;
  color: #c4b5fd;
  font-size: 16px;
}

.uc-section {
  margin: 0 0 32px;
}
.uc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}
.uc-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.uc-section__more {
  color: var(--slot-accent);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.uc-section__more:hover,
.uc-section__more:focus {
  color: #9d86ff;
}

.uc-section__count {
  color: var(--slot-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.uc-pagination {
  margin-top: 24px;
}

.uc-empty {
  margin: 0;
  padding: 28px 20px;
  border: 1px dashed #2a3144;
  border-radius: 14px;
  background: rgba(20, 23, 32, 0.6);
  color: var(--slot-muted);
  font-size: 14px;
  text-align: center;
}
.uc-empty__link {
  margin-left: 8px;
  color: var(--slot-accent);
  font-weight: 600;
}
.uc-empty__link:hover,
.uc-empty__link:focus {
  color: #9d86ff;
}

.uc-comments {
  border: 1px solid var(--slot-border);
  border-radius: 14px;
  background: var(--slot-surface);
  overflow: hidden;
}
.uc-comment {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--slot-border);
}
.uc-comment:first-child {
  border-top: 0;
}
.uc-comment__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1f2e;
}
.uc-comment__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uc-comment__body {
  min-width: 0;
  flex: 1;
}
.uc-comment__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.uc-comment__who {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slot-muted);
}
.uc-comment__name {
  color: #fff;
  font-weight: 700;
}
.uc-comment__target {
  color: #8b9cff;
  font-weight: 600;
}
a.uc-comment__target:hover,
a.uc-comment__target:focus {
  color: #b4bfff;
}
.uc-comment__time {
  flex-shrink: 0;
  font-size: 12px;
  color: #6b7288;
}
.uc-comment__text {
  margin: 8px 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #c7d0dc;
}
.uc-comment__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--slot-muted);
}

.uc-notice {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  font-size: 13px;
}
.uc-notice.is-ok {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.uc-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 22px 24px;
  border: 1px solid var(--slot-border);
  border-radius: 14px;
  background: var(--slot-surface);
}
.uc-form__field {
  display: grid;
  gap: 8px;
}
.uc-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slot-muted);
}
.uc-form__input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #2a3144;
  border-radius: 8px;
  background: #0f1320;
  color: #fff;
  font-size: 14px;
}
.uc-form__input:focus {
  outline: 0;
  border-color: var(--slot-accent);
}
.uc-form__input:disabled {
  color: #6b7288;
  cursor: not-allowed;
}
.uc-form__input--area {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
.uc-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.uc-form__submit {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--slot-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
.uc-form__submit:hover,
.uc-form__submit:focus {
  background: #6a4ce8;
}
.uc-form__logout {
  font-size: 13px;
  font-weight: 600;
  color: var(--slot-muted);
}
.uc-form__logout:hover,
.uc-form__logout:focus {
  color: #f87171;
}

.uc-page .hp-ad {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .uc-stats {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .uc-profile {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .uc-edit {
    align-self: stretch;
    justify-content: center;
  }
  .uc-stats {
    grid-template-columns: 1fr;
  }
  .uc-stat__value {
    font-size: 28px;
  }
  .uc-tabs {
    gap: 8px 18px;
  }
  .uc-form {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .uc-profile__left {
    align-items: flex-start;
  }
  .uc-profile__name {
    font-size: 20px;
  }
  .uc-comment {
    padding: 16px;
  }
  .uc-comment__top {
    flex-direction: column;
    gap: 4px;
  }
}

/* 游戏收藏按钮：列表封面角标 + 详情标题旁次操作 */
body .slot-fav-btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  color: inherit;
  font: inherit;
}
body .slot-fav-btn__icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
body .slot-fav-btn.is-on .slot-fav-btn__icon {
  fill: currentColor;
  stroke: currentColor;
}
body .slot-fav-btn:focus-visible {
  outline: 2px solid #7c5cfc;
  outline-offset: 2px;
}
body .slot-fav-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

body .slot-fav-btn--card {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(11, 13, 20, 0.62);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
body .slot-fav-btn--card:hover {
  background: rgba(11, 13, 20, 0.86);
  transform: scale(1.06);
  color: #fff;
}
body .slot-fav-btn--card:active {
  transform: scale(0.94);
}
body .slot-fav-btn--card.is-on {
  color: #fb7185;
  background: rgba(11, 13, 20, 0.78);
}

body.single-game-2026 .slot-fav-btn--detail,
body .slot-fav-btn--detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(124, 92, 252, 0.38);
  background: rgba(20, 23, 32, 0.92);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}
body.single-game-2026 .slot-fav-btn--detail:hover,
body .slot-fav-btn--detail:hover {
  background: rgba(124, 92, 252, 0.16);
  border-color: rgba(124, 92, 252, 0.7);
  color: #fff;
}
body.single-game-2026 .slot-fav-btn--detail:active,
body .slot-fav-btn--detail:active {
  transform: scale(0.97);
}
body.single-game-2026 .slot-fav-btn--detail.is-on,
body .slot-fav-btn--detail.is-on {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(251, 113, 133, 0.12);
}
body.single-game-2026 .slot-fav-btn--detail .slot-fav-btn__text,
body .slot-fav-btn--detail .slot-fav-btn__text {
  line-height: 1;
}
body a.hp-gc__link:hover,
body a.hp-gc__coverlink:hover {
  color: inherit;
}

/* ============================================================
 * BLOCK 7 — Hot Card Games (scrollable article after comments)
 * ============================================================ */
body .hp-cardgames {
  max-height: 650px;
  overflow: auto;
  border: 1px solid #1e2433;
  border-top: 4px solid #7c5cfc;
  background: #141720;
  border-radius: 12px;
  padding: 24px;
  scrollbar-width: thin;
  scrollbar-color: #7c5cfc #1a1e2a;
}
body .hp-cardgames::-webkit-scrollbar {
  width: 7px;
}
body .hp-cardgames::-webkit-scrollbar-track {
  background: #1a1e2a;
  border-radius: 5px;
}
body .hp-cardgames::-webkit-scrollbar-thumb {
  background: #7c5cfc;
  border-radius: 5px;
}
body .hp-cardgames h2 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  border-bottom: 1px solid #1e2433;
}
body .hp-cardgames h3 {
  margin: 28px 0 14px;
  padding-left: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  border-left: 4px solid #7c5cfc;
}
body .hp-cardgames p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.75;
}
body .hp-cardgames strong {
  color: #e2e8f0;
}
body .hp-cardgames ul,
body .hp-cardgames ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.75;
}
body .hp-cardgames li {
  margin: 0 0 8px;
}
body .hp-cardgames figure {
  margin: 18px 0;
  max-width: 100%;
}
body .hp-cardgames img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
body .hp-cardgames figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
body .hp-cardgames table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #cbd5e1;
  font-size: 14px;
}
body .hp-cardgames th,
body .hp-cardgames td {
  padding: 10px 12px;
  border: 1px solid #1e2433;
  text-align: left;
  vertical-align: top;
}
body .hp-cardgames th {
  background: #171b27;
  color: #fff;
  font-weight: 700;
}
body .hp-cardgames a {
  color: #c4b5fd;
}
@media (max-width: 640px) {
  body .hp-cardgames {
    max-height: 560px;
    padding: 16px;
  }
  body .hp-cardgames h2 {
    font-size: 20px;
  }
  body .hp-cardgames h3 {
    font-size: 16px;
  }
}


.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.site-lang__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-lang__link.is-active,
.site-lang__link:hover {
  color: #fff;
  border-color: #7c5cfc;
  background: rgba(124, 92, 252, 0.18);
}

/* ============================================================
 * Homepage hero carousel — BetFury layout, theme purple
 * ============================================================ */
.hp-hero {
  --hero-ms: 5000ms;
  --hero-accent: #7c5cfc;
  --hero-accent-2: #9b7cff;
  width: 100%;
  margin: 0;
  background: radial-gradient(100% 96.57% at 100% 0, rgba(124, 92, 252, 0.40) 0, rgba(124, 92, 252, 0.16) 60.27%, rgba(124, 92, 252, 0));
}
.hp-hero__inner {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 28px;
}
.hp-hero__viewport {
  position: relative;
  min-height: 312px;
}
.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hp-hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hp-hero__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    ". image"
    "text image"
    "subtext image"
    "wrap image"
    ". image";
  grid-template-rows: 36px 80px 32px 128px 36px;
  column-gap: 16px;
  align-items: center;
  max-height: 312px;
  color: inherit;
  text-decoration: none;
}
.hp-hero__link:hover {
  color: inherit;
}
.hp-hero__image {
  grid-area: image;
  justify-self: end;
  width: 512px;
  height: 312px;
  max-height: 312px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.hp-hero__img {
  display: block;
  width: 512px;
  height: 312px;
  object-fit: cover;
}
.hp-hero__text {
  grid-area: text;
  z-index: 1;
  text-align: left;
}
.hp-hero__title {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: 0;
  white-space: nowrap;
}
.hp-hero__mark {
  color: #b79cff;
}
.hp-hero__sub {
  grid-area: subtext;
  margin: 12px 0 0;
  color: rgba(226, 232, 244, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
}
.hp-hero__sub p {
  margin: 0;
}
.hp-hero__actions {
  grid-area: wrap;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.hp-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(105deg, #9a7dff 0, #7c5cfc 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}
.hp-hero__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 20px;
  pointer-events: none;
}
.hp-hero__arrow,
.hp-hero__dot {
  pointer-events: auto;
}
.hp-hero__arrow {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 244, 0.56);
  cursor: pointer;
}
.hp-hero__arrow:hover {
  color: var(--hero-accent);
}
.hp-hero__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-hero__dot {
  appearance: none;
  position: relative;
  width: 16px;
  height: 4px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: rgba(226, 232, 244, 0.16);
  cursor: pointer;
}
.hp-hero__dot.is-active {
  width: 56px;
}
.hp-hero__dot.is-filled,
.hp-hero__dot.is-active .hp-hero__dot-fill {
  background: #fff;
}
.hp-hero__dot-fill {
  display: none;
  width: 100%;
  height: 2px;
  margin-top: 1px;
  background: #fff;
  transform: translateX(-100%);
}
.hp-hero__dot.is-active .hp-hero__dot-fill {
  display: block;
  height: 4px;
  margin: 0;
  animation: hp-hero-progress var(--hero-ms) linear;
}
.hp-hero.is-paused .hp-hero__dot-fill {
  animation-play-state: paused;
}
@keyframes hp-hero-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@media (min-width: 1048px) {
  .hp-hero__link {
    max-height: 316px;
    padding: 2px 0;
  }
  .hp-hero__title {
    font-size: 44px;
    line-height: 56px;
  }
  .hp-hero__sub {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 860px) {
  .hp-hero__inner {
    width: min(100%, calc(100% - 24px));
  }
  .hp-hero__link {
    display: flex;
    flex-direction: column;
    max-height: none;
    grid-template-areas: none;
  }
  .hp-hero__image,
  .hp-hero__img {
    width: 100%;
    max-width: 328px;
    height: 200px;
    margin: 0 auto;
  }
  .hp-hero__text,
  .hp-hero__sub,
  .hp-hero__actions {
    text-align: center;
    justify-content: center;
  }
  .hp-hero__title {
    white-space: normal;
    font-size: 32px;
    line-height: 40px;
  }
  .hp-hero__cta {
    width: 100%;
  }
  .hp-hero__nav {
    position: relative;
    bottom: auto;
    margin-top: 12px;
  }
}

body .util-btn--lang {
  width: auto;
  min-width: 30px;
  height: 30px;
  gap: 4px;
  padding: 0 8px;
  border: 0;
  cursor: pointer;
  background: transparent;
}
body .site-lang {
  position: relative;
}
body .site-lang__icon {
  display: block;
  flex-shrink: 0;
}
body .site-lang__code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
body .site-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #111520;
  border: 1px solid #1e2433;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 80;
}
body .site-lang__menu[hidden] {
  display: none !important;
}
body .site-lang__option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
}
body .site-lang__option:hover,
body .site-lang__option.is-active {
  background: rgba(124, 92, 252, 0.16);
  color: #fff;
}
body .site-lang__option-code {
  width: 28px;
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
}
@media (max-width: 820px) {
  body .site-menu .site-lang {
    width: 100%;
  }
  body .site-menu .util-btn--lang {
    justify-content: flex-start;
    width: 100%;
    height: 44px;
    border-radius: 8px;
  }
  body .site-menu .site-lang__menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }
}
