/* PC 页面专属样式 */

/* ===== 资料详情 — 双栏布局 ===== */
.pc-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.pc-detail-main { min-width: 0; }

.pc-detail-sidebar {
  position: sticky;
  top: calc(var(--pc-header-h) + 16px);
}

.pc-author-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.pc-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid var(--pc-accent-light);
}

body.pc-detail-page .pc-author-avatar {
  margin: 0;
  border: 0;
  overflow: visible;
}

.pc-author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.pc-author-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.pc-author-tag { font-size: 12px; color: var(--pc-accent); margin-bottom: 8px; }
.pc-author-intro { font-size: 12px; color: var(--pc-text-muted); line-height: 1.6; margin-bottom: 14px; }

.pc-author-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pc-author-stat {
  padding: 10px;
  background: #f8fafc;
  border-radius: var(--pc-radius-sm);
}

.pc-author-stat strong { display: block; font-size: 18px; font-weight: 800; }
.pc-author-stat span { font-size: 11px; color: var(--pc-text-muted); }

.pc-buy-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 20px;
}

.pc-buy-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--pc-accent-dark);
  margin-bottom: 4px;
}

.pc-buy-price.is-free { color: var(--pc-green); font-size: 22px; }

.pc-buy-meta { font-size: 12px; color: var(--pc-text-muted); margin-bottom: 16px; }

.pc-buy-actions { display: flex; flex-direction: column; gap: 8px; }

.pc-mat-header {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 24px;
  margin-bottom: 16px;
}

.pc-mat-head-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pc-mat-thumb {
  width: 120px;
  height: 80px;
  border-radius: var(--pc-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.pc-mat-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pc-mat-head-main { flex: 1; min-width: 0; }

.pc-mat-period-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pc-mat-period { font-size: 22px; font-weight: 800; }

.pc-mat-title { font-size: 15px; color: var(--pc-text-muted); margin-bottom: 10px; line-height: 1.5; }

.pc-mat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--pc-text-light);
}

.pc-mat-meta i { margin-right: 3px; }

.pc-predict-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--pc-radius);
  padding: 24px;
  margin-bottom: 16px;
  color: #f8fafc;
}

.pc-predict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pc-predict-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-predict-head em { font-style: normal; font-size: 11px; color: #94a3b8; }

.pc-predict-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-predict-chips .num-chip,
.pc-predict-chips .predict-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pc-predict-chips .num-chip.is-red,
.pc-predict-chips .predict-chip.wave-red { background: rgba(239, 68, 68, 0.25); border-color: rgba(239, 68, 68, 0.4); }
.pc-predict-chips .num-chip.is-blue,
.pc-predict-chips .predict-chip.wave-blue { background: rgba(59, 130, 246, 0.25); border-color: rgba(59, 130, 246, 0.4); }
.pc-predict-chips .num-chip.is-green,
.pc-predict-chips .predict-chip.wave-green { background: rgba(34, 197, 94, 0.25); border-color: rgba(34, 197, 94, 0.4); }

/* 来自 phone_render_predict_chips 的号码球 */
.pc-predict-chips .detail-predict-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pc-predict-chips .detail-predict-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pc-predict-chips .detail-predict-num { font-size: 16px; font-weight: 800; }
.pc-predict-chips .detail-predict-zodiac { width: 22px; height: 22px; margin-top: 2px; }
.pc-predict-chips .detail-predict-zodiac-text { font-size: 10px; opacity: 0.85; }
.pc-predict-chips .detail-predict-plus { font-size: 20px; font-weight: 700; opacity: 0.6; }
.pc-predict-chips .tone-red { background: rgba(239, 68, 68, 0.25); border-color: rgba(239, 68, 68, 0.4); }
.pc-predict-chips .tone-blue { background: rgba(59, 130, 246, 0.25); border-color: rgba(59, 130, 246, 0.4); }
.pc-predict-chips .tone-green { background: rgba(34, 197, 94, 0.25); border-color: rgba(34, 197, 94, 0.4); }

.pc-lock-box {
  position: relative;
  padding: 32px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--pc-radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.pc-lock-box p { margin: 8px 0 0; font-size: 13px; color: #cbd5e1; }

.pc-lock-blur {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
  pointer-events: none;
}

.pc-lock-mask { position: relative; z-index: 1; }

.pc-content-block {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  margin-bottom: 16px;
  overflow: hidden;
}

.pc-content-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--pc-border);
  background: #fafbfc;
}

.pc-content-block-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-content-block-head em { font-style: normal; font-size: 11px; color: var(--pc-text-light); }

.pc-content-block-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--pc-text);
}

/* ===== AI 页 ===== */
.pc-ai-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-radius: var(--pc-radius);
  color: #fff;
  box-shadow: var(--pc-shadow-lg);
}

.pc-ai-hero h2 { margin: 0 0 6px; font-size: 22px; }
.pc-ai-hero p { margin: 0; font-size: 13px; opacity: 0.8; }

.pc-ai-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pc-ai-kpi-item {
  padding: 16px 18px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
}

.pc-ai-kpi-item em { display: block; font-style: normal; font-size: 11px; color: var(--pc-text-muted); margin-bottom: 4px; }
.pc-ai-kpi-item b { display: block; font-size: 22px; font-weight: 800; }
.pc-ai-kpi-item span { font-size: 11px; color: var(--pc-text-light); }

.pc-ai-kpi-item.is-accent { background: linear-gradient(135deg, #fef3c7, #fff); border-color: #fde68a; }

.pc-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pc-ai-chart-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.pc-ai-chart-tabs button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pc-border);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-text-muted);
  cursor: pointer;
}

.pc-ai-chart-tabs button.is-on {
  background: var(--pc-text);
  border-color: var(--pc-text);
  color: #fff;
}

