/* 戰法與拆卡 — uses theme.css tokens */
#dismantle-tabs { margin-bottom: 18px; }
.dm-section { margin: 0 0 30px; display: grid; gap: 12px; }
.dm-input { height: 46px; max-width: 420px; width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.dm-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200, 55, 42, .14); }
.dm-card { background: var(--white); border: 1px solid #ececf0; border-radius: 20px; box-shadow: var(--shadow-sm); padding: 20px 22px; display: grid; gap: 12px; max-width: 860px; }
.dm-card.is-keep { box-shadow: 0 0 0 2px var(--good), var(--shadow-sm); }
.dm-card.is-cut { box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm); }
.dm-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.dm-head img { width: 96px; height: 120px; object-fit: cover; object-position: center 15%; border-radius: 14px; }
.dm-head strong { font-family: var(--display); font-size: 22px; display: block; }
.dm-head small { color: var(--muted); font-size: 13px; }
.dm-verdict { display: inline-block; margin: 8px 0 4px; font-weight: 750; font-size: 16px; padding: 4px 12px; border-radius: 980px; background: var(--tint); }
.dm-verdict.is-keep { background: #e7f4ec; color: var(--good); }
.dm-verdict.is-cut { background: var(--accent-soft); color: var(--accent); }
.dm-verdict.is-maybe { background: #fbf1df; color: #9a6b2f; }
.dm-why { margin: 0; font-size: 14px; color: var(--ink-soft); }
.dm-teach { border-top: 1px solid #f0f0f3; padding-top: 10px; display: grid; gap: 4px; font-size: 14px; }
.dm-teach p { margin: 0; line-height: 1.7; }
.dm-teach-head small, .dm-skill small { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.dm-text { color: var(--ink-soft); font-size: 13px; line-height: 1.7; margin: 0; }
.dm-link { background: none; padding: 0; color: var(--accent); font-weight: 650; font-size: inherit; }
.dm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dm-card h4 { margin: 6px 0 0; font-size: 15px; }
.dm-pairs, .dm-how, .dm-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dm-pairs li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; background: var(--tint); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.dm-tier { font-weight: 700; font-size: 12.5px; color: var(--ink-soft); min-width: 36px; }
.dm-how li, .dm-plan li { display: grid; gap: 1px; background: var(--tint); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.dm-how li.is-mine { background: #e7f4ec; }
.dm-how small, .dm-plan small { color: var(--muted); font-size: 12.5px; }
.dm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.dm-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; background: var(--white); border: 1px solid #ececf0; border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.dm-row img { width: 56px; height: 70px; object-fit: cover; object-position: center 15%; border-radius: 10px; }
.dm-row p { margin: 0; font-size: 14px; line-height: 1.6; }
.dm-row-head small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.dm-keep { margin: 0; font-size: 14px; }
.dm-catalog-title { font-family: var(--display); font-size: 22px; margin: 10px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .dm-card { padding: 16px; }
  .dm-head img { width: 72px; height: 90px; }
  .dm-list { grid-template-columns: 1fr; }
}
.dm-research { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.dm-limit { margin: 0; font-size: 14px; font-weight: 650; color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 6px 10px; }
