/* 中国搜索 AI-ready 官网 — 共享样式 */
:root {
  --red: #C7000B;
  --red-dark: #9A0009;
  --red-light: #FFF3F3;
  --ink: #22252A;
  --gray: #5A6068;
  --gray-light: #8A9098;
  --line: #E6E8EC;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ===== 顶部栏 ===== */
.topbar { background: var(--ink); color: #cfd3d8; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; padding: 6px 0; }
.topbar a { color: #e8eaed; margin-left: 16px; }

/* ===== 头部 ===== */
.site-header { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
/* 官网原版 logo：83x38，图片为 2x 清晰度 */
.brand-logo {
  width: 83px;
  height: 38px;
  background: url(assets/logo.png);
  background-size: 100% 100%;
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #ff5151;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink); font-size: 15px; padding: 8px 14px; border-radius: 6px;
}
.main-nav a:hover, .main-nav a.active { background: var(--red); color: #fff; text-decoration: none; }

/* ===== 下拉菜单（公司业务） ===== */
.nav-group { position: relative; }
.nav-parent {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  padding: 11px 14px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
}
.nav-parent:hover { background: var(--red); color: #fff; }
.nav-arrow { font-size: 10px; transition: transform .2s; }
.nav-group:hover .nav-arrow, .nav-group.open .nav-arrow { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  min-width: 192px; background: #fff; border: 1px solid #eee;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(15,23,42,.14);
  padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 120;
}
.nav-group:hover .nav-sub, .nav-group.open .nav-sub { display: flex; }
.nav-sub a {
  color: var(--ink); font-size: 14px; padding: 9px 12px; border-radius: 6px; white-space: nowrap;
}
.nav-sub a:hover { background: var(--red); color: #fff; text-decoration: none; }
.nav-group.active .nav-parent { background: var(--red); color: #fff; }

/* ===== 产品中心卡片 ===== */
.product-card { display: flex; flex-direction: column; }
.product-card .tag { align-self: flex-start; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }
.product-card .more { margin-top: 12px; }

/* ===== 布局 ===== */
.wrap { max-width: 1160px;  padding: 20px; margin:0 auto;}
main { padding: 40px 0 60px; }

/* ===== 面包屑 ===== */
.crumbs { font-size: 13px; color: var(--gray-light); margin-bottom: 18px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #A40008 0%, #C7000B 55%, #E23C41 100%); color: #fff; padding: 56px 0; }
.hero h1 { font-size: 34px; line-height: 1.4; margin-bottom: 14px; font-weight: 700; }
.hero p.lead { font-size: 17px; opacity: .92; max-width: 820px; }
.hero .btn-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 6px; font-size: 15px; font-weight: 600;
  background: #fff; color: var(--red); transition: .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.page-hero { background: var(--red-light); border-bottom: 1px solid var(--line); padding: 0 0  34px 0; }
.page-hero h1 { font-size: 28px; color: var(--red-dark); }
.page-hero p { color: var(--gray); margin-top: 6px;  }

/* ===== 区块 ===== */
section.block { margin-bottom: 46px; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.section-title h2 { font-size: 24px; color: var(--ink); font-weight: 700; }
.section-title .en { font-size: 13px; color: var(--gray-light); letter-spacing: 1px; }
.section-desc { color: var(--gray); margin-bottom: 22px; max-width: 900px; }
.block-intro { font-size: 16px; color: var(--gray); margin-bottom: 18px; max-width: 920px; }

/* ===== 卡片 ===== */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); margin-bottom: 20px;} /* 5 张卡片：第一行 3 个、第二行 2 个 */
@media (max-width: 900px) { .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #f0b8bb; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card h3 .num { color: var(--red); margin-right: 6px; font-weight: 800; }
.card p, .card li { font-size: 14.5px; color: var(--gray); }
.card ul { padding-left: 18px; margin-top: 8px; }
.card .tag {
  display: inline-block; font-size: 12px; color: var(--red); background: var(--red-light);
  border-radius: 4px; padding: 2px 10px; margin-bottom: 10px;
}
.card .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
/* 卡片点击高亮（移动端交互）：点击卡片后在可视区域内高亮 */
.card { scroll-margin-top: 84px; }
.card.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red-light), 0 10px 26px rgba(199, 0, 11, .14);
  transform: translateY(-2px);
}

/* ===== 数字统计 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid var(--line); }
.stat .v { font-size: 30px; font-weight: 800; color: var(--red); }
.stat .v span { font-size: 15px; font-weight: 600; }
.stat .k { font-size: 13.5px; color: var(--gray); margin-top: 4px; }

/* ===== 流程步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; font-size: 13px; font-weight: 800; color: var(--red);
  border: 1.5px solid var(--red); border-radius: 50%; width: 30px; height: 30px;
  line-height: 27px; text-align: center; margin-bottom: 10px;
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--red); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
tr:nth-child(even) td { background: #FBF7F7; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item details summary {
  padding: 16px 20px; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item details summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 700; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item details .faq-a { padding: 0 20px 18px; color: var(--gray); font-size: 14.5px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--ink); color: #A9AEB5; padding: 46px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid #3a3e44; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { font-size: 13.5px; margin-bottom: 8px; }
.footer-grid a { color: #A9AEB5; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
 .footer_index_con span {
    display: inline-block;
    padding-right: 10px;
}
.footer_index_con a {
    color: #A9AEB5;
}
/* ===== 提示框 ===== */
.note {
  background: var(--red-light); border-left: 4px solid var(--red); border-radius: 6px;
  padding: 16px 20px; margin: 20px 0; font-size: 14.5px; color: var(--ink);
}
.note b { color: var(--red-dark); }

/* ===== 徽标行 ===== */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; padding: 6px 16px; color: var(--ink);
}
.pill.hot { background: var(--red-light); border-color: #f0b8bb; color: var(--red-dark); font-weight: 600; }

/* ===== 案例 ===== */
.case { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
@media (max-width: 700px) { .case { grid-template-columns: 1fr; } }
.case .case-industry { background: var(--red); color: #fff; border-radius: 8px; padding: 14px; text-align: center; font-weight: 700; font-size: 15px; align-self: start; }
.case .case-industry small { display: block; font-weight: 400; font-size: 11px; opacity: .85; margin-top: 4px; }
.case h4 { font-size: 16px; margin-bottom: 6px; }
.case p { font-size: 14px; color: var(--gray); }
.case .metrics { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.case .metrics span { font-size: 14px; color: var(--red-dark); font-weight: 700; }
.case .metrics em { display: block; font-style: normal; font-size: 12px; color: var(--gray-light); font-weight: 400; }

/* ===== 联系表单 ===== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #cfd4da; border-radius: 6px; font-size: 14.5px; font-family: inherit;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.btn-submit {
  background: var(--red); color: #fff; border: none; padding: 12px 34px; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn-submit:hover { background: var(--red-dark); }

/* AI 可读性说明条 */
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray);
  background: #fff; border: 1px dashed #c9ced5; border-radius: 6px; padding: 5px 12px;
}
.ai-badge::before { content: "AI"; background: var(--red); color: #fff; border-radius: 4px; font-size: 11px; padding: 1px 6px; font-weight: 700; }

/* ===== 表单提交反馈 ===== */
.form-status { margin-top: 14px; font-size: 14px; border-radius: 6px; padding: 12px 16px; display: none; }
.form-status.ok { display: block; background: #EAF7EE; color: #1E7B34; border: 1px solid #BFE5C9; }
.form-status.err { display: block; background: #FDECEC; color: #B42318; border: 1px solid #F5C2C0; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
/* 联系方式格式校验错误提示 */
.field-msg { display: none; font-size: 12px; color: #B42318; margin-top: 5px; }
.field-msg.show { display: block; }
.form-row input.invalid { border-color: #B42318 !important; background: #fff8f8; }

/* ============================================================
   移动端适配（≤768px 平板/手机）
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  /* 顶部栏 */
  .topbar .wrap { justify-content: center; text-align: center; }

  /* 头部：logo 居中，导航横向可滑动 */
  .header-inner { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 0 6px; }
  .brand { justify-content: center;margin: 20px 0; }
  .brand-logo { width: 104px; height: 47px; }
  .main-nav {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    justify-content: flex-start; gap: 2px; padding: 2px 0 6px;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; flex-shrink: 0; padding: 7px 11px; font-size: 14px; }

  /* 下拉菜单：移动端点击展开为全宽浮层（top 由 JS 计算） */
  .nav-group { flex-shrink: 0; }
  .nav-parent { font-size: 14px; padding: 7px 11px; white-space: nowrap; }
  .nav-group.open .nav-sub {
    position: fixed; left: 12px; right: 12px; margin-top: 0;
    min-width: 0; display: flex; box-shadow: 0 14px 34px rgba(15,23,42,.22);
  }
  .nav-sub a { font-size: 14px; padding: 11px 14px; }

  /* Hero 与页面标题 */
  .hero { padding: 34px 0; }
  .hero h1 { font-size: 23px; }
  .hero p.lead { font-size: 15px; }
  .page-hero { padding-bottom: 24px; }
  .page-hero h1 { font-size: 21px; }
  .page-hero p { font-size: 14px; }
  .btn { padding: 10px 20px; font-size: 14px; }

  /* 主体与区块 */
  main { padding: 20px 0 40px; }
  .wrap { padding: 16px; }
  section.block { margin-bottom: 30px; }
  .section-title h2 { font-size: 19px; }
  .section-desc, .block-intro { font-size: 14px; }

  /* 卡片与统计 */
  .card { padding: 16px; }
  .card h3 { font-size: 16.5px; }
  .stats { gap: 10px; margin: 20px 0; }
  .stat { padding: 14px 8px; }
  .stat .v { font-size: 23px; }
  .stat .k { font-size: 12.5px; }

  /* 表格：可横向滚动 */
  .table-wrap { margin: 0 -16px; border-radius: 0; border-left: none; border-right: none; }
  table { font-size: 13px; }
  th, td { padding: 10px 12px; }

  /* 案例 */
  .case { padding: 14px; }
  .case .metrics { gap: 14px; }

  /* FAQ */
  .faq-item details summary { padding: 14px 14px; font-size: 14.5px; }
  .faq-item details .faq-a { padding: 0 14px 16px; font-size: 14px; }

  /* 表单：占满宽度、输入框 ≥44px 触控高度 */
  .form-card { padding: 18px 16px; }
  .form-row input, .form-row select, .form-row textarea { padding: 12px 12px; font-size: 16px; /* 防 iOS 聚焦自动放大 */ }
  .btn-submit { width: 100%; padding: 14px; }

  /* 页脚 */
  .site-footer { padding: 32px 0 20px; }
  .footer-grid { gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

}

/* 小屏手机（≤400px）进一步收紧 */
@media (max-width: 400px) {
  .hero h1 { font-size: 20px; }
  .section-title h2 { font-size: 18px; }
  .brand-logo { width: 94px; height: 43px; }
}

/* ===== 滑块拖动验证（人工提交防火墙） ===== */
.captcha-box { margin-bottom: 16px; }
.captcha-track {
  position: relative;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f6f8;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}
.captcha-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #e8f3ff;
  transition: width .15s ease;
}
.captcha-tip {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #8a93a2;
  pointer-events: none;
  transition: color .2s ease;
}
.captcha-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 42px; height: 42px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  z-index: 2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.captcha-slider:active { cursor: grabbing; }
.captcha-box.success .captcha-track { border-color: #1E7B34; background: #EAF7EE; }
.captcha-box.success .captcha-fill { background: #BFE5C9; }
.captcha-box.success .captcha-slider { background: #1E7B34; border-color: #1E7B34; color: #fff; }
.captcha-box.success .captcha-tip { color: #1E7B34; }
.captcha-hint { font-size: 12px; color: #8a93a2; margin-top: 6px; }

/* ===== 表单验证状态条 ===== */
.verify-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px dashed #c9cfd8;
  border-radius: 8px;
  background: #fafbfc;
  font-size: 14px;
  color: #4b5563;
}
.verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #eef1f5;
  color: #6b7686;
  font-size: 13px;
  flex: none;
}
.verify-text { flex: 1; }
.verify-btn {
  padding: 7px 16px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.verify-btn:hover { background: #c00e1a; box-shadow: 0 2px 8px rgba(204,14,26,.25); }
.verify-bar.done {
  border-style: solid;
  border-color: #1E7B34;
  background: #f2fbf5;
  color: #1E7B34;
}
.verify-bar.done .verify-icon { background: #1E7B34; color: #fff; }

/* ===== 安全验证弹窗（模态框） ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative;
  width: 540px;
  max-width: 100%;
  padding: 36px 40px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.06) inset;
  animation: modal-in .28s cubic-bezier(.21,1.02,.73,1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f3f6;
  color: #5b6472;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: #e4e7ec; color: #111; }
.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-head h3 { margin: 0; font-size: 22px; color: #111827; }
.modal-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #fff0f0;
  font-size: 20px;
}
.modal-desc { font-size: 15px; color: #6b7280; line-height: 1.65; margin: 0 0 20px; }
.modal-box .captcha-box { margin-bottom: 0; }
.modal-box .captcha-track { height: 54px; }
.modal-box .captcha-slider { width: 50px; height: 50px; }

@media (max-width: 480px) {
  .modal-box { padding: 24px 20px 20px; }
  .modal-desc { font-size: 13px; }
}

/* ===== 意见反馈页：tab 切换 ===== */
.feedback-tabs {
  display: flex;
  gap: 8px;
  margin: 26px 0 30px;
  border-bottom: 2px solid var(--line);
}
.tab-item {
  display: inline-block;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s ease, border-color .2s ease;
}
.tab-item:hover { color: var(--red); }
.tab-item.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.tab-ext { font-size: 12px; opacity: .75; }
@media (max-width: 480px) {
  .tab-item { flex: 1; text-align: center; padding: 11px 8px; font-size: 14px; }
}

/* ===== 意见反馈页：字数统计 ===== */
.char-count {
  text-align: right;
  font-size: 12px;
  color: #8a93a2;
  margin-top: 5px;
}
.char-count #char-num { color: #4b5563; font-weight: 600; }

/* ===== 意见反馈页：图片上传与预览 ===== */
.file-upload {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-file {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--red);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-file:hover { background: var(--red); color: #fff; }
.file-name { font-size: 13px; color: #6b7280; }
.file-preview {
  position: relative;
  width: 120px;
  height: 90px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}
.file-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, .65);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-remove:hover { background: rgba(199, 0, 11, .9); }
@media (max-width: 480px) {
  .file-preview { width: 100%; height: 140px; }
}

/* ===== 意见反馈页：布局 ===== */
.feedback-grid { align-items: start; }
.feedback-grid .card p:first-child { margin-top: 0; }
code {
  background: #f1f2f4;
  border: 1px solid #e4e7ec;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--red);
}

/* ===== 新闻源收录页：单选选项组与字段提示 ===== */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
.radio-pill input[type="radio"] {
  width: auto; margin: 0; opacity: 0; position: absolute; pointer-events: none;
}
.radio-pill span {
  display: inline-block; padding: 9px 22px; border: 1px solid #cfd4da; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: #4b5563; background: #fff;
  transition: all .15s ease;
}
.radio-pill:hover span { border-color: var(--red); color: var(--red); }
.radio-pill input[type="radio"]:checked + span {
  background: var(--red); border-color: var(--red); color: #fff; font-weight: 600;
}
.radio-pill input[type="radio"]:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.field-hint { font-size: 12.5px; color: #6b7280; margin-top: 5px; }
.form-row select { appearance: none; -webkit-appearance: none; background: #fff; cursor: pointer; }
@media (max-width: 480px) {
  .radio-pill span { padding: 10px 18px; font-size: 14px; }
}

/* ===== 联系页：意见建议入口按钮 ===== */
.btn-inline {
  display: inline-block; text-align: center; text-decoration: none; width: 100%;
  box-sizing: border-box; margin-top: 18px; padding: 12px 24px;
}
.feedback-entry {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding: 13px 16px; border: 1px dashed #c9ced5; border-radius: 8px;
  font-size: 13.5px; color: #6b7280; background: #fafbfc;
}
.feedback-entry a { color: var(--red); font-weight: 600; white-space: nowrap; }
.feedback-entry a:hover { text-decoration: underline; }
