/* ==========================================================================
   CatchReset - Apple Design System (Light Theme)
   Inspired by Apple.com & Human Interface Guidelines
   ========================================================================== */

:root {
  /* Apple Light Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #fbfbfd;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f7;
  --bg-tertiary: #f5f5f7;
  --bg-elevated: #ffffff;
  
  /* Hairline Borders */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.05);
  --border-focus: #0071e3;
  
  /* Apple Typography Scale */
  --text-main: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-dim: #a1a1a6;
  
  /* Apple System Accents */
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-cyan: #0071e3;
  --accent-green: #34c759;
  --accent-green-dark: #248a3d;
  --accent-amber: #ff9500;
  --accent-amber-dark: #c97500;
  --accent-rose: #ff3b30;
  --accent-purple: #af52de;
  
  /* Typography Stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
  
  /* Apple Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 980px;
  
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   顶部导航栏 (Apple Frosted Glass Header)
   ========================================================================== */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.2);
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-text p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* 顶部 AI 专页快速切换菜单 (Apple Segmented Bar) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px;
  border-radius: var(--radius-pill);
}

.nav-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.7);
}

.nav-item.active {
  color: var(--accent-blue);
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.btn-dedicated-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 113, 227, 0.08);
  transition: all 0.2s ease;
}

.btn-dedicated-link:hover {
  background: rgba(0, 113, 227, 0.16);
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 实时监控状态胶囊 */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(52, 199, 89, 0.1);
  color: var(--accent-green-dark);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* 语言切换按钮 (Apple 胶囊药丸样式) */
.btn-lang {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lang:hover {
  background: #ebebee;
  color: var(--accent-blue);
}

/* ==========================================================================
   Hero 主屏宣传区 (Apple Showcase Style)
   ========================================================================== */
.hero {
  padding: 64px 0 44px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-brand-pill img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: block;
}

.hero-brand-pill span {
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.04em;
}

.hero h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Apple 分段控制选项卡 (Segmented Control Tabs)
   ========================================================================== */
.tabs-nav {
  display: flex;
  gap: 4px;
  padding: 6px;
  margin: 28px 0 0;
  background: #f0f0f2;
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--text-main);
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   内容板块基础容器
   ========================================================================== */
.tab-content {
  display: none;
  padding: 32px 0 72px;
}

.tab-content.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-wrap h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--text-main);
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 13.5px;
}

.section-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 按钮规范 (Apple Buttons) */
.btn-secondary {
  background: #f5f5f7;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: #ebebee;
  color: var(--accent-blue);
  border-color: rgba(0, 113, 227, 0.2);
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ==========================================================================
   平台状态卡片网格 (Platform Cards)
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.platform-card:hover {
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.card-title-group h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 2px;
}

.card-title-group span {
  font-size: 12px;
  color: var(--text-muted);
}

/* 状态标签徽章 (iOS Style Capsules) */
.status-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.status-tag.normal {
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green-dark);
  border: 1px solid rgba(52, 199, 89, 0.25);
}

.status-tag.warning {
  background: rgba(255, 149, 0, 0.12);
  color: var(--accent-amber-dark);
  border: 1px solid rgba(255, 149, 0, 0.25);
}

.status-tag.bonus_active {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 113, 227, 0.25);
}

/* 倒计时面板 */
.timer-container {
  background: #fbfbfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.timer-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  font-weight: 600;
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.timer-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 8px;
}

.timer-sub strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* 信号源说明 */
.signal-box {
  background: #f5f5f7;
  border-left: 3px solid var(--accent-blue);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
}

.signal-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 500;
}

.signal-content {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.45;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.card-footer strong {
  color: var(--text-main);
}

.card-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

/* ==========================================================================
   速刷提示词库模块 (Prompts)
   ========================================================================== */
.prompts-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f5f5f7;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #ebebee;
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  font-weight: 600;
}

.prompts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease;
}

.prompt-card:hover {
  box-shadow: var(--shadow-card);
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.prompt-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.prompt-badges {
  display: flex;
  gap: 6px;
}

.badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
  font-weight: 500;
}

.badge.cost {
  color: var(--accent-amber-dark);
  background: rgba(255, 149, 0, 0.08);
  border-color: rgba(255, 149, 0, 0.2);
}

.prompt-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* Apple Developer 风格极简代码块 */
.prompt-code-wrap {
  position: relative;
  background: #f8f8fa;
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #2c2c2e;
  white-space: pre-wrap;
  word-break: break-all;
}

.btn-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid #d2d2d7;
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

