@font-face{font-family:Myriad;src:url("./fonts/MyriadPro-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Myriad;src:url("./fonts/MyriadPro-Semibold.woff2") format("woff2");font-weight:600 800;font-display:swap}
:root{
  color-scheme:dark;
  --ink:#080f1b;--deep:#060c16;--sheet:#0c1728;--text:#e9edf5;--soft:#c6d1e1;--muted:#aab9cc;
  --blue:#6bbfff;--line:#30425a;--fine:rgba(143,174,211,.23);--display:Georgia,"Times New Roman",serif;
  --edge:clamp(20px,4.2vw,78px);--header:62px;--site-nav-height:0px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 16px)}
body{margin:0;color:var(--text);background:var(--ink);font:400 18px/1.5 Myriad,"Segoe UI",sans-serif}
h1,h2,h3,h4,p,dl,dd,figure,ul{margin:0}
img{display:block;max-width:100%}button,summary{font:inherit;color:inherit}a{color:inherit;text-decoration:none}
button,summary,a{touch-action:manipulation}
:focus-visible{outline:2px solid #a8d9ff;outline-offset:3px}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:100;left:15px;top:8px;background:#15365d;padding:8px 14px}
summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}
.masthead{position:sticky;z-index:20;top:0;background:linear-gradient(110deg,#09101c,#0b1727 65%,#09111e);border-bottom:1px solid #446489;box-shadow:0 2px 10px #01071077}
.mast-inner,.footer-inner{max-width:1800px;margin:auto;padding:0 var(--edge);display:flex;align-items:center}
.mast-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:var(--header);column-gap:clamp(12px,1.8vw,28px)}
.wordmark{font:700 small-caps clamp(21px,1.8vw,29px)/1 var(--display);letter-spacing:.045em;color:#e6edf6;text-shadow:0 1px #000}
.site-nav{display:flex;justify-content:center;align-self:stretch;min-width:0;gap:2px}
.site-nav a{position:relative;display:grid;place-items:center;min-width:0;padding:3px clamp(5px,.7vw,12px);text-align:center;color:#c6d1e1;font-size:16px;line-height:1.16}
.site-nav a:hover,.site-nav a[aria-current=page]{color:#f1f7ff;background:#182b4480}
.site-nav a[aria-current=page]:after{content:"";position:absolute;height:2px;left:0;right:0;bottom:0;background:#70bfff;box-shadow:0 0 9px #408dde}
.site-nav a:focus-visible{outline-offset:-3px}
.menu-tools{grid-column:3;grid-row:1;display:flex;align-items:center;gap:clamp(12px,1.4vw,22px)}
.language-menu{position:relative;z-index:1;font-size:16px}
.language-menu summary,.discord-button,.mobile-rail summary,.back-top{display:inline-flex;align-items:center;justify-content:center}
.language-menu summary{min-height:44px;gap:8px;color:#f0f3f9;white-space:nowrap}
.language-menu summary img,.flag-list img,#language-options img{object-fit:contain}
.language-menu summary svg,.mobile-rail summary svg:last-child{width:15px;height:15px;transition:transform .18s}
.language-menu[open] summary svg,.mobile-rail details[open] summary svg:last-child{transform:rotate(180deg)}
.languages-pop{position:absolute;right:0;top:calc(100% + 5px);width:292px;background:#101d30;border:1px solid #526b89;box-shadow:0 12px 36px #0009;padding:11px;max-height:calc(100vh - var(--header) - 14px);max-height:calc(100dvh - var(--header) - 14px);overflow-y:auto}
.language-heading{font:600 17px/1.3 Myriad,sans-serif;color:#eef5ff;padding:6px 8px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
#language-options button{width:100%;min-height:37px;display:flex;align-items:center;gap:9px;padding:7px 8px;border:0;background:transparent;text-align:left;font-size:15px;line-height:1.2}
#language-options button:enabled{cursor:pointer}
#language-options button:enabled:hover{background:#1c324e}
#language-options button[aria-pressed=true]{background:#1c324e}
#language-options button:disabled{opacity:.55}
[data-language-error]{margin:8px 2px 2px;color:#ffdbc4;font-size:14px;line-height:1.35}
.discord-button{gap:9px;min-height:40px;padding:7px 17px;color:#f8fbff;font-weight:600;line-height:1.2;border:1px solid #6192ce;border-radius:4px;background:linear-gradient(170deg,#315d99,#143969 65%,#122d50);box-shadow:inset 0 0 0 2px #88baf115,0 2px 6px #0005}
.discord-button svg{width:19px;height:19px;flex:none}.discord-button:hover{background:linear-gradient(160deg,#4177b7,#224c85);border-color:#a0cdff}
.hero{isolation:isolate;position:relative;overflow:hidden;height:clamp(370px,35.6vw,665px);background:#102138;border-bottom:1px solid #54799f}
.hero-picture,.hero-picture img,.art-plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-picture img{object-position:center}
.hero:before,.story-scene:before,.forge-scene:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero:before{background:linear-gradient(90deg,#030b17a6 0%,#07102155 31%,transparent 58%),linear-gradient(0deg,#070e1dd0,transparent 16%)}
.hero-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;width:43%;padding:12px 2% 22px;text-align:center;text-shadow:0 3px 12px #000,0 1px 2px #000}
.hero-logo{width:clamp(214px,23.5vw,432px);height:auto;max-height:62%;object-fit:contain;filter:drop-shadow(0 5px 10px #02071088)}
.hero h1{font:normal clamp(21px,2.3vw,42px)/1.2 var(--display);letter-spacing:.04em;color:#eef4ff;margin:5px 0 10px}
.hero-level{position:relative;display:flex;align-items:baseline;justify-content:center;gap:.33em;font:normal clamp(18px,1.9vw,32px)/1.2 var(--display);padding-top:9px}
.hero-level:before{content:"";position:absolute;top:0;left:-15%;right:-15%;height:1px;background:linear-gradient(90deg,transparent,#93b4d4aa 20%,#aec9e1bb 80%,transparent)}
.hero-level strong{font-size:1.55em;font-weight:normal;color:#e1f1ff}
.scroll-cue{position:absolute;display:grid;place-items:center;width:44px;height:36px;left:calc(50% - 22px);bottom:2px;color:#ecf6ff;filter:drop-shadow(0 2px 4px #000)}.scroll-cue svg{width:27px;height:27px}

/* Lettura e indice dei capitoli */
:root{--gold:#e4c590;--paper:#f0e6d4;--primary:#80c7ff;--mast-height:calc(var(--header) + var(--site-nav-height));--scroll-offset:calc(var(--mast-height) + 15px)}
html{scroll-padding-top:var(--scroll-offset)}
body{background:#080f1b;color:#e4ebf4;font-family:Myriad,"Segoe UI",sans-serif;font-size:19px;line-height:1.55}
body strong,body b{font-weight:650}.chapters strong,.footer strong{color:var(--gold)}
h2,h3,h4{font-family:var(--display);line-height:1.17;font-weight:normal;color:var(--paper);text-wrap:balance}
.masthead{top:0}.hero-content strong{color:#e1f1ff}
.reading-layout{display:grid;grid-template-columns:clamp(154px,13.4vw,226px) minmax(0,1fr) clamp(22px,7.4vw,150px);max-width:1880px;margin:auto;align-items:stretch}
.rail{grid-column:1;grid-row:1;position:relative;z-index:4;padding:0 clamp(10px,1.7vw,28px)}
.sticky-rail{position:sticky;top:var(--mast-height);max-height:calc(100vh - var(--mast-height));max-height:calc(100dvh - var(--mast-height));overflow-y:auto;padding:32px 5px 22px;scrollbar-width:thin;scrollbar-color:#36475b transparent}
.rail-title{font:normal 23px/1.2 var(--display);color:var(--paper);margin:0 0 15px}
.chapter-nav{display:grid;align-items:start;gap:2px}
.chapter-nav a{display:flex;align-items:baseline;gap:9px;color:#aebdd2;text-align:left;font-size:16px;line-height:1.24;padding:7px 2px;text-decoration:none}
.chapter-nav a:before{content:"";width:4px;height:4px;flex:none;align-self:flex-start;margin-top:.5em;background:#5e728a;transform:rotate(45deg)}
.chapter-nav a:hover{color:#e3effc}.chapter-nav a[aria-current=location]{color:#fbecd4;font-weight:650}
.chapter-nav a[aria-current=location]:before{background:var(--gold);box-shadow:0 0 7px #e6be7d9e}
.mobile-rail{display:none}
.chapters{grid-column:2;grid-row:1;min-width:0;isolation:isolate}
.chapter{position:relative;isolation:isolate;min-width:0;padding:clamp(42px,5.5vw,94px) clamp(18px,2.8vw,54px);text-align:center}
.chapter:focus{outline:none}.chapter p{color:#cbd6e5}
.chapter h2{font-size:clamp(35px,3.7vw,69px);letter-spacing:-.045em}
.chapter h3{font-size:clamp(26px,2.22vw,40px);letter-spacing:-.028em}
.chapter h4{font-size:clamp(20px,1.6vw,28px)}
.chapter-heading{position:relative;max-width:940px;margin:0 auto clamp(24px,2.9vw,50px)}
.chapter-heading>p{font-size:clamp(18px,1.38vw,23px);line-height:1.5;margin:14px auto 0;max-width:63ch;text-wrap:pretty}
.ornamento{display:block;width:clamp(130px,13vw,207px);height:clamp(29px,3vw,43px);margin:0 auto 9px;background:url("./ornamenti/divisore-3.svg") center/contain no-repeat;opacity:.94;pointer-events:none}
.ornamento.small{width:100px;height:22px;opacity:.83;margin-bottom:17px;background-image:url("./ornamenti/divisore-1.svg")}
.chapter:nth-child(4n+2) .chapter-heading .ornamento{background-image:url("./ornamenti/divisore-4.svg")}
.chapter:nth-child(4n) .chapter-heading .ornamento{background-image:url("./ornamenti/divisore-2.svg")}
.ambient{display:block;position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;mask-image:linear-gradient(transparent,black 15%,black 78%,transparent)}
.ambient img{width:100%;height:100%;object-fit:cover}
.history .ambient{opacity:.32;left:-8%;right:-8%}
.history:before,.progression:before,.server:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 55% 40%,#172b40 0,transparent 70%)}
.timeline{display:flex;justify-content:center;gap:clamp(24px,4vw,73px);max-width:940px;margin:0 auto;text-align:left}
.timeline>div{flex:1;max-width:230px}.timeline dt,.stats dd{font:normal clamp(34px,3.35vw,57px)/1.15 var(--display);color:#c1ddf7}
.timeline dd{font-size:17px;line-height:1.45;margin-top:5px;color:#d7e4f2}
.server .ambient{opacity:.21;inset:0 -4%;mask-image:linear-gradient(transparent,black 20%,black 60%,transparent 98%)}
.stats{display:flex;justify-content:center;gap:clamp(30px,6vw,120px);margin:0 auto 34px}
.stats>div{display:flex;flex-direction:column-reverse;align-items:center}.stats dt{color:#cedaeb;font-size:17px}
.community-languages{max-width:850px;margin:auto}.community-languages h3{font-size:clamp(23px,2vw,33px)}
.community-languages p{font-size:17px;margin:8px auto 16px;max-width:62ch}
.flags{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;list-style:none;gap:8px 16px;padding:0;margin:0}
.flags li{display:flex;align-items:center;gap:6px;color:#e0e8f4;font-size:16px}.flags img{width:22px;height:22px;object-fit:contain}
.chapter.starter{background:radial-gradient(ellipse at 50% 38%,#1e3045,transparent 62%)}
.annotated-plate{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,1.8fr) minmax(130px,1fr);grid-template-areas:"left media right";align-items:center;gap:clamp(15px,2.2vw,40px);margin:clamp(23px,2.6vw,46px) auto 0;max-width:1120px}
.annotated-plate>.screen{grid-area:media}.annotated-plate>.left{grid-area:left}.annotated-plate>.right{grid-area:right}
.starter .annotated-plate{max-width:900px;grid-template-columns:minmax(130px,1fr) minmax(0,1.36fr) minmax(130px,1fr)}
.starter .screen img{max-height:460px;width:auto;max-width:100%;height:auto}
.notes{display:grid;gap:clamp(18px,2.4vw,45px);margin:0}.callout{position:relative;min-width:0}
.callout dt,.first-term{color:var(--paper);font:normal clamp(20px,1.52vw,27px)/1.15 var(--display);margin:0 0 6px}
.callout dd{color:#c3cfde;font-size:clamp(16px,1.09vw,19px);line-height:1.44;margin:0;text-wrap:pretty;overflow-wrap:break-word}
.annotated-plate .left .callout:after,.annotated-plate .right .callout:before{position:absolute;content:"";width:clamp(12px,1.55vw,28px);height:9px;opacity:.68;pointer-events:none;top:46%}
.annotated-plate .left .callout:after{border-top:1px solid #8ca7b8;border-radius:0 100% 0 0;right:calc(-1 * clamp(16px,1.7vw,32px))}
.annotated-plate .right .callout:before{border-top:1px solid #8ca7b8;border-radius:100% 0 0 0;left:calc(-1 * clamp(16px,1.7vw,32px))}
.item-hd{display:inline-block;width:46px;height:46px;object-fit:contain}
.callout dt>span{display:block}.starter .callout dt img{margin:0 3px 6px}
.gift-tail{position:relative;isolation:isolate;max-width:830px;min-height:117px;display:flex;align-items:center;margin:26px auto 0;padding:15px 40% 15px 3%;text-align:left}
.gift-tail .ambient{opacity:.84;mask-image:linear-gradient(90deg,transparent,black 22%,black 85%,transparent);border-radius:50%/12%}
.gift-tail .ambient img{object-position:85% 60%}.gift-tail p{color:#e2e6eb;text-shadow:0 1px 3px #000;font-size:17px}
.progression .ambient{opacity:.14;mask-image:linear-gradient(transparent,black 25%,black 70%,transparent)}
.path{list-style:none;max-width:780px;padding:0;margin:auto;text-align:left}
.path li{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,2fr);gap:clamp(16px,3.4vw,58px);padding:15px 0}
.path .range{color:#b7d6ef;text-align:right;white-space:nowrap;font:normal clamp(21px,1.7vw,29px)/1.22 var(--display)}
.path h3{font-size:clamp(21px,1.7vw,29px)}.path p{font-size:17px;line-height:1.44;margin:4px 0 0}
.general,.bonuses{background:radial-gradient(ellipse 650px 460px at 50% 205px,#142236 0,transparent 84%)}
.sub-index{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;max-width:900px;margin:-5px auto 25px}
.sub-index a{display:inline-block;color:#b4d4ed;font-size:16px;line-height:1.3;text-underline-offset:3px;padding:3px 1px}
.sub-index a:before{content:"◇";color:#9d8764;font-size:10px;vertical-align:middle;margin-right:6px}
.sub-index a:hover{color:white;text-decoration:underline}
.entry{position:relative;isolation:isolate;margin:0 auto;padding:clamp(32px,3.4vw,64px) 0 12px}
.entry h3{max-width:820px;margin:0 auto 13px}
.body-copy{max-width:68ch;margin:0 auto;text-align:center;font-size:clamp(17px,1.19vw,21px);line-height:1.52;text-wrap:pretty}
.body-copy p+p{margin-top:9px}
.screen{text-align:center;margin:16px auto 0;max-width:100%;min-width:0}
.screen a{position:relative;display:inline-block;max-width:100%;vertical-align:top;cursor:zoom-in}
.screen img{max-width:100%;width:auto;height:auto;max-height:540px;object-fit:contain;margin:auto;filter:drop-shadow(0 5px 7px #02070d6b)}
.screen .magnify{position:absolute;right:3px;bottom:3px;width:25px;height:25px;display:grid;place-items:center;background:#08121ce6;border:1px solid #91a7bd8f;color:#e3effc;border-radius:50%;opacity:.8}
.screen a:hover .magnify{opacity:1;background:#204269}.magnify svg{width:15px;height:15px}
.screen figcaption{max-width:68ch;margin:9px auto 0;font-size:clamp(14px,1.02vw,16px);color:#acbed3;line-height:1.34;text-wrap:pretty}
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px;align-items:center;max-width:1060px;margin:17px auto 0}
.gallery.count-3,.gallery.count-4{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery .screen{margin:0}.gallery .screen img{max-height:420px}.gallery.count-3 .screen img,.gallery.count-4 .screen img{max-height:325px}
.fact-strip,.legend{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:22px 32px;max-width:1030px;margin:25px auto 0}
.fact-strip>.callout,.legend>.callout{max-width:300px;flex:1 1 175px}
.legend{max-width:870px;gap:16px 26px;margin-top:23px}.legend dt{font:600 16px/1.25 Myriad,sans-serif;color:#bacde1}.legend dd{font-size:15px}
.spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(22px,4vw,69px);max-width:1040px;margin:22px auto 0}
.spread-text .body-copy{text-align:left}.spread-text .notes{gap:13px;margin-top:17px;text-align:left}.spread .screen{margin-top:0}
.route .spread-text{order:2}.route .spread .screen{order:1}
.entry.medallions>.screen,.entry.gallery>.screen{max-width:800px}
.bonus-type{padding:35px 0 8px}.bonus-type>.item-hd{display:block;width:58px;height:58px;margin:0 auto 9px}
.bonus-type>p{max-width:69ch;margin:10px auto 20px}
.bonus-groups{columns:2;column-gap:clamp(24px,4.2vw,78px);max-width:1000px;margin:24px auto 0;text-align:left}
.bonus-group{break-inside:avoid;padding-bottom:22px}
.bonus-group h4{color:#c7ddf2;font-size:22px;margin-bottom:7px}
.bonus-group dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:3px 0;font-size:16px;line-height:1.4}
.bonus-group dt{color:#c5d2e2}.bonus-group dd{color:var(--gold);white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums}
.footer{background:radial-gradient(ellipse at 23% 100%,#1a3049,transparent 60%),#09111c}
.footer-inner{min-height:135px;gap:20px;padding-block:24px}
.footer h2{font:normal clamp(25px,2.6vw,45px)/1.2 var(--display);color:var(--paper)}.footer p{color:var(--soft);font-size:17px}
.footer .discord-button{margin-left:auto;flex:none}.back-top{width:43px;height:43px}.back-top svg{width:21px;height:21px}
.dialog-open{overflow:hidden}
#image-dialog{max-width:96vw;width:max-content;min-width:min(300px,90vw);max-height:94vh;max-height:94dvh;padding:14px 17px;background:#0b1421;border:1px solid #506783;border-radius:7px;color:var(--text);box-shadow:0 20px 75px #000}
#image-dialog::backdrop{background:#030710dc}
.lightbox-tools{display:flex;justify-content:flex-end;gap:8px;margin:0 0 9px}
.lightbox-tools button{min-height:38px;cursor:pointer;padding:2px 12px;border-radius:4px;background:#142438;border:1px solid #3a536b;color:#e8edf4;font-size:16px}
.lightbox-tools .close-zoom>span:last-child{font-size:22px;margin-left:6px}.scale-zoom[aria-pressed=true]{color:var(--gold);border-color:#a99064}
.zoom-stage{display:block;max-width:min(1250px,88vw);max-height:72vh;max-height:72dvh;overflow:auto;overscroll-behavior:contain;margin:auto}
.zoom-image{display:block;max-width:100%;width:auto;height:auto;max-height:70vh;max-height:70dvh;object-fit:contain;margin:auto}
.double-size .zoom-image{max-height:none;max-width:none}.zoom-caption{font-size:16px;line-height:1.4;text-align:center;margin:9px auto 0;max-width:72ch}
@media(min-width:1700px){.reading-layout{grid-template-columns:230px minmax(0,1fr) 165px}}
@media(max-width:1250px){
 :root{--site-nav-height:42px}
 .mast-inner{grid-template-columns:1fr auto;grid-template-rows:var(--header) var(--site-nav-height)}
 .menu-tools{grid-column:2}
 .site-nav{grid-column:1/-1;grid-row:2;box-shadow:inset 0 1px var(--line)}
}
@media(max-width:1150px){.reading-layout{grid-template-columns:163px minmax(0,1fr) 16px}.chapter{padding-inline:16px}.annotated-plate{gap:16px;grid-template-columns:minmax(115px,1fr) minmax(0,1.7fr) minmax(115px,1fr)}.chapter-nav a{font-size:15px}.chapter-nav{gap:1px}}
@media(max-width:860px){
 :root{--header:55px;--scroll-offset:calc(var(--mast-height) + 50px)}
 .reading-layout{display:block}.rail{display:none}.mobile-rail{display:block;position:sticky;top:var(--mast-height);z-index:10;background:#0b1828fa;border-bottom:1px solid #30465d}
 .mobile-rail summary{min-height:43px;width:100%;justify-content:flex-start;padding:0 var(--edge);gap:10px;font-size:17px;font-weight:600}
 .mobile-rail summary svg{width:18px;height:18px}.mobile-rail summary svg:last-child{margin-left:auto}
 .mobile-rail .chapter-nav{position:absolute;left:0;right:0;background:#0e1b2c;padding:7px var(--edge) 14px;max-height:calc(100dvh - var(--mast-height) - 53px);overflow-y:auto;box-shadow:0 10px 14px #0006;grid-template-columns:1fr 1fr;column-gap:12px}
 .mobile-rail .chapter-nav a{min-height:38px;align-items:center;font-size:16px}.mobile-rail .chapter-nav a:before{align-self:center;margin-top:0}
 .chapter{padding:43px var(--edge)}.hero-content{width:46%}.hero{min-height:335px}
 .history .ambient,.server .ambient{inset:0}.body-copy{font-size:18px}.starter .screen img{max-height:370px}
}
@media(max-width:820px){
 :root{--site-nav-height:76px}
 .site-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:0}
 .site-nav a{padding:2px 3px;font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:640px){
 :root{--edge:18px;--header:52px;--scroll-offset:calc(var(--mast-height) + 51px)}
 .mast-inner{column-gap:10px}.menu-tools{gap:12px}
 .discord-button{font-size:15px;min-height:36px;padding:6px 10px;gap:6px}.discord-button svg{width:17px;height:17px}
 .language-menu summary{font-size:15px;gap:5px}.language-menu summary img{width:21px;height:21px}
 .languages-pop{position:fixed;top:calc(var(--header) + 2px);left:auto;right:9px;width:min(292px,calc(100vw - 18px))}
 .hero{height:clamp(435px,104vw,530px);min-height:0}
 .hero-picture{height:83%}.hero-picture img{object-position:76% 20%}
 .hero:before{background:linear-gradient(0deg,#080f1b 0%,#080f1bfc 10%,#080f1bc9 28%,#08102133 47%,transparent 69%)}
 .hero-content{width:100%;height:auto;position:absolute;bottom:36px;align-items:flex-start;padding:0 var(--edge);text-align:left}
 .hero-logo{width:clamp(145px,35vw,195px);max-height:none}.hero h1{font-size:clamp(22px,5.9vw,30px);margin:5px 0}
 .hero-level{font-size:18px;padding-top:5px}.hero-level:before{left:0;right:-9%}
 .chapter-heading{margin-bottom:21px}.chapter h2{font-size:clamp(34px,8vw,47px)}.chapter h3{font-size:26px}
 .chapter-heading>p,.body-copy{font-size:17px;line-height:1.5}.chapter{padding-block:34px}
 .timeline{display:grid;gap:11px}.timeline>div{max-width:none;display:grid;grid-template-columns:66px 1fr;gap:12px;align-items:baseline}
 .timeline dt{font-size:26px}.timeline dd{margin:0;font-size:16px}.stats{gap:20px;margin-bottom:24px}.stats dd{font-size:36px}.stats dt{font-size:15px}
 .community-languages h3{font-size:25px}.flags{gap:6px 13px}.flags li{font-size:15px}
 .annotated-plate,.starter .annotated-plate{display:flex;flex-direction:column;gap:16px;margin-top:16px}
 .annotated-plate>.screen{order:0;margin-top:0}.annotated-plate .notes{order:1;width:100%;gap:13px}
 .annotated-plate .notes dt,.annotated-plate .notes dd{display:inline}.annotated-plate .notes dt{margin-right:6px;font-size:19px}.annotated-plate .notes dt:after{content:" —";color:#8b9daa}
 .annotated-plate .callout{max-width:56ch;margin:auto}.annotated-plate .left .callout:after,.annotated-plate .right .callout:before{display:none}
 .starter .screen img{max-height:320px}.starter .callout .item-hd{width:31px;height:31px;margin:0 2px;vertical-align:middle}.starter .callout dt>span{display:inline}
 .gift-tail{min-height:100px;padding:12px 21% 12px 0}.gift-tail .ambient{opacity:.45}
 .path li{grid-template-columns:68px minmax(0,1fr);gap:12px;padding:10px 0}.path .range{font-size:20px}.path h3{font-size:22px}
 .spread{display:flex;flex-direction:column;gap:12px}.spread .screen{order:0}.spread-text,.route .spread-text{order:1}.spread .body-copy,.spread .notes{text-align:center}
 .sub-index{gap:5px 13px}.sub-index a{font-size:15px}.entry{padding:27px 0 6px}
 .gallery,.gallery.count-3,.gallery.count-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
 .gallery .screen img{max-height:300px}.screen figcaption{font-size:14px}.screen .magnify{width:22px;height:22px}
 .fact-strip,.legend{gap:13px 12px}.fact-strip>.callout,.legend>.callout{flex-basis:150px}
 .bonus-groups{columns:1}.bonus-group h4{font-size:22px}.bonus-group{padding-bottom:16px}
 .footer-inner{flex-wrap:wrap;gap:14px;min-height:0}.footer-copy{width:100%}.footer .discord-button{margin-left:0}.back-top{margin-left:auto}
 #image-dialog{padding:10px;max-width:97vw}.zoom-stage{max-width:90vw}
}
@media(max-width:360px){:root{--edge:13px}.wordmark{font-size:20px}.menu-tools{gap:7px}.site-nav a{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Lo spazio della figura è riservato prima del download, anche nelle gallerie lazy. */
.history,.server,.progression{overflow:clip}
@media(min-width:861px) and (max-width:1200px){.history .ambient,.server .ambient{inset:0}}
.screen{width:100%;--cap-height:540px}
.gallery .screen{--cap-height:420px}
.gallery.count-3 .screen,.gallery.count-4 .screen{--cap-height:325px}
.starter .screen{--cap-height:460px}
.screen>a[data-zoom]{display:block;margin-inline:auto;width:min(100%,var(--img-width),calc(var(--cap-height) * var(--img-ratio)));aspect-ratio:var(--img-ratio)}
.screen>a[data-zoom]>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;margin:0}
.footer-credit{color:#a8b8c9;margin-top:8px;font-size:14px}
@media(max-width:860px){.starter .screen{--cap-height:370px}}
@media(max-width:640px){.starter .screen{--cap-height:320px}.gallery .screen{--cap-height:300px}}

.server .chapter-heading .ornamento{position:relative;width:132px;background-size:100px auto}
.server .chapter-heading .ornamento:before,.server .chapter-heading .ornamento:after{content:"";position:absolute;width:37px;height:23px;top:calc(50% - 11px);background:center/contain no-repeat}
.server .chapter-heading .ornamento:before{left:-5px;background-image:url("./ornamenti/drago-left.png")}
.server .chapter-heading .ornamento:after{right:-5px;background-image:url("./ornamenti/drago-right.png")}
.bonus-seals{display:flex;justify-content:center;gap:clamp(30px,6vw,90px)}
.bonus-seals a{display:grid;justify-items:center;gap:10px;font:normal 20px/1.25 var(--display);color:var(--paper)}
.medallion{width:88px;height:88px;display:grid;place-items:center;position:relative;border-radius:50%;border:1px solid #a38e63;background:radial-gradient(circle at 50% 43%,#28435d,#101e2f 68%,#303f4c 73%,#16212d 74%);box-shadow:inset 0 0 0 4px #151f2b}
.medallion:after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px dashed #7b715d;pointer-events:none}
.medallion .item-hd{width:50px;height:50px}.bonus-seals a:hover .medallion{border-color:#ffe1a2;box-shadow:0 0 15px #a98a5033}
.screen .version-links{display:block;font-size:14px;margin-top:5px;color:#9dafc5}
.screen .version-links a{display:inline;color:#c0dffd;text-decoration:underline;text-underline-offset:3px;cursor:zoom-in}
.timeline time{white-space:nowrap}
