:root { --bg: #14110e; --panel: #1f1a15; --line: #3a3027; --text: #ece3d2; --dim: #a39683; --gold: #e0a83c; --c: var(--gold); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 Georgia, "Times New Roman", serif;
       background-image: radial-gradient(ellipse at 50% 0, #2b2219 0, var(--bg) 60%); background-repeat: no-repeat; }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px 64px; }
a { color: var(--gold); }
.dim { color: var(--dim); font-size: .9rem; }

nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 12px 16px; border-bottom: 1px solid var(--line);
      font: .95rem system-ui, sans-serif; position: sticky; top: 0; background: #14110eee; z-index: 2; }
nav a { color: var(--c); text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav .home { color: var(--text); font-weight: bold; letter-spacing: .15em; }
nav .get { margin-left: auto; background: var(--gold); color: #1a1408; font-weight: bold; padding: 6px 14px; border-radius: 4px; }

header { text-align: center; padding: 40px 0 24px; }
header img { height: 300px; max-width: 100%; object-fit: contain; }
header p { color: var(--dim); font-size: 1.2rem; margin: 12px auto 28px; max-width: 34em; }
.btn { display: inline-block; background: var(--gold); color: #1a1408; font: bold 1.25rem/1 system-ui, sans-serif;
       padding: 18px 44px; border-radius: 6px; text-decoration: none; box-shadow: 0 4px 0 #8a6218; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a6218; }
.sub { display: block; color: var(--dim); font: .85rem system-ui, sans-serif; margin-top: 14px; }
h2 { text-align: center; font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; margin: 64px 0 8px; }
.lead { text-align: center; color: var(--dim); margin: 0 0 24px; }
.play { display: block; width: 100%; max-width: 840px; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; }

.card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 8px; padding: 20px 16px; }
.card h3 { margin: 6px 0; color: var(--c); font-size: 1.3rem; }
.card p { margin: 0; color: var(--dim); font-size: .98rem; }
.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.classes .card { text-align: center; text-decoration: none; display: block; }
.classes .card:hover { background: #262019; }
.classes .card img { height: 190px; max-width: 100%; object-fit: contain; }
.more { display: block; margin-top: 12px; color: var(--c); font: .85rem system-ui, sans-serif; }

.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; padding: 40px 0 24px; }
.hero img { height: 320px; max-width: 100%; object-fit: contain; }
.hero h1 { margin: 0; font-size: 2.6rem; color: var(--c); }
.tagline { color: var(--dim); font-size: 1.15rem; margin: 4px 0 16px; max-width: 24em; }
.stats { border-collapse: collapse; font: .95rem system-ui, sans-serif; }
.stats th { text-align: left; color: var(--dim); font-weight: normal; padding: 3px 20px 3px 0; }
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.meta { color: var(--dim); font: .8rem system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; margin-left: 4px; text-transform: none; letter-spacing: 0; }
.tag.unique { color: #3ee0c0; border-color: #3ee0c0; font: .7rem system-ui, sans-serif; }

.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.skill { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.skill img { flex: none; border-radius: 8px; }
.skill h3 { margin: 0; font-size: 1.15rem; }
.skill p { margin: 6px 0 8px; }
.skill dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: .9rem; }
.skill dt { color: var(--dim); font: .78rem/1.9 system-ui, sans-serif; white-space: nowrap; }
.skill dd { margin: 0; }

.scroll { overflow-x: auto; }
.weapons { width: 100%; border-collapse: collapse; font-size: .95rem; }
.weapons th { text-align: left; color: var(--dim); font: .8rem system-ui, sans-serif; text-transform: uppercase; padding: 6px 10px; }
.weapons td { border-top: 1px solid var(--line); padding: 10px; vertical-align: top; }
.weapons td:first-child { white-space: nowrap; }

.hats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.hat { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 8px; text-align: center; }
.hat img { display: block; margin: 0 auto 6px; }
.hat b { display: block; }
.hat span { color: var(--dim); font-size: .85rem; }

footer { text-align: center; color: var(--dim); font: .85rem system-ui, sans-serif; margin-top: 72px; }
footer a:not(.btn) { color: var(--dim); }

.weapons td.has-wpn { position: relative; padding-left: 78px; height: 124px; }
.wpn { position: absolute; left: 10px; top: 7px; height: 110px; width: 56px; object-fit: contain; }

.jump { margin-top: 32px; font: 1rem system-ui, sans-serif; }
h2[id] { scroll-margin-top: 60px; }
.weapons + .hats, .scroll + .hats { margin-top: 16px; }
nav a:not(.home):not(.get) { color: var(--text); }

.menu { position: relative; }
.menu summary { cursor: pointer; list-style: none; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; color: var(--dim); }
.menu div { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 180px; padding: 6px 0; background: var(--panel);
            border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px #000a; }
.menu div a { display: block; padding: 8px 16px; color: var(--c) !important; }
.menu div a:hover { background: #2b241c; text-decoration: none; }

.rules { max-width: 760px; margin: 0 auto 8px; }
.rules p { color: var(--text); margin: 0 0 10px; font-size: .98rem; }
.rules p:last-child { margin-bottom: 0; }
.blessings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.bless { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px; padding: 14px; }
.bless img { flex: none; border-radius: 50%; border: 2px solid var(--c); }
.bless .star { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #14110e; background: var(--c); }
.bless h3 { margin: 0; font-size: 1.15rem; color: var(--c); }
.bless p { margin: 6px 0 8px; }
.bless .who { font: .82rem system-ui, sans-serif; }
a.ref { color: #8fd0ff; text-decoration: none; border-bottom: 1px dotted #8fd0ff88; }
a.ref:hover { border-bottom-style: solid; }

/* ── The wiki ─────────────────────────────────────────────────────────────── */
main.wide { max-width: 1240px; }
h3[id], div[id], tr[id], section[id] { scroll-margin-top: 64px; }
.wikicards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 24px 0 12px; }
.wikicards .card { text-decoration: none; display: block; }
.wikicards .card:hover { background: #262019; }
.wikicards .card h3 { font-size: 1.15rem; }
.classes.small { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; margin-top: 0; }
.classes.small .card { padding: 10px 8px; }
.classes.small .card img { height: 90px; }
.classes.small .card h3 { font-size: 1rem; }
.find { max-width: 640px; margin: 0 auto; }
.find input { width: 100%; font: 1.05rem system-ui, sans-serif; padding: 12px 14px; background: var(--panel); color: var(--text);
              border: 1px solid var(--line); border-radius: 6px; }
.find input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.find input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); }
.hits { max-width: 640px; margin: 6px auto 0; padding: 6px 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.hits li { padding: 4px 14px; }
.steps { max-width: 760px; margin: 0 auto; padding-left: 1.4em; }
.steps li { margin: 0 0 10px; }
.keep { max-width: 760px; margin: 0 auto 12px; }
.az { columns: 3 220px; column-gap: 24px; list-style: none; padding: 0; font-size: .95rem; }
.az li { break-inside: avoid; padding: 2px 0; }
.az a { color: var(--text); text-decoration: none; }
.az a:hover { color: var(--gold); }
.kit .peak { margin-top: 8px; }
.weapons.small { max-width: 760px; margin: 0 auto 16px; }
.weapons.small td, .weapons.small th { padding: 6px 10px; }
.rules .scroll { margin: 4px 0 12px; }
.skilltable td:first-child img { float: left; margin: 0 10px 4px 0; border-radius: 6px; }
.skilltable td:first-child { white-space: normal; min-width: 210px; }
.skilltable td:first-child a { font-weight: bold; text-decoration: none; }
.skilltable td:nth-child(2) { white-space: nowrap; }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix td:last-child, .matrix th:first-child, .matrix th:last-child { text-align: left; }
.matrix td.on { color: var(--gold); font-weight: bold; }
.matrix td.none { color: #5a4f43; }

.mobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; margin-bottom: 12px; }
.mobcard { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.mobcard h3 { margin: 0; font-size: 1.15rem; }
.mobcard p { margin: 6px 0 0; }
.mobcard .mob { flex: none; width: 100px; height: 100px; object-fit: contain; }
.mobcard.boss { border-color: #5a2a22; }
.mobcard.boss h3 { color: #ff8a6a; }
.mob.portrait { border-radius: 50%; border: 2px solid #8a3a2a; object-fit: cover; }
.glyph { display: grid; place-items: center; width: 100px; height: 100px; flex: none; border-radius: 50%; background: #2b241c;
         color: var(--dim); font-size: 2.4rem; }
/* A skill with no icon yet: its initial on a disc in its colour (like the game's ink glyph). */
.skillglyph { border-radius: 8px; color: var(--g); border: 2px solid var(--g); font-weight: bold; font-size: 1.8rem; }
.skilltable .skillglyph { float: left; margin: 0 10px 4px 0; border-radius: 6px; font-size: 1.1rem; }
h3.realm { text-align: center; font-size: 1.3rem; margin: 32px 0 12px; }
h3.realm a { color: var(--c); text-decoration: none; }

.nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.nodecard { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.nodecard img { flex: none; }
.nodecard .glyph { width: 64px; height: 64px; font-size: 1.8rem; }
.nodecard .glyph.boss { color: #ff8a6a; }
.nodecard h3 { margin: 0; font-size: 1.15rem; }
.nodecard p { margin: 6px 0 0; }
.realmcard p + p { margin-top: 8px; }
.kit .card p.dim { margin-top: 8px; }
.kit { margin-bottom: 16px; }

.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 12px; }
.branch { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 8px; padding: 14px; }
.branch h3 { margin: 0 0 8px; color: var(--c); }
.branch table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.branch td { border-top: 1px solid var(--line); padding: 6px 6px; vertical-align: top; }
.branch td:first-child { width: 40%; }
.branch td img { float: left; margin: 2px 8px 0 0; }
.branch tr.r-grand td { background: #2a2219; }
.branch tr.r-grand b { color: var(--c); }
.branch tr.r-trunk b, .branch tr.r-arm b, .branch tr.r-ring b, .branch tr.r-bridge b { font-weight: normal; }

/* ── The leaderboard ──────────────────────────────────────────────────────── */
.tabs, .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; }
.tabs button, .chips button { font: .95rem system-ui, sans-serif; color: var(--text); background: var(--panel); border: 1px solid var(--line);
                              border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.tabs button { font-size: 1.02rem; font-weight: bold; letter-spacing: .04em; padding: 10px 20px; }
.chips button { color: var(--c, var(--text)); }
.tabs button:hover, .chips button:hover { background: #2b241c; }
.tabs button.on { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.chips button.on { border-color: var(--c, var(--gold)); box-shadow: inset 0 0 0 1px var(--c, var(--gold)); background: #2b241c; }
.chips[hidden] { display: none; }
.about { margin-bottom: 12px; }
.center { text-align: center; padding: 24px 0; }
.board { display: flex; flex-direction: column; gap: 6px; font: .95rem system-ui, sans-serif; }
.row { display: grid; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; min-height: 62px; }
.row:nth-child(even) { background: #1c1813; }
.row.run { grid-template-columns: 34px minmax(160px, 1.4fr) 110px 56px 50px 50px minmax(0, 2fr) 84px; }
.row.lvl { grid-template-columns: 34px minmax(160px, 1.6fr) 110px 56px minmax(80px, 1fr) 120px; }
.row.first { grid-template-columns: 56px 44px minmax(150px, 1.3fr) minmax(150px, 1.3fr) 110px 100px 84px; }
.row.live { border-color: #3c6e41; box-shadow: inset 3px 0 0 #6ee07a; }
.rank { font: bold 1.2rem system-ui, sans-serif; color: var(--dim); text-align: center; }
.rank.m0 { color: #ffcf5a; } .rank.m1 { color: #cfd4dc; } .rank.m2 { color: #d08a4e; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who > div { min-width: 0; }
.av { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 2px solid var(--c, var(--line)); background: #2a262e; object-fit: cover; }
.av.boss { border-color: #8a3a2a; }
.name { display: block; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.under { display: block; color: var(--dim); font-size: .8rem; }
.row.live .under { color: #6ee07a; }
.cls { color: var(--c); text-decoration: none; font-size: .9rem; }
.cls-spec { display: flex; flex-direction: column; gap: 1px; } .cls-spec .spec { font-size: .78rem; text-decoration: none; margin-left: 15px; }
.spec-mole { float: right; margin: 0 0 8px 14px; height: 130px; width: auto; }
.cls::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.big { font: bold 1.5rem system-ui, sans-serif; text-align: right; }
.row:nth-child(-n+3) .big { color: var(--gold); }
.row.first .big { color: #ff8a6a; text-align: left; }
.lv, .xp, .into { color: var(--text); }
.xp { color: var(--dim); text-align: right; }
.crown { color: var(--gold); }
.crown.none { color: #5a4f43; }
.build { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; }
.build a { position: relative; display: block; line-height: 0; }
.build .sk img { border-radius: 6px; }
.build .glyph { width: 30px; height: 30px; font-size: .9rem; border-radius: 6px; }
.build .bl { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--c);
              background: #14110e; margin: 0 1px; }
.build .bl img { border-radius: 50%; }
.build .bl .star { color: var(--c); font-size: 15px; line-height: 1; }
.build .bl + .hw, .build .sk + .bl { margin-left: 6px; }
.pips { position: absolute; left: 2px; bottom: -4px; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 5px); }
.pips.r1 { width: 4px; } .pips.r2 { width: 9px; } .pips.r3 { width: 14px; } .pips.r4 { width: 19px; } .pips.r5 { width: 24px; }
.when { color: var(--dim); font-size: .85rem; text-align: right; white-space: nowrap; }
.when.now { color: #6ee07a; font-weight: bold; }
.bar { height: 10px; background: #0e0c0a; border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; }
.bossname a { color: var(--text); font-size: 1.02rem; text-decoration: none; }
.bossname a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .row.run { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "rank who depth" ". cls when"; row-gap: 2px; }
  .row.run .rank { grid-area: rank; } .row.run .who { grid-area: who; } .row.run .big { grid-area: depth; }
  .row.run .cls, .row.run .cls-spec { grid-area: cls; } .row.run .when { grid-area: when; }
  .row.run .lv, .row.run .crown, .row.run .build { display: none; }
  .row.lvl { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "rank who level" ". cls xp"; row-gap: 2px; }
  .row.lvl .rank { grid-area: rank; } .row.lvl .who { grid-area: who; } .row.lvl .big { grid-area: level; }
  .row.lvl .cls { grid-area: cls; } .row.lvl .xp { grid-area: xp; grid-column: 3 / 4; white-space: nowrap; } .row.lvl .bar { display: none; }
  .row.first { grid-template-columns: 44px 40px minmax(0, 1fr); grid-template-areas: "depth face boss" ". . who" ". . when"; row-gap: 4px; }
  .row.first .big { grid-area: depth; } .row.first .av.boss { grid-area: face; } .row.first .bossname { grid-area: boss; }
  .row.first .who { grid-area: who; } .row.first .when { grid-area: when; text-align: left; }
  .row.first .cls, .row.first .into { display: none; }
  .tabs button { padding: 8px 14px; font-size: .95rem; }
}

/* The account and admin pages (lib/account.cjs). */
nav .acct { margin-left: auto; }
nav .acct + .get { margin-left: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin: 0 auto 16px; }
.panel.narrow { max-width: 440px; }
.panel h3 { margin: 0 0 10px; color: var(--gold); font-size: 1.15rem; }
.panel p { margin: 8px 0; }
.panel .center, p.error.center { padding: 0; }
.panel .weapons { width: 100%; max-width: none; margin: 0; }
.panel button.plain { white-space: nowrap; }
.form { display: grid; gap: 12px; }
.form.row { grid-template-columns: 1fr auto; align-items: end; }
.form label { display: grid; gap: 4px; color: var(--dim); font: .85rem system-ui, sans-serif; }
.form input { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font: 1rem system-ui, sans-serif; min-width: 0; }
.form input:focus { outline: none; border-color: var(--gold); }
button.go { background: var(--gold); color: #1a1408; border: 0; border-radius: 4px; padding: 11px 20px; font: bold 1rem system-ui, sans-serif; cursor: pointer; }
button.go:hover { filter: brightness(1.1); }
button.go:disabled { opacity: .5; cursor: default; }
button.go.danger { background: #c9553e; color: #fff; }
button.plain { background: none; color: var(--gold); border: 1px solid var(--line); border-radius: 4px; padding: 5px 12px; font: .85rem system-ui, sans-serif; cursor: pointer; }
button.plain:hover { border-color: var(--gold); }
.error { color: #ff8a7a; min-height: 1.4em; margin: 0; font: .95rem system-ui, sans-serif; }
.plainlist { list-style: none; padding: 0; margin: 0 0 14px; }
.plainlist li { padding: 6px 0; border-top: 1px solid var(--line); }
.plainlist li:first-child { border-top: 0; }
@media (max-width: 560px) { .form.row { grid-template-columns: 1fr; } }

/* Yggdrasil, the passive tree (yggdrasil.html) */
.yggwrap { max-width: 1100px; margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #0b0b11 url(ygg/backdrop.webp) center / cover; }
.yggmap { display: block; width: 100%; height: auto; background: rgba(8, 8, 14, .5); }
.yggmap .br { stroke: #5c5047; stroke-width: 7; fill: none; }
.yggmap .nd { fill: #1a1820; }
.yggmap .rim { fill: none; }
.yggmap a:hover .nd, .yggmap a:hover .rim { stroke: #fff; }
.yggmap .rn { font: 700 44px Georgia, serif; text-anchor: middle; letter-spacing: 4px; opacity: .75; }
.yggmap .nm { font: 30px system-ui, sans-serif; fill: #d8d0c0; text-anchor: middle; }
.center { text-align: center; }
.yggs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto 16px; }
.yggn { display: flex; gap: 14px; align-items: flex-start; text-align: left; scroll-margin-top: 80px; }
.yggn .medal, .yggn .glyph { flex: none; border-radius: 50%; border: 3px solid var(--c); }
.yggn h3 { margin: 0 0 2px; }
.yggn p { margin: 4px 0 0; }

/* The raids: a page for each voyage (voyage1.html, voyage2.html), raids.html */
.zone { margin: 56px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.zone h3 { font-size: 1.5rem; margin: 0 0 4px; color: var(--gold); }
.zone h3 .dim { display: inline-block; font: .8rem system-ui, sans-serif; letter-spacing: .04em; margin-left: 6px; }
.zone h4 { margin: 22px 0 6px; font: .8rem system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.zone .meta { margin: 0 0 10px; }
.lead.left { text-align: left; color: var(--text); margin: 8px 0 4px; }
.zonelist { margin: 0 0 8px; }
.zonelist li { padding: 7px 0 7px 14px; border-top: 1px solid var(--line); position: relative; }
.zonelist li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.qlist li { border-top: 0; padding: 6px 12px; margin-bottom: 8px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; }
.qlist li::before { display: none; }
.qlist .reward { color: var(--gold); font-size: .92rem; }
.choice { border: 1px dashed var(--gold); border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
.choice .meta { margin: 0 0 6px; }
.choice .kit { margin-bottom: 8px; }
.humans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px 14px; }
.human { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; line-height: 1.3; }
.human img, .human .glyph { flex: none; width: 56px; height: 56px; object-fit: contain; }
.human .dim { font-size: .82rem; }
.phases { margin: 8px 0 0; padding-left: 1.2rem; }
.phases li { margin: 0 0 6px; color: var(--text); font-size: .95rem; }
.mobcard h4 { margin: 0; font-size: 1.15rem; }
.mobcard.boss h4 { color: #ff8a6a; }
.mobcard.boss > div { min-width: 0; }
.skipper { margin-top: 8px; }
.skipper p { margin: 4px 0; font-style: italic; color: var(--dim); }
h3.chart { text-align: center; margin: 28px 0 8px; }
@media (max-width: 560px) { .zone h3 { font-size: 1.3rem; } }
