/* ============================================================
   片康官网 · 全局样式
   视觉规范来源：《D2 品牌视觉基础规范 V1.1》
   主色 片康青 #0F8B8D / 活力橙 #FF8A3D / 深墨蓝 #17313B
   ============================================================ */
:root {
  --teal: #0F8B8D;
  --teal-dark: #0B6E70;
  --teal-light: #E3F2F2;
  --orange: #FF8A3D;
  --orange-dark: #E9742A;
  --ink: #17313B;
  --gray: #5B7A85;
  --line: #DCE4E5;
  --bg: #F4F7F7;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(23, 49, 59, 0.08);
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ---------- 布局容器 ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.bg { background: var(--bg); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark .sec-sub { color: #B9CDD3; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 36px; height: 36px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 2px; color: var(--ink); }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--gray); font-size: 15px; padding: 8px 12px;
  border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover { color: var(--teal); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); font-weight: 700; }
.nav-cta {
  margin-left: 8px; background: var(--orange); color: var(--white) !important;
  font-weight: 700; padding: 8px 18px !important; border-radius: 999px !important;
}
.nav-cta:hover { background: var(--orange-dark); }
.nav-toggle {
  margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--white); border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-links.open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px; gap: 2px; box-shadow: var(--shadow);
}
.nav-links.open a { padding: 12px; font-size: 16px; }
.nav-links.open .nav-cta { margin: 8px 0 0; text-align: center; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--teal);
  color: var(--teal); font-weight: 700; font-size: 14px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  font-size: clamp(34px, 7vw, 56px); font-weight: 800;
  letter-spacing: 3px; line-height: 1.25; margin-bottom: 14px;
}
.hero-sub { color: var(--teal); font-size: clamp(19px, 3vw, 24px); font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; }
.hero-desc { color: var(--gray); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.hero-card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
  position: relative;
}
.hero-photo {
  background: var(--bg); border: 2px dashed #8FA3A8; border-radius: 12px;
  min-height: 220px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: #8FA3A8;
}
.hero-photo svg { width: 56px; height: 56px; }
.hero-card figcaption { text-align: center; font-weight: 700; margin-top: 14px; font-size: 15px; }
.pulse-line { margin-top: 14px; }
.pulse-line path { stroke: var(--orange); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-float {
  position: absolute; top: -22px; left: -22px;
  background: var(--ink); color: var(--white);
  border-radius: 14px; padding: 10px 18px;
}
.hero-float strong { font-size: 22px; display: block; line-height: 1.2; }
.hero-float small { color: #B9CDD3; font-size: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 999px; border: 2.5px solid transparent;
  cursor: pointer; transition: all .15s ease; text-align: center;
}
.btn-primary { background: var(--teal); color: var(--white) !important; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--teal); color: var(--teal) !important; background: transparent; }
.btn-outline:hover { background: var(--teal-light); }
.btn-orange { background: var(--orange); color: var(--white) !important; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 数据条 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.stat-num { font-size: 28px; font-weight: 800; }
.stat-label { color: var(--gray); font-size: 13px; margin-top: 4px; }

/* ---------- 通用标题 ---------- */
.sec-title { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; text-align: center; margin-bottom: 10px; }
.sec-sub { color: var(--gray); text-align: center; margin-bottom: 40px; font-size: 16px; }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
}
.card.flat { background: var(--bg); border: none; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin-bottom: 18px;
}
.card-icon.orange { background: var(--orange); }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }

