/* ─── PASTE THIS ONCE IN: Appearance → Customize → Additional CSS ─── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

.gachi-synopsis {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  max-width: 860px;
}

.gachi-synopsis h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #5855d6 0%, #7b78e8 55%, #a8a5f0 80%, transparent 100%);
  margin: 3rem 0 1.4rem;
  padding: 0.6rem 2rem 0.6rem 1.1rem;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  position: relative;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 4px solid #3d35b5;
}

.gachi-synopsis h3::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #c5bfff, transparent);
  position: absolute;
  top: -1.3rem;
  left: 0;
}

.gachi-synopsis h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 1.8rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e8e6ff;
}

.gachi-synopsis p { margin: 0 0 1rem; color: #2c2c2c; }
.gachi-synopsis strong { color: #1a1a1a; font-weight: 600; }
.gachi-synopsis em { font-style: italic; color: #3a3a3a; }

.gachi-synopsis ul { margin: 0.5rem 0 1.2rem 1.2rem; padding: 0; }
.gachi-synopsis ul li { margin-bottom: 0.5rem; padding-left: 0.3rem; line-height: 1.7; }

/* ─── IMAGES ─── */
.gachi-synopsis figure.wiki-img-right {
  float: right;
  margin: 0 0 1.2rem 1.6rem;
  padding: 6px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gachi-synopsis figure.wiki-img-right img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #e8e8e8;
  min-height: 160px;
}

.gachi-synopsis .wiki-clear { clear: both; display: block; height: 0; }

/* ─── FIGHT META BADGES ─── */
.gachi-synopsis .fight-meta { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.gachi-synopsis .fight-meta span { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.02em; }
.gachi-synopsis .fight-meta .fighters { background: #ede9ff; color: #3d35b5; border: 1px solid #c5bfff; }
.gachi-synopsis .fight-meta .outcome  { background: #fff4e5; color: #854d0e; border: 1px solid #fcd99b; }
.gachi-synopsis .fight-meta .chapters { background: #f0faf5; color: #166534; border: 1px solid #a7f3d0; }

/* ─── MYSTERY BLOCKS ─── */
.gachi-synopsis .mystery-block { background: #fafafa; border-left: 3px solid #5855d6; padding: 0.8rem 1rem; margin: 0 0 1rem; border-radius: 0 6px 6px 0; }
.gachi-synopsis .mystery-block h4 { margin: 0 0 0.4rem; text-transform: none; font-size: 0.95rem; letter-spacing: 0; color: #3d35b5; border-bottom: none; padding-bottom: 0; }
.gachi-synopsis .mystery-block p { margin: 0; font-size: 0.95rem; }

/* ─── WATCHMAN TABLE ─── */
.gachi-synopsis .watchman-table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.4rem; font-family: 'Inter', sans-serif; font-size: 0.88rem; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.gachi-synopsis .watchman-table thead tr { background: #f0eeff; }
.gachi-synopsis .watchman-table thead th { padding: 9px 14px; text-align: left; font-weight: 600; color: #3d35b5; border-bottom: 2px solid #c5bfff; }
.gachi-synopsis .watchman-table tbody tr { border-bottom: 1px solid #eeeeee; background: #fff; }
.gachi-synopsis .watchman-table tbody tr:nth-child(even) { background: #fafafa; }
.gachi-synopsis .watchman-table tbody td { padding: 8px 14px; color: #2c2c2c; vertical-align: top; }
.gachi-synopsis .watchman-table tbody td:first-child { font-weight: 600; color: #1a1a1a; white-space: nowrap; }

/* ─── FACTION CARDS ─── */
.gachi-synopsis .faction-card { border: 1px solid #e8e8e8; border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.gachi-synopsis .faction-card h4 { margin: 0 0 0.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: #3d35b5; border-bottom: 1px solid #e8e6ff; padding-bottom: 0.4rem; }
.gachi-synopsis .faction-card p,
.gachi-synopsis .faction-card ul { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .gachi-synopsis figure.wiki-img-right { float: none; margin: 0 auto 1.2rem; max-width: 100%; }
  .gachi-synopsis h3 { font-size: 1rem; }
  .gachi-synopsis .watchman-table { font-size: 0.8rem; }
}
