/* ============================================================
   移动端（H5）专用样式：只作用于 <=760px，桌面端不受影响
   目标：信息密度更高、层级更清楚、入口更傻瓜
   ============================================================ */

.mobile-only { display: none; }
.tabbar { display: none; }

@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
  body {
    font-size: 15px; overflow-x: hidden;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  .wrap { width: calc(100% - 28px); }
  .mobile-only { display: block; }
  .section { padding: 26px 0; }

  /* ---------- 顶栏 ---------- */
  .head-inner { height: 54px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word b { font-size: .98rem; letter-spacing: .02em; }
  .brand-word i { display: none; }
  .head-actions { gap: 4px; }
  .icon-btn { width: 34px; height: 34px; border-radius: 9px; }
  .lang-switch { padding: 5px 8px; font-size: .68rem; border-radius: 999px; }
  .nav-main { inset: 54px 0 auto 0; max-height: calc(100vh - 54px); padding: 10px 16px 26px; }
  .nav-link { padding: 13px 10px; font-size: .98rem; }

  /* ---------- 底部标签栏 ---------- */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 243, .95);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(61, 51, 44, .10);
  }
  [data-theme="dark"] .tabbar { background: rgba(33, 27, 24, .95); border-top-color: rgba(247, 237, 225, .12); }
  .tabbar .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; min-height: 48px; padding: 3px 0; border: 0; background: none;
    color: #9C8B7C; font: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .tabbar .tab .ico { width: 21px; height: 21px; }
  .tabbar .tab b { font-size: .61rem; font-weight: 500; letter-spacing: .02em; }
  .tabbar .tab.on { color: #B4613C; }
  [data-theme="dark"] .tabbar .tab.on { color: #F3C08E; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }

  /* ---------- 首屏 ---------- */
  .hero { min-height: 0; padding: 26px 0 24px; }
  .hero-title { font-size: 1.95rem; line-height: 1.24; margin: 6px 0 10px; }
  .hero-text { display: none; }
  .hero-text-m {
    display: block; font-size: .89rem; line-height: 1.72; margin: 0 0 15px; color: #6E5D4F;
  }
  .kicker { font-size: .6rem; letter-spacing: .16em; }
  .hero-actions { gap: 8px; margin-bottom: 16px; }
  .hero-actions .btn {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: 10px 6px; font-size: .76rem; line-height: 1.35;
    white-space: normal; text-align: center; border-radius: 12px;
  }
  .hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin: 0; padding-top: 12px; max-width: none;
  }
  .hero-stats div { text-align: center; padding: 0 2px; border-right: 1px solid rgba(61, 51, 44, .1); }
  .hero-stats div:last-child { border-right: 0; }
  .hero-stats dt { font-size: 1.12rem; }
  .hero-stats dd { font-size: .56rem; letter-spacing: .02em; margin-top: 3px; }
  .moon-art { width: 92px; right: -14px; bottom: 4px; opacity: .26; }
  .moon-art .orbit { display: none; }

  /* ---------- 这是什么 / 快速入口 ---------- */
  .m-about { padding: 12px 0 2px; }
  .m-about .wrap {
    padding: 13px 14px 12px; border-radius: 16px;
    background: linear-gradient(135deg, #FFF6EC, #FFEDF2 70%, #F7EEF8);
    border: 1px solid rgba(217, 142, 99, .2);
  }
  .ma-kicker { margin: 0 0 5px; font-size: .6rem; letter-spacing: .16em; color: #B4613C; }
  .ma-text { margin: 0 0 8px; font-size: .92rem; line-height: 1.68; color: var(--ink); }
  .ma-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
  .ma-tags span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .72); font-size: .64rem; color: #8A5A3A; }
  .ma-start {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 11px; border-radius: 11px; background: rgba(255, 255, 255, .8);
    font-size: .8rem; color: #B4613C; border: 1px solid rgba(217, 142, 99, .22);
  }
  .ma-start .ico { width: 15px; height: 15px; }

  .m-quick { padding: 9px 0 0; }
  .mq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .mq-grid a {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 9px 2px 8px; border-radius: 13px; background: #FFFCF6;
    border: 1px solid rgba(61, 51, 44, .08);
  }
  .mq-grid a:active { transform: scale(.97); }
  .mq-ico { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; }
  .mq-ico .ico { width: 17px; height: 17px; }
  .mq-ico.i1 { background: #FFE6D2; color: #A85A32; }
  .mq-ico.i2 { background: #EDE2F7; color: #75538C; }
  .mq-ico.i3 { background: #FFE0E3; color: #A8545E; }
  .mq-ico.i4 { background: #E2F1E6; color: #4C7560; }
  .mq-ico.i5 { background: #F7EACB; color: #8A6326; }
  .mq-ico.i6 { background: #E1EDF6; color: #466B85; }
  .mq-ico.i7 { background: #F3E8DD; color: #7D5A42; }
  .mq-ico.i8 { background: #E9E4F7; color: #5D4E92; }
  .mq-grid b { font-size: .66rem; font-weight: 500; color: var(--ink); white-space: nowrap; }

  /* ---------- 心情 ---------- */
  .mood-strip { padding: 14px 0 10px; }
  .mood-strip-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
  .mood-strip-head .kicker { display: none; }
  .mood-strip-head h2 { margin: 0; font-size: .96rem; }
  .mood-chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 2px 2px 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .mood-chips::-webkit-scrollbar { display: none; }
  .mood-chip { flex: 0 0 auto; padding: 7px 11px; font-size: .76rem; min-height: 34px; border-radius: 999px; }
  .mood-chip-all { background: #FFF6EC; border-color: rgba(217, 142, 99, .3); }

  /* ---------- 区块标题 ---------- */
  .section-head {
    margin-bottom: 13px; gap: 6px; flex-direction: row !important;
    align-items: flex-end !important; justify-content: space-between; flex-wrap: wrap;
  }
  .section-head > div { min-width: 0; flex: 1 1 auto; }
  .section-head > .text-link { flex: 0 0 auto; margin-left: auto; }
  .section-head.center { flex-direction: column !important; align-items: center !important; text-align: center; }
  .section-head.center > .text-link { margin-left: 0; }
  .section-title { font-size: 1.2rem; line-height: 1.35; }
  .section-title::after { width: 28px; height: 4px; margin-top: 6px; }
  .section-text { display: none; }
  .section-head .text-link { font-size: .72rem; white-space: nowrap; }

  /* ---------- 文章卡片：两列紧凑 ---------- */
  .grid.grid-3, .grid.grid-4, .grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px; }
  .card { border-radius: 14px; }
  .card-art { height: 68px; }
  .art-glyph { width: 32px; height: 32px; }
  .art-glyph .ico { width: 18px; height: 18px; }
  .card-body { padding: 9px 10px 11px; }
  .card-kicker { font-size: .54rem; letter-spacing: .1em; margin-bottom: 3px; }
  .card h3 {
    font-size: .82rem; line-height: 1.45; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .card-sum, .card-meta { display: none; }

  /* ---------- 流派 ---------- */
  .school-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .school-pill {
    display: flex; flex-direction: row; align-items: baseline; justify-content: flex-start;
    gap: 7px; padding: 11px 10px; border-right: 1px solid var(--line) !important;
  }
  .school-pill:nth-child(2n) { border-right: 0 !important; }
  .school-pill .num { font-size: .6rem; }
  .school-pill b { font-size: .84rem; }
  .school-pill i { display: none; }

  /* ---------- 思想家：三列 ---------- */
  .thinker-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 7px; }
  .thinker-card {
    flex-direction: column; align-items: center; text-align: center; gap: 5px;
    padding: 10px 6px; border-radius: 12px;
  }
  .mono { width: 38px; height: 38px; font-size: 1rem; }
  .thinker-meta b { font-size: .76rem; line-height: 1.3; }
  .thinker-meta i { display: none; }
  .thinker-meta em { font-size: .56rem; margin-top: 1px; }
  .thinker-tag { display: none; }

  /* ---------- 人生哲学 ---------- */
  .life-list { columns: 1 !important; column-gap: 0; border-top: 0; }
  .life-item { padding: 10px 0; gap: 8px; border-bottom: 1px solid var(--line); }
  .life-item:nth-child(n+6) { display: none; }
  .life-txt b { font-size: .88rem; }
  .life-txt i {
    font-size: .68rem; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }
  .life-item .idx { font-size: .62rem; }
  .life-item .ico { width: 14px; height: 14px; }

  /* ---------- 首页道德经区 ---------- */
  .jing-home { padding: 24px 0 !important; }
  .jh-copy h2 { font-size: 1.28rem; line-height: 1.36; margin: 4px 0 6px; }
  .jh-copy > p {
    font-size: .8rem; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .jh-actions { gap: 6px 10px; flex-wrap: wrap; }
  .jh-actions a[href*="/lunyu"], .jh-actions a[href*="/zhuangzi"] { display: none; }
  .jh-actions .btn { padding: 9px 12px; font-size: .76rem; }
  .jh-actions .text-link { font-size: .7rem; }
  .jh-meta { display: none; }
  .jh-cards {
    display: flex; overflow-x: auto; gap: 8px; padding: 2px 2px 6px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .jh-cards::-webkit-scrollbar { display: none; }
  .jh-card {
    flex: 0 0 72%; scroll-snap-align: start; padding: 12px 13px; border-radius: 15px; gap: 6px;
    min-height: 0;
  }
  .jh-card.feature { grid-row: auto; padding: 14px 15px; justify-content: flex-start; }
  .jh-no { font-size: 1.3rem; }
  .jh-card.feature .jh-no { font-size: 2.1rem; }
  .jh-card b { font-size: .9rem; }
  .jh-card i { font-size: .68rem; line-height: 1.6; }
  .jh-go { font-size: .68rem; }

  /* ---------- 每日陪伴 ---------- */
  .daily-grid { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .daily-grid::-webkit-scrollbar { display: none; }
  .daily-card { flex: 0 0 82%; border-radius: 15px; padding: 14px; min-height: 0; }
  .daily-quote { grid-column: auto; }
  .daily-card blockquote { font-size: .86rem; line-height: 1.75; }
  .dc-label { font-size: .58rem; }
  .d-chapter-no { font-size: 1.8rem; }

  /* ---------- 书籍横滑 ---------- */
  .book-row { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .book-row::-webkit-scrollbar { display: none; }
  .book-mini { flex: 0 0 29%; }

  /* ---------- 文章详情 ---------- */
  .article-head { padding: 18px 0 10px; }
  .article-title { font-size: 1.45rem; line-height: 1.4; margin: 6px 0 8px; }
  .article-sub { font-size: .78rem; line-height: 1.7; }
  .article-meta { gap: 10px; flex-wrap: wrap; font-size: .66rem; }
  .article-hero-art { display: none; }
  .article-head { padding: 16px 0 0; }
  .article-layout { padding: 16px 0 34px; gap: 16px; }
  .toc { padding: 10px 12px; border-radius: 12px; }
  .toc-title { display: none; }
  .toc ol {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; border: 0;
    scrollbar-width: none; margin: 0;
  }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li { flex: 0 0 auto; }
  .toc li a { display: block; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; background: #FFFCF6; }
  .article-body { font-size: .95rem; line-height: 1.85; }
  .article-body p.first::first-letter { font-size: 2.3em; line-height: .9; padding: 4px 8px 0 0; }
  .article-body h2 { font-size: 1.14rem; margin: 26px 0 10px; }
  .article-body p { margin: 0 0 14px; }
  .article-question { font-size: 1.02rem; padding: 14px 14px; }
  .art-quote { padding: 14px 16px; }
  .art-quote p { font-size: .94rem; }
  .art-steps li { font-size: .86rem; }
  .prev-next { gap: 10px; }
  .pn { padding: 12px; }

  /* ---------- 章节详情 ---------- */
  .chapter-head { padding: 16px 0 8px; }
  .chapter-head .article-title { font-size: 1.4rem; }
  .chapter-layout { gap: 16px; padding-bottom: 22px; }
  .chapter-main { max-width: none; }
  .chapter-original { padding: 15px 16px; border-radius: 15px; }
  .original-text p { font-size: 1.02rem; line-height: 1.9; margin-bottom: 8px; }
  .original-source { font-size: .62rem; }
  .block-label { font-size: .58rem; letter-spacing: .16em; margin-bottom: 6px; }
  .block-hint { font-size: .68rem; margin: -2px 0 9px; }
  .chapter-gloss, .chapter-lines, .chapter-misread { padding: 15px 0; }
  .gloss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px; }
  .gloss-item { padding: 9px 10px; border-radius: 11px; }
  .gloss-word { gap: 5px; margin-bottom: 3px; }
  .gloss-word b { font-size: 1.12rem; }
  .gloss-word i { font-size: .58rem; }
  .gloss-item p { font-size: .71rem; line-height: 1.6; }
  .line-list { gap: 7px; }
  .line-item { padding: 10px 11px; gap: 8px; border-radius: 11px; }
  .line-no { font-size: .66rem; }
  .line-src { font-size: .9rem; line-height: 1.6; margin-bottom: 3px; }
  .line-exp { font-size: .75rem; line-height: 1.7; }
  .chapter-block, .chapter-deep, .chapter-en { padding: 15px 0; }
  .plain-text, .chapter-deep p { font-size: .9rem; line-height: 1.8; }
  .chapter-deep p { margin: 0 0 10px; }
  .chapter-misread { padding: 13px 14px; margin: 14px 0; border-radius: 13px; }
  .chapter-misread p { font-size: .79rem; line-height: 1.75; }
  .chapter-practice { padding: 13px 14px; gap: 9px; border-radius: 14px; }
  .chapter-practice p { font-size: .8rem; line-height: 1.7; }
  .cp-label { font-size: .58rem; }
  .chapter-en summary {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .6rem; letter-spacing: .16em; color: #B4613C; text-transform: uppercase;
    cursor: pointer; list-style: none; padding: 2px 0;
  }
  .chapter-en summary::-webkit-details-marker { display: none; }
  .chapter-en summary i { font-style: normal; font-size: .6rem; letter-spacing: 0; color: var(--muted); }
  .chapter-en summary::after { content: "＋"; font-size: .8rem; color: var(--muted); margin-left: 6px; }
  .chapter-en[open] summary::after { content: "－"; }
  .chapter-en[open] summary { margin-bottom: 8px; }
  .en-text p { font-size: .84rem; line-height: 1.75; }
  .chapter-actions { gap: 6px; margin: 16px 0; }
  .act-btn { padding: 8px 9px; font-size: .7rem; border-radius: 10px; }
  .chapter-pager { gap: 8px; flex-direction: row; }
  .chapter-pager a { max-width: 48%; padding: 10px 11px; border-radius: 11px; }
  .chapter-pager a.right { margin-left: auto; text-align: right; }
  .chapter-pager i { font-size: .58rem; }
  .chapter-pager b { font-size: .74rem; line-height: 1.45; }
  .chapter-side { display: none; }
  .m-all-chapters {
    display: flex; align-items: center; justify-content: space-between;
    margin: 14px 0 0; padding: 10px 12px; border-radius: 11px;
    background: #FFF7EC; border: 1px solid rgba(217, 142, 99, .22);
    font-size: .78rem; color: #B4613C;
  }
  .m-all-chapters .ico { width: 14px; height: 14px; }

  /* ---------- 经典首页 ---------- */
  .jing-hero { padding: 20px 0 16px; }
  .page-title { font-size: 1.72rem; line-height: 1.3; }
  .page-lede { font-size: .84rem; line-height: 1.7; }
  .jing-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 12px; }
  .jing-stats div { text-align: center; border-right: 1px solid var(--line); padding: 0 2px; }
  .jing-stats div:last-child { border-right: 0; }
  .jing-stats b { font-size: 1.08rem; }
  .jing-stats span { font-size: .55rem; }
  .today-chapter { padding: 13px 14px; border-radius: 16px; gap: 2px; }
  .tc-label { font-size: .56rem; }
  .tc-no { font-size: 1.9rem; }
  .today-chapter b { font-size: .95rem; }
  .tc-more { font-size: .66rem; }
  .part-chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-bottom: 16px;
    padding-bottom: 3px; scrollbar-width: none;
  }
  .part-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 6px 10px; font-size: .7rem; min-height: 30px; }
  .part-group { margin-bottom: 18px; }
  .part-title { font-size: .94rem; margin-bottom: 7px; gap: 6px; }
  .chapter-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px; }
  .chapter-card { padding: 9px 10px; gap: 7px; border-radius: 11px; }
  .cc-no { font-size: .78rem; }
  .cc-body b { font-size: .76rem; line-height: 1.4; }
  .cc-body i { display: none; }
  .chapter-card .ico { width: 13px; height: 13px; }

  /* ---------- 图书馆 ---------- */
  .classics-grid { gap: 10px; }
  .book-card { padding: 16px; border-radius: 16px; gap: 8px; }
  .book-glyph { width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; }
  .book-card h2 { font-size: 1.06rem; }
  .book-intro {
    font-size: .78rem; line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .library-live {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; border-radius: 14px;
  }
  .ll-kicker { grid-column: 1 / -1; font-size: .58rem; margin: 0 0 2px; }
  .library-live a { padding: 8px 9px; gap: 2px; flex-direction: column; align-items: flex-start; }
  .library-live a .ico { display: none; }
  .library-live b { font-size: .76rem; }
  .library-live i { font-size: .6rem; }
  .ll-note { font-size: .68rem; line-height: 1.65; margin-top: 8px; }
  .book-grid { grid-template-columns: 1fr !important; gap: 9px; }
  .book-grid .book-card {
    flex-direction: row; align-items: center; gap: 11px;
    padding: 9px 10px; border-radius: 13px; background: #FFFCF6;
    border: 1px solid rgba(61, 51, 44, .08);
  }
  .book-grid .book-cover { width: 58px; flex: 0 0 58px; aspect-ratio: 3 / 4; padding: 8px 7px; border-radius: 2px 6px 6px 2px; }
  .book-grid .book-cover i { font-size: .72rem; line-height: 1.35; }
  .book-grid .book-cover em { font-size: .5rem; }
  .book-info { padding-top: 0; gap: 2px; min-width: 0; }
  .book-info b { font-size: .9rem; line-height: 1.35; }
  .book-info i { font-size: .64rem; }
  .book-info em {
    font-size: .68rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .book-tag { font-size: .54rem; padding: 1px 6px; }
  .book-detail { grid-template-columns: 1fr; gap: 12px; }
  .book-cover.big { width: 96px; }
  .book-detail .page-title { font-size: 1.55rem; }
  .book-author { font-size: .76rem; margin-bottom: 8px; }
  .reading-cta { padding: 13px 14px; border-radius: 14px; gap: 10px; }
  .rc-copy b { font-size: 1.02rem; }
  .rc-copy p { font-size: .7rem; line-height: 1.6; }
  .reading-cta .btn { width: 100%; justify-content: center; padding: 9px; font-size: .8rem; }
  .chapter-strip-head { margin-bottom: 9px; }
  .chapter-strip-head h2 { font-size: .98rem; }
  .chapter-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px; }
  .chapter-strip a { padding: 9px 10px; gap: 6px; border-radius: 10px; }
  .chapter-strip span { font-size: .74rem; }
  .chapter-strip b { font-size: .74rem; }
  .chapter-strip i { display: none; }
  .prose h2 { font-size: 1.12rem; margin-top: 24px; }
  .prose p { font-size: .9rem; line-height: 1.8; }
  .idea-grid.two { grid-template-columns: 1fr !important; gap: 8px; }
  .idea-card { padding: 12px; }
  .chapter-list li { padding: 10px 0 10px 34px; }
  .chapter-list li b { font-size: .88rem; }
  .chapter-list li span { font-size: .76rem; line-height: 1.6; }
  .source-box { padding: 12px; }
  .source-box p { font-size: .7rem; }

  /* ---------- 其他页面密度 ---------- */
  .page-hero { padding: 24px 0 20px; }
  .mood-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mood-card { padding: 12px 8px; }
  .quote-grid, .quote-grid.wide { grid-template-columns: 1fr !important; gap: 9px; }
  .quote-card { padding: 14px; }
  .letter-grid { grid-template-columns: 1fr !important; }
  .community-layout { gap: 18px; }
  .community-side { flex-direction: column; }
  .side-card { min-width: 0; }
  .post-card { padding: 12px; }
  .ai-chat { padding: 14px; }

  /* ---------- 页脚 ---------- */
  .site-foot { padding: 26px 0 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 18px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { font-size: .74rem; line-height: 1.7; }
  .foot-logo { font-size: 1rem; }
  .foot-col h4 { font-size: .78rem; margin-bottom: 7px; }
  .foot-col a { font-size: .75rem; padding: 2px 0; }
  .foot-help { display: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 5px; font-size: .66rem; padding: 14px 0 0; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.78rem; }
  .mq-grid { gap: 5px; }
  .mq-grid b { font-size: .6rem; }
  .thinker-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .gloss-word b { font-size: 1.02rem; }
}


/* ---------- 手机端深色模式修正 ---------- */
@media (max-width: 760px) {
  [data-theme="dark"] .hero-text-m { color: #D8C9BA; }
  [data-theme="dark"] .hero-stats dt { color: #F3C08E; }
  [data-theme="dark"] .hero-stats dd { color: #B5A18E; }
  [data-theme="dark"] .hero-stats div { border-right-color: rgba(247, 237, 225, .12); }
  [data-theme="dark"] .m-about .wrap {
    background: linear-gradient(135deg, #33261E, #3A2733 70%, #2E2637);
    border-color: rgba(243, 192, 142, .24);
  }
  [data-theme="dark"] .ma-text { color: #F7EDE1; }
  [data-theme="dark"] .ma-tags span { background: rgba(255, 255, 255, .08); color: #E8CFB4; }
  [data-theme="dark"] .ma-start { background: rgba(255, 255, 255, .06); border-color: rgba(243, 192, 142, .3); color: #F3C08E; }
  [data-theme="dark"] .mq-grid a { background: #2C2420; border-color: rgba(247, 237, 225, .1); }
  [data-theme="dark"] .mq-grid b { color: #F7EDE1; }
  [data-theme="dark"] .mq-ico { filter: saturate(.85) brightness(.92); }
  [data-theme="dark"] .book-grid .book-card { background: #2C2420; border-color: rgba(247, 237, 225, .1); }
  [data-theme="dark"] .toc li a { background: #2C2420; border-color: rgba(247, 237, 225, .12); }
  [data-theme="dark"] .chapter-original { background: #2C2420; border-color: rgba(247, 237, 225, .1); }
  [data-theme="dark"] .original-text p { color: #F7EDE1; }
  [data-theme="dark"] .original-source { color: #B5A18E; }
  [data-theme="dark"] .m-all-chapters { background: #33291F; border-color: rgba(243, 192, 142, .26); color: #F3C08E; }
  [data-theme="dark"] .library-live a { background: #33291F; }
  [data-theme="dark"] .ma-start .ico, [data-theme="dark"] .m-all-chapters .ico { color: #F3C08E; }
}
