@import url("./guide-index.css");

body.knowledge-card-page {
  color: #201a2f;
}

.knowledge-card-page main {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.knowledge-page-hero {
  position: relative;
  z-index: 1;
  margin: 18px 0 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(71, 52, 97, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(71, 52, 97, 0.12);
}

.knowledge-page-hero--flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(26px, 5vw, 48px);
  background:
    radial-gradient(circle at 84% 16%, rgba(36, 169, 127, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92));
}

.knowledge-page-hero__copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.knowledge-page-hero__eyebrow {
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3db;
  color: #8a5a12;
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
}

.knowledge-page-hero h1 {
  margin: 0;
  color: #241b33;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.knowledge-page-hero__lead,
.knowledge-page-hero > p:last-of-type {
  max-width: 760px;
  margin: 0;
  color: #5e536d;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.8;
}

.knowledge-page-hero > p:last-of-type {
  margin-top: 16px;
}

.knowledge-page-hero .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-page-hero .tag-list li {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f7f2ff;
  color: #624a85;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.knowledge-page-hero__flow {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(71, 52, 97, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.knowledge-page-hero__flow h2 {
  margin: 0;
  color: #241b33;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1.3;
}

.knowledge-page-hero__steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-page-hero__steps li {
  min-width: 0;
}

.knowledge-page-hero__steps a,
.knowledge-page-hero__steps li:not(:has(a)) {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(71, 52, 97, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.knowledge-page-hero__steps li {
  padding: 0;
  border: 0;
  background: transparent;
}

.knowledge-page-hero__steps a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.knowledge-page-hero__steps a:hover {
  border-color: rgba(245, 184, 75, 0.38);
  box-shadow: 0 10px 22px rgba(71, 52, 97, 0.08);
  transform: translateY(-1px);
}

.knowledge-page-hero__steps a:focus-visible {
  outline: 3px solid rgba(49, 152, 255, 0.34);
  outline-offset: 3px;
}

.knowledge-page-hero__steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #26324f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
}

.knowledge-page-hero__steps span {
  min-width: 0;
  color: #251b3d;
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.25;
}

.knowledge-page-hero--compact {
  max-width: 900px;
  margin-inline: auto;
}

.knowledge-page-hero--image {
  display: grid;
  align-content: end;
  min-height: clamp(300px, 38vw, 430px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 52px);
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(90deg, rgba(20, 18, 33, 0.86) 0%, rgba(30, 25, 44, 0.62) 42%, rgba(30, 25, 44, 0.12) 100%),
    linear-gradient(0deg, rgba(20, 18, 33, 0.58), rgba(20, 18, 33, 0.08)),
    var(--knowledge-hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 24px 62px rgba(30, 25, 44, 0.22);
}

.knowledge-page-hero--image .knowledge-page-hero__eyebrow {
  background: rgba(255, 255, 255, 0.88);
  color: #3b2b54;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.knowledge-page-hero--image h1 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(2.05rem, 7vw, 4rem);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.knowledge-page-hero--image > p:last-of-type {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.knowledge-card-viewer-page .knowledge-card-list--single {
  max-width: 900px;
  margin-inline: auto;
}

.knowledge-card-breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 18px auto 12px;
}

.knowledge-card-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5c4f70;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(71, 52, 97, 0.08);
}

.knowledge-card-index-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.knowledge-card-index-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(71, 52, 97, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #201a2f;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(71, 52, 97, 0.08);
}

.knowledge-card-index-item > img {
  grid-row: span 3;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 22px rgba(71, 52, 97, 0.14);
}

.knowledge-card-index-item span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f7f2ff;
  color: #7252a8;
  font-size: 0.76rem;
  font-weight: 900;
}

.knowledge-card-index-item strong {
  font-size: 1.18rem;
}

.knowledge-card-index-item small {
  color: #665b74;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.knowledge-guide-index-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.knowledge-guide-index-item {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(71, 52, 97, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 16%, rgba(36, 169, 127, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.92);
  color: #201a2f;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(71, 52, 97, 0.09);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.knowledge-guide-index-item:hover {
  border-color: rgba(245, 184, 75, 0.42);
  box-shadow: 0 20px 46px rgba(71, 52, 97, 0.12);
  transform: translateY(-2px);
}

.knowledge-guide-index-item:focus-visible {
  outline: 3px solid rgba(49, 152, 255, 0.34);
  outline-offset: 4px;
}

.knowledge-guide-index-item__eyebrow {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3db;
  color: #8a5a12;
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1;
}

.knowledge-guide-index-item strong {
  color: #211a32;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 1000;
  line-height: 1.22;
}

.knowledge-guide-index-item small {
  max-width: 680px;
  color: #5e536d;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.7;
}

.knowledge-guide-index-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.knowledge-guide-index-item__meta .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-guide-index-item__meta .tag-list li,
.knowledge-guide-index-item__meta em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f2ff;
  color: #624a85;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.knowledge-guide-index-item__meta em {
  background: #eefaf6;
  color: #147a62;
}

