:root{color-scheme:dark;--key-bg:#071018;--key-panel:#10242b;--key-edge:#325159;--key-cream:#f3e7d0;--key-mint:#a4e0cd;--key-muted:#b0c3c0}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 78% 0,#19313c 0,transparent 38%),var(--key-bg);color:#edf4ef;font:16px/1.65 var(--font-body)}a{color:var(--key-mint)}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:1rem;z-index:10;background:#fff;color:#071018;padding:.7rem}.key-main{width:min(1320px,calc(100% - 48px));margin:auto}.key-hero{display:grid;grid-template-columns:1fr .8fr;gap:48px;align-items:end;padding:80px 0 60px}.eyebrow{margin:0 0 12px;color:var(--key-mint);font-size:.75rem;letter-spacing:.03em;text-transform:none;font-weight:600}.key-hero h1{margin:0;font:600 clamp(40px,5vw,64px)/1.1 var(--font-display);letter-spacing:-.015em;color:var(--key-cream)}.key-hero h1 em{color:var(--key-mint);font-weight:inherit}.lead{max-width:41rem;color:#cad8d2;font-size:1.15rem}.gallery-link{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:12px 18px;min-height:48px;border:1px solid #8bc5b4;border-radius:4px;text-decoration:none;color:var(--key-mint);font-weight:700}.gallery-link:hover,.gallery-link:focus-visible{background:#a4e0cd;color:#071018}.key-jump{position:sticky;top:0;z-index:4;display:flex;gap:8px;flex-wrap:wrap;padding:14px 0;background:var(--key-bg);border-block:1px solid var(--key-edge)}.key-jump a{padding:8px 12px;border-radius:5px;text-decoration:none;color:#d5e6df;font-size:.9rem}.key-jump a:hover,.key-jump a:focus-visible{background:var(--key-panel);color:var(--key-mint);outline:1px solid var(--key-mint)}.key-section{padding:72px 0;border-bottom:1px solid var(--key-edge);scroll-margin-top:105px}.key-section>header{display:grid;grid-template-columns:1fr .8fr;gap:30px;align-items:end;margin-bottom:28px}.key-section h2,.key-ending h2{margin:0;color:var(--key-cream);font:600 clamp(2rem,4vw,3.3rem)/1.05 var(--font-display)}.key-section>header>p,.section-intro{margin:0;color:var(--key-muted)}.key-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.key-card{overflow:hidden;min-width:0;border:1px solid var(--key-edge);background:var(--key-panel);border-radius:8px}.key-card img{display:block;width:100%;height:152px;object-fit:contain;background:radial-gradient(ellipse at 50% 65%,#283941,#0b1724 72%);padding:14px}.key-card .card-copy{padding:15px 17px 18px}.key-card h3{margin:0 0 5px;color:var(--key-cream);font:600 1.28rem/1.2 var(--font-display);text-transform:none}.key-card p{margin:0;color:var(--key-muted);font-size:.9rem;line-height:1.45}.key-card .card-type{margin:0 0 7px;color:var(--key-mint);font-size:.75rem;letter-spacing:.03em;text-transform:none;font-weight:600}.key-card a{display:inline-block;margin-top:10px;font-size:.86rem;text-decoration-thickness:1px;text-underline-offset:3px}.creature-grid .key-card img{height:180px;padding:3px}.filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 30px;padding:15px;background:#0d2027;border:1px solid var(--key-edge);border-radius:6px}.filter-row label{font-weight:700;color:var(--key-cream)}.filter-row select{min-height:44px;min-width:220px;padding:8px 12px;background:#07151c;color:#f3f6f3;border:1px solid var(--control-border);border-radius:var(--control-radius);font:inherit}.filter-row span{color:var(--key-muted);font-size:.9rem}.environment-group{margin:34px 0 42px}.environment-group h3{margin:0 0 14px;color:var(--key-cream);font:600 1.8rem/1.15 var(--font-display)}.subhead{margin:45px 0 8px;color:var(--key-cream);font:600 1.8rem var(--font-display)}.section-intro{margin-bottom:18px}.key-error{padding:16px;background:#4c2522;color:#ffe5d9;border-radius:5px}.key-ending{padding:72px 0}.key-ending p{color:var(--key-muted)}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--key-mint);outline-offset:3px}
@media(max-width:900px){.key-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.key-hero,.key-section>header{grid-template-columns:1fr;gap:20px}.key-hero{padding:55px 0 40px}}
@media(max-width:620px){.key-main{width:calc(100% - 28px)}.key-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.key-section{padding:52px 0;scroll-margin-top:150px}.key-jump{gap:1px}.key-jump a{padding:7px;font-size:.78rem}.key-card img{height:128px}.key-card .card-copy{padding:11px}.key-card h3{font-size:1.1rem}.filter-row{align-items:stretch;flex-direction:column}.filter-row select{width:100%}.creature-grid .key-card img{height:140px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.key-picture{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.key-picture:focus-visible{outline:2px solid var(--key-mint);outline-offset:-3px}#art-zoom{width:min(620px,calc(100% - 28px));max-height:90vh;overflow:auto;padding:20px;border:1px solid var(--key-edge);border-radius:9px;background:#10242b;color:#edf4ef}#art-zoom::backdrop{background:rgba(2,8,13,.85)}#art-zoom form{display:flex;justify-content:flex-end}#art-zoom button{min-height:44px;padding:8px 13px;border:1px solid var(--key-edge);border-radius:5px;background:#07151c;color:var(--key-cream);font:inherit;cursor:pointer}#art-zoom img{display:block;width:100%;height:min(55vh,420px);object-fit:contain;background:radial-gradient(ellipse at 50% 65%,#283941,#0b1724 72%);border-radius:5px}#art-zoom h2{margin:18px 0 5px;color:var(--key-cream);font:600 2rem var(--font-display)}#art-zoom p{color:var(--key-muted)}
@media(max-width:450px){.key-hero h1{font-size:32px;line-height:1.12}}
