/* ═══════════════════════════════════════════════════════════════
   mobile-proto-info-pages.css —— 手机端「内容与信息页」页面级样式（T13，2026-10-22）
   覆盖：车队 / 赛事成绩 / 领骑衫 / 隐私政策 / 售后服务 / 媒体中心 / 联系我们 /
        活动详情 / 商品分类。

   分工：
   - 共享外壳与通用组件（.app/.appbar/.drawer/.tabbar/.site-foot/.toast/
     .section/.section--paper/.section--surface/.sect-head/.sect-more/.sect-note/
     .chips/.chip/.badge/.rowlist/.searchbar/.cart-bar/.modal/.sub-hero/
     .empty/.group-title/.info-card/.btn-gold/.btn-ghost/.sticky-bar/.timeline）
     在 mobile-proto.css 里，本文件不重复定义。
   - 本文件只补「这一批页面自己才有」的组件：车队卡、成绩行缩略图、领骑衫页签与圆点、
     媒体素材卡、联系表单字段、商品卡与分类卡、长文段落排版。

   加载顺序：本文件在 @section Head 里 <link>，晚于 mobile-proto.css，
   同特异度下本页规则胜出。

   ⚠️ 不要改共享层；本页专属样式只放这里。
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════ 活动详情：封面照片（无头图页，正文首块） ══════════════ */
.act-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--on-ink-06);
}

/* ══════════════ 长文段落排版（隐私政策 / 售后政策） ══════════════
   无头图页的骨架（.page-head/.page-top/.page-body）与 .info-card/.group-title
   都是共享层组件（mobile-proto.css），本文件不重复定义。 */
.prose {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}
.prose p { margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 700; }
/* 信息卡里的链接（邮箱 / 电话 / 下载）：继承 info-v 的前景色，悬停转金色 */
.info-v a:hover { color: var(--accent-ink); }

/* ══════════════ 车队 ══════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.team-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .15s ease, transform .16s ease;
}
.team-card:hover { border-color: var(--on-ink-45); transform: translateY(-2px); }
.team-card:active { transform: scale(.99); }
.team-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.team-logo img { width: 72%; height: 72%; object-fit: contain; }
.team-logo .material-symbols-outlined { font-size: 32px; color: var(--on-ink-45); }
.team-body { display: block; padding: 10px 12px 12px; }
.team-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fg);
}
.team-country {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.team-country .material-symbols-outlined { font-size: 14px; }

/* ══════════════ 赛事成绩 ══════════════ */
/* 行列表里的缩略图（比 .rowlist-ico 大的图片位） */
.rowlist-thumb {
  flex: 0 0 auto;
  width: 56px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--on-ink-06);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.rowlist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rowlist-thumb .material-symbols-outlined { font-size: 22px; }

/* 成绩 PDF 预览容器：result-pdf-viewer.js 只读 data-pdf-url 并自建内部结构，
   外框由本页样式给出（旧的 .pdf-container 没有任何 CSS 定义）。 */
.pdf-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 50vh;
}

/* ══════════════ 领骑衫 ══════════════ */
/* 页签：四个领骑衫类型（保留 .jersey-tab 类名，页面脚本按它绑定） */
.jersey-tabs {
  display: flex;
  gap: 8px;
  padding: 14px var(--inset-r) 0 var(--inset-l);
}
.jersey-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.jersey-tab .material-symbols-outlined { font-size: 18px; }
.jersey-tab:hover { border-color: var(--on-ink-45); color: var(--fg); }
.jersey-tab.active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--on-dark);
}
/* 领骑衫圆点：底色取该类型主色 14%，描边取主色（与旧实现同算法，只是换成令牌） */
.jersey-dot {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.jersey-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
/* 空类型占位（页面脚本按 data-jersey-type 切显隐） */
.jersey-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
/* 积分（行右侧） */
.jersey-points {
  flex: 0 0 auto;
  text-align: right;
  color: var(--muted);
}
.jersey-points b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}
.jersey-points span { font-size: 10.5px; }

/* ══════════════ 媒体中心 ══════════════ */
/* 类名不能改：页面的懒加载脚本用 createElement 造同名节点追加到 #media-list */
.media-list { display: flex; flex-direction: column; gap: 12px; }
.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: border-color .15s ease;
}
.media-card:hover { border-color: var(--on-ink-45); }
.media-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--on-ink-06);
}
.media-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg);
  margin: 0 0 6px;
}
.media-code {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.code-pill {
  font-family: var(--font-num);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-ink);
  font-weight: 600;
}
.media-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 18px;
  background: var(--fg);
  color: var(--on-dark);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .15s ease;
}
.media-download-btn:hover { background: color-mix(in oklch, #000 14%, var(--fg)); }
.media-download-btn:active { background: color-mix(in oklch, #000 22%, var(--fg)); }
.spin { animation: spin 1s linear infinite; }
@@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ══════════════ 联系我们：表单 ══════════════
   表单控件用共享的 mobile-proto-form.css（.fld/.fld-head/.fld-label/.fld-ctl/.ctl），
   本文件不重复定义控件样式；本页只补「提交结果提示条」的版式
   （脚本用内联 style 写 background/color，这里只给尺寸与圆角）。 */
.form-status {
  display: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}

/* ══════════════ 商品分类页 ══════════════ */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pcard {
  display: block;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .15s ease, transform .16s ease;
}
.pcard:hover { border-color: var(--on-ink-45); transform: translateY(-2px); }
.pcard-thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--on-ink-06);
}
.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard-badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in oklch, #000 74%, transparent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}
.pcard-body { display: block; padding: 10px 11px 12px; }
.pcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
}
.pcard-price-row { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; }
.pcard-price {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-ink);
}
.pcard-original {
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}
.pcard-meta { margin-top: 4px; font-size: 11.5px; color: var(--muted); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.cat-card:hover { background: var(--on-ink-06); border-color: var(--on-ink-45); }
.cat-card .material-symbols-outlined { font-size: 24px; color: var(--accent-ink); }
.cat-card-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.cat-card-sub { font-size: 11px; color: var(--muted); }

/* ══════════════ 窄屏适配 ══════════════ */
@media (max-width: 359px) {
  .team-grid { gap: 10px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jersey-tab { font-size: 11px; }
}