.knowledge-guide-index-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 20px auto 0;
}

.knowledge-guide-index-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(71, 52, 97, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #5c4f70;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(71, 52, 97, 0.08);
}

.knowledge-card-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.knowledge-card-list--stepped {
  gap: 30px;
}

.knowledge-card-list--stepped::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 21px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 184, 75, 0.32), rgba(36, 169, 127, 0.32));
}

.knowledge-card-shell {
  position: relative;
  scroll-margin-top: 24px;
}

.knowledge-card-shell--stepped {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.knowledge-card-shell--stepped > :not(.knowledge-card-step) {
  grid-column: 2;
}

.knowledge-card-step {
  position: sticky;
  top: 76px;
  z-index: 3;
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 3;
  justify-self: center;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 28px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #26324f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(38, 50, 79, 0.18);
  font-weight: 1000;
  line-height: 1;
}

.knowledge-card-step b {
  font-size: 0.94rem;
}

.knowledge-card-step span {
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
}

.knowledge-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.knowledge-card-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #15151f;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(21, 21, 31, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.knowledge-card-share:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 21, 31, 0.2);
}

.knowledge-card-share--image {
  background: #fff;
  color: #302640;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.12), 0 10px 22px rgba(71, 52, 97, 0.08);
}

.knowledge-card-share--image:hover {
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.16), 0 14px 28px rgba(71, 52, 97, 0.12);
}

.knowledge-card-share:focus-visible {
  outline: 3px solid rgba(49, 152, 255, 0.34);
  outline-offset: 3px;
}

.knowledge-card-share__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.knowledge-card-share__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.knowledge-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(71, 52, 97, 0.12);
}

.knowledge-card__header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.knowledge-card__kicker {
  width: fit-content;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff0d2;
  color: #9b5c00;
  font-size: 0.78rem;
  font-weight: 900;
}

.knowledge-card__title {
  margin: 0;
  color: #1f1730;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.knowledge-card__title-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.knowledge-card__icon {
  flex: 0 0 auto;
  width: clamp(48px, 8vw, 68px);
  height: clamp(48px, 8vw, 68px);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 24px rgba(71, 52, 97, 0.14);
}

.knowledge-card__summary {
  max-width: 760px;
  margin: 0;
  color: #514760;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
}

.knowledge-card__related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  padding: 0;
  color: #6b6078;
  font-size: 0.86rem;
  font-weight: 800;
}

.knowledge-card__related a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(120, 216, 193, 0.18);
  color: #0f766e;
  text-decoration: none;
}

.knowledge-card-extra {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(71, 52, 97, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(71, 52, 97, 0.08);
}

.knowledge-card__seo {
  display: grid;
  gap: 10px;
  color: #2c243e;
  font-weight: 700;
  line-height: 1.85;
}

.knowledge-card__seo p {
  margin: 0;
}

.item-focus-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 22px);
  align-items: stretch;
}

.item-focus-side {
  position: relative;
  display: grid;
  grid-template-rows: auto 170px 60px auto;
  gap: 18px 14px;
  align-content: start;
  justify-items: center;
  min-height: 280px;
  padding: 22px;
  border-radius: 20px;
  text-align: center;
}

