.harvest-arcana-synergy-page .entry-header,
.harvest-arcana-synergy-page .page-header,
.harvest-arcana-synergy-page .page-hero.compact-hero,
.harvest-arcana-synergy-page .post-navigation,
.harvest-arcana-synergy-page .comments-area,
.harvest-arcana-synergy-page .widget-area {
  display: none;
}

.harvest-arcana-synergy-page .content-area,
.harvest-arcana-synergy-page .site-main,
.harvest-arcana-synergy-page .entry-content {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

.ha-synergy-catalog {
  --ha-ink: #f8f2df;
  --ha-muted: #c9c3b3;
  --ha-night: #0c1220;
  --ha-panel: #151d2c;
  --ha-panel-soft: #1d2738;
  --ha-line: rgba(218, 184, 108, 0.28);
  --ha-gold: #d9b86c;
  --ha-gold-bright: #f2d58d;
  --ha-focus: #9fd8ff;
  position: relative;
  left: 50%;
  width: min(1320px, calc(100vw - 32px));
  margin: 32px 0 56px;
  transform: translateX(-50%);
  color: var(--ha-ink);
  font-size: 16px;
  line-height: 1.5;
}

.ha-synergy-catalog *,
.ha-synergy-catalog *::before,
.ha-synergy-catalog *::after {
  box-sizing: border-box;
}

.ha-catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  margin-bottom: 14px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--ha-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(99, 131, 111, 0.28), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(201, 155, 70, 0.18), transparent 32%),
    linear-gradient(145deg, #111a2a, #090e19 72%);
  box-shadow: 0 18px 44px rgba(4, 8, 15, 0.22);
}

.ha-catalog-hero::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(217, 184, 108, 0.12);
  border-radius: 15px;
  pointer-events: none;
  content: "";
}

.ha-catalog-hero__copy,
.ha-language-form {
  position: relative;
  z-index: 1;
}

.ha-synergy-catalog .ha-catalog-eyebrow {
  margin: 0 0 6px;
  color: var(--ha-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ha-synergy-catalog .ha-catalog-hero h1 {
  margin: 0;
  color: #fff7df;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 600;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}

.ha-synergy-catalog .ha-catalog-hero__copy > p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--ha-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}

.ha-language-form {
  min-width: min(250px, 100%);
}

.ha-synergy-catalog .ha-language-form label {
  display: block;
  margin: 0 0 6px;
  color: var(--ha-gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ha-language-form > div {
  display: flex;
  gap: 8px;
}

.ha-language-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 38px 8px 13px;
  border: 1px solid rgba(248, 242, 223, 0.24);
  border-radius: 10px;
  outline: none;
  background: rgba(7, 12, 21, 0.82);
  color: var(--ha-ink);
}

.ha-language-form button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--ha-line);
  border-radius: 9px;
  background: rgba(217, 184, 108, 0.12);
  color: var(--ha-gold-bright);
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.ha-js .ha-language-submit {
  display: none;
}

.ha-synergy-catalog :where(a, button, select):focus-visible {
  outline: 3px solid var(--ha-focus);
  outline-offset: 3px;
}

.ha-synergy-grid {
  column-count: 2;
  column-gap: 14px;
}

.ha-synergy-card {
  display: inline-block;
  width: 100%;
  min-width: 0;
  margin: 0 0 14px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--ha-line);
  border-radius: 14px;
  background: var(--ha-panel);
  color: var(--ha-ink);
  box-shadow: 0 10px 24px rgba(5, 9, 16, 0.14);
}

.ha-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(217, 184, 108, 0.14);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.035), transparent);
}

