/* Base sheet, inlined 18 Nov 2026 (was @import url('/_s/b7400d21b368.css')). The site no longer depends on a build-hashed asset file. */
:root {
  --ink: #120e0c;
  --raise: #1d1613;
  --paper: #f4efe6;
  --dim: #cbbbaa;
  --faint: rgba(244, 239, 230, 0.14);
  --seal: #e23b2f;
  --seal-deep: #8e2219;
  --gold: #e4c27a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(820px 420px at -8% -10%, rgba(226, 59, 47, 0.3), transparent 62%),
    linear-gradient(180deg, var(--raise) 0%, var(--ink) 45%, var(--ink) 100%);
}
::selection { background: var(--seal); color: white; }
a { color: var(--gold); text-underline-offset: 0.18em; }
a:hover { color: white; }
img { max-width: 100%; height: auto; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 5;
}
.skip:focus { top: 0.75rem; }

.mast, .colophon, .hero, .layout, .sheet {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--faint);
}
.brand, .colophon-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand-kicker, .eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.seal {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  flex: none;
  border: 2px solid var(--seal);
  border-radius: 50%;
  color: var(--seal);
  font-family: var(--serif);
  font-weight: 700;
  box-shadow: inset 0 0 0 4px rgba(226, 59, 47, 0.28);
}
.seal-sm { width: 2.2rem; height: 2.2rem; font-size: 0.8rem; }
.mast-nav, .colophon nav, .index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.mast-nav a, .colophon nav a, .index a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.92rem;
}
.mast-nav a:hover, .colophon nav a:hover, .index a:hover { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: end;
  padding: 2.2rem 0 0.5rem;
}
.hero h1 {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--dim);
  font-size: 1.12rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.15rem; }
.btn, .copy, button {
  font: inherit;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-seal { background: var(--seal); color: white; }
.btn-seal:hover { background: var(--seal-deep); color: white; }
.btn-ghost { border-color: var(--faint); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }


.ticket {
  background: var(--paper);
  color: var(--ink);
  padding: 1.15rem 1.15rem 1rem 1.35rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0.35rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  background-image: radial-gradient(circle at 0 14px, transparent 7px, var(--paper) 8px);
  background-size: 100% 28px;
}
.ticket .eyebrow { color: var(--seal-deep); }
.ticket-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.35rem 0;
}
.ticket-code strong {
  font-family: var(--mono);
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}
.copy {
  min-height: 2.6rem;
  padding: 0.35rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.copy:hover { background: var(--seal-deep); }
.ticket p { margin: 0.2rem 0 0; }
.ticket .reward { font-weight: 650; }
.ticket .fine { color: var(--ink); font-size: 0.9375rem; line-height: 1.5; }

.layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0 3rem;
}
.index {
  position: sticky;
  top: 1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.3rem;
  padding-right: 1.2rem;
  border-right: 1px solid var(--faint);
}
.index a { line-height: 1.45; }
.index span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prose { max-width: var(--measure); }
.prose h2 {
  margin: 2.1rem 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 700;
}
.prose h2 .num {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--seal);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}


.prose p, .prose li { color: var(--dim); }
.prose strong { color: var(--paper); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  margin: 0.7rem 0;
}
.steps li::before {
  content: counter(step);
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--seal);
  color: white;
  font-size: 0.85rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  margin: 0;
  padding: 0.8rem 0.85rem;
  background: rgba(244, 239, 230, 0.08);
  border-top: 2px solid var(--seal);
}
.facts b { display: block; color: var(--paper); font-family: var(--serif); font-size: 1.05rem; }

.ask { margin-top: 0.4rem; }
.ask details {
  border-top: 1px solid var(--faint);
  padding: 0.85rem 0;
}
.ask summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--paper);
}
.ask summary:hover { color: var(--gold); }
.ask p { margin: 0.55rem 0 0.2rem; }

.react {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 1.4rem 0 0.4rem;
}
.react button, .ghost-btn {
  min-height: 2.7rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--faint);
  background: transparent;
  color: var(--paper);
}
.react button:hover, .ghost-btn:hover { border-color: var(--gold); color: var(--gold); }
[data-gf-like][aria-pressed="true"],
[data-gf-like][data-gf-liked] {
  background: var(--seal);
  border-color: var(--seal);
  color: white;
}
.share-msg, .form-msg { min-height: 1.2rem; color: var(--gold); font-size: 0.92rem; }


