.concept-page { font-size: 16px; } /* 与高中知识库同为 16px；低年级卡 .cc-low 仍是 20px */
.concept-page .wrap { max-width: 1060px; }
.concept-page .top { justify-content: space-between; flex-wrap: wrap; }
.concept-page button, .concept-page select { font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--muted); border-radius: 8px; padding: 8px 12px; min-height: 44px; cursor: pointer; max-width: 100%; }
.concept-page a { text-underline-offset: 4px; }
.concept-page a:focus-visible, .concept-page button:focus-visible, .concept-page select:focus-visible, .concept-page summary:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.cc-skip { position: absolute; left: 8px; top: -100px; background: var(--card); padding: 10px; z-index: 20; }
.cc-skip:focus { top: 4px; }
.cc-nav, .cc-grades, .cc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-nav { margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.cc-nav a, .cc-grades a, .cc-links a { min-height: 44px; padding: 7px 12px; display: inline-flex; align-items: center; }
.cc-nav [aria-current], .cc-grades [aria-current] { background: var(--fg); color: var(--bg); border-radius: 8px; text-decoration: none; }
.cc-intro { max-width: 38em; }
.cc-filter { border-block: 2px solid var(--a); padding: 16px 0; margin: 24px 0; }
.cc-filter label { display: block; margin: 16px 0 6px; font-weight: 700; }
.cc-filter select { width: 100%; }
.cc-grades [aria-disabled] { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 12px; color: var(--fg); border: 1px dashed var(--line); }
.cc-status { color: var(--muted); }
.cc-card { margin: 28px 0; padding: 22px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--a); border-radius: var(--radius); scroll-margin-top: 16px; overflow-wrap: anywhere; }
.cc-card h2 { font-size: 25px; margin: 0 0 14px; }
.cc-card h3 { font-size: 19px; }
.cc-card p { margin: 10px 0; }
.cc-card ul { padding-left: 24px; }
.cc-say { margin-left: 8px; font-size: 16px !important; vertical-align: middle; }
.cc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cc-body > * { min-width: 0; }
.cc-concept:only-child { grid-column: 1 / -1; }
.cc-figure { margin: 0; padding: 16px 12px; border-radius: 8px; background: var(--bg); }
.cc-figure svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; color: var(--fg); }
.cc-figure figcaption { margin-top: 12px; }
.cc-figure svg text { fill: var(--fg); font-size: 21px; }
.cc-myth { border-left: 4px solid var(--no); padding: 0 14px; margin: 20px 0; }
.cc-myth strong { color: var(--fg); }
.cc-quiz { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin: 20px 0 0; min-width: 0; }
.cc-options { display: grid; gap: 10px; }
.cc-options > div { display: flex; align-items: center; gap: 8px; }
.cc-options button { text-align: left; width: 100%; }
.cc-options button[data-choice] { color: var(--fg); background: var(--card); }
.cc-options [data-choice] { flex: 1; }
.cc-options .cc-say { width: auto; margin-left: 0; flex: 0 0 auto; }
.cc-options [aria-pressed="true"] { border: 3px solid var(--fg); padding: 6px 10px; }
.cc-feedback { background: var(--bg); padding: 12px; border-left: 4px solid var(--c); }
.cc-feedback:empty { display: none; }
.cc-answer { margin: 12px 0; }
.cc-qtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.cc-qtabs [aria-pressed="true"] { border: 3px solid var(--fg); padding: 6px 10px; font-weight: 700; }
.cc-qtabs [disabled] { border-style: dashed; cursor: not-allowed; }
.cc-lock, .cc-record { font-size: 16px; color: var(--fg); }
.cc-answer summary { min-height: 44px; cursor: pointer; padding: 8px 0; }
.cc-low { font-size: 20px; }
.cc-low .cc-body { grid-template-columns: 1fr; }
.cc-low .cc-concept { max-width: 34em; }
.cc-low ruby { margin-inline: 1px; }
.cc-low rt { font-size: max(0.55em, 14px); color: var(--muted); }
.cc-low .cc-options button[data-choice] rt { color: inherit; }
.cc-height { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cc-height table { border-collapse: collapse; }
.cc-height th { font-size: 16px; font-weight: 400; padding: 3px; }
.cc-height td { border: 1px solid var(--muted); width: 38px; height: 38px; text-align: center; font-weight: 700; background: var(--card); }
.cc-height td[data-empty] { background: var(--bg); }
.cc-block { margin: 8px 0 16px; }
.cc-block b { display: block; }
.cc-projections { font-size: 17px; }
.cc-jump { display: block; margin: 8px 0; }
.concept-page footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 18px 0; color: var(--muted); }
@media(max-width: 620px) {
  .cc-body { grid-template-columns: 1fr; }
  .cc-card { padding: 16px 12px; }
  .cc-card h2 { font-size: 23px; }
  .cc-nav { gap: 2px; }
  .cc-nav a { padding-inline: 9px; }
  .cc-grades { gap: 4px; }
  .cc-grades a { padding-inline: 8px; }
}
@media print { .cc-filter, .cc-nav, .cc-say, #cc-theme { display: none; } .cc-card { break-inside: avoid; } }
