/* app.css — PaperRead 设计系统（微信读书风格） */
:root {
  --brand: #2b79e2;
  --brand-ink: #1a5cb8;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --serif: Charter, "Iowan Old Style", Georgia, "Times New Roman",
           "PingFang SC", "Hiragino Sans GB", sans-serif;

  /* 书架（浅色恒定） */
  --shelf-bg: #f7f7f8;
  --shelf-ink: #1c1d1f;
  --shelf-muted: #8a8f99;
  --card: #ffffff;
  --line: #ececef;

  /* 划线色 */
  --mk-yellow: rgba(255, 199, 0, .38);
  --mk-blue: rgba(64, 140, 255, .30);
  --mk-red: rgba(255, 99, 121, .32);
  --note-line: #e0637c;

  --radius: 10px;
  --shadow: 0 2px 12px rgba(20, 24, 40, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--shelf-ink); background: var(--shelf-bg);
  -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; outline: none; }
::selection { background: rgba(43, 121, 226, .18); }

/* ───────────── 登录 / 注册 ───────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f2f6fc 0%, #f7f7f8 60%); }
.auth-card { width: 340px; padding: 44px 36px 36px; background: var(--card);
  border-radius: 16px; box-shadow: 0 8px 40px rgba(30, 50, 90, .10); }
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 28px; }
.auth-logo .name { font-size: 20px; font-weight: 600; letter-spacing: .5px; }
.auth-tabs { display: flex; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.auth-tabs button { flex: 1; padding: 10px 0; font-size: 15px; color: var(--shelf-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs button.on { color: var(--shelf-ink); font-weight: 600; border-bottom-color: var(--brand); }
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.on { display: flex; }
.auth-form input { height: 44px; padding: 0 14px; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fafafa; }
.auth-form input:focus { border-color: var(--brand); background: #fff; }
.auth-submit { height: 44px; margin-top: 6px; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .15s; }
.auth-submit:hover { background: var(--brand-ink); }
.auth-err { min-height: 18px; font-size: 13px; color: #d64545; }

/* ───────────── 书架 ───────────── */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  height: 56px; padding: 0 20px; background: rgba(247, 247, 248, .86);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .title { font-size: 20px; font-weight: 700; }
.topbar .spacer { flex: 1; }
.topbar .user { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--shelf-muted); }
.topbar .user b { color: var(--shelf-ink); font-weight: 600; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; color: #5a6070; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }

.cats { display: flex; gap: 6px; padding: 16px 20px 4px; overflow-x: auto; }
.cats button { flex: none; padding: 6px 14px; border-radius: 999px; font-size: 13.5px;
  color: #5a6070; background: #eceef1; transition: all .15s; }
.cats button.on { background: var(--shelf-ink); color: #fff; }

.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 26px 18px; padding: 20px; max-width: 1080px; margin: 0 auto; }
.book { display: flex; flex-direction: column; gap: 9px; cursor: pointer; }
.cover { position: relative; aspect-ratio: 3 / 4; border-radius: 4px 8px 8px 4px;
  padding: 14px 12px; display: flex; flex-direction: column;
  box-shadow: 0 3px 10px rgba(20, 24, 40, .16); overflow: hidden;
  transition: transform .16s, box-shadow .16s; }
.book:hover .cover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20, 24, 40, .22); }
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px;
  background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.10)); }
.cover::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 45%); }
.cover .c-cat { font-size: 10px; letter-spacing: 1.5px; color: rgba(255,255,255,.75); }
.cover .c-title { margin-top: auto; margin-bottom: auto; color: #fff; font-weight: 700;
  font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; }