.notes { margin-top: 0.6rem; }
.notes[data-gf-empty]::before {
  content: "No notes yet. Say whether the code redeemed, and what the reward line showed.";
  display: block;
  color: var(--dim);
  padding: 0.8rem 0 0.2rem;
}
.notes[data-gf-off]::before {
  content: "Comments are turned off.";
  display: block;
  color: var(--dim);
}
.note, .reply {
  padding: 0.85rem 0;
  border-top: 1px solid var(--faint);
}
.note header, .reply header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: baseline;
  color: var(--dim);
  font-size: 0.92rem;
}
.note [data-gf-c-name], .reply [data-gf-c-name] { color: var(--paper); font-weight: 650; }
[data-gf-c-owner] { display: none; }
[data-gf-owner] [data-gf-c-owner] {
  display: inline-block;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--seal);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-gf-owner] { background: none; padding-left: 0.7rem; padding-right: 0.7rem; }
.note p, .reply p { margin: 0.35rem 0; }
.replies { margin-left: 0.8rem; }
.reply-btn {
  border: 0;
  background: none;
  color: var(--gold);
  padding: 0;
  min-height: 2rem;
}

.note-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding: 1rem;
  background: var(--raise);
  border-radius: 0.9rem;
}
.note-form[data-gf-replying] { outline: 1px solid var(--seal); }
.note-form label { display: grid; gap: 0.25rem; color: var(--dim); font-size: 0.92rem; }
.note-form input, .note-form textarea {
  width: 100%;
  font: inherit;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--faint);
  border-radius: 0.55rem;
  padding: 0.6rem 0.7rem;
}
.note-form textarea { min-height: 7rem; resize: vertical; }
.reply-line { display: flex; justify-content: space-between; gap: 0.7rem; align-items: center; }
.reply-line:empty, .reply-line:has([data-gf-reply-to]:empty) { display: none; }


.sheet { padding: 2.2rem 0 4rem; }
.sheet h1 {
  margin: 0.2rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.95;
}

.colophon {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid var(--faint);
}
.colophon p { margin: 0.15rem 0; color: var(--dim); }
.fine { font-size: 0.88rem; }

/* --- guide pages --- */
.ticket a { color: var(--seal-deep); text-decoration-thickness: 1px; }
.ticket a:hover { color: var(--ink); }
.hero-split { grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr); }
.hero-solo { grid-template-columns: minmax(0, 1fr); align-items: start; }
.guide-hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}
.hero .fine { margin: 0.9rem 0 0; color: var(--dim); }

.cards { list-style: none; padding: 0; margin: 1.15rem 0 0; display: grid; gap: 0.8rem; }
.cards li { margin: 0; }
.cards a {
  display: block;
  padding: 1rem 1.15rem 1.05rem;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--faint);
  border-left: 3px solid var(--seal);
  border-radius: 0.2rem 0.9rem 0.9rem 0.2rem;
  background: rgba(244, 239, 230, 0.08);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.cards a:hover,
.cards a:focus-visible {
  border-color: var(--gold);
  border-left-color: var(--gold);
  background: var(--faint);
  transform: translateY(-1px);
}
.card-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cards b {
  display: block;
  margin: 0.18rem 0 0.32rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
}
.cards a span:last-child { display: block; color: var(--dim); font-size: 0.96rem; line-height: 1.55; }


