/* ============================================
   2026一建真题答案·估分专题
   深色主题，与主站一致
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg-primary, #1a1a2e);
  color: var(--text-primary, #eaeaea);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.gf-wrap { max-width: 860px; margin: 0 auto; padding: 0 16px 72px; }

/* 顶部条 */
.gf-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gf-topbar-inner {
  max-width: 860px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.gf-logo { font-size: 17px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.gf-logo i { font-style: normal; }
.gf-logo span { color: #e94560; }
.gf-topbar-actions { display: flex; gap: 10px; align-items: center; }
.gf-topbar-actions a { font-size: 13px; color: var(--text-secondary, #a0a0a0); }
.gf-topbar-actions a:hover { color: #fff; }

/* Hero */
.gf-hero { padding: 44px 4px 24px; text-align: center; }
.gf-hero-badge {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: rgba(233,69,96,0.14); color: #ff8fa3;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
  border: 1px solid rgba(233,69,96,0.35);
}
.gf-hero h1 { font-size: 30px; line-height: 1.35; font-weight: 800; color: #fff; }
.gf-hero-hl {
  background: linear-gradient(120deg, #e94560, #ff8fa3);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gf-hero-sub { margin-top: 14px; color: var(--text-secondary, #a0a0a0); font-size: 14px; }
.gf-hero-sub strong { color: #ffd166; font-weight: 600; }

/* 卡片 */
.gf-card {
  background: var(--bg-card, #1f2940);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px;
  margin: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* 按钮 */
.gf-btn {
  display: inline-block; padding: 11px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-align: center;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer; border: none;
}
.gf-btn-primary {
  background: linear-gradient(135deg, #e94560, #c73650);
  color: #fff; box-shadow: 0 4px 16px rgba(233,69,96,0.35);
}
.gf-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(233,69,96,0.5); }
.gf-btn-ghost {
  background: transparent; color: var(--text-primary, #eaeaea);
  border: 1px solid rgba(255,255,255,0.22);
}
.gf-btn-ghost:hover { border-color: #e94560; color: #ff8fa3; }
.gf-btn-lg { width: 100%; padding: 15px; font-size: 17px; margin-top: 8px; }

/* 考前状态 */
.gf-pending { text-align: center; padding: 44px 28px; }
.gf-pending-icon { font-size: 52px; margin-bottom: 10px; }
.gf-pending h2 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.gf-pending-tip { color: var(--text-secondary, #a0a0a0); font-size: 15px; max-width: 560px; margin: 0 auto 24px; }
.gf-pending-tip strong { color: #ffd166; }
.gf-pending-info {
  text-align: left; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  padding: 18px 20px; margin: 0 auto 26px; max-width: 600px;
}
.gf-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,0.08); flex-wrap: wrap; }
.gf-info-row:last-child { border-bottom: none; }
.gf-info-row span { color: var(--text-muted, #8b93a7); flex-shrink: 0; }
.gf-info-row strong { color: var(--text-primary, #eaeaea); font-weight: 600; text-align: right; }
.gf-pending-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.gf-pending-note { font-size: 13px; color: var(--text-muted, #8b93a7); max-width: 560px; margin: 0 auto; }

/* 进度条 */
.gf-progress-bar-card { padding: 16px 22px; }
.gf-progress-info { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.gf-progress-info span:first-child { color: #fff; font-weight: 600; }
.gf-progress-hint { color: var(--text-muted, #8b93a7); font-size: 13px; }
.gf-progress-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.gf-progress-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #e94560, #ff8fa3); transition: width .3s; }

/* 分段标题 */
.gf-section-title {
  margin: 28px 4px 12px; font-size: 17px; font-weight: 700; color: #fff;
}
.gf-section-title span { font-size: 13px; color: var(--text-muted, #8b93a7); font-weight: 400; margin-left: 8px; }

/* 题目卡片 */
.gf-q { padding: 20px 22px; }
.gf-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.gf-q-no {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(233,69,96,0.15); color: #ff8fa3;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.gf-q-type { font-size: 12px; color: var(--text-muted, #8b93a7); border: 1px solid rgba(255,255,255,0.15); padding: 2px 10px; border-radius: 99px; }
.gf-q-chapter { font-size: 12px; color: #7fa8e8; margin-left: auto; }
.gf-q-tag { font-size: 12px; padding: 2px 10px; border-radius: 99px; font-weight: 600; }
.gf-tag-wrong { background: rgba(232,110,110,0.18); color: #ff9b9b; }
.gf-tag-partial { background: rgba(218,176,82,0.18); color: #f0d48a; }
.gf-tag-un { background: rgba(132,155,190,0.18); color: #a8b8d4; }
.gf-q-content { font-size: 15.5px; color: var(--text-primary, #eaeaea); margin-bottom: 14px; white-space: normal; }

/* 选项 */
.gf-options { display: flex; flex-direction: column; gap: 10px; }
.gf-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,0.035);
  border: 1.5px solid rgba(255,255,255,0.08);
  transition: border-color .15s, background .15s;
}
.gf-opt:hover { border-color: rgba(233,69,96,0.45); background: rgba(233,69,96,0.06); }
.gf-opt input { margin-top: 4px; accent-color: #e94560; width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.gf-opt:has(input:checked) { border-color: #e94560; background: rgba(233,69,96,0.1); }
.gf-opt:has(input:disabled) { cursor: default; }
.gf-opt-letter { font-weight: 700; color: #ff8fa3; flex-shrink: 0; width: 18px; }
.gf-opt-text { font-size: 14.5px; color: var(--text-primary, #eaeaea); }
.gf-q.gf-q-graded-right .gf-opt:has(input:checked) { border-color: #52c48f; background: rgba(82,196,143,0.1); }
.gf-q.gf-q-graded-right .gf-q-no { background: rgba(82,196,143,0.18); color: #7fe0b3; }
.gf-q.gf-q-graded-wrong .gf-q-no { background: rgba(232,110,110,0.2); color: #ff9b9b; }
.gf-q.gf-q-graded-partial .gf-q-no { background: rgba(218,176,82,0.2); color: #f0d48a; }
.gf-q.gf-q-graded-unanswered .gf-q-no { background: rgba(132,155,190,0.2); color: #a8b8d4; }
.gf-q-result {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); font-size: 14px; color: var(--text-secondary, #a0a0a0);
}
.gf-q-exp {
  margin-top: 12px; padding: 14px 16px; border-radius: 10px;
  background: rgba(78,151,245,0.08); border-left: 3px solid #4e97f5;
  font-size: 14px; color: var(--text-secondary, #c0cce0);
}
.gf-q-ans-line { font-size: 14px; margin-bottom: 6px; color: var(--text-secondary, #a0a0a0); }
.gf-ans-right { color: #7fe0b3; }
.gf-ans-wrong { color: #ff9b9b; }
.gf-ans-partial { color: #f0d48a; }

/* 案例题 */
.gf-q-case { border-left: 3px solid #dab052; }
.gf-case-toggle {
  background: rgba(218,176,82,0.12); color: #f0d48a;
  border: 1px solid rgba(218,176,82,0.4); border-radius: 10px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.gf-case-toggle:hover { background: rgba(218,176,82,0.22); }
.gf-case-answer { margin-top: 16px; }
.gf-case-answer-body {
  background: rgba(255,255,255,0.04); border-radius: 10px;
  padding: 16px 18px; font-size: 14.5px; color: var(--text-primary, #eaeaea);
  white-space: normal;
}
.gf-case-exp {
  margin-top: 12px; padding: 12px 16px; border-radius: 10px;
  background: rgba(78,151,245,0.08); border-left: 3px solid #4e97f5;
  font-size: 14px; color: var(--text-secondary, #c0cce0);
}

/* 提交区 */
.gf-case-self { margin-bottom: 14px; }
.gf-case-self label { font-size: 15px; color: var(--text-primary, #eaeaea); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gf-case-self input {
  width: 90px; padding: 9px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 16px; font-weight: 700; text-align: center;
}
.gf-case-self input:focus { outline: none; border-color: #e94560; }
.gf-case-tip { font-size: 13px; color: var(--text-muted, #8b93a7); margin-top: 8px; }
.gf-submit-note { text-align: center; margin-top: 12px; font-size: 14px; color: var(--text-muted, #8b93a7); min-height: 22px; }
.gf-warn { color: #f0d48a !important; }

/* 报告 */
.gf-report { text-align: center; padding: 36px 26px; position: relative; }
.gf-report-tag {
  position: absolute; top: 16px; left: 20px; font-size: 12px;
  color: var(--text-muted, #8b93a7); letter-spacing: 2px;
}
.gf-report-score { margin: 8px 0 6px; }
.gf-report-num { font-size: 64px; font-weight: 800; color: #fff; line-height: 1; }
.gf-report-full { font-size: 18px; color: var(--text-muted, #8b93a7); }
.gf-report-pass { font-size: 15px; color: var(--text-secondary, #a0a0a0); margin-bottom: 14px; }
.gf-diff-up { color: #7fe0b3; font-weight: 700; }
.gf-diff-down { color: #ff9b9b; font-weight: 700; }
.gf-report-band {
  display: inline-block; padding: 8px 22px; border-radius: 99px;
  font-size: 16px; font-weight: 700; margin-bottom: 14px;
}
.gf-band-good .gf-report-band { background: rgba(82,196,143,0.18); color: #7fe0b3; }
.gf-band-ok .gf-report-band { background: rgba(82,196,143,0.12); color: #9fe8c6; }
.gf-band-warn .gf-report-band { background: rgba(218,176,82,0.18); color: #f0d48a; }
.gf-band-bad .gf-report-band { background: rgba(232,110,110,0.18); color: #ff9b9b; }
.gf-band-good { border-color: rgba(82,196,143,0.4); }
.gf-band-ok { border-color: rgba(82,196,143,0.25); }
.gf-band-warn { border-color: rgba(218,176,82,0.4); }
.gf-band-bad { border-color: rgba(232,110,110,0.4); }
.gf-report-advice { font-size: 14.5px; color: var(--text-secondary, #c0cce0); max-width: 600px; margin: 0 auto 18px; }
.gf-report-rule {
  font-size: 12.5px; color: var(--text-muted, #8b93a7);
  background: rgba(255,255,255,0.035); border-radius: 10px; padding: 12px 16px; text-align: left;
}
.gf-report-detail h3, .gf-report-cta h3 { font-size: 17px; color: #fff; margin-bottom: 16px; }
.gf-stat-row { display: flex; gap: 12px; flex-wrap: wrap; }
.gf-stat {
  flex: 1; min-width: 100px; text-align: center;
  background: rgba(255,255,255,0.04); border-radius: 10px; padding: 14px 8px;
}
.gf-stat strong { display: block; font-size: 24px; color: #fff; font-weight: 800; }
.gf-stat span { font-size: 12.5px; color: var(--text-muted, #8b93a7); }
.gf-stat-r strong { color: #7fe0b3; }
.gf-stat-p strong { color: #f0d48a; }
.gf-stat-w strong { color: #ff9b9b; }
.gf-report-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
.gf-report-cta h3 { text-align: left; }

/* 底部科目导航 */
.gf-foot { margin-top: 36px; }
.gf-foot-title { font-size: 16px; font-weight: 700; color: #fff; margin: 0 4px 14px; }
.gf-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.gf-foot-card {
  background: var(--bg-card, #1f2940); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s, transform .15s;
}
.gf-foot-card:hover { border-color: #e94560; transform: translateY(-2px); }
.gf-foot-card strong { color: #fff; font-size: 15px; }
.gf-foot-card span { color: var(--text-muted, #8b93a7); font-size: 13px; }
.gf-foot-cta { text-align: center; margin-top: 28px; }
.gf-foot-cta p { color: var(--text-secondary, #a0a0a0); font-size: 14px; margin-bottom: 16px; }

/* 专题首页 */
.gf-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.gf-subj-card {
  background: var(--bg-card, #1f2940); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 24px 22px; display: block;
  transition: transform .18s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.gf-subj-card:hover { transform: translateY(-3px); border-color: rgba(233,69,96,0.5); box-shadow: 0 10px 30px rgba(233,69,96,0.15); }
.gf-subj-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gf-subj-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; }
.gf-subj-status { font-size: 12px; padding: 4px 12px; border-radius: 99px; font-weight: 600; }
.gf-status-pending { background: rgba(218,176,82,0.15); color: #f0d48a; }
.gf-status-released { background: rgba(82,196,143,0.15); color: #7fe0b3; }
.gf-subj-card h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.gf-subj-card .gf-subj-slot { font-size: 13px; color: var(--text-muted, #8b93a7); margin-bottom: 14px; }
.gf-subj-meta { display: flex; gap: 14px; font-size: 13px; color: var(--text-secondary, #a0a0a0); }
.gf-subj-meta strong { color: #fff; }
.gf-subj-go { margin-top: 16px; color: #ff8fa3; font-size: 14px; font-weight: 600; }
.gf-home-note {
  margin-top: 28px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 22px 24px;
}
.gf-home-note h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.gf-home-note p { color: var(--text-secondary, #a0a0a0); font-size: 14px; margin-bottom: 8px; }
.gf-home-note p strong { color: #ffd166; }

/* 移动端 */
@media (max-width: 640px) {
  .gf-hero h1 { font-size: 23px; }
  .gf-hero { padding: 30px 2px 18px; }
  .gf-card { padding: 18px 16px; }
  .gf-report-num { font-size: 52px; }
  .gf-topbar-actions a.gf-hide-sm { display: none; }
  .gf-q-chapter { display: none; }
}
