/* Static guide pages (ressources / zones / donjons) — same palette as the map. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Outfit Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/outfit.woff2) format("woff2"); }
:root {
  --bg: #0c0e0d; --card: #141816; --card-2: #191e1b; --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.14);
  --text: #f3efe4; --text-2: #c9c2b0; --muted: #8d877a; --gold: #f0b54a; --gold-2: #ffd88a; --gold-soft: rgba(240,181,74,.14);
  --emerald: #57d39b; --rose: #ff7d6b;
  --font: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Outfit Variable", "Inter Variable", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font);
  background-image: radial-gradient(1200px 500px at 15% -10%, rgba(240,181,74,.10), transparent 60%),
                    radial-gradient(900px 400px at 100% 0%, rgba(87,211,155,.06), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 600 .92em ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--gold-2); }
.muted { color: var(--muted); }

.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100% - 1040px) / 2));
  background: rgba(12,14,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font: 700 18px var(--display); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--gold); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top nav a { color: var(--text-2); padding: 7px 11px; border-radius: 10px; font-weight: 550; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current] { background: rgba(255,255,255,.06); color: var(--text); text-decoration: none; }
.top nav .cta { background: var(--gold); color: #1d1503; margin-left: 6px; }
.top nav .cta:hover { background: var(--gold-2); color: #1d1503; }

main { max-width: 1040px; margin: 0 auto; padding: 18px 16px 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); }
.crumbs span { margin: 0 3px; }

.hero {
  display: flex; align-items: center; gap: 20px; padding: 22px; margin-bottom: 22px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(240,181,74,.10), rgba(255,255,255,.02)); border: 1px solid var(--line-strong);
}
.hero > div:first-of-type { flex: 1; min-width: 0; }
.hero-ico { width: 72px; height: 72px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); padding: 8px; flex: none; }
.kicker { margin: 0 0 4px; color: var(--gold); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
h1 { margin: 0; font: 700 clamp(24px, 4vw, 34px)/1.15 var(--display); letter-spacing: -.02em; }
.lead { margin: 8px 0 0; color: var(--text-2); }
.hero-act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex: none; }
h2 { font: 650 21px/1.25 var(--display); margin: 34px 0 12px; letter-spacing: -.01em; }
h2 small { font: 500 13px var(--font); color: var(--muted); margin-left: 6px; }
article > p, main > p { color: var(--text-2); max-width: 75ch; }
article p strong { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px;
  background: var(--gold); color: #1d1503; font-weight: 650; white-space: nowrap; flex: none;
}
.btn:hover { background: var(--gold-2); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--gold-2); border: 1px solid rgba(240,181,74,.4); }
.btn.ghost:hover { background: var(--gold-soft); }

.travel {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 10px; border-radius: 10px; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 13px; white-space: nowrap;
}
.travel span { font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.05); }
.travel:hover { border-color: rgba(240,181,74,.5); }
.travel:hover span { color: var(--gold-2); }
.travel.ok span { color: #0b1f15; background: var(--emerald); }

.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
td { padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num:first-child { text-align: left; }
td small { display: block; color: var(--muted); font-size: 12px; }
td.act { text-align: right; white-space: nowrap; }
.see { margin-left: 8px; font-size: 13px; font-weight: 600; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li > a, .chips li > span, .chips li.boss {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 14px;
}
.chips li.boss { border-color: rgba(255,125,107,.35); }
.chips li.boss > span { padding: 0; border: 0; background: none; }
.chips li > a:hover { border-color: rgba(240,181,74,.5); text-decoration: none; }
.chips em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips li.boss em { color: var(--rose); }
.chips img { width: 22px; height: 22px; }
.chips.big li > a { padding: 8px 12px; }

.list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.list li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list li > span, .list li > a { flex: 1; min-width: 0; }
.list li small { display: block; color: var(--muted); font-size: 12px; }
.list li em { font-style: normal; color: var(--muted); font-size: 13px; }

section h2 { margin-top: 30px; }
.foot { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.foot p { margin: 4px 0; }

@media (max-width: 720px) {
  .top { gap: 8px; }
  .top nav a:not(.cta) { padding: 6px 7px; font-size: 13px; }
  .top nav .cta { display: none; }
  .hero { flex-direction: column; align-items: flex-start; padding: 18px; }
  .hero-act, .hero .btn { width: 100%; }
  .hero-act .travel { justify-content: space-between; }
  th, td { padding: 8px 10px; }
  td.act .see { display: none; }
}
@media (max-width: 420px) { .brand b { display: none; } }

/* Legal / privacy page */
.legal { max-width: 760px; color: var(--text-2); line-height: 1.65; }
.legal h2 { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .btn { display: inline-flex; margin: 4px 0; padding: 6px 12px; font-size: 14px; cursor: pointer; font-family: inherit; }