.cover .c-en { color: rgba(255,255,255,.72); font-size: 9.5px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cover .c-note { position: absolute; top: 8px; right: 8px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: rgba(255,255,255,.92); color: #444;
  font-size: 10.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.book .b-title { font-size: 13px; line-height: 1.4; color: var(--shelf-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book .b-prog { display: flex; align-items: center; gap: 6px; }
.book .b-prog .bar { flex: 1; height: 3px; border-radius: 2px; background: #e3e4e8; overflow: hidden; }
.book .b-prog .bar i { display: block; height: 100%; background: var(--brand); border-radius: 2px; }
.book .b-prog .pct { font-size: 11px; color: var(--shelf-muted); min-width: 30px; text-align: right; }
.shelf-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--shelf-muted); }

/* ───────────── 阅读器 ───────────── */
.reader-body { background: var(--r-bg); color: var(--r-ink); min-height: 100vh;
  font-size: var(--r-fs, 15.5px); }
/* 全页去斜体：仅 KaTeX 数学输出保留其字形（同原模板） */
.reader-body h1, .reader-body h2, .reader-body h3, .reader-body h4,
.reader-body p, .reader-body span, .reader-body a, .reader-body li,
.reader-body td, .reader-body th, .reader-body caption,
.reader-body section, .reader-body footer, .reader-body button { font-style: normal; }
.reader-body[data-theme="paper"] { --r-bg: #f6f7f9; --r-ink: #17191c; --r-ink2: #4a525b;
  --r-muted: #8a9199; --r-panel: #ffffff; --r-line: #edf0f3; --r-en-bg: #f9fafb;
  --r-colline: #e9edf1; --r-tgt: #ffffff; --r-accent: #1f4e79; }
.reader-body[data-theme="white"] { --r-bg: #f4f4f5; --r-ink: #26262a; --r-ink2: #4a4a50;
  --r-muted: #9a9ea6; --r-panel: #ffffff; --r-line: #eaeaec; --r-en-bg: #f8f8f9;
  --r-colline: #e6e6e9; --r-tgt: #ffffff; --r-accent: #1f4e79; }
.reader-body[data-theme="green"] { --r-bg: #d2e4d2; --r-ink: #22301f; --r-ink2: #42543e;
  --r-muted: #7d907d; --r-panel: #e4f0e4; --r-line: #c2d8c2; --r-en-bg: #c9dcc9;
  --r-colline: #bcd2bc; --r-tgt: #e2ede2; --r-accent: #2c5a34; }
.reader-body[data-theme="night"] { --r-bg: #141619; --r-ink: #989da4; --r-ink2: #7d838b;
  --r-muted: #5c626b; --r-panel: #1c1f23; --r-line: #2a2e34; --r-en-bg: #1a1d21;
  --r-colline: #26292e; --r-tgt: #17191d; --r-accent: #7fa8d8; --r-hover: #1b1e22; }

.r-top { position: fixed; inset: 0 0 auto 0; z-index: 30; height: 52px;
  display: flex; align-items: center; gap: 4px; padding: 0 10px;
  background: var(--r-panel); border-bottom: 1px solid var(--r-line);
  transform: translateY(0); transition: transform .22s; }
.r-top .rt-title { flex: 1; text-align: center; font-size: 14.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.r-top .icon-btn { color: var(--r-ink); }
.r-top .icon-btn:hover { background: rgba(128, 128, 128, .15); }
.reader-body.bars-hidden .r-top { transform: translateY(-100%); }
.reader-body.bars-hidden .r-bottom { transform: translateY(100%); }

.r-bottom { position: fixed; inset: auto 0 0 0; z-index: 30; height: 46px;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: var(--r-panel); border-top: 1px solid var(--r-line);
  transition: transform .22s; }
.r-bottom .prog-track { flex: 1; height: 3px; border-radius: 2px;
  background: var(--r-line); position: relative; cursor: pointer; }
.r-bottom .prog-track i { position: absolute; inset: 0 auto 0 0; border-radius: 2px;
  background: var(--brand); }
.r-bottom .pct { font-size: 12px; color: var(--r-muted); min-width: 40px; text-align: right;
  font-variant-numeric: tabular-nums; }
.r-bottom button.nav { font-size: 13px; color: var(--r-ink); padding: 6px 10px; border-radius: 6px; }
.r-bottom button.nav:hover { background: rgba(128, 128, 128, .15); }
.r-bottom button.nav:disabled { color: var(--r-muted); cursor: default; background: none; }

/* 宽屏常驻章节侧栏（同原模板 #sidebar） */
.side-toc { display: none; }
@media (min-width: 1280px) {
  .side-toc { display: block; position: fixed; top: 52px; bottom: 46px; left: 0;
    width: 252px; overflow-y: auto; z-index: 20;
    background: var(--r-panel); border-right: 1px solid var(--r-line);
    padding: 16px 0 40px; font-family: var(--sans);
    transition: transform .22s; }
  .reader-body.bars-hidden .side-toc { transform: translateX(-100%); }
  .side-toc .st-head { font-size: 11px; text-transform: uppercase;
    letter-spacing: .09em; font-weight: 600; color: var(--r-muted); margin: 0 0 10px 20px; }
  .side-toc a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; padding: 5px 18px; color: var(--r-ink2); font-size: 12.5px;
    line-height: 1.45; border-left: 2px solid transparent; cursor: pointer; }
  .side-toc a:hover { background: var(--r-en-bg); color: var(--r-accent); }
  .side-toc a.active { background: var(--r-en-bg); border-left-color: var(--r-accent);
    color: var(--r-accent); font-weight: 600; }
  .r-scroll { margin-left: 252px; }
}

.r-scroll { max-width: 1180px; margin: 0 auto; padding: 76px 30px 120px; }

/* 题录块（同原模板 .paper-meta：上粗下细线、无卡片） */
.r-meta { border-top: 2px solid var(--r-ink); border-bottom: 1px solid var(--r-line);
  padding: 20px 0 16px; margin: 10px 0 28px; }
.r-meta .r-h1 { font-family: var(--sans); font-weight: 700; font-size: 21px;
  line-height: 1.42; letter-spacing: -.006em; margin: 0 0 8px; }
.r-meta .r-sub { font-family: var(--sans); color: var(--r-muted);
  font-size: 12px; line-height: 1.6; }

/* 章节标题（同原模板：无衬线、下粗线、中文主标题+英文小字副题） */
.r-ch { margin: 0 0 44px; }
.r-ch h2 { font-family: var(--sans); font-weight: 700; font-size: 17px;
  line-height: 1.45; letter-spacing: -.004em; margin: 0 0 4px; padding: 0 0 10px;
  border-bottom: 1px solid var(--r-ink); }
.r-ch h2 .cap-en { display: block; margin-top: 3px; font-size: 12px;
  font-weight: 500; color: var(--r-muted); }
/* front 作者信息块：单栏弱化小字（同原模板） */
.r-ch.front { margin: 0 0 10px; }
.r-ch.front h2, .r-ch.front .cap-en { display: none; }
.r-ch.front .para { grid-template-columns: 1fr; border-bottom: none; }
.r-ch.front .para .en { display: none; }
.r-ch.front .para .zh { font-family: var(--sans); font-size: 12.5px;
  color: var(--r-muted); line-height: 1.7; background: transparent; padding: 4px 0; }

/* 双栏段落对照（同原模板 .seg：等宽、去卡片化、细分隔线） */
.para { position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin: 0; padding: 0;
  border-bottom: 1px solid var(--r-line);
  font-family: var(--serif); line-height: 1.9; text-align: justify; }
.para:hover .zh { background: var(--r-hover, #fcfdfe); }
.para .zh, .para .en { display: block; padding: 15px 20px;
  overflow-wrap: break-word; word-break: break-word; }
.para .zh { background: var(--r-tgt); }
.para .en { background: var(--r-en-bg); border-right: 1px solid var(--r-colline);
  font-size: .935em; line-height: 1.78; color: var(--r-ink2); }
.para .zh::before, .para .en::before { display: none; font-family: var(--sans);
  font-size: 10px; letter-spacing: 1.2px; color: var(--r-muted);
  opacity: .75; margin-bottom: 5px; }
.para.solo { display: block; }
.para.solo .en { display: none; }
@media (max-width: 959px) {
  .para { grid-template-columns: 1fr; }
  .para .en { border-right: none; border-bottom: 1px solid var(--r-line); }
  .para .zh::before { content: "译文 · ZH"; display: block; }
  .para .en::before { content: "原文 · EN"; display: block; }
  .para.solo .zh::before { content: none; }
}

/* ───────────── 响应式：平板与手机 ───────────── */
@media (max-width: 959px) {
  .para .zh, .para .en { padding: 13px 16px; }
  .r-scroll { padding-left: 20px; padding-right: 20px; }
}
@media (hover: none) {
  .para:hover .zh { background: var(--r-tgt); }
  .book:hover .cover { transform: none; box-shadow: 0 3px 10px rgba(20, 24, 40, .16); }
}
@media (max-width: 640px) {
  .r-scroll { padding: 66px 12px 110px; }
  .r-meta { padding: 14px 0 12px; margin-bottom: 20px; }
  .r-meta .r-h1 { font-size: 18px; }
  .r-meta .r-sub { font-size: 11px; }
  .r-ch { margin-bottom: 30px; }
  .r-ch h2 { font-size: 15.5px; padding-bottom: 8px; }
  .para .zh, .para .en { padding: 11px 12px; }
  .r-top { padding: 0 4px; }
  .r-top .rt-title { font-size: 13px; padding: 0 2px; }
  .r-bottom { gap: 6px; padding: 0 8px;
    height: calc(46px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px); }
  .r-bottom button.nav { font-size: 12px; padding: 6px 5px; }
  .r-bottom .pct { min-width: 34px; font-size: 11px; }
  .mark-pop { padding: 5px 6px; gap: 1px; }
  .mark-pop .act { padding: 5px 6px; font-size: 11.5px; }
  .mark-pop .dot { width: 20px; height: 20px; margin: 0 2px; }
  .note-card textarea { min-height: 90px; font-size: 14px; }
  .note-card { padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .set-pop { padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .drawer { width: min(340px, 92vw); }
  .shelf { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 20px 12px; padding: 14px; }
  .cats { padding: 12px 14px 2px; }
}

/* 图片段（arXiv 内嵌 SVG / img） */
.para-figure { margin: 26px 0; text-align: center; }
.para-figure .fig-box { overflow-x: auto; }
.para-figure svg { max-width: 100%; height: auto; }
.para-figure img { max-width: 100%; height: auto; }
.para-figure .fig-cap { font-family: var(--sans); font-size: 12px;
  color: var(--r-muted); margin-top: 8px; line-height: 1.6; }

/* 表格段（学术三线表，同原模板 figure.mdtable-block） */
.para-table { overflow-x: auto; margin: 26px 0; font-size: 13px; }
.para-table figure, .para-table .mdtable-block { margin: 0; }
.para-table table { border-collapse: collapse; width: 100%; font-family: var(--sans); }
.para-table caption { text-align: left; padding: 0 0 10px; caption-side: top;
  font-family: var(--sans); }
.para-table caption .cap-en { display: block; font-weight: 600; color: var(--r-ink); }
.para-table caption .cap-zh { display: block; margin-top: 2px; color: var(--r-muted); }
.para-table th, .para-table td { border: none; padding: 6px 12px 6px 0;
  text-align: left; vertical-align: top; line-height: 1.7; }
.para-table thead th { border-top: 1.5px solid var(--r-ink);
  border-bottom: 1px solid var(--r-ink); font-weight: 600; }
.para-table tbody tr:last-child td { border-bottom: 1.5px solid var(--r-ink); }

/* 划线与想法 */
.pr-mark { border-radius: 2px; padding: 0 .5px; }
.pr-mark[data-color="yellow"] { background: var(--mk-yellow); }
.pr-mark[data-color="blue"]   { background: var(--mk-blue); }
.pr-mark[data-color="red"]    { background: var(--mk-red); }
.pr-mark.has-note { border-bottom: 2px solid var(--note-line); }
.reader-body[data-theme="night"] .pr-mark[data-color="yellow"] { background: rgba(255, 199, 0, .30); }
.reader-body[data-theme="night"] .pr-mark[data-color="blue"]   { background: rgba(64, 140, 255, .28); }
.reader-body[data-theme="night"] .pr-mark[data-color="red"]    { background: rgba(255, 99, 121, .30); }

/* 选中工具栏 */
.mark-pop { position: absolute; z-index: 60; display: none; align-items: center; gap: 2px;
  padding: 6px 8px; border-radius: 10px; background: #23262b; box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.mark-pop.on { display: flex; }
.mark-pop .dot { width: 22px; height: 22px; border-radius: 50%; margin: 0 3px; border: 2px solid transparent; }
.mark-pop .dot:hover { transform: scale(1.12); }
.mark-pop .dot.y { background: #ffc700; } .mark-pop .dot.b { background: #4f9aff; }
.mark-pop .dot.r { background: #ff6379; }
.mark-pop .sep { width: 1px; height: 18px; background: rgba(255,255,255,.18); margin: 0 5px; }
.mark-pop .act { color: #e8eaee; font-size: 12.5px; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.mark-pop .act:hover { background: rgba(255,255,255,.12); }
.mark-pop::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px;
  border: 5px solid transparent; border-top-color: #23262b; border-bottom: none; }

/* 想法输入弹层 */
.note-mask { position: fixed; inset: 0; z-index: 70; background: rgba(20, 22, 28, .45);
  display: none; align-items: flex-end; justify-content: center; }
.note-mask.on { display: flex; }
.note-card { width: min(560px, 100%); background: var(--r-panel, #fff); color: var(--r-ink, #333);
  border-radius: 14px 14px 0 0; padding: 18px 20px 22px; }
.note-card .nq { font-size: 13px; color: var(--r-muted, #999); line-height: 1.7;
  border-left: 3px solid var(--brand); padding-left: 10px; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note-card textarea { width: 100%; min-height: 110px; resize: vertical; font-size: 15px;
  line-height: 1.8; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--r-line, #e5e5e5); background: transparent; color: inherit; }
.note-card .row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.note-card .row button { padding: 8px 20px; border-radius: 999px; font-size: 14px; }
.note-card .cancel { color: var(--r-muted, #888); background: rgba(128,128,128,.12); }
.note-card .save { background: var(--brand); color: #fff; font-weight: 600; }

/* 抽屉（目录 / 想法） */
.drawer-mask { position: fixed; inset: 0; z-index: 65; background: rgba(20, 22, 28, .4);
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-mask.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 66; width: min(360px, 88vw);
  background: var(--r-panel); color: var(--r-ink); box-shadow: -8px 0 30px rgba(0,0,0,.18);
  transform: translateX(102%); transition: transform .24s; display: flex; flex-direction: column; }
.drawer.on { transform: translateX(0); }
.drawer .d-head { display: flex; align-items: center; height: 52px; padding: 0 16px;
  font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--r-line); }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 8px 0 30px; }
.drawer .d-item { padding: 11px 18px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.drawer .d-item:hover { background: rgba(128, 128, 128, .10); }
.drawer .d-item.cur { color: var(--r-accent, var(--brand)); font-weight: 600; }
.drawer .d-item .en { display: block; font-size: 11.5px; color: var(--r-muted); }
.drawer .d-note { padding: 12px 18px; border-bottom: 1px solid var(--r-line); cursor: pointer; }
.drawer .d-note:hover { background: rgba(128, 128, 128, .08); }
.drawer .d-note .nq { font-size: 12.5px; color: var(--r-muted); line-height: 1.6;
  border-left: 3px solid var(--brand); padding-left: 8px; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer .d-note .nt { font-size: 14px; line-height: 1.7; }
.drawer .d-note .nm { font-size: 11px; color: var(--r-muted); margin-top: 6px;
  display: flex; justify-content: space-between; }
.drawer .d-note .nm .del { color: #d64545; }
.drawer .d-empty { padding: 60px 20px; text-align: center; color: var(--r-muted); font-size: 13.5px; }

/* 设置面板 */
.set-pop { position: fixed; left: 0; right: 0; bottom: 0; z-index: 68;
  background: var(--r-panel); color: var(--r-ink); border-radius: 16px 16px 0 0;
  padding: 20px 22px 30px; box-shadow: 0 -8px 30px rgba(0,0,0,.18);
  transform: translateY(105%); transition: transform .24s; }
.set-pop.on { transform: translateY(0); }
.set-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.set-row .lab { width: 44px; font-size: 13px; color: var(--r-muted); }
.set-row .fs-btn { width: 44px; height: 34px; border-radius: 8px; font-size: 15px;
  background: rgba(128, 128, 128, .12); color: var(--r-ink); }
.set-row .fs-val { min-width: 34px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.set-row .theme-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; }
.set-row .theme-dot.on { border-color: var(--brand); }

/* （响应式规则已并入上方“响应式：平板与手机”区块） */