/* /guides/: plain-language player guides. Loaded after site.css and shares its tokens, nav, panels, FAQ drawers and
   the help page's kicker/title/kbd styles. Everything here is scoped to .guide so the rest of the site is untouched. */
.guide {
  --mono: ui-monospace, 'Cascadia Mono', Consolas, 'SFMono-Regular', Menlo, monospace;
  width: min(100% - 2 * var(--gutter), 900px); margin: 0 auto; padding: 112px 0 clamp(60px, 7vw, 100px);
}
.guide kbd {
  display: inline-block; padding: 1px 7px 2px; font: 600 .82em/1.4 var(--sans); color: var(--parchment); white-space: nowrap;
  background: rgba(239, 231, 212, .08); border: 1px solid rgba(239, 231, 212, .22); border-bottom-width: 2px; border-radius: 4px;
}
.guide code { padding: 1px 6px; font: 500 .9em/1.4 var(--mono); color: var(--gilt-hi); background: rgba(228, 185, 100, .09); }
.guide b, .guide strong { color: var(--gilt-hi); font-weight: 600; }
.guide a { color: var(--gilt-hi); text-underline-offset: 3px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; font: 600 14px/1.3 var(--sans); color: var(--ash); }
.crumbs a { color: var(--ash); text-decoration: none; }
.crumbs a:hover { color: var(--gilt-hi); }
.crumbs span[aria-hidden] { color: var(--dim); }

.guide-hero { padding-bottom: clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--line-soft); }
.guide-hero .help-lede { margin-top: 14px; }
.guide-toc { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.guide-toc a {
  display: inline-block; padding: 7px 12px; font: 600 14px/1.2 var(--sans); color: var(--parchment); text-decoration: none;
  background: rgba(239, 231, 212, .04); border: 1px solid var(--line-soft); transition: border-color .2s, color .2s;
}
.guide-toc a:hover { color: var(--gilt-hi); border-color: var(--line); }

.guide-section { padding-top: clamp(30px, 4vw, 48px); }
.guide-section > h2:not(.h-small) { font-size: clamp(24px, 1.2vw + 17px, 34px); }
.guide-section h3 { margin-top: 26px; font: 700 19px/1.3 var(--sans); color: var(--gilt-hi); }
.guide-section p, .guide-section ul, .guide-section ol { max-width: 72ch; margin-top: 12px; color: rgba(239, 231, 212, .88); }
.guide-section ul, .guide-section ol { padding-left: 1.3em; }
.guide-section li + li { margin-top: 6px; }
.guide-section li::marker { color: var(--gilt); }

/* "Next update" / "Coming soon": anything not in the live game yet wears one of these. */
.soon {
  display: inline-block; margin: 0 4px; padding: 2px 8px 3px; vertical-align: 2px; white-space: nowrap;
  font: 700 11.5px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase;
  color: var(--abyss); background: var(--arcane);
}
.soon-later { background: var(--down); }
h2 .soon, h3 .soon { vertical-align: 6px; -webkit-text-fill-color: var(--abyss); }

.tip {
  display: flex; gap: 12px; align-items: flex-start; max-width: 72ch; margin-top: 18px; padding: 13px 16px;
  font-size: 15.5px; line-height: 1.55; background: rgba(47, 211, 138, .07); border-left: 2px solid var(--emerald);
}
.tip::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; transform: rotate(45deg); background: var(--emerald); }
.tip-soon { background: rgba(125, 226, 240, .07); border-left-color: var(--arcane); }
.tip-soon::before { background: var(--arcane); }
.tip p { margin: 0; }
.tip p + p { margin-top: 8px; }

.keys { width: 100%; max-width: 760px; margin-top: 16px; border-collapse: collapse; font-size: 15.5px; }
.keys th, .keys td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.keys th { width: 38%; font-weight: 600; color: var(--parchment); }
.keys td { color: rgba(239, 231, 212, .85); }
.keys thead th { font: 700 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gilt); }

.shot { margin: 22px 0 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line-soft); background: var(--basalt); }
.shot figcaption { margin-top: 8px; font-size: 14px; color: var(--ash); }
.shot-narrow { max-width: 380px; }
.shot-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }

.example { max-width: 72ch; margin-top: 16px; padding: 16px 18px; background: var(--panel-bg); border: 1px solid var(--line-soft); }
.example h4 { margin: 0; font: 700 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gilt); }
.example p { margin-top: 8px; }

/* guides home: one card per guide */
.guide-cards { list-style: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-card a {
  display: grid; gap: 6px; height: 100%; padding: 18px 20px; text-decoration: none; color: inherit;
  background: var(--panel-bg); border: 1px solid var(--line-soft); border-top: 2px solid rgba(228, 185, 100, .55);
  transition: border-color .2s, transform .2s var(--ease);
}
.guide-card a:hover { border-color: var(--line); transform: translateY(-2px); }
.guide-card b { font: 700 19px/1.25 var(--sans); color: var(--gilt-hi); }
.guide-card span { font-size: 15px; color: rgba(239, 231, 212, .78); }
.guide-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 14.5px; color: var(--ash); }

.guide-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 60px); padding-top: 20px; border-top: 1px solid var(--line-soft); }
.guide-next a { font-weight: 600; text-decoration: none; }
.guide-next a:hover { text-decoration: underline; }

/* weapons table */
.wfilters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; }
.wfilters input[type="search"] {
  flex: 1 1 220px; min-width: 0; padding: 10px 12px; font: 500 16px/1.2 var(--sans); color: var(--parchment);
  background: rgba(5, 10, 9, .6); border: 1px solid var(--line-soft);
}
.wfilters input[type="search"]:focus { border-color: var(--line); outline: none; }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; }
.wchips button {
  padding: 8px 12px; font: 600 14px/1 var(--sans); color: var(--parchment); cursor: pointer;
  background: rgba(239, 231, 212, .04); border: 1px solid var(--line-soft);
}
.wchips button[aria-pressed="true"] { color: var(--abyss); background: var(--gilt); border-color: var(--gilt); }
.wfilters label { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ash); cursor: pointer; }
.wcount { font-size: 14px; color: var(--ash); }
.gen-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
.wtable-wrap { margin-top: 12px; max-height: 70vh; overflow: auto; border: 1px solid var(--line-soft); -webkit-overflow-scrolling: touch; }
.wtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wtable th, .wtable td { padding: 8px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line-soft); }
.wtable td:last-child { white-space: normal; min-width: 180px; }
.wtable thead th {
  position: sticky; top: 0; z-index: 1; font: 700 12.5px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase;
  color: var(--gilt); background: #0f1916;
}
.wtable tbody th { font-weight: 600; color: var(--parchment); }
.wtable tbody tr:hover { background: rgba(228, 185, 100, .05); }
.wtable .num { text-align: right; font-variant-numeric: tabular-nums; }
.wtable td { color: rgba(239, 231, 212, .85); }

@media (max-width: 700px) {
  .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .shot-row { grid-template-columns: minmax(0, 1fr); }
  .keys th { width: 42%; }
  .keys th, .keys td { padding: 9px 8px; }
  .wtable { font-size: 13.5px; }
}
