/* ================================================================
   Hollow Knight - Hallownest / Navy, Steel & Soul-Cyan Theme
   Loaded by every /hollow-knight/ page after styles.css.
   Mirrors the Subnautica 2 / Lies of P checklist system (hk-*) with
   deep navy backgrounds, steel chrome, cyan headings/links, and per-area
   pill colours over near-black (hk-*).
   Signature colours: #8a9aab steel, #ffffff white, #4dd0ff soul-cyan,
   deep navy #04060a.
   ================================================================ */

:root {
  --hk-primary: #8a9aab;
  --hk-primary-bright: #c8d4de;
  --hk-primary-dim: rgba(138, 154, 171, 0.18);
  --hk-primary-soft: rgba(138, 154, 171, 0.09);
  --hk-secondary: #eef2f6;
  --hk-secondary-bright: #ffffff;
  --hk-secondary-dim: rgba(238, 242, 246, 0.12);
  --hk-soul: #4dd0ff;
  --hk-soul-bright: #7ae4ff;
  --hk-soul-dim: rgba(77, 208, 255, 0.15);
  --hk-soul-border: rgba(77, 208, 255, 0.42);
  --hk-warning: #d4b86a;
  --hk-warning-dim: rgba(212, 184, 106, 0.14);
  --hk-deep: #04060a;
  --hk-bg-dark: #0a1018;
  --hk-bg-card: #121a24;
  --hk-bg-elev: #1a2430;
  --hk-border: rgba(138, 154, 171, 0.20);
  --hk-border-strong: rgba(138, 154, 171, 0.42);
  --hk-text: #f0f4f8;
  --hk-text-dim: rgba(240, 244, 248, 0.90);
  --hk-text-faint: rgba(240, 244, 248, 0.62);
  --hk-missable: #ff4545;
  --hk-missable-bg: rgba(255, 50, 50, 0.22);
  --hk-missable-border: rgba(255, 80, 80, 0.6);
}

/* ----------------------------------------------------------------
   Page background.
   ---------------------------------------------------------------- */
body[class*="hk-"] {
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(77, 208, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 100%, rgba(138, 154, 171, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0c1420 0%, #070b12 55%, #04060a 100%) !important;
  background-attachment: fixed !important;
  color: var(--hk-text);
}
body[class*="hk-"] .container { background: transparent !important; }
body[class*="hk-"] .site-header { border-bottom-color: var(--hk-border-strong) !important; }

/* Header colour split: the bright Soul cyan is reserved for the
   "Track Progress" button only. The 100% Hub pill, section tabs and active
   pills use steel white (--game-color) / neutral chrome, never cyan.
   Re-localising --game-color on the tracker controls keeps their fill and
   hover glow cyan while the rest of the row stays steel/white. */
body[class*="hk-"] .site-header-new .header-tracker-tab,
body[class*="hk-"] .site-header-new .header-tracker-pill {
  --game-color: #4dd0ff;
  color: #062029 !important;     /* dark ink reads on the bright cyan fill */
  text-shadow: none !important;
}
body[class*="hk-"] .site-header-new .header-tracker-tab:hover,
body[class*="hk-"] .site-header-new .header-tracker-pill:hover {
  color: #041519 !important;
}

/* Page <header> defaults to align-items: center which would centre the
   warning box, intro paragraphs and other prose blocks.  Stretch the
   children so they fill the column; the H1 keeps text-align: center. */
body[class*="hk-"] header {
  align-items: stretch;
}
body[class*="hk-"] header h1 {
  color: var(--hk-soul-bright) !important;
  text-shadow: 0 0 30px rgba(77, 208, 255, 0.35), 0 0 8px rgba(77, 208, 255, 0.2);
}
body[class*="hk-"] .breadcrumbs a { color: var(--hk-soul) !important; text-decoration: none; }
body[class*="hk-"] .breadcrumbs a:hover { text-decoration: underline; color: var(--hk-soul-bright) !important; }

/* ----------------------------------------------------------------
   .article-content cascade reset
   ---------------------------------------------------------------- */
body[class*="hk-"] .article-content {
  font-size: inherit;
  line-height: inherit;
  color: var(--hk-text);
  overflow-x: visible;
}
body[class*="hk-"] .article-content img {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  max-width: 100%;
  height: auto;
}
body[class*="hk-"] .article-content a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
body[class*="hk-"] .article-content > p,
body[class*="hk-"] .page-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hk-text-dim);
  margin: 0 0 12px 0;
}
body[class*="hk-"] .article-content > p a,
body[class*="hk-"] .page-intro a {
  color: var(--hk-soul);
  text-decoration: underline;
  text-decoration-color: rgba(77, 208, 255, 0.5);
  text-underline-offset: 2px;
  font-weight: 600;
}
body[class*="hk-"] .article-content > p a:hover,
body[class*="hk-"] .page-intro a:hover {
  color: var(--hk-soul-bright);
  text-decoration-color: var(--hk-soul-bright);
  text-decoration-thickness: 2px;
}
body[class*="hk-"] .article-content > ul li a,
body[class*="hk-"] .article-content > ol li a {
  color: var(--hk-soul);
  text-decoration: underline;
  text-decoration-color: rgba(77, 208, 255, 0.5);
  text-underline-offset: 2px;
  font-weight: 600;
}
body[class*="hk-"] .article-content > ul li a:hover,
body[class*="hk-"] .article-content > ol li a:hover {
  color: var(--hk-soul-bright);
  text-decoration-color: var(--hk-soul-bright);
  text-decoration-thickness: 2px;
}
body[class*="hk-"] .article-content > h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 28px 0 12px 0;
  line-height: 1.35;
  letter-spacing: -0.2px;
  border-bottom: none;
  padding-bottom: 0;
}
body[class*="hk-"] .article-content > h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--hk-soul-bright);
  margin: 22px 0 10px 0;
  line-height: 1.4;
}
body[class*="hk-"] .article-content strong { color: var(--hk-primary-bright); }
body[class*="hk-"] .article-content table strong,
body[class*="hk-"] .article-content .item-info strong,
body[class*="hk-"] .article-content .description-cell strong { color: inherit; }

/* Bullet lists: cyan dot markers, tight spacing. Overrides styles.css
   (.article-content ul margin 20px, li margin 8px, red ::marker accent). */
