@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlowcondensed-700.woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/barlowcondensed-900.woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2"); }

:root {
  color-scheme: dark;
  --ink: #f6f3ea;
  --muted: #b9bab1;
  --flame: #ff893f;
  --ember: #ec762f;
  --ember-light: #ff9a55;
  --gold: #edb57f;
  --surface: #1c1e1b;
  --surface-strong: #171917;
  --line: #393c35;
  --body-font: "Barlow", "Segoe UI", Arial, sans-serif;
  --display-font: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --lb-red: #ff9350;
  --lb-gold: #edb57f;
}
.hcm-wrap { width: min(1240px,calc(100% - clamp(40px,10vw,160px))); margin-inline: auto; }
.hcm-icon { width: 22px; height: 22px; display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hcm-header { background: #141513; color: var(--ink); border-bottom: 1px solid #353630; font-family: var(--body-font); }
.hcm-header-inner { min-height: 75px; display: flex; align-items: center; gap: clamp(25px,5vw,80px); }
.hcm-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); text-decoration: none; flex: none; }
.hcm-heart { width: 41px; height: 37px; display: block; image-rendering: pixelated; }
.hcm-wordmark { display: grid; gap: 4px; text-transform: uppercase; }
.hcm-wordmark b { font: 900 27px/.82 var(--display-font); letter-spacing: .005em; color: #f6f3e9; }
.hcm-wordmark small { font: 700 8px/1 var(--body-font); letter-spacing: .19em; color: #b9b8ae; }
.hcm-nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(17px,2.3vw,36px); }
.hcm-nav a { position: relative; display: flex; align-items: center; color: #c6c7bd; font: 600 15px/1 var(--body-font); text-decoration: none; }
.hcm-nav a[aria-current="page"] { color: #ffab6b; }
.hcm-nav a[aria-current="page"]::after { position: absolute; inset: auto 0 0; height: 3px; content: ""; background: var(--flame); }
.hcm-nav a:hover, .hcm-discord:hover { color: #ffb783; }
.hcm-discord { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid #4d4e46; border-radius: 3px; color: #e9e8dd; text-decoration: none; white-space: nowrap; font: 600 14px/1.1 var(--body-font); }
.hcm-discord .hcm-icon { width: 18px; height: 18px; }
.hcm-discord:hover { background: #242621; border-color: #7c7769; }
.hcm-skip { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-180%); background: #f8b17e; color: #1c1713 !important; padding: 12px; font: 700 14px/1 var(--body-font); }
.hcm-skip:focus { transform: none; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid #ffb875; outline-offset: 3px; }
::selection { background: #ed8d50; color: #171614; }

body.portal-body, body.portal-body.news-page, body.leaderboard-page { background: #121411 !important; color: var(--ink); font-family: var(--body-font); }
body.portal-body::before, body.portal-body.store-body::before, .lb-backdrop { display: none; }
.news-shell, .lb-shell, .portal-shell:not(.portal-shell--admin):not(.store-shell) { width: min(1160px,calc(100% - clamp(32px,8vw,112px))); }
.portal-title, .section-heading, .news-story-card__body h2, .store-gate__title, .store-heading__title, .lb-hero h1, .hero-side-title { font-family: var(--display-font); font-weight: 900; }
.portal-title { text-shadow: none; line-height: .96; }
.portal-title em, .store-gate__title em { color: var(--flame); }
.eyebrow { color: #efb17f; }
.button--primary, .store-gate__submit { border: 1px solid #ef9b63; background: #ff914c; color: #21160c; box-shadow: inset 0 -2px 0 #d77537; }
.button--quiet { background: #252723; }
.button { border-radius: 3px; }
.panel, .admin-card, .admin-sidebar, .feature-card, .product-card, .news-subscribe-note, .qualification-card, .article-rail-card { border-radius: 4px; background: #1c1f1b; border-color: var(--line); box-shadow: none; }
.field input:not([type="checkbox"]), .field textarea, .field select, .store-gate__form input { background: #111410; border-radius: 3px; }
.field label, .field input, .field textarea, .field-note, .section-copy, .feature-card p, .step p { font-size: 14px; }
.portal-footer, .lb-footer { color: #b7b9ad; }
.portal-header .hcm-brand { margin-block: 12px; }
.content-section > .eyebrow { margin-bottom: 9px; }
.staff-hero { background: linear-gradient(90deg,#191a17f7 3%,#191a17e5 34%,#191a175c 70%,#191a171c),url("../images/survival-valley.webp") 65% 55% / cover; }
.staff-hero::after { display: none; }
.staff-hero .portal-lede { max-width: 520px; }

.news-main { padding-top: 30px; }
.news-intro, .news-article__header { max-width: none; margin-bottom: 35px; padding: clamp(28px,4.4vw,64px); border: 1px solid #3b4038; border-radius: 4px; background: linear-gradient(90deg,#131a16f5,#131a16d9 40%,#131a1659 74%),url("../images/monthly-hunt.webp") center 38% / cover; }
.news-intro .portal-title { margin: 15px 0; }
.news-article__header .news-story-card__topline { color: #ddd9cb; }
.news-article__byline { max-width: 630px; }
.news-article__dek { max-width: 610px; }
.news-story-card { background: #1c201b; border-color: #3c4137; border-radius: 4px; box-shadow: none; }
.news-story-card__facts { background: #242821; }
.news-story-card__summary, .news-story-card__facts > div span { color: #c3c5b9; }
.news-story-card__body h2 { color: var(--ink); }
.news-story-card__facts > div span { font-size: 13px; }
.news-story-card__kicker, .news-story-card__facts-label, .news-story-card__bottom { font-size: 10px; }
.news-article__content { color: #d0d2c7; }

.lb-hero { margin-top: 26px; padding: clamp(30px,4vw,58px); background: linear-gradient(90deg,#121711f5,#121711b8 44%,#12171138),url("../images/monthly-hunt.webp") center 44% / cover; border: 1px solid #3b4038; border-radius: 4px; }
.lb-hero::before { display: none; }
.lb-hero h1 { line-height: .91; }
.hero-side { align-self: flex-end; background: #161a15eb; padding: 16px; border: 1px solid #555747; border-radius: 3px; }
.lb-page-tab, .overview-card, .hunt-board, .ranking-panel { border-radius: 3px; }
.lb-page-tab.active { background: #31291f; }
.overview-card { background: #1e221d; }
.lb-page-tab span { font-size: 12px; }
.lb-page-tab small { font-size: 12px; }
.lb-hero .eyebrow { color: #f3bb8b; }
body.store-body { --store-ember: #ff9958; --store-gold: #f2b984; }
.store-heading { min-height: 178px; border: 1px solid #424237; border-radius: 4px; padding: clamp(18px,3vw,42px); background: linear-gradient(90deg,#171a15f5,#171a15c7 50%,#171a1577),url("../images/survival-valley.webp") center 60% / cover; }
.store-heading__title { font-size: clamp(38px,4.8vw,64px); }
.store-heading > p { color: #e0dfd4; font-size: 14px; }
.store-collection { padding-top: 30px; }
.store-access-backdrop { background: linear-gradient(100deg,#0c100dc9,#14150f75),url("../images/survival-valley.webp") 65% center / cover; backdrop-filter: none; }
.store-gate { border-color: #484c40; border-top: 3px solid var(--flame); border-radius: 5px; background: #1b1e19; }
.store-gate__copy { font-size: 15px; color: #d0d0c5; }
.store-gate__form label, .store-gate__message { font-size: 13px; }
.store-gate__topline, .store-gate__submit { font-size: 11px; }
.store-gate__server code { font-size: 13px; }
.store-gate__privacy { font-size: 11px; color: #c0bfb3; }
.store-gate__home { display: inline-flex; margin-top: 16px; font-size: 13px; color: #f4b788; text-decoration: underline; text-underline-offset: 3px; }
.store-gate__message--error { color: #ffb5a2; }
.status-page { background: linear-gradient(90deg,#161915df,#16191597),url("../images/survival-valley.webp") center / cover; }
.admin-nav__link, .admin-table, .admin-top p, .admin-notes { font-size: 13px; }
.admin-card, .form-card { border-top: 2px solid #a67147; }
@media(max-width: 780px) {
  .hcm-header-inner { gap: 20px; }
  .hcm-nav { gap: 16px; }
  .hcm-nav a { font-size: 14px; }
  .hcm-discord { padding: 9px 11px; }
}
@media(max-width: 640px) {
  .hcm-wrap { width: calc(100% - 36px); }
  .hcm-header-inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 12px; }
  .hcm-brand { gap: 8px; }
  .hcm-heart { width: 34px; height: 31px; }
  .hcm-wordmark b { font-size: 24px; }
  .hcm-wordmark small { font-size: 7px; }
  .hcm-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 14px; margin-top: 8px; }
  .hcm-nav a { min-height: 38px; }
  .hcm-discord { grid-column: 2; grid-row: 1; font-size: 13px; }
  .news-intro, .news-article__header { background-image: linear-gradient(90deg,#131a16ed,#131a16b5 70%,#131a166e),url("../images/monthly-hunt.webp"); }
  .lb-hero { margin-top: 15px; }
  .store-heading { align-items: flex-start; justify-content: center; flex-direction: column; gap: 9px; }
  .staff-hero { background-image: linear-gradient(90deg,#191a17eb,#191a17ad),url("../images/survival-valley.webp"); }
}

.staff-crumb { display: inline-block; margin-bottom: 18px; color: #e4b58e; }
.status-page { border: 1px solid #46483c; border-top: 3px solid var(--flame); min-height: 0; margin-block: min(12vh,90px); border-radius: 4px; padding: clamp(24px,5vw,70px); }
.status-page .portal-title { font-size: clamp(48px,6vw,77px); }
.hero-side-meta { margin-top: 12px; }
.overview-label { font-size: 10px; color: #b3b7a9; }
.overview-card small { font-size: 12px; }
@media(max-width: 640px) {
  .lb-hero { padding: 24px; }
  .lb-hero h1 { font-size: clamp(40px,13vw,76px); }
  .hero-side { width: min(100%,280px); }
}
@media(max-width: 640px) {
  .hcm-header-inner:has(.hcm-nav a:nth-child(5)) .hcm-nav { gap: 8px; }
  .hcm-header-inner:has(.hcm-nav a:nth-child(5)) .hcm-nav a { font-size: 13px; }
}
