/* Lemuria Eternal: the website. Dark stone, bronze lines and gold, as the game's own windows are. */
:root {
  --ink: #0b0907;
  --stone: #14110c;
  --panel: #1a1610;
  --panel-2: #231c12;
  --line: #3a2f1c;
  --bronze: #6b5630;
  --gold: #e0b860;
  --gold-2: #f6dc98;
  --text: #e9dfc6;
  --dim: #a99d83;
  --faint: #7d735f;
  --danger: #e0604c;
  --life: #c4382e;
  --mana: #4a78e0;
  --magic: #6f9bff;
  --rare: #f2d94e;
  --relic: #ff8a3c;
  --cosmic: #d6a6ff;
  --elite: #b98cff;
  --ok: #9be3a5;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wide: 1200px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--gold-2); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); }
h3 { font-size: 1.28rem; color: var(--gold); }
h4 { font-size: 1.05rem; color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .2em 0; }
strong { color: #fff3d6; font-weight: 600; }
code, kbd {
  font: .9em/1 Consolas, "Cascadia Mono", Menlo, monospace;
  background: #0f0c08; border: 1px solid var(--line); border-radius: 4px; padding: .12em .42em; color: var(--gold-2); white-space: nowrap;
}
kbd { border-bottom-width: 2px; color: var(--text); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.wrap { width: min(var(--wide), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.dim { color: var(--dim); }
.small { font-size: .88rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 7, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-2); font-family: var(--serif); font-size: 1.22rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand:hover { text-decoration: none; color: #fff; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--text); padding: 8px 11px; border-radius: 4px; font-size: .93rem; white-space: nowrap; }
.nav a:hover { background: var(--panel-2); color: var(--gold-2); text-decoration: none; }
.nav a.here { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .more { position: relative; }
.nav .more > button {
  all: unset; cursor: pointer; color: var(--text); padding: 8px 11px; border-radius: 4px; font-size: .93rem;
}
.nav .more > button:hover, .nav .more:focus-within > button { background: var(--panel-2); color: var(--gold-2); }
.nav .more.here > button { color: var(--gold); }
.nav .menu {
  display: none; position: absolute; right: 0; top: 100%; min-width: 230px; padding: 6px;
  background: var(--panel); border: 1px solid var(--bronze); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
.nav .more:hover .menu, .nav .more:focus-within .menu { display: block; }
.nav .menu a { display: block; padding: 8px 12px; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 4px; font-family: var(--serif); font-size: 1.02rem; letter-spacing: .05em;
  background: linear-gradient(#f0cf7c, #c79a3e); color: #1c1407 !important; border: 1px solid #f8e3a8; box-shadow: 0 2px 0 #7c5c1c, 0 8px 22px rgba(224, 184, 96, .18);
  text-decoration: none !important; font-weight: 700; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: rgba(20, 17, 12, .72); color: var(--gold-2) !important; border-color: var(--bronze); box-shadow: none; font-weight: 600; }
.btn.ghost:hover { border-color: var(--gold); }
.btn.sm { padding: 7px 14px; font-size: .9rem; }
.burger { all: unset; display: none; cursor: pointer; margin-left: auto; padding: 8px; color: var(--gold); font-size: 1.5rem; line-height: 1; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { display: none; width: 100%; margin: 0; padding: 6px 0 14px; flex-direction: column; align-items: stretch; }
  .top.open .nav { display: flex; }
  .top .wrap { flex-wrap: wrap; }
  .nav .menu { display: block; position: static; border: 0; box-shadow: none; background: none; padding: 0 0 0 14px; }
  .nav .more > button { color: var(--faint); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; padding: 10px 11px 2px; }
  .nav .btn { margin: 8px 11px 0; text-align: center; }
}

/* ------------------------------------------------------------ hero and page heads */
.hero {
  position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end;
  background: #0b0907 center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 9, 7, .15) 0%, rgba(11, 9, 7, .05) 38%, rgba(11, 9, 7, .78) 78%, var(--ink) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 64px 0 56px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: .08em; text-transform: uppercase; color: #fff1c9; text-shadow: 0 2px 26px rgba(0, 0, 0, .85), 0 0 60px rgba(224, 184, 96, .25); margin-bottom: .15em; }
.hero .tag { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.55rem); color: var(--text); max-width: 760px; text-shadow: 0 2px 12px #000; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.hero .ver { color: var(--dim); font-size: .9rem; text-shadow: 0 1px 6px #000; }

.head { position: relative; padding: 58px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 320px at 50% -80px, rgba(224, 184, 96, .13), transparent 70%), var(--stone); overflow: hidden; }
.head.pic { background: #0b0907 center 45%/cover no-repeat; padding: 120px 0 34px; }
.head.pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 9, 7, .35), rgba(11, 9, 7, .78) 60%, var(--ink)); }
.head .wrap { position: relative; z-index: 1; }
.head .kicker { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.head p.lead { font-size: 1.14rem; color: var(--text); max-width: 800px; margin: 0; }

section { padding: 54px 0; }
section + section { border-top: 1px solid rgba(58, 47, 28, .55); }
section.tight { padding: 34px 0; }
.lead { font-size: 1.1rem; color: var(--text); }
.rule { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--bronze)); }
.rule::after { background: linear-gradient(90deg, var(--bronze), transparent); }
.rule h2 { margin: 0; text-align: center; }

/* ------------------------------------------------------------ in-page navigation */
.subnav { position: sticky; top: 64px; z-index: 30; background: rgba(15, 12, 8, .96); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: thin; }
.subnav a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; color: var(--dim); font-size: .88rem; white-space: nowrap; }
.subnav a:hover, .subnav a.on { color: var(--gold-2); border-color: var(--bronze); background: var(--panel); text-decoration: none; }

/* ------------------------------------------------------------ panels, cards, grids */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel.gold { border-color: var(--bronze); background: linear-gradient(180deg, #211a10, var(--panel)); }
.panel > :last-child { margin-bottom: 0; }
.note { border-left: 3px solid var(--gold); background: #17130d; padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1em; }
.note.warn { border-left-color: var(--danger); }
.note > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.feature:hover { border-color: var(--bronze); transform: translateY(-2px); text-decoration: none; }
.feature .pic { aspect-ratio: 16 / 9; background: #0e0b08 center/cover no-repeat; border-bottom: 1px solid var(--line); }
.feature .body { padding: 16px 18px 18px; color: var(--text); }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--dim); font-size: .95rem; }

.shot { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0e0b08; cursor: zoom-in; position: relative; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s; }
.shot:hover { border-color: var(--gold); }
.shot:hover img { transform: scale(1.025); }
.shot figcaption, .cap { padding: 9px 12px; font-size: .86rem; color: var(--dim); border-top: 1px solid var(--line); background: var(--panel); }
figure { margin: 0; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shots, .shots.two { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ tables */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(58, 47, 28, .7); }
th { font-family: var(--serif); font-weight: 600; color: var(--gold); background: #17130d; white-space: nowrap; position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(224, 184, 96, .04); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.ico { width: 56px; padding: 6px 8px; }
td.ico img { width: 44px; height: 44px; }

/* ------------------------------------------------------------ the catalogue of items */
.cat { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); }
.item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; align-items: start; }
.item:hover { border-color: var(--bronze); }
.item .slot { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(circle at 50% 38%, #2a2216, #100d09 72%); display: grid; place-items: center; }
.item .slot img { width: 68px; height: 68px; }
.item h4 { margin: 0 0 2px; font-family: var(--serif); font-size: 1.02rem; color: var(--text); }
.item .kind { font-size: .78rem; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.item ul { list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--dim); }
.item li { margin: 1px 0; }
.item li b { color: var(--text); font-weight: 600; }
.item .req { color: #cdb38a; }
.item .src { color: var(--ok); }
.item.hidden, .hidden { display: none !important; }
.tier { margin: 0 0 30px; }
.tier > h3 { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 14px; }
.tier > h3 small { font-family: var(--sans); font-size: .82rem; color: var(--dim); font-weight: 400; letter-spacing: 0; }
.find { display: flex; gap: 10px; align-items: center; margin: 0 0 22px; flex-wrap: wrap; }
.find input {
  flex: 1 1 260px; max-width: 420px; padding: 10px 14px; border-radius: 4px; border: 1px solid var(--bronze); background: #0f0c08; color: var(--text); font: inherit;
}
.find input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.set { display: grid; grid-template-columns: 190px 1fr; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 0 14px; align-items: center; }
.set .figure { background: radial-gradient(circle at 50% 40%, #2a2216, #100d09 74%); border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: end center; height: 260px; overflow: hidden; }
.set .figure img { height: 250px; width: auto; }
.set h4 { font-size: 1.12rem; color: var(--gold); margin-bottom: 2px; }
.pieces { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 10px; }
.piece { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; font-size: .86rem; color: var(--dim); }
.piece img { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 4px; background: #100d09; }
.piece b { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .set { grid-template-columns: 1fr; } .set .figure { height: 220px; } .set .figure img { height: 210px; } }

/* ------------------------------------------------------------ the bestiary */
.beasts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.beast { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.beast:hover { border-color: var(--bronze); }
.beast .pic { height: 190px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #2b2317 0%, #120f0a 68%); border-bottom: 1px solid var(--line); position: relative; }
.beast .pic img { max-height: 176px; width: auto; max-width: 92%; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); }
.beast .lv { position: absolute; left: 10px; top: 10px; font: 600 .78rem var(--sans); color: var(--ink); background: var(--gold); border-radius: 999px; padding: 2px 9px; }
.beast.boss { border-color: #7a4a22; }
.beast.boss .pic { background: radial-gradient(circle at 50% 60%, #3a1f14 0%, #120c0a 70%); }
.beast.boss .lv { background: var(--relic); }
.beast .body { padding: 12px 14px 14px; }
.beast h4 { font-family: var(--serif); font-size: 1.08rem; margin: 0 0 6px; color: var(--text); }
.beast.boss h4 { color: var(--relic); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 12px; font-size: .84rem; color: var(--dim); margin: 0; }
.stats div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted rgba(107, 86, 48, .45); padding: 2px 0; }
.stats b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.beast p { margin: 8px 0 0; font-size: .86rem; color: var(--dim); }
.tagline { display: inline-block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 3px; padding: 1px 7px; margin-right: 6px; }
.t-boss { color: var(--relic); } .t-elite { color: var(--elite); } .t-raid { color: var(--danger); } .t-cosmic { color: var(--cosmic); }
.t-magic { color: var(--magic); } .t-rare { color: var(--rare); } .t-relic { color: var(--relic); } .t-safe { color: var(--ok); }

/* ------------------------------------------------------------ classes */
.class { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 34px; align-items: start; }
.class .portrait { background: radial-gradient(circle at 50% 42%, #33291a 0%, #120f0a 70%); border: 1px solid var(--bronze); border-radius: var(--radius); padding: 14px 10px 0; position: sticky; top: 130px; }
.class .portrait img { margin: 0 auto; max-height: 470px; width: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .6)); }
.class .portrait .cap { margin: 10px -10px 0; text-align: center; border-radius: 0 0 var(--radius) var(--radius); }
.bars { display: grid; gap: 7px; margin: 0 0 1em; }
.bar { display: grid; grid-template-columns: 78px 1fr 34px; gap: 10px; align-items: center; font-size: .88rem; color: var(--dim); }
.bar i { display: block; height: 9px; border-radius: 5px; background: #0f0c08; border: 1px solid var(--line); overflow: hidden; }
.bar i b { display: block; height: 100%; background: linear-gradient(90deg, #a67c2e, var(--gold)); }
.bar span:last-child { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.skill { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(58, 47, 28, .7); }
.skill:last-child { border-bottom: 0; }
.skill img { width: 56px; height: 56px; border: 1px solid var(--bronze); border-radius: 5px; }
.skill h4 { margin: 0 0 2px; font-family: var(--serif); font-size: 1.08rem; color: var(--gold-2); }
.skill p { margin: 0 0 4px; color: var(--text); font-size: .95rem; }
.skill .meta { font-size: .82rem; color: var(--dim); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.skill .meta b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .class { grid-template-columns: 1fr; } .class .portrait { position: static; } .class .portrait img { max-height: 340px; } }

/* ------------------------------------------------------------ maps */
.map { position: relative; border: 1px solid var(--bronze); border-radius: var(--radius); background: radial-gradient(circle at 50% 50%, #17222a, #0a0d0f 75%); overflow: hidden; }
.map img { width: 100%; }
.map .pin { position: absolute; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; border: 2px solid #0b0907; background: var(--gold); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.map .pin.town { background: var(--ok); } .map .pin.boss { background: var(--relic); width: 15px; height: 15px; } .map .pin.way { background: #e2cf9c; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.map .pin.dock { background: #6fb7ff; } .map .pin.kind { background: #e0503c; width: 9px; height: 9px; }
.map .tag { position: absolute; transform: translate(-50%, 9px); font: 600 .72rem/1.15 var(--sans); color: #fff6dc; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 1px 4px #000; white-space: nowrap; text-align: center; pointer-events: none; }
.map .tag.up { transform: translate(-50%, calc(-100% - 9px)); }
.map .tag.boss { color: #ffb37a; } .map .tag.town { color: #c9f5cf; } .map .tag.way { color: #f1e3b8; } .map .tag.kind { color: #ffc9c0; font-weight: 500; }
@media (max-width: 640px) { .map .tag.kind { display: none; } .map .tag { font-size: .62rem; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--dim); margin: 10px 0 0; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--gold); vertical-align: -1px; }
.legend .town::before { background: var(--ok); } .legend .boss::before { background: var(--relic); } .legend .way::before { background: #e2cf9c; border-radius: 2px; transform: rotate(45deg); }
.legend .dock::before { background: #6fb7ff; } .legend .kind::before { background: #e0503c; }
.land { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.land.flip > :first-child { order: 2; }
@media (max-width: 960px) { .land { grid-template-columns: 1fr; } .land.flip > :first-child { order: 0; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: .93rem; margin: 0 0 1em; }
.facts dt { color: var(--faint); } .facts dd { margin: 0; color: var(--text); }

/* The world, drawn as a chart: lands as discs, the ways between them as lines. */
.world { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--bronze); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(900px 520px at 44% 46%, #1d3b46 0%, #12262e 46%, #0a1418 100%); }
.world svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.world a.place { position: absolute; transform: translate(-50%, -50%); text-align: center; color: #fff6dc; text-decoration: none; }
.world a.place img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); transition: transform .2s; }
.world a.place:hover img { transform: scale(1.06); }
.world a.place span { display: block; margin-top: -2%; font: 600 clamp(.6rem, 1.15vw, .92rem)/1.15 var(--serif); letter-spacing: .04em; text-shadow: 0 0 4px #000, 0 0 4px #000, 0 2px 6px #000; }
.world a.place small { display: block; font: 400 clamp(.5rem, .9vw, .74rem)/1.2 var(--sans); color: #d9cba6; text-shadow: 0 0 3px #000, 0 0 3px #000; }
.world .deep { position: absolute; transform: translate(-50%, -50%); text-align: center; padding: .5em .9em; border: 1px solid var(--bronze); border-radius: 5px; background: rgba(11, 9, 7, .82);
  font: 600 clamp(.56rem, 1.05vw, .86rem)/1.2 var(--serif); color: var(--gold-2); text-decoration: none; }
.world .deep small { display: block; font: 400 clamp(.5rem, .85vw, .72rem)/1.2 var(--sans); color: var(--dim); }
.world .deep:hover { border-color: var(--gold); }
.world .compass { position: absolute; right: 2.2%; top: 4%; width: 7%; opacity: .8; }

/* ------------------------------------------------------------ steps, timelines, odds */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.steps > li { counter-increment: step; position: relative; padding: 14px 16px 14px 62px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; font: 600 1.05rem var(--serif); background: #0f0c08; }
.steps h4 { margin: 0 0 3px; color: var(--gold-2); font-family: var(--serif); font-size: 1.08rem; }
.steps p:last-child { margin: 0; }
.road { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--bronze); }
.road li { position: relative; padding: 0 0 18px 22px; margin: 0; }
.road li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); }
.road b.lv { display: inline-block; min-width: 82px; color: var(--gold-2); font-family: var(--serif); }
.odds { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 0 0 1em; }
.odds div { text-align: center; border: 1px solid var(--line); border-radius: 4px; padding: 8px 2px; background: var(--panel); font-size: .82rem; color: var(--dim); }
.odds b { display: block; font: 600 1.05rem var(--serif); color: var(--gold-2); }
.odds .safe { border-color: #3d5c3f; } .odds .slip { border-color: #6b5630; } .odds .reset { border-color: #8a5a2a; } .odds .break { border-color: #8a3a2c; }
.odds .safe i { color: var(--ok); } .odds .slip i { color: var(--gold); } .odds .reset i { color: var(--relic); } .odds .break i { color: var(--danger); }
.odds i { font-style: normal; display: block; font-size: .72rem; margin-top: 2px; }
@media (max-width: 700px) { .odds { grid-template-columns: repeat(5, 1fr); } }
.glow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.glow figure { background: #0f0d0a; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.glow img { width: 100%; }
.glow figcaption { font-size: .82rem; color: var(--dim); padding: 6px 4px 8px; border-top: 1px solid var(--line); }
.glow figcaption b { color: var(--gold-2); display: block; font-family: var(--serif); }
.chat { background: rgba(13, 11, 8, .9); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: .92rem; line-height: 1.5; }
.chat div { margin: 1px 0; }
.chat .z { color: var(--text); } .chat .w { color: #e9a6ff; } .chat .p { color: #8fd3ff; } .chat .g { color: #a5e8a0; } .chat .s { color: var(--gold); }
.chat b { color: #bfd9ff; font-weight: 600; }
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
.pillrow li { border: 1px solid var(--bronze); border-radius: 999px; padding: 4px 13px; font-size: .86rem; color: var(--text); background: var(--panel); margin: 0; }

/* ------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); background: var(--stone); padding: 42px 0 30px; margin-top: 30px; color: var(--dim); font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
footer h4 { font-family: var(--serif); color: var(--gold); margin: 0 0 8px; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 4px 0; }
footer a { color: var(--text); }
footer .fine { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; font-size: .82rem; color: var(--faint); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ the lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 4, 3, .95); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 18px; }
.lightbox.on { display: flex; }
.lightbox img { max-width: min(96vw, 1920px); max-height: 84vh; border: 1px solid var(--bronze); border-radius: 4px; box-shadow: 0 20px 80px #000; }
.lightbox p { color: var(--text); margin: 12px 0 0; text-align: center; max-width: 900px; }
.lightbox button { all: unset; cursor: pointer; position: absolute; color: var(--gold-2); font-size: 2.2rem; padding: 10px 18px; user-select: none; }
.lightbox .x { top: 6px; right: 10px; } .lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); } .lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { color: #fff; }

/* ---- updates ---- */
.update .when { font: 600 .84rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 .5em; }
.update .part { margin-top: 30px; }
.update .part h3 { margin-bottom: .45em; }
.update .part > :last-child { margin-bottom: 0; }
.update .peek { margin-top: 16px; }
.latest { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.latest .when { font: 600 .84rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 .5em; }
@media (max-width: 860px) { .latest { grid-template-columns: 1fr; } }