body[class*="hk-"] .article-content ul,
body[class*="hk-"] .article-content ol,
body[class*="hk-"] .description-cell ul,
body[class*="hk-"] .description-cell ol,
body[class*="hk-"] .hk-box-body ul,
body[class*="hk-"] .hk-box-body ol,
body[class*="hk-"] .hk-bullet-list {
  margin: 4px 0 12px 0 !important;
  padding-left: 4px !important;
  list-style: none !important;
  line-height: 1.55 !important;
}
body[class*="hk-"] .article-content ul li,
body[class*="hk-"] .article-content ol li,
body[class*="hk-"] .description-cell ul li,
body[class*="hk-"] .description-cell ol li,
body[class*="hk-"] .hk-box-body ul li,
body[class*="hk-"] .hk-box-body ol li,
body[class*="hk-"] .hk-bullet-list li {
  position: relative;
  margin: 0 0 4px 0 !important;
  padding-left: 20px;
  font-size: inherit;
  line-height: 1.55;
  color: var(--hk-text-dim);
}
body[class*="hk-"] .article-content ul li:last-child,
body[class*="hk-"] .description-cell ul li:last-child,
body[class*="hk-"] .hk-box-body ul li:last-child,
body[class*="hk-"] .hk-bullet-list li:last-child,
body[class*="hk-"] .article-content ol li:last-child,
body[class*="hk-"] .description-cell ol li:last-child,
body[class*="hk-"] .hk-box-body ol li:last-child {
  margin-bottom: 0 !important;
}
body[class*="hk-"] .article-content ul li::marker,
body[class*="hk-"] .description-cell ul li::marker,
body[class*="hk-"] .hk-box-body ul li::marker,
body[class*="hk-"] .hk-bullet-list li::marker {
  content: none !important;
  color: transparent !important;
}
body[class*="hk-"] .article-content ul li::before,
body[class*="hk-"] .description-cell ul li::before,
body[class*="hk-"] .hk-box-body ul li::before,
body[class*="hk-"] .hk-bullet-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hk-soul);
  box-shadow: 0 0 6px rgba(77, 208, 255, 0.55);
}
body[class*="hk-"] .article-content > ol,
body[class*="hk-"] .description-cell > ol,
body[class*="hk-"] .hk-box-body > ol {
  counter-reset: hk-ol;
}
body[class*="hk-"] .article-content > ol > li,
body[class*="hk-"] .description-cell > ol > li,
body[class*="hk-"] .hk-box-body > ol > li {
  counter-increment: hk-ol;
}
body[class*="hk-"] .article-content > ol > li::before,
body[class*="hk-"] .description-cell > ol > li::before,
body[class*="hk-"] .hk-box-body > ol > li::before {
  content: counter(hk-ol) ".";
  position: absolute;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  left: 0;
  top: 0;
  color: var(--hk-soul);
  font-weight: 700;
  font-size: 13px;
}

/* ----------------------------------------------------------------
   Quick-link grid (top of hub page).
   ---------------------------------------------------------------- */
.hk-quick-links {
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(129, 159, 166, 0.10) 0%, transparent 70%),
    linear-gradient(135deg, rgba(129, 159, 166, 0.06) 0%, rgba(14, 19, 23, 0.95) 50%, rgba(200, 120, 120, 0.05) 100%);
  border: 1px solid var(--hk-border-strong);
  border-radius: 14px;
  padding: 16px 14px;
  margin: 0 -20px 18px -20px;
  width: calc(100% + 40px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  box-shadow: 0 0 30px rgba(129, 159, 166, 0.10);
}
.hk-quick-links-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 24px 0 10px 0;
  line-height: 1.35;
}
body.hk-index header > .hk-quick-links-section-title:first-of-type {
  margin-top: 18px;
}
body.hk-index .hk-quick-links + .hk-quick-links-section-title {
  margin-top: 28px;
}

/* Hub index: jump navigation + row descriptions */
body.hk-index .page-navigation-box {
  background: rgba(7, 10, 12, 0.65);
  border: 1px solid var(--hk-border-strong);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0 4px 0;
  width: 100%;
  box-sizing: border-box;
}
body.hk-index .page-navigation-heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--hk-text-dim);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body.hk-index .page-navigation-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}
body.hk-index .nav-box-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--hk-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(129, 159, 166, 0.06);
  border: 1px solid var(--hk-border);
  line-height: 1.3;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body.hk-index .nav-box-link::after { display: none !important; }
body.hk-index .nav-box-link:hover {
  background: rgba(77, 208, 255, 0.08);
  border-color: rgba(77, 208, 255, 0.35);
  color: var(--hk-soul-bright) !important;
}
body.hk-index .nav-box-link.featured {
  background: rgba(77, 208, 255, 0.1);
  border: 1px solid rgba(77, 208, 255, 0.4);
  color: var(--hk-soul-bright) !important;
}
body.hk-index .nav-box-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(7, 10, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.hk-index .nav-box-link-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
body.hk-index .hk-hub-section-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hk-text-dim);
  margin: 0 0 14px 0;
}
body.hk-index .hk-row.hk-row-with-desc {
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 12px;
}
body.hk-index .hk-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.hk-index .hk-row-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--hk-text-dim);
  font-weight: 400;
}
@media (max-width: 768px) {
  body.hk-index .page-navigation-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  body.hk-index .page-navigation-links {
    grid-template-columns: 1fr;
  }
}
.hk-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 102px;
  padding: 12px 8px;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  color: inherit;
  background: rgba(7, 10, 12, 0.5);
  border: 1px solid var(--hk-border);
  box-sizing: border-box;
}
.hk-quick-link::after { display: none !important; }
.hk-quick-link:hover {
  background: rgba(129, 159, 166, 0.08);
  border-color: rgba(129, 159, 166, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}
.hk-quick-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.hk-quick-link-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--hk-primary-bright);
  line-height: 1;
}
.hk-quick-link-name {
  font-size: 12px;
  color: var(--hk-text);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  max-width: 11em;
}
/* Muted / "coming soon" quick-link variant */
.hk-quick-link.muted {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: auto;
}
.hk-quick-link.muted:hover {
  background: rgba(7, 10, 12, 0.5);
  border-color: var(--hk-border);
  box-shadow: none;
  transform: none;
}
.hk-quick-link.muted .hk-quick-link-number {
  color: var(--hk-text-faint);
}

