:root {
  --atlas-ink: #103642;
  --atlas-ink-2: #174956;
  --atlas-ink-3: #1f5b68;
  --atlas-paper: #f5f0e4;
  --atlas-paper-2: #fbf8f0;
  --atlas-surface: #fffdf8;
  --atlas-line: #ddd5c5;
  --atlas-line-strong: #c8bdac;
  --atlas-muted: #6f756f;
  --atlas-coral: #eb554d;
  --atlas-coral-dark: #c83e39;
  --atlas-moss: #68834d;
  --atlas-water: #54b7c7;
  --atlas-gold: #d3a44d;
  --atlas-shadow: 0 18px 45px rgba(16, 54, 66, .14);
  --atlas-shadow-soft: 0 8px 22px rgba(16, 54, 66, .09);
  --atlas-radius: 12px;
  --atlas-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --atlas-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body.wl-atlas {
  min-height: 100vh;
  margin: 0;
  color: #26383b;
  background-color: #dff0f2;
  background-image: linear-gradient(rgba(244, 241, 229, .72), rgba(244, 241, 229, .86)), url("/atlas/world-of-twelve-panorama.webp");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  font-family: var(--atlas-sans);
}

body.wl-atlas::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, .7), transparent 28%),
    repeating-radial-gradient(circle at 80% 15%, transparent 0 36px, rgba(16, 54, 66, .035) 37px 38px);
}

.wl-atlas a,
.wl-atlas button,
.wl-atlas input { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease; }
.wl-atlas :where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid #f2b84f !important;
  outline-offset: 3px !important;
  border-radius: 5px;
}
.wl-skip-link {
  position: fixed;
  z-index: 2147483600;
  top: 10px;
  left: 14px;
  padding: 11px 16px;
  color: #fff !important;
  background: var(--atlas-coral-dark);
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: var(--atlas-shadow-soft);
  font: 750 13px var(--atlas-sans);
  text-decoration: none !important;
  transform: translateY(-150%);
}
.wl-skip-link:focus { transform: translateY(0); }

.wl-atlas-header {
  position: sticky;
  z-index: 2147483000;
  top: 0;
  width: 100%;
  color: #fff;
  background:
    radial-gradient(ellipse 52% 180% at 14% -100%, rgba(84, 183, 199, .18), transparent 68%),
    linear-gradient(180deg, rgba(18, 62, 73, .985) 0%, rgba(9, 42, 52, .985) 100%);
  border-bottom: 1px solid rgba(3, 27, 34, .48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1px 0 rgba(255, 255, 255, .035),
    0 10px 26px rgba(5, 28, 35, .24),
    0 2px 7px rgba(5, 28, 35, .14);
  backdrop-filter: saturate(1.12) blur(16px);
}

.wl-atlas-header::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .055), transparent 24% 78%, rgba(84, 183, 199, .045)),
    radial-gradient(ellipse 24% 100% at 50% 100%, rgba(235, 85, 77, .045), transparent 72%);
}

.wl-atlas-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent 5%, rgba(211, 164, 77, .32) 18%, rgba(84, 183, 199, .28) 66%, rgba(235, 85, 77, .24) 86%, transparent 97%);
  box-shadow: 0 1px 5px rgba(84, 183, 199, .1);
}
.wl-reading-progress { position: absolute; right: 0; bottom: -2px; left: 0; height: 3px; overflow: hidden; pointer-events: none; }
.wl-reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--atlas-coral), #f2bd54); transform: scaleX(0); transform-origin: left center; will-change: transform; }

.wl-atlas-header-inner {
  display: grid;
  width: min(1320px, calc(100% - 34px));
  min-height: 78px;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.wl-atlas-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff !important;
  text-decoration: none !important;
}

.wl-atlas-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
}

