/* ============================================
   Football Strategy Club - Tactics Report Skin
   (offense/defense concept reports theme override)
   ============================================ */

.tactics-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* ---------- TOC ---------- */
.tactics-body nav.toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 0 0 44px;
}
.tactics-body nav.toc h2 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 600;
}
.tactics-body nav.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.tactics-body nav.toc li { margin-bottom: 6px; break-inside: avoid; }
.tactics-body nav.toc a { color: var(--text-dim); }
.tactics-body nav.toc a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Concept card ---------- */
.tactics-body section.concept {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 32px;
  margin-bottom: 32px;
}
.tactics-body section.concept h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-transform: none;
  color: var(--text);
}
.tactics-body section.concept h2 .en {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.tactics-body section.concept .formation {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-dim);
  border-radius: 20px;
  padding: 3px 12px;
  margin: 10px 0 16px;
  letter-spacing: 0.02em;
}
.tactics-body section.concept p.summary {
  margin: 0 0 18px;
  color: #d9dbd4;
  font-size: 0.96rem;
}

/* ---------- Diagram ---------- */
.tactics-body .diagram-box {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg);
  padding: 10px;
}
.tactics-body .diagram-box svg { display: block; width: 100%; height: auto; border-radius: 2px; }

.tactics-body .diagram-zoom-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--accent);
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.tactics-body .diagram-zoom-btn:hover {
  opacity: 1;
  background: var(--accent);
  color: #06110a;
}
.tactics-body .diagram-zoom-btn svg { width: 16px; height: 16px; display: block; }

/* ---------- Route / assignment table ---------- */
.tactics-body table.routes {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 0.88rem;
}
.tactics-body table.routes th {
  text-align: left;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg);
}
.tactics-body table.routes td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: #d9dbd4;
}
.tactics-body table.routes tr:last-child td { border-bottom: none; }

.tactics-body .swatch {
  display: inline-block;
  width: 22px; height: 4px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}
.tactics-body .swatch.swatch-block {
  width: 14px; height: 14px;
  border-radius: 3px;
}

/* ---------- Callouts ---------- */
.tactics-body .callout {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-top: 10px;
  color: var(--text-dim);
}
.tactics-body .callout b {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.tactics-body .callout.read { border-left-color: var(--flag); }
.tactics-body .callout.read b { color: var(--flag); }
.tactics-body .callout.vs { border-left-color: var(--accent); }
.tactics-body .callout.vs b { color: var(--accent); }
.tactics-body .callout.counter { border-left-color: #e57373; }
.tactics-body .callout.counter b { color: #e57373; }

/* ---------- Report note ---------- */
.tactics-body .report-note {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .tactics-body nav.toc ol { columns: 1; }
  .tactics-body section.concept { padding: 22px 20px; }
}