/* 112% hub box: 6 across desktop, 3x2 on mobile */
body.hk-index .hk-quick-links.hk-quick-links-112 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 12px;
}
body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link {
  min-height: 96px;
  padding: 10px 6px;
  gap: 6px;
}
body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link img {
  width: 40px;
  height: 40px;
}
body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link-number {
  font-size: 20px;
}
body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link-name {
  font-size: 11px;
  max-width: 100%;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .hk-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 12px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 10px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link {
    min-height: 90px;
    padding: 8px 4px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link img {
    width: 36px;
    height: 36px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link-number {
    font-size: 18px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link-name {
    font-size: 10px;
  }
  .hk-quick-link {
    min-height: 96px;
    padding: 10px 6px;
  }
}
@media (max-width: 600px) {
  .hk-quick-links {
    margin: 16px -10px 14px -10px;
    width: calc(100% + 20px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 10px;
    gap: 8px;
    border-radius: 12px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  body.hk-index .hk-quick-links.hk-quick-links-112 .hk-quick-link {
    min-height: 88px;
  }
  .hk-quick-link {
    min-height: 92px;
    padding: 10px 6px;
    gap: 6px;
    border-radius: 10px;
  }
  .hk-quick-link img { width: 38px; height: 38px; }
  .hk-quick-link-number { font-size: 18px; }
  .hk-quick-link-name { font-size: 11px; max-width: 100%; }
}

/* ----------------------------------------------------------------
   Checklist page intros
   ---------------------------------------------------------------- */
body[class*="hk-"] .hk-checklist-intro-overview {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 0 0 12px 0;
}
body[class*="hk-"] .hk-checklist-intro-section {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 20px 0 10px 0;
}
body[class*="hk-"] .hk-checklist-intro-locator {
  font-style: italic;
  color: var(--hk-text-faint);
  border-left: 3px solid var(--hk-primary);
  padding-left: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   Section heading
   ---------------------------------------------------------------- */
.hk-section-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 28px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hk-soul-dim);
}

/* Spreadsheet subsection (Subsection:) - sits under a Section h2 */
.hk-subsection-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hk-soul-bright);
  margin: 22px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hk-soul-dim);
}

.article-content > .hk-section-heading + .hk-subsection-heading {
  margin-top: 14px;
}

/* ----------------------------------------------------------------
   Row list - flat, single-line title + arrow.
   ---------------------------------------------------------------- */
.hk-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--hk-bg-card);
  border: 1px solid var(--hk-border);
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease;
  cursor: pointer;
  font-weight: inherit !important;
}
.hk-row::after { display: none !important; }
.hk-row:hover {
  border-color: var(--hk-primary);
  background: linear-gradient(180deg, rgba(129, 159, 166, 0.06) 0%, var(--hk-bg-card) 100%);
  transform: translateX(3px);
  box-shadow: 0 4px 18px rgba(129, 159, 166, 0.12);
}
.hk-row.featured {
  border-color: var(--hk-primary);
  background: linear-gradient(135deg, rgba(129, 159, 166, 0.08) 0%, var(--hk-bg-card) 100%);
}
.hk-row-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hk-row-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.hk-row-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--hk-soul-bright);
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}
.hk-row-arrow {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--hk-primary);
  transition: transform 0.2s ease;
}
.hk-row:hover .hk-row-arrow { transform: translateX(3px); color: var(--hk-primary-bright); }
/* Disabled / "Coming soon" row */
.hk-row.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.hk-row.disabled:hover {
  transform: none;
  border-color: var(--hk-border);
  background: var(--hk-bg-card);
  box-shadow: none;
}

/* Hub guide links: wide thumbnail instead of square icon */
.hk-row.hk-row-with-thumb {
  align-items: center;
  padding: 12px 16px;
  gap: 16px;
}
.hk-row-thumb {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hk-border-strong);
  background: rgba(7, 10, 12, 0.85);
  box-shadow: inset 0 0 0 1px rgba(129, 159, 166, 0.06);
}
.hk-row-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 520px) {
  .hk-row.hk-row-with-thumb {
    flex-wrap: wrap;
    align-items: center;
  }
  .hk-row-thumb {
    flex: 1 1 100%;
    width: 100%;
    max-height: 200px;
  }
  .hk-row.hk-row-with-thumb .hk-row-title {
    flex: 1;
    min-width: 0;
  }
}

.hk-soon-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--hk-secondary-bright);
  background: var(--hk-secondary-dim);
  border: 1px solid rgba(232, 136, 136, 0.45);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ----------------------------------------------------------------
   Boxes - tip / important / warning.
     .hk-box.normal    -> Steel Normal (default)
     .hk-box.important -> Steel Important (stronger left-stripe)
     .hk-box.warning   -> Warning / brass
     .hk-box.danger    -> Crimson (boss warnings, missable content)
   Backwards-compatible aliases: .tip, .depth, .warn keep working.
   ---------------------------------------------------------------- */
.hk-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  background: var(--hk-primary-soft);
  margin: 12px 0;
}
.hk-box-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hk-box-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.hk-box-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hk-box-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--hk-primary-bright);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 4px 0;
}
.hk-box-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hk-text);
}

/* Variants */
.hk-box.normal,
.hk-box.tip {
  background: var(--hk-primary-soft);
  border-color: var(--hk-border-strong);
}
.hk-box.important,
.hk-box.depth {
  background: linear-gradient(90deg, rgba(129, 159, 166, 0.12) 0%, rgba(7, 10, 12, 0.92) 100%);
  border-color: var(--hk-border-strong);
  border-left: 4px solid var(--hk-primary);
}
.hk-box.warning,
.hk-box.warn {
  background: var(--hk-warning-dim);
  border-color: rgba(201, 162, 58, 0.45);
  border-left: 4px solid var(--hk-warning);
}
.hk-box.warning .hk-box-title,
.hk-box.warn .hk-box-title {
  color: var(--hk-warning);
}
/* Danger box (boss warnings, missable callouts in boxes) */
.hk-box.danger {
  background: linear-gradient(90deg, rgba(255, 60, 60, 0.16) 0%, rgba(4, 6, 10, 0.92) 100%);
  border-color: var(--hk-missable-border);
  border-left: 4px solid var(--hk-missable);
}
.hk-box.danger .hk-box-title {
  color: var(--hk-missable);
}

/* Hub launch notice: multi-paragraph + list (icon aligned to top) */
.hk-box.hk-hub-launch-notice {
  align-items: flex-start;
}
.hk-box.hk-hub-launch-notice .hk-box-icon {
  margin-top: 2px;
}
.hk-box-body ul {
  margin: 8px 0 0 0 !important;
  padding-left: 4px !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hk-text);
}
.hk-box-body li {
  margin: 0 0 4px 0 !important;
}

/* ----------------------------------------------------------------
   Stats / progress card on checklist pages
   ---------------------------------------------------------------- */
