/* ==== 数学站首页目次（body.home.contents；单独的 assets/home.css，只由首页链接，排在 eju-ds.css 之后）
   像书的目次：纸色底、衬线章名、左侧大号章号、点线引到右侧题数。不用卡片阴影、渐变、动画；交互只有链接的颜色和下划线。 ==== */
@font-face { font-family: "Noto Serif SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/fontsource/fonts/noto-serif-sc@5.2.5/latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/fontsource/fonts/noto-serif-sc@5.2.5/chinese-simplified-700-normal.woff2) format("woff2"); unicode-range: U+2E80-2FDF, U+3000-303F, U+3100-312F, U+31C0-31EF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE10-FE1F, U+FE30-FE4F, U+FF00-FFEF; }
body.contents { --serif: "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "SimSun", serif; }

/* 纸色：只在首页 body 上覆盖中性色 token，主色仍由 <html data-site> 决定；三条选择器与设计层的主题顺序一致 */
body.contents {
  margin: 0;
  --bg: #fbfaf7; --surface: #fbfaf7; --surface-2: #f3f1ec; --surface-3: #ebe8e1;
  --line: #e4e0d7; --line-strong: #c8c2b6;
  --ink: #2b2a27; --ink-2: #4b4943; --ink-3: #6b675f;
  --ct-gut: 7rem; --ct-gap: var(--s-8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.contents {
    --bg: #15140f; --surface: #15140f; --surface-2: #1e1d19; --surface-3: #272520;
    --line: #34322c; --line-strong: #57534a;
    --ink: #e8e5de; --ink-2: #c5c1b8; --ink-3: #9d988e;
  }
}
[data-theme="dark"] body.contents {
  --bg: #15140f; --surface: #15140f; --surface-2: #1e1d19; --surface-3: #272520;
  --line: #34322c; --line-strong: #57534a;
  --ink: #e8e5de; --ink-2: #c5c1b8; --ink-3: #9d988e;
}

.contents .ct-wrap { max-width: 62rem; margin: 0 auto; padding-left: max(var(--s-6), env(safe-area-inset-left)); padding-right: max(var(--s-6), env(safe-area-inset-right)); }
.contents main { max-width: none; margin: 0; padding: 0; }
.contents section { content-visibility: visible; contain-intrinsic-size: none; padding-top: 0; }
.contents section + section { border-top: 0; margin-top: 0; }
.contents a { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
.contents a:hover { text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.contents .theme-btn { background: transparent; }
.contents .theme-btn:active { transform: none; }

/* 扉页：书名靠左，前言缩进到正文栏，与下面各章的章名对齐 */
.ct-head { padding: var(--s-8) 0 var(--s-16); }
.ct-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-16); }
.ct-kicker { margin: 0; font-size: 14px; letter-spacing: .12em; color: var(--ink-3); }
.contents h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 6.4vw, 60px); line-height: 1.22; letter-spacing: .04em; color: var(--ink); margin: 0 0 var(--s-10); }
.ct-preface { margin-left: calc(var(--ct-gut) + var(--ct-gap)); max-width: 34em; }
.ct-preface p { margin: 0; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); text-wrap: pretty; }
.ct-preface .ct-facts { margin-top: var(--s-4); font-size: 14px; line-height: 1.7; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 目次标题 */
.ct-label { margin: 0 0 var(--s-2) calc(var(--ct-gut) + var(--ct-gap)); font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .5em; color: var(--ink); }
.ct-label span, .ct-chja { margin-left: .75em; font-family: var(--sans-jp); font-size: 13.5px; font-weight: 400; letter-spacing: .04em; color: var(--ink-3); }

/* 章：左侧章号，右侧章名、提要和专题列表；章与章之间一条细线 */
.ct-parts { list-style: none; margin: 0; padding: 0; }
.ct-part { display: grid; grid-template-columns: var(--ct-gut) minmax(0, 1fr); column-gap: var(--ct-gap); margin: 0; padding: var(--s-10) 0 var(--s-8); border-top: 1px solid var(--line); }
.ct-no { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 64px; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.ct-no-a { font-size: 34px; line-height: 1.3; color: var(--ink-3); }
.ct-body { min-width: 0; }
.ct-body h3, .ct-body h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.4; letter-spacing: .06em; color: var(--ink); }
.ct-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ct-intro { margin: var(--s-2) 0 0; max-width: 38em; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.ct-sum { display: block; margin-top: var(--s-1); font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 专题行：序号　题名 ······ 题数 · 过去问 · 星级 */
.ct-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.ct-list li { margin: 0; }
.contents .ct-list a { display: flex; align-items: baseline; min-height: 44px; padding: var(--s-2) 0; color: var(--ink); text-decoration: none; }
.ct-n { flex: none; width: 2.6rem; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ct-t { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ct-zh { font-size: 17px; line-height: 1.55; text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .22em; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
.ct-ja { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ct-dots { flex: 1 1 1.5rem; min-width: 1.5rem; margin: 0 var(--s-3); border-bottom: 1px dotted var(--line-strong); }
.ct-m { flex: none; font-size: 14px; color: var(--ink-2); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.ct-sep { color: var(--ink-3); }
.ct-w { color: var(--ink-3); font-size: 13px; }  /* 数学站：过去问加权题量，排在「出现 N 题 ★」之前 */
.contents .stars { color: var(--ink-2); letter-spacing: 1px; }
.contents .ct-list a:hover .ct-zh { color: var(--accent); text-decoration-color: currentColor; }

/* 频度表：只用横线，不加底色和圆角 */
.contents .tw { margin: var(--s-5) 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow-x: auto; }
.contents table:not(.hm) { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.contents table:not(.hm) th { background: transparent; color: var(--ink-3); font-size: 13px; font-weight: 400; text-align: left; border-bottom: 1px solid var(--line-strong); padding: var(--s-2) var(--s-3) var(--s-2) 0; }
.contents table:not(.hm) td { border-bottom: 1px solid var(--line); padding: var(--s-2) var(--s-3) var(--s-2) 0; vertical-align: baseline; }
.contents table:not(.hm) tr:last-child td { border-bottom: 1px solid var(--line-strong); }
.contents th.num, .contents td.num { text-align: right; }
.contents td.stars { white-space: nowrap; }

/* 版权页 */
.ct-foot { margin-top: var(--s-12); padding: var(--s-6) 0 var(--s-16); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.ct-foot p { margin: 0 0 var(--s-2); }
.ct-sites a { margin-left: var(--s-4); }
.ct-sites a:first-child { margin-left: var(--s-2); }

/* 窄屏：章号缩小留在左栏；点线隐去，题数换到题名下方 */
@media (max-width: 640px) {
  body.contents { --ct-gut: 2.4rem; --ct-gap: var(--s-4); }
  .ct-head { padding-bottom: var(--s-12); }
  .ct-top { margin-bottom: var(--s-10); }
  .ct-preface { margin-left: 0; }
  .ct-label { margin-left: 0; }
  .ct-part { padding: var(--s-8) 0 var(--s-6); }
  .ct-no { font-size: 40px; }
  .ct-no-a { font-size: 24px; }
  .ct-body h3, .ct-body h2 { font-size: 22px; }
  .ct-chja { display: inline-block; }
  .contents .ct-list a { flex-wrap: wrap; padding: var(--s-2) 0 var(--s-3); }
  .ct-n { width: 2.2rem; }
  .ct-t { flex: 1 1 0; }
  .ct-dots { display: none; }
  .ct-m { flex: 1 0 100%; padding-left: 2.2rem; text-align: left; white-space: normal; font-size: 13.5px; }
  .ct-sites a, .ct-sites a:first-child { display: inline-block; margin: 0 var(--s-4) 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contents a, .ct-zh { transition: none; }
}
/* 知识导图（#map）v4：像一张印在纸上的古典星图。中心是科目名，内圈各章、外圈专题；每章一色（日本传统色，浅深两套，与本站主色协调），
   树枝是填充的锥形曲线，章旁细线插图，专题框写一条代表式；同心轨道上的虚线弧是专题间的联系。不用渐变、发光、阴影与位移，
   悬停 / 聚焦只把无关分支调淡（assets/map.js 加 .mp-off），过渡只有 opacity */
body.contents {
  --mp-1: #2b4a7d; --mp-2: #6a4f87; --mp-3: #2e6a47; --mp-4: #ae422b; --mp-5: #23597e; --mp-6: #8a6220;  /* 紺・江戸紫・常磐・緋・藍・黄土 */
  --mp-grid: color-mix(in srgb, var(--ink) 11%, transparent); --mp-frame: var(--ink-2);
  --mp-math: "STIX Two Text", "Cambria Math", "Times New Roman", Times, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.contents { --mp-1: #93acd8; --mp-2: #b59fce; --mp-3: #86b894; --mp-4: #df8a70; --mp-5: #8fb6d4; --mp-6: #cfa75e; --mp-grid: color-mix(in srgb, var(--ink) 8%, transparent); }
}
[data-theme="dark"] body.contents { --mp-1: #93acd8; --mp-2: #b59fce; --mp-3: #86b894; --mp-4: #df8a70; --mp-5: #8fb6d4; --mp-6: #cfa75e; --mp-grid: color-mix(in srgb, var(--ink) 8%, transparent); }
#map .mp-c1 { --c: var(--mp-1); } #map .mp-c2 { --c: var(--mp-2); } #map .mp-c3 { --c: var(--mp-3); } #map .mp-c4 { --c: var(--mp-4); } #map .mp-c5 { --c: var(--mp-5); } #map .mp-c6 { --c: var(--mp-6); }
.contents .mp { grid-column: 1 / -1; margin: var(--s-6) 0 0; --mp-w: max(100%, min(calc(100vw - 4.5rem), 72rem)); width: var(--mp-w); margin-left: calc((100% - var(--mp-w)) / 2); }
.contents .mp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.contents .mp-svg { display: block; width: 100%; height: auto; min-width: 58rem; }
.contents .mp-hint { display: none; margin: 0 0 var(--s-2); font-size: 13.5px; color: var(--ink-3); }
/* 图版：赤纬圈、每 30° 的经线、外圈 5° 刻度；双线框与四角小方块；框内下缘的图注 */
#map .mp-grid circle, #map .mp-grid path { fill: none; stroke: var(--mp-grid); stroke-width: .5; }
#map .mp-grid .mp-lim { stroke-width: .7; }
#map .mp-frame rect { fill: none; stroke: var(--mp-frame); stroke-width: 1.1; }
#map .mp-frame .mp-thin, #map .mp-frame path { fill: none; stroke: var(--mp-frame); stroke-width: .5; }
#map .mp-frame .mp-cn { fill: var(--bg); stroke-width: .8; }
#map .mp-frame .mp-cnd { fill: var(--mp-frame); stroke: none; }
#map .mp-cap { fill: var(--ink-2); font: 700 19px var(--serif); letter-spacing: .35em; }
#map .mp-cap2 { fill: var(--ink-3); font: 14px var(--sans); letter-spacing: .14em; }
/* 树：树干、树枝都是填充路径；插图只有细线 */
#map .mp-tr, #map .mp-tw { fill: var(--c); stroke: none; }
#map .mp-ic path, #map .mp-ic circle { fill: none; stroke: var(--c); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
#map .mp-ic .mp-thin { stroke-width: .75; }
#map .mp-ic .mp-dot { fill: var(--c); stroke: none; }
#map .mp-ic text { fill: var(--c); stroke: none; }
#map .mp-it { font: italic 13px var(--mp-math); }
#map .mp-sub { font: 600 9.5px var(--sans); }
#map .mp-ic .mp-ion { fill: var(--bg); stroke: var(--c); stroke-width: 1.15; }
/* 节点：章是双圈小圆章，专题是细框；字一律墨色，章名用本章色 */
#map .mp-nb { fill: var(--bg); stroke: var(--c); stroke-width: 1.2; }
#map .mp-nr { fill: none; stroke: var(--c); stroke-width: .5; }
#map .mp-ch { fill: var(--c); font: 700 22px var(--serif); letter-spacing: .06em; }
#map .mp-chk { fill: var(--ink-3); font: 13px var(--sans); letter-spacing: .08em; }
#map .mp-star { fill: var(--c); }
#map .mp-ld { fill: none; stroke: var(--c); stroke-width: .75; }  /* 外推的专题框连回星点的引线 */
#map .mp-box { fill: var(--bg); stroke: var(--c); stroke-width: 1; }
#map .mp-t { fill: var(--ink); font: 16px var(--sans); }
#map .mp-f { fill: var(--ink-3); font: 14.5px var(--mp-math); }
#map .mp-fi { font-style: italic; }
#map .mp-fb { font-weight: 700; }
#map .mp-fs { font-size: 10.5px; }
#map .mp-rb { fill: var(--bg); stroke: var(--accent); stroke-width: 1.3; }
#map .mp-rr { fill: none; stroke: var(--accent); stroke-width: .5; }
#map .mp-rt { fill: var(--ink); font: 700 30px var(--serif); letter-spacing: .2em; }
/* 联系：中性灰虚线弧，标签沿弧书写，底色描边断开虚线 */
#map .mp-xl path { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 5 4; }
#map .mp-xl text { fill: var(--ink-2); font: 14.5px var(--sans); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
/* 交互：链接不加下划线；悬停 / 聚焦时框线加粗、字取本章色；无关的分支与弧调淡 */
#map .mp-svg a, #map .mp-svg a text { text-decoration: none; }
#map .mp-svg a:focus-visible { outline: none; }
#map .mp-tn:hover .mp-box, #map .mp-tn:focus-visible .mp-box, #map .mp-chn:hover .mp-nb, #map .mp-chn:focus-visible .mp-nb, #map .mp-root:hover .mp-rb, #map .mp-root:focus-visible .mp-rb { stroke-width: 2; }
#map .mp-tn:focus-visible .mp-box, #map .mp-chn:focus-visible .mp-nb, #map .mp-root:focus-visible .mp-rb { stroke-width: 2.6; }
#map .mp-tn:hover .mp-t, #map .mp-tn:focus-visible .mp-t { fill: var(--c); text-decoration: underline; }
#map .mp-root:hover .mp-rt, #map .mp-root:focus-visible .mp-rt { fill: var(--accent); }
#map .mp-d { transition: opacity 140ms linear; }
#map .mp-off { opacity: .32; }
.contents .mp figcaption { margin: var(--s-4) 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.contents .mp-legend { list-style: none; margin: var(--s-1) 0 0; padding: 0; columns: 2 18rem; column-gap: var(--ct-gap); }
.contents .mp-legend li { margin: 0; break-inside: avoid; }
@media (max-width: 62rem) { .contents .mp-hint { display: block; } .contents .mp-svg { min-width: 70rem; } }
@media (prefers-reduced-motion: reduce) { #map .mp-d { transition: none; } }
/* ==== 知识导图互动（四站同一份规则，接在首页目次块之后）
   说明卡像图版上的图鉴注文：纸色、细线、衬线标题，没有阴影、发光或浮起。
   连续动效（漂浮、闪烁、虚线流动）只在未开「减少动效」时启用，幅度都很小。 ==== */
#map figure.mp { position: relative; }
.contents .mp-scroll { overflow: hidden; touch-action: pan-y; overscroll-behavior: contain; }
.contents .mp-svg { display: block; width: 100%; height: auto; min-width: 0; }
@media (max-width: 62rem) { .contents .mp-svg { min-width: 0; } }
.contents .mp-hint { display: block; margin: 0 0 var(--s-2); font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
#map .mp-cam { transform-origin: 0 0; transform-box: view-box; }
#map .mp-d { transition: opacity 140ms linear; }

/* 漂浮由 map.js 里的 d3-force 写在节点的 SVG transform 上（不用 CSS transform：默认 transform-box 是 view-box，原点在画布角，2px 几乎看不出）。 */
#map a.mp-tn, #map a.mp-chn {
  transform-box: fill-box;
  transform-origin: center;
}

/* 星点与轨道上的装饰点轻微闪烁 */
#map.mp-live .mp-star { animation: mp-twinkle 3.8s ease-in-out infinite alternate; }
#map.mp-live .mp-sk { fill: var(--ink-3); stroke: none; opacity: .35; animation: mp-twinkle 5.6s ease-in-out infinite alternate; }
@keyframes mp-twinkle {
  from { opacity: .28; }
  to { opacity: .85; }
}
#map.mp-live .mp-star { /* 专题星点本色更实，只在透明度上闪 */
  /* fill 仍由章色决定；opacity 叠加在其上 */
}

/* 联系弧：沿已有虚线缓慢流动 */
#map.mp-live .mp-xl path { animation: mp-flow 9s linear infinite; }
@keyframes mp-flow { to { stroke-dashoffset: -36; } }

/* 当前聚焦的节点：加粗框线，不用发光 */
#map a.mp-now .mp-box, #map a.mp-now .mp-nb { stroke-width: 2.2; }
#map a.mp-now .mp-t { fill: var(--c); }

/* 图鉴式说明卡 */
#map .mp-card {
  margin: var(--s-4) 0 0;
  padding: var(--s-4) var(--s-5) var(--s-4);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-top-width: 2px;
  border-radius: 0;
  box-shadow: none;
  max-width: 42em;
}
#map .mp-card[hidden] { display: none !important; }
#map .mp-card-k { margin: 0; font-size: 12.5px; letter-spacing: .12em; color: var(--ink-3); }
#map .mp-card-h {
  margin: var(--s-2) 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: .06em;
  color: var(--ink);
}
#map .mp-card-ja { margin: 2px 0 0; font-family: var(--sans-jp); font-size: 13.5px; color: var(--ink-3); }
#map .mp-card-ja[hidden] { display: none; }
#map .mp-card-intro { margin: var(--s-3) 0 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
#map .mp-card-acts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin: var(--s-4) 0 0; }
#map .mp-card-go { font-size: 15px; }
#map .mp-card-back {
  font: inherit;
  font-size: 14.5px;
  min-height: 44px;
  padding: 0 var(--s-4);
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
}
#map .mp-card-back:hover { color: var(--ink); border-color: var(--ink-3); }
#map .mp-card-back:active { transform: none; }


#map a.mp-now { animation: none !important; }
#map a.mp-tn:focus-visible .mp-box,
#map a.mp-tn:focus-visible .mp-nb,
#map a.mp-chn:focus-visible .mp-nb,
#map a.mp-chn:focus-visible .mp-box,
#map a.mp-root:focus-visible circle {
  stroke: var(--ink);
  stroke-width: 2.2;
  outline: none;
}
#map a.mp-tn:focus-visible,
#map a.mp-chn:focus-visible,
#map a.mp-root:focus-visible {
  outline: 2px solid var(--accent, currentColor);
  outline-offset: 3px;
}
#map .mp-card-back:focus-visible,
#map .mp-card-go:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  #map .mp-cam { transition: none !important; }
  #map.mp-live a.mp-tn, #map.mp-live a.mp-chn,
  #map.mp-live .mp-star, #map.mp-live .mp-sk,
  #map.mp-live .mp-xl path { animation: none !important; }
  #map .mp-d { transition: none; }
}

/* 第三层小节：总览不画；聚焦放大后再从专题长出 */
#map .mp-sub {
  opacity: 0;
  pointer-events: none;
}
#map .mp-sub.mp-in { opacity: 1; pointer-events: auto; }
#map .mp-sub .mp-box {
  fill: var(--surface);
  stroke: var(--c, var(--ink-3));
  stroke-width: 1.15;
}
#map .mp-sub .mp-t { font-size: 16.5px; fill: var(--ink); font-family: var(--sans); }
#map .mp-sub .mp-f { font-size: 14.5px; fill: var(--ink-2); font-family: var(--mp-math); font-style: italic; }
#map .mp-subbr { fill: var(--c, var(--ink-3)); opacity: 0; pointer-events: none; }
#map .mp-hit { fill: none; pointer-events: all; }
#map a.mp-sub.mp-now .mp-box { stroke-width: 2.1; }
#map a.mp-sub.mp-now .mp-t { fill: var(--c, var(--ink)); }
#map a.mp-sub:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  #map .mp-sub, #map.mp-live .mp-sub { transition: none !important; }
  #map .mp-xls, #map .mp-xl, #map .mp-frame .mp-cap, #map .mp-frame .mp-cap2 { transition: none !important; }
}


#map .mp-radial-spokes { pointer-events: none; }
#map .mp-radial-spoke {
  fill: var(--c, var(--ink-3));
  opacity: .92;
}
#map a.mp-recede, #map .mp-recede { opacity: .18; }
#map.mp-radial-on a.mp-root { opacity: 0; pointer-events: none; }
#map.mp-radial-on .mp-grid { opacity: .42; }
#map.mp-radial-on a.mp-tn.mp-recede,
#map.mp-radial-on a.mp-chn.mp-recede { opacity: .12; }
#map [data-radial-hide="1"] { opacity: 0 !important; }

#map .mp-xls, #map .mp-xl, #map .mp-frame .mp-cap, #map .mp-frame .mp-cap2 {
  transition: opacity .45s ease;
}
#map.mp-radial-on .mp-xls,
#map.mp-radial-on .mp-xl {
  opacity: 0 !important;
  pointer-events: none;
}
#map.mp-radial-on .mp-star, #map.mp-radial-on .mp-ld { opacity: 0 !important; }
#map.mp-radial-on .mp-frame .mp-cap,
#map.mp-radial-on .mp-frame .mp-cap2 { opacity: 0; }
#map .mp-box, #map .mp-nb, #map .mp-sub .mp-box {
  fill: var(--surface, var(--bg));
  fill-opacity: 1;
}
#map.mp-radial-topic a.mp-tn.mp-recede { opacity: .08; }
#map .mp-card-f { margin: 4px 0 0; font-size: 14px; font-style: italic; color: var(--ink-2); }
#map .mp-card-f[hidden] { display: none; }




/* ==== /知识导图互动 ==== */
/* ==== /数学站首页目次 ==== */