.pc-ai-chart-panel { display: none; }
.pc-ai-chart-panel.is-on { display: block; }

/* ===== 登录页 ===== */
.pc-auth-wrap {
  width: min(960px, 94vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--pc-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--pc-shadow-lg);
}

.pc-auth-visual {
  position: relative;
  min-height: 480px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}

.pc-auth-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.pc-auth-visual h1 {
  position: relative;
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
}

.pc-auth-visual p {
  position: relative;
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
}

.pc-auth-form {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pc-auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
}

.pc-auth-tab {
  flex: 1;
  padding: 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-text-muted);
  cursor: pointer;
}

.pc-auth-tab.is-active {
  background: var(--pc-surface);
  color: var(--pc-text);
  box-shadow: var(--pc-shadow);
}

.pc-auth-panel { display: none; }
.pc-auth-panel.is-active { display: block; }

.pc-auth-field { margin-bottom: 16px; }

.pc-auth-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.pc-auth-input:focus { border-color: var(--pc-accent); box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12); }

.pc-auth-submit {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--pc-radius-sm);
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #1a1200;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pc-auth-tip {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--pc-text-muted);
}

.pc-auth-tip button {
  border: 0;
  background: none;
  color: var(--pc-accent);
  font-weight: 600;
  cursor: pointer;
}

/* ===== 个人中心 ===== */
.pc-account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

.pc-account-sidebar {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 24px;
  text-align: center;
}

.pc-account-menu {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}

.pc-account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  transition: background 0.15s;
}

.pc-account-menu-item:last-child { border-bottom: 0; }
.pc-account-menu-item:hover { background: #f8fafc; }
.pc-account-menu-item i { font-size: 20px; color: var(--pc-text-muted); width: 24px; }
.pc-account-menu-item strong { margin-left: auto; font-size: 12px; color: var(--pc-text-light); }

.pc-vip-banner {
  display: block;
  margin-bottom: 16px;
  border-radius: var(--pc-radius);
  overflow: hidden;
  box-shadow: var(--pc-shadow);
}

.pc-vip-banner img { width: 100%; }

/* ===== 客服 / Hero 页 ===== */
.pc-page-hero {
  padding: 32px 36px;
  margin-bottom: 20px;
  border-radius: var(--pc-radius);
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  box-shadow: var(--pc-shadow-lg);
}

.pc-page-hero h2 { margin: 0 0 8px; font-size: 24px; }
.pc-page-hero p { margin: 0; font-size: 14px; opacity: 0.8; }

.pc-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pc-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.pc-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.pc-contact-card strong { display: block; font-size: 14px; margin-bottom: 2px; }
.pc-contact-card span { font-size: 12px; color: var(--pc-text-muted); }

@media (max-width: 1100px) {
  .pc-detail-layout { grid-template-columns: 1fr; }
  .pc-detail-sidebar { position: static; }
  .pc-ai-grid { grid-template-columns: 1fr; }
  .pc-ai-kpi { grid-template-columns: repeat(2, 1fr); }
  .pc-account-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pc-auth-wrap { grid-template-columns: 1fr; }
  .pc-auth-visual { min-height: 200px; }
  .pc-contact-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ / 公告 / 账户表单 ===== */
.pc-faq-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  height: 40px;
  padding: 0 14px;
  margin-bottom: 16px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: 999px;
}

.pc-faq-search input { flex: 1; border: 0; outline: none; font-size: 13px; }

.pc-faq-item {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.pc-faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.pc-faq-item summary::-webkit-details-marker { display: none; }
.pc-faq-num { font-size: 12px; color: var(--pc-accent); font-weight: 800; min-width: 24px; }
.pc-faq-answer { padding: 0 18px 16px 54px; font-size: 13px; line-height: 1.75; color: var(--pc-text-muted); }

.pc-notice-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.pc-notice-item:last-child { border-bottom: 0; }
.pc-notice-item time { font-size: 12px; color: var(--pc-text-light); }
.pc-notice-item h3 { margin: 8px 0; font-size: 15px; }
.pc-notice-item p { margin: 0; font-size: 13px; color: var(--pc-text-muted); line-height: 1.7; }

.pc-form-panel { max-width: 560px; }
.pc-form-field { margin-bottom: 16px; }
.pc-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--pc-text-muted); margin-bottom: 6px; }
.pc-form-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  font-size: 14px;
  outline: none;
}
.pc-form-input:focus { border-color: var(--pc-accent); box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12); }

.pc-vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pc-vip-pkg {
  padding: 20px;
  background: var(--pc-surface);
  border: 2px solid var(--pc-border);
  border-radius: var(--pc-radius);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pc-vip-pkg.is-selected { border-color: var(--pc-accent); box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15); }
.pc-vip-pkg-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.pc-vip-pkg-price { font-size: 28px; font-weight: 800; color: var(--pc-accent-dark); }
.pc-vip-pkg-price small { font-size: 13px; font-weight: 500; color: var(--pc-text-muted); }
.pc-vip-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.pc-vip-perk { padding: 14px; background: #f8fafc; border-radius: var(--pc-radius-sm); text-align: center; font-size: 12px; }
.pc-vip-perk i { display: block; font-size: 24px; color: var(--pc-accent); margin-bottom: 6px; }

.pc-order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}
.pc-order-item:last-child { border-bottom: 0; }
.pc-order-main { flex: 1; min-width: 0; }
.pc-order-title { font-weight: 600; margin-bottom: 4px; }
.pc-order-meta { font-size: 12px; color: var(--pc-text-muted); }
.pc-order-price { font-weight: 800; color: var(--pc-accent-dark); white-space: nowrap; }

@media (max-width: 900px) {
  .pc-vip-grid, .pc-vip-perks { grid-template-columns: 1fr 1fr; }
}
