:root {
  --bg: #1a1f26; --panel: #222933; --raised: #2b3340; --line: #36404e; --line-soft: #2d3643;
  --ink: #e9edf2; --ink2: #aab4c0; --muted: #7d8896;
  --brass: #d8c48a; --brass-deep: #8f7a45;
  --lv0: #3f9be0; --lv1: #a04fe0; --lv2: #cf7c2a;
  --good: #57b98a; --bad: #e0736b;
  --num: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "MiSans", "Microsoft YaHei UI", sans-serif;
  --txt: "MiSans", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 14px/1.55 var(--txt); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding: 22px 28px 18px; border-bottom: 1px solid var(--line); }
.brand h1 { font-size: 30px; font-weight: 700; letter-spacing: .04em; line-height: 1.15; }
.brand p { color: var(--ink2); margin-top: 4px; }
.run { display: grid; grid-template-columns: minmax(180px, 320px) auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.status { color: var(--ink2); font-size: 13px; text-align: right; }
.bar { grid-column: 1; height: 3px; background: var(--line-soft); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .15s linear; }
.run .primary { grid-column: 2; grid-row: 1 / span 2; }
button { background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
button:hover { border-color: var(--muted); }
button.primary { background: var(--brass); color: #1d1a10; border-color: var(--brass); font-weight: 700; padding: 9px 20px; }
button.primary:hover { filter: brightness(1.08); }

.layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); align-items: start; }
aside { border-right: 1px solid var(--line); padding: 8px 0 40px; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
main { padding: 20px 28px 60px; display: grid; gap: 18px; min-width: 0; }
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  aside { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---- 参数面板 ---- */
details { border-bottom: 1px solid var(--line-soft); }
summary { list-style: none; cursor: pointer; padding: 12px 20px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font: 18px var(--num); }
details[open] > summary::after { content: "–"; }
summary small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 8px; margin-right: auto; }
.grp { padding: 2px 20px 16px; display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.fields label, .field { display: grid; gap: 3px; color: var(--ink2); font-size: 12px; }
.note { color: var(--muted); font-size: 12px; line-height: 1.5; }
input[type=number], input[type=text], select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 5px 7px;
  font-family: var(--num); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }
input[type=text] { font-family: var(--txt); }
input[type=number]:hover, select:hover { border-color: var(--muted); }
input[type=number]::-webkit-inner-spin-button { opacity: .35; }
table.form { width: 100%; border-collapse: collapse; font-size: 12px; }
table.form th { color: var(--muted); font-weight: 400; text-align: left; padding: 0 3px 4px; line-height: 1.3; vertical-align: bottom; }
table.form td { padding: 2px 3px; }
table.form td:first-child, table.form th:first-child { padding-left: 0; white-space: nowrap; color: var(--ink2); }
table.form input[type=number] { padding: 4px 5px; min-width: 0; }
.chip { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: baseline; }
.lv0 .chip, .chip.lv0 { background: var(--lv0); } .chip.lv1 { background: var(--lv1); } .chip.lv2 { background: var(--lv2); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { font-size: 12px; padding: 4px 9px; }
.presets button.on { border-color: var(--brass); color: var(--brass); }
.kgrid { display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; align-items: end; }
.kgrid .kb { height: 46px; display: flex; align-items: flex-end; }
.kgrid .kb i { display: block; width: 100%; background: var(--brass-deep); border-radius: 2px 2px 0 0; min-height: 1px; }
.kgrid input { padding: 3px 1px; text-align: center; font-size: 11px; -moz-appearance: textfield; }
.kgrid input::-webkit-inner-spin-button { display: none; }
.kgrid span { text-align: center; color: var(--muted); font: 11px var(--num); }
.radio { display: flex; gap: 6px; }
.radio label { flex: 1; border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; cursor: pointer; color: var(--ink2); font-size: 13px; }
.radio input { position: absolute; opacity: 0; }
.radio label:has(input:checked) { border-color: var(--brass); color: var(--ink); background: var(--raised); }
.radio label:has(input:focus-visible) { outline: 2px solid var(--brass); }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- 结果 ---- */
.block { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px; padding: 18px 20px 20px; min-width: 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head h2 { font-size: 17px; font-weight: 700; }
.hint { color: var(--muted); font-size: 12.5px; max-width: 70ch; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1500px) { .two { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1300px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tier { text-align: left; padding: 12px 14px 13px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 8px; }
.tier.on { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.tier h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; }
.tier h3 span { color: var(--muted); font-weight: 400; font-size: 12px; }
.tier .big { font: 600 24px/1.1 var(--num); font-variant-numeric: tabular-nums; }
.tier .big small { font: 400 12px var(--txt); color: var(--muted); margin-left: 4px; }
.tier .sub { color: var(--ink2); font-size: 12.5px; }
.strip { display: flex; gap: 2px; height: 18px; }
.strip i { display: flex; align-items: center; justify-content: center; border-radius: 3px; font: 600 11px var(--num); color: #fff; min-width: 3px; overflow: hidden; white-space: nowrap; font-style: normal; }
.strip .lv0, .rd.lv0 .tipc { background: var(--lv0); } .strip .lv1, .rd.lv1 .tipc { background: var(--lv1); } .strip .lv2, .rd.lv2 .tipc { background: var(--lv2); }
.target { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: var(--ink2); }
.target input[type=range] { flex: 1; min-width: 160px; accent-color: var(--brass); }
.target output { font: 600 18px var(--num); color: var(--ink); min-width: 56px; }

.brush { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.brush button { padding: 3px 10px; font: 600 13px var(--num); border-width: 2px; }
.brush .lv0.on { border-color: var(--lv0); } .brush .lv1.on { border-color: var(--lv1); } .brush .lv2.on { border-color: var(--lv2); }
.mag-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px 14px 10px; }
.mag { display: grid; gap: 3px; user-select: none; touch-action: none; }
.rd { position: relative; height: 86px; cursor: pointer; }
.rd .tipc { position: absolute; left: 14%; right: 14%; top: 0; height: 34px; border-radius: 50% 50% 14% 14% / 88% 88% 12% 12%; }
.rd .case { position: absolute; left: 0; right: 0; top: 30px; height: 34px; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, #7d6a3a, #e6d39b 42%, #c9b376 60%, #86713f); }
.rd .case::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -3px; height: 3px; background: #6b5a30; border-radius: 1px; }
.rd b { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 600 12px var(--num); color: var(--ink2); }
.rd:hover .case { filter: brightness(1.15); }
.rd.five::before { content: ""; position: absolute; right: -2px; top: 66px; bottom: 0; border-right: 1px solid var(--line); }
.mag-axis { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 8px; }
.mag-axis span:nth-child(2) { color: var(--ink); font-size: 13.5px; text-align: center; }

.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; margin: 14px 0; }
@media (max-width: 1300px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--panel); padding: 11px 13px; }
.tile span { color: var(--muted); font-size: 12px; display: block; }
.tile strong { font: 600 22px/1.25 var(--num); font-variant-numeric: tabular-nums; display: block; }
.tile em { font-style: normal; font-size: 12px; color: var(--ink2); }
.tile em.good { color: var(--good); } .tile em.bad { color: var(--bad); }

.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.data th { color: var(--muted); font-weight: 400; font-size: 12px; text-align: right; padding: 5px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--line-soft); font-family: var(--num); font-size: 14px; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; font-family: var(--txt); }
table.data.rows tbody tr { cursor: pointer; }
table.data.rows tbody tr:hover td { background: var(--raised); }
table.data.rows tr.on td { background: var(--raised); box-shadow: inset 0 1px 0 var(--brass), inset 0 -1px 0 var(--brass); }
table.data .strip { width: 300px; min-width: 200px; }
table.data td.seq { font-family: var(--txt); color: var(--ink2); font-size: 12.5px; }

.chart { position: relative; width: 100%; height: 340px; }
.chart.short { height: 220px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart text { fill: var(--muted); font: 11.5px var(--num); }
.chart text.lab { fill: var(--ink2); font: 12px var(--txt); }
.chart text.strong { fill: var(--ink); }
.chart .grid { stroke: var(--line-soft); stroke-width: 1; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink2); font-size: 12.5px; margin-bottom: 6px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.tip { position: fixed; z-index: 10; pointer-events: none; background: #11151a; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px;
  font-size: 12.5px; color: var(--ink2); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); max-width: 340px; }
.tip strong { color: var(--ink); font-weight: 600; }
.tip .strip { margin: 6px 0; width: 260px; height: 14px; }
.tip dl { display: grid; grid-template-columns: auto auto; gap: 1px 14px; margin: 0; }
.tip dd { margin: 0; text-align: right; color: var(--ink); font-family: var(--num); font-variant-numeric: tabular-nums; }
.foot { color: var(--muted); font-size: 12px; max-width: 110ch; }
.err { color: var(--bad); }
@media (prefers-reduced-motion: reduce) { .bar i { transition: none; } }
table.form input[type=number] { -moz-appearance: textfield; }
table.form input[type=number]::-webkit-inner-spin-button { display: none; }
table.form input[type=number] { padding: 4px 2px; text-align: center; font-size: 13px; }

/* ---- 参数面板：选择层 + 细调层 ---- */
aside { padding: 4px 0 40px; }
.sec { padding: 16px 20px 14px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 10px; }
.sec > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec h2 { font-size: 15px; font-weight: 700; white-space: nowrap; }
.sec .sum { color: var(--muted); font-size: 12px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choose { display: grid; gap: 8px; }
.glabel { color: var(--ink2); font-size: 12px; margin-top: 4px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { font-size: 13px; padding: 5px 11px; border-radius: 6px; background: var(--bg); color: var(--ink2); }
.opt:hover { color: var(--ink); }
.opt[data-act="dist"] { padding: 5px 8px; }
.opt.on { background: var(--brass); border-color: var(--brass); color: #1d1a10; font-weight: 700; }
.opts.guns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts.guns .opt { padding: 6px 2px; font-family: var(--num); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 4px 0 7px; color: var(--muted); margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--brass); font-weight: 700; }
.ammo-rows { display: grid; gap: 6px; }
.ammo-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 70px; align-items: center; gap: 8px; color: var(--ink2); font-size: 13px; }
.ammo-row select { font-family: var(--txt); font-size: 13px; padding: 5px 6px; }
.ammo-row em { font-style: normal; font-family: var(--num); text-align: right; color: var(--muted); }
.more { justify-self: start; background: none; border: 0; padding: 2px 0; color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 7px; }
.more:hover { color: var(--brass); }
.more::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.more[aria-expanded="true"] { color: var(--brass); }
.more[aria-expanded="true"]::before { transform: rotate(45deg) translate(-1px, -1px); }
.detail { display: grid; gap: 12px; padding: 12px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 8px; }
.detail[hidden] { display: none; }
.detail input[type=number], .detail input[type=text], .detail select { background: var(--panel); }
@media (prefers-reduced-motion: reduce) { .more::before { transition: none; } }

/* v0.3 */
.brand h1 small { font: 400 12px var(--num); color: var(--muted); margin-left: 6px; }
#goalTabs { margin-bottom: 4px; }
#goalTabs button { font-size: 14px; }
.target input[type=number] { width: 110px; font: 600 18px var(--num); padding: 4px 8px; }
#answer { margin-top: 14px; }
.answer-card { display: grid; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.answer-card.on { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.answer-card .strip { height: 22px; }
.answer-nums { display: grid; grid-template-columns: repeat(3, minmax(0, auto)) minmax(0, 1fr); gap: 8px 28px; align-items: end; }
.answer-nums span { display: block; color: var(--muted); font-size: 12px; }
.answer-nums strong { font: 600 26px/1.15 var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.answer-nums em { font-style: normal; color: var(--ink2); font-size: 13px; line-height: 1.5; display: block; }
.answer-card .sub { color: var(--ink2); font-size: 12.5px; }
.answer-none { color: var(--bad); padding: 12px 0 2px; }
table.data.rows .strip { width: 180px; min-width: 160px; }
.run .primary { white-space: nowrap; }
@media (max-width: 760px) {
  .answer-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer-nums .wide { grid-column: 1 / -1; }
  .answer-nums strong { font-size: 21px; }
}
@media (max-width: 600px) { .run { width: 100%; grid-template-columns: minmax(0, 1fr) auto; } }
.tier-base { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin: 14px 0 12px; color: var(--ink2); font-size: 13px; }
.tier-base .pcts { display: flex; align-items: center; gap: 6px; }
.tier-base .pcts input { width: 58px; padding: 3px 6px; font: 600 14px var(--num); }
.tier .vs { color: var(--muted); font-size: 12px; }
.tier .seq-line { color: var(--ink2); font-size: 12px; line-height: 1.45; }
.tier-base .pcts { flex-wrap: wrap; white-space: nowrap; }
.tier-base > span:first-child { white-space: nowrap; }

/* ---- 手机 ---- */
.mob-only, .param-toggle { display: none; }
.foot-wrap { border: 0; }
.foot-wrap > summary { display: none; }
@media (max-width: 760px) {
  body { font-size: 14px; }
  .top { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 8px 14px 10px; gap: 6px; align-items: center; }
  .brand h1 { font-size: 19px; letter-spacing: .02em; }
  .brand p { display: none; }
  .run { width: 100%; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 8px; }
  .status { text-align: left; font-size: 12px; line-height: 1.4; }
  .run .mob-only { display: block; grid-column: 2; grid-row: 1 / span 2; min-height: 40px; }
  .run .primary { grid-column: 3; padding: 9px 14px; min-height: 40px; }

  .layout { display: flex; flex-direction: column; }
  main { order: 1; padding: 12px 10px 24px; gap: 12px; }
  .param-toggle { order: 2; display: flex; align-items: center; gap: 10px; margin: 0 10px; padding: 12px 14px; min-height: 48px;
    background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px; text-align: left; }
  .param-toggle span { font-weight: 700; font-size: 15px; }
  .param-toggle em { font-style: normal; color: var(--muted); font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .param-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; }
  .params-open .param-toggle::after { transform: rotate(-135deg); margin-top: 4px; }
  aside { order: 3; border-bottom: 0; padding-bottom: 24px; }
  body:not(.params-open) aside { display: none; }
  .sec { padding: 14px; }
  .opts.guns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opt, .tabs button, .brush button { min-height: 40px; }
  .more { min-height: 36px; }
  input[type=number], input[type=text], select { font-size: 16px; }
  table.form input[type=number] { font-size: 16px; }

  .block { padding: 14px 12px 14px; border-radius: 8px; }
  .block-head { margin-bottom: 10px; gap: 6px; }
  .block-head h2 { font-size: 16px; }
  .hint { font-size: 12px; }

  .tabs { overflow-x: auto; scrollbar-width: none; gap: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
  .target { gap: 8px; }
  .target input[type=range] { flex-basis: 100%; height: 32px; }

  .tiers { grid-template-columns: 1fr; gap: 8px; }
  .tier { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h big" "sub sub" "vs vs" "strip strip"; align-items: baseline; gap: 4px 12px; padding: 11px 13px; }
  .tier h3 { grid-area: h; font-size: 16px; }
  .tier .big { grid-area: big; font-size: 21px; text-align: right; }
  .tier .sub { grid-area: sub; font-size: 13px; }
  .tier .vs { grid-area: vs; }
  .tier .strip { grid-area: strip; margin-top: 6px; }

  .brush { flex-wrap: wrap; width: 100%; }
  .brush span { flex-basis: 100%; }
  .brush button { flex: 1; font-size: 15px; }
  .mag-wrap { padding: 12px 8px 8px; }
  .mag { grid-template-columns: repeat(10, minmax(0, 1fr)) !important; row-gap: 10px; }
  .rd { height: 74px; }
  .rd .tipc { height: 28px; } .rd .case { top: 25px; height: 30px; }
  .rd.five::before { display: none; }
  .mag-axis { flex-wrap: wrap; }
  .mag-axis span:nth-child(2) { order: -1; flex-basis: 100%; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0; }
  .tile { padding: 9px 11px; }
  .tile strong { font-size: 19px; }

  .table-scroll { overflow: visible; }
  table.data, table.data tbody { display: block; }
  table.data thead { display: none; }
  table.data tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 10px 12px; margin-bottom: 8px;
    background: var(--bg); border: 1px solid var(--line-soft); border-radius: 8px; }
  table.data td { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; border: 0; font-size: 13.5px; text-align: right; white-space: normal; }
  table.data td::before { content: attr(data-label); color: var(--muted); font: 12px var(--txt); text-align: left; }
  table.data td:first-child { grid-column: 1 / -1; display: block; font-size: 14px; font-weight: 700; padding-bottom: 4px; }
  table.data td:first-child::before { display: none; }
  #armorTable td:nth-child(n+4) { font-size: 12.5px; }
  table.data.rows td:first-child { font-weight: 400; }
  table.data.rows td:first-child .strip, table.data .strip { width: 100%; min-width: 0; height: 20px; }
  table.data.rows td.seq, table.data.rows td:nth-child(n+6) { display: none; }
  table.data.rows tr { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px 10px; margin-bottom: 6px; }
  table.data.rows td { display: block; text-align: left; padding: 0; }
  table.data.rows td::before { display: block; font-size: 11px; }
  table.data.rows td:first-child { padding-bottom: 6px; }
  table.data.rows td:first-child::before { display: none; }
  table.data.rows tr.on { border-color: var(--brass); }
  table.data.rows tr.on td { background: none; box-shadow: none; }

  .chart { height: 240px; touch-action: pan-y; }
  .chart.short { height: 180px; }
  .two { gap: 12px; }
  .foldable .block-head { cursor: pointer; margin-bottom: 0; }
  .foldable .block-head h2::after { content: "展开"; margin-left: 10px; color: var(--muted); font: 400 12.5px var(--txt); }
  .foldable.open .block-head h2::after { content: "收起"; }
  .foldable .hint { display: none; }
  .foldable.open .hint { display: block; }
  .foldable.open .block-head { margin-bottom: 10px; }
  .foldable:not(.open) > :not(.block-head) { display: none; }

  .tip { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; max-width: none; }
  .tip .strip { width: 100%; }
  .foot-wrap > summary { display: flex; padding: 10px 2px; font-size: 14px; color: var(--ink2); }
}