body[class*="hk-"] .location-stats {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px 0 12px 0;
}
body[class*="hk-"] .stat-item {
  padding: 10px 22px;
  background: var(--hk-bg-card);
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  text-align: center;
}
body[class*="hk-"] .stat-value {
  font-size: 22px;
  font-weight: 700;
  display: block;
  color: var(--hk-primary-bright);
}
body[class*="hk-"] .stat-label {
  font-size: 11px;
  color: var(--hk-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
  display: block;
}
body[class*="hk-"] .stat-item.progress-zero { border-color: rgba(129, 159, 166, 0.3); }
body[class*="hk-"] .stat-item.progress-zero .stat-value { color: var(--hk-text-faint); }
body[class*="hk-"] .stat-item.progress-low { border-color: var(--hk-warning); }
body[class*="hk-"] .stat-item.progress-low .stat-value { color: var(--hk-warning); }
body[class*="hk-"] .stat-item.progress-medium,
body[class*="hk-"] .stat-item.progress-high {
  border-color: var(--hk-primary);
}
body[class*="hk-"] .stat-item.progress-medium .stat-value,
body[class*="hk-"] .stat-item.progress-high .stat-value {
  color: var(--hk-primary);
}
body[class*="hk-"] .stat-item.progress-complete {
  border-color: var(--hk-primary-bright);
  box-shadow: 0 0 12px rgba(129, 159, 166, 0.35);
}

/* Progress counters in section headers */
body[class*="hk-"] .progress-counter.progress-zero { color: var(--hk-text-faint) !important; }
body[class*="hk-"] .progress-counter.progress-low { color: var(--hk-warning) !important; }
body[class*="hk-"] .progress-counter.progress-medium,
body[class*="hk-"] .progress-counter.progress-high { color: var(--hk-primary) !important; }
body[class*="hk-"] .progress-counter.progress-complete { color: var(--hk-primary-bright) !important; }

/* ----------------------------------------------------------------
   Checklist tables
   ---------------------------------------------------------------- */
body[class*="hk-"] .card {
  background: linear-gradient(180deg, rgba(20, 27, 32, 0.9) 0%, rgba(7, 10, 12, 0.95) 100%) !important;
  border: 1px solid var(--hk-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(129, 159, 166, 0.04) !important;
}
body[class*="hk-"] .section-header {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, rgba(129, 159, 166, 0.10) 0%, transparent 100%) !important;
  border-left: 4px solid var(--hk-soul) !important;
  padding: 10px 14px !important;
}
body[class*="hk-"] .section-header .progress-counter {
  flex-shrink: 0;
}
body[class*="hk-"] .section-header .section-header-controls {
  margin-left: auto !important;
  flex-shrink: 0;
}
body[class*="hk-"] .section-header h2,
body[class*="hk-"] .section-header h3,
body[class*="hk-"] .section-header .hk-card-table-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: var(--hk-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
body[class*="hk-"] .section-header h2 strong,
body[class*="hk-"] .section-header h3 strong,
body[class*="hk-"] .section-header .hk-card-table-title strong { font-weight: 600 !important; }
body[class*="hk-"] .section-title { color: var(--hk-primary-bright) !important; }

/* Table chrome */
body[class*="hk-"] table thead tr {
  background: linear-gradient(180deg, rgba(129, 159, 166, 0.10) 0%, rgba(129, 159, 166, 0.03) 100%);
  border-bottom: 2px solid var(--hk-soul);
}
body[class*="hk-"] table thead th {
  color: var(--hk-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 6px !important;
  line-height: 1.2 !important;
}
body[class*="hk-"] table tbody tr {
  background: rgba(20, 27, 32, 0.55);
  border-bottom: 1px solid var(--hk-border);
}
body[class*="hk-"] table tbody tr:hover { background: rgba(129, 159, 166, 0.06); }

body[class*="hk-"] input[type="checkbox"] {
  border-color: rgba(129, 159, 166, 0.5) !important;
  background: rgba(7, 10, 12, 0.7) !important;
}
body[class*="hk-"] input[type="checkbox"]:checked {
  background: var(--hk-soul) !important;
  border-color: var(--hk-soul-bright) !important;
  box-shadow: 0 0 10px rgba(77, 208, 255, 0.55);
}

body[class*="hk-"] .collapse-btn,
body[class*="hk-"] .options-btn {
  border-color: var(--hk-border-strong) !important;
  color: var(--hk-text) !important;
}
body[class*="hk-"] .collapse-btn:hover,
body[class*="hk-"] .options-btn:hover {
  background: var(--hk-primary-dim) !important;
  border-color: var(--hk-primary) !important;
  color: var(--hk-primary-bright) !important;
}
body[class*="hk-"] .table-action-btn { color: var(--hk-primary-bright) !important; }
body[class*="hk-"] .table-action-btn:hover { background: var(--hk-primary-dim) !important; }

/* Item info column - Name / Area / Category */
body[class*="hk-"] .item-info .item-name {
  color: var(--hk-text);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
body[class*="hk-"] .item-info .item-biome {
  font-size: 12px;
  color: var(--hk-text-dim);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
body[class*="hk-"] .item-info .item-biome .hk-area-field-label {
  flex-shrink: 0;
  color: inherit;
}
body[class*="hk-"] .item-info .item-biome .hk-area-pill-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
body[class*="hk-"] .item-info .item-type {
  font-size: 11px;
  color: var(--hk-text-faint);
  font-style: italic;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Description column - smaller font */
body[class*="hk-"] .description-cell {
  color: var(--hk-text-dim);
  font-size: 12.5px;
  line-height: 1.5;
}
body[class*="hk-"] .description-cell p { margin: 0 0 4px 0; }
body[class*="hk-"] .description-cell p:last-child { margin-bottom: 0; }
body[class*="hk-"] .description-cell strong { color: var(--hk-primary-bright); }
body[class*="hk-"] .hk-missable,
body[class*="hk-"] .hk-danger,
.hk-missable,
.hk-danger {
  color: var(--hk-missable) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-size: 11.5px;
  background: var(--hk-missable-bg);
  border: 1px solid var(--hk-missable-border);
  padding: 1px 7px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.22);
  white-space: nowrap;
}
body[class*="hk-"] .hk-ng-plus {
  color: var(--hk-missable);
  font-weight: 700;
  background: var(--hk-missable-bg);
  border: 1px solid var(--hk-missable-border);
  padding: 0 6px;
  border-radius: 4px;
}
body[class*="hk-"] a.hk-area-pill-link {
  text-decoration: none;
  color: inherit;
}
body[class*="hk-"] a.hk-area-pill-link:hover {
  border-color: var(--hk-primary-bright);
  color: var(--hk-primary-bright);
}
body[class*="hk-"] .hk-cv-section-label {
  color: #d99898;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 6px 0;
}
body[class*="hk-"] .hk-cv-puzzle-block {
  margin-top: 14px;
}
body[class*="hk-"] .hk-riddle-quote {
  font-style: italic;
}
body[class*="hk-"] .hk-preorder-note {
  font-style: italic;
  margin-top: 8px;
}
body[class*="hk-"] .hk-subheading {
  font-size: 13px;
  font-weight: 700;
  color: var(--hk-primary-bright);
  margin: 12px 0 6px 0;
}
body[class*="hk-"] .hk-bullet-list {
  margin: 4px 0 8px 0 !important;
  padding-left: 4px !important;
}
body[class*="hk-"] .hk-bullet-list li {
  margin-bottom: 4px !important;
}
/* Cross-links inside checklist table descriptions */
body[class*="hk-"] .description-cell a:not(.hk-area-pill) {
  color: var(--hk-soul);
  text-decoration: underline;
  text-decoration-color: rgba(77, 208, 255, 0.5);
  text-underline-offset: 2px;
  font-weight: 600;
}
body[class*="hk-"] .description-cell a:not(.hk-area-pill):hover {
  color: var(--hk-soul-bright);
  text-decoration-color: var(--hk-soul-bright);
  text-decoration-thickness: 2px;
}

/* Geo currency highlight (e.g. "180 Geo") */
.hk-geo-amount {
  color: var(--hk-soul-bright);
  font-weight: 700;
  white-space: nowrap;
}

/* Inline reference images below description copy (never above the paragraphs) */
body[class*="hk-"] .description-cell .hk-description-media {
  margin: 12px 0 0 0;
  padding: 0;
}
body[class*="hk-"] .description-cell .hk-description-img {
  display: block;
  max-width: min(520px, 100%);
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
}

/* Bigger checklist icons */
body[class*="hk-"] .checklist-icon {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  border: 0 !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  display: block;
}
body[class*="hk-"] table tbody tr td:nth-child(2) {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  padding: 8px 4px !important;
  text-align: center;
  vertical-align: middle;
  overflow: visible !important;
}

@media (max-width: 768px) {
  body[class*="hk-"] .checklist-icon {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }
  body[class*="hk-"] table tbody tr td:nth-child(2) {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  body[class*="hk-"] .article-content table:has(colgroup) {
    table-layout: fixed !important;
    width: 100% !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) colgroup col:nth-child(1) {
    width: 42px !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) colgroup col:nth-child(2) {
    width: 52px !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) colgroup col:nth-child(3) {
    width: 24% !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) colgroup col:nth-child(4) {
    width: auto !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) thead th:first-child,
  body[class*="hk-"] .article-content table:has(colgroup) tbody td:first-child {
    width: 42px !important;
    max-width: 42px !important;
    padding: 6px 4px !important;
    box-sizing: border-box;
  }
  body[class*="hk-"] .article-content table:has(colgroup) tbody td:first-child {
    vertical-align: middle !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) thead th:nth-child(3),
  body[class*="hk-"] .article-content table:has(colgroup) tbody td:nth-child(3) {
    min-width: 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 8px 6px !important;
    vertical-align: middle !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) thead th:nth-child(4),
  body[class*="hk-"] .article-content table:has(colgroup) tbody td:nth-child(4) {
    min-width: 0 !important;
    padding: 8px 6px !important;
    vertical-align: middle !important;
  }
  body[class*="hk-"] .article-content table:has(colgroup) .item-info {
    min-width: 0;
  }
  /* Area label on its own line; pills wrap below */
  body[class*="hk-"] .item-info .item-biome {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  body[class*="hk-"] .item-info .item-biome .hk-area-pill-row {
    width: 100%;
    gap: 8px;
  }
  body[class*="hk-"] .hk-area-pill {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 5px;
  }
}

/* ----------------------------------------------------------------
   Area / region pills (Hallownest districts).
   Add class hk-ar-<slug> on each pill for colour coding.
   Plain .hk-area-pill without a slug falls back to soul cyan.
   ---------------------------------------------------------------- */
.hk-area-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--hk-soul-dim);
  color: var(--hk-soul-bright);
  border: 1px solid var(--hk-soul-border);
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: middle;
  word-break: break-word;
}

/* Dirtmouth: white-grey */
.hk-area-pill.hk-ar-dirtmouth,
.hk-area-pill.hk-ar-kings-pass {
  background: rgba(210, 216, 224, 0.14);
  color: #dce2ea;
  border-color: rgba(190, 198, 210, 0.55);
}

/* Forgotten Crossroads: dark purple */
.hk-area-pill.hk-ar-forgotten-crossroads {
  background: rgba(72, 38, 108, 0.38);
  color: #c4a0e4;
  border-color: rgba(110, 65, 155, 0.58);
}

/* Greenpath: light leafy green */
.hk-area-pill.hk-ar-greenpath {
  background: rgba(52, 128, 62, 0.28);
  color: #8fdd98;
  border-color: rgba(78, 158, 88, 0.52);
}

/* Fungal Wastes: orange */
.hk-area-pill.hk-ar-fungal-wastes {
  background: rgba(168, 92, 32, 0.28);
  color: #f0aa58;
  border-color: rgba(200, 120, 48, 0.55);
}

/* Fog Canyon: light purple-pink */
.hk-area-pill.hk-ar-fog-canyon {
  background: rgba(168, 108, 168, 0.22);
  color: #e8b4d8;
  border-color: rgba(190, 130, 185, 0.48);
}

/* Crystal Peak: magenta */
.hk-area-pill.hk-ar-crystal-peak {
  background: rgba(168, 36, 112, 0.28);
  color: #f068a8;
  border-color: rgba(205, 55, 135, 0.52);
}

/* City of Tears: dark blue */
.hk-area-pill.hk-ar-city-of-tears {
  background: rgba(28, 56, 112, 0.42);
  color: #78a8e4;
  border-color: rgba(48, 88, 158, 0.58);
}

/* Royal Waterways: dark blue-green */
.hk-area-pill.hk-ar-royal-waterways {
  background: rgba(18, 68, 78, 0.38);
  color: #58b8b8;
  border-color: rgba(38, 98, 108, 0.52);
}

/* Ancient Basin: near-black, still readable */
.hk-area-pill.hk-ar-ancient-basin,
.hk-area-pill.hk-ar-temple-of-the-black-egg {
  background: rgba(12, 12, 18, 0.92);
  color: #a8a8b8;
  border-color: rgba(88, 88, 102, 0.62);
}

/* Deepnest: dark scary blue */
.hk-area-pill.hk-ar-deepnest {
  background: rgba(12, 32, 68, 0.52);
  color: #4888cc;
  border-color: rgba(28, 58, 108, 0.58);
}

/* Queen's Gardens: dark green */
.hk-area-pill.hk-ar-queens-gardens {
  background: rgba(22, 68, 42, 0.42);
  color: #48a070;
  border-color: rgba(38, 98, 68, 0.55);
}

/* Howling Cliffs: grey */
.hk-area-pill.hk-ar-howling-cliffs {
  background: rgba(96, 102, 112, 0.28);
  color: #b4b8c4;
  border-color: rgba(128, 134, 144, 0.48);
}

/* Kingdom's Edge: orange-grey blend */
.hk-area-pill.hk-ar-kingdoms-edge {
  background: rgba(132, 108, 82, 0.32);
  color: #c8a878;
  border-color: rgba(158, 128, 98, 0.52);
}

/* Resting Grounds: pale lavender-grey */
.hk-area-pill.hk-ar-resting-grounds {
  background: rgba(72, 68, 98, 0.32);
  color: #b8b0d8;
  border-color: rgba(108, 102, 138, 0.52);
}

/* The Hive: amber honey */
.hk-area-pill.hk-ar-the-hive {
  background: rgba(148, 108, 28, 0.34);
  color: #e8c060;
  border-color: rgba(178, 138, 48, 0.55);
}

/* White Palace: angel white */
.hk-area-pill.hk-ar-white-palace {
  background: rgba(245, 248, 255, 0.16);
  color: #f8faff;
  border-color: rgba(230, 236, 248, 0.62);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.18);
}

/* Godhome: gold */
.hk-area-pill.hk-ar-godhome {
  background: rgba(180, 140, 40, 0.28);
  color: #f0c850;
  border-color: rgba(210, 165, 55, 0.58);
  text-shadow: 0 0 6px rgba(240, 190, 60, 0.2);
}

a.hk-area-pill {
  text-decoration: none;
  cursor: pointer;
}
a.hk-area-pill:hover {
  filter: brightness(1.08);
}
a.hk-area-pill:focus-visible {
  outline: 2px solid var(--hk-soul-bright);
  outline-offset: 2px;
}

/* Boss / NPC disposition openers */
.hk-disposition-boss {
  color: var(--hk-secondary-bright);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11.5px;
}
.hk-disposition-friendly {
  color: var(--hk-primary-bright);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11.5px;
}

/* Buttons */
.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid var(--hk-primary);
  background: var(--hk-primary-dim);
  color: var(--hk-primary-bright);
  cursor: pointer;
}
.hk-btn:hover {
  background: var(--hk-primary);
  color: var(--hk-deep);
  box-shadow: 0 4px 18px rgba(129, 159, 166, 0.35);
}
.hk-btn.secondary {
  border-color: var(--hk-soul);
  background: var(--hk-soul-dim);
  color: var(--hk-soul-bright);
}
.hk-btn.secondary:hover {
  background: var(--hk-soul);
  color: #041019;
  box-shadow: 0 4px 18px rgba(77, 208, 255, 0.4);
}

/* Box-style label heading above the box examples */
.hk-boxes-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--hk-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin: 18px 0 6px 0;
}

/* ----------------------------------------------------------------
   Element stash - reusable design pieces in one place.
   ---------------------------------------------------------------- */
.hk-stash-section {
  margin-top: 32px;
  padding: 18px 18px 22px 18px;
  border: 1px dashed var(--hk-border-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(129, 159, 166, 0.04) 0%, rgba(7, 10, 12, 0.6) 100%);
}
.hk-stash-section > .hk-stash-intro {
  font-size: 13.5px;
  color: var(--hk-text-dim);
  margin: 0 0 14px 0;
}
.hk-stash-section code {
  background: rgba(129, 159, 166, 0.10);
  border: 1px solid var(--hk-border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  color: var(--hk-primary-bright);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.hk-stash-group {
  margin: 18px 0 0 0;
}
.hk-stash-group:first-of-type { margin-top: 0; }
.hk-stash-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--hk-primary-bright);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hk-border);
}

/* Icon library grid */
.hk-stash-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.hk-stash-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: rgba(7, 10, 12, 0.6);
  border: 1px solid var(--hk-border);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hk-stash-icon:hover {
  border-color: var(--hk-primary);
  transform: translateY(-2px);
}
.hk-stash-icon img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.hk-stash-icon .hk-stash-file {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--hk-text-dim);
  word-break: break-all;
  line-height: 1.3;
}

