@font-face{font-family:Golos;src:url(assets/golos-text-cyrillic-400-normal.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Golos;src:url(assets/golos-text-cyrillic-600-normal.woff2) format('woff2');font-weight:600;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Golos;src:url(assets/golos-text-latin-400-normal.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+2190-2199}
@font-face{font-family:Golos;src:url(assets/golos-text-latin-600-normal.woff2) format('woff2');font-weight:600;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+2190-2199}
@font-face{font-family:Cormorant;src:url(assets/cormorant-ru.woff2) format('woff2');font-weight:500 700;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Cormorant;src:url(assets/cormorant-latin.woff2) format('woff2');font-weight:500 700;font-display:swap;unicode-range:U+0000-024F,U+2000-206F}

:root {
  color-scheme: dark;
  --canvas: #171d18;
  --rail: #1c231d;
  --panel: #202921;
  --line: #394438;
  --ink: #f0ead9;
  --muted: #b6beab;
  --moss: #d7dda6;
  --gold: #efc57e;
  --blue: #acccd2;
  --display: Cormorant, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.6 Golos, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 3; background: var(--panel); padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
.rail { background: var(--rail); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 27px 19px 24px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 6px 25px; text-decoration: none; font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #676f4c; background: #35402d; border-radius: 50%; color: var(--moss); font: 25px/1 Georgia, serif; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.navigation a { display: block; text-decoration: none; padding: 8px 11px; border-radius: 6px; }
.navigation > a { background: #303b2e; color: var(--moss); font-weight: 600; }
.navigation #stages { margin-top: 10px; padding-left: 9px; }
.navigation #stages a { color: var(--muted); font-size: 13px; }
.navigation #stages a:hover { color: var(--gold); background: #242d23; }
.player { margin-top: auto; padding: 16px 9px 0; border-top: 1px solid var(--line); }
.player-name { font-weight: 600; }
.player-class { color: var(--muted); font-size: 12px; }
.level-control { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.level-control label { color: var(--muted); font-size: 12px; }
.level-control input { width: 66px; padding: 4px 5px 4px 9px; color: var(--ink); border: 1px solid #58634d; border-radius: 5px; background: var(--canvas); }
main { width: min(100%, 1310px); margin-inline: auto; padding: 0 clamp(23px, 4vw, 58px); }
.topline { display: flex; justify-content: space-between; align-items: center; min-height: 61px; color: var(--muted); font-size: 12px; }
.topline span:first-child { color: var(--ink); }
.hero { position: relative; min-height: 324px; display: flex; align-items: center; overflow: hidden; border: 1px solid #50583f; border-radius: 13px; background: #252d20; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#1b241b 4%,#1b241bf4 27%,#1b241b9e 49%,#1b241b22 80%), linear-gradient(0deg,#1b241b83,transparent 58%), url(assets/forest.webp) right 46% / auto 128% no-repeat; }
.hero-content { position: relative; padding: 32px clamp(23px, 5vw, 65px) 36px; }
.hero-content p { margin: 0 0 10px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 600 clamp(56px, 7.8vw, 108px)/.79 var(--display); letter-spacing: -.025em; }
.hero-caption { margin-top: 22px; max-width: 325px; color: #e1e3cc; font-size: 13px; }
.next { margin-top: 19px; padding: 15px 20px; min-height: 77px; display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; align-items: center; gap: 15px; border: 1px solid #505a3e; background: #293328; border-radius: 8px; }
.next-label { color: var(--moss); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.next strong { display: block; font-size: 15px; }
.next-detail { color: var(--muted); font-size: 12px; }
.next a { color: var(--gold); font-weight: 600; white-space: nowrap; }
#road { margin-top: 39px; scroll-margin-top: 15px; }
.route-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.route-head p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #1d251e; }
.filters button { color: var(--muted); border: 0; border-radius: 4px; background: transparent; padding: 5px 10px; white-space: nowrap; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed=true] { color: var(--moss); background: #354132; }
.stage { margin: 0 0 33px; scroll-margin-top: 16px; }
.stage-header { display: flex; gap: 13px; align-items: center; margin-bottom: 11px; }
.stage-header::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.stage-levels { color: var(--moss); font-size: 13px; font-weight: 600; }
.stage-header h3 { font: 400 12px/1.4 Golos, sans-serif; color: var(--muted); }
.dungeon { display: grid; grid-template-columns: minmax(175px, .7fr) minmax(0, 2fr); gap: 21px; padding: 17px 19px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 9px; scroll-margin-top: 18px; }
.dungeon:target { border-color: var(--gold); }
.dungeon h4 { margin: 0 0 2px; font: 700 26px/.99 var(--display); }
.visit { margin: 7px 0 0; color: var(--moss); font-size: 12px; }
.zone { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.reward + .reward { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.reward-title { display: flex; flex-wrap: wrap; column-gap: 9px; row-gap: 4px; align-items: baseline; margin: 0; padding-right: 6px; }
.reward-title a { font-size: 16px; font-weight: 600; text-decoration-color: #687560; }
.kind { color: var(--gold); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .075em; }
.kind.drop { color: var(--blue); }
.stats { color: var(--moss); font-size: 12px; margin: 5px 0; }
.source, .value { font-size: 12px; margin: 5px 0 0; }
.source { color: var(--muted); }
.source a { color: var(--ink); }
.reward-foot { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.horizon { font-size: 11px; color: var(--moss); background: #2e3a2b; padding: 1px 7px; border-radius: 4px; }
.checked { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; min-height: 25px; cursor: pointer; font-size: 11px; }
.checked input { accent-color: var(--moss); width: 15px; height: 15px; margin: 0; }
.empty { color: var(--muted); }
footer { margin-top: 35px; border-top: 1px solid var(--line); padding: 14px 0 26px; font-size: 11px; color: var(--muted); }
footer p { margin: 5px 0; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 188px minmax(0, 1fr); }
  .rail { padding-inline: 13px; }
  .route-head { align-items: start; flex-direction: column; gap: 11px; }
  .dungeon { grid-template-columns: minmax(140px, .65fr) minmax(0, 2fr); gap: 15px; }
}
@media (max-width: 740px) {
  .layout { display: block; }
  .rail { position: static; height: auto; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 0 12px; grid-template-columns: 1fr auto; }
  .brand { padding: 0; }
  .brand-mark { width: 33px; height: 33px; }
  .player { margin: 0; border: 0; padding: 0; display: flex; align-items: center; }
  .player-name, .player-class, .navigation > a { display: none; }
  .level-control { margin: 0; }
  .navigation { grid-column: 1 / -1; grid-row: 2; }
  .navigation #stages { display: flex; flex-wrap: wrap; gap: 2px 8px; padding: 0; margin-top: 7px; }
  .navigation #stages a { padding: 2px 2px; font-size: 11px; }
  main { padding-inline: 16px; }
  .topline { min-height: 39px; }
  .hero { min-height: 260px; }
  .hero::before { background-position: center, center, 60% center; background-size: auto, auto, auto 110%; }
  .hero h1 { font-size: clamp(57px, 13vw, 76px); }
  .hero-caption { max-width: 250px; }
  .next { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px; }
  .next-label { grid-column: 1 / -1; }
  .next a { white-space: normal; }
  #road { margin-top: 29px; }
  .dungeon { grid-template-columns: 1fr; gap: 11px; padding: 14px; }
  .dungeon-head { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
  .visit, .zone { display: inline-block; margin-right: 8px; }
}
@media (max-width: 360px) {
  .brand { gap: 6px; }
  .level-control { gap: 5px; }
  .level-control input { width: 53px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.navigation > .auction-jump { margin-top: 13px; background: transparent; color: var(--gold); border-top: 1px solid var(--line); border-radius: 0; }
#auction { scroll-margin-top: 18px; margin-top: 42px; }
#auction .route-head { margin-bottom: 15px; }
.purchase { display: grid; grid-template-columns: 67px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.purchase-level { text-align: center; display: flex; flex-direction: column; justify-content: flex-start; }
.purchase-level strong { font: 600 38px/1 var(--display); color: var(--gold); }
.purchase-level span { font-size: 11px; color: var(--muted); }
.purchase h3 { font: 600 16px/1.35 Golos, sans-serif; }
.purchase p { font-size: 13px; margin: 4px 0; max-width: 82ch; }
@media (max-width: 740px) {
  .purchase { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
}
.market-note { margin: 0 0 14px; padding: 9px 13px; font-size: 12px; color: var(--muted); border-left: 2px solid #6c704c; }
.auction-price { display: inline-block; font: 400 12px/1.5 Golos, sans-serif; color: var(--gold); margin-left: 7px; }