.ha-category-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ha-category-badge--season { color: #a9d59f; }
.ha-category-badge--growth { color: #f0c879; }
.ha-category-badge--combat { color: #ee9a86; }
.ha-category-badge--skill { color: #b7a6e8; }

.ha-card-title {
  min-width: 0;
  color: #fff8e7;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ha-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px 12px;
}

.ha-synergy-catalog .ha-card-description,
.ha-synergy-catalog .ha-skill-overview,
.ha-synergy-catalog .ha-section-label,
.ha-synergy-catalog .ha-tier-requirement,
.ha-synergy-catalog .ha-tier-effects-label {
  margin: 0;
}

.ha-card-description {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
  color: var(--ha-muted);
  line-height: 1.45;
}

.ha-skill-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
  color: var(--ha-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ha-skill-overview > strong {
  color: #eee8ff;
  font-size: 0.9rem;
}

.ha-skill-fixed-effect {
  color: var(--ha-gold-bright);
  font-size: 0.8rem;
}

.ha-skill-cooldown {
  color: #c8bee6;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ha-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: flex-start;
}

.ha-section-label,
.ha-tier-effects-label {
  color: var(--ha-gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ha-targets > .ha-section-label {
  padding-top: 2px;
}

.ha-synergy-catalog .ha-targets ul {
  display: flex;
  flex: 1 1 260px;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ha-targets li {
  max-width: 100%;
  margin: 0;
  padding: 2px 8px;
  border: 1px solid rgba(128, 185, 148, 0.26);
  border-radius: 999px;
  background: rgba(128, 185, 148, 0.09);
  color: #cae8d4;
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ha-tier-list {
  display: grid;
  gap: 6px;
}

.ha-tier-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(248, 242, 223, 0.09);
  border-radius: 9px;
  background: var(--ha-panel-soft);
}

.ha-tier-meta {
  display: flex;
  gap: 9px;
  align-items: baseline;
  padding-right: 10px;
  border-right: 1px solid rgba(217, 184, 108, 0.16);
}

.ha-tier-label {
  color: var(--ha-gold-bright);
  font-size: 1.05rem;
  line-height: 1.2;
}

.ha-tier-requirement {
  display: flex;
  gap: 4px;
  align-items: baseline;
  color: var(--ha-muted);
  font-size: 0.67rem;
  line-height: 1.3;
  white-space: nowrap;
}

.ha-tier-requirement strong {
  color: #fff;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.ha-tier-effects {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.ha-synergy-catalog .ha-tier-effects ul {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding-left: 1.05em;
}

.ha-tier-effects li {
  margin: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ha-tier-skill {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
}

.ha-tier-skill > strong {
  color: #eee8ff;
  white-space: nowrap;
}

.ha-tier-skill > span {
  color: var(--ha-gold-bright);
}

.ha-catalog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--ha-night);
  color: var(--ha-muted);
}

.ha-synergy-catalog .ha-catalog-footer p {
  margin: 0;
}

.ha-catalog-footer code {
  color: var(--ha-gold-bright);
  font-size: 0.82rem;
}

.ha-catalog-footer a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--ha-gold);
  border-radius: 9px;
  color: var(--ha-gold-bright);
  font-weight: 800;
  text-decoration: none;
}

.ha-catalog-footer a:hover {
  background: var(--ha-gold);
  color: var(--ha-night);
}

@media (max-width: 880px) {
  .ha-catalog-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .ha-language-form {
    width: min(420px, 100%);
  }

  .ha-synergy-grid {
    column-count: 1;
  }
}

@media (max-width: 560px) {
  .ha-synergy-catalog {
    width: min(100% - 20px, 1320px);
    margin-top: 20px;
  }

  .ha-catalog-hero {
    gap: 18px;
    padding: 24px 18px;
    border-radius: 17px;
  }

  .ha-card-heading {
    gap: 8px;
    padding: 9px 11px;
  }

  .ha-category-badge {
    padding-inline: 7px;
  }

  .ha-card-body {
    padding: 9px 11px 11px;
  }

  .ha-targets {
    gap: 5px 8px;
  }

  .ha-synergy-catalog .ha-targets ul {
    flex-basis: 220px;
  }

  .ha-tier-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .ha-tier-meta {
    justify-content: space-between;
    padding: 0 0 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(217, 184, 108, 0.16);
  }

  .ha-tier-effects {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .ha-catalog-footer {
    align-items: stretch;
  }

  .ha-catalog-footer a {
    justify-content: center;
  }
}