.wl-atlas-mark img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(2, 22, 28, .3)) drop-shadow(0 0 7px rgba(211, 164, 77, .08));
}
.wl-atlas-wordmark { display: grid; gap: 1px; line-height: 1; }
.wl-atlas-wordmark strong { color: #fff; font-family: var(--atlas-serif); font-size: 25px; font-weight: 700; letter-spacing: -.035em; text-shadow: 0 1px 1px rgba(1, 19, 24, .42), 0 0 10px rgba(255, 255, 255, .025); }
.wl-atlas-wordmark strong span { color: var(--atlas-coral); }
.wl-atlas-wordmark small { color: #c7d4d4; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }

.wl-atlas-primary { display: flex; height: 100%; align-items: stretch; gap: 4px; }
.wl-atlas-primary a {
  position: relative;
  display: flex;
  min-width: 100px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #dbe5e5 !important;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(2, 22, 28, .32);
  text-decoration: none !important;
}
.wl-atlas-primary a:hover { color: #fff !important; background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045); }
.wl-atlas-primary a[aria-current="page"] { color: #fff !important; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .055)); }
.wl-atlas-primary a[aria-current="page"]::after { position: absolute; right: 15px; bottom: 0; left: 15px; height: 3px; content: ""; background: linear-gradient(90deg, #e94f48, #f06a5b); border-radius: 3px 3px 0 0; box-shadow: 0 -2px 9px rgba(235, 85, 77, .26); }

.wl-atlas-header-actions { display: flex; align-items: center; gap: 9px; }
.wl-atlas-support-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 12px;
  color: #dbe5e5 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 2px 7px rgba(3, 24, 30, .12);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wl-atlas-support-link svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--atlas-coral); }
.wl-atlas-support-link:hover {
  color: #fff !important;
  border-color: rgba(235, 85, 77, .52);
  background: linear-gradient(180deg, rgba(235, 85, 77, .13), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 4px 13px rgba(3, 24, 30, .2), 0 0 0 1px rgba(235, 85, 77, .05);
  transform: translateY(-1px);
}
.wl-atlas-search-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: #dbe5e5 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 2px 7px rgba(3, 24, 30, .12);
  font-size: 12px;
  text-decoration: none !important;
}
.wl-atlas-search-link span:first-child { font-size: 20px; line-height: 1; transform: rotate(-20deg); }
.wl-atlas-search-link:hover { color: #fff !important; border-color: rgba(255, 255, 255, .42); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 3px 10px rgba(3, 24, 30, .18); transform: translateY(-1px); }
.wl-atlas-mobile-nav { display: none; position: relative; }
.wl-atlas-mobile-nav summary { display: grid; width: 42px; height: 42px; padding: 11px 9px; cursor: pointer; list-style: none; align-content: space-between; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 2px 7px rgba(3, 24, 30, .14); }
.wl-atlas-mobile-nav summary::-webkit-details-marker { display: none; }
.wl-atlas-mobile-nav summary span { height: 2px; background: #fff; border-radius: 3px; }
.wl-atlas-mobile-nav nav { position: absolute; top: 52px; right: 0; display: grid; width: 220px; overflow: hidden; background: var(--atlas-ink); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; box-shadow: var(--atlas-shadow); }
.wl-atlas-mobile-nav nav a { padding: 14px 18px; color: #fff !important; text-decoration: none !important; }
.wl-atlas-mobile-nav nav a + a { border-top: 1px solid rgba(255, 255, 255, .1); }
.wl-atlas-mobile-nav nav a[aria-current="page"] { background: var(--atlas-coral); }

/* Method pages, rebuilt as Atlas surfaces */
.wl-method #soledad_wrapper {
  width: min(1440px, calc(100% - 34px));
  max-width: none;
  margin: 24px auto 44px;
  overflow: hidden;
  background: var(--atlas-paper);
  border: 1px solid rgba(16, 54, 66, .16);
  border-radius: 14px;
  box-shadow: var(--atlas-shadow);
}

.wl-method .penci-header-wrap,
.wl-method .penci-single-pheader,
.wl-method .penci-go-to-top-floating,
.wl-method #sidebar-nav,
.wl-method #close-sidebar-nav,
.wl-method .wl-reference-navigation { display: none !important; }

.wl-method .container { width: min(1320px, calc(100% - 46px)); max-width: none; }
.wl-method .container.penci-breadcrumb,
.wl-method .penci-container-inside.penci-breadcrumb {
  padding-top: 19px;
  padding-bottom: 12px;
  color: #7f847e;
  font: 600 11px/1.4 var(--atlas-sans);
}
.wl-method .penci-breadcrumb a { color: #5c777a !important; text-decoration: none !important; }
.wl-method .penci-breadcrumb i { color: #b4aa9a; }

.wl-method #footer-section,
.wl-method .footer-section { color: #dbe5e5; background: var(--atlas-ink) !important; border-top: 1px solid rgba(255, 255, 255, .1); }
.wl-method #footer-section a { color: #fff !important; }
.wl-atlas-footer { display: grid; width: min(1320px, calc(100% - 46px)); min-height: 74px; margin: 0 auto; align-items: center; grid-template-columns: auto 1fr auto; gap: 24px; }
.wl-atlas-footer-brand { font-family: var(--atlas-serif); font-size: 20px; font-weight: 700; letter-spacing: -.03em; text-decoration: none !important; }
.wl-atlas-footer-brand span { color: var(--atlas-coral); }
.wl-atlas-footer p { margin: 0 !important; color: #b9cbca !important; font: 500 11px/1.4 var(--atlas-sans) !important; }
.wl-atlas-footer nav { display: flex; gap: 20px; }
.wl-atlas-footer nav a { font: 700 11px var(--atlas-sans); letter-spacing: .04em; text-decoration: none !important; text-transform: uppercase; }

.wl-index-hero {
  position: relative;
  min-height: 200px;
  padding: 34px 38px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(11, 48, 58, .92), rgba(11, 48, 58, .38)), url("/atlas/world-of-twelve-panorama.webp");
  background-position: center 38%;
  background-size: cover;
  border-radius: var(--atlas-radius);
  box-shadow: var(--atlas-shadow-soft);
}
.wl-index-hero::after { position: absolute; inset: auto -80px -120px auto; width: 310px; height: 310px; content: ""; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .018); }
.wl-index-hero > div { position: relative; z-index: 1; max-width: 610px; }
.wl-kicker { color: #f0c66e; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.wl-index-hero h1 { margin: 5px 0 8px !important; color: #fff !important; font-family: var(--atlas-serif) !important; font-size: clamp(38px, 5vw, 58px) !important; font-weight: 700 !important; letter-spacing: -.04em; line-height: .98 !important; text-transform: none !important; }
.wl-index-hero p { max-width: 510px; margin: 0 !important; color: #e7eded; font-size: 15px !important; }

.wl-atlas-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--atlas-line);
  border-radius: 10px;
  box-shadow: var(--atlas-shadow-soft);
}
.wl-atlas-search { position: relative; display: flex; min-width: 260px; height: 44px; flex: 1; align-items: center; gap: 8px; padding: 0 10px 0 13px; background: #fff; border: 1px solid var(--atlas-line-strong); border-radius: 7px; }
.wl-atlas-search span { color: var(--atlas-ink-3); font-size: 21px; transform: rotate(-20deg); }
.wl-atlas-search input { width: 100%; height: 100%; padding: 0 !important; color: #26383b; background: transparent !important; border: 0 !important; outline: 0; box-shadow: none !important; font: 500 13px var(--atlas-sans) !important; }
.wl-atlas-search-clear { display: grid; width: 30px; height: 30px; flex: 0 0 30px; padding: 0; cursor: pointer; place-items: center; color: #536668; background: #f1ede4; border: 0; border-radius: 50%; font: 500 21px/1 var(--atlas-sans); }
.wl-atlas-search-clear:hover { color: #fff; background: var(--atlas-coral); }
.wl-atlas-search-clear[hidden] { display: none; }
.wl-level-filters { display: flex; gap: 4px; }
.wl-level-filters button { min-height: 44px; padding: 0 13px; color: #526668; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font: 700 11px var(--atlas-sans); }
.wl-level-filters button:hover { background: #f0ebe0; }
.wl-level-filters button.active { color: #fff; background: var(--atlas-ink); }
.wl-atlas-results { min-width: 72px; color: #687675; font: 700 11px/1.2 var(--atlas-sans); text-align: right; white-space: nowrap; }

.wl-dungeon-index .container.penci_sidebar.right-sidebar { display: block; padding-top: 28px; padding-bottom: 40px; }
.wl-dungeon-index #main { width: 100% !important; float: none !important; }
.wl-dungeon-index #sidebar { display: none !important; }
.wl-dungeon-index article { width: 100%; }
.wl-dungeon-index .inner-post-entry.entry-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.wl-dungeon-index .inner-post-entry > p:first-of-type,
.wl-dungeon-index .inner-post-entry > blockquote,
.wl-dungeon-index .wl-index-hero,
.wl-dungeon-index .wl-atlas-filters { grid-column: 1 / -1; }
.wl-dungeon-index .inner-post-entry > p:first-of-type { max-width: 880px; margin: 0 0 -6px; color: #5e6865; }
.wl-dungeon-index .inner-post-entry > .wp-block-spacer,
.wl-dungeon-index .inner-post-entry > hr { display: none; }

.wl-dungeon-level-card {
  display: block !important;
  min-height: 0;
  overflow: hidden;
  background: var(--atlas-surface);
  border: 1px solid var(--atlas-line);
  border-radius: 10px;
  box-shadow: var(--atlas-shadow-soft);
}
.wl-dungeon-level-card[hidden] { display: none !important; }
.wl-dungeon-level-card li[hidden],
.wl-atlas-empty[hidden] { display: none !important; }
.wl-dungeon-level-card .wp-block-media-text__media { width: 100%; height: auto; min-height: 0; overflow: hidden; aspect-ratio: 16 / 10; background: #102f38; }
.wl-dungeon-level-card .wp-block-media-text__media img { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; object-position: center; filter: saturate(.94) contrast(.98); transition: transform .35s ease, filter .35s ease; }
.wl-dungeon-level-card:hover .wp-block-media-text__media img { transform: scale(1.035); filter: saturate(1); }
.wl-dungeon-level-card .wp-block-media-text__content { padding: 24px !important; align-self: stretch; }
.wl-dungeon-level-card h2 { margin: 0 0 13px !important; color: var(--atlas-ink) !important; font-family: var(--atlas-serif) !important; font-size: 24px !important; letter-spacing: -.025em; text-transform: none !important; }
.wl-dungeon-level-card ul { display: grid; gap: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.wl-dungeon-level-card li { position: relative; display: flex; min-height: 39px; align-items: center; padding: 0 0 0 22px !important; color: #4d5c5c; border-bottom: 1px solid #eee8dc; font-size: 12px; }
.wl-dungeon-level-card li:last-child { border-bottom: 0; }
.wl-dungeon-level-card li::before { position: absolute !important; top: 50% !important; left: 2px !important; width: 8px !important; height: 8px !important; content: "" !important; background: var(--atlas-coral) !important; border-radius: 50% 50% 50% 0 !important; transform: translateY(-50%) rotate(-45deg); }
.wl-dungeon-level-card li img { width: 16px !important; height: auto !important; margin: 0 5px 0 0 !important; }
.wl-dungeon-level-card li a { display: flex; min-height: 38px; flex: 1; align-items: center; color: var(--atlas-ink-2) !important; font-weight: 750; text-decoration: none !important; }
.wl-dungeon-level-card li a:hover { color: var(--atlas-coral) !important; }
.wl-atlas-empty { grid-column: 1 / -1; padding: 34px; color: var(--atlas-muted); background: var(--atlas-surface); border: 1px dashed var(--atlas-line-strong); border-radius: 10px; text-align: center; }

/* Dimensional breaches inside the dungeon atlas. */
.wl-breach-section,
.wl-breach-library { grid-column: 1 / -1; }
.wl-breach-section {
  padding: 24px;
  background: linear-gradient(135deg, #0d3944 0%, #123f49 62%, #1a5660 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  box-shadow: var(--atlas-shadow-soft);
}
.wl-breach-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.wl-breach-section-heading h2 { margin: 4px 0 2px !important; color: #fff !important; font-family: var(--atlas-serif) !important; font-size: 30px !important; letter-spacing: -.03em; text-transform: none !important; }
.wl-breach-section-heading p { margin: 0 !important; color: #c9d9d8 !important; font: 500 13px/1.55 var(--atlas-sans) !important; }
.wl-breach-section-heading > a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; padding: 0 15px; color: #fff !important; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 7px; font: 750 11px var(--atlas-sans); text-decoration: none !important; }
.wl-breach-section-heading > a:hover { background: var(--atlas-coral); border-color: var(--atlas-coral); }
.wl-breach-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wl-breach-card {
  display: grid;
  min-height: 198px;
  overflow: hidden;
  grid-template-columns: minmax(150px, .82fr) minmax(0, 1.18fr);
  color: var(--atlas-ink) !important;
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(3, 22, 27, .22);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wl-breach-card:hover { color: var(--atlas-ink) !important; box-shadow: 0 15px 34px rgba(3, 22, 27, .29); transform: translateY(-2px); }
.wl-breach-card-image { position: relative; display: block; min-height: 198px; overflow: hidden; background-position: center; background-size: cover; }
.wl-breach-card-image::after { position: absolute; inset: 0; content: ""; box-shadow: inset -1px 0 rgba(255, 255, 255, .12); }
.wl-breach-card-image b { position: absolute; bottom: 14px; left: 14px; z-index: 1; padding: 7px 9px; color: #fff; background: var(--atlas-coral); border-radius: 5px; font: 800 11px var(--atlas-sans); }
.wl-breach-card-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 21px; }
.wl-breach-card-copy small { color: var(--atlas-coral-dark); font: 800 9px var(--atlas-sans); letter-spacing: .13em; text-transform: uppercase; }
.wl-breach-card-copy strong { margin: 7px 0 8px; color: var(--atlas-ink); font: 700 22px/1.08 var(--atlas-serif); letter-spacing: -.025em; }
.wl-breach-card-copy > span { color: #536665; font: 650 11px/1.4 var(--atlas-sans); }
.wl-breach-card-copy em { margin-top: 12px; color: #7b8580; font: 500 10px/1.45 var(--atlas-sans); }
.wl-breach-index .inner-post-entry.entry-content { grid-template-columns: 1fr; }
.wl-breach-index .wl-breach-library { padding: 4px 0 8px; }
.wl-breach-index .wl-breach-card { border-color: var(--atlas-line); box-shadow: var(--atlas-shadow-soft); }
.wl-breach-hero { background-image: linear-gradient(90deg, rgba(11, 48, 58, .94), rgba(11, 48, 58, .34)), url("/atlas/world-of-twelve-panorama.webp"); }

/* Dungeon guides */
.wl-dungeon-guide #soledad_wrapper { overflow: visible !important; }
.wl-dungeon-guide .penci-single-wrapper { padding: 0 0 34px; }
.wl-dungeon-guide .container.container-single.penci_sidebar {
  display: grid;
  width: min(1320px, calc(100% - 46px));
  grid-template-columns: 235px minmax(0, 1fr);
  grid-template-areas: "sidebar main";
  gap: 22px;
  align-items: start;
}
.wl-dungeon-guide #main { grid-area: main; width: auto !important; min-width: 0; float: none !important; }
.wl-dungeon-guide #sidebar { position: sticky !important; top: 102px; grid-area: sidebar; width: auto !important; align-self: start; float: none !important; }
.wl-dungeon-guide #sidebar .theiaStickySidebar { position: static !important; width: auto !important; transform: none !important; }
.wl-dungeon-guide #sidebar .widget { margin: 0 !important; }
.wl-dungeon-guide #sidebar .widget:not(:has(#ez-toc-container)) { display: none !important; }
.wl-dungeon-guide #ez-toc-container {
  position: relative;
  width: 100% !important;
  max-height: calc(100vh - 126px);
  padding: 16px !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: var(--atlas-line-strong) transparent;
  scrollbar-width: thin;
  background: rgba(255, 253, 248, .94) !important;
  border: 1px solid var(--atlas-line) !important;
  border-radius: 10px !important;
  box-shadow: var(--atlas-shadow-soft);
}
.wl-dungeon-guide #ez-toc-container .ez-toc-title { margin: 0 0 9px !important; padding-right: 28px; color: var(--atlas-ink) !important; font-family: var(--atlas-serif) !important; font-size: 18px !important; font-weight: 700 !important; }
.wl-dungeon-guide #ez-toc-container ul { margin: 0 !important; padding: 0 !important; }
.wl-dungeon-guide #ez-toc-container li { list-style: none !important; }
.wl-dungeon-guide #ez-toc-container a { position: relative; display: flex; min-height: 34px; align-items: center; padding: 7px 8px !important; color: #536768 !important; border-bottom: 1px solid #ebe5da; border-radius: 5px; font: 650 11px/1.25 var(--atlas-sans) !important; text-decoration: none !important; }
.wl-dungeon-guide #ez-toc-container a:hover,
.wl-dungeon-guide #ez-toc-container a.wl-active { color: var(--atlas-coral-dark) !important; background: #fbebe7; }
.wl-dungeon-guide #ez-toc-container a.wl-active::before { position: absolute; top: 7px; bottom: 7px; left: 0; width: 3px; content: ""; background: var(--atlas-coral); border-radius: 3px; }
.wl-dungeon-guide #ez-toc-container ul ul a { padding-left: 17px !important; color: #718082 !important; font-weight: 550 !important; }
.wl-toc-close { display: none; }

.wl-dungeon-guide article.post {
  overflow: hidden;
  background: var(--atlas-surface);
  border: 1px solid var(--atlas-line);
  border-radius: 11px;
  box-shadow: var(--atlas-shadow-soft);
}
.wl-dungeon-guide article .penci-breadcrumb { width: auto; padding: 15px 26px 11px; }
.wl-guide-banner { min-height: 285px; margin: 0 20px; background-color: #d9c9aa; background-position: center; background-size: cover; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(16, 54, 66, .18); }
.wl-guide-banner-marteaux { background-image: linear-gradient(0deg, rgba(14, 46, 53, .14), transparent 45%), url("/atlas/marteaux-aigris-banner.webp"); }
.wl-method-banner { min-height: clamp(220px, 25vw, 330px); background-position: center; }
.wl-generated-banner { position: relative; overflow: hidden; background-image: linear-gradient(90deg, rgba(12, 47, 55, .76), rgba(12, 47, 55, .06)), url("/atlas/world-of-twelve-panorama.webp"); }
.wl-generated-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(13, 50, 58, .24), transparent 58%); pointer-events: none; }
.wl-generated-banner > img { position: absolute; right: clamp(20px, 7vw, 92px); bottom: -7%; z-index: 1; width: min(34%, 290px); height: 92%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 14px 18px rgba(8, 32, 38, .42)); }
.wl-dungeon-guide .header-standard { margin: -34px 30px 0 !important; padding: 22px 25px 18px !important; background: rgba(255, 253, 248, .96); border: 1px solid var(--atlas-line); border-radius: 10px; box-shadow: var(--atlas-shadow-soft); text-align: left !important; }
.wl-dungeon-guide .header-standard h1 { margin: 0 !important; color: var(--atlas-ink) !important; font-family: var(--atlas-serif) !important; font-size: clamp(30px, 4vw, 46px) !important; font-weight: 700 !important; letter-spacing: -.045em; line-height: 1.02 !important; text-transform: none !important; }
.wl-dungeon-guide .post-box-meta-single { margin: 10px 0 0 !important; color: #8b8b82 !important; text-align: left !important; }
.wl-guide-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; color: #42595c; font-size: 11px; font-weight: 700; }
.wl-guide-facts span { position: relative; display: inline-flex; min-height: 28px; align-items: center; padding: 5px 10px 5px 23px; background: #eef1e9; border: 1px solid #d8ddcf; border-radius: 6px; }
.wl-guide-facts span::before { position: absolute; top: 50%; left: 10px; width: 7px; height: 7px; content: ""; background: var(--atlas-gold); border-radius: 50% 50% 50% 0; transform: translateY(-50%) rotate(-45deg); }
.wl-guide-facts span:first-child { color: #fff; background: var(--atlas-ink); border-color: var(--atlas-ink); }
.wl-guide-facts span:first-child::before { background: var(--atlas-coral); }

.wl-dungeon-guide .post-entry { margin: 0 !important; padding: 28px 32px 38px; }
.wl-dungeon-guide .post-entry,
.wl-dungeon-guide .post-entry p,
.wl-dungeon-guide .post-entry li { color: #38494a; font-family: var(--atlas-sans) !important; font-size: 14px !important; line-height: 1.72 !important; }
.wl-dungeon-guide .post-entry p,
.wl-dungeon-guide .post-entry li { text-wrap: pretty; }
.wl-dungeon-guide .post-entry :is(h1, h2, h3, h4) { text-wrap: balance; }
.wl-dungeon-guide .post-entry a { color: var(--atlas-coral) !important; }
.wl-dungeon-guide .post-entry > .inner-post-entry > p:first-child { color: #5d6b6a; font-family: var(--atlas-serif) !important; font-size: 16px !important; }
.wl-dungeon-guide .post-entry h2 { display: flex; align-items: center; gap: 10px; margin: 42px 0 22px !important; padding-top: 4px; color: var(--atlas-ink) !important; font-family: var(--atlas-serif) !important; font-size: 29px !important; font-weight: 700 !important; letter-spacing: -.03em; text-transform: none !important; }
.wl-dungeon-guide .post-entry h2::before { display: block; width: 29px; height: 29px; flex: 0 0 29px; content: ""; background: radial-gradient(circle at center, var(--atlas-gold) 0 3px, transparent 3.5px), var(--atlas-ink); border-radius: 8px 8px 8px 2px; }
.wl-dungeon-guide .post-entry h3 { margin: 28px 0 14px !important; color: var(--atlas-ink-2) !important; font-family: var(--atlas-serif) !important; font-size: 22px !important; letter-spacing: -.02em; text-transform: none !important; }
.wl-dungeon-guide .post-entry h4 { color: var(--atlas-ink-2) !important; font-family: var(--atlas-serif) !important; font-size: 18px !important; }
.wl-dungeon-guide .post-entry :is(h2, h3)[id] { scroll-margin-top: 104px; }
.wl-dungeon-guide .post-entry hr { width: 86px !important; margin: 30px auto !important; border: 0 !important; border-top: 1px solid var(--atlas-line-strong) !important; opacity: 1 !important; }
.wl-dungeon-guide .post-entry blockquote {
  margin: 18px 0 !important;
  padding: 16px 19px !important;
  color: #4c5553 !important;
  background: #f8eee8 !important;
  border: 0 !important;
  border-left: 3px solid var(--atlas-coral) !important;
  border-radius: 0 8px 8px 0;
}
.wl-dungeon-guide .post-entry blockquote::before { display: none !important; }
.wl-dungeon-guide .post-entry blockquote p { margin: 0 !important; }
.wl-dungeon-guide .post-entry ul { padding-left: 23px !important; }
.wl-dungeon-guide .post-entry ul li::before { background: var(--atlas-coral) !important; }
.wl-dungeon-guide figure img { border-radius: 8px; }
.wl-dungeon-guide figcaption { color: var(--atlas-muted) !important; font: 500 11px var(--atlas-sans) !important; }
.wl-dungeon-guide .post-entry table { display: block; width: 100% !important; max-width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; overscroll-behavior-inline: contain; scrollbar-color: var(--atlas-line-strong) transparent; scrollbar-width: thin; }
.wl-dungeon-guide .post-entry table th { color: #fff; background: var(--atlas-ink); }
.wl-dungeon-guide .post-entry table :is(th, td) { min-width: 96px; padding: 10px 12px !important; border-color: var(--atlas-line) !important; }
.wl-dungeon-guide .post-entry table tr:nth-child(even) td { background: #f8f4ea; }

/* Breach guides */
.wl-breach-guide .wl-breach-banner { min-height: clamp(250px, 28vw, 365px); background-position: center; }
.wl-breach-guide .wl-breach-location,
.wl-breach-guide .wl-breach-arena { overflow: hidden; background: #f3eee3; border: 1px solid var(--atlas-line); border-radius: 9px; box-shadow: var(--atlas-shadow-soft); }
.wl-breach-guide .wl-breach-location { max-width: 690px; margin: 18px auto !important; }
.wl-breach-guide .wl-breach-arena { margin: 20px 0 !important; }
.wl-breach-guide :is(.wl-breach-location, .wl-breach-arena) img { display: block; width: 100%; height: auto; border-radius: 0; }
.wl-breach-guide :is(.wl-breach-location, .wl-breach-arena) figcaption { margin: 0 !important; padding: 9px 12px; background: #f3eee3; border-top: 1px solid var(--atlas-line); text-align: center; }
.wl-breach-guide .wl-location-card { display: grid; max-width: 690px; min-height: 154px; margin: 18px auto; padding: 26px 30px; align-content: center; background: radial-gradient(circle at 82% 18%, rgba(221, 172, 68, .24), transparent 28%), linear-gradient(135deg, #0f3b46, #1a5560); border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; box-shadow: var(--atlas-shadow-soft); }
.wl-breach-guide .wl-location-card span { color: #e3bd68; font: 800 10px var(--atlas-sans); letter-spacing: .16em; text-transform: uppercase; }
.wl-breach-guide .wl-location-card strong { margin: 4px 0; color: #fff; font: 700 31px var(--atlas-serif); letter-spacing: -.025em; }
.wl-breach-guide .wl-location-card small { color: #c5d6d4; font: 600 11px var(--atlas-sans); }
.wl-breach-card-ultimate { border-color: rgba(212,79,66,.45); }
.wl-breach-card-ultimate .wl-breach-card-copy small { color: var(--atlas-coral-dark); }
.wl-breach-rules { display: grid; margin: 20px 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.wl-breach-rules article { min-height: 92px; padding: 16px; background: var(--atlas-ink); border-bottom: 3px solid var(--atlas-coral); border-radius: 7px; }
.wl-breach-rules strong { display: block; color: #f1c76c; font: 700 24px/1 var(--atlas-serif); }
.wl-breach-rules span { display: block; margin-top: 8px; color: #d7e1df; font: 600 10px/1.35 var(--atlas-sans); }
.wl-breach-guide .wl-monster-profile > .wl-monster-role { display: inline-flex; margin: -6px 0 14px !important; padding: 5px 9px; color: #6d6559; background: #eee8da; border-radius: 4px; font: 800 9px var(--atlas-sans) !important; letter-spacing: .08em; text-transform: uppercase; }
.wl-breach-family-grid { display: grid; margin: 16px 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wl-breach-family { display: grid; min-height: 106px; overflow: hidden; grid-template-columns: 94px minmax(0, 1fr); align-items: center; color: var(--atlas-ink) !important; background: linear-gradient(145deg, #fffdf8, #f3ede1); border: 1px solid var(--atlas-line); border-radius: 8px; box-shadow: 0 5px 14px rgba(16, 54, 66, .055); text-decoration: none !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.wl-breach-family:hover { color: var(--atlas-ink) !important; border-color: rgba(212, 79, 66, .5); box-shadow: 0 9px 21px rgba(16, 54, 66, .11); transform: translateY(-1px); }
.wl-breach-family-art { display: grid; height: 100%; min-height: 106px; padding: 10px; place-items: center; background: radial-gradient(circle at 50% 44%, #285763, #0d3039 74%); }
.wl-breach-family-art img { width: 100%; max-height: 88px; object-fit: contain; }
.wl-breach-family > span:last-child { display: grid; padding: 15px; gap: 6px; }
.wl-breach-family strong { color: var(--atlas-ink); font: 700 18px/1.1 var(--atlas-serif); }
.wl-breach-family small { color: var(--atlas-muted); font: 600 10px/1.5 var(--atlas-sans); }
.wl-reference-monster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(205px, 30%); gap: 24px; align-items: start; }
.wl-reference-monster > figure { width: 100% !important; margin: 0 !important; }
.wl-reference-monster > figure img { display: block; width: 100% !important; height: auto; }
.wl-reference-monster > figure.wl-client-illustration { display: grid; min-height: 230px; padding: 22px; place-items: center; background: radial-gradient(circle at 50% 40%, #285763, #0d3039 72%); border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; }
.wl-reference-monster > figure.wl-client-illustration img { max-height: 210px; object-fit: contain; }
.wl-breach-guide .wl-monster-profile .stasis-monster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 30%); gap: 24px; align-items: start; }
.wl-breach-guide .wl-monster-profile .stasis-right { float: none; width: 100%; margin: 0; }
.wl-breach-guide .wl-monster-profile .stasis-card { width: 100%; }
.wl-breach-guide .wl-monster-profile .wl-monster-art {
  display: flex;
  width: 54%;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.wl-breach-guide .wl-monster-profile .wl-monster-art img {
  display: block;
  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;
  max-height: 200px !important;
  object-fit: contain;
  object-position: center;
}
.wl-breach-guide .wl-wave-table table { min-width: 620px; }
.wl-breach-guide .wl-wave-table td:first-child { color: var(--atlas-coral-dark); }
.wl-breach-guide .wl-wave-table figcaption { margin: 0 !important; padding: 9px 12px; color: var(--atlas-muted); background: #f3eee3; border: 1px solid var(--atlas-line); border-top: 0; }
.wl-breach-guide .wl-demonic-table table { min-width: 720px; }
.wl-breach-guide .wl-demonic-table td:first-child { color: var(--atlas-coral-dark); }
.wl-sockets { display: inline-flex; min-width: 78px; align-items: center; gap: 5px; }
.wl-sockets i { display: block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .72); border-radius: 50%; box-shadow: 0 0 0 1px rgba(12, 47, 55, .16), inset 0 1px 2px rgba(0, 0, 0, .2); }
.wl-socket-red { background: #cf5543; }
.wl-socket-green { background: #7b9841; }
.wl-socket-blue { background: #3496ba; }
.wl-breach-guide .wl-sublimation-table td:nth-child(2) { color: var(--atlas-ink-2); }
.wl-breach-drop-sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.wl-breach-drop-sheets figure { overflow: hidden; margin: 0 !important; background: #f3eee3; border: 1px solid var(--atlas-line); border-radius: 8px; }
.wl-breach-drop-sheets img { display: block; width: 100%; height: auto; border-radius: 0 !important; }
.wl-breach-drop-sheets figcaption { margin: 0 !important; padding: 9px 11px; border-top: 1px solid var(--atlas-line); }
.wl-drop-family { margin: 22px 0 28px; }
.wl-drop-family h4 { margin: 0 0 11px !important; padding-bottom: 8px; border-bottom: 1px solid var(--atlas-line); }
.wl-drop-family .dun-card-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-drop-family .dun-card img { background: #f2ede2; border: 1px solid var(--atlas-line); border-radius: 5px; }
.wl-drop-family .wl-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.wl-drop-family .wl-item-rarity { padding: 2px 6px; color: #fff; background: #66706e; border-radius: 4px; font-size: 9px; font-weight: 800; line-height: 1.35; }
.wl-drop-family .wl-rarity-2 { background: #b16e2d; }
.wl-drop-family .wl-rarity-3 { background: #8c5ba3; }
.wl-drop-family .wl-rarity-4 { background: #bd8f21; }
.wl-drop-family .wl-rarity-5 { background: #9a553e; }
.wl-drop-family .wl-rarity-7 { background: #be606c; }

/* Encounter profiles: each monster reads like a compact in-game dossier. */
.wl-dungeon-guide .wl-monster-profile {
  display: flow-root;
  margin: 18px 0 26px;
  padding: 19px 20px 20px;
  background: linear-gradient(145deg, #fffdf8 0%, #f8f4ea 100%);
  border: 1px solid var(--atlas-line);
  border-top: 3px solid var(--atlas-ink-2);
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(16, 54, 66, .065);
}
.wl-dungeon-guide .wl-monster-profile > .wl-monster-heading { margin: 0 0 16px !important; padding: 0 0 12px; border-bottom: 1px solid var(--atlas-line); }
.wl-dungeon-guide .wl-monster-profile > hr:last-child { display: none; }
.wl-dungeon-guide .wl-monster-profile > :last-child { margin-bottom: 0 !important; }
.wl-dungeon-guide .wl-monster-profile > .stasis-monster { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.wl-dungeon-guide .wl-monster-profile figure.alignright,
.wl-dungeon-guide .wl-monster-profile figure.wp-block-image.alignright {
  width: min(270px, 36%);
  margin: 0 0 16px 24px !important;
}
.wl-dungeon-guide .wl-monster-profile figure.alignleft,
.wl-dungeon-guide .wl-monster-profile figure.wp-block-image.alignleft {
  width: min(270px, 36%);
  margin: 0 24px 16px 0 !important;
}
.wl-dungeon-guide .wl-monster-profile figure img { width: 100%; height: auto; }
.wl-dungeon-guide .wl-monster-profile .wl-spell-list {
  display: grid;
  gap: 8px;
  margin: 11px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.wl-dungeon-guide .wl-monster-profile .wl-spell-list > li {
  position: relative;
  margin: 0 !important;
  padding: 10px 12px 10px 31px !important;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e5ded1;
  border-radius: 6px;
  list-style: none !important;
}
.wl-dungeon-guide .wl-monster-profile .wl-spell-list > li::before {
  position: absolute !important;
  top: 16px !important;
  left: 13px !important;
  width: 7px !important;
  height: 7px !important;
  content: "" !important;
  background: var(--atlas-coral) !important;
  border-radius: 50% 50% 50% 0 !important;
  transform: rotate(-45deg);
}
.wl-dungeon-guide .wl-monster-profile .wl-spell-list ul { display: grid; gap: 4px; margin: 7px 0 0 !important; padding: 7px 0 0 18px !important; border-top: 1px dashed var(--atlas-line); }
.wl-dungeon-guide .wl-monster-profile .wl-spell-list ul li { padding: 0 !important; color: #566463; font-size: 13px !important; }
.wl-dungeon-guide .wl-monster-profile .wl-spell-list ul li::before { width: 4px !important; height: 4px !important; background: var(--atlas-gold) !important; }

.wl-dungeon-guide .wl-dungeon-heading,
.wl-dungeon-guide .wl-strategy-heading,
.wl-dungeon-guide .wl-stele-heading,
.wl-dungeon-guide .wl-drops-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--atlas-line);
}
.wl-dungeon-guide .wl-guide-figure { overflow: hidden; background: #f3eee3; border: 1px solid var(--atlas-line); border-radius: 9px; box-shadow: var(--atlas-shadow-soft); }
.wl-dungeon-guide .wl-guide-figure img { display: block; width: 100%; height: auto; border-radius: 0; }
.wl-dungeon-guide .wl-guide-figure figcaption { margin: 0 !important; padding: 9px 12px; background: #f3eee3; border-top: 1px solid var(--atlas-line); }
.wl-dungeon-guide .wl-dungeon-route {
  margin: 22px 0 31px !important;
  overflow: visible;
}
.wl-dungeon-guide .wl-dungeon-route-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.wl-dungeon-guide .wl-dungeon-route-room {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 254px;
  flex-direction: column;
  padding: 15px 14px 14px;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 14%, rgba(214, 170, 73, .17), transparent 29%),
    linear-gradient(155deg, #fffdf8 0%, #f3eee3 100%);
  border: 1px solid var(--atlas-line-strong);
  border-top: 3px solid var(--atlas-ink-2);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(16, 54, 66, .075);
}
.wl-dungeon-guide .wl-dungeon-route-room:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 46px;
  right: -21px;
  display: grid;
  width: 26px;
  height: 26px;
  content: "›";
  place-items: center;
  color: #fff;
  background: var(--atlas-coral);
  border: 3px solid #f8f4ea;
  border-radius: 50%;
  font: 800 18px/1 var(--atlas-sans);
}
.wl-dungeon-guide .wl-dungeon-route-room > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--atlas-line);
}
.wl-dungeon-guide .wl-dungeon-route-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #fff;
  background: var(--atlas-ink);
  border-radius: 50% 50% 50% 13px;
  font: 800 14px/1 var(--atlas-sans);
}
.wl-dungeon-guide .wl-dungeon-route-room header div { display: grid; gap: 1px; min-width: 0; }
.wl-dungeon-guide .wl-dungeon-route-room header small {
  color: var(--atlas-coral-dark);
  font: 800 9px/1.1 var(--atlas-sans);
  letter-spacing: .09em;
}
.wl-dungeon-guide .wl-dungeon-route-room header strong {
  overflow: hidden;
  color: var(--atlas-ink);
  font: 700 17px/1.18 var(--atlas-serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wl-dungeon-guide .wl-dungeon-route-portraits {
  display: flex;
  height: 93px;
  align-items: end;
  justify-content: center;
  margin: 9px -4px 3px;
}
.wl-dungeon-guide .wl-dungeon-route-portraits img {
  width: 62px;
  height: 90px;
  margin-left: -17px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 6px 5px rgba(11, 42, 51, .2));
}
.wl-dungeon-guide .wl-dungeon-route-portraits img:first-child { margin-left: 0; }
.wl-dungeon-guide .wl-dungeon-route-boss { border-top-color: var(--atlas-coral); }
.wl-dungeon-guide .wl-dungeon-route-boss .wl-dungeon-route-number { background: var(--atlas-coral); }
.wl-dungeon-guide .wl-dungeon-route-boss .wl-dungeon-route-portraits img { width: 49px; }
.wl-dungeon-guide .wl-dungeon-route-boss .wl-dungeon-route-portraits img:first-child { z-index: 1; width: 82px; }
.wl-dungeon-guide .wl-dungeon-route-room > p {
  min-height: 33px;
  margin: 0 0 8px !important;
  color: #566463;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1.42 !important;
  text-align: center;
}
.wl-dungeon-guide .wl-dungeon-route-tip {
  display: grid;
  min-height: 51px;
  margin-top: auto;
  padding: 8px 9px;
  align-content: center;
  gap: 2px;
  background: rgba(16, 54, 66, .07);
  border-radius: 6px;
}
.wl-dungeon-guide .wl-dungeon-route-tip b {
  color: var(--atlas-coral-dark);
  font: 800 9px/1 var(--atlas-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wl-dungeon-guide .wl-dungeon-route-tip span { color: #354747; font: 650 11px/1.35 var(--atlas-sans); }
.wl-dungeon-guide .wl-dungeon-route > figcaption {
  margin: 9px 0 0 !important;
  color: var(--atlas-muted) !important;
  text-align: center;
}
.wl-dungeon-guide .wl-achievement-list { display: grid; gap: 8px; margin: 14px 0 0 !important; padding: 0 !important; list-style: none !important; }
.wl-dungeon-guide .wl-achievement-list > li { position: relative; margin: 0 !important; padding: 11px 13px 11px 36px !important; background: #f8f4ea; border: 1px solid var(--atlas-line); border-radius: 7px; }
.wl-dungeon-guide .wl-achievement-list > li::before { top: 16px !important; left: 14px !important; width: 9px !important; height: 9px !important; background: var(--atlas-gold) !important; border-radius: 50% !important; box-shadow: inset 0 0 0 2px #fff4cf; }

.wl-dungeon-guide .wl-nutshell { margin: 0 0 34px; }
.wl-dungeon-guide .wl-nutshell > .wl-nutshell-heading { margin-top: 0 !important; }
.wl-dungeon-guide .wl-nutshell-card {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #f8f4ea 0%, #fffdf8 70%);
  border: 1px solid var(--atlas-line-strong);
  border-left: 4px solid var(--atlas-coral);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 10px 24px rgba(16, 54, 66, .08);
}
.wl-dungeon-guide .wl-nutshell-card::after {
  position: absolute;
  top: -46px;
  right: -38px;
  width: 130px;
  height: 130px;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 170, 73, .15), transparent 68%);
}
.wl-dungeon-guide .wl-nutshell:not(.wl-nutshell-existing) .wl-nutshell-card > ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.wl-dungeon-guide .wl-nutshell:not(.wl-nutshell-existing) .wl-nutshell-card > ul > li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: baseline;
  gap: 13px;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--atlas-line);
}
.wl-dungeon-guide .wl-nutshell:not(.wl-nutshell-existing) .wl-nutshell-card > ul > li:last-child { border-bottom: 0; }
.wl-dungeon-guide .wl-nutshell:not(.wl-nutshell-existing) .wl-nutshell-card > ul > li::before { display: none !important; }
.wl-dungeon-guide .wl-nutshell-card p { margin: 0 !important; color: #354747; font-size: 14px !important; line-height: 1.55 !important; }
.wl-dungeon-guide .wl-nutshell-label {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  color: #fff;
  background: var(--atlas-ink);
  border-radius: 5px;
  font: 750 9px/1 var(--atlas-sans);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-card { padding: 16px 20px; }
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-card > ul { margin: 0 !important; }
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-essentials {
  margin: 18px 0 0 !important;
  padding: 12px 0 0 !important;
  list-style: none !important;
  border-top: 1px solid var(--atlas-line);
}
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-essentials > li {
  display: grid;
  margin: 0 !important;
  padding: 11px 0 !important;
  align-items: baseline;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--atlas-line);
}
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-essentials > li:last-child { border-bottom: 0; }
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-essentials > li::before { display: none !important; }
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-card > :first-child { margin-top: 0 !important; }
.wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-card > :last-child { margin-bottom: 0 !important; }
.wl-dungeon-guide #ez-toc-container .wl-nutshell-toc a { font-weight: 800 !important; }

.wl-dungeon-guide .stasis-monster {
  gap: 22px !important;
  align-items: flex-start;
  padding: 19px;
  background: #fcfaf4;
  border: 1px solid var(--atlas-line);
  border-radius: 10px;
}
.wl-dungeon-guide .stasis-monster .stasis-left { flex: 1; min-width: 0; }
.wl-dungeon-guide .stasis-card { overflow: hidden; background: #f6f1e6 !important; border: 1px solid var(--atlas-line-strong); border-radius: 9px !important; box-shadow: 0 8px 20px rgba(16, 54, 66, .1) !important; }
.wl-dungeon-guide .stasis-card-title { color: #fff !important; background: var(--atlas-ink) !important; }
.wl-dungeon-guide .stasis-card-content,
.wl-dungeon-guide .stasis-card-elems { background: #f7f2e7 !important; }
.wl-dungeon-guide .stasis-card-elems > div { background: #ebe4d7 !important; border-radius: 4px; }
.wl-dungeon-guide .wl-spell-list { display: grid; gap: 12px; margin: 13px 0 2px !important; padding-left: 22px !important; }
.wl-dungeon-guide .wl-spell-list > li { padding-left: 4px !important; }
.wl-dungeon-guide .wl-spell-list > li::before { top: 10px !important; width: 5px !important; height: 5px !important; border-radius: 0 !important; }
.wl-dungeon-guide .wl-spell-list ul { margin: 7px 0 0 !important; padding-left: 22px !important; }
.wl-dungeon-guide .wl-spell-list ul li { color: #52605f; font-size: 13px !important; }
.wl-dungeon-guide .wl-monster-mechanics { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--atlas-line); }
.wl-dungeon-guide .wl-monster-mechanics p:first-child { margin-top: 0 !important; }
.wl-dungeon-guide .wl-monster-mechanics p:last-child,
.wl-dungeon-guide .wl-monster-mechanics ul:last-child { margin-bottom: 0 !important; }
.wl-dungeon-guide .dun-card-container { gap: 9px; }
.wl-dungeon-guide .dun-card { min-height: 60px; margin: 0 !important; padding: 5px 8px 5px 5px !important; overflow: hidden; background: #fffdf8 !important; border: 1px solid var(--atlas-line) !important; border-radius: 7px; }
.wl-dungeon-guide .dun-card:hover { border-color: var(--atlas-gold) !important; box-shadow: 0 5px 15px rgba(16, 54, 66, .08); transform: translateY(-1px); }
.wl-dungeon-guide .dun-card-left > img { width: 50px !important; height: 50px !important; object-fit: contain; border-color: var(--atlas-line-strong) !important; border-radius: 5px; }
.wl-dungeon-guide .dun-card-info { gap: 3px; }
.wl-dungeon-guide .dun-card-info > a { color: var(--atlas-ink-2) !important; font-weight: 750; line-height: 1.25; }
.wl-dungeon-guide .dun-card-drop { width: max-content; padding: 2px 6px; color: #fff; background: var(--atlas-coral-dark); border-radius: 4px; font-size: 10px; font-weight: 800; }
.wl-dungeon-guide .dun-card > div:last-child { padding: 3px 7px; color: #fff; background: var(--atlas-ink); border-radius: 4px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.wl-dungeon-guide .post-tags { margin-left: 32px; }
.wl-dungeon-guide .wl-mechanic-list { display: grid; gap: 9px; margin: 14px 0 20px !important; padding: 0 !important; list-style: none !important; }
.wl-dungeon-guide .wl-mechanic-list li { position: relative; padding: 13px 16px 13px 39px !important; background: #f8f4ea; border: 1px solid var(--atlas-line); border-radius: 8px; }
.wl-dungeon-guide .wl-mechanic-list li::before { top: 20px !important; left: 16px !important; width: 9px !important; height: 9px !important; background: var(--atlas-coral) !important; border-radius: 50% 50% 50% 0 !important; transform: rotate(-45deg); }
.wl-dungeon-guide .wl-monster-art { display: grid; min-width: 122px; min-height: 128px; place-items: center; }
.wl-dungeon-guide .wl-monster-placeholder { display: grid; width: 92px; height: 92px; place-items: center; color: var(--atlas-gold); background: var(--atlas-ink); border-radius: 50% 50% 50% 15%; font: 700 30px var(--atlas-serif); transform: rotate(-4deg); }
.wl-dungeon-guide .wl-token-placeholder { display: grid; width: 54px; height: 54px; place-items: center; color: #fff; background: var(--atlas-gold); border-radius: 7px; font-size: 23px; }
.wl-dungeon-guide .elem-fire { color: #c95843; font-weight: 750; }
.wl-dungeon-guide .elem-water { color: #3495b6; font-weight: 750; }
.wl-dungeon-guide .elem-earth { color: #778b3b; font-weight: 750; }
.wl-dungeon-guide .elem-air { color: #8867a8; font-weight: 750; }
.wl-dungeon-guide .danger { color: #c94d40; font-weight: 750; }
.wl-dungeon-guide .state-name,
.wl-dungeon-guide .accent-bold { color: var(--atlas-coral); font-weight: 750; }

.wl-resistance-toggle { display: none; }
.wl-guide-tools { position: fixed; z-index: 2147482900; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.wl-guide-tools button { min-width: 44px; min-height: 44px; cursor: pointer; color: #fff; background: var(--atlas-ink); border: 1px solid rgba(255, 255, 255, .2); border-radius: 9px; box-shadow: 0 8px 24px rgba(7, 35, 43, .24); pointer-events: auto; }
.wl-guide-tools button:hover { background: var(--atlas-ink-2); transform: translateY(-1px); }
.wl-guide-toc-toggle { display: none; align-items: center; gap: 9px; padding: 0 15px; font: 750 12px var(--atlas-sans); }
.wl-guide-toc-toggle .wl-current-section { color: #d3ad62; font: 700 10px var(--atlas-sans); }
.wl-guide-toc-icon { display: grid; width: 16px; gap: 3px; }
.wl-guide-toc-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.wl-back-to-top { display: grid; padding: 0; place-items: center; font: 700 21px/1 var(--atlas-sans); opacity: 0; transform: translateY(8px); visibility: hidden; }
.wl-back-to-top.wl-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.wl-toc-backdrop { display: none; }

.wl-dungeon-guide .wl-zoomable { cursor: zoom-in; }
.wl-dungeon-guide .wl-zoomable:hover { box-shadow: 0 10px 28px rgba(16, 54, 66, .2); filter: saturate(1.04); transform: translateY(-1px); }
.wl-media-viewer {
  width: min(1180px, calc(100vw - 38px));
  max-width: none;
  max-height: calc(100dvh - 38px);
  padding: 46px 16px 16px;
  overflow: hidden;
  background: rgba(11, 42, 51, .98);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(4, 21, 26, .55);
}
.wl-media-viewer::backdrop { background: rgba(6, 24, 30, .82); backdrop-filter: blur(7px); }
.wl-media-viewer figure { display: grid; height: calc(100dvh - 102px); margin: 0 !important; place-items: center; grid-template-rows: minmax(0, 1fr) auto; }
.wl-media-viewer img { width: auto !important; max-width: 100%; height: auto !important; max-height: 100%; object-fit: contain; border-radius: 7px; }
.wl-media-viewer figcaption { width: 100%; padding: 12px 10px 1px; color: #e4eded !important; text-align: center; }
.wl-media-close { position: absolute; top: 9px; right: 10px; display: grid; width: 36px; height: 36px; padding: 0; cursor: pointer; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 7px; font: 400 25px/1 var(--atlas-sans); }
.wl-media-close:hover { background: var(--atlas-coral); }

/* Zenith builder, without changing its application behavior */
.wl-builder-page { min-height: 100vh; overflow-y: auto !important; }
.wl-builder-page .layer { min-height: calc(100vh - 78px); padding: 28px 18px 42px; background: linear-gradient(rgba(246, 242, 232, .78), rgba(246, 242, 232, .9)); }
.wl-builder-page .builder-container { width: min(1320px, 100%); min-height: 680px; margin: 0 auto; color: #34494b; }
.wl-builder-page .builder-container .bg-gray-800.relative.z-50 { display: none !important; }
.wl-builder-page .builder-container > .app,
.wl-builder-page .builder-container .app { border-radius: 12px; }
.wl-builder-page .builder-container .app > .flex,
.wl-builder-page .builder-container .app > div > .flex { width: 100% !important; max-width: none !important; padding: 0 !important; }
.wl-builder-page .builder-container .zn-block-wrapper,
.wl-builder-page .builder-container .builder-searcher,
.wl-builder-page .builder-container .top-side,
.wl-builder-page .builder-container .middle-side {
  overflow: hidden;
  background: rgba(255, 253, 248, .96) !important;
  border: 1px solid var(--atlas-line) !important;
  border-radius: 10px !important;
  box-shadow: var(--atlas-shadow-soft) !important;
}
.wl-builder-page .builder-container .zn-block-header {
  min-height: 51px;
  align-items: center;
  color: #fff !important;
  background: var(--atlas-ink) !important;
  border-bottom: 2px solid var(--atlas-coral);
  font-family: var(--atlas-serif) !important;
  font-size: 22px !important;
  letter-spacing: -.02em;
  text-transform: none !important;
}
.wl-builder-page .builder-container .zn-title { font-family: var(--atlas-serif) !important; text-transform: none !important; }
.wl-builder-page .builder-container .zn-inner-block,
.wl-builder-page .builder-container .bg-dgrey,
.wl-builder-page .builder-container .bg-wreqs { color: #34494b !important; background: #f7f2e8 !important; }
.wl-builder-page .builder-container .zn-inner-block .zn-title,
.wl-builder-page .builder-container .zn-inner-block .MuiTypography-root,
.wl-builder-page .builder-container .zn-inner-block .filter-level-title,
.wl-builder-page .builder-container .zn-inner-block .text-subtitle { color: #34494b !important; }
.wl-builder-page .builder-container .zn-block-header,
.wl-builder-page .builder-container .zn-block-header * { color: #fff !important; }
.wl-builder-page .builder-container [class*="xl:sticky"] .zn-title { color: #536364 !important; font-family: var(--atlas-sans) !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .045em; text-transform: uppercase !important; }
.wl-builder-page .builder-container .bg-mainDark,
.wl-builder-page .builder-container .bg-gray-900,
.wl-builder-page .builder-container .bg-black { background-color: var(--atlas-ink) !important; }
.wl-builder-page .builder-container .bg-gray-700,
.wl-builder-page .builder-container .bg-gray-800 { background-color: var(--atlas-ink-2) !important; }
.wl-builder-page .builder-container input,
.wl-builder-page .builder-container select {
  color: #273b3d !important;
  background: #fffdf8 !important;
  border: 1px solid var(--atlas-line-strong) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
.wl-builder-page .builder-container button { border-radius: 6px; }
.wl-builder-page .builder-container .search-buttons button,
.wl-builder-page .builder-container button.bg-eqs { color: #fff !important; background: var(--atlas-coral) !important; }
.wl-builder-page .builder-container .top-side::after,
.wl-builder-page .builder-container .bottom-side::after { border-color: var(--atlas-line) !important; }
.wl-builder-page .builder-container .result-wrapper .item-result,
.wl-builder-page .builder-container .item-result { margin-bottom: 8px; padding: 10px !important; background: #fffdf8; border: 1px solid var(--atlas-line); border-radius: 8px !important; }
.wl-builder-page .builder-container .equipment,
.wl-builder-page .builder-container .stats-body,
.wl-builder-page .builder-container .aptitude-body,
.wl-builder-page .builder-container .shard-slot { background-color: #eae4d8 !important; color: #324647 !important; }
.wl-builder-page .builder-container .equipment:hover { box-shadow: 0 8px 18px rgba(16, 54, 66, .13) !important; }
.wl-builder-page .builder-container .item-header,
.wl-builder-page .builder-container .item-stats { color: #294143 !important; }
.wl-builder-page .builder-container .MuiTypography-root,
.wl-builder-page .builder-container .filter-level-title { color: #34494b !important; }
.wl-builder-page .builder-container .text-white { color: #34494b !important; }
.wl-builder-page .builder-container .zn-block-header *,
.wl-builder-page .builder-container button.text-white,
.wl-builder-page .builder-container .bg-mainDark.text-white,
.wl-builder-page .builder-container .bg-mainDark .text-white,
.wl-builder-page .builder-container .bg-gray-700.text-white,
.wl-builder-page .builder-container .bg-gray-700 .text-white,
.wl-builder-page .builder-container .bg-gray-800.text-white,
.wl-builder-page .builder-container .bg-gray-800 .text-white,
.wl-builder-page .builder-container .bg-gray-900.text-white,
.wl-builder-page .builder-container .bg-gray-900 .text-white,
.wl-builder-page .builder-container .bg-black.text-white,
.wl-builder-page .builder-container .bg-black .text-white,
.wl-builder-page .builder-container button .MuiButton-label { color: #fff !important; }
.wl-builder-page .builder-container .item-header .item-name { color: var(--atlas-ink) !important; }
.wl-builder-page .builder-container .job-image,
.wl-builder-page .builder-container .equipment img,
.wl-builder-page .builder-container .item-image { border-radius: 5px; }
.wl-builder-page .builder-container .selected,
.wl-builder-page .builder-container .focused { outline-color: var(--atlas-coral) !important; border-color: var(--atlas-coral) !important; }
.wl-builder-page footer .footer { height: auto; min-height: 52px; color: #dbe5e5; background: var(--atlas-ink) !important; border-top: 1px solid rgba(255, 255, 255, .12) !important; }
.wl-builder-page footer .disclaimer { padding: 14px 20px; color: #dbe5e5; font: 500 11px var(--atlas-sans); }

@media (max-width: 1100px) {
  .wl-atlas-header-inner { gap: 18px; }
  .wl-atlas-primary a { min-width: 86px; padding: 0 14px; }
  .wl-dungeon-index .inner-post-entry.entry-content { grid-template-columns: 1fr; }
  .wl-dungeon-level-card { display: grid !important; min-height: 300px; grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr) !important; }
  .wl-dungeon-level-card .wp-block-media-text__media { height: 100%; min-height: 300px; aspect-ratio: auto; }
  .wl-dungeon-guide .container.container-single.penci_sidebar { grid-template-columns: 205px minmax(0, 1fr); gap: 16px; }
  .wl-dungeon-guide .post-entry { padding: 25px 24px 34px; }
  .wl-level-filters { overflow-x: auto; }
  .wl-level-filters button { white-space: nowrap; }
}

@media (max-width: 980px) {
  .wl-dungeon-guide .container.container-single.penci_sidebar { display: flex; width: calc(100% - 24px); align-items: stretch; flex-direction: column; }
  .wl-dungeon-guide #main { width: 100% !important; max-width: 100%; }
  .wl-dungeon-guide #sidebar { position: fixed !important; z-index: 2147483100; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); left: 12px; display: block !important; width: auto !important; max-height: calc(100dvh - 172px); order: 0; opacity: 0; transform: translateY(24px); visibility: hidden; }
  .wl-dungeon-guide #sidebar .theiaStickySidebar { position: static !important; }
  .wl-dungeon-guide #ez-toc-container { display: block !important; max-height: calc(100dvh - 172px); padding: 18px !important; overflow: auto !important; border-color: var(--atlas-line-strong) !important; box-shadow: 0 22px 58px rgba(7, 35, 43, .34); }
  .wl-dungeon-guide #ez-toc-container a { min-height: 44px; padding-top: 10px !important; padding-bottom: 10px !important; font-size: 12px !important; }
  .wl-dungeon-guide #ez-toc-container .ez-toc-title { font-size: 21px !important; }
  .wl-dungeon-guide.wl-toc-open { overflow: hidden; }
  .wl-dungeon-guide.wl-toc-open #sidebar { opacity: 1; transform: translateY(0); visibility: visible; }
  .wl-toc-close { position: absolute; z-index: 2; top: 9px; right: 10px; display: grid; width: 34px; height: 34px; padding: 0; cursor: pointer; place-items: center; color: var(--atlas-ink); background: #f2ede3; border: 0; border-radius: 7px; font: 400 24px/1 var(--atlas-sans); }
  .wl-toc-backdrop { position: fixed; z-index: 2147483050; inset: 78px 0 0; width: 100%; height: auto; padding: 0; cursor: default; background: rgba(7, 30, 36, .58); border: 0; opacity: 0; visibility: hidden; backdrop-filter: blur(3px); }
  .wl-toc-open .wl-toc-backdrop { display: block; opacity: 1; visibility: visible; }
  .wl-guide-tools { right: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; padding: 5px; gap: 5px; background: rgba(255, 253, 248, .93); border: 1px solid var(--atlas-line); border-radius: 12px; box-shadow: 0 10px 32px rgba(7, 35, 43, .22); backdrop-filter: blur(12px); transform: translateX(-50%); }
  .wl-guide-toc-toggle { display: flex; }
  .wl-back-to-top { min-width: 44px; }
  .wl-method #soledad_wrapper { padding-bottom: 70px; }
}

@media (max-width: 820px) {
  body.wl-atlas { background-attachment: scroll; }
  .wl-atlas-header-inner { width: calc(100% - 24px); min-height: 68px; grid-template-columns: 1fr auto; }
  .wl-atlas-primary,
  .wl-atlas-header-actions { display: none; }
  .wl-atlas-mobile-nav { display: block; }
  .wl-method #soledad_wrapper { width: calc(100% - 18px); margin-top: 12px; border-radius: 10px; }
  .wl-method .container { width: calc(100% - 26px); }
  .wl-atlas-filters { align-items: stretch; flex-direction: column; }
  .wl-atlas-search { min-width: 0; }
  .wl-atlas-results { min-width: 0; padding: 0 3px 2px; text-align: left; }
  .wl-dungeon-guide .container.container-single.penci_sidebar { display: flex; width: calc(100% - 20px); align-items: stretch; flex-direction: column; }
  .wl-dungeon-guide #sidebar { position: fixed !important; z-index: 2147483100; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); left: 10px; display: block !important; width: auto !important; max-height: calc(100dvh - 158px); order: 0; opacity: 0; transform: translateY(24px); visibility: hidden; }
  .wl-dungeon-guide #sidebar .theiaStickySidebar { position: static !important; }
  .wl-dungeon-guide #ez-toc-container { display: block !important; max-height: calc(100dvh - 158px); padding: 18px !important; overflow: auto !important; border-color: var(--atlas-line-strong) !important; box-shadow: 0 22px 58px rgba(7, 35, 43, .34); }
  .wl-dungeon-guide #ez-toc-container a { min-height: 44px; padding-top: 10px !important; padding-bottom: 10px !important; font-size: 12px !important; }
  .wl-dungeon-guide #ez-toc-container .ez-toc-title { font-size: 21px !important; }
  .wl-dungeon-guide.wl-toc-open { overflow: hidden; }
  .wl-dungeon-guide.wl-toc-open #sidebar { opacity: 1; transform: translateY(0); visibility: visible; }
  .wl-toc-close { position: absolute; z-index: 2; top: 9px; right: 10px; display: grid; width: 34px; height: 34px; padding: 0; cursor: pointer; place-items: center; color: var(--atlas-ink); background: #f2ede3; border: 0; border-radius: 7px; font: 400 24px/1 var(--atlas-sans); }
  .wl-toc-backdrop { position: fixed; z-index: 2147483050; inset: 68px 0 0; width: 100%; height: auto; padding: 0; cursor: default; background: rgba(7, 30, 36, .58); border: 0; opacity: 0; visibility: hidden; backdrop-filter: blur(3px); }
  .wl-toc-open .wl-toc-backdrop { display: block; opacity: 1; visibility: visible; }
  .wl-guide-tools { right: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; padding: 5px; gap: 5px; background: rgba(255, 253, 248, .9); border: 1px solid var(--atlas-line); border-radius: 12px; box-shadow: 0 10px 32px rgba(7, 35, 43, .22); backdrop-filter: blur(12px); transform: translateX(-50%); }
  .wl-guide-toc-toggle { display: flex; }
  .wl-back-to-top { min-width: 44px; }
  .wl-guide-banner { min-height: 210px; margin: 0 12px; }
  .wl-dungeon-guide .header-standard { margin: -24px 18px 0 !important; padding: 19px 18px 15px !important; }
  .wl-dungeon-guide .post-entry { padding: 22px 18px 30px; }
  .wl-dungeon-guide .wl-monster-profile { padding: 16px; }
  .wl-breach-card-grid { grid-template-columns: 1fr; }
  .wl-breach-section { padding: 22px; }
  .wl-breach-guide .wl-monster-profile .stasis-monster { grid-template-columns: minmax(0, 1fr) minmax(235px, 36%); gap: 17px; }
  .wl-breach-guide .wl-reference-monster { grid-template-columns: minmax(0, 1fr) minmax(215px, 34%); gap: 17px; }
  .wl-breach-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl-breach-family-grid { grid-template-columns: 1fr; }
  .wl-builder-page .layer { padding: 16px 9px 30px; }
  .wl-atlas-footer { width: calc(100% - 28px); min-height: 94px; grid-template-columns: 1fr auto; gap: 5px 18px; padding: 14px 0; }
  .wl-atlas-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 590px) {
  .wl-atlas-wordmark strong { font-size: 22px; }
  .wl-atlas-wordmark small { display: none; }
  .wl-index-hero { min-height: 178px; padding: 27px 24px; }
  .wl-index-hero p { font-size: 13px !important; }
  .wl-level-filters { padding-bottom: 3px; }
  .wl-dungeon-level-card { display: block !important; }
  .wl-dungeon-level-card .wp-block-media-text__media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .wl-dungeon-level-card .wp-block-media-text__content { padding: 19px !important; }
  .wl-breach-section { padding: 18px 15px; border-radius: 9px; }
  .wl-breach-section-heading { align-items: flex-start; flex-direction: column; }
  .wl-breach-section-heading > a { width: 100%; justify-content: center; }
  .wl-breach-card { display: block; }
  .wl-breach-card-image { min-height: 150px; }
  .wl-breach-card-copy { padding: 18px; }
  .wl-guide-banner { min-height: 155px; }
  .wl-method-banner { background-position: center; }
  .wl-generated-banner > img { right: 10px; width: 42%; height: 88%; }
  .wl-dungeon-guide article .penci-breadcrumb { padding-right: 17px; padding-left: 17px; }
  .wl-dungeon-guide .header-standard h1 { font-size: 29px !important; }
  .wl-guide-facts { gap: 6px 11px; }
  .wl-dungeon-guide .post-entry h2 { font-size: 25px !important; }
  .wl-dungeon-guide .post-entry h3 { font-size: 20px !important; }
  .wl-dungeon-guide .wl-nutshell { margin-bottom: 26px; }
  .wl-dungeon-guide .wl-nutshell-card { padding: 6px 14px; }
  .wl-dungeon-guide .wl-nutshell:not(.wl-nutshell-existing) .wl-nutshell-card > ul > li { grid-template-columns: 1fr; gap: 7px; padding: 12px 0 !important; }
  .wl-dungeon-guide .wl-nutshell-existing .wl-nutshell-essentials > li { grid-template-columns: 1fr; gap: 7px; }
  .wl-dungeon-guide .wl-nutshell-label { width: max-content; }
  .wl-dungeon-guide .wl-monster-profile { margin: 14px 0 22px; padding: 14px; }
  .wl-dungeon-guide .wl-monster-profile figure.alignright,
  .wl-dungeon-guide .wl-monster-profile figure.wp-block-image.alignright,
  .wl-dungeon-guide .wl-monster-profile figure.alignleft,
  .wl-dungeon-guide .wl-monster-profile figure.wp-block-image.alignleft { float: none !important; width: min(270px, 100%); margin: 0 auto 16px !important; }
  .wl-dungeon-guide .wl-monster-profile .wl-spell-list > li { padding: 10px 11px 10px 29px !important; }
  .wl-breach-guide .wl-monster-profile .stasis-monster,
  .wl-breach-guide .wl-reference-monster { display: flex; flex-direction: column; }
  .wl-breach-guide .wl-reference-monster figure { width: min(310px, 100%); margin: 0 auto !important; order: -1; }
  .wl-breach-guide .wl-monster-profile .stasis-right { order: -1; }
  .wl-breach-guide .wl-monster-profile .stasis-card { margin: 0 auto; }
  .wl-breach-rules { grid-template-columns: 1fr 1fr; gap: 7px; }
  .wl-breach-family { min-height: 92px; grid-template-columns: 78px minmax(0, 1fr); }
  .wl-breach-family-art { min-height: 92px; padding: 7px; }
  .wl-breach-family > span:last-child { padding: 13px; }
  .wl-breach-rules article { min-height: 82px; padding: 13px; }
  .wl-breach-rules strong { font-size: 20px; }
  .wl-breach-drop-sheets { grid-template-columns: 1fr; }
  .wl-breach-guide .wl-sublimation-table,
  .wl-breach-guide .wl-wave-table,
  .wl-breach-guide .wl-demonic-table { overflow-x: auto; }
  .wl-drop-family .dun-card-container { grid-template-columns: 1fr; }
  .wl-dungeon-guide .wl-dungeon-route-track { grid-template-columns: 1fr; gap: 20px; }
  .wl-dungeon-guide .wl-dungeon-route-room { min-height: 230px; }
  .wl-dungeon-guide .wl-dungeon-route-room:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -24px;
    transform: translateX(50%) rotate(90deg);
  }
  .wl-dungeon-guide .wl-dungeon-route-room header strong { white-space: normal; }
  .wl-dungeon-guide .wl-dungeon-route-room > p { min-height: 0; }
  .wl-dungeon-guide .stasis-monster { padding: 14px; }
  .wl-dungeon-guide .stasis-right { width: 100%; }
  .wl-dungeon-guide .stasis-card { width: min(250px, 100%) !important; }
  .wl-dungeon-guide .stasis-card-title { position: relative; flex-wrap: wrap; }
  .wl-resistance-toggle { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; margin: 7px -8px -6px; padding: 6px 8px; cursor: pointer; color: #e8f0ef; background: rgba(255, 255, 255, .08); border: 0; border-top: 1px solid rgba(255, 255, 255, .15); border-radius: 0; font: 650 10px var(--atlas-sans); }
  .wl-resistance-toggle > span { display: flex; gap: 4px; }
  .wl-resistance-toggle i { display: block; width: 7px; height: 7px; border-radius: 50%; }
  .wl-resistance-toggle i:nth-child(1) { background: #d55a43; }
  .wl-resistance-toggle i:nth-child(2) { background: #42a7c0; }
  .wl-resistance-toggle i:nth-child(3) { background: #839846; }
  .wl-resistance-toggle i:nth-child(4) { background: #906db0; }
  .wl-resistance-toggle b::after { display: inline-block; margin-left: 6px; content: "▾"; transition: transform .18s ease; }
  .wl-res-expanded .wl-resistance-toggle b::after { transform: rotate(180deg); }
  .wl-res-collapsed .stasis-card-elems { display: none !important; }
  .wl-dungeon-guide .wl-monster-art { min-width: 98px; }
  .wl-builder-page .builder-container { min-width: 0; }
  .wl-builder-page .builder-container .zn-block-header { font-size: 19px !important; }
  .wl-atlas-footer { grid-template-columns: 1fr; }
  .wl-atlas-footer nav { grid-row: auto; }
  .wl-atlas-footer p { grid-column: auto; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-atlas *, .wl-atlas *::before, .wl-atlas *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