/* ==========================================================================
   规则百科模块 (Rules Wiki)
   ========================================================================== */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rule-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.rule-box h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.tier-table th, .tier-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.tier-table th {
  background: #fbfbfd;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-table td {
  color: var(--text-main);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fbfbfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: background-color 0.2s ease;
}

.faq-item:hover {
  background: #f5f5f7;
}

.faq-q {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   订阅通道与私域板块 (Subscribe & VIP)
   ========================================================================== */
.subscribe-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.sub-card h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.sub-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d2d2d7;
  color: var(--text-main);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* VIP 卡片 (Apple Space Black / Pro Tier Aesthetic) */
.vip-card {
  background: linear-gradient(145deg, #1d1d1f 0%, #2c2c2e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.vip-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.vip-card h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: #ffffff;
}

.vip-card p {
  font-size: 13.5px;
  color: #d1d5db;
  margin-bottom: 24px;
  line-height: 1.6;
}

.vip-card .btn-primary {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: none;
}

.vip-card .btn-primary:hover {
  background: #f5f5f7;
  color: #000000;
}

/* ==========================================================================
   页脚 (Apple Minimal Footer)
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  background: #fbfbfd;
  padding: 36px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   消息提示框 (Apple Dynamic Island / HUD Capsule)
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(29, 29, 31, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 500;
  z-index: 1000;
  display: none;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   遥测与健康度指示器 (Telemetry & Quality Badges in Cards)
   ========================================================================== */
.card-telemetry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fbfbfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telemetry-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.prob-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prob-bar {
  flex: 1;
  height: 6px;
  background: #e5e5ea;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.prob-fill {
  height: 100%;
  background: var(--accent-blue);
  border-radius: var(--radius-pill);
  transition: width 0.5s ease;
}

.prob-val {
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-main);
  white-space: nowrap;
}

.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.quality-badge.optimal {
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green-dark);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.quality-badge.degradation_alert {
  background: rgba(255, 149, 0, 0.12);
  color: var(--accent-amber-dark);
  border: 1px solid rgba(255, 149, 0, 0.25);
}

.quality-badge.peak_load {
  background: rgba(255, 59, 48, 0.1);
  color: var(--accent-rose);
  border: 1px solid rgba(255, 59, 48, 0.2);
}

/* ==========================================================================
   报错速查模块 (Error Solvers)
   ========================================================================== */
.errors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.error-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease;
}

.error-card:hover {
  box-shadow: var(--shadow-card);
}

.error-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.error-platform {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.error-code-box {
  background: #f8f8fa;
  border: 1px solid #e5e5ea;
  border-left: 3px solid #ff3b30;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #1d1d1f;
  margin-bottom: 16px;
  font-weight: 500;
}

.error-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fbfbfd;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.error-detail-col h5 {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.error-detail-col p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.45;
}

/* ==========================================================================
   等待成本计算器模块 (Wait & Loss Calculator)
   ========================================================================== */
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.calc-input-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.calc-result-card {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 24px;
}

.metric-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-subtle);
}

.metric-item .metric-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-item .metric-val {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.metric-item.highlight .metric-val {
  color: #ff3b30;
}

/* ==========================================================================
   开源项目 README 动态徽章 (GitHub Badges)
   ========================================================================== */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-subtle);
}

.badge-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge-preview-box {
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.badge-code-wrap {
  position: relative;
  background: #f8f8fa;
  border: 1px solid #e5e5ea;
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #515154;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-copy-badge {
  background: #ffffff;
  border: 1px solid #d2d2d7;
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 10px;
}

.btn-copy-badge:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

/* ==========================================================================
   官方突发重置公告时间轴 (Official Drops Feed)
   ========================================================================== */
.drops-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.drop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.drop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.drop-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drop-type-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.drop-type-tag.regular {
  background: rgba(52, 199, 89, 0.1);
  color: var(--accent-green-dark);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.drop-type-tag.banked {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.drop-time-tag {
  font-size: 12px;
  color: var(--text-muted);
}

.drop-tweet-quote {
  background: #fbfbfd;
  border-left: 3px solid var(--accent-blue);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.drop-tweet-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
  font-style: normal;
  margin-bottom: 4px;
}

.drop-tweet-orig {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.drop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.drop-author {
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   赞助合作与 Remote MCP 布局 (Sponsor & MCP Cards)
   ========================================================================== */
.sponsor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sponsor-media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sponsor-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}

.s-metric {
  background: #fbfbfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.s-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.s-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.mcp-card {
  background: #fbfbfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mcp-card h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text-main);
}

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 860px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  .subscribe-layout {
    grid-template-columns: 1fr;
  }
  .tabs-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
