/* ============================================================
   游习社 · 前端设计系统 V3（鲜活大胆版）
   风格：游戏能量渐变 × 亲子温暖 × 管理专业
   手法：能量渐变配色、玻璃导航、多彩卡片封面、强阴影与悬浮动效
   保持既有类名兼容，全局收口于本文件
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* 品牌暖阳色板（方案A：明亮·活力·温暖） */
  --brand-1: #F79440;   /* 主橙 */
  --brand-2: #FFA257;   /* 杏橙 */
  --brand-3: #FF9F68;   /* 蜜桃橙 */
  --brand-4: #FFD166;   /* 金黄 */
  --brand-5: #34B3A0;   /* 青绿点缀 */

  --primary: #F79440;
  --primary-2: #FFA257;
  --primary-3: #34B3A0;
  --primary-dark: #D46B28;
  --primary-deep: #D46B28;
  --primary-soft: #fff3e8;
  --primary-light: #ffe9d6;

  --accent: #FFD166;
  --accent-dark: #e0b13e;
  --accent-soft: #fff8e6;

  --success: #10b981;
  --success-soft: #ecfdf5;

  --bg: #FFF4E8;
  --bg-top: #fff1df;
  --card: #fff;
  --text: #4A3F35;
  --text-sub: #8A7A6B;
  --text-faint: #A99A8C;
  --border: #f0e6d6;
  --danger: #e11d48;
  --warn: #FFD166;

  /* 主渐变 */
  --grad-brand: linear-gradient(135deg, #F79440 0%, #FFA257 45%, #FF9F68 100%);
  --grad-hero: linear-gradient(120deg, #D46B28 0%, #F79440 55%, #FFA257 100%);
  --grad-cover-1: linear-gradient(135deg, #F79440, #FFA257);
  --grad-cover-2: linear-gradient(135deg, #FF9F68, #FFD166);
  --grad-cover-3: linear-gradient(135deg, #34B3A0, #2FA08F);
  --grad-cover-4: linear-gradient(135deg, #FFA257, #F79440);

  /* 圆角 / 阴影 / 动效 */
  --radius: 24px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 2px 6px rgba(247, 148, 64, .06), 0 1px 3px rgba(247, 148, 64, .05);
  --shadow-md: 0 12px 32px rgba(247, 148, 64, .14);
  --shadow-lg: 0 20px 48px rgba(247, 148, 64, .20);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --dur: .22s;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 320px, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color var(--dur); }
a:hover { color: var(--primary-3); }

/* ---------------- 顶栏（暖奶油轻量） ---------------- */
.navbar {
  background: rgba(255, 244, 232, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(247, 148, 64, .12);
  position: sticky; top: 0; z-index: 100;
}
.navbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 60px;
  display: flex; align-items: center; gap: 26px;
}
.brand {
  font-size: 22px; font-weight: 800; color: #D46B28;
  letter-spacing: .5px; white-space: nowrap; background: none;
}
.brand small {
  font-size: 11px; font-weight: 700; color: #8A7A6B;
  margin-left: 6px; letter-spacing: 1px;
  display: inline-block; transform: translateY(-2px);
}
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-links a {
  color: #66594C; font-size: 15px; padding: 7px 14px; border-radius: 12px;
  position: relative; transition: color var(--dur), background var(--dur), box-shadow var(--dur);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); text-decoration: none; }
.nav-links a.active {
  color: #fff; font-weight: 700;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px rgba(247, 148, 64, .28);
}
.nav-new {
  position: absolute; top: 2px; right: 2px;
  background: var(--primary); color: #fff; font-size: 10px; line-height: 1;
  padding: 2px 5px; border-radius: 8px; font-weight: 700;
}
.nav-right { display: flex; gap: 10px; align-items: center; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 10px 22px; border: none; border-radius: 999px;
  cursor: pointer; font-size: 14px; font-weight: 600;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 6px 18px rgba(247, 148, 64, .28);
  transition: transform var(--dur), box-shadow var(--dur), filter var(--dur);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(247, 148, 64, .36); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-outline { background: #fff; color: #D46B28; border: 1.5px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary-soft); filter: none; }
.btn-danger { background: linear-gradient(135deg, #e11d48, #be123c); box-shadow: 0 6px 18px rgba(225, 29, 72, .28); }
.btn-danger:hover { filter: brightness(1.06); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }

/* ---------------- 布局 ---------------- */
.container { max-width: 1120px; margin: 0 auto; padding: 24px 20px 52px; }
.page-title { font-size: 24px; font-weight: 800; margin-bottom: 18px; color: var(--text); }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(247, 148, 64, .06);
  padding: 20px; transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
}
.card:hover { border-color: rgba(247, 148, 64, .16); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 游戏卡 */
.game-card { cursor: pointer; overflow: hidden; border-radius: var(--radius); }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.game-cover {
  height: 156px; border-radius: 0; margin: -20px -20px 16px;
  background: var(--grad-cover-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: #fff; position: relative; overflow: hidden;
}
.game-card:nth-child(4n+2) .game-cover { background: var(--grad-cover-2); }
.game-card:nth-child(4n+3) .game-cover { background: var(--grad-cover-3); }
.game-card:nth-child(4n+4) .game-cover { background: var(--grad-cover-4); }
.game-cover::before {
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.30), transparent 70%);
  top: -60px; right: -40px;
}
.game-cover::after {
  content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%);
  bottom: -50px; left: -30px;
}
.game-cover > * { position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.game-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; line-height: 1.4; }
.game-meta { font-size: 13px; color: var(--text-sub); }

/* 标签（多彩） */
.tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px;
  background: #FBE4D4; color: #C2704E; margin-right: 6px; font-weight: 700;
}
.tag-dim { background: #f4efe9; color: var(--text-sub); }
.tag-warm { background: #fef3c7; color: #b45309; }
.tag-cool { background: #cffafe; color: #0e7490; }
.point {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: #FFF0CB; color: #B17F23; font-weight: 800; font-size: 12px;
}
.free {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: #D9EAD3; color: #357249; font-weight: 800; font-size: 12px;
}
.new-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: #4299E1; color: #fff; font-weight: 700; font-size: 12px;
}

/* ---------------- 首页 Hero（能量渐变） ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  color: #fff; border-radius: 28px; padding: 52px 32px; margin-bottom: 30px;
  text-align: center; box-shadow: 0 24px 56px rgba(247, 148, 64, .28);
}
.hero::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  top: -150px; right: -90px;
}
.hero::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  bottom: -140px; left: -80px;
}
.hero .spark { position: absolute; border-radius: 50%; opacity: .5; filter: blur(2px); z-index: 0; }
.hero h1 {
  font-size: 32px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1;
  letter-spacing: .5px; text-shadow: 0 2px 16px rgba(0,0,0,.16);
}
.hero p { opacity: .95; font-size: 15px; margin-bottom: 24px; position: relative; z-index: 1; }
.hero .search { display: flex; gap: 10px; max-width: 540px; margin: 0 auto; position: relative; z-index: 1; }
.hero .search input {
  flex: 1; padding: 14px 20px; border: none; border-radius: 999px;
  font-size: 15px; outline: none; box-shadow: 0 4px 18px rgba(0,0,0,.16);
}
.hero .search input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.40), 0 4px 18px rgba(0,0,0,.16); }
.hero .search button {
  padding: 14px 30px; border: none; border-radius: 999px;
  background: #fff; color: #D46B28; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
}
.hero .search button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.20); background: var(--primary-soft); }

/* 分类入口（彩色图标） */
.cat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-chip {
  flex: 1; min-width: 190px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px; text-align: center; cursor: pointer;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  position: relative;
}
.cat-chip .new-tag { position: absolute; top: 12px; right: 12px; }
.cat-chip:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-chip .ic {
  font-size: 32px; display: block; margin-bottom: 12px;
  width: 60px; height: 60px; line-height: 60px; border-radius: 18px;
  color: #fff; margin-left: auto; margin-right: auto;
  box-shadow: 0 6px 16px rgba(247, 148, 64, .24);
  transition: transform var(--dur), box-shadow var(--dur);
}
.cat-chip:nth-child(1) .ic { background: var(--grad-cover-1); }
.cat-chip:nth-child(2) .ic { background: var(--grad-cover-2); }
.cat-chip:nth-child(3) .ic { background: var(--grad-cover-3); }
.cat-chip:nth-child(4) .ic { background: var(--grad-cover-4); }
.cat-chip:hover .ic { transform: scale(1.1) rotate(-4deg); box-shadow: 0 10px 24px rgba(247, 148, 64, .34); }
.cat-chip b { font-size: 15px; color: var(--text); }

/* ---------------- 区块标题 ---------------- */
.section-title {
  font-size: 21px; font-weight: 800; margin: 30px 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.section-title::before {
  content: ""; width: 6px; height: 22px; border-radius: 4px;
  background: var(--grad-brand); margin-right: 10px;
}
.section-title a { font-size: 13px; color: #D46B28; font-weight: 600; }
.section-title a:hover { color: var(--primary); }

/* 留资表单 */
.lead-form {
  background: linear-gradient(135deg, #fff3e8, #fff);
  border: 1px solid rgba(247, 148, 64, .14); border-radius: var(--radius);
  padding: 28px; margin-top: 34px; box-shadow: var(--shadow-md);
}
.lead-form h3 { margin-bottom: 12px; font-size: 18px; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-sub); font-weight: 600; }
.mode-box { border: 1.5px dashed #f0dcc8; border-radius: var(--radius-sm); padding: 14px; background: #fff8f1; margin-bottom: 12px; }
.mode-option { font-size: 13px; color: #333; margin-bottom: 8px; }
.input, .textarea, select.input {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; background: #fff; color: var(--text);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(247, 148, 64, .12); }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.textarea { min-height: 96px; resize: vertical; }
.row { display: flex; gap: 10px; align-items: center; }
.row .input { flex: 1; }
.code-btn { flex: 0 0 auto; white-space: nowrap; }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed; top: 76px; left: 50%; transform: translateX(-50%) translateY(-10px);
  background: linear-gradient(135deg, #F79440, #FFA257); color: #fff; padding: 12px 24px;
  border-radius: 999px; font-size: 14px; z-index: 1000; opacity: 0;
  transition: opacity var(--dur), transform var(--dur);
  pointer-events: none; box-shadow: 0 12px 32px rgba(247, 148, 64, .30);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: linear-gradient(135deg, #e11d48, #be123c); }
.toast.ok { background: linear-gradient(135deg, #10b981, #0d9488); }

/* ---------------- 列表 ---------------- */
.list-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 10px;
  border-bottom: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: background var(--dur);
}
.list-item:hover { background: var(--primary-soft); }
.list-item:last-child { border-bottom: none; }
.list-title { font-size: 16px; font-weight: 700; }
.list-sub { font-size: 13px; color: var(--text-sub); margin-top: 2px; }
.list-right { margin-left: auto; flex-shrink: 0; }

.empty { text-align: center; color: var(--text-sub); padding: 48px 0; font-size: 14px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 24px; align-items: center; }
.pager button {
  padding: 8px 16px; border: 1.5px solid var(--border); background: #fff; border-radius: 999px;
  cursor: pointer; font-size: 13px; transition: border-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager span { font-size: 13px; color: var(--text-sub); }

/* ---------------- 徽标 / 其他 ---------------- */
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-ok { background: var(--success-soft); color: var(--success); }
.badge-no { background: #ffe4e6; color: var(--danger); }
.btn-primary { background: var(--grad-brand); color: #fff; }
.progress { background: var(--border); border-radius: 6px; height: 8px; overflow: hidden; margin: 8px 0; }
.progress-bar { background: var(--grad-brand); height: 100%; border-radius: 6px; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab {
  padding: 10px 20px; cursor: pointer; background: none; border: none; white-space: nowrap;
  border-bottom: 3px solid transparent; font-size: 15px; color: var(--text-sub);
  transition: color var(--dur), border-color var(--dur);
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.noti-unread { background: var(--primary-soft); }
.hint { font-size: 12px; color: var(--text-sub); margin-top: 6px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }

  .navbar-inner { height: 54px; gap: 10px; padding: 0 12px; }
  .brand { font-size: 18px; }
  .brand small { display: none; }
  .nav-links { gap: 4px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13px; padding: 6px 10px; }
  .nav-right { gap: 6px; flex-shrink: 0; }

  .container { padding: 16px 14px 40px; }
  .page-title { font-size: 21px; margin-bottom: 14px; }

  .hero { padding: 32px 18px; margin-bottom: 22px; border-radius: 18px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero .search { flex-wrap: wrap; }
  .hero .search button { flex: 1 1 100%; }
  .cat-chip { min-width: 150px; padding: 18px 12px; }
  .cat-chip .ic { width: 52px; height: 52px; line-height: 52px; font-size: 28px; }

  .row { flex-wrap: wrap; }
  .row .input { flex: 1 1 100%; }
  .row select.input { flex: 1 1 auto; min-width: 0; }
  .field { margin-bottom: 12px; }
  /* 手机 16px 字号防 iOS 聚焦自动放大 */
  .input, .textarea { padding: 12px; font-size: 16px; }
  select.input { font-size: 15px; }

  .btn { padding: 11px 18px; }
  .btn-sm { padding: 7px 13px; font-size: 13px; }
  .tag { font-size: 11px; }

  .game-cover { height: 104px; font-size: 36px; }
  .game-title { font-size: 14px; }
  .game-meta { font-size: 12px; }
  .card { padding: 16px; }

  .pager { flex-wrap: wrap; gap: 6px; }
  .pager span { font-size: 12px; }
  .list-title { font-size: 15px; }
  .list-sub { font-size: 12px; }
  .section-title { font-size: 18px; }
  .section-title { margin: 24px 0 12px; }
}

/* 统一页脚 */
.footer { background: var(--bg-top); border-top: 1px solid var(--border); padding: 22px 0 26px; margin-top: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.foot-links a { color: var(--text-sub); text-decoration: none; margin: 0 10px; font-size: 14px; }
.foot-links a:hover { color: var(--primary); }
.foot-links .sep { color: var(--border); margin: 0 4px; }
.foot-copy { color: var(--text-faint); font-size: 13px; margin-top: 10px; }

/* 帮助 / FAQ 页 */
.help-sec { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin-bottom: 22px; }
.help-sec h2 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.help-sec h3 { font-size: 16px; margin: 16px 0 6px; color: var(--text); }
.help-sec p { font-size: 15px; line-height: 1.7; color: var(--text-sub); margin-bottom: 6px; }
.help-list { list-style: none; }
.help-list li { font-size: 15px; line-height: 1.8; color: var(--text-sub); padding-left: 18px; position: relative; margin-bottom: 8px; }
.help-list li::before { content: '·'; position: absolute; left: 2px; color: var(--primary); font-weight: 800; }

/* 定制服务：hero 入口条 */
.custom-entry { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--primary); border-radius: 16px; padding: 12px 18px; margin-top: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(247, 148, 64, .10); }
.custom-entry:hover { border-color: var(--primary-dark); box-shadow: 0 8px 22px rgba(247, 148, 64, .2); }
.ce-ico { font-size: 24px; }
.ce-text { flex: 1; font-size: 14px; color: var(--text); }
.ce-go { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }

/* 定制服务：底部完整模块 */
.custom-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; background: var(--grad-hero); color: #fff; border-radius: var(--radius); padding: 30px 32px; margin-top: 36px; box-shadow: 0 16px 40px rgba(247, 148, 64, .22); }
.ch-left h3 { font-size: 24px; margin-bottom: 4px; }
.ch-sub { font-size: 16px; opacity: .96; margin-bottom: 10px; }
.ch-desc { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.ch-scenes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ch-scenes span { background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.ch-steps .step { font-size: 14px; margin-bottom: 8px; opacity: .95; }
.ch-steps .step b { color: var(--accent); margin-right: 4px; }
.ch-effect { font-size: 12.5px; opacity: .85; margin-top: 6px; }
.ch-right { background: #fff; color: var(--text); border-radius: 18px; padding: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.ch-right h4 { font-size: 18px; margin-bottom: 14px; color: var(--primary-dark); }
.ch-right .input, .ch-right .textarea { margin-bottom: 10px; }
.ch-agree { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-sub); margin: 6px 0 12px; }
.ch-agree a { color: var(--primary); }
.ch-hint { font-size: 12px; color: var(--text-faint); margin-top: 10px; }
.ch-qr { margin-top: 12px; border: 1px dashed var(--border); border-radius: 12px; padding: 10px; text-align: center; font-size: 12px; color: var(--text-faint); min-height: 110px; display: flex; align-items: center; justify-content: center; }
.ch-qr img { width: 110px; height: 110px; object-fit: contain; display: block; margin: 0 auto; }
.ch-qr-tip { font-size: 11px; color: var(--text-faint); margin-top: 4px; }

@media (max-width: 760px) {
  .custom-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .custom-entry { flex-wrap: wrap; }
  .ce-go { width: 100%; }
}

/* ===== 首页优化：真实封面 + 大分类卡 + 自留地系列 ===== */
.game-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.game-cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.game-cover .ph-backup { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 52px; z-index: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 28px; }
.cat-card { background: linear-gradient(135deg, #fffdf8, #fff7ec); border: 1px solid var(--border); border-radius: 16px; padding: 26px 14px; text-align: center; cursor: pointer; box-shadow: 0 4px 14px rgba(247, 148, 64, .08); transition: transform .22s, box-shadow .22s, border-color .22s; position: relative; overflow: hidden; }
.cat-card::before { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 148, 64, .14), transparent 70%); top: -40px; right: -30px; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 10px 24px rgba(247, 148, 64, .2); }
.cat-card .cc-ico { font-size: 34px; margin-bottom: 6px; }
.cat-card .cc-name { font-size: 16px; font-weight: 800; color: var(--primary-dark); position: relative; }
.cat-card .cc-sub { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; position: relative; }

/* 游戏卡：浏览/收藏数据行 */
.game-pop { font-size: 12px; color: var(--text-faint); margin-top: 7px; letter-spacing: .2px; }
.game-pop::before { content: "👁"; margin-right: 3px; font-size: 11px; }

.series-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: 0 4px 14px rgba(247, 148, 64, .08); transition: transform .22s, box-shadow .22s; }
.series-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(247, 148, 64, .2); }
.series-cover { height: 110px; position: relative; overflow: hidden; background: linear-gradient(135deg, #F79440, #FF9F68); }
.series-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-cover .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.series-cover .badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94); color: var(--primary-dark); font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 16px; z-index: 2; }
.series-body { padding: 12px 14px 14px; }
.series-body h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; line-height: 1.4; }
.series-desc { font-size: 12.5px; color: var(--text-sub); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.series-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-faint); }
.series-meta .go { color: var(--primary-dark); font-weight: 700; }

@media (max-width: 760px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 自留地页 ===== */
.series-hero { background: var(--grad-hero); border-radius: var(--radius); padding: 34px 32px; color: #fff; box-shadow: 0 12px 32px rgba(247, 148, 64, .14); margin-bottom: 24px; position: relative; overflow: hidden; }
.series-hero::after { content: "★"; position: absolute; right: -12px; bottom: -28px; font-size: 150px; opacity: .14; color: #fff; }
.series-hero .crumb { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.series-hero .crumb a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .5); }
.series-hero h1 { font-size: 28px; margin-bottom: 6px; }
.series-hero p { font-size: 14px; opacity: .95; max-width: 640px; }

.series-detail-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }
.series-detail-meta .back { margin-left: auto; }
.series-detail-meta .back a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }

.item-list { display: flex; flex-direction: column; gap: 14px; }
.item-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; box-shadow: 0 4px 14px rgba(247, 148, 64, .06); }
.it-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-cover-1); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.it-body { flex: 1; }
.it-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.it-intro { font-size: 13.5px; color: var(--text-sub); margin-bottom: 6px; line-height: 1.6; }
.it-meta { font-size: 12px; color: var(--text-faint); margin-bottom: 10px; }
.it-game { display: flex; align-items: center; gap: 12px; background: var(--primary-soft); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; cursor: pointer; margin-top: 6px; }
.it-game:hover { border-color: var(--primary); }
.ig-cover { width: 56px; height: 40px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #F79440, #FF9F68); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.ig-cover img { width: 100%; height: 100%; object-fit: cover; }
.ig-info { flex: 1; }
.ig-title { font-size: 14px; font-weight: 700; }
.ig-go { font-size: 12px; color: var(--primary-dark); font-weight: 600; }

/* ============================================================
   视觉升级 V4：温暖 · 质感 · 值得信赖（全局设计系统收口）
   主橙 #F28C28 仅用于按钮/强调/hover；米白 #FAF6F0 与纯白交替分区
   线性图标；H2 板块标题=主标题+灰副标；板块间距统一；卡片浅投影少描边
   ============================================================ */
:root{
  --primary:#F28C28; --primary-dark:#D96C16; --primary-deep:#C25A17;
  --primary-2:#F79B45; --primary-3:#3E7A5E; --accent:#F28C28; --accent-dark:#D96C16;
  --primary-soft:#FEF3E7; --primary-light:#FFE8D2; --accent-soft:#FFF4E8;
  --bg:#FAF6F0; --bg-top:#FAF6F0; --card:#fff;
  --text:#2B2118; --text-sub:#6B5D52; --text-faint:#9A8B7D; --border:#EFE7DD;
  --radius:16px; --radius-sm:12px; --radius-xs:8px;
  --shadow-sm:0 2px 12px rgba(0,0,0,.06);
  --shadow-md:0 6px 20px rgba(0,0,0,.08);
  --shadow-lg:0 10px 30px rgba(0,0,0,.10);
  --grad-brand:linear-gradient(135deg,#F28C28,#F79B45);
  --grad-hero:linear-gradient(120deg,#FFF4E5 0%,#FFEBD6 55%,#FFE3C2 100%);
  --grad-cover-1:linear-gradient(135deg,#FFD9B8,#FFC58A);
  --grad-cover-2:linear-gradient(135deg,#F79B45,#F28C28);
  --grad-cover-3:linear-gradient(135deg,#3E7A5E,#5B9A7C);
  --grad-cover-4:linear-gradient(135deg,#FFC58A,#F79B45);
}
body{ background:var(--bg); background-attachment:fixed; }
.navbar{ background:rgba(250,246,240,.9); backdrop-filter:blur(12px); border-bottom:1px solid rgba(0,0,0,.05); }
.navbar-inner{ max-width:1200px; }
.brand{ color:var(--primary-dark); }
.nav-links a{ color:#4A3F35; }
.nav-links a.active{ background:var(--grad-brand); color:#fff; }

/* 通用内容宽度 1200 居中 */
.container{ max-width:1200px; padding:32px 24px 80px; }
.footer-inner{ max-width:1200px; }

/* 板块容器：间距统一（上下各 48px，相邻板块合计 96px） */
.home-section{ padding:48px 0; }

/* 板块标题：主标题 + 灰副标（H2 24-28px） */
.section-title{ margin:0 0 26px; font-size:24px; font-weight:800; display:flex; align-items:baseline; gap:12px; }
.section-title::before{ content:""; width:5px; height:20px; border-radius:3px; background:var(--grad-brand); margin-right:4px; }
.section-title small{ font-size:13px; color:var(--text-sub); font-weight:500; }
.section-title a{ font-size:13px; color:var(--text-sub); font-weight:600; margin-left:auto; }
.section-title a:hover{ color:var(--primary-dark); }

/* 卡片：浅投影、少描边、靠留白与底色分层 */
.card{ border:1px solid #F3ECE4; box-shadow:var(--shadow-sm); border-radius:var(--radius); }
.game-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }

/* ------- Hero：浅橙渐变、留白增多、搜索弱化 ------- */
.hero{
  background:var(--grad-hero); color:var(--text);
  border-radius:20px; padding:64px 40px 56px; margin-bottom:0;
  text-align:center; box-shadow:none; border:1px solid #F6E8D8;
}
.hero::before,.hero::after{ opacity:.5; }
.hero h1{ font-size:36px; color:var(--text); text-shadow:none; letter-spacing:-.01em; }
.hero p{ color:var(--text-sub); font-size:16px; }
.hero .search{ max-width:480px; }
.hero .search input{
  flex:1; padding:11px 18px; border:1px solid #E9DCCB; border-radius:10px;
  font-size:14px; background:#fff; box-shadow:none; color:var(--text);
}
.hero .search input:focus{ border-color:var(--primary); box-shadow:0 0 0 3px rgba(242,140,40,.14); }
.hero .search button{
  padding:11px 24px; border:none; border-radius:10px; background:var(--grad-brand); color:#fff;
  font-size:14px; font-weight:700; box-shadow:0 6px 16px rgba(242,140,40,.28);
}
.hero .search button:hover{ transform:translateY(-1px); }

/* 定制入口条：弱化为轻量白条 */
.custom-entry{ background:#fff; border:1px solid #F6E8D8; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,.05); padding:12px 18px; }
.custom-entry:hover{ border-color:var(--primary); box-shadow:0 6px 18px rgba(242,140,40,.12); }
.ce-ico{ font-size:20px; color:var(--primary); }

/* ------- 自留地：浅橙底色分区，与普通板块区分 ------- */
.series-zone{
  background:linear-gradient(180deg,#FFF6EC,#FFF0DF);
  border:1px solid #F8E7D5; border-radius:24px; padding:40px 32px;
}
.series-card{ background:#fff; border:1px solid transparent; box-shadow:var(--shadow-sm); border-radius:16px; }
.series-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.series-cover{ height:120px; border-radius:0; }
.series-cover img{ object-fit:cover; }
.series-body h3{ font-size:16px; }
.series-desc{ font-size:13px; min-height:36px; }
.series-meta{ font-size:12px; }
.series-meta .go{ color:var(--primary-dark); }

/* ------- 杂志式游戏卡（featured 大卡 + 小卡） ------- */
.game-cover{ height:150px; margin:-20px -20px 14px; border-radius:0; }
.mag-featured{ display:grid; grid-template-columns:1.55fr 1fr; gap:24px; }
.mag-main{ position:relative; border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:var(--shadow-sm); border:1px solid #F3ECE4; background:#fff; }
.mag-main .game-cover{ height:100%; min-height:300px; margin:0; border-radius:0; }
.mag-main .mg-body{ padding:22px 24px; }
.mag-main .game-title{ font-size:22px; margin-bottom:6px; }
.mag-main .mg-sub{ font-size:14px; color:var(--text-sub); margin-bottom:14px; }
.mag-side{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; align-content:start; }

/* 游戏卡精简信息：封面、名、1 标签、难度点；人数时长收底部小字 */
.mg-ctag{ display:inline-block; background:var(--primary-soft); color:var(--primary-dark); font-size:12px; font-weight:700; padding:3px 12px; border-radius:999px; margin-bottom:8px; }
.diff{ font-size:12px; letter-spacing:2px; color:var(--primary); }
.diff.on{ color:var(--primary); } .diff.off{ color:#E4D9CC; }
.game-foot{ font-size:12px; color:var(--text-faint); margin-top:8px; }
.game-pop{ color:var(--text-faint); margin-top:4px; }
.game-pop::before{ content:""; }

/* 游戏卡网格（最新上架保留小卡） */
.grid-4{ gap:24px; }

/* 分类卡：轻描边 + 渐变底 */
.cat-card{ background:linear-gradient(180deg,#fff,#FFF7EF); border:1px solid #F3ECE4; border-radius:14px; padding:28px 14px; box-shadow:var(--shadow-sm); }
.cat-card::before{ opacity:.5; }
.cat-card .cc-name{ font-size:16px; color:var(--text); }
.cat-card .cc-sub{ color:var(--text-sub); }

/* ------- 页尾定制模块：横向三步 + 二维码缩小 ------- */
.custom-hero{ background:var(--grad-hero); color:var(--text); border:1px solid #F6E8D8; border-radius:20px; padding:40px 40px; box-shadow:none; grid-template-columns:1.15fr 1fr; gap:40px; margin-top:0; }
.ch-left h3{ font-size:26px; color:var(--text); }
.ch-sub{ color:var(--text-sub); font-size:15px; }
.ch-desc{ color:var(--text-sub); font-size:14px; }
.ch-scenes span{ background:#fff; border:1px solid #F3E2D0; color:var(--primary-dark); padding:5px 14px; font-size:13px; }
.ch-steps{ display:flex; gap:0; margin-top:18px; align-items:center; }
.ch-steps .step{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-sub); }
.ch-steps .step b{ color:var(--primary-dark); }
.ch-steps .step i{ width:24px; height:24px; border-radius:50%; background:#fff; color:var(--primary-dark); font-style:normal; font-weight:700; font-size:12.5px; display:flex; align-items:center; justify-content:center; flex:none; box-shadow:0 2px 6px rgba(0,0,0,.06); }
.ch-steps .conn{ width:26px; height:1px; background:#E6D6C2; margin:0 10px; flex:none; }
.ch-effect{ color:var(--text-faint); font-size:13px; border-top:1px dashed #E6D6C2; padding-top:16px; margin-top:20px; }
.ch-right{ border-radius:16px; padding:24px; box-shadow:var(--shadow-md); }
.ch-right h4{ font-size:17px; }
.ch-qr{ min-height:auto; flex-direction:row; gap:10px; justify-content:flex-start; padding:10px; border:1px dashed var(--border); margin-top:10px; }
.ch-qr img{ width:56px; height:56px; margin:0; }
.ch-qr-tip{ font-size:11px; color:var(--text-faint); }

/* ------- 响应式：移动端单列 + 游戏卡横滑 ------- */
@media (max-width:768px){
  .home-section{ padding:36px 0; }
  .hero{ padding:40px 20px 34px; }
  .hero h1{ font-size:28px; }
  .hero p{ font-size:14px; }
  .mag-featured{ grid-template-columns:1fr; }
  .mag-main .game-cover{ min-height:200px; }
  .mag-side{ grid-template-columns:repeat(2,1fr); }
  .series-zone{ padding:26px 18px; }
  .custom-hero{ grid-template-columns:1fr; padding:26px 20px; }
  .ch-steps{ flex-wrap:wrap; gap:8px 0; }
  .ch-steps .conn{ display:none; }
}
/* 游戏卡横向滑动（小卡），仅小屏游戏网格横滑 */
@media (max-width:560px){
  .grid-4{ grid-template-columns:repeat(4,1fr); gap:14px; overflow-x:auto; }
  .grid-4 > *{ min-width:70%; scroll-snap-align:start; }
  .grid-4{ -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .grid-4::-webkit-scrollbar{ display:none; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ============================================================
   视觉升级 V5：组件统一 + 移动端修复（2026-10-11）
   依据交接说明 V2 · 4.8 组件规范；只追加，不改前面已有规则
   ============================================================ */

/* ---- 图标尺寸体系（4.2 补充：线性 SVG 统一 16/20/24，线宽 2） ---- */
:root{ --ico-sm:16px; --ico-md:20px; --ico-lg:24px; }
svg[width="16"], svg[width="18"]{ width:var(--ico-sm); height:var(--ico-sm); }
svg[width="20"], svg[width="22"]{ width:var(--ico-md); height:var(--ico-md); }
svg[width="24"], svg[width="26"]{ width:var(--ico-lg); height:var(--ico-lg); }

/* ---- 按钮状态收口（4.8：禁用态灰底） ---- */
.btn[disabled], .btn:disabled{
  background:#D8CFC5; color:#fff; box-shadow:none; transform:none; filter:none; cursor:not-allowed;
}
.btn-outline[disabled], .btn-outline:disabled{ background:#F1EFE8; color:#B4B2A9; border-color:#E4D9CC; }

/* ---- 表单错误态（4.8：统一错误提示样式） ---- */
.input.err, .textarea.err, select.input.err{
  border-color:var(--danger); box-shadow:0 0 0 3px rgba(225,29,72,.10);
}
.field-err{ font-size:12px; color:var(--danger); margin-top:4px; }

/* ---- 空态统一（4.8：图标 + 主文案 + 辅助文案 + CTA） ---- */
.empty{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:56px 20px; text-align:center; }
.empty .empty-ico{ width:52px; height:52px; border-radius:14px; background:var(--primary-soft); color:var(--primary-dark); display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.empty b{ font-size:15px; color:var(--text); font-weight:700; }
.empty small{ font-size:13px; color:var(--text-faint); }
.empty .btn{ margin-top:10px; }

/* ---- 骨架屏（4.8：列表加载占位；节点由页面 JS 后续按需插入，本层只提供样式） ---- */
.skeleton{
  background:#F3ECE4; border-radius:10px; position:relative; overflow:hidden;
}
.skeleton::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%);
  transform:translateX(-100%);
  animation:skeleton-sweep 1.2s infinite;
}
@keyframes skeleton-sweep{ to{ transform:translateX(100%); } }
@media (prefers-reduced-motion: reduce){ .skeleton::after{ animation:none; } }

/* ---- 板块标题：移动端改为纵向堆叠，修复竖排挤压 ---- */
@media (max-width:768px){
  .section-title{ display:block; font-size:20px; }
  .section-title::before{ display:inline-block; vertical-align:-3px; margin-right:8px; }
  .section-title small{ display:block; margin:6px 0 0; }
  .section-title a{ display:inline-block; margin:10px 0 0; }
}

/* ---- 首页网格移动端横滑修复：flex 替代 grid + 百分比 min-width ----
   （原 V4 写法 grid 轨道内 min-width 百分比按 auto 处理，导致 4 列挤压缩成竖条） */
@media (max-width:768px){
  .home-section .grid-4{
    display:flex; overflow-x:auto; gap:14px; padding-bottom:4px;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none;
  }
  .home-section .grid-4::-webkit-scrollbar{ display:none; }
  .home-section .grid-4 > *{ flex:0 0 76%; min-width:0; scroll-snap-align:start; }
}

/* ============================================================
   视觉升级 V6：按定稿示例收口（2026-10-11 用户拍板）
   首页 hero=暖橙渐变白字；入口条=渐变图标块+两段文字；
   页尾定制模块=eyebrow+em 大标题+两列表单+底部一行；移动端汉堡导航
   ============================================================ */

/* ---- 移动端汉堡导航（4.8：折叠导航） ---- */
.nav-burger{ display:none; }
.nav-drawer{ display:none; }
@media (max-width:768px){
  .nav-burger{
    display:flex; align-items:center; justify-content:center;
    width:38px; height:38px; flex:none; color:var(--text);
    background:#fff; border:1px solid var(--border); border-radius:10px; cursor:pointer;
  }
  .nav-burger svg{ display:block; }
  .nav-links{ display:none !important; }   /* 桌面横排 → 移动端收进抽屉 */
  .nav-drawer{
    display:none; position:absolute; top:100%; left:0; right:0; z-index:99;
    background:#fff; border-bottom:1px solid var(--border);
    box-shadow:0 16px 32px rgba(0,0,0,.10); padding:6px 16px 12px;
  }
  .nav-drawer.open{ display:block; }
  .nav-drawer a{
    display:block; padding:13px 8px; font-size:15px; color:var(--text);
    border-bottom:1px solid #F3ECE4; position:relative;
  }
  .nav-drawer a:last-child{ border-bottom:none; }
  .nav-drawer a.active{ color:var(--primary-dark); font-weight:700; }
}

/* ---- 首页 Hero：暖橙渐变卡（定稿示例） ---- */
.hero{
  background:linear-gradient(120deg,#FFB35C 0%,#F98A2B 55%,#F2711C 100%);
  color:#fff; border:none; border-radius:20px;
  padding:48px 48px 44px; box-shadow:0 18px 40px rgba(242,113,28,.24);
}
.hero h1{ color:#fff; font-size:30px; }
.hero p{ color:rgba(255,255,255,.95); }
.hero .search{ max-width:520px; }
.hero .search input{
  border:none; border-radius:999px; padding:13px 20px; font-size:14.5px;
  box-shadow:0 4px 14px rgba(0,0,0,.12); background:#fff; color:var(--text);
}
.hero .search input:focus{ box-shadow:0 0 0 3px rgba(255,255,255,.40), 0 4px 14px rgba(0,0,0,.12); }
.hero .search button{
  background:#fff; color:var(--primary-dark); border-radius:999px;
  padding:13px 26px; font-weight:800; box-shadow:0 4px 14px rgba(0,0,0,.10);
}
.hero .search button:hover{ background:#FFF4E5; }
@media (max-width:768px){
  .hero{ padding:34px 22px 30px; }
  .hero h1{ font-size:24px; }
}

/* ---- 定制入口条：渐变图标块 + 两段文字（定稿示例） ---- */
.custom-entry{
  margin-top:18px; padding:13px 20px; gap:14px;
  border:1px solid #FFE3C7; border-radius:14px;
  justify-content:space-between;
}
.custom-entry:hover{ border-color:#FFC98F; box-shadow:0 8px 20px rgba(242,113,28,.10); }
.ce-ico{
  width:30px; height:30px; border-radius:9px; flex:none;
  background:linear-gradient(135deg,#FFB35C,#F97316);
  display:flex; align-items:center; justify-content:center;
}
.ce-ico svg{ width:15px; height:15px; }
.ce-text{ flex:1; font-size:14.5px; line-height:1.5; }
.ce-text b{ display:block; font-weight:700; color:var(--text); }
.ce-text span{ display:block; font-size:13.5px; color:var(--text-faint); margin-top:1px; }
.ce-go{ font-size:13.5px; color:var(--primary-dark); font-weight:600; }

/* ---- 页尾定制模块：eyebrow + em 大标题（定稿示例） ---- */
.custom-hero{
  background:
    radial-gradient(900px 400px at 88% -10%, #FFE3CC 0%, rgba(255,227,204,0) 62%),
    linear-gradient(180deg,#FFF8F2 0%,#FFF1E4 100%);
  border:1px solid #F6E3D2; border-radius:20px;
  padding:56px 48px; gap:52px; grid-template-columns:1.05fr 1fr;
}
.ch-eyebrow{
  display:inline-flex; align-items:center; gap:7px; width:fit-content;
  font-size:12px; font-weight:600; letter-spacing:.13em; color:var(--primary-dark);
  background:rgba(255,255,255,.8); border:1px solid #F2E3D4;
  padding:6px 13px; border-radius:999px; margin-bottom:18px;
}
.ch-eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--primary); }
.ch-left h3{ font-size:34px; letter-spacing:-.02em; margin-bottom:6px; }
.ch-left h3 em{ font-style:normal; color:var(--primary-dark); }
.ch-sub{ font-size:17px; font-weight:700; color:var(--text); margin-bottom:8px; }
.ch-right{ position:relative; border-radius:16px; padding:26px 26px 22px; overflow:hidden; }
.ch-right::before{
  content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg,#FFA94D,#F97316);
}
.ch-right h4{ font-size:17px; margin-bottom:2px; }
.ch-form-hint{ font-size:12.5px; color:var(--text-faint); margin-bottom:16px; }
.ch-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ch-row .input{ margin-bottom:12px; }
.ch-foot{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin-top:14px; padding-top:14px; border-top:1px dashed #F2E3D4;
}
.ch-foot .ch-hint{ margin-top:0; }
.ch-foot .ch-qr{ border:none; padding:0; margin-top:0; min-height:0; }
.ch-foot .ch-qr img{ width:44px; height:44px; margin:0; }
@media (max-width:768px){
  /* 覆盖 V8 层 .custom-hero 两列（源顺序在后，须在此重申单列） */
  .custom-hero{ grid-template-columns:1fr; padding:32px 22px; gap:32px; }
  .ch-left h3{ font-size:28px; }
  .ch-right{ padding:22px 18px; }
}
@media (max-width:560px){
  .custom-hero{ padding:26px 18px; }
  .ch-row{ grid-template-columns:1fr; }
  .ch-foot{ flex-direction:column; align-items:flex-start; }
}

/* ============================================================
   视觉升级 V7：自留地页重做（2026-10-11 晚）
   修复：V4 把 --grad-hero 改浅后 series-hero 白字失读 → 换首页同款暖橙渐变
   系列卡：超宽横条 → 2 列大卡（封面压深色渐变 + 白标题浮层）
   ============================================================ */

/* ---- Banner：与首页 hero 同款暖橙渐变，白字可读 ---- */
.series-hero{
  background:linear-gradient(120deg,#FFB35C 0%,#F98A2B 55%,#F2711C 100%);
  color:#fff; border-radius:20px; padding:44px 44px 40px;
  box-shadow:0 18px 40px rgba(242,113,28,.24); margin-bottom:36px;
}
.series-hero h1{ font-size:30px; letter-spacing:-.01em; }
.series-hero p{ font-size:15px; max-width:640px; }
.series-hero::after{ opacity:.16; }
@media (max-width:768px){
  .series-hero{ padding:32px 22px 30px; }
  .series-hero h1{ font-size:24px; }
  .series-hero p{ font-size:14px; }
}

/* ---- 系列卡：2 列大卡 ---- */
.sz-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.sz-card{
  background:#fff; border:1px solid #F3ECE4; border-radius:16px; overflow:hidden;
  cursor:pointer; box-shadow:var(--shadow-sm);
  transition:transform .22s, box-shadow .22s;
}
.sz-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.sz-cover{
  position:relative; height:190px; overflow:hidden;
  background:linear-gradient(135deg,#FFD9B8,#FFC58A);
}
.sz-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.sz-cover.has-img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(43,33,24,0) 32%, rgba(43,33,24,.72) 100%);
}
/* 品牌渐变封面（按系列类型分色，定稿示例同款） */
.sz-cover.g-series{ background:linear-gradient(135deg,#FBBF6B,#F0791F); }
.sz-cover.g-workshop{ background:linear-gradient(135deg,#F99C4A,#E05E12); }
.sz-cover.g-challenge{ background:linear-gradient(135deg,#F7AE55,#DE6A1B); }
.sz-cover.g-default{ background:linear-gradient(135deg,#FFC178,#F5822A); }
.sz-cover .sz-tag{
  position:absolute; top:12px; left:12px; z-index:2;
  font-size:11px; font-weight:700; color:#fff; letter-spacing:.06em;
  background:rgba(43,33,24,.45); backdrop-filter:blur(4px);
  padding:3px 10px; border-radius:6px;
}
.sz-cover h3{
  position:absolute; left:16px; right:16px; bottom:12px; z-index:2; margin:0;
  color:#fff; font-size:19px; font-weight:800; letter-spacing:-.01em;
  line-height:1.3; text-shadow:0 1px 6px rgba(60,30,0,.35);
}
.sz-cover-ph::before{
  content:"★"; position:absolute; right:14px; bottom:-18px; z-index:1;
  font-size:110px; color:rgba(255,255,255,.35);
}
.sz-body{ padding:16px 18px 14px; }
.sz-body p{
  font-size:13.5px; color:var(--text-sub); line-height:1.65; margin:0 0 12px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:44px;
}
.sz-meta{ display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--text-faint); }
.sz-meta .go{ color:var(--primary-dark); font-weight:700; }
@media (max-width:768px){
  .sz-grid{ grid-template-columns:1fr; gap:16px; }
  .sz-cover{ height:170px; }
  .sz-cover h3{ font-size:17px; }
}

/* ==== V8：首页自留地卡改为品牌渐变封面（与自留地页统一） ==== */
.series-cover.has-img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(43,33,24,0) 34%, rgba(43,33,24,.66) 100%);
}
.series-cover.g-series{ background:linear-gradient(135deg,#FBBF6B,#F0791F); }
.series-cover.g-workshop{ background:linear-gradient(135deg,#F99C4A,#E05E12); }
.series-cover.g-challenge{ background:linear-gradient(135deg,#F7AE55,#DE6A1B); }
.series-cover.g-default{ background:linear-gradient(135deg,#FFC178,#F5822A); }
/* 星形水印（右下角，替代原居中 emoji 占位） */
.series-cover .ph{
  position:absolute; inset:auto; right:8px; bottom:-26px; z-index:1;
  display:block; font-size:86px; line-height:1; color:rgba(255,255,255,.34);
  pointer-events:none;
}
.series-cover .badge{ z-index:2; }

/* ---- V8.1：隐私同意行排版修复 ----
   原因：.ch-agree 用 flex 排版，裸文本节点各成 flex item、内部各自断行，
   导致"同/意""《隐私政/策》"被拆碎。现文本统一包进 <span> 整体换行。 */
.ch-agree{
  display:flex; align-items:flex-start; gap:8px;
  font-size:12.5px; line-height:1.7; color:var(--text-sub);
  margin:10px 0 14px;
}
.ch-agree input{
  flex:none; width:15px; height:15px; margin-top:3px;
  accent-color:var(--primary); cursor:pointer;
}
.ch-agree span{ flex:1; }
.ch-agree a{
  color:var(--primary-dark); font-weight:600;
  text-decoration:underline; text-underline-offset:2px;
}

/* ---- V8.2：微信二维码移至左栏"扫码加微信"卡 ---- */
.ch-wx{
  margin-top:28px; display:flex; align-items:center; gap:14px;
  background:rgba(255,255,255,.78); border:1px solid #F2E3D4; border-radius:14px;
  padding:14px 18px 14px 14px; width:fit-content; max-width:100%;
}
.ch-wx .ch-qr{
  width:86px; height:86px; min-height:0; flex:none; box-sizing:border-box; margin-top:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:6px; font-size:10.5px; color:var(--text-faint); text-align:center; line-height:1.5;
  border:1px dashed #E8CFAF; border-radius:10px; background:#fff;
}
.ch-wx .ch-qr img{ width:72px; height:72px; object-fit:contain; margin:0; }
.ch-wx .ch-qr-tip{ font-size:10px; color:var(--text-faint); }
.ch-wx .wx-text b{ display:block; font-size:14px; color:var(--text); margin-bottom:4px; }
.ch-wx .wx-text span{ display:block; font-size:12px; color:var(--text-faint); line-height:1.6; }
.ch-wx .wx-text{ flex:1; min-width:0; }
@media (max-width:560px){
  .ch-wx{ width:100%; }
}

/* ===== V9 层：游戏评论区（模块二 2026-10-12） ===== */
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--border, #eee); }
.comment-item:last-child { border-bottom: none; }
.comment-replies { margin-left: 20px; margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--border, #eee); }
.comment-item .textarea { font-size: 14px; line-height: 1.6; }
@media (max-width: 480px) { .comment-replies { margin-left: 8px; padding-left: 8px; } }

/* ===== V10 层：通知未读角标（导航铃铛 + 会员中心左栏，2026-10-12） ===== */
.nav-bell { position: relative; }
.nav-bell-dot { display: none; position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 9px; background: var(--danger, #ef4444); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 16px; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.me-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; background: var(--bg-soft, #fff7ed); }
/* ==================== V9 · 习练场（practice） ==================== */
.pr-page { max-width: 1080px; }
.pr-lead { color: var(--text-sub, #8a8378); margin: -6px 0 16px; }
.pr-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pr-tab { padding: 7px 16px; border: 1px solid var(--line, #e8e6e1); border-radius: 999px; color: var(--text-sub, #6b665e); font-size: 14px; }
.pr-tab.active { background: var(--primary, #d97a3c); border-color: var(--primary, #d97a3c); color: #fff; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pr-card { display: block; background: #fff; border: 1px solid var(--line, #e8e6e1); border-radius: 12px; padding: 16px; color: inherit; }
.pr-card:hover { border-color: var(--primary, #d97a3c); }
.pr-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pr-path { font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.pr-path-facilitation { background: #e1f5ee; color: #0f6e56; }
.pr-path-coaching { background: #e6f1fb; color: #185fa5; }
.pr-path-training { background: #faeeda; color: #854f0b; }
.pr-meta { font-size: 12px; color: var(--text-sub, #8a8378); }
.pr-card-title { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.pr-card-summary { font-size: 13px; color: var(--text-sub, #6b665e); margin: 0 0 10px; min-height: 36px; }
.pr-card-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub, #8a8378); }
.pr-signal { color: var(--primary, #d97a3c); }
.pr-empty { text-align: center; padding: 40px 0; grid-column: 1 / -1; }
.pr-empty-sub { color: var(--text-sub, #8a8378); font-size: 13px; }

/* 详情页 */
.pr-crumbs { font-size: 13px; color: var(--text-sub, #8a8378); margin-bottom: 10px; }
.pr-crumbs a { color: var(--text-sub, #6b665e); }
.pr-head { margin-bottom: 12px; }
.pr-title { font-size: 26px; margin: 0 0 8px; }
.pr-summary { font-size: 15px; color: var(--text-sub, #6b665e); margin: 0 0 6px; }
.pr-head-meta { font-size: 13px; color: var(--text-sub, #9a938a); margin: 0; }
.pr-progress { position: sticky; top: 0; z-index: 30; height: 3px; background: var(--line, #eee); margin-bottom: 18px; }
.pr-progress i { display: block; height: 3px; width: 0; background: var(--primary, #d97a3c); }
.pr-body-wrap { display: flex; gap: 22px; align-items: flex-start; }
.pr-toc { width: 220px; flex-shrink: 0; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; background: #faf8f3; border: 1px solid var(--line, #e8e6e1); border-radius: 12px; padding: 12px; }
.pr-toc-cap { margin: 0 0 8px; font-size: 12px; color: var(--text-sub, #8a8378); }
.pr-toc-item { display: block; padding: 5px 8px; font-size: 13px; color: var(--text-sub, #6b665e); border-left: 2px solid transparent; }
.pr-toc-item.active { color: var(--primary, #d97a3c); border-left-color: var(--primary, #d97a3c); background: #fff; font-weight: 600; }
.pr-toc-no { color: var(--text-sub, #9a938a); margin-right: 4px; font-size: 12px; }
.pr-toc-sub { display: block; padding: 2px 8px 2px 26px; font-size: 12px; color: var(--text-sub, #9a938a); }
.pr-toc-cta { display: block; margin-top: 10px; text-align: center; padding: 8px 0; background: var(--primary, #d97a3c); color: #fff; border-radius: 8px; font-size: 13px; }
.pr-article { flex: 1; min-width: 0; max-width: 720px; background: #fff; border: 1px solid var(--line, #e8e6e1); border-radius: 12px; padding: 20px 24px; }
.pr-article h2 { font-size: 19px; margin: 26px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line, #eee); }
.pr-article h2:first-child { margin-top: 0; }
.pr-article .sec-no { color: var(--primary, #d97a3c); margin-right: 8px; font-size: 15px; }
.pr-article h3 { font-size: 16px; margin: 18px 0 8px; }
.pr-article p, .pr-article li { font-size: 14.5px; line-height: 1.8; }
.pr-article blockquote { margin: 12px 0; padding: 8px 12px; background: #faf8f3; border-left: 3px solid var(--primary, #d97a3c); color: var(--text-sub, #6b665e); }
.pr-article img { max-width: 100%; border-radius: 8px; }
.pr-article pre { background: #f5f3ee; padding: 10px; border-radius: 8px; overflow: auto; font-size: 13px; }
.pr-article code { background: #f5f3ee; padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.pr-attach { margin-top: 20px; padding: 14px 16px; }
.pr-attach-cap { margin: 0 0 8px; font-weight: 600; }
.pr-attach-cover { max-width: 260px; border-radius: 8px; display: block; margin-bottom: 8px; }
.pr-attach-links { display: flex; gap: 10px; }
#prPptView img { max-width: 100%; margin-top: 8px; border: 1px solid var(--line, #eee); }
/* 拼局日历 */
.pr-signup { margin-top: 24px; padding: 18px 20px; }
.pr-signup-cap { margin: 0 0 6px; font-size: 17px; }
.pr-signup-lead { color: var(--text-sub, #6b665e); font-size: 13px; margin: 0 0 12px; }
.pr-day { margin-bottom: 10px; }
.pr-day-date { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.pr-cells { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-cell { font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.pr-wait { background: #faeeda; color: #854f0b; }
.pr-wait:hover { background: #f5dfbe; }
.pr-full { background: #e1f5ee; color: #0f6e56; }
.pr-new-signup { margin-top: 6px; }
.pr-signup-rule { font-size: 12px; color: var(--text-sub, #9a938a); margin-top: 10px; }
/* 讨论区 */
.pr-comments { margin-top: 24px; padding: 18px 20px; }
.pr-comments-cap { margin: 0 0 10px; font-size: 17px; }
.pr-cmt { border-bottom: 1px solid var(--line, #eee); padding: 10px 0; }
.pr-cmt-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub, #9a938a); margin-bottom: 4px; }
.pr-cmt p { margin: 0; font-size: 14px; line-height: 1.7; }
.pr-cmt-form { margin-top: 12px; }
.pr-cmt-form .textarea { width: 100%; min-height: 70px; margin-bottom: 8px; }
.pr-cmt-hint { margin-left: 10px; font-size: 12px; color: var(--text-sub, #9a938a); }

@media (max-width: 760px) {
  .pr-body-wrap { flex-direction: column; }
  .pr-toc { position: static; width: 100%; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-article { padding: 14px; }
}

/* V9.1 习练场正文表格样式 */
.pr-article table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.pr-article th, .pr-article td { border: 1px solid rgba(0,0,0,.12); padding: 8px 12px; text-align: left; vertical-align: top; line-height: 1.7; }
.pr-article th { background: rgba(255, 122, 26, .08); font-weight: 600; white-space: nowrap; }
.pr-article tr:nth-child(even) td { background: rgba(0,0,0,.02); }

/* ========== V10 书与物料 ========== */
.sh-tabs { display: flex; gap: 8px; margin: 16px 0 4px; }
.sh-group { margin-top: 22px; }
.sh-group-title { font-size: 19px; font-weight: 700; margin: 0 0 12px; padding-left: 10px; border-left: 4px solid var(--primary, #d97a3c); }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sh-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.sh-book-head { display: flex; gap: 12px; }
.sh-cover { width: 64px; height: 88px; border-radius: 6px; background: linear-gradient(135deg, #f3e7d8, #ead9c5); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #8a6a45; overflow: hidden; flex-shrink: 0; }
.sh-cover img { width: 100%; height: 100%; object-fit: cover; }
.sh-title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.4; }
.sh-sub { font-size: 13px; color: var(--text-sub, #888); margin: 2px 0 0; }
.sh-fit { font-size: 13px; color: var(--text-sub, #888); margin: 4px 0 0; }
.sh-price { font-size: 13px; font-weight: 600; color: var(--primary, #d97a3c); margin: 4px 0 0; }
.sh-price-note { font-size: 11px; font-weight: 400; color: var(--text-sub, #999); }
.sh-reason { font-size: 14px; line-height: 1.8; margin: 4px 0 0; }
.sh-note { font-size: 13px; color: var(--text-sub, #888); background: var(--bg-soft, #fff7ed); border-radius: 8px; padding: 8px 10px; margin: 2px 0 0; line-height: 1.7; }
.sh-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.sh-buy { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--primary, #d97a3c); color: var(--primary, #d97a3c); text-decoration: none; font-weight: 600; }
.sh-buy:hover { background: var(--primary, #d97a3c); color: #fff; }
.sh-buy-dim { border-color: rgba(0,0,0,.18); color: var(--text-sub, #888); }
.sh-ad { font-style: normal; font-size: 10px; opacity: .65; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; line-height: 1.4; }
.sh-meta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .sh-grid { grid-template-columns: 1fr; } }

/* ===== V11 习练场：阶段分组 + 拼局入口前置（2026-10-24） ===== */
/* 总纲卡：通栏置顶 */
.pr-card-intro { grid-column: 1 / -1; background: linear-gradient(135deg, #f2faf7, #ffffff); border: 1px solid #bfe3d6; }
.pr-card-intro .pr-path { background: #0f6e56; color: #fff; }
/* 阶段折叠分组 */
.pr-stage { margin: 18px 0 8px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; overflow: hidden; }
.pr-stage summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #f7f8fa; user-select: none; }
.pr-stage summary::-webkit-details-marker { display: none; }
.pr-stage summary:hover { background: #f1f3f5; }
.pr-stage-no { background: #334155; color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.pr-stage-name { font-size: 17px; font-weight: 700; color: #1f2937; flex: 1; }
.pr-stage-count { font-size: 13px; color: #6b7280; white-space: nowrap; }
.pr-stage[open] summary { border-bottom: 1px solid #e5e7eb; }
.pr-stage .pr-grid { padding: 14px; }
/* 详情页拼局按钮（按路径配色） */
.pr-join-btn { display: inline-block; margin-top: 10px; padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff !important; text-decoration: none; }
.pr-join-btn:hover { opacity: .88; }
.pr-join-facilitation { background: #0f6e56; }
.pr-join-coaching { background: #185fa5; }
.pr-join-training { background: #854f0b; }
/* 滚动浮动条 */
.pr-float { position: fixed; left: 0; right: 0; bottom: -80px; z-index: 60; display: flex; justify-content: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.09); transition: bottom .25s ease; }
.pr-float.show { bottom: 0; }
.pr-float a { padding: 10px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; text-decoration: none; }
.pr-join-facilitation-bar a { background: #0f6e56; }
.pr-join-coaching-bar a { background: #185fa5; }
.pr-join-training-bar a { background: #854f0b; }

/* ===== V11.1 习练场：登记表单内嵌（2026-10-24） ===== */
.pr-form { margin-top: 14px; padding: 16px 18px; background: #f2faf7; border: 1px solid #bfe3d6; border-radius: 12px; }
.pr-form-cap { font-size: 16px; font-weight: 700; color: #0f6e56; margin: 0 0 10px; }
.pr-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px; }
.pr-form .field { display: block; }
.pr-form .field + .field { margin-top: 10px; }

/* ===== V12 自留地：条目大纲正文（2026-10-25） ===== */
.it-outline { margin-top: 10px; border: 1px solid #e8e2d6; border-radius: 10px; background: #fbfaf6; overflow: hidden; }
.it-outline summary { list-style: none; cursor: pointer; padding: 10px 14px; font-size: 14px; font-weight: 600; color: #b06a1e; user-select: none; }
.it-outline summary::-webkit-details-marker { display: none; }
.it-outline summary::before { content: '▸ '; }
.it-outline[open] summary::before { content: '▾ '; }
.it-outline summary:hover { background: #f5f1e8; }
.it-outline-body { padding: 4px 18px 16px; font-size: 14.5px; line-height: 1.85; color: #3d3a34; }
.it-outline-body h2 { font-size: 17px; margin: 14px 0 8px; color: #1f2937; }
.it-outline-body h3 { font-size: 15px; margin: 12px 0 6px; color: #374151; }
.it-outline-body table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 13px; }
.it-outline-body th, .it-outline-body td { border: 1px solid #e0d9c8; padding: 6px 9px; text-align: left; }
.it-outline-body th { background: #f1ecdf; }
.it-outline-body blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid #d8a24a; background: #fdf9f0; color: #6b5d3f; }
.it-outline-body code { background: #efe9db; padding: 1px 5px; border-radius: 4px; }

/* ================= V8.3 首页「练技能 · 配物料」双入口卡（2026-10-25 追加） ================= */
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.entry-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #fffdf8, #fff7ec); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; cursor: pointer; box-shadow: 0 4px 14px rgba(247, 148, 64, .08); transition: transform .22s, box-shadow .22s, border-color .22s; }
.entry-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 10px 24px rgba(247, 148, 64, .2); }
.entry-card .ec-ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; }
.entry-card .ec-ico.e-practice { background: linear-gradient(135deg, #F79440, #FF9F68); }
.entry-card .ec-ico.e-shop { background: linear-gradient(135deg, #4A90D9, #6FB1EC); }
.entry-card .ec-body { flex: 1; min-width: 0; }
.entry-card .ec-name { font-size: 16px; font-weight: 800; color: var(--primary-dark); }
.entry-card .ec-desc { font-size: 12.5px; color: var(--text-sub); margin-top: 5px; line-height: 1.5; }
.entry-card .ec-go { flex: none; font-size: 12.5px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
@media (max-width: 760px) {
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { padding: 16px; gap: 12px; }
}

/* ================= V8.4 自留地章节正文配图/链接样式（2026-10-26 追加） ================= */
.it-outline-body img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 10px auto; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.it-outline-body a { color: #d8821f; font-weight: 500; text-decoration: underline; word-break: break-all; }

/* ================= V13 自留地：课程介绍图集（PPT 转图，2026-10-26 追加） ================= */
.si-gal { margin: 0 0 34px; }
.si-gal-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.si-gal-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.si-gal-head .hint { font-size: 12.5px; color: var(--text-light); }
.si-gal-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.si-gal-track::-webkit-scrollbar { height: 6px; }
.si-gal-track::-webkit-scrollbar-thumb { background: #ecd9c2; border-radius: 3px; }
.si-gal-item { flex: 0 0 74%; min-width: 280px; aspect-ratio: 16 / 9; scroll-snap-align: center; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(74, 63, 53, .12); cursor: zoom-in; background: #fff; border: 1px solid var(--border); }
.si-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si-gal-item img:active { cursor: grabbing; }
@media (max-width: 760px) { .si-gal-item { flex-basis: 88%; } }

/* 灯箱 */
.ppt-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(30, 22, 14, .92); display: flex; align-items: center; justify-content: center; animation: plFade .18s ease; }
@keyframes plFade { from { opacity: 0; } to { opacity: 1; } }
.ppt-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.ppt-lightbox .pl-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: 1px; }
.ppt-lightbox .pl-btn { position: absolute; background: rgba(255,255,255,.14); border: none; color: #fff; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.ppt-lightbox .pl-btn:hover { background: rgba(255,255,255,.28); }
.ppt-lightbox .pl-close { top: 20px; right: 22px; width: 42px; height: 42px; font-size: 20px; }
.ppt-lightbox .pl-prev, .ppt-lightbox .pl-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 22px; }
.ppt-lightbox .pl-prev { left: 18px; }
.ppt-lightbox .pl-next { right: 18px; }
.ppt-lightbox.pl-single .pl-prev, .ppt-lightbox.pl-single .pl-next { display: none; }

/* ================= V13.1 自留地列表页「全景介绍」入口卡（2026-10-26 追加） ================= */
.si-pano { display: flex; align-items: stretch; background: linear-gradient(135deg, #fffdf8, #fff4e6); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; cursor: pointer; margin: 0 0 30px; box-shadow: 0 6px 20px rgba(247, 148, 64, .1); transition: transform .22s, box-shadow .22s, border-color .22s; }
.si-pano:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 14px 30px rgba(247, 148, 64, .22); }
.si-pano .pn-thumb { flex: 0 0 42%; position: relative; background: #C25E20; overflow: hidden; }
.si-pano .pn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si-pano .pn-badge { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: #C25E20; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.si-pano .pn-body { flex: 1; min-width: 0; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.si-pano .pn-kicker { font-size: 12.5px; letter-spacing: 2px; color: var(--text-light); }
.si-pano .pn-title { font-size: 23px; font-weight: 800; color: var(--primary-dark); line-height: 1.4; }
.si-pano .pn-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.75; }
.si-pano .pn-cta { font-size: 13.5px; font-weight: 700; color: #d8821f; margin-top: 2px; }
@media (max-width: 760px) {
  .si-pano { flex-direction: column; }
  .si-pano .pn-thumb { flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .si-pano .pn-body { padding: 18px 20px 20px; gap: 7px; }
  .si-pano .pn-title { font-size: 20px; }
}

/* ================= V14 习练场：新增「心力技术」路径（2026-10-26 追加） ================= */
.pr-path-wellbeing { background: #EEEDFE; color: #4B3FA8; }
.pr-join-wellbeing { background: #534AB7; }
.pr-join-wellbeing-bar a { background: #534AB7; }

/* 总纲卡按路径分别配色（原来只有一套绿色，四路径后需区分） */
.pr-intro-facilitation { background: linear-gradient(135deg, #f2faf7, #ffffff); border-color: #bfe3d6; }
.pr-intro-facilitation .pr-path { background: #0f6e56; color: #fff; }
.pr-intro-coaching { background: linear-gradient(135deg, #f3f8fd, #ffffff); border-color: #c2d8f0; }
.pr-intro-coaching .pr-path { background: #185fa5; color: #fff; }
.pr-intro-training { background: linear-gradient(135deg, #fdf8ef, #ffffff); border-color: #e8d3ab; }
.pr-intro-training .pr-path { background: #854f0b; color: #fff; }
.pr-intro-wellbeing { background: linear-gradient(135deg, #f5f4fe, #ffffff); border-color: #cdc9f2; }
.pr-intro-wellbeing .pr-path { background: #534AB7; color: #fff; }

/* ================= V15 习练场「练习局」详情页（2026-10-26 追加） ================= */
.pm-wrap { max-width: 860px; }
.pm-hero { padding: 24px 26px; background: linear-gradient(135deg, #fffdf8, #fff6ec); border: 1px solid var(--border); }
.pm-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pm-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #b3651f; background: #ffe9cf; border-radius: 20px; padding: 4px 11px; }
.pm-badge-ok { color: #0f6e56; background: #dff3ec; }
.pm-badge-done { color: #5f5e5a; background: #eeece4; }
.pm-badge-off { color: #a32d2d; background: #fbe4e4; }
.pm-count { font-size: 13px; color: var(--text-sub); }
.pm-title { margin: 0 0 8px; font-size: 24px; line-height: 1.45; color: var(--text); }
.pm-meta { font-size: 14px; color: var(--text-sub); }
.pm-okbar { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #eaf6f1; color: #0f6e56; font-size: 13.5px; }
.pm-offbar { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #fbecec; color: #a32d2d; font-size: 13.5px; }
.pm-block { margin-top: 16px; }
.pm-h2 { margin: 0 0 10px; font-size: 17px; color: var(--primary-dark); }
.pm-tip { margin: 0 0 14px; font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.pm-members { display: flex; flex-direction: column; gap: 2px; }
.pm-member { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); }
.pm-member:first-child { border-top: none; }
.pm-av { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: #ffe4c9; color: #b3651f; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pm-mbody { min-width: 0; flex: 1; }
.pm-mname { font-size: 14.5px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.pm-owner { font-size: 11px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 4px; padding: 1px 6px; }
.pm-mnote { margin-top: 4px; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.pm-mphone { margin-top: 5px; font-size: 13.5px; }
.pm-phone { color: var(--primary-dark); font-weight: 700; letter-spacing: .5px; text-decoration: none; }
.pm-phone-off { color: var(--text-light); }
.pm-fine { margin: 14px 0 0; font-size: 12px; color: var(--text-light); line-height: 1.7; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-danger { color: #a32d2d; border-color: #f0c9c9; background: #fff; }
.pm-back { margin: 20px 0 40px; font-size: 13.5px; }
.pm-back a { color: var(--text-sub); text-decoration: none; }
@media (max-width: 760px) {
  .pm-hero { padding: 18px 18px; }
  .pm-title { font-size: 20px; }
  .pm-actions .btn { flex: 1 1 46%; }
}

/* 练习局：活动页分区 + 登记表单同意项 */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; margin: 0 0 24px; }
.pl-card { padding: 16px 18px; cursor: pointer; border-left: 3px solid var(--primary); transition: transform .18s, box-shadow .18s; }
.pl-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74, 63, 53, .1); }
.pl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pl-tag { font-size: 11px; font-weight: 700; color: #b3651f; background: #ffe9cf; border-radius: 4px; padding: 2px 7px; }
.pl-count { font-size: 12px; color: var(--text-sub); }
.pl-cta { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--primary-dark); }
.pr-share { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.pr-share input { margin-top: 3px; }
@media (max-width: 760px) { .pl-grid { grid-template-columns: 1fr; } }

/* ===== V16 幸福技术路径（happiness）配色 ===== */
.pr-path-happiness { background: #E8F5F0; color: #1F8A70; }
.pr-intro-happiness { background: linear-gradient(135deg, #eefaf5, #ffffff); border-color: #bfe5d8; }
.pr-intro-happiness .pr-path { background: #1F8A70; color: #fff; }

/* ============================================================
   V17 练习表格在线填写（模块八一期，2026-10-27）
   追加层：不改动既有规则
   ============================================================ */
.sf-page { max-width: 860px; padding-bottom: 64px; }
.sf-head { margin-bottom: 14px; }
.sf-kicker { font-size: 12.5px; color: var(--primary-dark); font-weight: 700; letter-spacing: .6px; }
.sf-title { font-size: 27px; line-height: 1.28; margin: 4px 0 6px; color: var(--text); }
.sf-sub { font-size: 13.5px; color: var(--text-sub); }
.sf-status { display: flex; align-items: center; gap: 10px; margin-top: 13px; }
.sf-prog { flex: 1; height: 6px; border-radius: 99px; background: #F1E8DC; overflow: hidden; }
.sf-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--brand-4)); border-radius: 99px; transition: width .3s; }
.sf-prog-txt { font-size: 12px; color: var(--text-sub); white-space: nowrap; }
.sf-save { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-faint); margin-top: 8px; }
.sf-dot { width: 6px; height: 6px; border-radius: 50%; background: #D9CDBE; transition: .2s; }
.sf-dot.on { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,.12); }

.sf-hint { background: var(--primary-soft); border-left: 3px solid var(--primary); border-radius: 0 10px 10px 0; padding: 11px 14px; font-size: 13.5px; line-height: 1.78; color: #6B5340; margin-bottom: 16px; }
.sf-hint p { margin: 0; }
.sf-hint b { color: var(--primary-dark); }

.sf-block { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 18px; margin-bottom: 14px; }
.sf-bt { font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.sf-bt-note { font-size: 12px; font-weight: 400; color: var(--text-faint); }
.sf-bh { font-size: 12px; color: var(--text-faint); margin: -2px 0 10px; }

/* 表格 */
.sf-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
.sf-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 500px; }
.sf-tbl th { background: #FBF7F1; font-size: 11.5px; font-weight: 600; color: var(--text-sub); padding: 7px 6px; border: 1px solid #EFE5D8; text-align: left; vertical-align: bottom; line-height: 1.4; }
.sf-tbl th i { display: block; font-style: normal; font-size: 10.5px; color: var(--text-faint); font-weight: 400; margin-top: 1px; }
.sf-tbl td { border: 1px solid #F2EAE0; padding: 4px 5px; vertical-align: top; }
.sf-td-grp { background: #FBF7F1; font-size: 12px; font-weight: 600; color: var(--text-sub); text-align: center; vertical-align: middle; }
.sf-td-c { text-align: center; }
.sf-in { width: 100%; border: none; background: transparent; outline: none; font-family: inherit; font-size: 13.5px; color: var(--text); padding: 6px 5px; border-radius: 7px; }
.sf-in:focus { background: #FFFAF3; box-shadow: inset 0 0 0 1.5px rgba(247,148,64,.45); }
.sf-in.ro { color: var(--text-sub); }
.sf-in::placeholder { color: #C9BBAB; font-size: 12px; }
.sf-in-area { resize: none; line-height: 1.6; overflow: hidden; min-height: 32px; }
.sf-in-num { text-align: center; font-size: 16px; font-weight: 600; color: var(--primary-dark); }
.sf-in-num-l { text-align: left; font-size: 14px; }
.sf-calc { display: inline-block; padding: 6px 0; font-size: 15px; font-weight: 700; color: var(--text); }
.sf-calc.hi { color: var(--danger); }

/* 单选胶囊 */
.sf-opts { display: flex; flex-wrap: wrap; gap: 5px; padding: 2px 0; }
.sf-opt { font-family: inherit; font-size: 12px; padding: 5px 9px; border-radius: 99px; border: 1px solid #EBE0D2; background: #fff; color: var(--text-sub); cursor: pointer; line-height: 1.2; }
.sf-opt.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.sf-opt.ro { pointer-events: none; opacity: .75; }

/* 字段组 */
.sf-flds { display: grid; gap: 12px; margin-top: 10px; }
.sf-flds-2 { grid-template-columns: 1fr 1fr; }
.sf-fld { min-width: 0; }
.sf-fld-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-sub); margin-bottom: 5px; }
.sf-fld-l i { display: block; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--text-faint); margin-top: 1px; }
.sf-fld .sf-in { border: 1px solid #EFE5D8; background: #FCFAF7; padding: 9px 10px; }
.sf-fld .sf-in:focus { background: #fff; }
.sf-fld .sf-in-num { text-align: left; font-size: 14px; font-weight: 500; color: var(--text); }

/* 勾选盘点 */
.sf-ck-g { margin-top: 12px; }
.sf-ck-gn { font-size: 12px; font-weight: 700; color: var(--primary-dark); letter-spacing: .5px; margin-bottom: 6px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sf-chip { font-family: inherit; font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid #EBE0D2; background: #fff; color: var(--text); cursor: pointer; transition: .15s; }
.sf-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(247,148,64,.28); }
.sf-chip.on::before { content: "✓ "; font-size: 11px; }
.sf-chip.ro { pointer-events: none; }
.sf-ck-cnt { font-size: 12px; color: var(--text-faint); margin-top: 11px; }
.sf-ck-cnt.ok { color: var(--success); font-weight: 600; }
.sf-ck-cnt.over { color: var(--danger); font-weight: 600; }

/* 打卡格 */
.sf-mk { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin-top: 12px; }
.sf-mk-d { border: 1px solid #F2EAE0; border-radius: 9px; padding: 5px 4px 6px; text-align: center; background: #FCFAF7; }
.sf-mk-n { display: block; font-size: 10.5px; color: var(--text-faint); margin-bottom: 3px; }
.sf-mk-bs { display: flex; gap: 3px; justify-content: center; }
.sf-mk-b { flex: 1; min-width: 0; font-family: inherit; font-size: 11.5px; padding: 5px 2px; border-radius: 6px; border: 1px solid #E7DAC9; background: #fff; color: var(--text-faint); cursor: pointer; }
.sf-mk-b.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.sf-mk-b.ro { pointer-events: none; }
.sf-mk-duo .sf-mk-d { padding: 5px 3px 6px; }

/* 小抄 */
.sf-cheat { background: #FFFBF2; border: 1px dashed #EBD9BE; border-radius: 12px; padding: 12px 14px; font-size: 12.8px; line-height: 1.85; color: #6B5340; margin-bottom: 14px; }
.sf-cheat p { margin: 0; }
.sf-cheat b { color: var(--primary-dark); }

/* 底栏 */
.sf-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }
.sf-foot-tip { font-size: 12.5px; color: var(--text-sub); }
.sf-foot-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sf-danger { color: var(--danger); border-color: #F3CFD8; }
.sf-foot-note { font-size: 11.5px; color: var(--text-faint); margin-top: 12px; line-height: 1.7; }

/* 同意弹层 */
.sf-modal { position: fixed; inset: 0; background: rgba(31,41,55,.5); z-index: 999; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.sf-modal[hidden] { display: none; }
.sf-modal-box { background: #fff; width: 100%; max-width: 560px; border-radius: 18px 18px 0 0; padding: 22px 20px 20px; max-height: 88vh; overflow-y: auto; }
.sf-modal-box h2 { font-size: 18px; margin-bottom: 12px; }
.sf-modal-body { font-size: 13.5px; line-height: 1.8; color: var(--text-sub); }
.sf-modal-body p { margin-bottom: 8px; }
.sf-modal-body b { color: var(--text); }
.sf-modal-body ul { margin: 8px 0 10px; padding-left: 18px; }
.sf-modal-body li { margin-bottom: 7px; }
.sf-modal-fine { font-size: 11.5px; color: var(--text-faint); }
.sf-modal-btn { width: 100%; margin-top: 16px; padding: 13px; font-size: 15px; }
.sf-modal-cancel { display: block; width: 100%; margin-top: 8px; padding: 9px; background: none; border: none; font-family: inherit; font-size: 13px; color: var(--text-faint); cursor: pointer; }

/* 详情页入口卡 */
.pr-sheet { display: block; }
.pr-sheet-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pr-sheet-t { font-size: 15px; font-weight: 700; color: var(--text); }
.pr-sheet-d { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; }
.pr-sheet-last { font-size: 12px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 99px; padding: 3px 10px; }
.pr-sheet-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .sf-page { padding-left: 14px; padding-right: 14px; }
  .sf-title { font-size: 22px; }
  .sf-flds-2 { grid-template-columns: 1fr; }
  .sf-block { padding: 14px 13px 16px; border-radius: 12px; }
}

@media print {
  .nav, .footer, .sf-foot, .sf-modal, .pr-float, .pr-crumbs, .sf-status, .sf-save { display: none !important; }
  .sf-page { max-width: 100%; padding: 0; }
  .sf-block { break-inside: avoid; border: 1px solid #ddd; box-shadow: none; }
  .sf-in, .sf-in-num { color: #000; }
  .sf-calc.hi { color: #000; }
}

/* ============================================================
   V18 习练场搜索（2026-10-27，模块九）
   追加层：不改动既有规则
   ============================================================ */
.pr-search { display: flex; gap: 8px; align-items: stretch; margin: 0 0 16px; max-width: 560px; }
.pr-search-in { flex: 1; min-width: 0; padding: 10px 14px; font-size: 14px; }
.pr-search-btn { flex: 0 0 auto; padding: 10px 22px; font-size: 14px; white-space: nowrap; }
/* 原生 search 的清除叉在部分浏览器偏丑，统一隐藏，靠「清除搜索」链接 */
.pr-search-in::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.pr-srch-res { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-sub); background: var(--primary-soft); border-radius: 10px; padding: 9px 13px; margin-bottom: 14px; }
.pr-srch-txt b { color: var(--primary-dark); }
.pr-srch-clear { font-size: 13px; color: var(--primary-dark); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

.pr-mark { background: #FFEDD0; color: #8A4B12; border-radius: 4px; padding: 0 2px; font-weight: 600; }
.pr-card-snip { font-size: 12.5px; line-height: 1.72; color: var(--text-faint); margin-top: 6px; border-left: 2px solid #EFE2D2; padding-left: 8px; }

.pr-hots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.pr-hot { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid #EBE0D2; background: #fff; color: var(--text-sub); }
.pr-hot:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }

@media (max-width: 760px) {
  .pr-search { max-width: 100%; }
  .pr-search-btn { padding: 10px 16px; }
  .pr-srch-res { font-size: 13px; padding: 9px 11px; }
}

/* V18.1 表格页工具条（2026-10-27 回看入口补强） */
.sf-tools { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--border); }
.sf-tool { font-size: 12.5px; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.sf-tool:hover { color: var(--primary); }

/* V18.2 表格内公式自动计算（2026-10-27） */
.sf-calc-val { display: block; padding: 9px 10px; border: 1px dashed #E6D3BA; border-radius: 8px; background: #FFFBF3; font-size: 15px; font-weight: 700; color: var(--primary-dark); letter-spacing: .3px; }
.sf-calc-val.na { color: #C4B4A2; font-weight: 400; }
.sf-fld-l i { display: block; }
.sf-mk-sum { margin-top: 10px; display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--primary-soft); font-size: 12.5px; color: var(--primary-dark); }

/* 公式列粘性：手机横滑时始终可见（104 落差列等） */
.sf-tbl th.sf-sticky, .sf-tbl td.sf-sticky { position: sticky; right: 0; background: #FFFDF8; box-shadow: -5px 0 8px -6px rgba(90,62,30,.25); z-index: 1; }
.sf-tbl th.sf-sticky { background: #FBF4EA; }
.sf-tbl td.sf-sticky .sf-calc { display: inline-block; min-width: 34px; text-align: center; }

/* ============================================================
   V19 公式引擎扩展：表尾合计行（2026-10-27 促动第一档）
   tfoot 与 tbody 同表，横滑自然对齐；合计列沿用 sf-td-c 居中
   ============================================================ */
.sf-tbl tfoot td { background: #FBF7F1; border-top: 1.5px solid #E8D9C4; font-weight: 700; padding: 6px 5px; }
.sf-tbl tfoot .sf-tf-label { font-size: 11.5px; color: var(--text-sub); font-weight: 600; letter-spacing: .5px; }
.sf-tbl tfoot .sf-tf-val { font-size: 14px; color: var(--primary-dark); }
.sf-tbl tfoot .sf-tf-val.na { color: #C4B4A2; font-weight: 400; }
.sf-tbl tfoot .sf-tf-blank { background: #FBF7F1; }
.sf-tbl tfoot td.sf-sticky { background: #FBF4EA; z-index: 2; }

/* ============================================================
   V20 拼局可匹配化 + 反馈位下移 + 自留地咨询卡（2026-10-27）
   1) 练习页拼局：旧的 14 天日历格子（只显示 1/3 人、看不出是谁）
      改成清单，一行一个时段，写清谁在等、想练什么、还差几人
   2) 「发现问题？告诉我们」移到页面最底部（讨论区之后）
   3) 习练场列表页新增「两周拼局」总览
   4) 自留地列表页/详情页新增微信咨询卡
   ============================================================ */

/* ---- 1. 拼局清单 ---- */
.pr-slots { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.pr-slot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .18s, background .18s; }
.pr-slot--mine { border-color: var(--primary-light); background: var(--primary-soft); }
.pr-slot--full { background: #FAF7F2; }
.pr-slot-main { flex: 1; min-width: 0; }
.pr-slot-when { font-size: 13.5px; font-weight: 600; color: var(--text); }
.pr-slot-people { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.pr-slot-person { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; font-size: 12.5px; color: var(--text-sub); }
.pr-slot-person b { flex: none; font-weight: 600; color: var(--text); }
.pr-slot-person i { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; color: var(--text-faint); }
.pr-slot-av { flex: none; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: var(--primary-light); }
.pr-slot-av--t { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--primary-dark); }
.pr-slot-nobody { font-size: 12.5px; color: var(--text-faint); }
.pr-slot-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pr-slot-need { font-size: 12px; color: var(--text-sub); white-space: nowrap; }
.pr-slot-btn { padding: 7px 14px; border: 1px solid transparent; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; font-family: inherit; text-decoration: none; }
.pr-slot-btn:hover { background: var(--primary-dark); }
.pr-slot-btn--ghost { background: #fff; border-color: var(--primary); color: var(--primary-dark); }
.pr-slot-btn--ghost:hover { background: var(--primary-soft); }
.pr-slot-btn--off { background: #EDE7DF; color: #9A8F84; cursor: default; }
.pr-form-hint { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.pr-form-hint b { color: var(--primary-dark); }

/* ---- 2. 反馈区（页面最底部，弱化为页脚级入口） ---- */
.pr-feedback { margin-top: 24px; padding: 18px 20px; }
.pr-feedback-cap { margin: 0 0 6px; font-size: 15px; color: var(--text-sub); }
.pr-feedback-lead { margin: 0 0 10px; font-size: 13px; color: var(--text-faint); line-height: 1.65; }

/* ---- 3. 两周拼局总览（习练场列表页） ---- */
.pr-ov { margin: 0 0 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; }
.pr-ov > summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; }
.pr-ov > summary::-webkit-details-marker { display: none; }
.pr-ov > summary::after { content: '▾'; margin-left: auto; color: var(--text-faint); font-size: 13px; }
.pr-ov[open] > summary::after { content: '▴'; }
.pr-ov-t { flex: none; font-size: 15px; font-weight: 700; color: var(--text); }
.pr-ov-t::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--primary); vertical-align: 2px; }
.pr-ov-sum { font-size: 13px; color: var(--text-sub); }
.pr-ov-sum b { color: var(--primary-dark); }
.pr-ov-body { padding: 0 18px 14px; }
.pr-ov-day { display: flex; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--border); }
.pr-ov-date { flex: none; width: 88px; padding-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--primary-dark); }
.pr-ov-rows { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pr-ov-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 10px; border-radius: 10px; background: #FCFAF7; color: inherit; font-size: 12.5px; text-decoration: none; }
.pr-ov-row:hover { background: var(--primary-soft); }
.pr-ov-meta { flex: none; color: var(--text-sub); }
.pr-ov-skill { flex: none; font-weight: 600; color: var(--text); }
.pr-ov-ppl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-faint); }
.pr-ov-need { flex: none; padding: 2px 9px; border-radius: 999px; background: #FFEFDD; color: var(--primary-dark); font-size: 11.5px; font-weight: 600; }
.pr-ov-need--full { background: #EFEAE3; color: #8A7A6B; }

/* ---- 4. 自留地咨询卡 ---- */
.sz-consult { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 22px 24px; border: 1px solid #F6DFC6; border-radius: 24px; background: linear-gradient(120deg, #FFF6EC 0%, #FFEFDC 100%); }
.sz-consult-txt { flex: 1; min-width: 0; }
.sz-consult-kicker { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--primary-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .5px; }
.sz-consult-title { margin: 8px 0 6px; font-size: 18px; font-weight: 700; color: var(--text); }
.sz-consult-desc { font-size: 13.5px; line-height: 1.7; color: var(--text-sub); }
.sz-consult-qr { flex: none; text-align: center; }
.sz-consult-qr img { display: block; width: 120px; height: 120px; padding: 6px; border-radius: 12px; background: #fff; object-fit: contain; box-shadow: 0 4px 14px rgba(212, 107, 40, .14); }
.sz-consult-qr span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--primary-dark); }
.sz-consult-ph { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 12px; background: #fff; color: #B9A896; font-size: 12.5px; line-height: 1.5; }

@media (max-width: 640px) {
  .pr-slot { flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .pr-slot-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .pr-ov-day { flex-direction: column; gap: 6px; }
  .pr-ov-date { width: auto; padding-top: 0; }
  .sz-consult { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
  .sz-consult-desc { text-align: left; }
}

/* ============================================================= */
/* V21 故事/案例（2026-10-27）st-* 前缀；列表页 /stories.html + 详情页 /story/:id.html */
/* ============================================================= */
.st-page { padding-top: 22px; padding-bottom: 60px; }
.st-hero { margin: 6px 0 20px; }
.st-hero-t { margin: 0; font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: 1px; }
.st-hero-d { margin: 8px 0 0; max-width: 560px; font-size: 14px; line-height: 1.8; color: var(--text-sub); }
.st-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.st-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--text-sub); text-decoration: none; transition: all .18s; }
.st-tab i { font-style: normal; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--text-faint); }
.st-tab:hover { border-color: var(--brand-2); color: var(--primary-dark); }
.st-tab.on { border-color: transparent; background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px rgba(247,148,64,.28); }
.st-tab.on i { background: rgba(255,255,255,.22); color: #fff; }
.st-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.st-card { display: flex; gap: 18px; align-items: stretch; padding: 20px 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); text-decoration: none; transition: all .18s; }
.st-card:hover { border-color: #F6C893; box-shadow: 0 10px 26px rgba(212,107,40,.10); transform: translateY(-2px); }
.st-card-main { flex: 1; min-width: 0; }
.st-card-t { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--text); }
.st-card-scene { margin: 0 0 8px; font-size: 13.5px; line-height: 1.7; color: var(--text-sub); }
.st-card-line { margin: 0; font-size: 13px; color: var(--primary-dark); font-weight: 600; }
.st-card-line::before { content: '「'; color: var(--text-faint); font-weight: 400; }
.st-card-line::after { content: '」'; color: var(--text-faint); font-weight: 400; }
.st-card-side { flex: none; width: 150px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 10px; text-align: right; }
.st-card-skill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 11.5px; font-weight: 600; }
.st-card-go { font-size: 12.5px; color: var(--text-faint); }
.st-card:hover .st-card-go { color: var(--primary-dark); }
.st-empty { padding: 40px 0; text-align: center; color: var(--text-faint); font-size: 14px; }

/* 详情页 */
.st-detail { max-width: 760px; }
.st-article { padding: 30px 34px 34px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); }
.st-head { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed var(--border); }
.st-title { margin: 0 0 10px; font-size: 25px; font-weight: 800; color: var(--text); line-height: 1.4; }
.st-scene { margin: 0; font-size: 13.5px; color: var(--text-faint); }
.st-body { padding: 24px 0 8px; }
.st-body p { margin: 0 0 14px; font-size: 15.5px; line-height: 2.0; color: var(--text); }
.st-moral { display: flex; align-items: center; gap: 14px; margin: 18px 0 12px; padding: 16px 20px; border-radius: 16px; background: var(--primary-soft); }
.st-moral-cap { flex: none; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--primary-dark); font-size: 11.5px; font-weight: 700; letter-spacing: 2px; }
.st-moral p { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--primary-dark); }
.st-source { margin: 0 0 6px; font-size: 12px; color: var(--text-faint); }
.st-cta { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 18px 22px; border: 1.5px solid #F6C893; border-radius: 18px; background: linear-gradient(120deg, #FFF6EC, #FFF0DF); }
.st-cta-main { flex: 1; min-width: 0; }
.st-cta-cap { margin: 0 0 4px; font-size: 12px; color: var(--text-faint); }
.st-cta-skill { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.st-cta .btn { flex: none; white-space: nowrap; }
.st-rel { margin-top: 26px; }
.st-rel-cap { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--text-faint); }
.st-rel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-rel-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); text-decoration: none; transition: all .18s; }
.st-rel-item:hover { border-color: #F6C893; background: var(--primary-soft); }
.st-rel-item b { font-size: 13.5px; color: var(--text); line-height: 1.5; }
.st-rel-item span { font-size: 12px; color: var(--text-faint); line-height: 1.6; }

@media (max-width: 640px) {
  .st-hero-t { font-size: 24px; }
  .st-card { flex-direction: column; gap: 10px; padding: 18px; }
  .st-card-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .st-article { padding: 22px 18px 26px; border-radius: 18px; }
  .st-title { font-size: 21px; }
  .st-body p { font-size: 15px; line-height: 1.9; }
  .st-cta { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .st-cta .btn { text-align: center; }
  .st-rel-list { grid-template-columns: 1fr; }
}

/* ---- V21b 故事入口（习练场列表页横条 + 技能详情页相关故事卡） ---- */
.pr-story-band { display: flex; align-items: center; gap: 18px; margin: 14px 0 18px; padding: 16px 20px; border: 1px dashed #F0CFA5; border-radius: 18px; background: linear-gradient(120deg, #FFF9F0, #FFF3E3); }
.pr-story-cap { flex: none; display: flex; flex-direction: column; gap: 3px; }
.pr-story-cap b { font-size: 15px; color: var(--primary-dark); }
.pr-story-cap span { font-size: 11.5px; color: var(--text-faint); }
.pr-story-picks { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pr-story-pick { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); text-decoration: none; transition: all .18s; }
.pr-story-pick:hover { border-color: #F6C893; transform: translateY(-1px); }
.pr-story-pick b { font-size: 13px; color: var(--text); line-height: 1.5; }
.pr-story-pick i { font-style: normal; font-size: 11.5px; color: var(--text-faint); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-story-all { flex: none; font-size: 12.5px; font-weight: 600; color: var(--primary-dark); text-decoration: none; }
.pr-story-all:hover { text-decoration: underline; }
.pr-stcard { margin-top: 18px; padding: 20px 22px; border: 1px solid #F0CFA5; border-radius: 20px; background: linear-gradient(160deg, #FFFBF4 0%, #FFF4E4 100%); }
.pr-stcard-head { margin-bottom: 12px; }
.pr-stcard-cap { margin: 0 0 3px; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--primary-dark); }
.pr-stcard-lead { margin: 0; font-size: 12.5px; color: var(--text-faint); }
.pr-stcard-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); margin-top: 8px; text-decoration: none; transition: all .18s; }
.pr-stcard-item:hover { border-color: #F6C893; box-shadow: 0 6px 16px rgba(212,107,40,.08); }
.pr-stcard-item b { font-size: 14.5px; color: var(--text); }
.pr-stcard-item span { font-size: 12.5px; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-stcard-item i { font-style: normal; font-size: 12px; color: var(--primary-dark); font-weight: 600; }
.pr-stcard-item em { font-style: normal; font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.pr-stcard-item:hover em { color: var(--primary-dark); }

@media (max-width: 640px) {
  .pr-story-band { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .pr-story-picks { grid-template-columns: 1fr; }
  .pr-story-pick i { white-space: normal; }
  .pr-story-all { text-align: center; padding-top: 2px; }
  .pr-stcard { padding: 16px; border-radius: 16px; }
  .pr-stcard-item { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
}
.pr-stcard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pr-stcard-all { flex: none; font-size: 12.5px; font-weight: 600; color: var(--primary-dark); text-decoration: none; }
.pr-stcard-all:hover { text-decoration: underline; }

/* V22 练习房间（2026-10-28）rm-* 前缀；/practice-room/:id.html */
.rm-wrap { max-width: 920px; margin: 0 auto; padding: 20px 16px 48px; }
.rm-hero { padding: 22px 24px; }
.rm-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rm-title { margin: 0; font-size: 21px; color: var(--text); }
.rm-back { flex: none; font-size: 12.5px; color: var(--primary-dark); text-decoration: none; }
.rm-back:hover { text-decoration: underline; }
.rm-meta { margin-top: 6px; font-size: 13px; color: var(--text-sub); }
.rm-offbar { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #FDF3E7; color: #8A5A1E; font-size: 13px; }
.rm-block { margin-top: 14px; padding: 20px 24px; }
.rm-h2 { margin: 0 0 12px; font-size: 16px; color: var(--text); }
.rm-h3 { margin: 18px 0 8px; font-size: 14px; color: var(--text); }
.rm-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text); cursor: pointer; line-height: 1.55; }
.rm-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: #D46D28; }
.rm-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rm-member { border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; background: #fff; }
.rm-mtop { display: flex; align-items: center; gap: 9px; }
.rm-av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#F2A65E,#D46D28); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.rm-name { font-size: 14px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rm-owner { font-size: 11px; padding: 1.5px 7px; border-radius: 999px; background: #FDEBD9; color: #B05A14; font-weight: 600; }
.rm-ok { font-size: 11px; padding: 1.5px 7px; border-radius: 999px; background: #E8F3E4; color: #3F7A2C; font-weight: 500; }
.rm-prog { margin-left: auto; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.rm-prog-0 { background: #F0EFEB; color: var(--text-faint); }
.rm-prog-1 { background: #FDF0E2; color: #B05A14; }
.rm-prog-2 { background: #E8F3E4; color: #3F7A2C; }
.rm-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.rm-chip { border: 1px solid #EAC79E; background: #FFF7EE; color: #B05A14; font-size: 12px; padding: 4.5px 11px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.rm-chip:hover { background: #FDEBD9; }
.rm-chip-off { opacity: .45; cursor: not-allowed; }
.rm-chip:disabled { pointer-events: none; }
.rm-ownerbar { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.rm-ownerbar .rm-fine { font-size: 12.5px; color: var(--text-faint); }
.rm-pj-empty { padding: 26px 16px; text-align: center; font-size: 13.5px; color: var(--text-faint); background: #FAF9F6; border-radius: 14px; border: 1px dashed var(--border); }
.rm-projecting { border: 1.5px solid #F2C48D; border-radius: 16px; overflow: hidden; }
.rm-pj-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; background: #FDF3E7; }
.rm-pj-who { font-size: 13.5px; font-weight: 600; color: #8A4A12; }
.rm-pj-body { padding: 18px 20px; background: #fff; }
.rm-bt { font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.rm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rm-table th, .rm-table td { border: 1px solid var(--border); padding: 7px 10px; text-align: left; vertical-align: top; }
.rm-table th { background: #FAF9F6; font-size: 12px; color: var(--text-sub); font-weight: 600; }
.rm-rl { background: #FAF9F6; font-size: 12px; color: var(--text-sub); white-space: nowrap; }
.rm-dim { color: #C4C1B8; }
.rm-fields { display: grid; gap: 12px; }
.rm-fl { font-size: 12.5px; color: var(--text-sub); margin-bottom: 3px; }
.rm-fv { font-size: 13.5px; color: var(--text); line-height: 1.6; white-space: pre-wrap; background: #FAF9F6; border-radius: 10px; padding: 9px 12px; }
.rm-marks { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.rm-mark { border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; }
.rm-md { color: var(--text-faint); font-size: 11.5px; }
.rm-mv { color: #3F7A2C; font-weight: 600; }
.rm-picks { display: flex; flex-wrap: wrap; gap: 7px; }
.rm-pick { background: #FDF0E2; color: #8A4A12; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; }
.rm-fblist { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.rm-fb { border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; background: #fff; }
.rm-fb-name { font-size: 13px; font-weight: 600; color: var(--text); margin-right: 7px; }
.rm-fb-ctx { font-size: 11.5px; color: var(--text-faint); }
.rm-fb-body { margin-top: 4px; font-size: 13px; color: var(--text); line-height: 1.6; white-space: pre-wrap; }
.rm-fb-time { margin-top: 3px; font-size: 11px; color: var(--text-faint); }
.rm-fbform { margin-top: 12px; display: flex; gap: 8px; }
.rm-fbinput { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px; font-size: 13px; outline: none; }
.rm-fbinput:focus { border-color: #E8A768; }
.rm-fbinput:disabled { background: #F5F4F0; }
.rm-modal { position: fixed; inset: 0; background: rgba(30,25,18,.45); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.rm-modal-box { background: #fff; border-radius: 18px; padding: 24px; max-width: 400px; width: 100%; }
.rm-modal-t { margin: 0 0 10px; font-size: 17px; color: var(--text); }
.rm-modal-p { margin: 0 0 8px; font-size: 14px; color: var(--text); line-height: 1.6; }
.rm-modal-fine { margin: 0 0 16px; font-size: 12.5px; color: var(--text-faint); }
.rm-modal-btns { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 640px) {
  .rm-hero, .rm-block { padding: 16px; }
  .rm-title { font-size: 18px; }
  .rm-members { grid-template-columns: 1fr; }
  .rm-pj-body { padding: 13px; }
  .rm-table { font-size: 12px; }
}

/* V23 练习房间二期（2026-10-28）：反馈卡 / 小结 / 节奏条 */
.rm-fb-pending { opacity: .72; background: #FAF9F6; }
.rm-fb-head { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.rm-pendtag { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: #F0EFEB; color: var(--text-faint); font-weight: 600; }
.rm-fb-row { display: flex; align-items: flex-start; gap: 7px; margin-top: 5px; }
.rm-tag { flex: none; font-size: 10.5px; padding: 1.5px 8px; border-radius: 999px; font-weight: 600; margin-top: 1px; }
.rm-tag-p { background: #E8F3E4; color: #3F7A2C; }
.rm-tag-a { background: #FDF0E2; color: #B05A14; }
.rm-fb-txt { font-size: 13px; color: var(--text); line-height: 1.6; white-space: pre-wrap; }
.rm-fbform2 { margin-top: 12px; display: grid; gap: 9px; grid-template-columns: 1fr 1fr auto; align-items: end; }
.rm-fb-slot label { display: block; font-size: 12px; color: var(--text-sub); margin-bottom: 4px; }
.rm-fb-slot label i { font-style: normal; font-size: 10.5px; padding: 0.5px 6px; border-radius: 999px; background: #F0EFEB; color: var(--text-faint); margin-left: 4px; }
.rm-fb-slot input { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px; font-size: 13px; outline: none; }
.rm-fb-slot input:focus { border-color: #E8A768; }
.rm-summary { border: 1.5px solid #EAC79E; background: linear-gradient(180deg, #FFFDF8, #fff); }
.rm-sm-time { font-size: 12px; color: var(--text-faint); margin-bottom: 10px; }
.rm-sm-mems { display: flex; flex-wrap: wrap; gap: 7px; }
.rm-sm-mem { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: #FDF3E7; color: #8A4A12; }
.rm-sm-logs { display: flex; flex-wrap: wrap; gap: 7px; }
.rm-sm-log { font-size: 12px; padding: 3.5px 10px; border-radius: 999px; background: #F0EFEB; color: var(--text-sub); }
.rm-rhythm { border: 1.5px solid #EAC79E; }
.rm-phasebar { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-phase { font-size: 12.5px; padding: 5px 13px; border-radius: 999px; background: #F0EFEB; color: var(--text-faint); font-weight: 500; }
.rm-phase-on { background: #D46D28; color: #fff; font-weight: 600; }
.rm-phase-free { background: #FFF7EE; color: #B05A14; border: 1px dashed #EAC79E; }
.rm-cd { margin-top: 10px; font-size: 13px; color: var(--text-sub); min-height: 20px; }
.rm-cd-run .rm-cd-num { font-size: 16px; font-weight: 700; color: #B05A14; font-variant-numeric: tabular-nums; }
.rm-cd-done { color: #3F7A2C; font-weight: 600; }
.rm-rh-owner { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.rm-cdset { font-size: 12px; color: var(--text-faint); margin-left: 4px; }
.rm-rh-next { margin-top: 9px; padding: 9px 13px; border-radius: 12px; background: #FDF3E7; color: #8A4A12; font-size: 13px; }
.rm-rh-fine { margin-top: 8px; font-size: 11.5px; color: var(--text-faint); }
@media (max-width: 640px) {
  .rm-fbform2 { grid-template-columns: 1fr; }
  .rm-fbform2 .btn { width: 100%; }
}

/* ================= V24 练习园（我的练习改版，2026-10-29） ================= */
.g-card { background: var(--card, #fff); border: 1px solid var(--line, #eee); border-radius: 14px; padding: 16px 14px; margin-bottom: 16px; }
.g-top { display: flex; gap: 14px; align-items: center; }
.g-stats { display: flex; gap: 10px; }
.g-stat { background: var(--bg-sub, #f7f6f2); border-radius: 10px; padding: 8px 12px; flex: 1; }
.g-stat-l { font-size: 12px; color: var(--text-sub, #888); }
.g-stat-v { font-size: 24px; font-weight: 700; color: var(--primary, #e07b28); line-height: 1.2; }
.g-stat-v span { font-size: 13px; font-weight: 400; color: var(--text-sub, #888); }
.g-hint { margin-top: 8px; font-size: 12px; color: var(--text-sub, #888); line-height: 1.5; }
.g-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 14px; }
.g-bar { height: 6px; background: var(--bg-sub, #f0efe9); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.g-bar i { display: block; height: 100%; border-radius: 3px; }
.g-random { display: block; width: 100%; margin-top: 14px; border: none; background: #534AB7; color: #fff; border-radius: 12px; padding: 13px; font-size: 15px; font-weight: 600; cursor: pointer; }
.g-random:active { opacity: .85; }
.g-random[disabled] { opacity: .7; cursor: default; }
.g-open { margin-top: 12px; background: var(--bg-sub, #f7f6f2); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
.g-open-empty { cursor: default; font-size: 13px; color: var(--text-sub, #888); display: block; }
.g-go { color: var(--link, #185FA5); font-size: 13px; white-space: nowrap; }
.g-sec { margin-top: 14px; }
.g-sec-h { font-size: 13px; font-weight: 600; color: var(--text, #333); margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.g-more { font-size: 12px; font-weight: 400; color: var(--text-sub, #888); }
.g-praise { background: var(--bg-sub, #f7f6f2); border-radius: 10px; padding: 9px 12px; margin-bottom: 8px; }
.g-praise-src { font-size: 12px; color: var(--link, #185FA5); }
.g-praise-body { font-size: 13px; margin-top: 3px; line-height: 1.55; }
.g-empty { font-size: 13px; color: var(--text-sub, #888); line-height: 1.6; }
.g-map { margin-top: 14px; border-top: 1px dashed var(--line, #eee); padding-top: 10px; }
.g-map summary { font-size: 13px; color: var(--link, #185FA5); cursor: pointer; user-select: none; }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.g-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-sub, #888); text-decoration: none; min-width: 0; padding: 3px 0; }
.g-item i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.g-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-item em { flex: none; font-style: normal; font-size: 11px; color: var(--primary, #e07b28); background: rgba(224,123,40,.1); border-radius: 8px; padding: 1px 6px; }
.g-item.g-done { color: var(--text, #333); }
@media (max-width: 480px) {
  .g-grid { grid-template-columns: 1fr; }
  .g-bars { grid-template-columns: 1fr 1fr; }
}

/* V24b 练习园地图：未练技能的二级折叠（2026-10-29 减压优化） */
.g-map-sub { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--line, #eee); }
.g-map-sub summary { font-size: 12px; color: var(--text-sub, #888); }

/* ================= V25 我的练习三卡分区 + 概览练习速览（2026-10-29） ================= */
/* 按钮改主题橙、在招条橙浅底、进度轨道加深；g-card 间距形成三卡呼吸感 */
.g-random { background: var(--grad-brand, linear-gradient(135deg,#E07B28,#D46B28)); border-radius: 10px; font-weight: 500; }
.g-open { background: #FFF4E5; border-radius: 10px; }
.g-open .g-go { color: #D46B28; font-weight: 500; }
.g-open-empty { background: #F7F6F2; }
.g-bar { background: #ECEAE2; height: 7px; border-radius: 4px; }
.g-sec-label { font-size: 12px; color: #888780; margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.g-sec-label .g-more { font-size: 12px; }
.g-card-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text, #2C2C2A); }
.g-card-h i { width: 5px; height: 16px; border-radius: 3px; background: #D46B28; flex: none; }
.g-card-h .g-more { margin-left: auto; }
.g-note { margin-top: 8px; font-size: 12px; color: #888780; line-height: 1.6; }
.g-stat-v.g-green { color: #3B6D11; }
/* 概览练习速览卡（2×2 彩底，点击直达分栏） */
.gq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.gq-card { border-radius: 10px; padding: 11px 12px; cursor: pointer; }
.gq-card:active { opacity: .85; }
.gq-green { background: #F0F7EE; }
.gq-blue { background: #E6F1FB; }
.gq-amber { background: #FAEEDA; }
.gq-pink { background: #FBEAF0; }
.gq-title { font-size: 13px; font-weight: 600; }
.gq-green .gq-title { color: #27500A; }
.gq-blue .gq-title { color: #0C447C; }
.gq-amber .gq-title { color: #633806; }
.gq-pink .gq-title { color: #72243E; }
.gq-big { font-size: 20px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.gq-green .gq-big { color: #3B6D11; }
.gq-blue .gq-big { color: #185FA5; }
.gq-amber .gq-big { color: #BA7517; }
.gq-pink .gq-big { color: #D4537E; }
.gq-big span { font-size: 12px; font-weight: 400; color: #888780; }
.gq-sub { font-size: 11px; color: #888780; margin-top: 2px; }

/* V25b section-title 全局修复：纯文本标题不再被 space-between 弹到右侧，带链接的仍右对齐 */
.section-title { justify-content: flex-start; }
.section-title a { margin-left: auto; }

/* ================= V26 练习房间串练（2026-10-29） ================= */
.rm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rm-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; background: var(--bg-sub, #f7f6f2); border: 1px solid var(--line, #eee); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--text, #333); cursor: pointer; user-select: none; }
.rm-tab-on { background: #FFF4E5; border-color: #E07B28; color: #B45E14; font-weight: 600; }
.rm-tab-x { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.08); color: #666; font-size: 13px; line-height: 1; }
.rm-tab-x:hover { background: #F7C1C1; color: #A32D2D; }
.rm-h2-sub { font-size: 12px; font-weight: 400; color: var(--text-sub, #888); margin-left: 6px; }
.rm-addskill { border-style: dashed; }
.rm-add-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rm-add-tip { font-size: 12.5px; color: var(--text-sub, #888); line-height: 1.5; flex: 1; min-width: 200px; }
.rm-sel { width: 100%; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; font-size: 14px; margin: 6px 0 10px; background: #fff; }
.rm-blockbox { max-height: 220px; overflow-y: auto; border: 1px dashed var(--line, #eee); border-radius: 10px; padding: 6px 10px; margin-bottom: 10px; }
.rm-blk-hint { font-size: 12px; color: var(--text-sub, #888); padding: 4px 0; }
.rm-blk { display: block; padding: 7px 2px; font-size: 13.5px; color: var(--text, #333); cursor: pointer; border-bottom: 1px dashed var(--line, #f0f0f0); }
.rm-blk:last-child { border-bottom: none; }
.pm-extras { margin-top: 8px; font-size: 13px; color: #B45E14; background: #FFF4E5; border-radius: 8px; padding: 7px 10px; line-height: 1.5; }

/* ===== V27：练习入口（2026-10-29）线上会议 / 线下地点 / 微信群 ===== */
.pm-h2-sub { font-size: 12px; font-weight: 400; color: var(--text-sub, #888); margin-left: 8px; }
.pm-meet .pm-meet-main { margin-top: 8px; }
.pm-meet-label { font-size: 12px; color: var(--text-sub, #888); margin-bottom: 6px; }
.pm-meet-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; font-weight: 600; letter-spacing: .5px; color: #B45E14; font-variant-numeric: tabular-nums; }
.pm-meet-code span { word-break: break-all; }
.pm-copy { border: 1px solid #EAC79E; background: #FFF9F1; color: #B45E14; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; }
.pm-copy:hover { background: #FFF1DF; }
.pm-meet-link { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--primary, #E07B28); text-decoration: none; }
.pm-meet-qr { margin-top: 10px; width: 160px; height: 160px; object-fit: contain; border: 1px solid var(--line, #eee); border-radius: 10px; background: #fff; }
.pm-meet-note { margin-top: 10px; font-size: 13px; color: var(--text-sub, #666); background: #FFF9F1; border-radius: 8px; padding: 8px 12px; line-height: 1.6; }
.pm-meet-empty { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: #8A4A12; background: #FFF4E5; border: 1px dashed #EAC79E; border-radius: 10px; padding: 12px 14px; }
.pm-meetform { margin-top: 14px; padding: 14px; border: 1px solid var(--line, #eee); border-radius: 12px; background: var(--bg-sub, #faf9f6); }
.pm-mf-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pm-mf-tab { border: 1px solid var(--line, #eee); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--text, #333); cursor: pointer; }
.pm-mf-tab-on { background: #FFF4E5; border-color: #E07B28; color: #B45E14; font-weight: 600; }
.pm-mf-l { display: block; font-size: 12.5px; color: var(--text-sub, #888); margin: 10px 0 5px; }
.pm-mf-i { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; font-size: 14px; background: #fff; }
.pm-mf-file { font-size: 13px; }
.pm-mf-qrbox img { margin-top: 10px; width: 120px; height: 120px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line, #eee); }
.pm-mf-warn { margin-top: 12px; font-size: 12px; color: #8A4A12; background: #FFF9F1; border-radius: 8px; padding: 8px 10px; line-height: 1.6; }
.rm-meet { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #FFF4E5; border: 1px solid #EAC79E; font-size: 13px; color: #8A4A12; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rm-meet-code { font-variant-numeric: tabular-nums; }
.rm-meet-a { color: #B45E14; text-decoration: underline; }
.rm-meet-empty { background: #F7F6F2; border-color: #E7E5DE; color: #6b6a63; }
@media (max-width: 640px) {
  .pm-meet-code { font-size: 16px; }
  .pm-meet-qr { width: 130px; height: 130px; }
  .pm-mf-tabs { gap: 6px; }
}

/* ===== V28：房间节奏内容卡 + 拼局直达（2026-10-29 晚） ===== */
button.rm-phase { border: none; cursor: pointer; font-family: inherit; }
button.rm-phase:hover { background: #E5E2D9; color: var(--text, #333); }
button.rm-phase-on, button.rm-phase-on:hover { background: #D46D28; color: #fff; }
.rm-phase-card { margin-top: 10px; border-radius: 12px; background: #FFF4E5; border: 1px solid #EAC79E; padding: 12px 14px; }
.rm-pc-t { font-size: 13.5px; font-weight: 700; color: #B45E14; margin-bottom: 6px; }
.rm-pc-b { font-size: 13px; color: #6b5137; line-height: 1.7; margin-bottom: 6px; }
.rm-pc-btn { display: inline-block; margin: 4px 8px 0 0; padding: 6px 14px; border-radius: 999px; background: #E07B28; color: #fff; font-size: 12.5px; text-decoration: none; }
.rm-pc-btn:hover { background: #D46D28; }
.rm-pc-btn--ghost { background: #fff; color: #B45E14; border: 1px solid #EAC79E; }
.rm-pc-btn--ghost:hover { background: #FFF9F1; }
.rm-modal-hint { font-size: 12px; color: #8A6A45; background: #FFF9F1; border-radius: 8px; padding: 8px 10px; line-height: 1.6; margin: 8px 0 0; }
.g-roombtn { border: 1px solid #E07B28; background: #FFF4E5; color: #B45E14; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.g-roombtn:hover { background: #FFE9CF; }
@media (max-width: 640px) {
  .rm-phase-card { padding: 10px 12px; }
  .rm-pc-btn { display: block; text-align: center; margin-right: 0; }
}
@media (max-width: 640px) {
  .g-card .me-row { flex-wrap: wrap; row-gap: 6px; }
  .g-card .me-row .g-roombtn { margin-left: auto; }
}

/* ===== V29：节奏说明 + 填表常驻入口（2026-10-29 晚二轮） ===== */
.rm-hero-fill { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rm-hero-fill .rm-fine { font-size: 12px; color: var(--text-faint, #999); }
.rm-rh-fine { margin-top: 8px; font-size: 12px; color: var(--text-faint, #999); line-height: 1.6; }
button.rm-phase { min-width: 0; }
@media (max-width: 640px) {
  .rm-hero-fill .rm-pc-btn { display: block; text-align: center; }
}

/* ===== V30：反馈追加式（2026-10-29 深夜，每人每块可写多条不覆盖） ===== */
.rm-fb-note { margin: 8px 0 0; font-size: 12px; }

/* ===== V31：首页改版（2026-10-30，排序：hero-定制-习练场-游戏库-自留地-活动-定制窗口） ===== */
@media (max-width: 768px) {
  .custom-entry { flex-wrap: nowrap; padding: 10px 14px; }
  .custom-entry .ce-go { width: auto; }
  .custom-entry .ce-text span { display: none; }
}

/* ===== V32：首页习练场独占区块 + 书与物料伴生活动（2026-10-30 下午） ===== */
.pr-hero { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #fffdf8, #fff3e0); border: 1px solid #ffe2bd; border-radius: 16px; padding: 20px 22px; cursor: pointer; box-shadow: 0 4px 14px rgba(247, 148, 64, .08); transition: transform .22s, box-shadow .22s; }
.pr-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(247, 148, 64, .18); }
.pr-hero .prh-ico { flex: none; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #F79440, #FF9F68); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.pr-hero .prh-body { flex: 1; min-width: 0; }
.pr-hero .prh-body b { display: block; font-size: 16.5px; font-weight: 800; color: var(--primary-dark); }
.pr-hero .prh-body span { display: block; font-size: 13px; color: var(--text-sub); margin-top: 5px; line-height: 1.55; }
.pr-hero .prh-num { font-size: 13px; font-weight: 700; color: #c77419; margin-top: 6px; }
.pr-hero .prh-go { flex: none; font-size: 13.5px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.game-card .sk-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.act-shop-row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: stretch; }
.shop-side { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #f7fbff, #eaf3fd); border: 1px solid #d7e8f8; border-radius: 16px; padding: 18px 20px; cursor: pointer; box-shadow: 0 4px 14px rgba(74, 144, 217, .08); transition: transform .22s, box-shadow .22s; }
.shop-side:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(74, 144, 217, .16); }
.shop-side .ss-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #4A90D9, #6FB1EC); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.shop-side .ss-body { flex: 1; min-width: 0; }
.shop-side .ss-body b { display: block; font-size: 15px; font-weight: 800; color: #185fa5; }
.shop-side .ss-body span { display: block; font-size: 12.5px; color: var(--text-sub); margin-top: 4px; line-height: 1.5; }
.shop-side .ss-go { flex: none; font-size: 12.5px; font-weight: 700; color: #185fa5; white-space: nowrap; }
@media (max-width: 768px) {
  .act-shop-row { grid-template-columns: 1fr; }
  .pr-hero { padding: 16px; gap: 12px; }
  .pr-hero .prh-ico { width: 46px; height: 46px; font-size: 22px; }
}

/* ===== V33：人数上限由发起人定（2026-10-31） ===== */
.pm-h2-num { font-size: 13px; font-weight: 600; color: var(--text-sub, #888); margin-left: 6px; letter-spacing: 0; }
.pm-fine--warn, .rm-fine--warn { color: #b3691a; }
.pr-form-hint--soft { background: transparent; padding: 0 2px; margin: -2px 0 12px; font-size: 12px; color: var(--text-light); }
.pr-form-hint--soft b { color: var(--primary-dark); }
@media (max-width: 768px) {
  .pr-form-hint--soft { font-size: 11.5px; line-height: 1.65; }
}

/* ============================================================= */
/* V34 习练场「两周拼局」一键加入（2026-11-01）pr-ov-btn */
/* 原来整行是链接，点进去是技能页，还要滚到拼局区再填一遍表； */
/* 现在行内直接给按钮：已成局「加入这局」，待成局「加入这个时段」 */
/* ============================================================= */
.pr-ov-btn { flex: none; padding: 4px 12px; border: 1px solid var(--primary); border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pr-ov-btn:hover { filter: brightness(1.05); }
.pr-ov-btn:disabled { opacity: .6; cursor: default; filter: none; }
.pr-ov-btn--ghost { background: #fff; color: var(--primary-dark); }
.pr-ov-btn--ghost:hover { background: var(--primary-soft); }
.pr-ov-btn--on { background: #EFEAE3; border-color: #EFEAE3; color: #8A7A6B; cursor: default; }
.pr-ov-skill { color: inherit; text-decoration: none; }
.pr-ov-skill:hover { color: var(--primary-dark); text-decoration: underline; }
@media (max-width: 640px) {
  .pr-ov-row { align-items: flex-start; }
  .pr-ov-btn { margin-left: auto; }
}
