body[data-series="fourth-wing"] {
  --world-ground: #191c20; --world-ink: #fff3df; --world-accent: #e5bc82;
  --field: #111417; --on-field: #fff3df; --on-field-2: #e5bc82;
  background: #191c20; color: #fff3df;
}
body[data-series="fourth-wing"] .world-hero { background: #111417; color: #fff3df; border: 0; border-radius: 0; box-shadow: none; }
body[data-series="fourth-wing"] .hero-copy h1 { font-family: var(--display); font-weight: 750; color: #fff3df; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
body[data-series="fourth-wing"] .hero-copy h1 em { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-style: italic; color: #e5bc82; }
body[data-series="fourth-wing"] .world-hero .hero-meta { color: #e5bc82; }
body[data-series="fourth-wing"] .hero-copy :is(.answer,.scope a,.safe,.hero-kit,.look-hook) { color: #fff3df; }
body[data-series="fourth-wing"] .hero-media { color: #fff3df; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body[data-series="fourth-wing"] .hero-media :is(a,figcaption,.starting-photo-credit) { color: #fff3df; }
body[data-series="fourth-wing"] .hero-starters { border-top: 1px solid #55534c; padding-top: 20px; }
body[data-series="fourth-wing"] .world-section > h2 { padding-top: 0; color: #fff3df; font-family: var(--display); font-weight: 750; letter-spacing: -.025em; }
body[data-series="fourth-wing"] .world-section > h2::before {
  content: ""; position: static; display: block; height: 32px; margin-bottom: 24px;
  background: url("/assets/img/worlds/basgiath-seam-rule.svg") center / 540px 48px repeat-x; border: 0;
}
body[data-series="fourth-wing"] .world-card { background: #24292e; color: #fff3df; border: 0; border-radius: 0; box-shadow: none; }
body[data-series="fourth-wing"] .world-card h3, body[data-series="fourth-wing"] .world-card h3 a { color: #fff3df; font-family: var(--display); font-weight: 750; }
body[data-series="fourth-wing"] .world-card .hero-meta, body[data-series="fourth-wing"] .world-card-detail { color: #d8c5ac; }
body[data-series="fourth-wing"] .wardrobe-plan, body[data-series="fourth-wing"] .planner { background: #24292e; color: #fff3df; border: 0; border-radius: 0; box-shadow: none; }
body[data-series="fourth-wing"] .piece-card { background: transparent; border-color: #55534c; }
body[data-series="fourth-wing"] .piece-card .lp-name { color: #fff3df; }
body[data-series="fourth-wing"] .make-it-read { background: #2c3033; color: #fff3df; border: 0; border-radius: 0; padding: 28px 24px; }
body[data-series="fourth-wing"] .make-it-read .recipe-title { color: #fff3df; }
body[data-series="fourth-wing"] .signature, body[data-series="fourth-wing"] .world-quote { background: #2c3033; color: #fff3df; border: 0; border-radius: 0; }
body[data-series="fourth-wing"] .book-lines li { background: transparent; border-color: #55534c; }
body[data-series="fourth-wing"] .world-section .bridge, body[data-series="fourth-wing"] .world-section .occ-tile > a { background: #24292e; color: #fff3df; box-shadow: none; }
@media (max-width: 599px) { body[data-series="fourth-wing"] .make-it-read { padding: 24px 16px; } }
body[data-series="fourth-wing"] .wardrobe-plan .plan-date label { color: #fff3df; }
body[data-series="fourth-wing"] .piece-card .closet b, body[data-series="fourth-wing"] .book-lines cite { color: #d8c5ac; }
body[data-series="fourth-wing"] .book-lines a, body[data-series="fourth-wing"] .signature a, body[data-series="fourth-wing"] .read-listen a:not(.buy-button), body[data-series="fourth-wing"] .faq a { color: #e5bc82; }
body[data-series="fourth-wing"] .read-listen, body[data-series="fourth-wing"] .faq { color: #fff3df; }
body[data-series="fourth-wing"] .read-listen h2, body[data-series="fourth-wing"] .faq h2 { color: #fff3df; }
body[data-series="fourth-wing"] .faq details { background: #24292e; color: #fff3df; }
body[data-series="fourth-wing"] .faq summary { color: #fff3df; }
body[data-series="fourth-wing"] .page-updated, body[data-series="fourth-wing"] .spot-mistake a { color: #d8c5ac; }

body[data-series="fourth-wing"] .breadcrumbs,
body[data-series="fourth-wing"] .breadcrumbs :is(a,span),
body[data-series="fourth-wing"] .book-lines .cite { color: #d8c5ac; }
body[data-series="fourth-wing"] .on-screen { background: #2c3033; color: #fff3df; border-color: #55534c; }
body[data-series="fourth-wing"] .on-screen :is(a,.cite) { color: #e5bc82; }
body[data-series="fourth-wing"] .guide-options > summary { color: #fff3df; }
body[data-series="fourth-wing"] main {
  --ink: #fff3df; --ink-2: #d8c5ac; --muted: #d8c5ac;
  --paper: #24292e; --paper-2: #2c3033; --sheet: #24292e;
  --line: #55534c; --rule: #55534c;
}
body[data-series="fourth-wing"] main a:not(.button):not(.buy-button):not(.go):not(.bridge):not(.event-tile):not(.wit-list a):not(.pair-col a):not(.utility-page a):not(.pinterest-button) { color: #e5bc82; }
body[data-series="fourth-wing"] main .bridge { background: #24292e; color: #fff3df; }
body[data-series="fourth-wing"] .shop-note, body[data-series="fourth-wing"] .plan-summary { color: #d8c5ac; }
body[data-series="fourth-wing"] main .wit-list a { color: #241c22; }
body[data-series="fourth-wing"] .wit-list a > span:not(.wit-chips) { color: #5a4554; }
body[data-series="fourth-wing"] .faq-mark::before,
body[data-series="fourth-wing"] .faq-mark::after { background: #241c22; }
body[data-series="fourth-wing"] .faq-item[open] .faq-mark { background: #241c22; }
body[data-series="fourth-wing"] .faq-item[open] .faq-mark::before { background: #fff; }
body[data-series="fourth-wing"] .plan-date input[type="date"] { color-scheme: light; background: #faf7ef; color: #241c22; border-color: #cfc7bc; }

body[data-series="fourth-wing"] .read-listen a.go { color: #241c22; }
body[data-series="fourth-wing"] .buy-button { white-space: nowrap; }


body[data-series="fourth-wing"] .world-hero {
  background-color: #15191d;
  background-image: linear-gradient(165deg, #171b1fe8 30%, #15191d 85%),
    url("/assets/img/worlds/fourth-wing-scales.svg");
  background-repeat: no-repeat, repeat;
}
body[data-series="fourth-wing"] .world-hero .hero-actions > .button {
  background: #eabc84;
  border-color: #eabc84;
  color: #21170f;
}
@media (hover: hover) {
  body[data-series="fourth-wing"] .world-hero .hero-actions > .button:hover {
    background: #f4d4a8;
    border-color: #f4d4a8;
    color: #21170f;
  }
}
body[data-series="fourth-wing"] .hero-media:has(.world-emblem) {
  position: relative;
  padding-block-start: 112px;
}
body[data-series="fourth-wing"] .hero-media:has(.world-emblem)::before {
  content: "";
  position: absolute;
  inset: 42px 116px auto 0;
  height: 29px;
  border-block: 1px dashed #aa8154;
  background: linear-gradient(#201b18b8, #201b18b8), url("/assets/img/worlds/fourth-wing-scales.svg");
}
body[data-series="fourth-wing"] .world-emblem {
  position: absolute;
  inset: 2px 2px auto auto;
  width: 103px;
  height: 103px;
  border: 1px solid #b19168;
  border-radius: 55% 55% 43% 43%;
  padding: 17px;
  outline: 1px dashed #b19168;
  outline-offset: -6px;
  background: radial-gradient(ellipse at 45% 20%, #5b412b, #2b211a 75%);
  pointer-events: none;
}
body[data-series="fourth-wing"] .world-emblem img { width: 100%; height: 100%; object-fit: contain; }
body[data-series="fourth-wing"] .world-emblem::after { content: none; }
body[data-series="fourth-wing"] .world-hero .hero-figure > img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  background: transparent;
}
body[data-series="fourth-wing"] .world-section > h2::before {
  height: 32px;
  margin-bottom: 16px;
  background: url("/assets/img/worlds/fourth-wing-flight-rule.svg") center / min(100%, 720px) auto no-repeat;
}
body[data-series="fourth-wing"] :is(.signature,.faq,.world-band.read-listen) {
  border-block-start: 1px dashed #aa8154;
}
body[data-series="fourth-wing"] .make-it-read {
  background: #24292e;
}
body[data-series="fourth-wing"] .hero-kit,
body[data-series="fourth-wing"] .piece-card {
  border-color: #776043;
}
body[data-series="fourth-wing"] .faq details {
  background: transparent;
  border-color: #776043;
}
body[data-series="fourth-wing"] .read-listen { --art-hem: 0px; }
body[data-series="fourth-wing"] .read-listen::before,
body[data-series="fourth-wing"] .read-listen::after { display: none; }
body[data-series="fourth-wing"] .rider-detail ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
}
body[data-series="fourth-wing"] .rider-detail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-block-end: 1px dashed #776043;
}

@media (max-width: 899px) {
  body[data-series="fourth-wing"] .hero-media:has(.world-emblem) { padding-block-start: 84px; }
  body[data-series="fourth-wing"] .hero-media:has(.world-emblem)::before { inset: 29px 91px auto 0; height: 23px; }
  body[data-series="fourth-wing"] .world-emblem { width: 78px; height: 78px; padding: 12px; }
}

body[data-series="fourth-wing"] .world-pair .hero-figure > img {
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  body[data-series="fourth-wing"] .world-pair .hero-media {
    align-self: end;
  }
  
  body[data-series="fourth-wing"] .world-pair .hero-figure > img {
    height: clamp(330px, 34vw, 490px);
    object-fit: cover;
    object-position: 72% center;
  }
  body[data-series="fourth-wing"] .world-pair .hero-copy > .look-hook {
    margin-block-start: 8px;
  }
  body[data-series="fourth-wing"] .world-pair .hero-kit > p:last-child {
    margin-block-end: 0;
  }
}

@media (min-width: 900px) {
  body[data-series="fourth-wing"] .world-hub .hero-grid { align-items: center; }
  body[data-series="fourth-wing"] .world-hub .hero-figure > img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 35%;
  }
}
body[data-series="fourth-wing"] .pair-grid { align-items: stretch; }
body[data-series="fourth-wing"] .pair-col .look-photo img {
  object-fit: cover;
  object-position: center 24%;
  background: transparent;
  box-shadow: none;
}
body[data-series="fourth-wing"] .pair-col figure.look-photo { max-width: none; }

@media (max-width: 420px) {
  body[data-series="fourth-wing"] :is(.world-hub, .world-look) .hero-figure > img {
    width: 100%;
    height: var(--phone-photo-limit);
    object-fit: cover;
    object-position: center 25%;
  }
  body[data-series="fourth-wing"] .world-hub .hero-figure > img { object-position: center 47%; }
  body[data-series="fourth-wing"] #look-xaden-riders-quadrant .hero-figure > img { object-position: center top; }
}

@media (max-width: 420px) {
  body[data-series="fourth-wing"] #look-violet-armored-corset .hero-figure > img {
    width: min(100%, 270px);
    object-position: center 35%;
  }
}

@media (max-width: 599px) {
  body[data-series="fourth-wing"] :is(.world-look, .world-hub) .hero-media:has(.world-emblem) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    padding-block-start: 0;
  }
  body[data-series="fourth-wing"] :is(.world-look, .world-hub) .hero-media > :is(.hero-figure, .pinterest-links) {
    grid-column: 1 / -1;
  }
  body[data-series="fourth-wing"] :is(.world-look, .world-hub) .hero-media > .world-emblem {
    position: relative;
    inset: auto;
  }
  body[data-series="fourth-wing"] :is(.world-look, .world-hub) .hero-media:has(.world-emblem)::before { display: none; }
}
