
body[data-series="demon-slayer"] {
  --world-ground: #f5f0e8;
  --world-ink: #292c26;
  --world-accent: #355a46;
  --world-accent-2: #a87566;
  --field: #232d27;
  --on-field: #fcf8ef;
  --on-field-2: #c8d5b9;
  --print-line: #b2b39c;
  --print-stamp: url("/assets/img/emblems/ds-hub.svg");
  --cloth-check: conic-gradient(#b2c09d44 25%, transparent 0 50%, #b2c09d44 0 75%, transparent 0);
  background: var(--world-ground);
  color: var(--world-ink);
}
body[data-series="demon-slayer"]:has(.world-emblem img[src$="/ds-tanjiro-kamado.svg"]) {
  --print-stamp: url("/assets/img/emblems/ds-tanjiro-kamado.svg");
}
body[data-series="demon-slayer"]:has(.world-emblem img[src$="/ds-nezuko-kamado.svg"]) {
  --print-stamp: url("/assets/img/emblems/ds-nezuko-kamado.svg");
  --cloth-check: conic-gradient(#d9a2af50 25%, transparent 0 50%, #d9a2af50 0 75%, transparent 0);
}
body[data-series="demon-slayer"]:has(.world-emblem img[src$="/ds-inosuke-hashibira.svg"]) {
  --print-stamp: url("/assets/img/emblems/ds-inosuke-hashibira.svg");
  --cloth-check: conic-gradient(#dfb19750 25%, transparent 0 50%, #dfb19750 0 75%, transparent 0);
}
body[data-series="demon-slayer"] .world-hero {
  background:
    var(--cloth-check) left bottom / 26px 12px repeat-x,
    repeating-linear-gradient(126deg, transparent 0 11px, #dee3bf0c 11px 12px),
    var(--field);
  color: var(--on-field);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-series="demon-slayer"] .world-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--on-field);
}
body[data-series="demon-slayer"] .world-hero h1 em,
body[data-series="demon-slayer"] .hero-meta { color: var(--on-field-2); }
body[data-series="demon-slayer"] .hero-copy :is(p,.scope a,.safe),
body[data-series="demon-slayer"] .hero-media :is(figcaption,a) { color: var(--on-field); }
body[data-series="demon-slayer"] .world-hero .hero-actions > .button {
  background: #c9d8b4;
  border-color: #c9d8b4;
  color: #212c23;
}
@media (hover: hover) {
  body[data-series="demon-slayer"] .world-hero .hero-actions > .button:hover {
    background: #f0e0d1;
    color: #212c23;
  }
}
body[data-series="demon-slayer"] .hero-kit {
  padding-block: 12px;
  border: 0;
  border-block: 1px solid #71826a;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-series="demon-slayer"] .hero-kit-list li::before {
  background: #c9d8b4;
  border: 0;
  transform: rotate(10deg);
}
body[data-series="demon-slayer"] .hero-media:has(.world-emblem) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}
body[data-series="demon-slayer"] .hero-media > :is(figure,.pinterest-links) { grid-column: 1 / -1; }
body[data-series="demon-slayer"] .hero-figure > img {
  object-fit: cover;
  object-position: center 34%;
}
body[data-series="demon-slayer"] .world-hub .hero-figure > img { object-position: center 66%; }
body[data-series="demon-slayer"] .hero-figure.is-diy > img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}
body[data-series="demon-slayer"] .world-emblem {
  position: relative;
  grid-column: 1;
  width: 80px;
  height: 80px;
  margin: 8px 14px 4px 0;
  padding: 9px;
  border: 3px double #a9b69a;
  border-radius: 2px 7px 2px 4px;
  transform: rotate(4deg);
  background: var(--cloth-check) 14px 12px / 22px 22px, #395846;
}
body[data-series="demon-slayer"] .world-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}
body[data-series="demon-slayer"] .world-emblem::after { display: none; }
body[data-series="demon-slayer"] .hero-media > .emblem-credit {
  grid-column: 2;
  grid-row: 4;
  margin: 8px 0 0;
  color: var(--on-field-2);
}
body[data-series="demon-slayer"] .hero-media > .emblem-credit a { color: inherit; }
body[data-series="demon-slayer"] .world-section > h2 {
  margin-top: 0;
  padding-top: 0;
  color: var(--world-ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.04em;
}
body[data-series="demon-slayer"] .world-section > h2::before {
  content: "";
  display: block;
  position: static;
  width: 120px;
  height: 28px;
  margin-bottom: 14px;
  border: 0;
  background:
    var(--print-stamp) 4px center / 20px 20px no-repeat,
    linear-gradient(#395846, #395846) left center / 28px 28px no-repeat,
    var(--cloth-check) right center / 18px 9px repeat-x;
}
body[data-series="demon-slayer"] .world-section > h2::after { display: none; }
body[data-series="demon-slayer"] .world-card {
  background: #fbf8ef;
  color: var(--world-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-series="demon-slayer"] .world-card-image img {
  object-fit: cover;
  object-position: center 34%;
}
body[data-series="demon-slayer"] .world-card-image img[src^="/assets/img/recipes/"] {
  object-position: center;
}
body[data-series="demon-slayer"] .world-card h3 { font-family: var(--display); font-weight: 700; }
body[data-series="demon-slayer"] .world-card .hero-meta { color: #52654f; }
body[data-series="demon-slayer"] .world-card-copy {
  background: var(--cloth-check) left top / 24px 10px repeat-x;
}
body[data-series="demon-slayer"] :is(.wardrobe-plan,.planner,.world-quote,.make-it-read) {
  background: transparent;
  color: var(--world-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-series="demon-slayer"] .make-it-read {
  border-block: 1px solid var(--print-line);
}
body[data-series="demon-slayer"] :is(.piece-card,.book-lines li,.faq details) {
  border-color: var(--print-line);
}
body[data-series="demon-slayer"] .faq summary::after {
  border-radius: 3px;
  background: #d8e1cc;
  color: #23372a;
}
body[data-series="demon-slayer"] .read-listen::before,
body[data-series="demon-slayer"] .read-listen::after { display: none; }
body[data-series="demon-slayer"] .read-listen { --art-hem: 0px; }
body[data-series="demon-slayer"] .fabric-check {
  max-width: 68ch;
  margin-inline: auto;
  padding-block: 22px;
  border-block: 1px solid var(--print-line);
}
body[data-series="demon-slayer"] .fabric-check li::marker {
  color: #355a46;
  font-weight: 700;
}

@media (min-width: 640px) and (max-width: 899px) {
  body[data-series="demon-slayer"] .world-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  body[data-series="demon-slayer"] .world-card:last-child { grid-column: auto; display: flex; align-items: stretch; }
  body[data-series="demon-slayer"] .world-card-copy { padding-inline: 14px; }
}
@media (min-width: 900px) {
  body[data-series="demon-slayer"] .hero-media > .world-emblem {
    grid-row: 1;
    margin: 0 14px 8px 0;
  }
  body[data-series="demon-slayer"] .hero-media > .emblem-credit { grid-row: 1; }
  body[data-series="demon-slayer"] .hero-media > figure { grid-row: 2; }
  body[data-series="demon-slayer"] .hero-figure > img {
    height: 430px;
    max-height: none;
  }
}
@media (max-width: 899px) {
  body[data-series="demon-slayer"] .hero-figure > img {
    height: clamp(225px, 45svh, 340px);
    max-height: var(--phone-photo-limit, none);
  }
  body[data-series="demon-slayer"] .hero-media > .world-emblem { grid-row: 4; }
}

.demon-group-roles { margin-block: 0; }
.demon-group-roles > div {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 4fr;
  gap: .5rem 1.5rem;
  padding-block: 1rem;
  border-block-end: 1px solid currentColor;
}
.demon-group-roles dt { font-weight: 700; }
.demon-group-roles dd { margin-inline-start: 0; }
@media (max-width: 600px) {
  .demon-group-roles > div { grid-template-columns: 1fr; }
}