/* Generic stash row */
.hk-stash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(7, 10, 12, 0.55);
  border: 1px solid var(--hk-border);
  border-radius: 10px;
  margin: 0 0 10px 0;
}
.hk-stash-row:last-child { margin-bottom: 0; }
.hk-stash-row-label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--hk-text-dim);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.hk-stash-row-label strong {
  display: block;
  color: var(--hk-primary-bright) !important;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.hk-stash-row-demo > * { margin: 0 !important; }

/* Inline pill row used to demo all area/danger pills together */
.hk-stash-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

@media (max-width: 700px) {
  .hk-stash-row {
    grid-template-columns: 1fr;
  }
  .hk-stash-row-label { order: 2; }
  .hk-stash-row-demo { order: 1; }
}

/* Strip the auto-arrow that styles.css adds to ::after on links. */
body[class*="hk-"] .hk-btn::after,
body[class*="hk-"] .hk-row::after,
body[class*="hk-"] .hk-quick-link::after { content: none !important; display: none !important; }

/* ----------------------------------------------------------------
   Guide pages (long-form articles, e.g. liesofp/guides/*.html)
   ---------------------------------------------------------------- */
body.hk-guide .article-content.hk-guide-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hk-text-dim);
}
body.hk-guide .article-content.hk-guide-body > p {
  margin: 0 0 14px 0;
}
body.hk-guide header h1 {
  color: var(--hk-soul-bright);
  font-size: 1.75rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
body.hk-guide .hk-section-heading {
  margin-top: 28px;
  margin-bottom: 12px;
}
body.hk-guide .hk-guide-subhead {
  font-size: 15px;
  font-weight: 600;
  color: var(--hk-text);
  margin: 22px 0 8px 0;
}
body.hk-guide .hk-guide-list {
  margin: 0 0 16px 0;
  padding-left: 1.25em;
  color: var(--hk-text-dim);
}
body.hk-guide .hk-guide-list li {
  margin: 6px 0;
}
body.hk-guide .article-content a {
  color: var(--hk-soul-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.hk-guide .article-content a:hover {
  color: var(--hk-soul);
}
body.hk-guide .hk-guide-media {
  margin: 22px 0;
  padding: 0;
}
body.hk-guide .hk-guide-media-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
body.hk-guide .hk-guide-table-card {
  overflow-x: auto;
  padding: 12px 14px !important;
}
body.hk-guide .hk-guide-parts-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
body.hk-guide .hk-guide-parts-table th,
body.hk-guide .hk-guide-parts-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
body.hk-guide .hk-guide-parts-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hk-primary-bright);
}

/* Item preview in column 2 (weapons, amulets, costumes, gestures, grindstones) */
body.hk-weapons-checklist .hk-visual-table,
body.hk-amulets-checklist .hk-visual-table,
body.hk-grindstones-checklist .hk-visual-table,
body.hk-costumes-checklist .hk-visual-table,
body.hk-gestures-checklist .hk-visual-table {
  table-layout: fixed;
}
body.hk-weapons-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-amulets-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-grindstones-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-costumes-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-gestures-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-legion-arms-checklist .hk-visual-table tbody tr.hk-visual-row,
body.hk-achievements-checklist .hk-visual-table tbody tr.hk-visual-row {
  min-height: 132px;
}
body.hk-weapons-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-amulets-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-grindstones-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-costumes-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-gestures-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-legion-arms-checklist .hk-visual-table tbody tr.hk-visual-row td,
body.hk-achievements-checklist .hk-visual-table tbody tr.hk-visual-row td {
  padding: 4px 6px !important;
  vertical-align: middle;
}
body.hk-weapons-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-amulets-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-grindstones-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-costumes-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-gestures-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-legion-arms-checklist .hk-visual-table tbody tr td:nth-child(1),
body.hk-achievements-checklist .hk-visual-table tbody tr td:nth-child(1) {
  padding: 4px 4px !important;
}
body.hk-weapons-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-amulets-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-grindstones-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-costumes-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-gestures-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-legion-arms-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
body.hk-achievements-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  padding: 2px 4px !important;
  text-align: center;
  overflow: visible !important;
}
body.hk-weapons-checklist .hk-visual-figure,
body.hk-amulets-checklist .hk-visual-figure,
body.hk-grindstones-checklist .hk-visual-figure,
body.hk-costumes-checklist .hk-visual-figure,
body.hk-gestures-checklist .hk-visual-figure,
body.hk-legion-arms-checklist .hk-visual-figure,
body.hk-achievements-checklist .hk-visual-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}
body.hk-weapons-checklist .hk-visual-img,
body.hk-amulets-checklist .hk-visual-img,
body.hk-grindstones-checklist .hk-visual-img,
body.hk-costumes-checklist .hk-visual-img,
body.hk-gestures-checklist .hk-visual-img,
body.hk-legion-arms-checklist .hk-visual-img,
body.hk-achievements-checklist .hk-visual-img {
  display: block;
  width: 100%;
  max-width: 120px;
  max-height: 128px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
body.hk-costumes-checklist .hk-visual-img {
  max-height: 148px;
}
body.hk-legion-arms-checklist .hk-visual-img {
  max-width: 128px;
  max-height: 136px;
}
body.hk-weapons-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-amulets-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-grindstones-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-costumes-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-gestures-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-legion-arms-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-achievements-checklist .hk-visual-info-cell .item-info .item-name {
  margin-bottom: 2px;
}
body.hk-weapons-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-amulets-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-grindstones-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-costumes-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-gestures-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-legion-arms-checklist .hk-visual-info-cell .item-info .item-biome,
body.hk-achievements-checklist .hk-visual-info-cell .item-info .item-biome {
  margin-bottom: 2px;
}
body.hk-weapons-checklist .hk-visual-description-cell p,
body.hk-amulets-checklist .hk-visual-description-cell p,
body.hk-grindstones-checklist .hk-visual-description-cell p,
body.hk-costumes-checklist .hk-visual-description-cell p,
body.hk-gestures-checklist .hk-visual-description-cell p,
body.hk-legion-arms-checklist .hk-visual-description-cell p,
body.hk-achievements-checklist .hk-visual-description-cell p {
  margin: 0 0 3px 0;
}

/* Benches checklist: location screenshot column (same layout as amulets) */
body.hk-benches-checklist .hk-visual-table {
  table-layout: fixed;
}
body.hk-benches-checklist .hk-visual-table tbody tr.hk-visual-row {
  min-height: 132px;
}
body.hk-benches-checklist .hk-visual-table tbody tr.hk-visual-row td {
  padding: 4px 6px !important;
  vertical-align: middle;
}
body.hk-benches-checklist .hk-visual-table tbody tr td:nth-child(1) {
  padding: 4px 4px !important;
}
body.hk-benches-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  padding: 2px 4px !important;
  text-align: center;
  overflow: visible !important;
}
body.hk-benches-checklist .hk-visual-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}
body.hk-benches-checklist .hk-visual-img {
  display: block;
  width: 100%;
  max-width: 120px;
  max-height: 128px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
body.hk-benches-checklist .hk-visual-info-cell .item-info .item-name,
body.hk-benches-checklist .hk-visual-info-cell .item-info .item-biome {
  margin-bottom: 2px;
}
body.hk-benches-checklist .hk-visual-description-cell p {
  margin: 0 0 3px 0;
}

@media (max-width: 768px) {
  body.hk-weapons-checklist .hk-visual-table colgroup col:nth-child(2),
  body.hk-amulets-checklist .hk-visual-table colgroup col:nth-child(2),
  body.hk-grindstones-checklist .hk-visual-table colgroup col:nth-child(2),
  body.hk-costumes-checklist .hk-visual-table colgroup col:nth-child(2),
  body.hk-gestures-checklist .hk-visual-table colgroup col:nth-child(2),
  body.hk-legion-arms-checklist .hk-visual-table colgroup col:nth-child(2) {
    width: 88px !important;
  }
  body.hk-weapons-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
  body.hk-amulets-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
  body.hk-grindstones-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
  body.hk-costumes-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
  body.hk-gestures-checklist .hk-visual-table tbody tr td.hk-visual-image-cell,
  body.hk-legion-arms-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }
  body.hk-weapons-checklist .hk-visual-img,
  body.hk-amulets-checklist .hk-visual-img,
  body.hk-grindstones-checklist .hk-visual-img,
  body.hk-costumes-checklist .hk-visual-img,
  body.hk-gestures-checklist .hk-visual-img,
  body.hk-legion-arms-checklist .hk-visual-img,
  body.hk-achievements-checklist .hk-visual-img {
    max-width: 80px;
    max-height: 96px;
  }
  body.hk-costumes-checklist .hk-visual-img {
    max-height: 108px;
  }
  body.hk-legion-arms-checklist .hk-visual-img {
    max-width: 84px;
    max-height: 100px;
  }
  body.hk-benches-checklist .hk-visual-table colgroup col:nth-child(2) {
    width: 88px !important;
  }
  body.hk-benches-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }
  body.hk-benches-checklist .hk-visual-img {
    max-width: 80px;
    max-height: 96px;
  }
}

