
  * { box-sizing:border-box; margin:0; padding:0; }
  :root {
    --bg:#000; --panel:#141414; --panel2:#1b1b1b; --line:#303030;
    --text:#e9e9e9; --muted:#aaa; --red:#e63946; --red2:#ff9aa0;
    --green:#63d980; --blue:#5da9e9; --orange:#e79854;
  }
  html { color-scheme:dark; }
  body {
    min-width:0; min-height:100vh; padding:32px 14px; overflow-x:hidden;
    color:var(--text); background:radial-gradient(1100px 620px at 50% -8%,#202020 0%,var(--bg) 72%);
    font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  }
  .container { width:100%; max-width:880px; margin:0 auto; }
  header { margin-bottom:24px; text-align:center; }
  h1 { margin-bottom:9px; color:#fff; font-size:28px; letter-spacing:1px; }
  header p { color:var(--muted); font-size:14px; line-height:1.75; }
  .toolbar { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:15px; }
  .pill { padding:7px 12px; border:1px solid #343434; border-radius:999px; color:#ddd; background:#151515; font-size:13px; }
  .pill strong { color:var(--red2); }
  .card,.summary-card,.study-card,.source-card,.wrong-panel {
    margin-bottom:22px; border:1px solid var(--line); border-radius:13px;
    background:var(--panel); box-shadow:0 10px 30px rgba(0,0,0,.5);
  }
  .card,.study-card,.source-card,.wrong-panel { padding:23px 25px; }
  .summary-card { overflow:hidden; }
  .summary-card summary { padding:18px 21px; color:#fff; font-size:18px; font-weight:700; cursor:pointer; user-select:none; }
  .summary-card[open] summary { border-bottom:1px solid var(--line); }
  .summary-content { padding:18px 21px 22px; }
  .summary-note { margin-bottom:13px; color:var(--muted); font-size:13px; line-height:1.7; }
  .table-wrap { max-width:100%; overflow-x:auto; border:1px solid #303030; border-radius:10px; }
  table { width:100%; min-width:620px; border-collapse:collapse; }
  th,td { padding:10px 12px; border-bottom:1px solid #303030; text-align:left; line-height:1.55; }
  th { color:var(--red2); background:#202020; font-size:14px; }
  td { color:#ddd; font-size:14px; }
  tr:last-child td { border-bottom:0; }
  .qhead { display:flex; align-items:flex-start; gap:11px; margin-bottom:8px; }
  .qnum {
    display:flex; flex:0 0 38px; align-items:center; justify-content:center;
    width:38px; height:38px; margin-top:2px; border-radius:50%; color:#fff;
    background:var(--red); font-size:14px; font-weight:700;
  }
  .qtext { min-width:0; color:#f2f2f2; font-size:17px; font-weight:600; line-height:1.78; overflow-wrap:anywhere; }
  .qtype { display:inline-block; margin-left:8px; padding:1px 8px; border:1px solid var(--red); border-radius:999px; color:var(--red2); font-size:12px; font-weight:400; white-space:nowrap; }
  .material { margin:14px 0 2px; padding:14px 15px; border:1px solid #303030; border-radius:10px; color:#ddd; background:#181818; font-size:15px; line-height:1.8; }
  .options { margin-top:15px; }
  .opt {
    display:flex; align-items:flex-start; gap:10px; width:100%; min-width:0;
    margin-bottom:10px; padding:12px 14px; border:2px solid #2f2f2f;
    border-radius:10px; color:#ddd; background:var(--panel2); font-size:16px;
    line-height:1.6; cursor:pointer; transition:.16s; user-select:none;
  }
  .opt:hover { border-color:var(--red); background:#241a1b; }
  .opt:focus-visible,button:focus-visible,a:focus-visible { outline:2px solid #fff; outline-offset:2px; }
  .opt .key { flex:0 0 24px; color:var(--red2); font-weight:700; }
  .opt .option-text { min-width:0; overflow-wrap:anywhere; }
  .opt .mark { margin-left:auto; font-size:12px; font-weight:700; white-space:nowrap; }
  .opt.selected { border-color:var(--red); background:#2b1b1d; }
  .opt.correct { border-color:#3fae5a; background:#14241a; }
  .opt.wrong { border-color:#e05050; background:#2a1717; }
  .opt.correct .mark { color:var(--green); }
  .opt.wrong .mark { color:#ff7373; }
  .hint { margin-top:7px; color:#919191; font-size:13px; line-height:1.65; }
  .inline-message { min-height:22px; margin-top:8px; color:#ff9b9b; font-size:13px; }
  .btn-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:7px; }
  button { padding:9px 20px; border:0; border-radius:8px; color:#fff; background:var(--red); font-size:14px; font-weight:700; cursor:pointer; }
  button:hover { filter:brightness(1.1); }
  .reset,.clear-wrong { color:#ddd; background:#2a2a2a; }
  .answer { display:none; margin-top:17px; border-top:1px solid #333; padding-top:16px; }
  .answer.show { display:block; }
  .res { margin-bottom:14px; font-size:17px; font-weight:700; }
  .res.ok { color:var(--green); }
  .res.no { color:#ff7373; }
  .explanation { display:grid; gap:12px; color:#d8d8d8; font-size:14px; line-height:1.78; }
  .explain-block,.chain,.trap,.mnemonic { padding:13px 15px; border-radius:9px; overflow-wrap:anywhere; }
  .explain-block { border:1px solid #303030; background:#1a1a1a; }
  .chain { border-left:3px solid var(--blue); background:#171f27; }
  .trap { border-left:3px solid var(--orange); background:#261c16; }
  .mnemonic { border-left:3px solid #77c56d; background:#191f18; }
  .label { color:var(--red2); font-weight:700; }
  .explain-list,.source-list { margin:8px 0 0 22px; }
  .explain-list li,.source-list li { margin-bottom:7px; }
  .explain-list b { color:#fff; }
  .study-card h2,.source-card h2,.wrong-panel h2 { margin-bottom:12px; color:#fff; font-size:21px; }
  .study-card h3 { margin:19px 0 10px; color:var(--red2); font-size:17px; }
  .study-card p,.source-card p,.wrong-panel p { margin-bottom:14px; color:var(--muted); font-size:14px; line-height:1.75; }
  .source-list { color:#cfcfcf; font-size:14px; line-height:1.7; }
  .source-list a { color:#8fc7ff; overflow-wrap:anywhere; }
  .wrong-list { display:grid; gap:12px; }
  .wrong-empty,.wrong-item { padding:13px 15px; border:1px solid #303030; border-radius:9px; background:#191919; color:#ccc; font-size:14px; line-height:1.7; }
  .wrong-title { margin-bottom:4px; color:#fff; font-weight:700; }
  .wrong-item b { color:#fff; }
  .storage-note { margin-bottom:10px; color:#ffb0b0; font-size:13px; }
  footer { padding:9px 0 3px; color:#777; text-align:center; font-size:13px; line-height:1.7; }
  @media (max-width:620px) {
    body { padding:20px 10px; }
    h1 { font-size:23px; }
    .card,.study-card,.source-card,.wrong-panel { padding:18px 15px; }
    .summary-content { padding:15px 13px 18px; }
    .qnum { flex-basis:34px; width:34px; height:34px; }
    .qtext { font-size:16px; }
    .opt { padding:11px 10px; font-size:15px; }
    .material { padding:12px; font-size:14px; }
  }

.review-card{border-color:#9c753c}.review-label{color:#ffd19a}.review-explanation{margin:16px 0;color:#ddd;line-height:1.85}.source-photos{margin-top:16px;border-top:1px solid #333;padding-top:12px;color:#aaa;font-size:13px;line-height:1.7}.source-photos summary{cursor:pointer;color:#a8c8ff}.source-photos img{display:block;max-width:100%;height:auto;margin:12px auto;border-radius:6px}.meta-line{color:#aaa;font-size:13px;line-height:1.8;margin-bottom:12px}.review-options{display:grid;gap:8px;margin:14px 0;line-height:1.8}.photo-caption{font-size:12px;color:#999}.qnum{flex-basis:auto;min-width:38px;width:auto;padding:0 8px;border-radius:8px}.question-search{width:100%;padding:12px;background:#181818;color:#eee;font:inherit;border:1px solid #454545;border-radius:8px;margin:10px 0}.jump-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:15px 0}.jump-links a{color:#a8c8ff}.review-notice{line-height:1.85;color:#ffd19a;padding:14px;background:#2c2217;border-radius:8px;margin:16px 0}.source-list{overflow-wrap:anywhere}button:disabled{opacity:.55;cursor:default}.photo-caption a{color:#a8c8ff}
.chain-mech{margin-top:8px}.verdict{margin-top:8px;color:#fff;font-weight:700}.explain-list li.key-opt>b{color:var(--green)}.doubt{padding:13px 15px;border-radius:9px;border-left:3px solid #ff7373;background:#2a1717;color:#ffd6d6;overflow-wrap:anywhere}.explanation{grid-template-columns:minmax(0,1fr)}.explanation .table-wrap{margin-top:8px}.explanation table{min-width:0}.explanation table.cols-4{min-width:520px}.explanation table.cols-5{min-width:600px}.explanation th,.explanation td{padding:8px 10px;font-size:13px;vertical-align:top}
