:root{color-scheme:dark;font-family:"Source Sans 3",system-ui,sans-serif;color:#faead4;background:#261b18;--ink: #271b16;--muted: #d3b5a4;--gold: #ffbb62;--border: #7a5140}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #a7f4e3;outline-offset:4px}.wrap,.nav-inner,.hero-inner{width:min(1216px,calc(100% - 64px));margin-inline:auto}.site-nav{background:#261b18;border-bottom:1px solid #654536}.nav-inner{min-height:71px;display:flex;align-items:center;gap:38px}.brand{display:inline-flex;align-items:center;gap:11px;font-weight:750;white-space:nowrap}.brand img{width:42px;height:42px;object-fit:contain}.nav-inner nav{display:flex;gap:26px;font-size:.96rem;color:var(--muted)}.nav-inner nav a:hover,.nav-inner nav a[aria-current]{color:var(--gold)}.nav-inner .language-switch{margin-left:auto;gap:14px}.hero{min-height:min(690px,78svh);isolation:isolate;position:relative;display:grid;align-items:center;overflow:hidden}.hero>img,.language-page>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:50% 42%;z-index:-2}.hero:after,.language-page:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#211614f5 0%,#241714e6 19%,#281a15ad 39%,#281a1526 68%,transparent),linear-gradient(0deg,#261b18,transparent 23%)}.hero-copy{margin-block:68px;max-width:510px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Barlow Condensed,"Source Sans 3",system-ui,sans-serif}.hero h1,.language-page h1{font-size:clamp(3rem,7vw,6.7rem);line-height:.99;letter-spacing:-.045em;margin-bottom:25px}em{color:var(--gold);font-style:normal}.hero p{max-width:375px;color:#f6dfca;line-height:1.65;font-size:clamp(1rem,1.6vw,1.2rem);margin-bottom:30px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:23px;min-height:49px;border:1px solid #ffce88;border-radius:7px;padding:10px 21px;background:#ffb65e;color:#2e1c13;box-shadow:0 4px #884a2a;font-weight:800}.primary:hover{background:#ffd08c}.guide{padding-block:54px 44px}.wrap h2{font-size:clamp(1.6rem,4vw,2.6rem);margin-bottom:24px}.guide ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.guide li{border-top:2px solid #9c6349;padding-top:17px}.guide li h3{color:#f9d0a1;margin-bottom:8px}.guide p,.unit-grid p{color:var(--muted);line-height:1.6}.codex{padding-block:25px 70px}.codex-group-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-block:30px 14px}.codex-group-heading>h3{margin:0;color:#ffbd78}.codex-progress{display:flex;align-items:center;gap:6px;color:#e8bd96;font-size:.78rem;font-variant-numeric:tabular-nums}.codex-progress[hidden]{visibility:hidden}.codex-progress-count{display:inline-block;min-width:5ch;text-align:end}.codex-progress progress{width:clamp(34px,8vw,86px);height:4px;appearance:none;border:0;border-radius:4px;background:#604337;overflow:hidden}.codex-progress progress::-webkit-progress-bar{background:transparent}.codex-progress progress::-webkit-progress-value{background:#dca670}.codex-progress progress::-moz-progress-bar{background:#dca670}.unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,44%),1fr));gap:12px}.unit-grid article{min-width:0;background:linear-gradient(155deg,#573329,#35231e);border:1px solid #754738;border-radius:10px;padding:16px}.unit-grid article[id]{scroll-margin-top:20px}.codex-art{position:relative;height:136px;min-width:0;margin-bottom:14px}.codex-art>:is(img,canvas){display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #20141291)}.codex-art:not([data-state=ready])>:is(img,canvas){visibility:hidden}.codex-art:not([data-state=ready]):before{content:"";position:absolute;inset:0;border:1px solid #815c443d;border-radius:7px;background:#23181445}.codex-art-error{display:none}.codex-art[data-state=error] .codex-art-error{position:absolute;inset:0;display:grid;place-items:center;padding:5px;color:var(--muted);text-align:center;font-size:.78rem}@media(prefers-reduced-motion:no-preference){.codex-art[data-state=loading]:before{background:linear-gradient(110deg,#23181445 35%,#dba77b26,#23181445 65%) 100% 0 / 220% 100%;animation:codex-art-loading 1.65s ease-in-out infinite}@keyframes codex-art-loading{to{background-position:0 0}}}.unit-grid h3{margin-bottom:3px;font-size:1rem}.unit-rank{white-space:nowrap}.unit-grid p{margin-bottom:0;font-size:.88rem}footer{border-top:1px solid #634131}footer .wrap{min-height:95px;padding-block:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:13px}footer .wrap>span{color:var(--muted)}.language-page{position:relative;isolation:isolate;min-height:100svh;display:grid;align-items:center;padding:max(24px,7vw)}.language-page p{color:var(--muted)}.language-choices{display:flex;flex-wrap:wrap;gap:16px}@media(max-width:650px){.wrap,.nav-inner,.hero-inner{width:calc(100% - 24px)}.nav-inner{gap:10px;min-height:54px}.brand{gap:8px;font-size:.94rem}.brand img{width:37px;height:37px}.nav-inner>nav:not(.language-switch){display:none}.hero{min-height:clamp(330px,calc(100svh - 55px),540px);align-items:end}.hero>img{object-position:70% 42%}.hero:after,.language-page:after{background:linear-gradient(0deg,#261b18 1%,#281a15e3 31%,#281a151a 83%)}.hero-copy{margin-block:0 clamp(20px,5svh,34px)}.hero h1{font-size:clamp(2rem,10.5vw,3rem);margin-bottom:16px}.hero p{font-size:.94rem;line-height:1.5;margin-bottom:18px;text-wrap:pretty}.language-page{padding:clamp(16px,5vw,24px)}.language-page h1{font-size:clamp(1.75rem,9vw,3rem);margin-bottom:18px}.wrap h2{font-size:1.55rem;margin-bottom:16px}.guide{padding-top:28px}.guide ol{grid-template-columns:1fr;gap:7px}.guide li h3,.codex-group-heading>h3{font-size:1.05rem}.guide p{font-size:.94rem}.unit-grid{grid-template-columns:repeat(auto-fit,minmax(min(136px,44%),1fr));gap:8px}.unit-grid article{padding:9px}.codex-art{height:105px;margin-bottom:7px}.unit-grid h3{font-size:.9rem;line-height:1.25;text-wrap:balance}.unit-grid p{font-size:.83rem;line-height:1.45}footer .wrap{gap:9px 14px;padding-block:15px}}@media(max-width:430px){.unit-grid article:has(.unit-rank){grid-column:1 / -1;display:grid;grid-template-columns:clamp(72px,24vw,102px) minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:10px}.unit-grid article:has(.unit-rank) .codex-art{grid-row:span 2;align-self:center;height:auto;aspect-ratio:224 / 200;margin:0}.unit-grid h3:has(.unit-rank){align-self:end;text-wrap:wrap}}