.video-frame {
  margin: 1rem 0 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--faint);
  border-radius: 1rem;
  overflow: hidden;
  background: #1a1210;
}
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.prose h3 {
  margin: 1.6rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--paper);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.05rem 0;
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--faint);
  color: var(--dim);
  vertical-align: top;
}
.prose th { color: var(--paper); font-weight: 650; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose code {
  font-family: var(--mono);
  font-size: 0.94em;
  background: rgba(226, 59, 47, 0.14);
  color: var(--paper);
  padding: 0.1rem 0.32rem;
  border-radius: 0.3rem;
}

@media (max-width: 800px) {
  .hero, .layout, .facts { grid-template-columns: 1fr; }
  .mast { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
  .index {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 0 0 0.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--faint);
  }
  .hero { padding-top: 1.4rem; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .hero-split { grid-template-columns: 1fr; }
  .guide-hero h1 { font-size: clamp(2.2rem, 11.5vw, 3.2rem); }
  .actions { gap: 0.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* --- layer over the base sheet, 18 Nov 2026 (the @import is gone: base is inline above) --- */
:root {
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html, body { overflow-x: hidden; }
.layout { min-width: 0; }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose p, .prose li { line-height: 1.7; }
.prose > p, .prose > ul, .prose > ol { max-width: 68ch; }
.prose .lede, .hero .lede { max-width: 46ch; }
.gf-tool { width: 100%; max-width: 100%; margin-bottom: 0.4rem; }

.calc-field { gap: 0.5rem; min-width: 0; }
.calc-field span { color: var(--dim); font-size: 0.95rem; letter-spacing: 0.01em; }
.calc-field input,
.calc-field select,
.gf-tool input,
.gf-tool select {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--paper);
  background: rgba(244, 239, 230, 0.08);
  border: 1px solid var(--faint);
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
  appearance: none;
}
.calc-field input:focus-visible,
.calc-field select:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}
.calc-out {
  margin-top: 20px;
  padding: 20px 22px;
  background: var(--raise);
  border: 1px solid var(--faint);
  border-left: 4px solid var(--seal);
  border-radius: 8px;
  overflow-wrap: break-word;
}
.calc-big {
  margin: 0 0 0.4rem;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.calc-line { margin: 0 0 0.5rem; line-height: 1.65; }
.calc-note { margin: 0.7rem 0 0; color: var(--dim); font-size: 0.9rem; }

/* --- the code ticket: readable reward line on the light card --- */
.ticket .reward { color: var(--ink); font-weight: 600; }
.ticket .eyebrow { color: var(--seal-deep); }


/* --- ten nav items: roomy on wide screens, tight but never clipped below --- */
@media (min-width: 721px) {
  .mast { gap: 1.1rem; }
  .mast .brand { flex: 0 0 auto; }
  .mast-nav { flex: 0 1 auto; justify-content: flex-end; gap: 0.3rem 0.95rem; }
  .mast-nav a { white-space: nowrap; padding-bottom: 2px; }
  .mast-nav a[aria-current="page"] {
    color: var(--paper);
    box-shadow: inset 0 -2px 0 var(--seal);
  }
}
@media (min-width: 721px) and (max-width: 1180px) {
  .mast-nav { gap: 0.28rem 0.7rem; }
  .mast-nav a { font-size: 0.86rem; }
  .brand-kicker { font-size: 0.7rem; }
}

/* --- card list: two columns once there is room, so it stops reading as a wall --- */
@media (min-width: 1000px) {
  .prose .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding-left: 0;
    list-style: none;
  }
  .prose .cards li { margin: 0; }
}

@media (max-width: 720px) {
  .mast { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
  .mast .brand { flex: 1 1 auto; min-width: 0; }
  .mast .mnav { flex: 0 0 auto; width: auto; margin-left: auto; }
  .mast .mnav > summary {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid var(--faint);
    border-radius: 6px;
    line-height: 1;
  }
  /* the drawer lists the same ten links in the same order as the desktop bar */
  .mnav-panel { display: flex; flex-direction: column; }
  .mnav-panel a[href="/codes"] { order: 1; }
  .mnav-panel a[href="/clans"] { order: 2; }
  .mnav-panel a[href="/tier-list"] { order: 3; }
  .mnav-panel a[href="/techniques"] { order: 4; }
  .mnav-panel a[href="/map"] { order: 5; }
  .mnav-panel a[href="/value-list"] { order: 6; }
  .mnav-panel a[href="/trello"] { order: 7; }
  .mnav-panel a[href="/shop"] { order: 8; }
  .mnav-panel a[href="/calculator"] { order: 9; }
  .mnav-panel a[href="/discord"] { order: 10; }
  .mnav-panel a[aria-current="page"] { color: var(--seal); }
  .hero { gap: 1.3rem; }
  .hero .actions { width: 100%; }
  .hero .actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 800px) {
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.35rem); line-height: 1.12; }
  .hero .lede { font-size: 0.98rem; line-height: 1.55; max-width: 100%; }
  .prose table th, .prose table td { padding: 0.5rem 0.55rem; }
  .calc-grid { grid-template-columns: 1fr; width: 100%; max-width: 100%; }
  .calc-big { font-size: 28px; }
}


/* --- contrast: give the ghost button a declared surface so its text pairing is measurable --- */
.hero-solo .actions .btn-ghost,
.hero .actions .btn-ghost {
  color: var(--paper);
  background: var(--raise);
  border-color: var(--faint);
}
.hero-solo .actions .btn-ghost:hover,
.hero .actions .btn-ghost:hover {
  background: var(--raise);
  border-color: var(--gold);
  color: var(--paper);
}
