:root{--paper:#faf7f2;--parchment:#eaddbd;--ink:#302c23;--muted:#6f6170;--forest:#432a46;--rust:#b14535;--gold:#a17b2a;--line:#c9bacb;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--sans);background:var(--paper);font-size:15px;line-height:1.65}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible{outline:3px solid var(--rust);outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.08;letter-spacing:-.045em}em{font-weight:400}.eyebrow{font-size:9px;letter-spacing:.16em;font-weight:700;line-height:1.7}.wordmark{display:flex;gap:13px;align-items:center;text-decoration:none;font-family:var(--serif);font-size:15px;line-height:1.12}.wordmark strong{font-weight:400}.brand-stamp{display:grid;place-items:center;position:relative;width:43px;height:43px;border:1px solid currentColor;border-radius:50%;font-size:28px;line-height:1}.brand-stamp span{font:12px var(--sans);position:absolute;bottom:5px;right:4px}.school-note{text-align:right;font-size:9px;letter-spacing:.13em;line-height:1.8}.hub-header{display:flex;align-items:center;justify-content:space-between;padding:29px 5.5%;border-bottom:1px solid var(--line)}.hub-main{max-width:1320px;margin:auto;padding:49px 5.5% 35px;position:relative}.hub-main>h1{font-size:clamp(62px,7.8vw,110px);margin:17px 0 26px;line-height:.95}.hub-main>h1 em{color:var(--rust)}.hub-deck{position:absolute;top:116px;right:5.5%;font-size:16px;line-height:1.8;max-width:36%}.world-portals{display:grid;grid-template-columns:1fr 1fr;gap:27px;margin-top:36px}.world-portal{display:block;text-decoration:none;border:1px solid #b3a68a;box-shadow:5px 6px 0 #60543a12;transition:transform .2s}.world-portal:hover{transform:translateY(-4px)}.portal-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 24px}.portal-heading>span:last-child{font-size:23px}.research-portal{background:#432a46;color:#fffdfa}.research-portal .portal-heading{border-bottom:1px solid #8a758d55}.research-portal-art{position:relative;height:232px;overflow:hidden;background:#432a46}.research-portal-art img{height:100%;width:60%;object-fit:contain;object-position:center;position:absolute;right:-8%;mix-blend-mode:screen;filter:sepia(.35)}.portal-caption{position:absolute;left:24px;top:32px;font:27px/1.12 var(--serif);letter-spacing:-.04em;max-width:45%}.portal-copy{padding:24px;border-top:1px solid #b3a68a66}.portal-copy h2{font-size:38px;margin-bottom:12px}.portal-copy p{font-size:12px;line-height:1.7;max-width:41ch;min-height:44px}.portal-link{font-size:11px;font-weight:700;display:flex;justify-content:space-between;border-top:1px solid #b3a68a66;margin-top:22px;padding-top:17px}.quest-portal{background:#e9d6ab}.quest-portal-art{height:232px;position:relative;overflow:hidden;border-top:1px solid #b3a68a66}.portal-land{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.7}.portal-adventurer{position:absolute;right:1%;width:55%;height:110%;bottom:-9%}.quest-portal-note{position:absolute;top:35px;left:24px;font:34px/1.03 var(--serif);letter-spacing:-.045em}.quest-portal-note em{color:var(--rust)}.hub-foot{margin-top:30px;font-size:11px;color:var(--muted)}.hub-footer{display:flex;justify-content:space-between;gap:20px;padding:20px 5.5%;border-top:1px solid var(--line);font-size:9px;letter-spacing:.06em}.hub-footer a{letter-spacing:0}
.quest-world{background:#ece0c4;background-image:radial-gradient(ellipse at 15% 5%,#fff4d4,transparent 58%),repeating-linear-gradient(89deg,#927a4203 0 1px,transparent 1px 5px);min-height:100svh}.quest-header{display:flex;align-items:center;justify-content:space-between;height:85px;padding:18px 4%;border-bottom:1px solid var(--line)}.quest-header .brand-stamp{font-size:36px}.back-research{font-size:11px}.quest-shell{display:grid;grid-template-columns:209px minmax(0,1fr);max-width:1580px;margin:auto}.quest-sidebar{border-right:1px solid var(--line);padding:31px 18px 25px 28px;min-height:calc(100svh - 85px);display:flex;flex-direction:column}.sidebar-title>.eyebrow{font-size:8px}.sidebar-title>p{font:24px/1.1 var(--serif);letter-spacing:-.03em;margin-top:15px}.sidebar-title em{color:var(--rust)}#quest-nav{display:flex;flex-direction:column;gap:3px;margin-top:26px}#quest-nav button{display:flex;gap:13px;text-align:left;border:0;background:transparent;padding:10px 9px;font-size:11px;line-height:1.4;min-height:40px}#quest-nav button span{font-size:9px;color:#816f4c}#quest-nav button[aria-current=page]{background:#f9f0dd;box-shadow:2px 2px #c7b897;color:var(--rust)}.sidebar-art{position:relative;margin-top:auto;padding-top:20px}.sidebar-art img{display:block;width:138px;margin:0 auto -6px}.sidebar-art p{font:italic 17px/1.25 var(--serif);text-align:center;color:var(--muted)}.sidebar-notes{font-size:9px;margin-top:28px}#quest-main{padding:34px 4% 20px;min-width:0;outline:none}.quest-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.room-index{font:12px var(--serif);color:var(--muted)}#room-title{font-size:clamp(42px,4.8vw,70px);margin:12px 0 13px;line-height:1.03}#room-title em{color:var(--rust)}.room-deck{font-size:13px;color:var(--muted);max-width:75ch;line-height:1.7}.room-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:18px 0 0;margin-top:30px}.room-footer>span{font-size:8px;letter-spacing:.1em;color:var(--muted)}.text-button{border:0;background:transparent;padding:9px 0;font-size:11px;text-decoration:underline;text-underline-offset:5px;min-height:40px}.button{border:1px solid var(--forest);background:var(--forest);color:var(--paper);padding:12px 18px;min-height:44px;font-size:11px;display:inline-flex;justify-content:center;align-items:center;gap:15px;text-decoration:none}.button.light{background:transparent;color:var(--ink);border-color:var(--line)}.button:hover{filter:brightness(1.08)}.room-intro{font-size:12px;line-height:1.75;margin:20px 0;max-width:82ch}.small-note{font-size:10px;line-height:1.7;color:var(--muted)}.room-entry{animation:open-room .3s ease}@keyframes open-room{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.map-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(265px,.9fr);gap:22px;margin-top:27px;align-items:start}.quest-map{position:relative;aspect-ratio:960/600;background-image:url('assets/quest-land.svg');background-size:100% 100%;min-height:280px}.map-stop{position:absolute;transform:translate(-50%,-50%);width:74px;min-height:53px;padding:3px;background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.map-stop .stop-number{position:absolute;left:3px;top:2px;border:1px solid #877344;border-radius:50%;background:#f7edcf;width:19px;height:19px;font:11px/17px var(--serif);z-index:1}.map-stop svg{height:38px;width:45px;filter:drop-shadow(1px 2px #74624544)}.map-stop .stop-label{font:10px/1.1 var(--serif);background:#ecdfc3d9;padding:2px 4px;white-space:nowrap}.map-stop[aria-pressed=true]{outline:1px solid var(--rust);border-radius:48%;background:#ffecbb6b}.map-stop[data-faced=true] .stop-number{background:var(--forest);color:var(--paper);border-color:var(--forest)}.map-key{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;padding:12px 9px 0}.map-help{font-size:10px;line-height:1.65;padding:10px 9px 0;color:var(--muted);max-width:65ch}.map-sheet{min-width:0}.dragon-card{background:#f7efda;border:1px solid #b19a6f;box-shadow:5px 6px 0 #a68d5b2b;padding:21px 23px;position:relative;min-height:352px;outline:none}.dragon-card:before{content:'';position:absolute;inset:7px;border:1px solid #c9b78c;pointer-events:none}.dragon-card .eyebrow{font-size:8px;padding-right:50px}.dragon-card :is(h2,h3){font-size:30px;margin:23px 0 15px;max-width:12ch}.dragon-story{font-size:12px;line-height:1.85}.dragon-story p+p{margin-top:10px}.dragon-action{position:absolute;right:13px;top:15px;border:0;background:none;width:65px;height:62px;padding:2px}.dragon-action svg{width:100%;height:100%;transition:transform .3s}.dragon-action:hover svg{transform:rotate(7deg) translateY(-3px)}.dragon-card .flip-action{margin-top:23px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:14px}.flip-action button{font-size:10px}.dragon-card.flipped{animation:turn-note .35s ease;min-height:352px;background:#e2e4cc}.dragon-card.flipped .meaning{font:27px/1.3 var(--serif);letter-spacing:-.025em;margin:24px 0 16px}.dragon-card.flipped :is(h2,h3){font-size:20px;margin:18px 0}.dragon-card .status-label{font-size:9px;letter-spacing:.1em;font-weight:700;color:var(--forest)}@keyframes turn-note{from{transform:rotateY(-12deg);opacity:.4}to{transform:none;opacity:1}}
.hoard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 19px;margin-top:25px}.hoard-tile{text-align:center;padding:15px 8px 20px;border-bottom:1px solid #bca674;position:relative}.treasure-coin{position:relative;width:111px;height:111px;display:grid;place-items:center;border:2px solid #a17931;box-shadow:inset 0 0 0 5px #d4b264,inset 0 0 0 7px #a5823f,3px 4px 0 #99805133;background:radial-gradient(circle at 30% 25%,#f8df91,#d0a448);border-radius:50%;margin:0 auto 14px;font:36px/1 var(--serif);letter-spacing:-.06em;color:#493c23}.treasure-coin small{display:block;font:10px/1 var(--sans);letter-spacing:0;position:absolute;bottom:25px}.treasure-coin.gem{border-radius:28% 50% 29% 50%;transform:rotate(-8deg);background:linear-gradient(120deg,#c9bacb,#c9bacb);box-shadow:inset 0 0 0 6px #c9bacb,inset 0 0 0 8px #6f6170,3px 4px 0 #99805122;border-color:#6f6170}.treasure-coin.gem>span{transform:rotate(8deg)}.hoard-tile :is(h2,h3){font-size:21px;line-height:1.15;margin-bottom:8px}.hoard-tile p{font-size:10px;color:var(--muted);line-height:1.6;max-width:24ch;margin:auto}.hoard-tile.personal{background:#e2d1ae;border:1px dashed #ac8e58}.hoard-disclaimer{font-size:11px;border-left:3px solid var(--rust);padding-left:15px;line-height:1.75;margin-top:25px;max-width:90ch}
.goblin-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin-top:27px}.goblin-card{position:relative;padding:22px 25px;background:#f4e8ca;border:1px solid #b19a6f;min-height:233px}.goblin-card :is(h2,h3){font-size:29px;max-width:80%;margin:12px 0}.goblin-card p{font-size:12px;line-height:1.8}.goblin-card .goblin-art{position:absolute;right:15px;top:13px;width:60px;height:60px}.goblin-fix{margin-top:15px;border-top:1px solid var(--line);padding-top:10px}.goblin-fix summary{font-size:11px;cursor:pointer;min-height:35px;display:flex;align-items:center;justify-content:space-between;list-style:none}.goblin-fix summary:after{content:'+';font-size:20px}.goblin-fix[open] summary:after{content:'−'}.goblin-fix p{font-size:11px;margin-top:8px}.closing-ribbon{padding:19px 23px;background:#432a46;color:#f4e6c4;font:23px/1.3 var(--serif);margin-top:25px}.closing-ribbon small{display:block;font:11px/1.8 var(--sans);margin-top:10px;max-width:78ch}
.pack-layout{display:grid;grid-template-columns:180px 1fr;gap:32px;margin-top:26px}.pack-illustration{background:#c7af7e;border:1px solid #9b8055;border-radius:35% 35% 12px 12px;align-self:start;padding:22px 13px 30px;position:relative;margin-top:35px;transform:rotate(-3deg)}.pack-illustration:before{content:'';position:absolute;width:50%;height:38px;top:-29px;left:25%;border:9px solid #a58b60;border-radius:30px 30px 0 0;border-bottom:0}.pack-illustration img{width:100%;height:auto;display:block}.pack-illustration p{font:italic 21px/1.2 var(--serif);text-align:center}.pack-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tool{padding:17px 15px;background:#f6edd8;border:1px solid #bdaa82;text-align:left;min-height:150px}.tool svg{height:40px;width:40px;margin-bottom:13px;color:#8b6440}.tool :is(h2,h3){font-size:21px;margin-bottom:8px}.tool p{font-size:10px;color:var(--muted);line-height:1.7}.pack-note{font-size:10px;margin-top:20px;color:var(--muted)}
.story-spread{display:grid;grid-template-columns:1fr 1fr;margin-top:26px;box-shadow:7px 8px 0 #a9946929;background:#f7ecd3;border:1px solid #b29a6b}.kingdom-page{padding:28px 30px;min-width:0}.kingdom-page+.kingdom-page{border-left:1px solid #b29a6b;box-shadow:inset 14px 0 18px -18px #5d493d}.kingdom-illustration{height:110px;position:relative;border-bottom:1px solid #bbaa7e;overflow:hidden}.kingdom-illustration svg{height:100%;width:100%}.kingdom-page :is(h2,h3){font-size:33px;margin:21px 0 12px}.kingdom-page p{font-size:12px;line-height:1.8}.seat-key{display:flex;gap:5px;margin:20px 0 10px}.seat-key i{height:25px;width:18px;border:1px solid #8d7d57;border-radius:7px 7px 1px 1px;background:#e2d8b8}.seat-key i.investor{background:#b38d42;border-color:#8d6d2e}.kingdom-dates{margin-top:18px;border-top:1px solid var(--line);padding-top:12px;font-size:11px;line-height:1.8}.kingdom-dates strong{display:block}.comparison-note{font-size:11px;margin-top:20px;line-height:1.8;color:var(--muted)}.author-line{font:italic 23px/1.5 var(--serif);border-left:3px solid var(--rust);padding:8px 0 8px 22px;margin-top:24px;max-width:80ch}
.council-scroll{max-width:960px;background:#f6eacd;border:1px solid #bba16f;padding:28px 33px 34px;margin-top:28px;box-shadow:0 8px 0 #d8c497,0 9px 0 #bba16f;position:relative}.council-scroll:before,.council-scroll:after{content:'';height:13px;position:absolute;left:-11px;right:-11px;border:1px solid #a88c59;border-radius:10px;background:linear-gradient(#f6e6bf,#ccb27d)}.council-scroll:before{top:-8px}.council-scroll:after{bottom:-8px}.review-estimates{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:10px 0 23px}.review-estimate{padding:20px;background:#ebe0c2;border:1px solid #beaa7b}.review-estimate>span{font-size:9px;font-weight:700;letter-spacing:.08em}.review-estimate strong{display:block;font:53px/1.1 var(--serif);letter-spacing:-.05em;margin:12px 0 6px}.review-estimate strong small{font:18px var(--serif);letter-spacing:0}.review-estimate p{font-size:11px}.council-warning{font-size:12px;line-height:1.75;border-left:3px solid var(--rust);padding-left:15px;margin-bottom:22px}.review-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:20px;border-top:1px solid var(--line)}.review-columns :is(h2,h3){font-size:26px;margin-bottom:12px}.review-columns p,.council-scroll>p{font-size:12px;line-height:1.8}.review-changes{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.review-changes>div{padding:15px;border:1px dashed #ae9264}.review-changes h3{font-size:20px;margin-bottom:10px}.placeholder{font:10px/1.8 var(--sans);letter-spacing:.03em;color:#8a442d;background:#f2dcc5;padding:7px 9px;display:block}.review-changes .small-note{margin-top:9px}
.lessons-map{position:relative;margin-top:28px;padding:34px;background:#dfcda4;background-image:linear-gradient(#e5d4afdf,#e5d4afdf),url('assets/quest-land.svg');background-size:cover;border:1px solid #aa8c56;box-shadow:5px 6px #a18c5a22}.lessons-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 42px}.lesson{display:grid;grid-template-columns:28px 1fr;gap:12px}.lesson>span{font:27px/1 var(--serif);color:var(--rust)}.lesson :is(h2,h3){font:26px/1.2 var(--serif);margin-bottom:9px}.lesson p{font-size:11px;line-height:1.75;color:#62563f}.lesson:last-child{border-top:1px solid #b69a68;padding-top:20px;grid-column:1/-1;max-width:77ch}.lesson:last-child :is(h2,h3){font-size:29px}
.honour-banner{background:var(--forest);color:var(--paper);padding:33px 37px;position:relative;margin:26px 0 0;border:1px solid #8a758d}.honour-banner:after{content:'';position:absolute;bottom:-23px;left:0;right:0;height:24px;background:var(--forest);clip-path:polygon(0 0,100% 0,100% 100%,50% 20%,0 100%)}.honour-banner .eyebrow{color:#d3b570}.honour-list{display:grid;grid-template-columns:1fr 1fr;gap:24px 35px;margin-top:23px}.honour-list>div span{display:block;font-size:9px;letter-spacing:.12em;color:#d3c8a3;margin-bottom:7px}.honour-list p{font:25px/1.2 var(--serif)}.honour-list .wide{grid-column:1/-1;padding-top:20px;border-top:1px solid #c9bacb66}.honour-list .wide p{font-size:22px}.soundtrack-note{font-size:10px;margin-top:20px;color:#ddd4bd}.quest-dates{display:flex;gap:35px;flex-wrap:wrap;margin-top:57px;padding-bottom:23px;border-bottom:1px solid var(--line)}.quest-dates span{font-size:9px;letter-spacing:.1em;display:block;margin-bottom:6px}.quest-dates strong{font:23px var(--serif)}.quest-continue{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:24px}.quest-continue :is(h2,h3){font-size:35px}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:absolute;top:-100px;left:20px;z-index:20;padding:10px;background:var(--paper)}.skip-link:focus{top:10px}.notes-main{max-width:950px;margin:auto;padding:45px 6% 80px}.notes-main h1{font-size:54px;margin:25px 0}.notes-main h2{font-size:29px;margin:35px 0 15px}.notes-main p,.notes-main li{font-size:14px;line-height:1.9}.notes-main li+li{margin-top:10px}.notes-main a{color:var(--rust)}
@media(min-width:1400px){.quest-map{min-height:360px}.dragon-card{min-height:385px}.dragon-card :is(h2,h3){font-size:34px}.dragon-story{font-size:13px}.map-stop svg{height:44px;width:52px}.map-stop .stop-label{font-size:11px}}
@media(max-width:1100px){.quest-shell{grid-template-columns:180px minmax(0,1fr)}.quest-sidebar{padding-left:18px;padding-right:14px}.sidebar-title>p{font-size:22px}.map-layout{grid-template-columns:1fr}.quest-map{max-height:380px;min-height:300px;aspect-ratio:960/600}.dragon-card{min-height:0}.dragon-card :is(h2,h3){max-width:90%;margin-top:20px}.dragon-card.flipped{min-height:245px}.map-help{max-width:none}.hoard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pack-layout{grid-template-columns:130px 1fr;gap:20px}.pack-tools{grid-template-columns:1fr 1fr}.pack-illustration{padding-inline:6px}.pack-illustration p{font-size:19px}.kingdom-page{padding:22px}.kingdom-page :is(h2,h3){font-size:28px}.room-footer>span{display:none}}
@media(max-width:700px){body{font-size:14px}.hub-header{padding:20px 6%}.school-note{font-size:7px}.wordmark{font-size:13px;gap:10px}.brand-stamp{width:35px;height:35px;font-size:23px}.hub-main{padding:32px 6% 28px}.hub-main>h1{font-size:66px;margin:18px 0 21px}.hub-deck{position:static;max-width:none;font-size:13px}.world-portals{grid-template-columns:1fr;margin-top:28px;gap:24px}.portal-heading{padding:14px 20px}.portal-copy{padding:20px}.portal-copy h2{font-size:34px}.research-portal-art,.quest-portal-art{height:210px}.portal-copy p{font-size:12px;min-height:0}.portal-caption{font-size:27px;left:20px;top:30px}.quest-portal-note{left:20px;top:30px}.hub-foot{font-size:10px}.hub-footer{padding:19px 6%;font-size:8px;line-height:1.8}.hub-footer>span{max-width:45%}.quest-header{height:73px;padding:15px 5%}.back-research{font-size:10px}.quest-shell{display:block}.quest-sidebar{min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:0}.sidebar-title,.sidebar-art,.sidebar-notes{display:none}#quest-nav{margin:0;display:flex;flex-direction:row;overflow-x:auto;gap:4px;padding:10px 5%;scrollbar-width:thin}#quest-nav button{flex:0 0 auto;gap:7px;font-size:10px;min-height:42px;padding:10px}#quest-main{padding:27px 5% 20px}.quest-title-row .eyebrow{font-size:8px}.room-index{font-size:10px}#room-title{font-size:46px;line-height:1.02;margin:13px 0}.room-deck{font-size:12px;line-height:1.75}.map-layout{gap:20px;margin-top:20px}.quest-map{min-height:250px;max-height:none;aspect-ratio:960/700}.map-stop{width:49px;min-height:47px}.map-stop svg{width:34px;height:30px}.map-stop .stop-label{display:none}.map-stop .stop-number{left:1px;top:0;width:17px;height:17px;line-height:15px;font-size:10px}.map-key{font-size:9px;padding:10px 3px 0}.map-help{padding:8px 3px 0;font-size:10px}.dragon-card{padding:19px 21px}.dragon-card :is(h2,h3){font-size:29px;max-width:80%;margin-top:24px}.dragon-story{font-size:12px;line-height:1.85}.dragon-card.flipped .meaning{font-size:25px}.room-footer{gap:12px;margin-top:25px;padding-top:14px}.room-footer button{font-size:10px;min-height:44px}.hoard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;margin-top:18px}.hoard-tile{padding:15px 5px 18px}.treasure-coin{width:105px;height:105px;font-size:34px}.hoard-tile :is(h2,h3){font-size:20px}.hoard-tile p{font-size:10px}.hoard-disclaimer{font-size:11px}.goblin-grid{grid-template-columns:1fr;gap:18px;margin-top:22px}.goblin-card{padding:20px}.goblin-card :is(h2,h3){font-size:28px}.goblin-card p{font-size:12px}.goblin-fix summary{min-height:44px}.closing-ribbon{font-size:23px;padding:19px}.pack-layout{grid-template-columns:1fr;gap:25px}.pack-illustration{display:none}.pack-tools{grid-template-columns:1fr 1fr;gap:12px}.tool{padding:16px 13px;min-height:165px}.tool :is(h2,h3){font-size:21px}.tool p{font-size:10px}.story-spread{grid-template-columns:1fr;margin-top:22px}.kingdom-page{padding:23px}.kingdom-page+.kingdom-page{border-left:0;border-top:1px solid #b29a6b;box-shadow:none}.kingdom-page :is(h2,h3){font-size:32px}.kingdom-illustration{height:95px}.author-line{font-size:21px;padding-left:18px}.council-scroll{padding:23px 18px 28px;margin-top:28px}.review-estimates{gap:12px}.review-estimate{padding:16px 10px}.review-estimate>span{font-size:8px}.review-estimate strong{font-size:43px}.review-estimate strong small{font-size:16px}.review-estimate p{font-size:10px}.council-warning{font-size:11px}.review-columns{grid-template-columns:1fr;gap:22px}.review-columns :is(h2,h3){font-size:26px}.review-changes{grid-template-columns:1fr;gap:14px}.lessons-map{padding:25px 20px}.lessons-grid{grid-template-columns:1fr;gap:25px}.lesson:last-child{grid-column:auto}.lesson :is(h2,h3){font-size:25px}.lesson:last-child :is(h2,h3){font-size:26px}.honour-banner{padding:25px 22px}.honour-list{grid-template-columns:1fr;gap:21px}.honour-list .wide{grid-column:auto}.honour-list p{font-size:25px}.honour-list .wide p{font-size:21px}.soundtrack-note{font-size:10px}.quest-dates{gap:23px;margin-top:52px}.quest-dates strong{font-size:22px}.quest-continue{display:block}.quest-continue :is(h2,h3){font-size:33px;margin-bottom:20px}.notes-main h1{font-size:41px}.notes-main{padding-top:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.world-portal:hover,.dragon-action:hover svg{transform:none}}
.story-ledger{margin-top:16px;padding-top:10px;border-top:1px solid var(--line)}.story-ledger summary{font-size:11px;cursor:pointer;min-height:40px;display:flex;align-items:center;gap:8px}.story-ledger summary:before{content:'+';font-size:19px}.story-ledger[open] summary:before{content:'−'}.story-ledger p{font-size:11px;line-height:1.8;margin:8px 0 0}
@media(min-width:561px) and (max-width:700px){.world-portals{grid-template-columns:1fr 1fr;gap:18px}.portal-caption{font-size:23px}.portal-copy h2{font-size:29px}.portal-copy p{min-height:65px}.research-portal-art,.quest-portal-art{height:190px}.research-portal-art img{width:75%;right:-14%}.quest-portal-note{font-size:28px}.portal-adventurer{width:70%;right:-9%}}
@media(max-width:560px){.hub-main{padding-top:25px}.hub-main>h1{font-size:57px;margin:14px 0 18px}.hub-deck{font-size:12px}.world-portals{gap:19px;margin-top:25px}.world-portal{display:grid;grid-template-columns:105px minmax(0,1fr)}.portal-heading{grid-column:1/-1;padding:9px 15px}.portal-heading .eyebrow{font-size:8px}.portal-heading>span:last-child{font-size:20px}.research-portal-art,.quest-portal-art{height:166px;border-top:0}.portal-copy{padding:15px 13px;border-top:0;border-left:1px solid #b3a68a66}.portal-copy h2{font-size:26px;margin-bottom:9px}.portal-copy p{font-size:10px;line-height:1.6;min-height:0}.portal-link{font-size:9px;margin-top:13px;padding-top:10px}.portal-caption,.quest-portal-note{display:none}.research-portal-art img{width:100%;right:0;object-fit:cover;object-position:65% center;filter:none;mix-blend-mode:normal}.portal-adventurer{width:133%;right:-18%;height:100%;bottom:0}.portal-land{object-fit:cover}.hub-foot{font-size:10px;margin-top:24px}}
.pack-illustration{background:none;border:0;border-radius:0;padding:0;transform:none;margin-top:5px}.pack-illustration:before{display:none}.pack-illustration p{font-size:20px;margin-top:15px}.pack-illustration img{max-width:190px;margin:auto}
/* All eight sections remain on one page, with a compact map of anchor links. */
.single-quest #quest-main{max-width:1260px;margin:auto;padding:0 4% 30px}.mini-quest-navigation{position:sticky;top:0;z-index:10;background:#eee2c7f5;border-bottom:1px solid #b9a880;box-shadow:0 3px 9px #5d4b2810;backdrop-filter:blur(9px);padding:5px 3% 7px}.mini-route-art{position:absolute;left:5%;right:5%;width:90%;height:46px;top:3px;pointer-events:none}.single-quest #quest-nav{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:0 auto;padding:0;max-width:1260px;overflow:visible}.single-quest #quest-nav a{text-decoration:none;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center;font-size:10px;line-height:1.2;padding:3px 5px 7px;min-height:64px;position:relative}.single-quest #quest-nav a>span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #a58952;border-radius:50%;background:#e8d39b;font:12px var(--serif);box-shadow:inset 0 0 0 2px #f6e5ba}.single-quest #quest-nav a>strong{font-weight:400;background:#eee2c7;padding:2px 5px}.single-quest #quest-nav a[aria-current=location]>span{background:var(--forest);border-color:var(--forest);color:var(--paper)}.single-quest #quest-nav a[aria-current=location]>strong{color:#864329;text-decoration:underline;text-underline-offset:4px}.quest-intro{display:grid;grid-template-columns:1fr 175px;align-items:center;gap:35px;padding:32px 0 35px;border-bottom:1px solid var(--line)}.quest-intro h1{font-size:clamp(48px,6vw,79px);margin:17px 0 20px;line-height:1}.quest-intro h1 em{color:var(--rust)}.quest-intro>img{display:block;max-height:210px;width:100%;object-fit:contain}.quest-intro p:not(.eyebrow){font-size:13px;line-height:1.8;max-width:65ch}.intro-start{display:inline-block;font-size:11px;margin-top:19px;min-height:30px}.story-section{padding:43px 0 34px;border-bottom:1px solid var(--line);scroll-margin-top:97px;content-visibility:visible}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:23px}.section-heading h2{font-size:clamp(35px,4vw,52px);margin:10px 0 13px;line-height:1.04;max-width:24ch}.section-heading .eyebrow{font-size:8px;color:var(--muted)}.section-deck{font-size:12px;color:var(--muted);line-height:1.8}.section-symbol{display:block;flex:0 0 65px;color:#947044}.section-symbol svg{display:block;width:65px;height:65px}.story-section .map-layout,.story-section .hoard-grid,.story-section .goblin-grid,.story-section .pack-layout,.story-section .story-spread,.story-section .council-scroll,.story-section .lessons-map,.story-section .honour-banner{margin-top:0}.story-section .map-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.story-section .quest-map{min-height:330px}.section-next{display:flex;justify-content:space-between;gap:20px;padding-top:25px;margin-top:17px;font-size:10px}.section-next a{padding:7px 0}.review-changes>article{padding:18px 19px;background:#efe1bc;border:1px solid #bea776}.review-changes>article>.eyebrow{font-size:8px;color:#705938;margin-bottom:11px}.review-changes>article h3{font-size:25px;line-height:1.1;margin:0 0 13px}.review-changes>article>p:not(.eyebrow){font-size:12px;line-height:1.8}.review-changes ul{padding-left:16px;margin:16px 0 0;font-size:11px;line-height:1.85}.review-changes li+li{margin-top:9px}.review-follow-through{margin-top:26px;padding-top:21px;border-top:1px solid #b9a372}.review-follow-through h3{font-size:27px;margin-bottom:13px}.review-follow-through p{font-size:12px;line-height:1.85}.review-follow-through .small-note{font-size:10px;margin-top:12px}.quest-page-footer{display:flex;justify-content:space-between;gap:20px;margin-top:30px;padding:12px 0;font-size:11px}.single-quest .pack-illustration{display:block}.single-quest .pack-illustration img{max-height:260px}
@media(max-width:1100px){.story-section .map-layout{grid-template-columns:1fr}.story-section .quest-map{max-width:810px;min-height:310px;margin:auto}.story-section .dragon-card{min-height:0}.single-quest .pack-layout{grid-template-columns:145px 1fr}.single-quest .pack-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.single-quest #quest-nav a{font-size:9px}}
@media(max-width:700px){.single-quest #quest-main{padding:0 5% 22px}.mini-quest-navigation{padding:7px 4% 8px}.single-quest #quest-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 5px}.single-quest #quest-nav a{flex:auto;min-height:48px;padding:1px 2px 3px;gap:3px;font-size:9px}.single-quest #quest-nav a>span{width:23px;height:23px;font-size:11px}.single-quest #quest-nav a>strong{padding:1px 3px}.mini-route-art{top:16px;height:66px;opacity:.55}.quest-intro{grid-template-columns:1fr 80px;gap:8px;padding:28px 0 29px;position:relative}.quest-intro h1{font-size:48px;line-height:1.03;margin:14px 0 15px}.quest-intro .eyebrow{font-size:7px;max-width:36ch}.quest-intro p:not(.eyebrow){font-size:12px;line-height:1.75}.quest-intro>img{align-self:end;height:135px;margin-bottom:22px}.intro-start{font-size:10px;margin-top:16px}.story-section{padding:30px 0 28px;scroll-margin-top:125px}.section-heading{gap:12px;margin-bottom:20px}.section-heading h2{font-size:34px;margin:9px 0 12px}.section-heading .eyebrow{font-size:7px}.section-symbol{flex-basis:45px}.section-symbol svg{width:45px;height:45px}.section-deck{font-size:11px}.story-section .quest-map{min-height:255px}.story-section .map-layout{gap:19px}.section-next{font-size:9px;gap:17px;padding-top:15px;margin-top:14px}.section-next a:last-child{white-space:nowrap}.review-changes>article{padding:17px 15px}.review-changes>article h3{font-size:25px}.review-changes ul{font-size:11px;line-height:1.85}.review-follow-through h3{font-size:25px}.review-follow-through p{font-size:12px}.single-quest .pack-layout{grid-template-columns:1fr}.single-quest .pack-illustration{display:flex;align-items:center;gap:20px;justify-content:center;margin-top:0}.single-quest .pack-illustration img{height:160px;width:130px;object-fit:contain;margin:0}.single-quest .pack-illustration p{font-size:21px;text-align:left;max-width:12ch;margin:0}.single-quest .pack-tools{grid-template-columns:1fr 1fr}.quest-page-footer{font-size:10px;line-height:1.8}}
html:has(body.single-quest){scroll-behavior:auto}
@media(max-width:700px){.story-section .council-scroll{margin-inline:6px;width:calc(100% - 12px)}.story-section .council-scroll:before,.story-section .council-scroll:after{left:-5px;right:-5px}}
/* Six short book covers. Each opens its own focused story. */
.short-quest [hidden]{display:none!important}.short-quest #quest-main{max-width:1160px;margin:auto;padding:22px 4% 18px}.short-quest .quest-header{height:70px}.flash-shelf-intro{margin-bottom:22px}.flash-shelf-intro h1{font-size:clamp(29px,3.8vw,49px);line-height:1.08;margin:10px 0 12px;max-width:29ch;letter-spacing:-.04em}.flash-shelf-intro h1 em{color:var(--rust)}.flash-shelf-intro>p:last-child{font-size:12px;color:var(--muted)}.flash-covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 23px}.flash-cover{border:0;padding:0;text-align:left;background:transparent;min-width:0;transition:transform .2s}.flash-cover:hover{transform:translateY(-3px)}.flash-book{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:20px 1fr;align-items:center;min-height:150px;padding:15px 18px 17px 24px;background:#ead5a1;border:1px solid #a68c56;box-shadow:4px 4px 0 #cbb88d,5px 5px 0 #aa9467;overflow:hidden}.flash-book:before{content:'';position:absolute;inset:6px 7px 6px 12px;border:1px solid #aa8a515f;pointer-events:none}.flash-book:after{content:'';position:absolute;left:5px;top:0;bottom:0;border-left:2px solid #9b7b4a5c}.flash-book-number{font-size:8px;letter-spacing:.14em;color:#65502e;grid-column:1/-1;align-self:start}.flash-cover-title{position:relative;font:25px/1.04 var(--serif);letter-spacing:-.045em;grid-column:1;grid-row:2;z-index:1}.flash-cover-art{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;height:90px;min-width:0;color:#826138}.flash-cover-art svg,.flash-cover-art img{height:100%;width:100%;object-fit:contain}.cover-spark .flash-cover-art{position:absolute;right:-10px;bottom:14px;width:58%;height:90px}.cover-data .flash-book{background:#dedfc4}.cover-goblins .flash-book{background:#debea0}.cover-treasure .flash-book{background:#e7d49b}.cover-council .flash-book{background:#dfdac4}.cover-lessons .flash-book{background:#c9bacb}.flash-cover-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;line-height:1.4;padding:11px 0 0 2px;color:#635b49}.flash-cover-meta>b{font-size:16px;line-height:1}.flash-cover[data-opened=true] .flash-book-number:after{content:' · OPENED';color:var(--forest)}.flash-shelf-foot{display:flex;justify-content:space-between;gap:15px;margin-top:23px;padding-top:13px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.cover-coin{height:77px;width:77px;display:grid;place-items:center;border:2px solid #9b782d;border-radius:50%;background:radial-gradient(circle at 30% 30%,#f8df8a,#c69b41);box-shadow:inset 0 0 0 5px #e0bb68,inset 0 0 0 6px #a78437,3px 4px #8d713b22;color:#816329;font:46px var(--serif)}.scroll-cover{position:relative;display:block;height:90px;width:90px}.scroll-cover svg{width:100%;height:100%;color:#8b7046}.scroll-cover i{position:absolute;bottom:11px;right:12px;color:var(--rust);font-size:24px;font-style:normal}
.short-quest.flash-reading{overflow:hidden}.flash-reading .quest-header{display:none}.flash-reader{position:fixed;inset:0;z-index:5;height:100svh;background:var(--paper);display:flex;flex-direction:column}.flash-reader-bar{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:8px max(5%,calc((100vw - 850px)/2));border-bottom:1px solid var(--line);font-size:11px}.flash-reader-bar>span{font:13px var(--serif);color:var(--muted)}.flash-reader-bar>a{font-size:11px}.flash-page-scroll{flex:1;min-height:0;overflow:auto;padding:22px 5%;display:flex;align-items:safe center;justify-content:center}.flash-page{max-width:770px;width:100%;padding:28px 35px;background:#f8efda;border:1px solid #bba576;box-shadow:6px 7px 0 #bba16b22;animation:open-room .25s ease}.flash-page-heading{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:20px;align-items:center;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #c7b78d}.flash-page-heading h1{font-size:clamp(34px,4.1vw,50px);margin-top:10px;max-width:16ch;outline:none}.flash-reader-art{height:112px;display:flex;align-items:center;justify-content:center}.flash-reader-art svg,.flash-reader-art img{width:100%;height:100%;object-fit:contain}.flash-story{font-size:15px;line-height:1.8}.flash-story p+p{margin-top:14px}.flash-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px}.flash-actions .text-button{font-size:11px}.flash-reader-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px max(5%,calc((100vw - 850px)/2));border-top:1px solid var(--line);background:#ece2cc;flex-shrink:0}.flash-dots{display:flex;gap:2px}.flash-dots button{display:grid;place-items:center;height:44px;width:30px;background:transparent;border:0}.flash-dots button span{height:7px;width:7px;border:1px solid #786d54;border-radius:50%;background:transparent}.flash-dots button[aria-current=step] span{background:var(--forest);border-color:var(--forest);box-shadow:0 0 0 3px #c9bacb44}.flash-dots button[data-opened=true] span{background:#c9bacb}.short-seat-line{display:flex;align-items:center;gap:6px;margin-top:23px}.short-seat-line i{display:block;width:18px;height:24px;border:1px solid #a58c57;border-radius:6px 6px 1px 1px;background:#e5d6b3}.short-seat-line i.investor{background:#b58b3d;border-color:#93702e}.short-seat-line span{font-size:10px;margin-left:9px;color:var(--muted)}.short-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.short-metric{padding:12px 8px;text-align:center;border:1px solid #c5af7b;background:#ecdfbb}.short-metric strong{display:block;font:32px/1.1 var(--serif);color:#7d5c29;letter-spacing:-.04em}.short-metric span{display:block;font-size:11px;line-height:1.4;margin-top:7px}.short-metric small{display:block;font-size:9px;color:#6b5d44;line-height:1.5;margin-top:3px}.short-metric-caveat,.short-review-caveat{font-size:11px;line-height:1.65;color:#6b5940;border-left:2px solid var(--rust);padding-left:12px}.short-review-marks{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px}.short-review-marks>div{background:#e8dec0;border:1px solid #bca575;padding:12px 17px}.short-review-marks span{font-size:8px;letter-spacing:.1em;display:block}.short-review-marks strong{font:32px/1.3 var(--serif);display:block}.short-review-marks small{font-size:16px}.flash-story .short-review-caveat{margin-bottom:18px}.short-lessons{padding-left:18px;margin:18px 0 0}.short-lessons li{margin-top:4px}.short-meaning{min-height:190px;display:flex;flex-direction:column;justify-content:center}.short-meaning>p:not(.eyebrow){font:32px/1.25 var(--serif);letter-spacing:-.03em;max-width:29ch;margin:18px 0 25px}.short-meaning small{font-size:8px;letter-spacing:.08em;color:var(--forest)}.is-turned{background:#e5e6cf;animation:turn-note .25s ease}
#flash-notes{width:calc(100% - 40px);max-width:720px;max-height:88svh;overflow:auto;padding:32px 34px;border:1px solid #aa915e;background:#f6ecd5;color:var(--ink);box-shadow:10px 10px 0 #342a1b33}#flash-notes::backdrop{background:#432a46dd;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:12px;top:10px;height:44px;width:44px;border:1px solid var(--line);background:transparent;font-size:25px}#flash-notes>.eyebrow{padding-right:50px}#flash-notes h2{font-size:37px;margin:20px 40px 23px 0}#flash-notes-body{font-size:14px;line-height:1.8}#flash-notes-body p+p{margin-top:14px}.detail-caution{padding:13px 0 0;border-top:1px solid var(--line);font-size:12px;color:#6b5940;margin-top:20px}.compact-tool-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compact-tool-list article{display:flex;gap:12px}.compact-tool-list svg{flex:0 0 32px;height:36px;color:#8b6440}.compact-tool-list h3{font-size:22px;line-height:1.15;margin-bottom:6px}.compact-tool-list p{font-size:12px;line-height:1.7}.compact-bloopers details{border-top:1px solid var(--line)}.compact-bloopers summary{cursor:pointer;min-height:65px;display:flex;align-items:center;gap:15px;font:24px var(--serif)}.compact-bloopers summary svg{width:46px;height:46px}.compact-bloopers details>p{margin:10px 0 20px}.compact-review article+article{border-top:1px solid var(--line);margin-top:25px;padding-top:25px}.compact-review h3{font-size:30px;margin:10px 0 16px}.compact-credits{margin:0}.compact-credits>div{display:grid;grid-template-columns:130px 1fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.compact-credits dt{font-size:11px;color:var(--muted)}.compact-credits dd{font:22px/1.4 var(--serif);margin:0}.compact-dates{margin:24px 0}.compact-dates p{font-size:13px}#flash-notes-body .button{margin-top:20px}.short-quest .skip-link{z-index:30}
/* Keep the two-world entrance compact too. */
.hub-header{padding-top:19px;padding-bottom:19px}.hub-main{padding-top:26px;padding-bottom:22px}.hub-main>h1{font-size:clamp(48px,5.8vw,76px);margin:12px 0 18px}.hub-deck{top:72px;font-size:14px}.world-portals{margin-top:23px;gap:22px}.portal-heading{padding:11px 20px}.research-portal-art,.quest-portal-art{height:140px}.portal-caption{top:21px;font-size:24px}.quest-portal-note{top:21px;font-size:28px}.portal-copy{padding:18px 20px}.portal-copy h2{font-size:31px;margin-bottom:9px}.portal-copy p{font-size:12px;min-height:42px}.portal-link{margin-top:14px;padding-top:10px}.hub-foot{margin-top:21px}.hub-footer{padding-top:13px;padding-bottom:13px}
@media(max-width:700px){.short-quest #quest-main{padding-top:20px}.short-quest .quest-header{height:64px}.flash-shelf-intro h1{font-size:32px;max-width:30ch}.flash-book{padding:13px 12px 15px 19px;min-height:135px}.flash-cover-title{font-size:23px}.flash-cover-art{height:75px}.flash-covers{gap:17px}.flash-cover-meta{font-size:9px}.flash-shelf-foot{margin-top:20px}.flash-page-scroll{padding:18px 5%}.flash-page{padding:25px}.flash-page-heading{grid-template-columns:1fr 105px;gap:12px}.flash-reader-art{height:95px}.flash-page-heading h1{font-size:36px}.flash-reader-controls,.flash-reader-bar{padding-inline:5%}.flash-story{font-size:14px}.hub-deck{font-size:12px}.hub-main>h1{font-size:52px}.portal-copy h2{font-size:28px}.hub-main{padding-top:23px}.hub-deck{position:static}.research-portal-art,.quest-portal-art{height:125px}.portal-caption{font-size:21px}.portal-copy p{min-height:62px}.portal-copy{padding:15px}.portal-heading{padding:10px 15px}.hub-foot{font-size:10px}}
@media(max-width:560px){.flash-shelf-intro{margin-bottom:19px}.flash-shelf-intro h1{font-size:29px;line-height:1.1;margin:10px 0 11px;max-width:26ch}.flash-shelf-intro .eyebrow{font-size:8px}.flash-shelf-intro>p:last-child{font-size:11px;max-width:42ch}.flash-covers{grid-template-columns:1fr 1fr;gap:16px 17px}.flash-book{min-height:138px;grid-template-columns:1fr;grid-template-rows:13px 62px 1fr;padding:11px 12px 12px 19px}.flash-cover-title{font-size:23px;grid-column:1;grid-row:3}.flash-cover-art{height:62px;width:80px;justify-self:end;grid-row:2;grid-column:1}.cover-spark .flash-cover-art{position:static;width:100%;height:62px}.flash-cover-meta{font-size:9px;line-height:1.3;padding-top:9px;min-height:31px}.flash-book-number{font-size:7px}.flash-cover[data-opened=true] .flash-book-number:after{font-size:6px}.cover-coin{height:56px;width:56px;font-size:33px}.scroll-cover{height:64px;width:64px}.scroll-cover i{font-size:18px;bottom:5px;right:9px}.flash-shelf-foot{font-size:9px;gap:10px;line-height:1.6;margin-top:18px;padding-top:12px}.flash-shelf-foot>a{max-width:19ch;text-align:right}.short-quest .back-research{font-size:9px;max-width:16ch;text-align:right}.flash-reader-bar{padding-block:7px;gap:8px}.flash-reader-bar>span{font-size:11px}.flash-reader-bar>a{font-size:10px}.flash-reader-bar .text-button{font-size:11px}.flash-page-scroll{padding:14px 5%;align-items:safe center}.flash-page{padding:20px 19px}.flash-page-heading{grid-template-columns:minmax(0,1fr) 77px;padding-bottom:15px;margin-bottom:16px;gap:8px}.flash-page-heading h1{font-size:32px;line-height:1.06;margin-top:10px}.flash-page-heading .eyebrow{font-size:8px}.flash-reader-art{height:88px}.flash-story{font-size:14px;line-height:1.75}.flash-story p+p{margin-top:13px}.flash-actions{flex-direction:column;align-items:stretch;gap:5px;margin-top:21px}.flash-actions .button{font-size:11px;padding:11px}.flash-actions .text-button{font-size:10px;min-height:38px}.flash-reader-controls{gap:7px;padding-block:7px}.flash-reader-controls>.text-button{font-size:10px;white-space:nowrap}.flash-dots{gap:0}.flash-dots button{width:24px;height:44px}.short-metrics{grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.short-metric{padding:10px 5px}.short-metric strong{font-size:29px}.short-metric span{font-size:10px;margin-top:5px}.short-metric small{font-size:8px;margin-top:3px}.flash-story .treasure-lead{font-size:12px}.short-metric-caveat,.short-review-caveat{font-size:10px;line-height:1.65}.short-review-marks{gap:10px}.short-review-marks>div{padding:10px 11px}.short-review-marks strong{font-size:29px}.short-review-marks small{font-size:14px}.short-meaning{min-height:220px}.short-meaning>p:not(.eyebrow){font-size:29px}.short-meaning small{font-size:7px}.short-seat-line{gap:5px;margin-top:20px}.short-seat-line i{width:15px;height:23px}.short-seat-line span{font-size:9px;margin-left:6px}#flash-notes{padding:27px 21px;width:calc(100% - 28px);max-height:91svh}#flash-notes h2{font-size:32px;margin-top:22px}#flash-notes-body{font-size:13px}.compact-tool-list{grid-template-columns:1fr;gap:22px}.compact-credits>div{grid-template-columns:90px 1fr;gap:8px}.compact-credits dd{font-size:20px}.compact-bloopers summary{font-size:21px}.hub-main>h1{font-size:48px;margin:10px 0 14px}.hub-header{padding-block:16px}.hub-main{padding-top:20px;padding-bottom:20px}.world-portals{gap:16px;margin-top:20px}.research-portal-art,.quest-portal-art{height:145px}.portal-copy{padding:13px}.portal-copy h2{font-size:26px}.portal-copy p{font-size:10px;min-height:0}.portal-link{font-size:9px;margin-top:12px;padding-top:9px}.hub-foot{margin-top:20px}.hub-footer{font-size:8px}.hub-deck{font-size:12px}}
@media(max-height:740px) and (min-width:561px){.flash-shelf-intro{margin-bottom:16px}.flash-shelf-intro h1{font-size:32px;margin:8px 0 9px}.flash-book{min-height:128px}.flash-cover-art{height:70px}.flash-covers{gap:16px 22px}.flash-shelf-foot{margin-top:18px}.flash-page-scroll{padding-block:13px}.flash-page{padding-block:20px}.flash-page-heading{margin-bottom:16px;padding-bottom:15px}.flash-reader-art{height:88px}.flash-page-heading h1{font-size:37px}.flash-actions{margin-top:19px}}
@media(max-width:560px){.flash-shelf-intro h1{font-size:27px}.flash-shelf-intro>p:last-child{max-width:none}.flash-book{grid-template-rows:12px 48px 1fr;min-height:132px;padding-top:10px;padding-bottom:10px}.flash-cover-art,.cover-spark .flash-cover-art{height:48px}.flash-cover-title{font-size:22px}.cover-coin{height:45px;width:45px;font-size:27px}.scroll-cover{height:50px;width:50px}.scroll-cover i{font-size:16px}.flash-covers{gap:14px 17px}}
@media(min-width:561px) and (max-width:850px){.flash-book{grid-template-columns:1fr;grid-template-rows:12px 48px 1fr;min-height:146px;padding:12px 13px 13px 20px}.flash-cover-title{grid-column:1;grid-row:3;font-size:23px}.flash-cover-art,.cover-spark .flash-cover-art{position:static;grid-column:1;grid-row:2;justify-self:end;height:48px;width:85px}.cover-coin{height:45px;width:45px;font-size:27px}.scroll-cover{height:50px;width:50px}.scroll-cover i{font-size:16px}}
/* The dragons remain the guides to the shorter stories. */
.dragon-scene{display:block;width:100%;height:100%;position:relative}.dragon-prop{position:absolute;right:-2%;bottom:0;width:58%;height:68%;display:flex;align-items:center;justify-content:center;opacity:.75}.dragon-prop .cover-coin{height:58px;width:58px;font-size:34px}.dragon-prop .scroll-cover{height:60px;width:60px}.story-dragon{position:absolute;left:-5%;top:0;width:87%;height:100%;display:block;filter:drop-shadow(1px 3px 0 #5a4a2922)}.story-dragon>svg{width:100%;height:100%;object-fit:contain}.dragon-flip{background:transparent;border:0;padding:0;cursor:pointer;transition:transform .2s}.dragon-flip:hover{transform:rotate(-4deg) translateY(-3px)}.cover-spark .flash-cover-art{position:static;width:100%}.flash-reader-art .dragon-prop{right:-10%;height:60%;width:56%}.flash-reader-art .story-dragon{width:100%;left:-8%}@media(max-width:850px){.dragon-prop .cover-coin{height:30px;width:30px;font-size:19px;box-shadow:inset 0 0 0 3px #e0bb68}.dragon-prop .scroll-cover{height:32px;width:32px}.dragon-prop .scroll-cover i{font-size:11px;right:3px;bottom:3px}.flash-cover-art .story-dragon{left:0;width:90%}.flash-cover-art .dragon-prop{right:-5%;width:50%}.cover-spark .flash-cover-art{width:85px}.flash-shelf-intro>p:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){.dragon-flip:hover{transform:none}}
/* Readable type and a clear route back to the two-world opening. */
.hub-header-tools,.quest-header-tools,.reader-top-links{display:flex;align-items:center;gap:25px}.world-restart{font:14px/1.3 var(--sans);border:1px solid #ad9d7d;background:transparent;color:var(--ink);min-height:44px;padding:10px 15px;cursor:pointer;white-space:nowrap;border-radius:3px;text-decoration:none}.world-restart:hover{background:#e0d3b5}.hub .wordmark{font-size:18px}.hub .school-note{font-size:11px}.hub .eyebrow{font-size:12px}.hub-main{max-width:1440px}.hub-main>h1{font-size:clamp(58px,6.6vw,94px);line-height:1;margin-bottom:21px}.hub-deck{font-size:18px;line-height:1.6;top:85px}.portal-copy h2{font-size:40px}.portal-copy p{font-size:17px;line-height:1.55;min-height:53px}.portal-link{font-size:15px;padding-top:13px;margin-top:17px}.hub-foot{font-size:15px;line-height:1.55}.hub-footer{font-size:12px}.portal-caption{font-size:28px}.quest-portal-note{font-size:32px}.short-quest .wordmark{font-size:17px}.short-quest .back-research{font-size:14px}.short-quest .eyebrow{font-size:11px}.flash-shelf-intro>p:last-child{font-size:16px}.flash-shelf-intro h1{font-size:clamp(34px,3.8vw,51px)}.flash-cover-title{font-size:29px}.flash-book-number{font-size:11px}.flash-cover-meta{font-size:13px}.flash-shelf-foot{font-size:13px}.flash-cover[data-opened=true] .flash-book-number:after{font-size:9px}.flash-story{font-size:18px;line-height:1.65}.flash-reader-bar,.flash-reader-bar .text-button,.reader-top-links>a{font-size:15px}.flash-reader-bar>span{font-size:14px}.flash-reader-bar{padding-block:7px}.flash-reader-controls>.text-button,.flash-actions .text-button{font-size:14px}.flash-actions .button{font-size:14px}.short-metric span{font-size:14px}.short-metric small{font-size:12px}.short-metric-caveat,.short-review-caveat{font-size:13px;line-height:1.55}.short-review-marks span{font-size:11px}.short-seat-line span{font-size:13px}.short-meaning small{font-size:11px}#flash-notes-body{font-size:17px;line-height:1.65}.compact-tool-list p{font-size:15px}.detail-caution{font-size:14px}.compact-credits dt{font-size:14px}.flash-dots button{width:30px}.short-quest .flash-shelf-foot>a{font-size:13px}
@media(min-width:561px) and (max-width:1000px){.hub-main>h1{font-size:62px}.hub-deck{position:static;max-width:none;font-size:16px}.portal-copy h2{font-size:32px}.portal-copy p{font-size:16px}.hub .eyebrow{font-size:10px}.portal-link{font-size:13px}.hub-header-tools{gap:15px}.hub .school-note{font-size:9px}.portal-copy{padding:17px}.research-portal-art,.quest-portal-art{height:110px}.flash-cover-title{font-size:26px}.flash-book-number{font-size:10px}.flash-book{min-height:158px}.flash-cover-meta{font-size:12px}.flash-shelf-intro h1{font-size:34px}.short-quest .back-research{font-size:13px}.quest-header-tools{gap:16px}.flash-page{padding:23px}.flash-story{font-size:17px}.flash-page-heading h1{font-size:38px}.flash-page-heading{margin-bottom:16px}.flash-reader-art{height:90px}.reader-top-links{gap:15px}}
@media(max-width:560px){.hub .wordmark{font-size:15px}.hub-header-tools{gap:10px}.hub .school-note{display:none}.world-restart{font-size:13px;padding:9px 11px;min-height:42px}.hub-main>h1{font-size:55px}.hub .eyebrow{font-size:10px}.hub-deck{font-size:16px;line-height:1.5}.hub .world-portal{grid-template-columns:85px minmax(0,1fr)}.portal-copy h2{font-size:28px}.portal-copy p{font-size:14px;line-height:1.5}.portal-link{font-size:13px;line-height:1.4;margin-top:12px;padding-top:10px}.portal-heading .eyebrow{font-size:10px}.research-portal-art,.quest-portal-art{height:100%;min-height:164px}.hub-foot{font-size:13px}.hub-footer{font-size:10px}.hub-footer>span{display:none}.hub-footer{justify-content:flex-end}.short-quest .wordmark{font-size:14px}.quest-header-tools{gap:10px}.short-quest .back-research{font-size:12px;max-width:11ch}.short-quest .quest-header{height:73px}.short-quest .quest-header .brand-stamp{display:none}.short-quest #quest-main{padding-top:17px}.short-quest .eyebrow{font-size:10px}.flash-shelf-intro h1{font-size:30px}.flash-shelf-intro>p:last-child{font-size:14px;line-height:1.45}.flash-covers{gap:15px 17px}.flash-cover-meta{display:none}.flash-book{min-height:151px;grid-template-rows:15px 52px 1fr}.flash-cover-title{font-size:26px}.flash-book-number{font-size:10px}.flash-cover[data-opened=true] .flash-book-number:after{content:' ✓';font-size:10px}.flash-cover-art,.cover-spark .flash-cover-art{height:52px}.flash-shelf-foot{font-size:12px;line-height:1.5}.short-quest .flash-shelf-foot>a{font-size:12px}.flash-reader-bar{padding:6px 4%;gap:7px;flex-wrap:wrap}.flash-reader-bar .text-button{font-size:13px}.flash-reader-bar>span{font-size:12px}.reader-top-links{gap:10px}.reader-top-links>a{font-size:12px}.reader-top-links .world-restart{font-size:12px;min-height:38px;padding:8px}.flash-page-scroll{padding:12px 4%}.flash-page{padding:17px}.flash-page-heading{grid-template-columns:minmax(0,1fr) 65px;padding-bottom:12px;margin-bottom:13px}.flash-page-heading h1{font-size:33px}.flash-reader-art{height:70px}.flash-story{font-size:16px;line-height:1.6}.flash-story p+p{margin-top:12px}.flash-actions{margin-top:17px}.flash-actions .button,.flash-actions .text-button{font-size:13px}.flash-reader-controls>.text-button{font-size:12px}.flash-reader-controls{padding-inline:4%;gap:5px}.flash-dots button{width:23px}.short-seat-line span{font-size:11px}.short-metrics{gap:8px;margin:12px 0}.short-metric{padding:8px 5px}.short-metric strong{font-size:30px}.short-metric span{font-size:13px}.short-metric small{font-size:11px;line-height:1.4}.short-metric-caveat,.short-review-caveat{font-size:12px;line-height:1.5}.flash-story .treasure-lead{font-size:14px}.short-review-marks span{font-size:10px}.short-meaning small{font-size:10px}#flash-notes-body{font-size:16px}.detail-caution{font-size:14px}}
.panel-page-count{font-size:14px;color:var(--muted);padding:8px 14px;border:1px solid var(--line);border-radius:30px;line-height:1}.flash-shelf-foot{align-items:center;flex-wrap:wrap}.flash-shelf-foot .text-button{font-size:13px;padding:0;min-height:32px}.flash-story blockquote{font:italic 20px/1.5 var(--serif);border-left:2px solid var(--rust);margin:18px 0 0;padding-left:16px;color:#775238}.panel-caution{font-size:14px;line-height:1.55;border-left:2px solid var(--rust);padding-left:12px;margin-top:15px;color:#6b5940}.panel-correction{border-top:1px solid var(--line);padding-top:14px}.panel-tools{display:grid;grid-template-columns:1fr;gap:13px}.panel-tools>article{display:flex;align-items:flex-start;gap:13px}.panel-tools svg{width:30px;height:34px;flex:0 0 30px;color:#8b6440}.panel-tools h2{font:22px/1.2 var(--serif);letter-spacing:-.025em;margin:0 0 3px}.panel-tools p{font-size:15px;line-height:1.45}.panel-lessons{padding-left:23px;margin:0;display:grid;gap:16px}.panel-lessons li{padding-left:5px}.panel-lessons strong{font:24px/1.2 var(--serif);display:block;letter-spacing:-.03em}.panel-lessons p{font-size:16px;margin-top:5px;line-height:1.5}.panel-credits,.panel-dates{margin:0}.panel-credits>div,.panel-dates>div{display:grid;grid-template-columns:125px 1fr;gap:15px;padding:9px 0;border-bottom:1px solid var(--line)}.panel-credits dt,.panel-dates dt{font-size:13px;color:var(--muted)}.panel-credits dd,.panel-dates dd{font:22px/1.3 var(--serif);margin:0}.panel-dates{margin-bottom:22px}.author-fun-facts{background:#e8dfc5;padding:14px 17px;margin-top:17px;border:1px solid #c6b68e}.author-fun-facts p{font-size:15px}.author-fun-facts p+p{margin-top:7px}.panel-wording{padding-left:20px;margin:0 0 18px}.panel-wording li+li{margin-top:12px}.restored-map.quest-map{min-height:340px;margin:5px -10px 20px;width:calc(100% + 20px)}.restored-map .map-stop .stop-label{font-size:12px}.restored-map .map-stop{width:83px}.flash-page .short-metrics:has(.short-metric:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.flash-shelf-intro{margin-bottom:18px}
@media(min-width:1001px){.hub .research-portal-art,.hub .quest-portal-art{height:110px}.hub-main>h1{font-size:clamp(64px,6.1vw,88px)}}
@media(max-width:560px){.panel-tools{gap:11px}.panel-tools h2{font-size:21px}.panel-tools p{font-size:14px;line-height:1.4}.panel-tools svg{width:26px;height:30px;flex-basis:26px}.panel-tools>article{gap:10px}.panel-lessons{gap:14px}.panel-lessons strong{font-size:22px}.panel-lessons p{font-size:15px;line-height:1.5}.panel-caution{font-size:12px;line-height:1.5}.flash-story blockquote{font-size:18px;line-height:1.45;margin-top:15px;padding-left:12px}.panel-credits>div,.panel-dates>div{grid-template-columns:95px 1fr;gap:9px;padding:9px 0}.panel-credits dd,.panel-dates dd{font-size:20px}.panel-credits dt,.panel-dates dt{font-size:12px}.author-fun-facts{padding:12px;margin-top:13px}.author-fun-facts p{font-size:14px}.panel-wording li+li{margin-top:10px}.restored-map.quest-map{min-height:255px}.flash-page .short-metrics:has(.short-metric:nth-child(3):last-child){grid-template-columns:1fr 1fr}.flash-page .short-metrics:has(.short-metric:nth-child(3):last-child)>.short-metric:last-child{grid-column:1/-1}.panel-page-count{font-size:13px}.flash-shelf-foot .text-button{font-size:12px;min-height:32px}.flash-shelf-foot{gap:8px 16px}.flash-shelf-foot>span{flex-basis:100%}.flash-shelf-foot>a{max-width:none!important}.flash-shelf-intro h1{font-size:29px}.short-quest .flash-shelf-intro .eyebrow{font-size:9px}}
/* Sections open as flashcard galleries, with no paginated reader. */
.section-gallery-scroll{flex:1;min-height:0;overflow:auto;padding:24px 5%}.section-card-gallery{max-width:1120px;margin:auto}.section-gallery-heading{margin-bottom:22px}.section-gallery-heading h1{font-size:clamp(34px,4vw,48px);margin:9px 0 12px;outline:none}.section-gallery-heading>p:last-child{font-size:16px;color:var(--muted)}.section-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.topic-card{position:relative;background:#eee0bd;border:1px solid #ae9663;box-shadow:4px 4px 0 #b7a06b26;display:grid;grid-template-columns:1fr 70px;grid-template-rows:auto auto 1fr auto;padding:17px 19px;text-align:left;min-height:182px;transition:transform .2s}.topic-card:nth-child(3n+2){background:#dfe2cd}.topic-card:nth-child(3n){background:#e7cfb4}.topic-card:hover{transform:translateY(-3px)}.topic-number{grid-column:1/-1;font-size:10px;letter-spacing:.12em;margin-bottom:12px;color:#655637}.topic-card[data-reviewed=true] .topic-number:after{content:' ✓';color:var(--forest)}.topic-art{grid-column:2;grid-row:2/4;width:70px;height:70px;align-self:center}.topic-title{grid-column:1;grid-row:2;font:27px/1.08 var(--serif);letter-spacing:-.04em;align-self:center;max-width:15ch;padding-right:6px}.topic-preview{grid-column:1;grid-row:3;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:9px;padding-right:6px;color:#655940}.topic-open{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:12px;border-top:1px solid #b19c6c77;padding-top:9px;margin-top:13px}.topic-open b{font-size:18px;font-weight:400}.section-gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;border-top:1px solid var(--line);padding-top:8px;color:var(--muted);font-size:13px}.section-gallery-foot .text-button{font-size:14px}#topic-dialog{width:calc(100% - 44px);max-width:800px;max-height:91svh;overflow:auto;margin:auto;padding:47px 29px 27px;border:1px solid #aa915e;background:#f8efda;color:var(--ink);box-shadow:8px 8px 0 #342a1b33}#topic-dialog::backdrop{background:#432a46d9;backdrop-filter:blur(3px)}#topic-dialog .dialog-close{top:8px;right:10px}#topic-dialog .flash-page-heading{margin-bottom:17px;padding-bottom:17px;grid-template-columns:minmax(0,1fr) 110px}#topic-title{font:40px/1.08 var(--serif);letter-spacing:-.04em;margin-top:9px}#topic-dialog .flash-reader-art{height:95px}#topic-dialog .flash-actions{margin-top:22px}#topic-dialog .short-meaning{min-height:200px}.topic-expanded{animation:open-room .2s ease}.topic-expanded.is-turned{background:transparent;animation:turn-note .25s ease}.topic-art .dragon-scene{display:block;width:100%;height:100%}.topic-art svg,.topic-art img{width:100%;height:100%;object-fit:contain}.topic-art .cover-coin{height:30px;width:30px;font-size:19px}.topic-art .scroll-cover{height:34px;width:34px}.topic-art .scroll-cover i{font-size:11px;right:4px;bottom:3px}
@media(min-width:561px) and (max-width:850px){.section-card-grid{gap:15px}.topic-card{grid-template-columns:1fr 45px;padding:14px;min-height:173px}.topic-art{height:50px;width:50px}.topic-title{font-size:24px}.topic-preview{display:none}.topic-open{font-size:11px}.topic-number{font-size:9px}.section-gallery-scroll{padding:20px 4%}.section-gallery-heading h1{font-size:35px}}
@media(max-width:560px){.section-gallery-scroll{padding:18px 4%}.section-gallery-heading{margin-bottom:18px}.section-gallery-heading h1{font-size:32px;margin:9px 0 10px}.section-gallery-heading>p:last-child{font-size:14px;line-height:1.5;max-width:32ch}.section-card-grid{grid-template-columns:1fr 1fr;gap:13px}.topic-card{min-height:151px;padding:12px 13px;grid-template-columns:1fr 38px;grid-template-rows:13px 1fr auto}.topic-number{font-size:8px;margin:0;letter-spacing:.08em;grid-column:1/-1}.topic-title{font-size:22px;grid-column:1/-1;grid-row:2;max-width:15ch;padding:17px 0 7px;align-self:center;position:relative;z-index:1}.topic-art{width:42px;height:42px;position:absolute;right:8px;top:6px;opacity:.35}.topic-preview{display:none}.topic-open{font-size:11px;padding-top:6px;margin-top:5px;grid-row:3}.topic-open b{font-size:15px}.section-gallery-foot{margin-top:17px;gap:10px;font-size:12px}.section-gallery-foot .text-button{font-size:12px}#topic-dialog{width:calc(100% - 26px);padding:48px 18px 21px;max-height:91svh}#topic-dialog .flash-page-heading{grid-template-columns:minmax(0,1fr) 65px;padding-bottom:13px;margin-bottom:14px}#topic-title{font-size:31px;line-height:1.06;margin-top:9px}#topic-dialog .flash-reader-art{height:70px}#topic-dialog .flash-actions{margin-top:18px}#topic-dialog .flash-page-heading .eyebrow{font-size:9px}#topic-dialog .short-meaning{min-height:220px}}
@media(prefers-reduced-motion:reduce){.topic-card:hover{transform:none}}
@media(max-width:560px){.topic-card{min-height:132px}.topic-title{padding-top:12px;padding-bottom:5px}.section-gallery-heading>p:last-child{max-width:none}.section-gallery-foot{margin-top:13px}.section-gallery-heading{margin-bottom:16px}}
@media(min-width:1001px){.section-card-grid:has(.topic-card:nth-child(7)){grid-template-columns:repeat(4,minmax(0,1fr))}.section-card-grid:has(.topic-card:nth-child(7)) .topic-card{min-height:167px;grid-template-columns:1fr 48px;padding:15px}.section-card-grid:has(.topic-card:nth-child(7)) .topic-preview{display:none}.section-card-grid:has(.topic-card:nth-child(7)) .topic-title{font-size:25px}.section-card-grid:has(.topic-card:nth-child(7)) .topic-art{width:48px;height:55px}.section-gallery-heading{margin-bottom:18px}.section-gallery-scroll{padding-block:20px}}
@media(min-width:561px) and (max-width:850px){.topic-card{position:relative;grid-template-columns:1fr;min-height:140px}.topic-title{grid-column:1;max-width:18ch;font-size:24px;position:relative;z-index:1}.topic-art{position:absolute;right:9px;top:9px;width:45px;height:45px;opacity:.3}.topic-number{font-size:9px;position:relative;z-index:1}.section-gallery-scroll{padding:16px 4%}.section-gallery-heading h1{font-size:32px}.section-gallery-heading>p:last-child{font-size:14px}}
@media(max-width:560px){.section-gallery-scroll{padding-top:14px;padding-bottom:14px}.section-gallery-heading{margin-bottom:12px}.section-gallery-foot{margin-top:10px}}
@media(min-width:650px) and (max-width:850px){.section-card-grid:has(.topic-card:nth-child(7)){grid-template-columns:repeat(4,minmax(0,1fr))}.section-card-grid:has(.topic-card:nth-child(7)) .topic-title{font-size:23px}.section-card-grid:has(.topic-card:nth-child(7)) .topic-number{font-size:8px}.section-card-grid:has(.topic-card:nth-child(7)) .topic-card{padding:12px;min-height:143px}}
.object-illustration{display:block;width:100%;height:100%}.object-illustration>svg{display:block;width:100%;height:100%;object-fit:contain}.art-flip{background:transparent;border:0;padding:0;cursor:pointer;transition:transform .2s}.art-flip:hover{transform:rotate(-4deg) translateY(-2px)}.portal-notes{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story-index{display:grid;grid-template-columns:1fr 1fr;gap:10px}.story-index>button{display:grid;grid-template-columns:28px 1fr 14px;gap:8px;align-items:center;text-align:left;min-height:72px;padding:12px;background:#eee2c4;border:1px solid #bea679}.story-index>button>span{font:13px var(--sans);color:#806137}.story-index>button>strong{font:21px/1.15 var(--serif);letter-spacing:-.025em}.story-index>button>b{font-size:18px;font-weight:400}.story-index>button[data-faced=true]>span:after{content:' ✓';color:var(--forest)}@media(max-width:560px){.story-index{grid-template-columns:1fr}.story-index>button{min-height:63px}.story-index>button>strong{font-size:22px}.portal-notes{width:250%;max-width:none;left:-125%;object-fit:cover}.topic-art{opacity:.55}}@media(prefers-reduced-motion:reduce){.art-flip:hover{transform:none}}
/* Money Lab: notebook covers, friendly instruments and a light graph-paper backdrop. */
:root{--lab-mint:#e9dee8;--lab-coral:#d7866b;--lab-violet:#ddd3e8}.short-quest{background-color:#f6f3e9;background-image:linear-gradient(#6f617009 1px,transparent 1px),linear-gradient(90deg,#6f617009 1px,transparent 1px);background-size:24px 24px}.short-quest .quest-header{background:#f6f3e9ed}.flash-book{border-radius:5px;background:#f0dfb4;border-color:#9f967d;box-shadow:4px 4px 0 #6f617020}.flash-book:before{border-color:#988d6f44;border-radius:2px}.flash-book:after{border-color:#8d8a7366}.cover-data .flash-book{background:#e9dee8}.cover-goblins .flash-book{background:#f1d5ca}.cover-treasure .flash-book{background:#f1e1a7}.cover-council .flash-book{background:#e2d8ed}.cover-lessons .flash-book{background:#eee5eb}.flash-shelf-intro h1 em{color:#a4533e}.flash-cover-art{transition:transform .25s}.flash-cover:hover .flash-cover-art{transform:translateY(-3px) rotate(-3deg)}.flash-reader{background:#f6f3e9;background-image:linear-gradient(#6f617008 1px,transparent 1px),linear-gradient(90deg,#6f617008 1px,transparent 1px);background-size:24px 24px}.topic-card{border-radius:6px;background:#f1e4c8;border-color:#a9a18b;box-shadow:4px 4px 0 #6f617018}.topic-card:nth-child(3n+2){background:#eee5eb}.topic-card:nth-child(3n){background:#eadce6}.topic-card:hover{transform:translateY(-4px) rotate(-.4deg)}.topic-card .topic-art{transition:transform .25s}.topic-card:hover .topic-art{transform:rotate(5deg)}.topic-number{color:#6f6170}.topic-open{border-color:#8a758d66}#topic-dialog,#flash-notes{background:#fffdfa;border-radius:9px;border-color:#c9bacb;box-shadow:9px 10px 0 #432a4622}.short-metric{background:#eee5eb;border-color:#c9bacb;border-radius:5px}.short-metric:nth-child(2n){background:#f4e5bf}.author-fun-facts{background:#e9e0ef;border-color:#c1b5c7;border-radius:5px}.hub .quest-portal{background:#eee5eb}.hub .quest-portal-art{background:#e9dee8}.hub .quest-portal-note{font-size:27px}.hub .quest-portal-note em{color:#b14535}.story-index>button{border-radius:4px;background:#eee5eb;border-color:#c9bacb}.story-index>button:nth-child(3n){background:#efe1c1}.object-illustration{transition:transform .25s}.art-flip:hover .object-illustration{transform:rotate(5deg)}@media(prefers-reduced-motion:reduce){.flash-cover:hover .flash-cover-art,.topic-card:hover,.topic-card:hover .topic-art,.art-flip:hover .object-illustration{transform:none}}
/* A brief, contained coin reaction when a flashcard opens. No layout changes. */
.lab-flask-playground{position:relative;display:block;width:100%;height:100%;overflow:hidden;contain:paint;pointer-events:none}.lab-opening-flask{display:block;width:100%;height:100%;overflow:hidden}.lab-rise-coin,.lab-rise-bubble{opacity:0;transform-box:view-box;transform-origin:60px 43px}.lab-coin-face{transform-box:view-box;transform-origin:60px 43px}.lab-flask-glass,.lab-liquid{transform-box:fill-box;transform-origin:50% 90%}.is-bubbling .lab-flask-glass{animation:lab-flask-jiggle .55s ease-out both}.is-bubbling .lab-liquid{animation:lab-liquid-slosh .7s ease-out both}.is-bubbling .lab-rise-coin{animation:lab-coin-bubble 1.25s cubic-bezier(.2,.65,.3,1) var(--wait) both}.is-bubbling .lab-coin-face{animation:lab-coin-shimmer 1.25s ease-out var(--wait) both}.is-bubbling .lab-rise-bubble{animation:lab-air-bubble 1s ease-out var(--wait) both}.topic-expanded.is-turned .lab-flask-glass{animation:lab-takeaway-tilt .32s ease-out both}.topic-card:active{transform:translateY(-1px) scale(.985)}.flash-cover:active .flash-book{transform:translateY(2px);box-shadow:2px 2px 0 #6f617020}.topic-card[data-reviewed=true] .topic-number:after{display:inline-block;animation:lab-stamp-in .2s ease-out both}#topic-dialog .dialog-close{z-index:5}
@keyframes lab-coin-bubble{0%,8%{opacity:0;transform:translate(0,5px) scale(.45)}18%{opacity:1}72%{opacity:1;transform:translate(calc(var(--drift)*.8),calc(var(--rise)*.9)) scale(1)}100%{opacity:0;transform:translate(var(--drift),var(--rise)) scale(.65)}}
@keyframes lab-coin-shimmer{0%{transform:rotate(0deg) scaleX(.75)}35%{transform:rotate(var(--spin)) scaleX(1)}62%{transform:rotate(calc(var(--spin)*-.5)) scaleX(.4)}100%{transform:rotate(var(--spin)) scaleX(.9)}}
@keyframes lab-air-bubble{0%,8%{opacity:0;transform:translate(0,6px) scale(.3)}30%{opacity:.7}100%{opacity:0;transform:translate(var(--drift),var(--rise)) scale(1.1)}}
@keyframes lab-flask-jiggle{0%,100%{transform:rotate(0deg)}22%{transform:rotate(-4deg)}48%{transform:rotate(4deg)}72%{transform:rotate(-2deg)}}
@keyframes lab-liquid-slosh{0%,100%{transform:rotate(0deg)}30%{transform:rotate(5deg)}65%{transform:rotate(-3deg)}}
@keyframes lab-takeaway-tilt{0%,100%{transform:rotate(0deg)}45%{transform:rotate(4deg)}}
@keyframes lab-stamp-in{from{opacity:0;transform:scale(.5) rotate(-15deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}
@media(prefers-reduced-motion:reduce){.lab-flask-glass,.lab-liquid,.lab-rise-coin,.lab-rise-bubble,.lab-coin-face,.topic-card[data-reviewed=true] .topic-number:after{animation:none!important}.lab-rise-coin,.lab-rise-bubble{opacity:0!important}.topic-card:active,.flash-cover:active .flash-book{transform:none}}
/* Eight concise collections; roomy text without a tall empty card. */
@media(min-width:901px){.flash-covers{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 24px}.flash-book{min-height:153px}.flash-cover-art{height:70px}.flash-cover-title{font-size:28px}.flash-shelf-intro h1{font-size:clamp(32px,3.4vw,47px)}}
#topic-dialog,#flash-notes{--popup-edge:clamp(12px,1.6vw,26px);width:calc(100vw - var(--popup-edge)*2);max-width:none;max-height:calc(100svh - var(--popup-edge)*2);height:fit-content;margin:auto;padding:52px clamp(22px,4vw,64px) 24px;overflow:auto;scrollbar-gutter:stable;box-shadow:0 12px 55px #152f3b40}
#topic-dialog .dialog-close,#flash-notes .dialog-close{position:absolute;top:10px;right:12px;width:46px;height:46px;min-height:46px;font-size:29px;display:grid;place-items:center;line-height:1;background:#fffdfa;border:1px solid #8a758d;border-radius:50%;z-index:20}
#topic-dialog .flash-page-heading{grid-template-columns:minmax(0,1fr) 150px;padding-bottom:13px;margin-bottom:18px;gap:25px}
#topic-title{font-size:clamp(35px,4.3vw,62px);margin-top:8px;max-width:24ch;outline:none}
#topic-dialog .flash-reader-art{height:145px}#topic-dialog .flash-story{font-size:clamp(21px,2.15vw,31px);line-height:1.5;max-width:75ch}#topic-dialog .short-meaning{min-height:0;padding:0}#topic-dialog .short-meaning>p:not(.eyebrow){font-size:clamp(25px,2.7vw,38px);line-height:1.4;margin:8px 0 0}
#topic-dialog .flash-actions{justify-content:flex-start;gap:25px;margin-top:22px}#topic-dialog .flash-actions :is(.button,.text-button){font-size:17px;min-height:46px}
.flashcard-navigation{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #c9bacb;margin-top:24px;padding-top:14px}.flashcard-navigation button{border:1px solid #8a758d;background:#eee5eb;border-radius:4px;min-height:46px;padding:10px 18px;font-size:17px}.flashcard-navigation span{font-size:16px;color:#6f6170}.flashcard-navigation button:last-child{background:#432a46;color:#fff9e8}#flash-notes h2{font-size:clamp(34px,4vw,53px);margin:9px 50px 18px 0}#flash-notes-body{font-size:20px;line-height:1.6}#flash-notes-body p+p{margin-top:12px}.card-source-note+.card-source-note{border-top:1px solid #c9bacb;margin-top:20px;padding-top:20px}.card-source-note h3{font-size:29px;margin:0 0 10px}.card-source-note:only-of-type>h3{display:none}.related-notes{margin-top:20px;border-top:1px solid #c9bacb;padding-top:15px}.related-notes summary{cursor:pointer;min-height:44px;font-size:18px}.related-notes[open] summary{margin-bottom:16px}#flash-notes .panel-tools,.compact-tool-list{grid-template-columns:repeat(3,minmax(0,1fr))}#flash-notes .short-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}#flash-notes::backdrop{background:#432a46d9;backdrop-filter:blur(3px)}
@media(max-width:900px){.flash-covers{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.flash-book{min-height:145px}.flash-cover-title{font-size:24px}.flash-cover-art{height:55px}.flash-cover-meta{display:none}}
@media(max-width:560px){.flash-covers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.flash-book{min-height:124px;grid-template-rows:12px 40px 1fr}.flash-cover-art{height:40px}.flash-cover-title{font-size:23px}.flash-book-number{font-size:9px}.flash-shelf-intro h1{font-size:28px}.flash-shelf-intro{margin-bottom:14px}#topic-dialog,#flash-notes{padding:62px 20px 20px}#topic-dialog .flash-page-heading{grid-template-columns:minmax(0,1fr) 65px;gap:12px;margin-bottom:17px;padding-bottom:14px}#topic-dialog .flash-reader-art{height:95px}#topic-title{font-size:35px;line-height:1.08}#topic-dialog .flash-story{font-size:21px;line-height:1.5}#topic-dialog .short-meaning>p:not(.eyebrow){font-size:26px}#topic-dialog .flash-page-heading .eyebrow{font-size:10px}#topic-dialog .flash-actions{gap:14px;flex-wrap:wrap;margin-top:18px}#topic-dialog .flash-actions :is(.button,.text-button){font-size:15px}.flashcard-navigation{gap:8px;margin-top:18px;padding-top:13px}.flashcard-navigation button{font-size:14px;padding:9px 11px}.flashcard-navigation span{font-size:13px;white-space:nowrap}#flash-notes-body{font-size:18px}#flash-notes .panel-tools,.compact-tool-list{grid-template-columns:1fr}#flash-notes .short-metrics{grid-template-columns:1fr 1fr}#flash-notes .dialog-close,#topic-dialog .dialog-close{width:44px;height:44px;min-height:44px}.story-index{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.topic-expanded,.topic-expanded.is-turned{animation:none}}
.section-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:901px){.topic-card{min-height:173px}.topic-title{font-size:32px;max-width:24ch}.topic-preview{font-size:16px}.topic-number{font-size:12px}.topic-open{font-size:15px}.topic-art{width:85px;height:85px}.topic-card{grid-template-columns:1fr 90px}}
.cover-lab-0 .flash-book{background:#f1dfb4}.cover-lab-1 .flash-book{background:#e9dee8}.cover-lab-2 .flash-book{background:#e0e5f1}.cover-lab-3 .flash-book{background:#f1d5ca}.cover-lab-4 .flash-book{background:#f4e3a3}.cover-lab-5 .flash-book{background:#eee5eb}.cover-lab-6 .flash-book{background:#e4d9ed}.cover-lab-7 .flash-book{background:#eee5eb}
@media(min-width:901px) and (max-height:740px){.short-quest .quest-header{height:60px}.short-quest #quest-main{padding-top:16px}.flash-shelf-intro h1{font-size:34px;margin-block:9px}.flash-shelf-intro{margin-bottom:14px}.flash-book{min-height:130px}.flash-cover-art{height:50px}.flash-cover-title{font-size:26px}.flash-covers{gap:13px 22px}.flash-shelf-foot{margin-top:14px}}
.card-secondary-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}.card-secondary-actions .section-jump{font-weight:700;color:var(--forest)}
@media(max-width:560px){#topic-dialog .card-secondary-actions{width:100%;gap:14px}#topic-dialog .card-secondary-actions .text-button{font-size:15px}}
/* Let the entrance use the browser window instead of a narrow fixed canvas. */
.hub .hub-main{width:100%;max-width:none}
.short-quest #quest-main{width:100%;max-width:none}
.author-contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
#topic-dialog .author-contact-actions .button{min-height:48px;font-size:18px;padding:11px 22px;white-space:nowrap}
.author-contact-actions .button:focus-visible,#topic-dialog .card-brief a:focus-visible{outline:3px solid var(--rust);outline-offset:4px}
@media(min-width:901px){
 .hub{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}
 .hub .hub-header{padding:20px 4%}
 .hub .hub-main{margin:0;padding:24px 4% 20px;display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:auto auto minmax(0,1fr) auto;gap:18px 32px;align-content:stretch}
 .hub-main>.eyebrow{grid-column:1/-1;font-size:13px}
 .hub .hub-main>h1{grid-column:1;grid-row:2;font-size:clamp(70px,6.5vw,120px);line-height:1;margin:0}
 .hub .hub-deck{grid-column:2;grid-row:2;position:static;max-width:none;align-self:center;font-size:clamp(20px,1.6vw,29px);line-height:1.5}
 .hub .world-portals{grid-column:1/-1;grid-row:3;margin:0;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
 .hub .world-portal{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(115px,1fr) auto;min-width:0}
 .hub .portal-heading{padding:16px 24px}
 .hub .research-portal-art,.hub .quest-portal-art{height:auto;min-height:115px}
 .hub .portal-caption,.hub .quest-portal-note{font-size:clamp(28px,2.2vw,42px);top:22px;left:24px}
 .hub .portal-copy{padding:20px 24px}
 .hub .portal-copy h2{font-size:clamp(36px,2.8vw,53px);margin-bottom:10px}
 .hub .portal-copy p{font-size:clamp(18px,1.3vw,24px);line-height:1.45;min-height:0;max-width:60ch}
 .hub .portal-link{font-size:clamp(16px,1.15vw,21px);margin-top:15px;padding-top:12px}
 .hub .hub-foot{grid-column:1/-1;grid-row:4;margin:0;font-size:16px}
 .hub .hub-footer{padding:14px 4%;font-size:13px}
}
@media(min-width:901px) and (max-height:850px){
 .hub .hub-header{padding-block:14px}
 .hub .hub-main{padding-top:18px;padding-bottom:14px;gap:12px 28px}
 .hub .hub-main>h1{font-size:clamp(56px,8svh,76px)}
 .hub .hub-deck{font-size:20px}
 .hub .portal-heading{padding:10px 20px}
 .hub .portal-copy{padding:14px 20px}
 .hub .portal-copy h2{font-size:34px;margin-bottom:8px}
 .hub .portal-copy p{font-size:18px}
 .hub .portal-link{margin-top:11px;padding-top:9px;font-size:16px}
 .hub .hub-footer{padding-block:10px}
}
@media(min-width:901px) and (min-height:851px){
 .short-quest .flash-shelf-intro h1{font-size:clamp(43px,3.3vw,64px);max-width:none}
 .short-quest .flash-shelf-intro>p:last-child{font-size:20px}
 .short-quest .flash-book{min-height:clamp(180px,21svh,245px);padding:20px 24px}
 .short-quest .flash-cover-title{font-size:clamp(30px,2.2vw,43px)}
 .short-quest .flash-cover-art{height:clamp(85px,7vw,125px)}
 .short-quest .flash-book-number{font-size:13px}
 .short-quest .flash-cover-meta,.short-quest .flash-shelf-foot{font-size:16px}
 .short-quest .flash-shelf-foot .text-button,.short-quest .flash-shelf-foot>a{font-size:16px}
}
@media(max-width:560px){#topic-dialog .author-contact-actions{gap:10px}#topic-dialog .author-contact-actions .button{font-size:16px;flex:1;padding-inline:12px}}
/* The author has a directly accessible page, outside the flashcard reader. */
.about-author-link{font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:5px;white-space:nowrap;display:inline-flex;align-items:center;min-height:44px}
.author-cover{text-decoration:none;color:inherit;display:block}.author-cover .flash-book-number{color:#432a46;font-weight:700}.author-next{display:inline-flex;align-items:center;justify-content:center;border:1px solid #432a46;background:#432a46;color:#fff9e8;min-height:46px;padding:10px 18px;border-radius:4px;font-size:17px;text-decoration:none}
.author-world{min-height:100vh;min-height:100svh;background:#faf7f2}.author-header{display:flex;align-items:center;gap:28px;padding:18px 4%;border-bottom:1px solid var(--line);font-size:17px}.author-header .world-restart{margin-left:auto}
.author-main{width:92%;max-width:1480px;margin:32px auto;padding:clamp(24px,3vw,52px);border:1px solid #c9bacb;border-radius:10px;background:#fffdfa;box-shadow:7px 8px 0 #432a4612;font-size:clamp(19px,1.55vw,26px);line-height:1.6}.author-main>.eyebrow{font-size:13px}.author-main h1{font-size:clamp(45px,5vw,82px);margin:12px 0 30px}.author-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(28px,5vw,80px)}.author-columns h2{font-size:clamp(30px,2.6vw,43px);margin-bottom:14px}.author-bio p+p{margin-top:18px}.author-main .author-opportunity{border-top:1px solid #c9bacb;margin-top:28px;padding-top:24px}.author-main .author-inline-links{margin-top:20px}.author-main .author-contact-actions{margin-top:20px}.author-main .author-contact-actions .button{font-size:19px;min-height:50px;padding:12px 26px}.author-main .author-contact-actions .light{color:#432a46;background:transparent;border-color:#432a46}
@media(max-width:700px){.author-header{padding:12px 4%;gap:18px;font-size:15px}.author-main{width:92%;margin:20px auto;padding:24px;font-size:19px}.author-main h1{font-size:43px;margin-bottom:24px}.author-columns{grid-template-columns:1fr;gap:26px}.author-columns h2{font-size:30px}.author-main .author-opportunity{margin-top:24px;padding-top:20px}}
@media(max-width:560px){.hub-header-tools .world-restart,.quest-header-tools .world-restart{font-size:0;min-width:42px;padding:8px}.hub-header-tools .world-restart:before,.quest-header-tools .world-restart:before{content:'↺';font-size:21px}.hub-header-tools,.quest-header-tools{gap:12px}.hub-header-tools .about-author-link,.quest-header-tools .about-author-link{font-size:13px}.quest-header-tools .back-research{display:none}.author-next{font-size:14px;padding:9px 11px}.reader-top-links .about-author-link{font-size:12px}.author-main .author-contact-actions .button{font-size:17px;flex:1;padding-inline:12px}}
/* Keep controls stationary while a card opens or changes. */
.topic-expanded,.topic-expanded.is-turned{animation:lab-topic-reveal .16s ease both}
@keyframes lab-topic-reveal{from{opacity:.6}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.topic-expanded,.topic-expanded.is-turned{animation:none}}
@media(max-width:560px){
 .hub .hub-main{padding-top:14px;padding-bottom:14px}
 .hub .hub-main>h1{margin-bottom:14px}
 .hub .world-portals{margin-top:14px;gap:12px}
 .hub .portal-heading{padding:8px 12px;min-height:36px}
 .hub .portal-heading>span:last-child{font-size:20px;line-height:1}
 .hub .hub-foot{display:none}
 .short-quest .flash-book{grid-template-rows:12px 32px 1fr;min-height:116px}
 .short-quest .flash-cover-art{height:32px}
 .short-quest .flash-covers{row-gap:9px}
}
@media(max-width:560px){.short-quest #quest-main{padding-bottom:8px}}
/* Stories are already on the four cards. The only flip is to their lesson. */
.inline-collection{height:100%;min-height:0;display:flex;flex-direction:column;max-width:none}
.inline-collection .section-gallery-heading{display:grid;grid-template-columns:1fr auto;column-gap:24px;flex-shrink:0;margin-bottom:16px}
.inline-collection .section-gallery-heading .eyebrow{grid-column:1;grid-row:1}
.inline-collection .section-gallery-heading h1{grid-column:1;grid-row:2;font-size:clamp(30px,3vw,44px);margin:5px 0 0}
.inline-collection .section-gallery-heading>p:last-child{grid-column:2;grid-row:1/3;align-self:center;font-size:17px}
.inline-card-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(min-content,1fr));gap:16px}
.inline-flashcard{position:relative;min-width:0;display:flex;flex-direction:column;background:#f1e4c8;border:1px solid #a9a18b;border-radius:8px;box-shadow:4px 4px 0 #6f617018;padding:18px 22px;cursor:pointer;transition:background .25s}
.inline-flashcard:nth-child(2){background:#eee5eb}.inline-flashcard:nth-child(3){background:#eadce6}.inline-flashcard:nth-child(4){background:#f4e6b8}.inline-flashcard.is-flipped{background:#eee5eb}
.inline-card-top{min-height:19px;margin-bottom:7px}.inline-card-top .eyebrow{font-size:11px;color:#6f6170}
.inline-card-art{position:absolute;right:15px;top:12px;display:block;width:62px;height:68px;pointer-events:none}.inline-card-art>span,.inline-card-art svg{width:100%;height:100%;display:block}
.inline-flashcard h2{font-size:clamp(25px,2.1vw,35px);line-height:1.1;letter-spacing:-.035em;margin:0 0 13px;padding-right:66px}
.inline-card-story{display:grid;perspective:900px;flex:1;font-size:clamp(17px,1.4vw,23px);line-height:1.5}
.inline-face{grid-area:1/1;backface-visibility:hidden;transition:transform .32s ease,opacity .22s ease;transform-origin:center}
.inline-face[aria-hidden=true]{visibility:hidden;pointer-events:none;opacity:0}
.inline-lesson-face{transform:rotateY(180deg)}.is-flipped .inline-story-face{transform:rotateY(-180deg)}.is-flipped .inline-lesson-face{transform:rotateY(0)}
.inline-lesson-label{font-size:11px;letter-spacing:.12em;font-weight:700;color:#6f6170;margin-bottom:6px}
.inline-flip{align-self:stretch;text-align:left;border:0;border-top:1px solid #8a758d77;background:transparent;color:#432a46;font-size:16px;font-weight:700;min-height:44px;margin-top:14px;padding:11px 0 0;cursor:pointer}
.inline-section-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-shrink:0;border-top:1px solid var(--line);padding-top:9px;margin-top:15px}
.inline-section-controls>div{display:flex;align-items:center;gap:20px}.inline-section-controls .button,.inline-section-controls .text-button{font-size:16px;min-height:44px}.inline-section-controls .button{padding:10px 18px}
.section-picker{display:block;min-width:0}.section-picker select{font:16px/1.3 var(--sans);color:var(--forest);background:#fffdfa;border:1px solid #c9bacb;border-radius:4px;min-height:44px;padding:9px 32px 9px 12px;max-width:100%;cursor:pointer}
.section-picker select:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
@media(min-width:901px) and (max-height:780px){.section-gallery-scroll{padding:14px 4%}.inline-collection .section-gallery-heading{margin-bottom:12px}.inline-collection .section-gallery-heading h1{font-size:33px}.inline-flashcard{padding:14px 18px}.inline-flashcard h2{font-size:26px;margin-bottom:10px}.inline-card-story{font-size:18px;line-height:1.45}.inline-flip{margin-top:10px;font-size:15px}.inline-section-controls{margin-top:11px}}
@media(max-width:900px){.inline-flashcard{padding:14px 16px}.inline-flashcard h2{font-size:25px;padding-right:45px}.inline-card-art{width:44px;height:53px;right:11px;top:9px}.inline-card-story{font-size:17px;line-height:1.45}.inline-card-grid{gap:13px}.inline-flip{font-size:15px}.inline-collection .section-gallery-heading>p:last-child{font-size:15px;max-width:23ch}}
@media(max-width:560px){.inline-collection{height:auto;min-height:100%}.inline-collection .section-gallery-heading{display:block;margin-bottom:12px}.inline-collection .section-gallery-heading h1{font-size:30px;margin:5px 0 7px}.inline-collection .section-gallery-heading>p:last-child{max-width:none;font-size:14px}.inline-card-grid{gap:11px}.inline-flashcard{padding:12px}.inline-flashcard h2{font-size:23px;line-height:1.12;padding-right:0;margin-bottom:12px}.inline-card-top{margin-bottom:12px}.inline-card-art{width:31px;height:35px;right:8px;top:5px;opacity:.7}.inline-card-top .eyebrow{font-size:9px}.inline-card-story{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.inline-flip{font-size:13px;line-height:1.3;padding-top:9px;margin-top:12px;min-height:44px}.inline-lesson-label{font-size:9px}.inline-section-controls{gap:8px;flex-wrap:wrap;margin-top:12px}.inline-section-controls>div{gap:12px}.inline-section-controls .button,.inline-section-controls .text-button{font-size:13px}.inline-section-controls .button{padding:9px 12px}.section-picker{width:43vw}.section-picker select{font-size:13px;width:100%;padding-left:8px;padding-right:20px}.reader-top-links>a[href^="research"]{display:none}.reader-top-links .world-restart{font-size:0;width:40px;min-width:40px;padding:7px}.reader-top-links .world-restart:before{content:'↺';font-size:20px}.reader-top-links{gap:10px}}
@media(prefers-reduced-motion:reduce){.inline-face{transition:none;transform:none!important}.inline-flashcard{transition:none}}
.short-quest .flash-reader-bar{padding:7px 4%}

/* Section navigation stays above the stories; arrows sit at the two edges. */
.short-quest .flash-reader-bar{padding:6px 3%;min-height:56px;flex-wrap:nowrap}
.all-sections-top{font-size:16px!important;min-height:44px;white-space:nowrap}
.section-tabs{display:flex;align-items:stretch;gap:5px;padding:6px 3%;border-bottom:1px solid var(--line);background:#eee5eb;overflow-x:auto;flex-shrink:0;scrollbar-width:thin}
.section-tabs button,.section-tabs a{display:flex;align-items:center;justify-content:center;flex:1 0 auto;font:15px/1.25 var(--sans);color:var(--forest);padding:10px 11px;min-height:44px;border:1px solid transparent;border-radius:4px;background:transparent;text-decoration:none;cursor:pointer;white-space:nowrap}
.section-tabs [aria-current=page]{background:var(--forest);color:#fff7df;border-color:var(--forest);font-weight:700}
.section-tabs :is(button,a):hover{border-color:#8a758d}.section-tabs :is(button,a):focus-visible,.section-side-arrow:focus-visible{outline:3px solid var(--rust);outline-offset:2px}
.section-stage{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 52px;flex:1;min-height:0;padding-inline:8px}
.section-stage .section-gallery-scroll{padding:13px 12px;min-width:0;grid-column:2;grid-row:1}
.section-side-arrow{align-self:center;justify-self:center;display:grid;place-items:center;width:46px;height:64px;border:1px solid #8a758d;border-radius:24px;color:var(--forest);background:#eee5eb;font-size:32px;line-height:1;text-decoration:none;cursor:pointer;grid-row:1;transition:background .15s}
.section-side-arrow:hover{background:#c9bacb}.section-side-arrow:disabled{opacity:.3;cursor:default}.section-arrow-previous{grid-column:1}.section-arrow-next{grid-column:3}
@media(max-width:900px){.section-tabs{padding-inline:12px}.section-tabs button,.section-tabs a{font-size:14px}.section-stage{grid-template-columns:44px minmax(0,1fr) 44px;padding-inline:0}.section-side-arrow{width:44px;height:56px;font-size:28px}.section-stage .section-gallery-scroll{padding:13px 6px}}
@media(max-width:560px){.short-quest .flash-reader-bar{padding:5px 12px}.reader-top-links .about-author-link{display:none}.all-sections-top{font-size:15px!important}.section-tabs{padding:4px 9px;gap:3px}.section-tabs button,.section-tabs a{font-size:13px;padding:9px;min-height:44px}.section-stage{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:60px minmax(0,1fr)}.section-stage .section-gallery-scroll{grid-column:1/4;grid-row:1/3;padding:15px 12px}.section-stage .section-gallery-heading{padding-inline:39px;min-height:58px;margin-bottom:12px}.section-stage .section-gallery-heading .eyebrow{font-size:9px}.section-stage .section-gallery-heading h1{font-size:27px}.section-stage .section-gallery-heading>p:last-child{font-size:13px}.section-side-arrow{z-index:2;align-self:start;margin-top:18px;width:44px;height:46px;font-size:27px}.inline-collection{min-height:100%}}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.inline-card-grid.cards-3 .inline-flashcard:last-child{grid-column:1/-1}.inline-card-grid.cards-3 .inline-flashcard:last-child .inline-card-story{max-width:75ch}
/* Fit Money Lab cards to their copy instead of stretching to fill the screen. */
.inline-collection{max-width:1400px;height:auto;min-height:0}
.inline-card-grid{flex:none;grid-template-rows:auto;grid-auto-rows:auto;align-content:start;gap:14px}
.inline-flashcard{padding:16px 20px}.inline-flashcard h2{margin-bottom:10px}.inline-flip{margin-top:10px;padding-top:9px}
@media(max-width:900px){.inline-flashcard{padding:13px 15px}.inline-card-grid{gap:12px}}
@media(max-width:560px){.inline-flashcard{padding:11px}.inline-card-grid{gap:10px}.inline-flip{margin-top:9px}}
.lab-finish{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:flex-end;gap:18px;margin:0}
.lab-finish .button{font-size:18px;min-height:48px;white-space:nowrap}
.lab-finish .button:disabled{opacity:.75;cursor:default}
.lab-finish p{font-size:17px;line-height:1.4;max-width:460px}
@media(max-width:560px){.lab-finish{align-items:center;justify-content:flex-start;margin-top:10px}.lab-finish p{font-size:16px}}

@keyframes lab-coin-bubble{0%,8%{opacity:0;transform:translate(0,5px) scale(.45)}18%,65%{opacity:1}100%{opacity:0;transform:translate(var(--drift),var(--rise)) scale(.8)}}
@keyframes lab-coin-shimmer{0%{transform:rotate(0deg) scaleX(.75)}35%{transform:rotate(var(--spin)) scaleX(1)}62%{transform:rotate(0deg) scaleX(.4)}100%{transform:rotate(var(--spin)) scaleX(.9)}}


/* Illustration and reading text occupy separate layout areas. */
.inline-card-top{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:12px;align-items:center;min-height:100px;margin-bottom:8px}
.inline-card-heading{min-width:0}.inline-card-heading .eyebrow{margin:0 0 7px}
.inline-flashcard .inline-card-heading h2{padding:0;margin:0;font-size:clamp(24px,2vw,32px);line-height:1.15}
.inline-card-art{position:static;display:block;width:80px;height:100px;opacity:1;overflow:hidden;pointer-events:none;contain:paint}
.inline-card-art .lab-flask-playground,.inline-card-art .lab-opening-flask{overflow:hidden}
.inline-card-art .lab-rise-coin,.inline-card-art .lab-coin-face{animation-duration:1.8s}
.inline-card-art .lab-rise-bubble{animation-duration:1.5s}
@media(max-width:480px){.inline-card-grid{grid-template-columns:1fr!important}.inline-card-grid.cards-3 .inline-flashcard:last-child{grid-column:auto}.inline-card-story{font-size:18px;line-height:1.5}.inline-flip{font-size:16px}.inline-card-top .eyebrow{font-size:12px}.inline-card-grid{gap:14px}.inline-flashcard{padding:15px}.inline-flashcard .inline-card-heading h2{font-size:27px}}
@media(min-width:1800px){.flash-shelf{max-width:1800px}.flash-cover-meta,.flash-shelf-foot{font-size:17px}.flash-book-number{font-size:14px}.flash-cover-title{font-size:clamp(30px,2vw,44px)}}

/* Small labels remain legible beside the enlarged story text. */
.inline-card-top .eyebrow,.inline-lesson-label{font-size:14px}
@media(max-width:560px){.section-tabs button,.section-tabs a{font-size:14px}.section-stage .section-gallery-heading .eyebrow{font-size:14px}}

/* Small story cues, contained away from the card text. */
.lab-corner-emoji{display:grid;place-items:center;font-size:55px;width:100%;height:100%}.lab-three-steps{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;font-size:23px}.lab-three-steps>span{display:grid;justify-items:center;gap:3px}.lab-three-steps small{font:700 8px/1 system-ui;color:#5a3e5d}.lab-dollar-coins{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.lab-dollar-coins b{display:grid;place-items:center;width:34px;height:34px;border:3px solid #c28b24;border-radius:50%;background:#f4d16e;color:#846014;font:700 23px Georgia;margin-left:-8px}.lab-dollar-coins b:nth-child(2){transform:translateY(-13px)}.lab-pouring{display:block;width:100%;height:100%}.lab-pour-stream{animation:lab-pour-flow 1s linear infinite}@keyframes lab-pour-flow{to{stroke-dashoffset:-20}}@media(prefers-reduced-motion:reduce){.lab-pour-stream{animation:none}}

.artwork-rights-notice{margin:24px 0;padding:18px 22px;border-left:3px solid #b59649;background:#eee6cf}.artwork-rights-notice p{margin:0;font-size:17px;line-height:1.6}

.artwork-rights-notice .artwork-reuse-notice{margin-top:14px}

/* Keep the two entrance shortcuts together at narrow widths. */
.hub-quick-links{display:flex;align-items:center;gap:24px}@media(max-width:560px){.hub-quick-links{flex-direction:column;align-items:flex-end;gap:0}.hub-quick-links .about-author-link{min-height:30px}}

@media(max-width:560px){.quest-header-tools .back-research,.reader-top-links>a[href^="research"]{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}.quest-header-tools .back-research{font-size:12px;max-width:none}}

@media(max-width:560px){.quest-header-tools{flex-wrap:wrap;justify-content:flex-end;gap:2px 10px}.short-quest .quest-header{height:auto;min-height:84px}.quest-header-tools .back-research{display:inline-flex!important;min-height:34px;font-size:13px;max-width:none}}