.item-focus-side--split {
  background: linear-gradient(145deg, #fff4f5, #f1f3f7);
}

.item-focus-side--stack {
  background: linear-gradient(145deg, #edfff8, #fff9e8);
  box-shadow: inset 0 0 0 2px rgba(120, 216, 193, 0.28), 0 16px 36px rgba(245, 184, 75, 0.14);
}

.item-focus-label {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #6a6077;
  font-size: 0.78rem;
  font-weight: 900;
}

.item-focus-units,
.item-focus-carry {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: center;
  align-self: end;
  width: 100%;
}

.item-focus-damage-card {
  display: grid;
  grid-template-rows: 92px 24px 32px;
  gap: 8px;
  justify-items: center;
  align-items: center;
  min-width: 94px;
  padding: 10px 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.item-focus-damage-card--carry {
  min-width: 118px;
  background: rgba(255, 249, 222, 0.78);
  box-shadow: inset 0 0 0 1px rgba(245, 184, 75, 0.24);
}

.item-focus-damage-card .item-focus-unit {
  align-self: end;
}

.item-focus-damage-card--plain {
  opacity: 0.88;
}

.item-focus-damage-math {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #6a6077;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
}

.item-focus-damage-card strong {
  color: #211932;
  font-size: 1.55rem;
  line-height: 1;
}

.item-focus-damage-card--carry strong {
  color: #9b5c00;
  font-size: 1.9rem;
}

.item-focus-unit {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ede8f8, #ffffff);
  color: #473461;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(71, 52, 97, 0.16);
}

.item-focus-unit > img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.item-focus-unit__items {
  position: absolute;
  left: 50%;
  bottom: -10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #786b8e;
  font-size: 0.56rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.item-focus-unit__items img {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.item-focus-unit__items--empty {
  min-width: 42px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.9);
  color: #9a91a8;
}

.item-focus-unit--carry {
  width: 92px;
  height: 92px;
  background: linear-gradient(145deg, #fff7c7, #fff);
  color: #8c5200;
  box-shadow: 0 16px 34px rgba(245, 184, 75, 0.34);
}

.item-focus-unit--carry .item-focus-unit__items {
  color: #8c5200;
}

.item-focus-unit--carry .item-focus-unit__items img {
  width: 25px;
  height: 25px;
}

.item-focus-formula {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin: 4px 0 0;
  color: #211932;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.item-focus-formula--total {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 0;
  align-self: center;
  gap: 7px;
  min-height: 60px;
}

.item-focus-formula em {
  position: relative;
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  background: #ffffff;
  color: #1f1730;
  font-style: normal;
  box-shadow: 0 8px 20px rgba(71, 52, 97, 0.1);
}

.item-focus-side--stack .item-focus-formula em {
  background: #ffe899;
  color: #744700;
}

.item-focus-formula em.knowledge-burst,
.item-focus-side--stack .item-focus-formula em.knowledge-burst {
  padding: 18px 32px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.knowledge-burst {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 78px;
  padding: 18px 32px;
  border-radius: 0;
  overflow: visible;
  background: none;
  color: #5d3300;
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(245, 184, 75, 0.28));
  transform: rotate(-2deg);
}

.knowledge-burst::after,
.knowledge-burst::before {
  content: "";
  position: absolute;
  clip-path: polygon(
    50% 0%,
    58% 17%,
    73% 7%,
    74% 25%,
    93% 22%,
    82% 39%,
    100% 50%,
    82% 61%,
    93% 78%,
    74% 75%,
    73% 93%,
    58% 83%,
    50% 100%,
    42% 83%,
    27% 93%,
    26% 75%,
    7% 78%,
    18% 61%,
    0% 50%,
    18% 39%,
    7% 22%,
    26% 25%,
    27% 7%,
    42% 17%
  );
}

.knowledge-burst::before {
  inset: -10px;
  z-index: -2;
  background: #ffd35d;
}

.knowledge-burst::after {
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #ffe05a, #ffb72e 62%, #ff8c3d);
}

.item-focus-note {
  margin: 0;
  color: #554b63;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.7;
}

.item-focus-arrow {
  align-self: center;
  color: #f5b84b;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-shadow: 0 8px 22px rgba(245, 184, 75, 0.36);
}

.knowledge-card-point {
  display: grid;
  gap: 9px;
  align-items: start;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff8de;
  color: #332819;
  font-weight: 900;
  line-height: 1.7;
}

.knowledge-card-point__label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5b84b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
}

.item-focus-conclusion p {
  margin: 0;
}

.knowledge-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.knowledge-compare--with-separator {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.knowledge-compare__side {
  display: grid;
  grid-template-rows: auto auto minmax(72px, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.08);
}

.knowledge-compare__side--no-result {
  grid-template-rows: auto minmax(72px, 1fr);
}

.knowledge-compare__side--red,
.knowledge-compare__side--bad {
  background: linear-gradient(135deg, #fff4f5, #f5f4f7);
}

.knowledge-compare__side--green,
.knowledge-compare__side--good {
  background: linear-gradient(135deg, #edfff8, #fff9e8);
}

.knowledge-compare__label {
  align-self: start;
  justify-self: start;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1;
}

.knowledge-compare__side--red .knowledge-compare__label,
.knowledge-compare__side--bad .knowledge-compare__label {
  background: #f05a64;
}

.knowledge-compare__side--green .knowledge-compare__label,
.knowledge-compare__side--good .knowledge-compare__label {
  background: #24a97f;
}

.knowledge-compare__result {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin: 0;
  color: #514760;
  font-weight: 1000;
  line-height: 1.5;
  text-align: center;
}

.knowledge-compare__side--red .knowledge-compare__result,
.knowledge-compare__side--bad .knowledge-compare__result {
  color: #9b3340;
}

.knowledge-compare__side--green .knowledge-compare__result,
.knowledge-compare__side--good .knowledge-compare__result {
  color: #0f766e;
}

.knowledge-compare__arrow {
  align-self: center;
  color: #f5b84b;
  font-size: 2.1rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 7px 15px rgba(245, 184, 75, 0.2);
}

.knowledge-card--three-core-items {
  background:
    radial-gradient(circle at top right, rgba(120, 216, 193, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.94);
}

.core-item-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.core-item-role {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.1), 0 12px 28px rgba(71, 52, 97, 0.08);
}

.core-item-role--mana {
  grid-column: 1 / -1;
}

.core-item-role--mana .core-item-group-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.core-item-role--wound .core-item-group-list,
.core-item-role--shred .core-item-group-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.core-item-role__label {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.core-item-role--mana .core-item-role__label { background: #3198ff; }
.core-item-role--wound .core-item-role__label { background: #ff6a4a; }
.core-item-role--shred .core-item-role__label { background: #8f6cf5; }

.core-item-role h3 {
  margin: 0;
  color: #201a2f;
  font-size: 1.18rem;
}

.core-item-role p {
  margin: 0;
  color: #514760;
  font-weight: 700;
  line-height: 1.7;
}

.core-item-role dl,
.core-item-role dd {
  margin: 0;
}

.core-item-role dl {
  display: grid;
  gap: 10px;
}

.core-item-role dt {
  margin-bottom: 5px;
  color: #8a7d9b;
  font-size: 0.78rem;
  font-weight: 900;
}

.core-item-pair-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.core-item-role li,
.core-item-role dd {
  color: #2d2445;
  font-weight: 900;
}

.core-item-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(72px, auto);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: #f9f7ff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.08);
  font-size: 0.82rem;
}

.core-item-pair__item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.core-item-pair__item img,
.core-item-pair__text-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(45, 36, 69, 0.14);
}

.core-item-pair__text-icon {
  display: grid;
  place-items: center;
  color: #a64b20;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.core-item-pair__item b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.core-item-pair__arrow {
  color: #b6a8c8;
  font-weight: 1000;
}

.core-item-pair__holder {
  justify-self: end;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1ecff;
  color: #4d3c7c;
  font-size: 0.76rem;
  white-space: nowrap;
}

.core-item-pair__holder--carry { background: #e9f5ff; color: #146aa8; }
.core-item-pair__holder--tank { background: #e7f8ff; color: #17677c; }
.core-item-pair__holder--multi { background: #fff0e8; color: #b24c21; }

.core-item-group-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.core-item-group {
  display: grid;
  gap: 7px;
  padding: 9px;
  border-radius: 16px;
  background: #f9f7ff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.08);
}

.core-item-group--caster,
.core-item-group--carry {
  background: linear-gradient(135deg, #eef8ff, #ffffff);
}

.core-item-group--marksman,
.core-item-group--multi {
  background: linear-gradient(135deg, #fff3e8, #ffffff);
}

.core-item-group--fighter,
.core-item-group--tank {
  background: linear-gradient(135deg, #eafffb, #ffffff);
}

.core-item-group__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.core-item-group__icons .core-item-pair__item {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 62px;
  padding: 7px 7px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(45, 36, 69, 0.09);
}

.core-item-group__icons .core-item-pair__item img,
.core-item-group__icons .core-item-pair__text-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.core-item-group__icons .core-item-pair__item b {
  max-width: 72px;
  color: #2d2445;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.core-item-group__holder {
  justify-self: center;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #2d2445;
  font-size: 0.82rem;
  font-weight: 1000;
  box-shadow: 0 5px 12px rgba(45, 36, 69, 0.08);
}

.core-item-effect-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.core-item-effect-tag--sunder {
  background: #f08a30;
}

.core-item-effect-tag--shred {
  background: #6f7df3;
}

.core-item-effect-tag--burn {
  background: #ff8a32;
}

.core-item-effect-tag--wound {
  background: #f05a64;
}

.core-item-effect-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 0 2px;
  background: transparent;
  color: #514760;
  font-size: 0.72rem;
  line-height: 1.3;
  box-shadow: none;
}

.core-item-effect-legend b {
  margin-right: 6px;
  font-weight: 900;
}

.core-item-use-map {
  display: grid;
  gap: 9px;
}

.core-item-use {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-areas:
    "field items"
    "role role";
  gap: 8px 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.core-item-use--tank {
  background: linear-gradient(135deg, #eafaff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(77, 185, 213, 0.18);
}

.core-item-use--multi {
  background: linear-gradient(135deg, #fff1e9, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(255, 117, 69, 0.18);
}

.core-item-use__field {
  grid-area: field;
  position: relative;
  height: 66px;
  border-radius: 14px;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3)),
    radial-gradient(circle at center, rgba(126, 224, 195, 0.28), transparent 58%);
}

.core-item-use__unit,
.core-item-use__target {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.core-item-use__unit {
  width: 30px;
  height: 30px;
  left: 12px;
  top: 18px;
  background: linear-gradient(135deg, #ffffff, #74d7ff);
  box-shadow: 0 0 0 3px #fff, 0 8px 14px rgba(38, 112, 150, 0.2);
}

.core-item-use__unit--multi {
  background: linear-gradient(135deg, #ffffff, #ffad76);
}

.core-item-use__aura {
  position: absolute;
  left: 34px;
  top: 12px;
  width: 34px;
  height: 42px;
  border: 2px solid rgba(57, 178, 203, 0.34);
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.core-item-use__target {
  width: 14px;
  height: 14px;
  background: #ffd3c1;
  box-shadow: 0 0 0 2px #fff;
}

.core-item-use__target--one { right: 15px; top: 15px; }
.core-item-use__target--two { right: 24px; top: 36px; }
.core-item-use__target--three { right: 7px; top: 39px; }

.core-item-use__items {
  grid-area: items;
  display: grid;
  gap: 6px;
}

.core-item-use__items .core-item-pair__item {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 16px rgba(45, 36, 69, 0.08);
}

.core-item-use__items .core-item-pair__item img,
.core-item-use__items .core-item-pair__text-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.core-item-use__role {
  grid-area: role;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #2d2445;
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 5px 12px rgba(45, 36, 69, 0.08);
}

.knowledge-card--defense-shred-placement {
  background:
    radial-gradient(circle at top right, rgba(143, 108, 245, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(126, 224, 195, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.94);
}

.defense-shred-card__hero {
  display: grid;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.defense-shred-card__point {
  box-shadow: 0 8px 20px rgba(71, 52, 97, 0.07);
}

.defense-shred-compare {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.defense-shred-compare.knowledge-compare--with-separator {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.defense-shred-scene {
  display: grid;
  grid-template-rows: auto auto minmax(88px, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.08);
}

.defense-shred-scene--bad {
  background: linear-gradient(135deg, #fff4f5, #f5f4f7);
}

.defense-shred-scene--good {
  background: linear-gradient(135deg, #edfff8, #fff9e8);
}

.defense-shred-scene__label {
  align-self: start;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.defense-shred-scene--bad .defense-shred-scene__label {
  background: #f05a64;
}

.defense-shred-scene--good .defense-shred-scene__label {
  background: #24a97f;
}

.defense-shred-scene__board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(52px, 1fr));
  grid-template-rows: 88px 32px 78px;
  gap: 8px;
  align-items: center;
  justify-items: center;
  min-height: 210px;
  padding: 12px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(30deg, rgba(71, 52, 97, 0.07) 0 2px, transparent 2px 26px);
}

.defense-shred-scene__unit,
.defense-shred-scene__enemy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  z-index: 1;
  min-width: 62px;
  min-height: 82px;
  padding: 7px;
  border-radius: 16px;
  background: #fff;
  color: #2d2445;
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 8px 16px rgba(45, 36, 69, 0.11);
}

.defense-shred-scene__unit--carry {
  grid-column: 4;
  grid-row: 3;
  background: linear-gradient(135deg, #fff, #dff1ff);
  color: #146aa8;
}

.defense-shred-scene__unit--applier {
  grid-row: 3;
  background: linear-gradient(135deg, #fff, #e7fff5);
  color: #0f766e;
}

.defense-shred-scene__unit--applier-b {
  grid-column: 2;
}

.defense-shred-scene__unit--applier-c {
  grid-column: 3;
}

.defense-shred-scene__enemy--a {
  grid-column: 1;
  grid-row: 1;
}

.defense-shred-scene__enemy--b {
  grid-column: 2;
  grid-row: 1;
}

.defense-shred-scene__enemy--c {
  grid-column: 3;
  grid-row: 1;
}

.defense-shred-scene__enemy--d {
  grid-column: 4;
  grid-row: 1;
}

.defense-shred-scene__unit img,
.defense-shred-scene__enemy img {
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(45, 36, 69, 0.12);
}

.defense-shred-scene__unit img {
  box-shadow:
    0 0 0 3px rgba(49, 152, 255, 0.28),
    0 6px 12px rgba(45, 36, 69, 0.12);
}

.defense-shred-scene__unit--applier img {
  box-shadow:
    0 0 0 3px rgba(126, 224, 195, 0.38),
    0 6px 12px rgba(45, 36, 69, 0.12);
}

.defense-shred-scene__enemy img {
  box-shadow:
    0 0 0 3px rgba(240, 90, 100, 0.22),
    0 6px 12px rgba(45, 36, 69, 0.12);
}

.defense-shred-scene__unit b,
.defense-shred-scene__enemy b {
  font-size: 0.78rem;
  line-height: 1;
}

.defense-shred-scene__enemy--focused {
  box-shadow: 0 0 0 2px rgba(49, 152, 255, 0.28), 0 8px 16px rgba(45, 36, 69, 0.11);
}

.defense-shred-scene__enemy--marked {
  background: linear-gradient(135deg, #fff4dd, #fff);
  color: #9b5c00;
}

.defense-shred-scene__enemy small {
  position: absolute;
  left: 50%;
  bottom: -8px;
  display: inline-flex;
  width: max-content;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f08a30;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  transform: translateX(-50%);
}

.defense-shred-scene__arrow {
  grid-column: 4;
  grid-row: 2;
  position: relative;
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(0deg, #9aa0aa, rgba(154, 160, 170, 0.18));
}

.defense-shred-scene__arrow::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 4px solid #9aa0aa;
  border-left: 4px solid #9aa0aa;
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}

.defense-shred-scene__apply-zone {
  position: absolute;
  z-index: 2;
  top: 2px;
  height: 118px;
  border: 2px dashed rgba(240, 138, 48, 0.7);
  border-radius: 30px;
  background: rgba(255, 244, 221, 0.14);
  box-shadow: 0 0 20px rgba(240, 138, 48, 0.12);
  pointer-events: none;
}

.defense-shred-scene__apply-zone b {
  position: absolute;
  left: 50%;
  bottom: -11px;
  display: inline-flex;
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f08a30;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 1000;
  line-height: 1;
  transform: translateX(-50%);
}

.defense-shred-scene__apply-zone--abc {
  left: 6px;
  right: calc(25% + 2px);
}

.defense-shred-scene__apply-zone--bcd {
  left: calc(25% + 2px);
  right: 6px;
}

.defense-shred-scene__apply-cast {
  z-index: 0;
  justify-self: center;
  align-self: end;
  width: 0;
  height: 30px;
  border-left: 3px dotted rgba(240, 138, 48, 0.72);
  margin-bottom: -12px;
  filter: drop-shadow(0 3px 7px rgba(240, 138, 48, 0.14));
  pointer-events: none;
}

.defense-shred-scene__apply-cast--bad {
  grid-column: 2;
  grid-row: 2;
}

.defense-shred-scene__apply-cast--good {
  grid-column: 3;
  grid-row: 2;
}

.defense-shred-scene p {
  display: grid;
  place-items: center;
  min-height: 88px;
  margin: 0;
  color: #514760;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.defense-shred-scene--bad p {
  color: #8f4650;
}

.defense-shred-scene--good p {
  color: #0f766e;
  font-size: 1.08rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.defense-shred-scene__result--burst {
  color: inherit;
  text-shadow: none;
}

.knowledge-card--functional-item-holder {
  background:
    radial-gradient(circle at top right, rgba(245, 184, 75, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(126, 224, 195, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.94);
}

.functional-item-card__panels {
  display: grid;
  gap: 16px;
}

.functional-item-card__panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(71, 52, 97, 0.09), 0 12px 28px rgba(71, 52, 97, 0.08);
}

.functional-item-card__label {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: #2d2445;
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 5px 12px rgba(45, 36, 69, 0.08);
}

.functional-item-card__swap-label {
  padding: 5px 12px;
  font-size: 0.78rem;
}

.functional-item-card__panel h3 {
  margin: 0;
  color: #201a2f;
  font-size: 1.22rem;
  line-height: 1.35;
}

.functional-item-card__panel p {
  margin: 0;
  color: #514760;
  font-weight: 800;
  line-height: 1.7;
}

.functional-item-card__slot-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(30deg, rgba(71, 52, 97, 0.06) 0 2px, transparent 2px 26px);
  box-shadow: inset 0 0 0 1px rgba(49, 152, 255, 0.13);
}

.functional-item-card__carry-compare {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) auto minmax(0, 1.28fr);
  gap: 12px;
  align-items: stretch;
}

.functional-item-card__carry-side {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(30deg, rgba(71, 52, 97, 0.06) 0 2px, transparent 2px 26px);
  box-shadow: inset 0 0 0 1px rgba(49, 152, 255, 0.13);
}

.functional-item-card__carry-side--before {
  background:
    linear-gradient(135deg, rgba(255, 225, 229, 0.68), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(30deg, rgba(71, 52, 97, 0.06) 0 2px, transparent 2px 26px);
}

.functional-item-card__carry-side--after {
  background:
    linear-gradient(135deg, rgba(232, 255, 244, 0.78), rgba(255, 248, 231, 0.78)),
    repeating-linear-gradient(30deg, rgba(71, 52, 97, 0.05) 0 2px, transparent 2px 26px);
}

.functional-item-card__carry-side--after .functional-item-card__slot-plan {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.functional-item-card__carry-side--after .functional-item-card__slot-unit {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(45, 36, 69, 0.06);
}

.functional-item-card__compare-label {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
}

.functional-item-card__carry-side > strong {
  justify-self: center;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #514760;
  font-size: 0.98rem;
  font-weight: 1000;
  line-height: 1.45;
  text-align: center;
  box-shadow: none;
}

.functional-item-card__carry-side--before .functional-item-card__compare-label {
  background: #f05a64;
}

.functional-item-card__carry-side--after .functional-item-card__compare-label {
  background: #24a97f;
}

.functional-item-card__carry-side--before > strong {
  color: #9b3340;
}

.functional-item-card__carry-side--after > strong {
  color: #0f766e;
  font-size: 1.06rem;
}

.functional-item-card__carry-side--after > strong.knowledge-burst {
  min-width: 166px;
  min-height: 74px;
  padding: 16px 28px;
  border-radius: 0;
  background: transparent;
  color: #5d3300;
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  box-shadow: none;
}

.functional-item-card__compare-arrow {
  align-self: center;
}

.functional-item-card__slot-unit {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 218px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(45, 36, 69, 0.08);
}

.functional-item-card__carry-side--after .functional-item-card__slot-unit {
  min-height: 206px;
}

.functional-item-card__slot-unit > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 72px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #2d2445;
  font-size: 0.86rem;
  font-weight: 1000;
  box-shadow: 0 5px 12px rgba(45, 36, 69, 0.08);
}

.functional-item-card__unit-icon {
  width: 82px;
  height: 82px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px rgba(45, 36, 69, 0.14);
}

.functional-item-card__slot-unit--main {
  background: linear-gradient(135deg, #fff8e7, rgba(255, 255, 255, 0.92));
}

.functional-item-card__slot-unit--sub {
  background: linear-gradient(135deg, #eef8ff, rgba(255, 255, 255, 0.92));
}

.functional-item-card__slot-plan > strong {
  grid-column: 1 / -1;
  justify-self: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: #24a97f;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 1000;
}

.functional-item-card__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 9px;
  min-height: 74px;
}

.functional-item-card__item {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 72px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(45, 36, 69, 0.1);
}

.functional-item-card__role-item {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 52px;
}

.functional-item-card__carry-side--after .functional-item-card__role-item {
  min-width: 58px;
}

.functional-item-card__item img,
.functional-item-card__role-item img,
.functional-item-card__fallback-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(45, 36, 69, 0.14);
}

.functional-item-card__role-item img {
  border-radius: 9px;
}

.functional-item-card__fallback-icon {
  display: grid;
  place-items: center;
  color: #4d3c7c;
  font-size: 0.7rem;
  font-weight: 1000;
}

.functional-item-card__tag {
  display: inline-flex;
  justify-content: center;
  min-width: 34px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 1000;
  line-height: 1;
}

.functional-item-card__tag--sunder { background: #f08a30; }
.functional-item-card__tag--shred { background: #6f7df3; }
.functional-item-card__tag--wound { background: #f05a64; }
.functional-item-card__tag--damage { background: #f5b84b; }
.functional-item-card__tag--function { background: #8f6cf5; }
.functional-item-card__tag--swap { background: #f05a64; }
.functional-item-card__tag--defense { background: #24a97f; }

.functional-item-card__mini-note {
  margin-top: 0;
  padding: 12px 14px;
}

.functional-item-card__swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.functional-item-card__swap-side {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 158px;
  padding: 10px;
  border-radius: 16px;
}

.functional-item-card__swap-arrow {
  color: #f5b84b;
  font-size: 2rem;
  font-weight: 1000;
}

.knowledge-card--component-management {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94)),
    radial-gradient(circle at top left, rgba(49, 152, 255, 0.16), transparent 38%);
}

.component-management-card__case {
  min-width: 0;
  border: 1px solid rgba(77, 60, 124, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(45, 36, 69, 0.08);
}

.component-management-card__label {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9f5ff;
  color: #146aa8;
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
}

.component-management-card__example {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(77, 60, 124, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 32px rgba(45, 36, 69, 0.08);
}

.component-management-card__example-label {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3db;
  color: #8a5a12;
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
}

.component-management-card__example-heading {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.component-management-card__example-heading h3 {
  margin: 0;
  color: #211a3a;
  font-size: 1.02rem;
  font-weight: 1000;
  line-height: 1.35;
}

.component-management-card__materials,
.component-management-card__recipe {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.component-management-card__starting-items {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f7f3ff;
}

.component-management-card__starting-label {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #584270;
  box-shadow: inset 0 0 0 1px rgba(77, 60, 124, 0.08);
  font-size: 0.74rem;
  font-weight: 1000;
  line-height: 1;
}

.component-management-card__materials--start {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.component-management-card__materials--remain,
.component-management-card__materials--safe {
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.component-management-card__materials--remain {
  background: rgba(255, 245, 246, 0.72);
}

.component-management-card__materials--safe {
  background: rgba(242, 255, 249, 0.72);
}

.component-management-card__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.component-management-card__lane {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(77, 60, 124, 0.12);
  border-radius: 16px;
  background: #fff;
}

.component-management-card__lane--bad {
  background: linear-gradient(180deg, #fff8f8, #fff);
  border-color: rgba(240, 90, 100, 0.22);
}

.component-management-card__lane--good {
  background: linear-gradient(180deg, #f3fff9, #fff);
  border-color: rgba(36, 169, 127, 0.22);
}

.component-management-card__lane h3 {
  margin: 0;
  color: #251b3d;
  font-size: 1.05rem;
  line-height: 1.25;
}

.component-management-card__comic {
  display: grid;
  gap: 8px;
}

.component-management-card__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 88px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(77, 60, 124, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  overflow: visible;
}

.component-management-card__panel-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.component-management-card__panel-title {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.component-management-card__step {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #26324f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 1000;
  line-height: 1;
}

.component-management-card__panel h4 {
  margin: 0;
  color: #251b3d;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1.28;
}

.component-management-card__panel-body {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.component-management-card__panel .component-management-card__recipe,
.component-management-card__panel .component-management-card__materials {
  justify-content: center;
}

.component-management-card__panel .component-management-card__item {
  width: 58px;
  padding: 6px 4px;
}

.component-management-card__panel .component-management-card__item img {
  width: 30px;
  height: 30px;
}

.component-management-card__panel .component-management-card__item b {
  font-size: 0.58rem;
}

.component-management-card__text {
  max-width: 13rem;
  margin: 0;
  color: #4d5672;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.55;
  text-align: center;
}

.component-management-card__remaining {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.component-management-card__lane--bad .component-management-card__label {
  background: #ffecee;
  color: #bd2f43;
}

.component-management-card__lane--good .component-management-card__label {
  background: #e8fff5;
  color: #147c62;
}

.component-management-card__item {
  position: relative;
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 72px;
  min-width: 0;
  padding: 7px 6px;
  border: 1px solid rgba(77, 60, 124, 0.12);
  border-radius: 12px;
  background: #fff;
}

.component-management-card__item img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 6px 12px rgba(45, 36, 69, 0.12);
}

.component-management-card__item b {
  overflow: hidden;
  max-width: 100%;
  color: #3a2a57;
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.component-management-card__item--avoid {
  border-color: rgba(240, 90, 100, 0.3);
  background: #fff1f2;
}

.component-management-card__item--ok {
  border-color: rgba(36, 169, 127, 0.3);
  background: #effff8;
}

.component-management-card__plus,
.component-management-card__arrow {
  color: #7a6d8b;
  font-size: 1.05rem;
  font-weight: 1000;
  text-align: center;
}

.component-management-card__arrow {
  color: #26324f;
}

.component-management-card__recipe-result {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.component-management-card__remain {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #665b7a;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.4;
  text-align: center;
}

.component-management-card__lane-result {
  display: block;
  color: #bd2f43;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: center;
}

.component-management-card__lane--good .component-management-card__lane-result {
  color: #147c62;
}

.component-management-card__case h3 {
  margin: 0;
  color: #251b3d;
  font-size: 1.18rem;
  line-height: 1.18;
}

.component-management-card__case li {
  margin: 0;
  color: #665b7a;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.65;
}

.component-management-card__point {
  margin-bottom: 0;
}

.component-management-card__cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.component-management-card__case {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 200px;
  padding: 18px;
}

.component-management-card__case--hold {
  background: linear-gradient(180deg, #fffafa, #fff);
  border-color: rgba(240, 90, 100, 0.22);
}

.component-management-card__case--finish {
  background: linear-gradient(180deg, #f3fff9, #fff);
  border-color: rgba(36, 169, 127, 0.22);
}

.component-management-card__case--hold .component-management-card__label {
  background: #ffecee;
  color: #bd2f43;
}

.component-management-card__case--finish .component-management-card__label {
  background: #e8fff5;
  color: #147c62;
}

.component-management-card__case ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.component-management-card__case li {
  position: relative;
  padding-left: 16px;
}

.component-management-card__case li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
}

@media (max-width: 760px) {
  .knowledge-card-page main {
    width: min(100% - 16px, 560px);
    padding-bottom: 42px;
  }

  .knowledge-page-hero,
  .knowledge-card {
    border-radius: 20px;
  }

  .knowledge-page-hero--flow {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .knowledge-page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .knowledge-page-hero__flow {
    padding: 14px;
  }

  .knowledge-card-list--stepped {
    gap: 24px;
  }

  .knowledge-card-list--stepped::before {
    left: 15px;
  }

  .knowledge-card-shell--stepped {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
  }

  .knowledge-card-step {
    top: 72px;
    width: 30px;
    height: 30px;
    margin-top: 22px;
    border-width: 2px;
  }

  .knowledge-card-step b {
    font-size: 0.82rem;
  }

  .knowledge-card-step span {
    display: none;
  }

  .knowledge-compare,
  .item-focus-visual,
  .core-item-roles,
  .functional-item-card__panels,
  .functional-item-card__carry-compare,
  .functional-item-card__slot-plan,
  .component-management-card__compare {
    grid-template-columns: 1fr;
  }

  .component-management-card__panel-body {
    width: auto;
  }

  .component-management-card__panel .component-management-card__recipe {
    max-width: 148px;
    margin-inline: auto;
    flex-wrap: wrap;
  }

  .knowledge-compare__arrow,
  .functional-item-card__compare-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .functional-item-card__swap {
    grid-template-columns: 1fr;
  }

  .functional-item-card__swap-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .defense-shred-compare,
  .defense-shred-compare.knowledge-compare--with-separator {
    grid-template-columns: 1fr;
  }

  .core-item-role--mana {
    grid-column: auto;
  }

  .core-item-role--mana .core-item-group-list {
    grid-template-columns: 1fr;
  }

  .core-item-role--wound .core-item-group-list,
  .core-item-role--shred .core-item-group-list {
    grid-template-columns: 1fr;
  }

  .item-focus-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .item-focus-side {
    min-height: auto;
  }

  .item-focus-conclusion {
    display: grid;
  }

  .component-management-card__case {
    min-height: auto;
  }
}
