/* ==============================================================================
   权威手游门户 经典权威游戏门户视觉规范与现代响应式架构
   - 经典门户排版：1200px 黄金阅读宽度、顶部迷你条、品牌搜索栏、深蓝权威主导航、左主列右侧边栏
   - 现代优化：Flexbox/Grid 规整排版、CSS 变量、高清扁平化圆角、精美微交互、100% 本地极速渲染
   - 色彩体系：
     * 主题蓝：#1d4ed8 (权威门户主色) / #2563eb (交互主色)
     * 活力橙：#f59e0b (游戏下载/0.1折高价值强引导 CTA)
     * 底色：#f4f6f9 (通透干净门户灰底) / #ffffff (白底卡片)
     * 文字：#1e293b (主标题) / #475569 (正文) / #94a3b8 (次要说明)
     * 边框：#e2e8f0 (精致浅灰分割线)
   ============================================================================== */

:root {
  --w-portal: 1200px;
  --bg-body: #f4f6f9;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-alt: #f1f5f9;
  
  --brand: #ff9a00;
  --brand-deep: #ef7d00;
  --brand-dark: #d96a00;
  --brand-light: #fff5e6;

  --primary: #ff9a00;
  --primary-hover: #ef7d00;
  --primary-light: #fffaf0;
  --primary-border: #ffd480;
  
  --green: #5bba22;
  --green-deep: #4da81a;
  --green-light: #f0fdf4;
  --green-border: #bbf7d0;

  --cta: #ef6c00;
  --cta-hover: #e65100;
  --cta-light: #fff7ed;
  --cta-border: #ffedd5;
  --cta-grad: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  --cta-grad-hover: linear-gradient(135deg, #ffa244 0%, #e65100 100%);

  --red: #e4393c;
  --red-deep: #d02b2e;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 16px -2px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

/* 1200px 门户标准容器 */
.w_1200 {
  max-width: var(--w-portal);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* ==============================================================================
   1. 迷你顶部条 (Top Mini Bar)
   ============================================================================== */
.top_mini_bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  height: 34px;
  line-height: 34px;
}

.top_mini_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini_nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini_nav a {
  color: var(--text-muted);
}

.mini_nav a:hover {
  color: var(--primary);
}

.mini_nav span.divider {
  color: #cbd5e1;
}

.mini_tips {
  display: flex;
  align-items: center;
  gap: 12px;
}

.age_tip {
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
}

/* ==============================================================================
   2. 门户主头部 (Brand Header & Search)
   ============================================================================== */
.portal_header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal_logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo_icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.portal_logo_img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2), 0 2px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #fde68a;
  background: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.portal_logo:hover .portal_logo_img {
  transform: scale(1.05);
}

.logo_title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo_sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo_badge {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
}

/* 头部搜索栏与热搜词 */
.search_wrap {
  width: 440px;
}

.search_box {
  display: flex;
  align-items: center;
  border: 2px solid #f97316;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.search_input {
  flex: 1;
  border: none;
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
  color: var(--text-main);
}

.search_btn {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.search_btn:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  box-shadow: 0 2px 8px rgba(239, 108, 0, 0.35);
}

.hot_words {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hot_words a {
  color: #b45309;
}

.hot_words a:nth-child(even) {
  color: #64748b;
  font-weight: 500;
}

.hot_words a:hover {
  color: #ef6c00;
  text-decoration: underline;
}

/* ==============================================================================
   3. 门户大导航栏 (Main Navigation Bar)
   ============================================================================== */
.main_navbar {
  background: linear-gradient(90deg, #f97316 0%, #ffab2e 100%);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.22);
}

.nav_list {
  display: flex;
  list-style: none;
  align-items: center;
  position: relative;
}

.nav_item {
  position: relative;
}

.nav_link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  text-shadow: 0 1px 2px rgba(180, 83, 9, 0.35);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav_link:hover {
  background-color: rgba(0, 0, 0, 0.10);
  color: #ffffff;
}

.nav_item.active .nav_link {
  background-color: rgba(0, 0, 0, 0.16);
  color: #ffffff;
  box-shadow: inset 0 -3.5px 0 #ffffff;
}

.nav_badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 999px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav_badge.gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ==============================================================================
   4. 门户主体布局 (2-Column Grid: Main 840px + Sidebar 340px)
   ============================================================================== */
.portal_body {
  margin-top: 20px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.portal_grid {
  display: grid;
  grid-template-columns: minmax(0, 840px) 340px;
  gap: 20px;
}

/* ==============================================================================
   5. 左侧主内容区 (Focus Banner + Filter Tabs + Game Row Cards)
   ============================================================================== */
/* ==============================================================================
   咪噜游戏盒子专属黄金推广展台 (Hero Box Promo Card)
   ============================================================================== */
.box_promo_card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 40%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.box_promo_card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.box_promo_icon_wrap {
  position: relative;
  flex-shrink: 0;
}

.box_promo_icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: block;
  background: #ffffff;
}

.box_badge_hot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffb300, #ff6f00);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
  border: 1px solid #ffffff;
}

.box_promo_info {
  flex-grow: 1;
  min-width: 0;
}

.box_promo_top_tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.box_tag_pill {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 4px;
}

.box_tag_sub {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.box_promo_title {
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.box_version_pill {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 4px;
}

.box_promo_desc {
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box_privilege_list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.box_privilege_item {
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 4px;
}

.box_promo_actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 216px;
}

.box_btn_download {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.box_btn_download:hover {
  transform: translateY(-2px);
}

.box_btn_android {
  background: linear-gradient(135deg, #fcd34d 0%, #ff8f00 100%);
  color: #ffffff;
  border: 1px solid #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.box_btn_android:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #f97316 100%);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.box_btn_ios {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.box_btn_ios:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}

.box_btn_icon {
  flex-shrink: 0;
}

.box_btn_text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.box_btn_text strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.box_btn_text small {
  font-size: 10px;
  opacity: 0.85;
  margin-top: 2px;
}

/* 分类切换标签栏 (纯横向单行，杜绝折行) */
.tab_bar_wrap {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 48px;
  box-sizing: border-box;
}

.tab_list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
}

.tab_item {
  flex: 1 1 0;
  height: 46px;
  line-height: 46px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab_item:hover {
  color: var(--primary);
}

.tab_item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab_item_more_wrap {
  position: relative;
  flex: 1 1 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin-left: 0;
}

.tab_item_more_btn {
  width: 100%;
  height: 46px;
  line-height: 46px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
  word-break: keep-all;
  padding: 0 4px;
}

.tab_item_more_btn:hover,
.tab_item_more_wrap:hover .tab_item_more_btn,
.tab_item_more_btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.more_cats_dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 50;
  min-width: 140px;
  padding: 6px 0;
  margin-top: 2px;
  white-space: nowrap;
}

.tab_item_more_wrap:hover .more_cats_dropdown,
.more_cats_dropdown.show {
  display: block;
}

.more_cat_option {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  display: block;
}

.more_cat_option:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.more_cat_option.active {
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
}

.tab_extra {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 门户经典行式游戏卡片 (Game Game Item Row) */
.game_row_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.game_row_card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.game_row_card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #93c5fd;
}

/* 序号徽章 */
.rank_tag_badge {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  background-color: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}

.rank_tag_badge.rank_1 {
  background-color: #f97316;
  color: #ffffff;
}

.rank_tag_badge.rank_2 {
  background-color: #fb923c;
  color: #ffffff;
}

.rank_tag_badge.rank_3 {
  background-color: #fdba74;
  color: #7c2d12;
}

/* 游戏图标 (114x114 squircle rounded) */
.game_row_icon_wrap {
  flex-shrink: 0;
}

.game_row_icon {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-subtle);
  transition: transform 0.2s ease;
}

.game_row_card:hover .game_row_icon {
  transform: scale(1.03);
}

/* 游戏信息主体 */
.game_row_main {
  flex-grow: 1;
  min-width: 0;
}

.game_row_header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.game_row_title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.game_row_title a:hover {
  color: var(--primary);
}

.stars_wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
}

.game_row_badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.badge_discount {
  background: linear-gradient(135deg, #e4393c 0%, #ff5722 100%);
  color: #ffffff;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(228, 57, 60, 0.25);
  letter-spacing: 0.02em;
}

.badge_type {
  background-color: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

/* 游戏元数据列 */
.game_row_meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.game_row_meta span em {
  font-style: normal;
  color: var(--text-main);
  font-weight: 600;
}

/* 门户经典点评引用 (统一纯净底色，消除色块割裂) */
.game_row_review {
  margin-top: 8px;
  background-color: transparent;
  border-left: 2.5px solid var(--brand);
  padding: 2px 0 2px 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game_row_review strong {
  color: var(--brand-deep);
  font-weight: 700;
}

/* 右侧操作按钮组  */
.game_row_actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 110px;
}

.btn_game_detail {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.btn_game_detail:hover {
  background-color: #e2e8f0;
  color: var(--text-main);
}

.btn_game_gift {
  background-color: #fffaf0;
  border: 1px solid #ffd480;
  color: #ef7d00;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.btn_game_gift:hover {
  background-color: #ff9a00;
  border-color: #ff9a00;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(255, 154, 0, 0.3);
}

.btn_game_download {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  text-align: center;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 8px rgba(239, 108, 0, 0.32);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
}

.btn_game_download:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(239, 108, 0, 0.45);
}

/* ==============================================================================
   6. 右侧边栏组件 (Sidebar Modules)
   ============================================================================== */
.portal_sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar_box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.sidebar_box_header {
  padding: 12px 16px;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar_title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar_title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  background-color: var(--primary);
  border-radius: 2px;
}

.sidebar_badge {
  font-size: 11px;
  color: var(--text-light);
}

/* 排行榜单项列表 */
.rank_list {
  padding: 10px 14px;
  list-style: none;
}

.rank_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.rank_item:last-child {
  border-bottom: none;
}

.rank_item_left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rank_num {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  background-color: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}

.rank_num.top1 { background-color: #f97316; color: #ffffff; }
.rank_num.top2 { background-color: #fb923c; color: #ffffff; }
.rank_num.top3 { background-color: #fdba74; color: #7c2d12; }

.rank_thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.rank_info {
  min-width: 0;
}

.rank_name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.rank_name:hover {
  color: var(--primary);
}

.rank_sub {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.rank_action_btn {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  border: 1px solid #ef6c00;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 5px rgba(239, 108, 0, 0.25);
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.rank_action_btn:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(239, 108, 0, 0.4);
}

/* 开服表格列表 (首页侧边栏小组件) */
.server_list {
  padding: 8px 14px;
}

.server_list .server_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 12px;
}

.server_list .server_row:last-child {
  border-bottom: none;
}

.server_time {
  font-weight: 700;
  color: var(--primary);
  font-family: monospace;
  font-size: 12px;
  width: 65px;
  flex-shrink: 0;
}

.server_game {
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  padding: 0 6px;
}

.server_name {
  color: var(--text-muted);
  font-size: 11px;
}

.server_enter_link {
  color: var(--cta);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-left: 6px;
}

.server_enter_link:hover {
  color: var(--cta-hover);
  text-decoration: underline;
}

/* 独家礼包侧边组件 */
.gift_sidebar_list {
  padding: 8px 14px;
}

.gift_sidebar_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 12px;
}

.gift_sidebar_item:last-child {
  border-bottom: none;
}

.gift_info {
  min-width: 0;
  flex: 1;
}

.gift_game_title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 12px;
  display: block;
}

.gift_item_desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift_copy_mini {
  background-color: var(--cta-light);
  border: 1px solid var(--cta-border);
  color: var(--cta);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.gift_copy_mini:hover {
  background-color: var(--cta);
  color: #ffffff;
}

/* 官方品质保障卡片 */
.guarantee_box {
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 12px;
}

.guarantee_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guarantee_item i {
  font-size: 16px;
  color: var(--primary);
  font-style: normal;
}

.guarantee_item strong {
  font-size: 12px;
  color: var(--text-main);
  display: block;
}

.guarantee_item span {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

/* ==============================================================================
   侧边栏热门游戏攻略列表 (Sidebar Guides)
   ============================================================================== */
.guide_sidebar_list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide_sidebar_item {
  padding: 10px 14px;
  border-bottom: 1px dashed var(--border-color, #e2e8f0);
  transition: background-color 0.2s ease;
}

.guide_sidebar_item:last-child {
  border-bottom: none;
}

.guide_sidebar_item:hover {
  background-color: var(--bg-hover, #f8fafc);
}

.guide_sidebar_link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main, #1e293b);
  font-size: 13px;
  line-height: 1.5;
}

.guide_sidebar_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.guide_sidebar_item:nth-child(1) .guide_sidebar_num {
  background: #fff7ed;
  color: #ea580c;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.15);
}

.guide_sidebar_item:nth-child(2) .guide_sidebar_num {
  background: #fff7ed;
  color: #ea580c;
}

.guide_sidebar_item:nth-child(3) .guide_sidebar_num {
  background: #fff7ed;
  color: #ea580c;
}

.guide_sidebar_tag {
  display: none;
}

.guide_sidebar_title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  transition: color 0.2s ease;
}

.guide_sidebar_link:hover .guide_sidebar_title {
  color: var(--primary, #ff7a00);
}

/* ==============================================================================
   侧边栏特惠推荐与广告位卡片 (Sidebar Sponsored Ads & Utilities)
   ============================================================================== */
.ad_card_list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ad_card_item {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ad_card_item:hover {
  background: #ffffff;
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

.ad_card_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ad_card_title_wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main, #1e293b);
}

.ad_card_icon {
  font-size: 15px;
  line-height: 1;
}

.ad_card_name {
  font-weight: 700;
  color: var(--text-main, #1e293b);
}

.ad_card_tag {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
}

.ad_card_desc {
  font-size: 12px;
  color: var(--text-muted, #64748b);
  line-height: 1.45;
  margin-bottom: 10px;
}

.ad_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad_card_tip {
  font-size: 11px;
  color: #94a3b8;
}

.ad_card_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ad_card_item:hover .ad_card_btn {
  opacity: 0.92;
  transform: scale(1.02);
}

/* 侧边栏独立穿插式赞助广告卡片 (与 sidebar_box 同级别外框风格) */
.sidebar_ad_banner_box {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.04));
  transition: all 0.25s ease;
}

.sidebar_ad_banner_box:hover {
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

/* 侧边栏图片横幅推荐位 */
.ad_banner_wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ad_banner_wrap:hover {
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

.ad_banner_link {
  display: block;
  line-height: 0;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  border-radius: 6px;
}

.ad_banner_pic {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ad_banner_wrap:hover .ad_banner_pic,
.sidebar_ad_banner_box:hover .ad_banner_pic {
  transform: scale(1.02);
}

.ad_code_action_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #f8fafc;
  border-top: 1px dashed #e2e8f0;
  gap: 8px;
}

.ad_code_info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ad_code_label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

.ad_code_val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  user-select: all;
  border: 1px solid #fde68a;
  white-space: nowrap;
}

.ad_code_btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ad_code_copy_btn {
  border: none;
  background: var(--primary, #ff7a00);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ad_code_copy_btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.ad_code_copy_btn:active {
  transform: translateY(0);
}

.ad_code_go_btn {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ad_code_go_btn:hover {
  color: var(--primary, #ff7a00);
  border-color: var(--primary, #ff7a00);
  background: #fff7ed;
}

/* ==============================================================================
   7. 详情页专用样式 (Detail Page Styles)
   ============================================================================== */
.breadcrumb_bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb_bar a {
  color: var(--text-muted);
}

.breadcrumb_bar a:hover {
  color: var(--primary);
}

.detail_hero_card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.detail_hero_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.detail_hero_left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.detail_logo {
  width: 96px;
  height: 96px;
  min-width: 96px;
  max-width: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.detail_hero_info {
  flex: 1;
  min-width: 0;
}

.detail_title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
}

.detail_meta_pills {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.detail_rating_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
}

.detail_download_cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-width: 250px;
}

.btn_large_cta {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(239, 108, 0, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
  text-decoration: none;
}

.btn_large_cta:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 108, 0, 0.48);
}

.btn_large_cta_expired {
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: not-allowed;
  width: 100%;
}

.cta_security_tip {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .detail_hero_top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .detail_hero_left {
    width: 100%;
  }
  .detail_download_cta {
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }
}

/* 详情页区块 */
.detail_section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  overflow: hidden;
}

.detail_sec_header {
  padding: 12px 18px;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail_sec_content {
  padding: 18px 20px;
}

/* 截图画廊 (完美适配官方竖版/横版实机高清海报) */
.screenshot_strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.screenshot_strip::-webkit-scrollbar {
  height: 6px;
}

.screenshot_strip::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.screenshot_strip::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.screenshot_strip::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.screenshot_strip img {
  height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #0f172a;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screenshot_strip img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

/* 游戏详情页专属礼包卡片流 (打通全站真实礼包与弹窗转化) */
.gift_real_stream_grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gift_real_row_card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.gift_real_row_card:hover {
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.gift_real_row_info {
  flex: 1;
  min-width: 0;
}

.gift_real_row_title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.gift_real_title_link {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  text-decoration: none;
  transition: color 0.2s;
}

.gift_real_title_link:hover {
  color: #ea580c;
}

.gift_real_items_desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift_real_row_meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #94a3b8;
}

.gift_real_row_actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.detail_gift_notice_bar {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail_gift_notice_text {
  font-size: 12.5px;
  color: #9a3412;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

/* 到期平替提示横幅 */
.expired_notice_box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.expired_notice_title {
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
}

.expired_notice_sub {
  font-size: 12px;
  color: #b45309;
  margin-top: 3px;
}

.btn_switch_game {
  background-color: #f59e0b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.btn_switch_game:hover {
  background-color: #d97706;
  color: #ffffff;
}

/* ==============================================================================
   8. 门户通用页脚 (Portal Footer)
   ============================================================================== */
.portal_footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
}

.footer_friend_links {
  display: flex;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #eef2f6;
  padding: 14px 0;
  margin: 0 0 20px 0;
  width: 100%;
  font-size: 12.5px;
  box-sizing: border-box;
}

.friend_links_title {
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.6;
}

.friend_links_list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  line-height: 1.6;
}

.friend_links_list a {
  color: #64748b;
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.2s ease;
}

.friend_links_list a:hover {
  color: var(--primary, #ff7a00);
  text-decoration: underline;
}

.footer_links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer_links a {
  color: var(--text-body);
}

.footer_links a:hover {
  color: var(--primary);
}

.footer_warning {
  color: #94a3b8;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 10px auto;
}

.footer_copyright {
  color: var(--text-light);
}

/* Toast 提示浮窗 */
.toast_notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.toast_notice.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==============================================================================
   9. 移动端与响应式自适应规范 (Responsive Media Queries)
   ============================================================================== */
@media (max-width: 1024px) {
  .portal_grid {
    grid-template-columns: 1fr;
  }
  .search_wrap {
    width: 320px;
  }
}

@media (max-width: 768px) {
  .top_mini_bar {
    display: none;
  }
  .header_inner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .search_wrap {
    width: 100%;
  }
  .nav_list {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav_list::-webkit-scrollbar {
    display: none;
  }
  .focus_banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .game_row_card {
    flex-direction: column;
    align-items: stretch;
  }
  .game_row_card > div:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .game_row_actions {
    width: 100%;
    flex-direction: row;
  }
  .game_row_actions > * {
    flex: 1;
  }
}

/* ==============================================================================
   10. 咪噜官网经典核心展区 (Milu Top Tabs & Matrix)
   ============================================================================== */
.milu_itop_box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px 12px 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.milu_itop_main {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

/* 左侧4个垂直切换标签 */
.milu_itop_tabs {
  width: 96px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.itop_tab_btn {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  text-align: center;
}

.itop_tab_btn:hover {
  background: #ffffff;
  color: #d97706;
  border-color: #fdba74;
}

.itop_tab_btn.active {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  color: #d97706;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
}

/* 右侧内容面板 */
.milu_itop_panels {
  flex: 1;
  min-width: 0;
}

.itop_panel {
  display: none;
}

.itop_panel.active {
  display: block;
  animation: itopFadeIn 0.2s ease-in-out;
}

@keyframes itopFadeIn {
  from { opacity: 0.6; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 游戏图标矩阵 (8列自适应) */
.itop_grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px 6px;
  justify-items: center;
}

.itop_game_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
  max-width: 78px;
  text-align: center;
  transition: transform 0.15s ease;
}

.itop_game_item:hover {
  transform: translateY(-2px);
}

.itop_icon_wrap {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  min-height: 52px;
  max-height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.itop_icon {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px;
}

.itop_discount_tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #ff9a00 0%, #f97316 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 4px 0 0 0;
  line-height: 1.1;
  pointer-events: none;
}

.itop_name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 4px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.itop_game_item:hover .itop_name {
  color: #d97706;
}

/* 咪噜经典副标题框 (如：[少女约会大作战]) */
.itop_tag {
  border: 1px solid #d97706;
  color: #b45309;
  background: #fffbeb;
  font-size: 10px;
  font-weight: 500;
  border-radius: 3px;
  height: 16px;
  line-height: 14px;
  margin-top: 3px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  padding: 0 2px;
  box-sizing: border-box;
}

/* 底部彩色热门关键词条 */
.milu_itop_keywords {
  border-top: 1px dashed #e2e8f0;
  margin-top: 12px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}

.milu_itop_keywords a {
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.milu_itop_keywords a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .itop_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .milu_itop_main {
    flex-direction: column;
  }
  .milu_itop_tabs {
    width: 100%;
    flex-direction: row;
  }
  .itop_tab_btn {
    flex: 1;
    height: 38px;
    font-size: 13px;
  }
  .itop_tab_btn.active {
    border-left: 1px solid #fde68a;
    border-bottom: 3px solid #d97706;
  }
  .itop_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 分页器组件  */
.pagination_wrap {
  margin: 32px 0 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page_btn {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  line-height: 1.4;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page_btn:hover {
  background-color: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.page_btn.active {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.25);
}

.page_btn.disabled {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.page_info {
  font-size: 13px;
  color: #64748b;
  margin-left: 12px;
  align-self: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .showcase_section {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   11. 咪噜游戏盒子专属清爽高质感展台与二维码弹窗规范
   ============================================================================== */
.box_promo_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #d97706;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: visible;
}

.box_promo_icon_wrap {
  position: relative;
  flex-shrink: 0;
}

.box_promo_icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15), 0 2px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #fde68a;
  display: block;
  background: #ffffff;
}

.box_badge_hot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffb300, #ff6f00);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
  border: 1px solid #ffffff;
}

.box_promo_info {
  flex-grow: 1;
  min-width: 0;
}

.box_promo_top_tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.box_tag_pill {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 4px;
}

.box_tag_meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.box_promo_title {
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.box_version_pill {
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 1px 6px;
  border-radius: 4px;
}

.box_discount_pill {
  font-size: 11px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 1px 6px;
  border-radius: 4px;
}

.box_promo_desc {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box_privilege_list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.box_privilege_item {
  color: #b45309;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 2px 8px;
  border-radius: 4px;
}

.box_promo_actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 200px;
}

.box_btn_download {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.box_btn_download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.box_btn_android {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: 1px solid #16a34a;
}

.box_btn_android:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.box_btn_ios {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid #0284c7;
}

.box_btn_ios:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.box_btn_icon {
  flex-shrink: 0;
}

.box_btn_text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.box_btn_text strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.box_btn_text small {
  font-size: 10px;
  opacity: 0.85;
  margin-top: 2px;
}

/* 悬停二维码弹窗 (Popover) */
.box_qrcode_popover {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.box_qrcode_popover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.box_btn_download:hover .box_qrcode_popover {
  display: flex;
  animation: qrcodeFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes qrcodeFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.box_qrcode_img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  display: block;
}

.box_qrcode_tip {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .box_promo_card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .box_promo_actions {
    width: 100%;
    flex-direction: row;
  }
  .box_btn_download {
    flex: 1;
    justify-content: center;
  }
  .box_qrcode_popover {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .box_promo_actions {
    flex-direction: column;
  }
}

/* 首页专属：1200px 全宽底部导航与合作枢纽大卡片 */
.home_fullwidth_bottom_card {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 10px);
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.home_fullwidth_bottom_card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.home_fullwidth_bottom_card .hub_card_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}

.home_fullwidth_bottom_card .hub_tags_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* 友情链接嵌入式底栏 (与全品类专区合二为一，不再孤立悬浮) */
.hub_friend_links_bar {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  line-height: 1.6;
}

.hub_friend_links_label {
  color: #94a3b8;
  font-weight: 700;
  white-space: nowrap;
}

.hub_friend_links_items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.hub_friend_links_items a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hub_friend_links_items a:hover {
  color: var(--primary, #ff7a00);
  text-decoration: underline;
}

/* 兼容保留旧类名 */
.home_category_hub_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.home_category_hub_card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.hub_card_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}

.hub_icon {
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fde68a 100%);
  border: 1px solid #fde68a;
  flex-shrink: 0;
}

.hub_title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.hub_sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.hub_tags_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub_pill_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.hub_pill_tag:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.hub_pill_tag.zone_pill {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
}

.hub_pill_tag.zone_pill:hover {
  background: #dbeafe;
  border-color: #2563eb;
  color: #1e40af;
}

@media (max-width: 768px) {
  .home_category_hub_card {
    padding: 16px;
  }
  .hub_card_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hub_pill_tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* 详情页专属活动公告列表 */
.detail_articles_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail_article_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  gap: 14px;
  transition: all 0.15s ease;
}

.detail_article_row:hover {
  background: #ffffff;
  border-color: #fde68a;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.08);
}

.detail_article_main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.detail_article_badge {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.detail_article_title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail_article_title:hover {
  color: #d97706;
}

.detail_article_meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.detail_article_time {
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.detail_article_link {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.detail_article_link:hover {
  text-decoration: underline;
}

@media (max-width: 650px) {
  .detail_article_row {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail_article_meta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==============================================================================
   首页专属特权展台与分类大厅组件样式
   ============================================================================== */

/* 咪噜经典核心展台 - 内联关键样式，确保零闪烁、永不排版错乱 */
.milu_itop_box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px 12px 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.milu_itop_main {
  display: flex !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.milu_itop_tabs {
  width: 96px !important;
  min-width: 96px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.itop_tab_btn {
  height: 44px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  text-align: center;
}

.itop_tab_btn:hover {
  background: #ffffff;
  color: #d97706;
  border-color: #fdba74;
}

.itop_tab_btn.active {
  background: #ffffff !important;
  border: 1px solid #fde68a !important;
  border-left: 4px solid #d97706 !important;
  color: #d97706 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
}

.milu_itop_panels {
  flex: 1 !important;
  min-width: 0 !important;
}

.itop_panel {
  display: none !important;
}

.itop_panel.active {
  display: block !important;
  animation: itopFadeIn 0.2s ease-in-out;
}

@keyframes itopFadeIn {
  from { opacity: 0.6; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.itop_grid {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 10px 6px !important;
  justify-items: center !important;
}

.itop_game_item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  width: 100% !important;
  max-width: 78px !important;
  text-align: center !important;
  transition: transform 0.15s ease;
}

.itop_game_item:hover {
  transform: translateY(-2px);
}

.itop_icon_wrap {
  position: relative !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.itop_icon {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px;
}

.itop_discount_tag {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  padding: 1px 3px !important;
  border-radius: 4px 0 0 0 !important;
  line-height: 1.1 !important;
  pointer-events: none !important;
}

.itop_name {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  margin-top: 4px !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}

.itop_game_item:hover .itop_name {
  color: #d97706 !important;
}

.itop_tag {
  border: 1px solid #d97706 !important;
  color: #b45309 !important;
  background: #fffbeb !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  border-radius: 3px !important;
  height: 16px !important;
  line-height: 14px !important;
  margin-top: 3px !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  padding: 0 2px !important;
  box-sizing: border-box !important;
  display: block !important;
}

.milu_itop_keywords {
  border-top: 1px dashed #e2e8f0 !important;
  margin-top: 12px !important;
  padding-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  font-size: 12px !important;
}

.milu_itop_keywords a {
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: opacity 0.15s ease;
}

.milu_itop_keywords a:hover {
  text-decoration: underline !important;
  opacity: 0.85;
}

/* 纯横版游戏类别切换栏 (强制单行横排，杜绝文字折行) */
.tab_bar_wrap {
  position: relative !important;
  z-index: 10 !important;
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  border-bottom: 2px solid var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  height: 48px !important;
  box-sizing: border-box !important;
}

.tab_list {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.tab_item {
  flex: 1 1 0 !important;
  height: 46px !important;
  line-height: 46px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-body) !important;
  cursor: pointer !important;
  border-bottom: 3px solid transparent !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  text-align: center !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tab_item:hover {
  color: var(--primary) !important;
}

.tab_item.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

.tab_item_more_wrap {
  position: relative !important;
  flex: 1 1 0 !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  margin-left: 0 !important;
}

.tab_item_more_btn {
  width: 100% !important;
  height: 46px !important;
  line-height: 46px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-body) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border-bottom: 3px solid transparent !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  padding: 0 4px !important;
}

.tab_item_more_btn:hover,
.tab_item_more_wrap:hover .tab_item_more_btn,
.tab_item_more_btn.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

.more_cats_dropdown {
  display: none;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  z-index: 50 !important;
  min-width: 140px !important;
  padding: 6px 0 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

.tab_item_more_wrap:hover .more_cats_dropdown,
.more_cats_dropdown.show {
  display: block !important;
}

.more_cat_option {
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap !important;
  display: block !important;
}

.more_cat_option:hover {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.more_cat_option.active {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
}

/* ==============================================================================
   咪噜游戏盒子专属清爽高质感展台 (Clean White Box Promo Card)
   ============================================================================== */
.box_promo_card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 3px solid #d97706 !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px 24px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
  overflow: visible !important;
}

.box_promo_icon_wrap {
  position: relative !important;
  flex-shrink: 0 !important;
}

.box_promo_icon {
  width: 82px !important;
  height: 82px !important;
  border-radius: 18px !important;
  object-fit: cover !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15), 0 2px 4px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #fde68a !important;
  display: block !important;
  background: #ffffff !important;
}

.box_badge_hot {
  position: absolute !important;
  bottom: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(135deg, #ffb300, #ff6f00) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 1px 7px !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3) !important;
  border: 1px solid #ffffff !important;
}

.box_promo_info {
  flex-grow: 1 !important;
  min-width: 0 !important;
}

.box_promo_top_tag {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.box_tag_pill {
  background: #fffbeb !important;
  color: #d97706 !important;
  border: 1px solid #fef3c7 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 1px 8px !important;
  border-radius: 4px !important;
}

.box_tag_meta {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.box_promo_title {
  color: #0f172a !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  margin: 0 0 6px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  letter-spacing: -0.01em !important;
}

.box_version_pill {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #0284c7 !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
}

.box_discount_pill {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
}

.box_promo_desc {
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 0 10px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.box_privilege_list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
}

.box_privilege_item {
  color: #b45309 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #fffbeb !important;
  border: 1px solid #fef3c7 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}

.box_promo_actions {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 216px !important;
}

.box_btn_download {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.box_btn_download:hover {
  transform: translateY(-2px) !important;
}

.box_btn_android {
  background: linear-gradient(135deg, #fcd34d 0%, #ff8f00 100%) !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
}

.box_btn_android:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #f97316 100%) !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35) !important;
}

.box_btn_ios {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 1px solid #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
}

.box_btn_ios:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38) !important;
}

.box_btn_icon {
  flex-shrink: 0 !important;
}

.box_btn_text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.box_btn_text strong {
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}

.box_btn_text small {
  font-size: 11px !important;
  opacity: 0.9 !important;
  margin-top: 3px !important;
  white-space: nowrap !important;
}

/* 悬停二维码弹窗 (Popover) */
.box_qrcode_popover {
  display: none !important;
  position: absolute !important;
  bottom: calc(100% + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  z-index: 100 !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.box_qrcode_popover::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-width: 6px !important;
  border-style: solid !important;
  border-color: #ffffff transparent transparent transparent !important;
}

.box_btn_download:hover .box_qrcode_popover {
  display: flex !important;
  animation: qrcodeFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes qrcodeFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.box_qrcode_img {
  width: 110px !important;
  height: 110px !important;
  display: block !important;
  border-radius: 6px !important;
  border: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

.box_qrcode_tip {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 6px !important;
}

.box_qrcode_sub {
  font-size: 10px !important;
  color: #64748b !important;
  margin-top: 1px !important;
}

@media (max-width: 900px) {
  .box_promo_card {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }
  .box_promo_title {
    justify-content: center !important;
  }
  .box_privilege_list {
    justify-content: center !important;
  }
  .box_promo_actions {
    width: 100% !important;
  }
  .box_qrcode_popover {
    display: none !important;
  }
  .itop_grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* 首页专属：全品类专区直达导航大厅 */
.home_category_hub_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.home_category_hub_card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.hub_card_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}

.hub_icon {
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fde68a 100%);
  border: 1px solid #fde68a;
  flex-shrink: 0;
}

.hub_title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.hub_sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.hub_tags_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub_pill_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.hub_pill_tag:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.hub_pill_tag.zone_pill {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
}

.hub_pill_tag.zone_pill:hover {
  background: #dbeafe;
  border-color: #2563eb;
  color: #1e40af;
}

@media (max-width: 768px) {
  .home_category_hub_card {
    padding: 16px;
  }
  .hub_card_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hub_pill_tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ==============================================================================
   游戏攻略大厅与详情页核心样式
   ============================================================================== */
.guide_hero_banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid #d97706;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.guide_hero_title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide_badge {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 1px 8px;
  border-radius: 4px;
}

.guide_hero_desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.guide_hero_stats {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  color: #64748b;
  flex-shrink: 0;
}

.guide_hero_stats strong {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.guide_category_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.guide_cat_pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.guide_cat_pill.active,
.guide_cat_pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.2);
}

.guide_tag_btn {
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.guide_tag_btn:hover {
  background: #ffedd5;
  border-color: #fdba74;
}

.guide_empty_state {
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.guide_article_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide_article_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.guide_article_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: #fdba74;
}

.guide_meta_top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.guide_tag_pill {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.guide_game_link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.guide_game_link:hover {
  text-decoration: underline;
}

.guide_post_time {
  font-size: 12px;
  color: var(--text-light);
  margin-left: auto;
}

.guide_article_title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.guide_article_title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s;
}

.guide_article_title a:hover {
  color: var(--primary);
}

.guide_article_excerpt {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 14px 0;
}

.guide_card_footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--text-muted);
}

.guide_read_btn {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.guide_read_btn:hover {
  text-decoration: underline;
}

.sidebar_guide_rank {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
}

.sidebar_guide_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.sidebar_guide_item:last-child {
  border-bottom: none;
}

.sidebar_guide_num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar_guide_num.top_num {
  background: #fee2e2;
  color: #dc2626;
}

.sidebar_guide_title {
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar_guide_title:hover {
  color: var(--primary);
}

/* 攻略详情落地页 */
.guide_detail_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.guide_detail_header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.guide_detail_meta_top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide_detail_title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0 0 14px 0;
}

.guide_detail_author_bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.guide_lead_box {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
  color: #166534;
}

.guide_lead_box strong {
  color: #15803d;
}

.guide_lead_box p {
  margin: 4px 0 0 0;
}

.guide_body_html {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}

.guide_body_html h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
}

.guide_body_html h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 10px 0;
}

.guide_body_html p {
  margin: 0 0 16px 0;
}

.guide_body_html ul,
.guide_body_html ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.guide_body_html li {
  margin-bottom: 8px;
}

.guide_body_html blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  margin: 16px 0;
  padding: 12px 18px;
  color: #475569;
  border-radius: 0 6px 6px 0;
}

.guide_body_html table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13px;
}

.guide_body_html th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.guide_body_html td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.guide_bottom_cta {
  margin-top: 32px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px dashed #fb923c;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta_game_logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cta_game_info {
  flex: 1;
}

.cta_game_title {
  font-size: 16px;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 4px;
}

.cta_game_desc {
  font-size: 12px;
  color: #b45309;
}

.cta_game_btn {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(239, 108, 0, 0.32);
  white-space: nowrap;
  transition: all 0.18s ease;
}

.cta_game_btn:hover,
.cta_game_btn:focus,
.cta_game_btn:active {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(239, 108, 0, 0.45);
}

.guide_detail_footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.related_guides_box {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.related_title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 16px 0;
}

.related_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related_card {
  display: block;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.related_card:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.related_tag {
  font-size: 11px;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 4px;
}

.related_name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related_meta {
  font-size: 11px;
  color: var(--text-light);
}

/* 攻略侧边栏关联游戏吸顶卡片 */
.guide_game_sticky_card {
  position: sticky;
  top: 16px;
}

.sticky_game_body {
  padding: 16px;
}

.sticky_game_top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.sticky_game_logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sticky_game_info {
  flex: 1;
  min-width: 0;
}

.sticky_game_name {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.sticky_game_name a {
  color: var(--text-main);
  text-decoration: none;
}

.sticky_game_name a:hover {
  color: var(--primary);
}

.sticky_game_meta {
  font-size: 11px;
  color: var(--text-muted);
}

.sticky_game_rating {
  font-size: 11px;
  color: #d97706;
  font-weight: 700;
}

.sticky_game_desc {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.sticky_download_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(239, 108, 0, 0.35);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.sticky_download_btn:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(239, 108, 0, 0.45);
}

.sticky_detail_link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.sticky_detail_link:hover {
  text-decoration: underline;
}

/* 详情页专属攻略板块 */
.detail_guides_grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail_guide_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.detail_guide_item:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.detail_guide_tag {
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.detail_guide_title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail_guide_title:hover {
  color: var(--primary);
}

.detail_guide_time {
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .guide_hero_banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }
  .guide_detail_card {
    padding: 18px;
  }
  .guide_detail_title {
    font-size: 20px;
  }
  .related_grid {
    grid-template-columns: 1fr;
  }
  .guide_bottom_cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ==============================================================================
   微徽标与品质保障 (Micro Badges & Guarantees)
   ============================================================================== */
.box_priv_badge {
  display: inline-block;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 2px;
}

.hub_badge_tag {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.detail_sec_badge {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}

.guarantee_badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==============================================================================
   分类专区独立样式 (Category Channel)
   ============================================================================== */
.category_header_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid #d97706;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.cat_badge_tag_box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #d97706;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.cat_title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat_badge_pill {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 1px 8px;
  border-radius: 4px;
}

.cat_desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.category_filter_box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 2px solid var(--primary);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter_row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.filter_row_label {
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  flex-shrink: 0;
  line-height: 28px;
  width: 74px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter_tags_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  flex: 1;
}

.filter_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
  line-height: 18px;
}

.filter_tag:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.filter_tag.active {
  background: linear-gradient(135deg, #ff8f00, #ffb300);
  border-color: #d97706;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

/* ==============================================================================
   开服表频道专属样式 (Server Schedule)
   ============================================================================== */
.server_hero_banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid #d97706;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  gap: 16px;
}

.server_hero_title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.server_hero_desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.server_group_box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.server_group_header {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.server_group_title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.server_badge_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot_today {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.dot_upcoming {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.dot_recent {
  background: #64748b;
}

.server_group_count {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.server_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.server_table th {
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  padding: 8px 12px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.server_table td {
  padding: 6px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  box-sizing: border-box;
}

.server_table tr.row_hidden {
  display: none !important;
}

.server_table tr:hover {
  background-color: #fafbfc;
}

.server_table tr:last-child td {
  border-bottom: none;
}

.server_game_cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server_icon_wrap {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  flex-shrink: 0;
  background: #f1f5f9;
}

.server_actions_cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn_server_download {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  width: 72px;
  height: 30px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(239, 108, 0, 0.3);
  transition: all 0.15s ease;
}

.btn_server_download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(239, 108, 0, 0.45);
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
}

.server_search_wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.server_search_input {
  padding: 6px 14px 6px 32px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  outline: none;
  width: 200px;
  background: #ffffff;
  color: #334155;
  transition: all 0.2s ease;
}

.server_search_input:focus {
  width: 240px;
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.server_search_icon {
  position: absolute;
  left: 11px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* ==============================================================================
   活动文章页样式 (Article Detail)
   ============================================================================== */
.article_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.article_game_banner {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.article_game_info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article_game_logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article_game_title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.article_game_title a:hover {
  color: #d97706;
}

.article_game_sub {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article_game_actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn_article_download {
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(239, 108, 0, 0.3);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn_article_download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 108, 0, 0.45);
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
}

.btn_article_detail {
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.btn_article_detail:hover {
  border-color: #d97706;
  color: #d97706 !important;
}

.article_header {
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.article_title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.article_meta_row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
}

.article_status_tag {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.article_content {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
}

.article_content p,
.article_content .article_p {
  margin-bottom: 16px;
  text-indent: 0;
  line-height: 1.85;
}

.article_content .article_sec_title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 24px 0 12px 0;
  padding: 4px 0 4px 12px;
  border-left: 4px solid var(--primary, #ff7a00);
  background: linear-gradient(90deg, #fff7ed 0%, transparent 100%);
  border-radius: 0 4px 4px 0;
}

.article_content .article_list_row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.75;
  font-size: 14.5px;
}

.article_content .list_dot {
  color: var(--primary, #ff7a00);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}

.article_content .list_content {
  flex: 1;
}

.article_content .article_sublist_row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-left: 20px;
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 14px;
  color: #475569;
}

.article_content .sublist_dot {
  color: #94a3b8;
  font-size: 9px;
  margin-top: 5px;
  flex-shrink: 0;
}

.article_content .sublist_content {
  flex: 1;
}

.article_content .article_official_box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary, #ff7a00);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 26px;
}

.article_content .official_box_header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: #0f172a;
}

.article_content .official_badge {
  background: #ffedd5;
  color: #ea580c;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.article_content .official_box_list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.75;
}

.article_content .official_box_list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.article_content .official_box_list li::before {
  content: "•";
  color: var(--primary, #ff7a00);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.article_content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article_content .subheading {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 24px 0 10px 0;
  padding-left: 10px;
  border-left: 4px solid #d97706;
}

.article_content .part {
  margin-bottom: 18px;
}

.article_content .rule {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
}

.article_content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.article_content th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.article_content td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  vertical-align: middle;
}

.article_content tr:nth-child(even) {
  background: #f8fafc;
}

.article_bottom_box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article_bottom_text strong {
  font-size: 16px;
  color: #9a3412;
  display: block;
  margin-bottom: 4px;
}

.article_bottom_text span {
  font-size: 13px;
  color: #b45309;
}

@media (max-width: 768px) {
  .article_card {
    padding: 18px;
  }
  .article_game_banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .article_game_actions {
    width: 100%;
  }
  .btn_article_download, .btn_article_detail {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .article_bottom_box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================================================
   /go/ 跳转中转过渡页专属视觉体系
   ============================================================================== */
.go_transit_container {
  max-width: 600px;
  margin: 50px auto;
  padding: 0 15px;
}

.go_transit_card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.go_game_logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 16px auto;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}

.go_title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.go_badge {
  display: inline-block;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.go_status_text {
  font-size: 14px;
  color: #475569;
  margin-bottom: 18px;
  font-weight: 600;
}

.go_progress_bar {
  width: 100%;
  max-width: 380px;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 24px auto;
  position: relative;
}

.go_progress_fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffb300, #ff6f00);
  border-radius: 999px;
  animation: goProgressAnim 1.2s ease-in-out infinite;
}

@keyframes goProgressAnim {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

.go_manual_btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(239, 108, 0, 0.35);
  transition: all 0.15s ease;
  margin-bottom: 18px;
}
.go_manual_btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  box-shadow: 0 6px 16px rgba(239, 108, 0, 0.45);
  color: #ffffff !important;
}

.go_security_notice {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ==============================================================================
   9. 游戏专题专区与合集系统样式 (Milu Official Style Topic & Collection System)
   ============================================================================== */

/* 专题全局通栏独立容器 (非首页双栏网格，1200px 杂志式沉浸大屏排版) */
.topic_page_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

/* 1. 专题头部介绍卡片 (左侧横版封面大图 + 右侧核心导语与元数据) */
.topic_hero_card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.topic_hero_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, #ff9800, #ea580c);
}

.topic_hero_cover {
  width: 380px;
  height: 214px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #0f172a;
}

.topic_hero_cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.topic_hero_card:hover .topic_hero_cover img {
  transform: scale(1.03);
}

.topic_hero_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffedd5;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.topic_hero_body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topic_hero_title_row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.topic_hero_title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.topic_hero_pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.topic_hero_desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 16px 0;
  text-align: justify;
}

.topic_hero_meta_row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  color: #64748b;
  border-top: 1px dashed #e2e8f0;
  padding-top: 14px;
}

.topic_hero_meta_row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 2. 专题入选游戏列表区 (全宽富文本卡片流) */
.topic_section_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.topic_section_title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topic_section_title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary, #ff7a00);
  border-radius: 2px;
}

.topic_section_tip {
  font-size: 12.5px;
  color: #94a3b8;
}

.topic_game_stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

/* 单个入选游戏卡片 (复刻咪噜官方三段式排版) */
.topic_item_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
}

.topic_item_card:hover {
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

/* 上段：标号、图标、标题、标签与直达 CTA */
.topic_card_top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.topic_card_rank {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.topic_card_rank.rank_1 {
  background-color: #f97316;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35);
}

.topic_card_rank.rank_2 {
  background-color: #fb923c;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(251, 146, 60, 0.25);
}

.topic_card_rank.rank_3 {
  background-color: #fdba74;
  color: #7c2d12;
  box-shadow: 0 3px 8px rgba(253, 186, 116, 0.25);
}

.topic_card_icon_box {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.topic_card_icon_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic_card_discount {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #ff9a00 0%, #f97316 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-top-left-radius: 6px;
  line-height: 1.3;
}

.topic_card_meta {
  flex: 1;
  min-width: 0;
}

.topic_card_name_row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.topic_card_name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topic_card_name:hover {
  color: var(--primary, #ff7a00);
}

.topic_card_badge {
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 1px 7px;
  border-radius: 4px;
}

.topic_card_tags_row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.topic_card_tags_row .tag_genre {
  color: #2563eb;
  background: #eff6ff;
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.topic_card_tags_row .tag_size {
  color: #94a3b8;
}

.topic_card_welfare {
  font-size: 12.5px;
  color: #ea580c;
  font-weight: 600;
}

.topic_card_actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topic_action_download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(239, 108, 0, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.topic_action_download:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(239, 108, 0, 0.38);
}

.topic_action_detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.topic_action_detail:hover {
  color: #ef6c00;
  border-color: #f97316;
  background: #fff7ed;
}

/* 中段：独家深度评测与玩法介绍 (咪噜官方 .text 核心内容) */
.topic_card_body {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-left: 4px solid var(--primary, #ff7a00);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.topic_card_reason {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.6;
}

.topic_card_reason strong {
  color: var(--primary, #ff7a00);
  margin-right: 4px;
}

.topic_card_overview {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  text-align: justify;
}

/* 下段：精选特性标签与官方背书 */
.topic_card_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.topic_card_features {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic_feature_pill {
  font-size: 11px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 2px 8px;
  border-radius: 4px;
}

.topic_card_security {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 3. 底部热门手游合集推荐模块 (复刻咪噜官方底部的左右两栏合集矩阵) */
.topic_related_wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.topic_related_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.topic_related_title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.topic_related_layout {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* 左侧：精选图文专题网格 (占 64%) */
.topic_related_cards_col {
  flex: 64;
  min-width: 0;
}

.topic_related_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic_related_card_item {
  display: block;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.topic_related_card_item:hover {
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

.topic_related_card_thumb {
  width: 100%;
  height: 110px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.topic_related_card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topic_related_card_item:hover .topic_related_card_thumb img {
  transform: scale(1.05);
}

.topic_related_card_name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  padding: 8px 10px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.topic_related_card_item:hover .topic_related_card_name {
  color: var(--primary, #ff7a00);
}

/* 右侧：长尾推荐标签网格 (占 36%，复刻咪噜官方 xh_other_div 边框胶囊) */
.topic_related_tags_col {
  flex: 36;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topic_tags_col_title {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
}

.topic_tags_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.topic_tag_pill_link {
  display: block;
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #ffd8a8;
  border-radius: 4px;
  padding: 7px 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.topic_tag_pill_link:hover {
  background: #fff7ed;
  border-color: var(--primary, #ff7a00);
  color: var(--primary, #ff7a00);
}

/* 4. 专题合集大厅页样式 (Topic Archive Hub, 复刻 https://www.milu.com/topic/p7/) */
.topic_hub_stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic_hub_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 24px;
  align-items: stretch;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  text-decoration: none;
}

.topic_hub_card:hover {
  border-color: var(--primary, #ff7a00);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.12);
  transform: translateY(-2px);
}

.topic_hub_cover {
  width: 280px;
  height: 158px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.topic_hub_cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topic_hub_card:hover .topic_hub_cover img {
  transform: scale(1.04);
}

.topic_hub_content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topic_hub_title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.topic_hub_card:hover .topic_hub_title {
  color: var(--primary, #ff7a00);
}

.topic_hub_desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic_hub_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}

.topic_hub_meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: #94a3b8;
}

.topic_hub_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: var(--primary, #ff7a00);
  border: 1px solid #ffd8a8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.topic_hub_card:hover .topic_hub_btn {
  background: var(--primary, #ff7a00);
  color: #ffffff;
  border-color: var(--primary, #ff7a00);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .topic_hero_card {
    flex-direction: column;
  }
  .topic_hero_cover {
    width: 100%;
    height: 220px;
  }
  .topic_related_layout {
    flex-direction: column;
  }
  .topic_related_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topic_hub_card {
    flex-direction: column;
  }
  .topic_hub_cover {
    width: 100%;
    height: 200px;
  }
}

/* ==============================================================================
   12. 礼包中心与特权发号专用样式 (Gift Center & Privilege Hub)
   ============================================================================== */
.gift_header_card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-top: 3px solid #d97706;
  border-radius: var(--radius-md, 8px);
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.gift_header_left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gift_header_badge {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.gift_header_title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift_header_desc {
  font-size: 13.5px;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.6;
}

/* 礼包列表条目 */
.gift_list_container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.gift_card_row {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.gift_card_row:hover {
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
  transform: translateY(-1px);
}

.gift_card_main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.gift_game_icon_wrap {
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.gift_game_icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift_discount_badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ff9a00 0%, #f97316 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-bottom-left-radius: 6px;
  line-height: 1.2;
}

.gift_card_info {
  flex: 1;
  min-width: 0;
}

.gift_card_title_row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.gift_card_title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  text-decoration: none;
  transition: color 0.2s;
}

.gift_card_title:hover {
  color: #ea580c;
}

.gift_type_pill {
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 1px 7px;
  border-radius: 4px;
}

.gift_card_desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gift_card_meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #94a3b8;
}

.gift_card_amount {
  color: #16a34a;
  font-weight: 700;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #dcfce7;
}

.gift_card_action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.gift_btn_receive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 8px rgba(239, 108, 0, 0.28);
  letter-spacing: 0.5px;
}

.gift_btn_receive:hover,
.gift_btn_receive:active {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(239, 108, 0, 0.42);
}

.gift_btn_detail {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.gift_btn_detail:hover {
  color: #ea580c;
}

/* 礼包详情落地页样式 */
.gift_detail_hero {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card, 0 1px 3px rgba(0, 0, 0, 0.04));
}

.gift_detail_top_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.gift_detail_info_left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.gift_detail_icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gift_detail_name_wrap {
  flex: 1;
}

.gift_detail_h1 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main, #1e293b);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.gift_detail_params {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.gift_detail_actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.gift_detail_btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 108, 0, 0.35);
  transition: all 0.2s;
  border: none;
}

.gift_detail_btn_primary:hover {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 108, 0, 0.48);
}

.gift_content_card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.gift_section_h2 {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gift_items_box {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-left: 3px solid #f97316;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  font-weight: 500;
}

.gift_steps_list {
  padding-left: 20px;
  margin: 8px 0 0 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.8;
}

/* ==============================================================================
   13. 全局礼包领取弹窗 (Gift Privilege Modal)
   ============================================================================== */
.gift_modal_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.gift_modal_overlay.active {
  display: flex;
}

.gift_modal_content {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: giftModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}

@keyframes giftModalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gift_modal_header {
  padding: 14px 20px;
  background: linear-gradient(90deg, #ef6c00 0%, #ff8f1f 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.gift_modal_title_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift_modal_title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.gift_modal_close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.gift_modal_close:hover {
  opacity: 1;
}

.gift_modal_body {
  padding: 20px 24px;
}

.gift_modal_game_name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.gift_modal_box_notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gift_notice_badge {
  background: #f97316;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.gift_notice_text {
  font-size: 12.5px;
  color: #9a3412;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.gift_modal_section_label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.gift_modal_items {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #f97316;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 16px;
}

.gift_modal_guide {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 6px;
}

.gift_modal_actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.gift_modal_btn_primary {
  flex: 1;
  background: linear-gradient(135deg, #ff8f1f 0%, #ef6c00 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 108, 0, 0.32);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 44px;
  letter-spacing: 0.5px;
}

.gift_modal_btn_primary:hover,
.gift_modal_btn_primary:active {
  background: linear-gradient(135deg, #ffa244 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 108, 0, 0.45);
}

.gift_modal_btn_secondary {
  flex: 1;
  background: #f8fafc;
  color: #475569 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 44px;
}

.gift_modal_btn_secondary:hover {
  background: #f1f5f9;
  color: #1e293b !important;
  border-color: #94a3b8;
}

@media (max-width: 768px) {
  .gift_card_row {
    flex-direction: column;
    align-items: flex-start;
  }
  .gift_card_action {
    width: 100%;
    align-items: stretch;
  }
  .gift_btn_receive {
    width: 100%;
    text-align: center;
  }
  .gift_detail_top_grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .gift_modal_actions {
    flex-direction: column;
  }
  .gift_real_row_card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gift_real_row_actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
}