/* 课程卡 */
.course-card { border-top: 8px solid var(--teal); display: flex; flex-direction: column; }
.course-card.hl { border-top-color: var(--orange); }
.course-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal);
  font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.course-card.hl .course-tag { background: #FFEBDD; color: var(--orange-dark); }
.course-aud { color: var(--gray); font-size: 14px; margin: 4px 0 12px; }
.course-points { list-style: none; margin: 14px 0 22px; flex: 1; }
.course-points li { padding: 5px 0 5px 26px; position: relative; color: var(--gray); font-size: 15px; }
.course-points li::before {
  content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800;
}

/* ---------- 引言 / 学员反馈 ---------- */
.quote-card .q { font-size: 30px; color: var(--orange); font-weight: 800; line-height: 1; }
.quote-card blockquote { font-size: 17px; font-weight: 700; margin: 8px 0 18px; }
.quote-card .who { color: var(--gray); font-size: 14px; }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--teal); color: var(--white); text-align: center; padding: 64px 20px; }
.cta-band h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #D8EDED; margin-bottom: 28px; font-size: 17px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #B9CDD3; padding: 44px 0 30px; }
.footer-grid { display: grid; gap: 28px; margin-bottom: 30px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #B9CDD3; display: block; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.footer-brand { color: var(--white); font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.footer-slogan { font-size: 13px; margin-top: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; color: #6B8794; display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- 文章页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.filter-chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--gray);
  padding: 7px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700;
}
.filter-chip.on { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.search-box { max-width: 460px; margin: 0 auto 34px; display: flex; gap: 10px; }
.search-box input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-size: 15px; font-family: var(--font); outline: none;
}
.search-box input:focus { border-color: var(--teal); }
.article-card { cursor: pointer; transition: box-shadow .15s ease; }
.article-card:hover { box-shadow: var(--shadow); }
.article-meta { display: flex; gap: 12px; color: var(--gray); font-size: 13px; margin-bottom: 10px; flex-wrap: wrap; }
.article-cat { color: var(--teal); font-weight: 700; }
.article-body h3 { margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; color: #33505C; }
.article-view { display: none; }
.article-view.on { display: block; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 700; }

/* ---------- 表单 ---------- */
.form-card { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form-row label small { color: var(--gray); font-weight: 400; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: var(--font); outline: none;
  background: var(--white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--teal); }
.form-hint { color: var(--gray); font-size: 13px; margin-top: 6px; }
.form-msg { margin-top: 14px; font-weight: 700; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: #C0392B; }

/* ---------- AI 页 ---------- */
.ai-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.ai-tab {
  border: 2px solid var(--line); background: var(--white); color: var(--gray);
  padding: 10px 26px; border-radius: 999px; cursor: pointer; font-size: 16px; font-weight: 700;
}
.ai-tab.on { border-color: var(--teal); background: var(--teal); color: var(--white); }
.ai-badge {
  display: inline-block; background: #FFF3E8; color: var(--orange-dark);
  font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.chat-shell {
  max-width: 780px; margin: 0 auto;
  border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--white);
}
.chat-head { background: var(--teal); color: var(--white); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head img { width: 30px; height: 30px; border-radius: 8px; background: var(--white); }
.chat-head .st { font-size: 12px; color: #D8EDED; }
.chat-body { height: 420px; overflow-y: auto; padding: 20px; background: var(--bg); }
.msg { display: flex; margin-bottom: 14px; }
.msg.user { justify-content: flex-end; }
.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 14px;
  font-size: 15px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.msg.ai .bubble { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg.user .bubble { background: var(--teal); color: var(--white); border-top-right-radius: 4px; }
.bubble.typing::after { content: '▍'; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: var(--bg); border-top: 1px solid var(--line); }
.starter-chip {
  border: 1.5px solid var(--teal); color: var(--teal); background: var(--white);
  font-size: 13px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.starter-chip:hover { background: var(--teal-light); }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 12px 18px; font-size: 15px; font-family: var(--font); outline: none;
}
.chat-input input:focus { border-color: var(--teal); }
.chat-send {
  background: var(--teal); color: var(--white); border: none; border-radius: 999px;
  padding: 0 26px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.chat-send:disabled { background: #9CC7C8; cursor: not-allowed; }
.chat-note { text-align: center; color: var(--gray); font-size: 12.5px; padding: 10px 16px 14px; }
.report-shell { max-width: 780px; margin: 0 auto; }
.report-out {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 26px; margin-top: 24px; display: none;
}
.report-out.on { display: block; }
.report-out h4 { color: var(--teal); margin: 14px 0 6px; }
.report-out p, .report-out li { font-size: 15px; color: #33505C; }
.warn-strip {
  background: #FFF3E8; border: 1px solid #FFD9B8; color: #8A4A12;
  border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-top: 16px;
}

/* ---------- 关于页 ---------- */
.profile-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .profile-grid { grid-template-columns: 340px 1fr; } }
.profile-photo {
  background: var(--bg); border: 2px dashed #8FA3A8; border-radius: 20px;
  min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #8FA3A8; gap: 10px;
}
.timeline { border-left: 3px solid var(--teal-light); padding-left: 22px; margin-top: 10px; }
.timeline li { list-style: none; position: relative; padding-bottom: 22px; }
.timeline li::before {
  content: ''; position: absolute; left: -30px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--teal);
  border: 2.5px solid var(--white); box-shadow: 0 0 0 2px var(--teal-light);
}
.timeline .yr { font-weight: 800; color: var(--teal); }

/* ---------- 合规页 ---------- */
.legal h2 { font-size: 22px; margin: 34px 0 12px; color: var(--ink); }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: #33505C; font-size: 15px; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; }

/* ---------- 工具 ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--gray); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 8px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }
@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-float { left: -6px; }
}
@media (min-width: 1600px) { .wrap { max-width: 1280px; } }

/* ============================================================
   V2 吸引力升级：动效 + 品牌故事带 + 域名故事带
   ============================================================ */
/* 滚动渐入（JS 注入 .reveal，无 JS 时不隐藏内容） */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 脉搏线描边动画（D2 方向A 标志性元素"活"起来） */
.pulse-anim path {
  stroke-dasharray: 360; stroke-dashoffset: 360;
  animation: pulse-draw 3.4s ease-in-out infinite;
}
@keyframes pulse-draw {
  0%   { stroke-dashoffset: 360; opacity: .3; }
  45%  { stroke-dashoffset: 0;   opacity: 1; }
  75%  { stroke-dashoffset: 0;   opacity: 1; }
  100% { stroke-dashoffset: -360; opacity: .3; }
}
/* 场景插画中太阳呼吸光晕 */
.sun-glow { animation: sun-breathe 4s ease-in-out infinite; transform-origin: center; }
@keyframes sun-breathe { 0%,100% { opacity: .35; } 50% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-anim path, .sun-glow { animation: none !important; }
}

/* Hero 场景插画卡片 */
.hero-scene { border-radius: 12px; overflow: hidden; display: block; }
.hero-scene svg { display: block; width: 100%; height: auto; }

/* 品牌故事带（深色情感区） */
.story-band { background: var(--ink); color: var(--white); padding: 76px 0; }
.story-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.story-kicker { color: var(--orange); font-weight: 800; letter-spacing: 5px; font-size: 14px; margin-bottom: 20px; }
.story-quote {
  font-size: clamp(21px, 3.6vw, 28px); font-weight: 800; line-height: 1.65;
  margin: 0 auto 26px; max-width: 640px;
}
.story-quote::before { content: '「'; color: var(--orange); }
.story-quote::after { content: '」'; color: var(--orange); }
.story-text { color: #B9CDD3; font-size: 16px; margin-bottom: 16px; text-align: left; }
.story-band .btn { margin-top: 14px; }
.story-clock {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.35); color: #D8EDED;
  padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 26px;
}

/* 域名故事带 */
.domain-band { background: var(--teal-light); padding: 68px 0; }
.domain-inner { text-align: center; }
.domain-url {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: clamp(30px, 6vw, 52px); font-weight: 800;
  color: var(--teal-dark); letter-spacing: 1px; margin: 10px 0 8px;
}
.domain-eq { color: var(--gray); font-size: 17px; margin-bottom: 40px; }
.domain-eq strong { color: var(--ink); }
.domain-points { display: grid; gap: 18px; text-align: left; }
@media (min-width: 800px) { .domain-points { grid-template-columns: repeat(3, 1fr); } }
.domain-point { background: var(--white); border-radius: 16px; padding: 24px; }
.domain-point h3 { font-size: 18px; margin-bottom: 8px; color: var(--teal-dark); }
.domain-point p { color: var(--gray); font-size: 14.5px; }
.domain-note { margin-top: 30px; color: var(--teal-dark); font-weight: 800; font-size: 17px; letter-spacing: 1px; }

/* 关于页：故事全文 */
.story-full { max-width: 760px; margin: 0 auto; }
.story-full p { color: #33505C; margin-bottom: 18px; font-size: 16.5px; line-height: 1.9; }
.story-full .lead { font-size: 19px; font-weight: 700; color: var(--ink); }

/* ---------- D3 V3（2026-10-02）：团体/机构合作 + 首屏三级入口 ---------- */
/* Hero 三级入口：团体约课文字链 */
.hero-tertiary { margin-top: 16px; }
.hero-tertiary a { color: var(--teal); font-weight: 700; font-size: 15.5px; }
.hero-tertiary a:hover { color: var(--teal-dark); text-decoration: underline; }

/* Hero 徽章圆点呼吸动效 */
.hero-badge::before { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

/* Hero 场景插画：朝阳呼吸光晕 */
.sun-glow { animation: sunGlow 5s ease-in-out infinite; transform-origin: 312px 74px; }
@keyframes sunGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.22; }
}

/* F7 团体/机构合作带 */
.group-band { background: #EAF4F4; padding: 64px 0; }
.group-card { border-top: 6px solid var(--teal); }
.group-card:nth-child(2) { border-top-color: var(--orange); }
.group-card h3 { margin: 10px 0 8px; }
.group-card p { color: var(--gray); font-size: 15px; }

/* 语音对话（§4.4.2 加分项） */
.chat-head-btn {
  background: rgba(255,255,255,.2); border: none; color: #fff;
  border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 13px;
  transition: background .2s;
}
.chat-head-btn:hover { background: rgba(255,255,255,.32); }
.chat-head-btn.on { background: var(--orange); font-weight: 700; }
#chatTts { margin-left: auto; }
.mic-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--teal); background: var(--white);
  font-size: 19px; cursor: pointer; transition: all .2s;
}
.mic-btn:hover { background: #EAF4F4; }
.mic-btn.recording {
  background: #E5484D; border-color: #E5484D; color: #fff;
  animation: micPulse 1.2s ease-out infinite;
}
@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); }
  100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); }
}
.voice-note {
  text-align: center; color: var(--teal); font-size: 13px;
  padding: 8px 16px 0; margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .mic-btn.recording { animation: none; }
}

/* ============================================================
   社区动态区（实时数据：统计 / 打卡墙 / 报名墙 / 登录打卡）
   ============================================================ */
.pk-stats { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 32px; }
.pk-stat {
  flex: 1 1 200px; max-width: 300px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; text-align: center; box-shadow: var(--shadow);
}
.pk-stat b { display: block; font-size: 32px; line-height: 1.2; color: var(--teal); }
.pk-stat span { font-size: 14px; color: var(--gray); }

.pk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pk-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.pk-panel h3 { font-size: 18px; margin-bottom: 14px; color: var(--ink); }

.pk-wall { list-style: none; }
.pk-wall li {
  display: flex; align-items: baseline; gap: 10px; font-size: 14px;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.pk-wall li:last-child { border-bottom: none; }
.pk-wall-nick { font-weight: 700; color: var(--teal-dark); min-width: 64px; }
.pk-wall-act { flex: 1; color: var(--ink); }
.pk-wall-time { color: var(--gray); font-size: 12px; }
.pk-empty { color: var(--gray); font-size: 14px; }

.pk-auth { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pk-uname { font-weight: 700; color: var(--teal-dark); }
.pk-login { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 10px; }
.pk-login input,
.pk-checkin input {
  flex: 1 1 140px; min-width: 118px; font-family: var(--font); font-size: 14px;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
}
.pk-login input:focus,
.pk-checkin input:focus { outline: 2px solid var(--teal-light); border-color: var(--teal); }
.pk-checkin {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.pk-checkin .btn { flex: 1 1 120px; }
.pk-tip { font-size: 13px; color: var(--teal-dark); margin-top: 10px; min-height: 18px; }
.pk-tip.err { color: #C0392B; }
.pk-note { font-size: 12px; color: var(--gray); margin-top: 12px; line-height: 1.7; }
/* 关键：display:flex/grid 会盖掉 hidden 属性的默认 display:none，必须显式兜底 */
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-stat b { font-size: 26px; }
}