body.hk-achievements-checklist .hk-visual-table tbody tr.hk-visual-row {
  min-height: 106px;
}
body.hk-achievements-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
  width: 106px !important;
  min-width: 106px !important;
  max-width: 106px !important;
}
body.hk-achievements-checklist .hk-visual-img {
  max-width: 102px;
  max-height: 109px;
}

body.hk-achievements-checklist .hk-achievement-official {
  font-style: italic;
  color: var(--hk-text-dim);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 6px 0;
}
body.hk-achievements-checklist .hk-visual-description-cell .hk-achievement-official {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  body.hk-achievements-checklist .hk-visual-table colgroup col:nth-child(2) {
    width: 70px !important;
  }
  body.hk-achievements-checklist .hk-visual-table tbody tr td.hk-visual-image-cell {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
  }
  body.hk-achievements-checklist .hk-visual-img {
    max-width: 67px;
    max-height: 80px;
  }
  body.hk-achievements-checklist .article-content table:has(colgroup) thead th:nth-child(3) {
    font-size: 9px !important;
    letter-spacing: 0.15px;
    padding: 6px 3px !important;
  }
  body.hk-achievements-checklist .item-info .item-type {
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  body.hk-achievements-checklist .item-info .item-name {
    font-size: 13px;
    margin-bottom: 2px;
  }
  body.hk-achievements-checklist .hk-achievement-official {
    font-size: 12px;
    margin-bottom: 6px;
  }
}

body.hk-hunters-journal-checklist .hk-journal-kills {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 8px 0;
  color: var(--hk-text-dim);
}
body.hk-hunters-journal-checklist .description-cell .hk-journal-kills:last-child {
  margin-bottom: 0;
}

/* Trinity + route photos: screenshots in description column */
body.hk-weapons-checklist .hk-screenshot-table tbody tr.hk-screenshot-row td,
body.hk-amulets-checklist .hk-screenshot-table tbody tr.hk-screenshot-row td,
body.hk-grindstones-checklist .hk-screenshot-table tbody tr.hk-screenshot-row td,
body.hk-costumes-checklist .hk-screenshot-table tbody tr.hk-screenshot-row td,
body.hk-gestures-checklist .hk-screenshot-table tbody tr.hk-screenshot-row td {
  padding: 6px 8px !important;
  vertical-align: top;
}
body.hk-weapons-checklist .hk-screenshot-table tbody tr td:nth-child(1),
body.hk-amulets-checklist .hk-screenshot-table tbody tr td:nth-child(1),
body.hk-grindstones-checklist .hk-screenshot-table tbody tr td:nth-child(1),
body.hk-costumes-checklist .hk-screenshot-table tbody tr td:nth-child(1),
body.hk-gestures-checklist .hk-screenshot-table tbody tr td:nth-child(1) {
  vertical-align: middle;
}
body.hk-weapons-checklist .hk-screenshot-description-cell .hk-item-screenshot-media,
body.hk-amulets-checklist .hk-screenshot-description-cell .hk-item-screenshot-media,
body.hk-grindstones-checklist .hk-screenshot-description-cell .hk-item-screenshot-media,
body.hk-costumes-checklist .hk-screenshot-description-cell .hk-item-screenshot-media,
body.hk-gestures-checklist .hk-screenshot-description-cell .hk-item-screenshot-media {
  margin: 0 0 8px 0;
  padding: 0;
}
body.hk-weapons-checklist .hk-item-screenshot,
body.hk-amulets-checklist .hk-item-screenshot,
body.hk-grindstones-checklist .hk-item-screenshot,
body.hk-costumes-checklist .hk-item-screenshot,
body.hk-gestures-checklist .hk-item-screenshot {
  display: block;
  max-width: min(560px, 100%);
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  object-fit: unset;
}
body.hk-weapons-checklist .hk-screenshot-info-cell .item-info .item-name,
body.hk-amulets-checklist .hk-screenshot-info-cell .item-info .item-name,
body.hk-grindstones-checklist .hk-screenshot-info-cell .item-info .item-name,
body.hk-costumes-checklist .hk-screenshot-info-cell .item-info .item-name,
body.hk-gestures-checklist .hk-screenshot-info-cell .item-info .item-name {
  margin-bottom: 2px;
}
body.hk-weapons-checklist .hk-screenshot-description-cell p,
body.hk-amulets-checklist .hk-screenshot-description-cell p,
body.hk-grindstones-checklist .hk-screenshot-description-cell p,
body.hk-costumes-checklist .hk-screenshot-description-cell p,
body.hk-gestures-checklist .hk-screenshot-description-cell p {
  margin: 0 0 4px 0;
}

/* Trinity: standard row alignment; route photos only in description column */
body.hk-trinity-checklist .hk-trinity-description-cell .hk-item-screenshot-media {
  margin: 0 0 8px 0;
  padding: 0;
}
body.hk-trinity-checklist .hk-item-screenshot {
  display: block;
  max-width: min(560px, 100%);
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  object-fit: unset;
}
body.hk-trinity-checklist .hk-trinity-description-cell p {
  margin: 0 0 4px 0;
}

/* FAQ (checklist pages + hub) */
body[class*="hk-"] .hk-faq-section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--hk-border);
}
body[class*="hk-"] .hk-faq-section > .hk-section-heading {
  margin-bottom: 20px;
}
body[class*="hk-"] .hk-faq-list {
  margin: 0 0 28px 0;
}
body[class*="hk-"] .hk-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--hk-border);
}
body[class*="hk-"] .hk-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
body[class*="hk-"] .hk-faq-item h3 {
  color: var(--hk-soul-bright) !important;
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.35;
}
body[class*="hk-"] .hk-faq-item p {
  margin: 0;
  color: var(--hk-primary-bright);
  font-size: 15px;
  line-height: 1.65;
}
body[class*="hk-"] .hk-faq-item p a {
  color: var(--hk-soul) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(77, 208, 255, 0.5);
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
body[class*="hk-"] .hk-faq-item p a:hover {
  color: var(--hk-soul-bright) !important;
  text-decoration-color: var(--hk-soul-bright);
  text-decoration-thickness: 2px;
}
body[class*="hk-"] .hk-faq-item p a:visited {
  color: var(--hk-soul) !important;
}
body[class*="hk-"] .hk-faq-item p a:visited:hover {
  color: var(--hk-soul-bright) !important;
}
body[class*="hk-"] .hk-faq-thumbnail {
  margin-top: 8px;
}
body[class*="hk-"] .hk-faq-thumbnail img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--hk-border-strong);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
