/* Stærðfræðiheimurinn 3.1 — Pýramídinn vaknar. */
.j31-page-top{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 27px}.j31-page-top h1{font-size:34px;margin:0 0 8px}.j31-page-top p{color:#667a83;font-size:14px;margin:0}.j31-page-top .eyebrow{margin-bottom:10px}.j31-page-top .actions{justify-content:flex-end}.j31-page-top .btn{font-size:11px}.j31-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;min-height:555px;background:#122237;border:1px solid #334957;box-shadow:0 18px 50px #12293820;color:#fdf5e1}.j31-panorama-art{position:absolute;inset:0;z-index:-2}.j31-panorama-art>svg{width:100%;height:100%;display:block}.j31-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1b30ed 0%,#102237c9 22%,#13283d27 52%,transparent 77%),linear-gradient(0deg,#0c1d2c95,transparent 25%)}.j31-hero-copy{padding:48px 44px 100px;max-width:47%;position:relative}.j31-chapter-mark{font-size:9px;font-weight:650;letter-spacing:1.8px;line-height:1.9;color:#d7c097;display:block}.j31-hero h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#fff3d8;font-size:57px;line-height:1.03;letter-spacing:-2px;margin:20px 0}.j31-hero h2 em{color:#eac17a}.j31-hero-copy p{color:#d9dee0;font-size:14px;line-height:1.85;max-width:300px;margin:0 0 26px}.j31-hero-button{min-height:48px;padding:13px 19px;box-shadow:0 4px 19px #0003;font-size:12px;white-space:normal;text-align:center}.j31-quiet-button{padding:9px 0;min-height:40px;color:#e0d3b9;font-size:11px;text-align:left;text-decoration:underline;text-underline-offset:5px}.j31-scene-tools{position:absolute;left:32px;bottom:22px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;z-index:2}.j31-theme-buttons{display:flex;gap:3px;background:#122333b8;backdrop-filter:blur(8px);padding:4px;border:1px solid #cbaf7855;border-radius:30px}.j31-scene-tools button{font:inherit;min-height:38px;padding:7px 11px;font-size:10px;color:#e4d6b8;border-radius:25px}.j31-scene-tools>button{border:1px solid #ceb98455;background:#122333c7}.j31-theme-buttons button[aria-pressed=true]{color:#fff2d5;background:#d3ac5b30}.j31-expedition-pass{position:absolute;bottom:24px;right:24px;min-width:178px;width:22%;max-width:235px;padding:16px 20px;background:#132637dc;backdrop-filter:blur(10px);border:1px solid #c6b3806b;border-radius:14px;color:#f6e5bb;box-shadow:0 6px 25px #09172140}.j31-expedition-pass>span{display:block;font-size:8px;letter-spacing:1.8px;margin-bottom:7px}.j31-expedition-pass strong{display:block;font-weight:400;font-size:31px;line-height:1.3;color:#fee4ae}.j31-expedition-pass strong small{font-size:12px;color:#d9dacd}.j31-expedition-pass .progress-track{height:5px;background:#a7b2a92e;margin:9px 0}.j31-expedition-pass .progress-fill{background:#e3bb71}.j31-expedition-pass p{font-size:10px;margin:0;color:#d0d6cf}.j31-pyramid[data-theme=day] .j31-hero-shade{background:linear-gradient(90deg,#132c3bef 0%,#132c3b8c 28%,transparent 60%),linear-gradient(0deg,#18323e4f,transparent 30%)}.j31-welcome{display:grid;grid-template-columns:56px minmax(0,1fr) 180px;gap:20px;align-items:center;padding:25px 26px;background:#eef5f0;border:1px solid #cdded4;border-radius:17px;margin:22px 0}.j31-welcome-icon{color:#6b9586}.j31-welcome h2{font-size:21px;letter-spacing:-.55px;margin-bottom:7px}.j31-welcome p{font-size:12px;line-height:1.8;color:#516d69;margin:0;max-width:700px}.j31-welcome .eyebrow{font-size:8px;margin:0 0 8px;color:#4c7e74}.j31-gentle-toggle{display:grid;grid-template-columns:28px 1fr;gap:4px 8px;align-items:center;min-height:69px;padding:12px 13px;background:#fff;border:1px solid #c2d5c9;border-radius:12px;text-align:left;color:#326a5b}.j31-gentle-toggle>span{font-size:24px;grid-row:1/3}.j31-gentle-toggle strong{font-size:12px}.j31-gentle-toggle small{font-size:9px;color:#698376;line-height:1.5}.j31-gentle-toggle.active{background:#dbece0;border-color:#649779}.j31-wing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.j31-wing-grid .wing-card{background:#fff;border-color:#d9e0db;border-radius:14px;box-shadow:0 4px 12px #1a352607;padding:18px}.j31-wing-grid .wing-card.selected{border:1px solid #b59760;background:linear-gradient(135deg,#fff9ec,#f1f5ec);padding:18px;box-shadow:inset 0 0 0 1px #d1b88755,0 4px 15px #40301108}.j31-wing-grid .wing-icon{background:#f1f4ec;color:#8c793f}.j31-wing-grid .wing-copy strong{font-size:13px}.j31-wing-grid .progress-fill{background:#6f9280}.j31-cartography{background:#162e38;border:1px solid #637b72;border-radius:21px;position:relative;overflow:hidden;color:#d7e4da;box-shadow:inset 0 0 0 7px #819a8330}.j31-cartography>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 29px;padding:27px 0 19px;border-bottom:1px solid #c1b99140}.j31-cartography .eyebrow{color:#c4b080;font-size:8px;margin-bottom:8px}.j31-cartography h2{font-family:Georgia,serif;font-weight:400;font-size:29px;color:#f1dfb6;margin:7px 0}.j31-cartography header p{font-size:12px;color:#b8cbc4;margin:0;line-height:1.75}.j31-cartography-emblem{color:#cab886;flex-shrink:0}.j31-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:0;align-items:center;padding:16px 25px 0}.j31-map-stage{position:relative;aspect-ratio:1000/840;width:100%;min-height:460px;max-width:780px}.j31-map-drawing{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.j31-map-node{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#e4cf9e;min-width:65px;min-height:59px;padding:4px;z-index:1;isolation:isolate}.j31-map-node>span{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid #6b817c;background:linear-gradient(145deg,#28424b,#1b303a);font:500 17px Georgia,serif;box-shadow:0 4px 0 #0d212c,0 0 0 4px #172f39;transition:box-shadow .2s,border-color .2s}.j31-map-node small{font-size:9px;line-height:1.4;color:#a4bab1;white-space:nowrap;text-shadow:0 2px 4px #13242a;background:#172e3899;padding:0 3px}.j31-map-node.available>span{background:linear-gradient(145deg,#c2a365,#917a4a);color:#1e3232;border-color:#edcf8e;box-shadow:0 4px 0 #635d41,0 0 0 4px #203c3f,0 0 28px #ddbc5c25}.j31-map-node.available small{color:#f1d9a0}.j31-map-node.complete>span{background:linear-gradient(145deg,#497966,#2e5a4c);border-color:#8ec4a2;color:#dff3d7}.j31-map-node.selected>span{box-shadow:0 4px 0 #81794e,0 0 0 4px #e5c98857,0 0 33px #d6b3723c;border:2px solid #ffe4a1}.j31-map-node.final>span{border-radius:50%;width:44px;height:44px}.j31-map-node.locked{opacity:.92}.j31-map-node.locked>span{color:#97b1ab}.j31-map-node:hover>span{border-color:#e2cb93;box-shadow:0 3px 0 #7b7348,0 0 0 4px #9b9a7240}.j31-map-node:focus-visible{outline:2px solid #f1d59b;outline-offset:3px;border-radius:10px}.j31-map-route{position:absolute;top:62%;transform:translateX(-50%);color:#b9cdbb;font-size:9px;letter-spacing:.35px;background:#163039;padding:2px 5px;white-space:nowrap}.j31-map-route.left{left:22%}.j31-map-route.center{left:50%}.j31-map-route.right{left:78%}.j31-map-start{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:1.5px;color:#9cae9e;white-space:nowrap}.j31-room-dock{position:relative;background:linear-gradient(145deg,#234049,#1c323b);border:1px solid #a7a0745c;border-radius:17px;padding:25px 21px;text-align:center;margin:13px 0 20px;color:#f1e5c5;box-shadow:0 8px 25px #0b202333}.j31-dock-medal{display:flex;justify-content:center;margin:15px 0;color:#ceae6d}.j31-room-dock h3{font:25px/1.25 Georgia,serif;color:#f2dfb5;letter-spacing:-.5px;margin:13px 0}.j31-level-pill{display:inline-block;border:1px solid #7b9d854c;border-radius:20px;font-size:9px;color:#c4dbc7;padding:5px 9px;background:#5b8a7830}.j31-room-dock p{font-size:12px;line-height:1.8;color:#c6d6d0;margin:15px 0}.j31-room-dock .j31-lock-note{color:#ebd4a0;font-size:12px}.j31-three-locks{display:flex;gap:8px;justify-content:center;margin:19px 0}.j31-three-locks>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #91a2915c;border-radius:8px;color:#7e9a92;font-size:19px;background:#182c32}.j31-three-locks>span.lit{color:#eeda94;border-color:#b8a771;background:#456250}.j31-room-dock .j31-main-btn{width:100%;background:#e9c887;color:#203e41;font-size:12px;min-height:46px}.j31-room-dock>small{display:block;font-size:10px;color:#abc1b7;line-height:1.8;margin-top:16px}.j31-map-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:5px 31px 24px;border-top:1px solid #819b8433;padding-top:18px;color:#b9c9b8;font-size:10px}.j31-room-list{margin:0 30px 28px;border-color:#819b844a;padding:7px 0;color:#d3d9c0}.j31-room-list summary{font-size:12px;padding:10px 0}.j31-room-list>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:15px}.j31-room-list button{display:grid;grid-template-columns:24px 1fr;gap:5px 9px;text-align:left;align-items:center;background:#314b4e;padding:13px;border-radius:9px;min-height:68px}.j31-room-list button>span{font-size:15px;color:#e9d39b}.j31-room-list strong{font-size:11px;color:#e5dec3}.j31-room-list small{grid-column:2;font-size:10px;color:#b9c9bc;line-height:1.6}.j31-treasury{padding:31px;background:#fffcf4;border:1px solid #e3d8be;border-radius:19px}.j31-treasury>div:first-child{max-width:650px}.j31-treasury h2{font-size:25px}.j31-treasury p{color:#6c756e;font-size:12px;line-height:1.8}.j31-relics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-top:27px}.j31-relic{text-align:center;min-width:0}.j31-relic>div{display:flex;justify-content:center;color:#9d9c8969;margin:0 0 11px}.j31-relic strong{display:block;color:#717b6c;font-size:10px;line-height:1.5}.j31-relic small{display:block;font-size:9px;color:#8a9588;margin-top:5px}.j31-relic.earned>div{color:#a78641;filter:drop-shadow(0 3px 9px #bba05a55)}.j31-relic.earned strong{color:#615933}.j31-study-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #d1e3dc;border-radius:16px;background:#edf6f2;padding:22px 25px;margin-top:22px}.j31-study-card h2{font-size:20px;margin:5px 0 8px}.j31-study-card p{font-size:12px;color:#547169;margin:0;line-height:1.75}.j31-study-card .eyebrow{font-size:8px;margin:0}.j31-study-icon{display:grid;place-items:center;color:#417c70;font-size:28px;width:44px;height:50px;background:#dcece4;border-radius:13px}.j31-study-card .btn{font-size:11px}.j31-study-card .actions{max-width:225px}.j31-daily-strip{display:flex;align-items:center;gap:18px;background:#f1f7eb;border-left:3px solid #88a667;padding:13px 17px;margin:0 0 20px;border-radius:7px;font-size:12px;color:#4b674d}.j31-daily-strip strong{white-space:nowrap}.j31-daily-strip span{line-height:1.7}.room-scene:has(.palace-corridor){border-color:#776a4a;border-radius:20px;background:#172630}.room-scene>.palace-corridor{max-height:345px;min-height:210px;width:100%}.room-scene:has(.palace-corridor) .room-locks{bottom:14px}.room-scene:has(.palace-corridor) .lock-token{background:#132b30e3;backdrop-filter:blur(6px);border-color:#a48f5b66;color:#cabb89;font-size:18px;padding:8px 15px;border-radius:9px}.room-scene:has(.palace-corridor) .lock-token.open{background:#2c5245;color:#e8d294;border-color:#bbae7588}.j31-room-brief{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:22px 24px;border:1px solid #d4dfd5;background:#f4f6ef;border-radius:15px;margin:-6px 0 22px}.j31-room-brief.starter{background:#eef7f0;border-color:#cee3d3}.j31-room-brief h2{font-size:20px;margin:6px 0 8px}.j31-room-brief p{font-size:13px;line-height:1.8;color:#567368;margin:0;max-width:630px}.j31-room-brief .eyebrow{margin:0;font-size:8px}.j31-room-brief .btn{font-size:11px;max-width:210px;flex-shrink:0}.j31-example{margin-bottom:22px;background:#fffcf3;border-color:#e4dabd}.j31-example ol{padding-left:23px;margin:16px 0}.j31-example li{padding:6px 0;font-size:14px;line-height:1.9}.j31-example p{font-size:12px;color:#6a755c}.j31-immersive .topbar,.j31-immersive .sidebar{display:none}.j31-immersive .app-shell{display:block}.j31-immersive #main{max-width:1450px;padding:28px 35px 50px}.j31-immersive .j31-page-top{position:sticky;top:0;z-index:18;background:var(--paper);padding:12px 0}.j31-panorama-modal{max-width:96vw!important;width:1450px!important;max-height:94vh!important;padding:20px!important}.j31-full-art{width:100%;border-radius:16px;overflow:hidden;max-height:72vh}.j31-full-art>svg{width:100%;height:auto;max-height:72vh;display:block;background:#132536}.j31-panorama-modal>p{font-size:13px;margin:12px 0 0}.sky-star{animation:j31star 5s ease-in-out infinite alternate}.palace-door.door-open .door-left{transform:translateX(-68px);opacity:.7}.palace-door.door-open .door-right{transform:translateX(68px);opacity:.7}.palace-door path{transition:transform .8s ease,opacity .8s ease}@keyframes j31star{from{opacity:.2}to{opacity:.85}}
@media(min-width:1650px){.j31-hero{min-height:600px}.j31-hero h2{font-size:70px}.j31-hero-copy{padding:50px 55px 90px}.j31-hero-copy p{max-width:330px;font-size:16px}.j31-map-layout{grid-template-columns:minmax(0,1fr) 300px}.j31-room-dock{padding:33px 28px}.j31-map-stage{min-height:520px}}
@media(max-width:1190px){.j31-hero-copy{max-width:50%;padding:35px 30px 100px}.j31-hero h2{font-size:51px}.j31-chapter-mark{font-size:8px}.j31-hero-copy p{font-size:13px}.j31-hero{min-height:540px}.j31-hero-copy .actions{gap:6px}.j31-expedition-pass{min-width:160px;right:20px;padding:13px 15px}.j31-scene-tools{left:24px;gap:6px}.j31-scene-tools button{font-size:9px;padding:6px 9px}.j31-welcome{grid-template-columns:minmax(0,1fr) 155px;padding:23px;gap:18px}.j31-welcome-icon{display:none}.j31-welcome h2{font-size:20px}.j31-study-card{grid-template-columns:minmax(0,1fr) auto;padding:22px;gap:16px}.j31-study-icon{display:none}.j31-map-layout{grid-template-columns:minmax(0,1fr) 212px;padding:16px 20px 0}.j31-room-dock{padding:20px 15px}.j31-room-dock h3{font-size:23px}.j31-map-stage{min-height:440px}.j31-map-node{min-width:55px}.j31-map-node small{font-size:8px}.j31-map-route{font-size:8px}.j31-wing-grid .wing-card{padding:15px;grid-template-columns:31px 1fr;gap:9px}.j31-wing-grid .wing-card.selected{padding:15px}.j31-wing-grid .wing-icon{width:31px;height:35px;font-size:22px}.j31-wing-grid .wing-copy strong{font-size:12px}.j31-wing-grid .wing-copy small{font-size:10px}.j31-relics{grid-template-columns:repeat(3,1fr);gap:24px}}
@media(max-width:930px){.j31-page-top{display:block}.j31-page-top>.actions{justify-content:flex-start;margin-top:16px}.j31-page-top h1{font-size:30px}.j31-hero h2{font-size:46px}.j31-hero-copy{max-width:59%;padding-left:26px}.j31-hero-copy p{max-width:230px}.j31-hero{min-height:565px}.j31-expedition-pass{bottom:69px;right:18px;min-width:135px;width:25%;padding:11px 13px}.j31-expedition-pass strong{font-size:26px}.j31-expedition-pass>span{font-size:7px}.j31-scene-tools{bottom:17px;left:20px}.j31-wing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.j31-map-layout{display:block;padding:16px 24px 0}.j31-map-stage{min-height:460px;max-width:550px;margin:auto;aspect-ratio:1/1.02}.j31-room-dock{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:7px 16px;align-items:center;text-align:left;padding:20px;margin:8px 0 25px}.j31-room-dock .eyebrow{grid-column:2/4;margin:0}.j31-dock-medal{grid-column:1;grid-row:1/5;margin:0}.j31-dock-medal svg{width:58px;height:58px}.j31-room-dock h3{grid-column:2;grid-row:2;margin:0;font-size:24px}.j31-level-pill{justify-self:start;grid-column:2}.j31-room-dock p{grid-column:2/4;margin:4px 0}.j31-room-dock .j31-main-btn{grid-column:2/4;width:auto;justify-self:start;padding:10px 20px}.j31-three-locks{grid-column:3;grid-row:2/4;gap:5px;margin:0}.j31-three-locks>span{width:25px;height:27px;font-size:16px}.j31-room-dock>small{grid-column:2/4;margin-top:2px}.j31-map-node small{font-size:10px}.j31-map-node>span{width:42px;height:42px;font-size:18px}.j31-map-route{font-size:10px}.j31-cartography>header{margin:0 26px}.j31-study-card{display:block}.j31-study-card>.actions{margin-top:16px;max-width:none}.j31-room-brief{align-items:flex-start;gap:16px;flex-direction:column}.j31-room-brief .btn{max-width:none}.j31-hero-button{font-size:11px}.j31-welcome{grid-template-columns:1fr}.j31-gentle-toggle{max-width:230px;min-height:58px}.j31-immersive #main{padding:18px}}
@media(max-width:650px){.j31-hero{min-height:660px}.j31-hero-copy{max-width:90%;padding:29px 26px 90px}.j31-hero h2{font-size:49px;line-height:1.02;letter-spacing:-1.6px;margin:18px 0 15px}.j31-hero h2 br:nth-of-type(1){display:block}.j31-hero-copy p{max-width:270px;font-size:13px;line-height:1.7;margin-bottom:15px}.j31-hero-copy .actions{max-width:280px;gap:4px}.j31-chapter-mark{max-width:300px;font-size:7px;letter-spacing:1.5px}.j31-hero-shade{background:linear-gradient(180deg,#0b1b30fa 0%,#15283bdd 30%,#142a3a22 52%,transparent 77%,#14253288)}.j31-pyramid[data-theme=day] .j31-hero-shade{background:linear-gradient(180deg,#173243fa 0%,#183443d6 30%,#173c4733 50%,transparent 80%)}.j31-panorama-art{top:225px;bottom:45px;left:-46%;right:-30%;z-index:-2}.j31-panorama-art>svg{width:100%;height:100%}.j31-expedition-pass{bottom:73px;right:17px;width:160px;min-width:0;padding:9px 13px}.j31-expedition-pass>span{font-size:7px;letter-spacing:1px;margin-bottom:2px}.j31-expedition-pass strong{font-size:24px}.j31-expedition-pass strong small{font-size:10px}.j31-expedition-pass p{font-size:8px}.j31-expedition-pass .progress-track{margin:6px 0}.j31-scene-tools{left:15px;bottom:16px;gap:6px}.j31-scene-tools button{font-size:9px;min-height:35px}.j31-scene-tools>button{padding:6px 9px}.j31-welcome{padding:22px;gap:17px}.j31-welcome h2{font-size:20px}.j31-welcome p{font-size:12px}.j31-cartography>header{margin:0 21px;padding-top:25px}.j31-cartography-emblem{display:none}.j31-cartography h2{font-size:27px}.j31-cartography header p{font-size:11px}.j31-map-layout{padding:18px 10px 0}.j31-map-stage{min-height:395px;aspect-ratio:1/1.19;max-width:450px}.j31-map-node{min-width:51px;min-height:58px}.j31-map-node>span{width:37px;height:37px;font-size:17px}.j31-map-node.final>span{width:40px;height:40px}.j31-map-node small{font-size:8px}.j31-map-route{font-size:8px}.j31-room-dock{grid-template-columns:43px minmax(0,1fr);gap:8px 11px;margin:13px 4px 20px;padding:18px 16px}.j31-room-dock .eyebrow{grid-column:2;font-size:7px;line-height:1.6}.j31-dock-medal{grid-row:1/4}.j31-dock-medal svg{width:42px;height:42px}.j31-room-dock h3{grid-column:2;font-size:22px}.j31-level-pill{font-size:9px;grid-column:2}.j31-room-dock p{grid-column:1/-1;font-size:12px;margin:5px 0}.j31-three-locks{grid-column:1/-1;grid-row:auto;justify-content:flex-start;margin:4px 0 6px}.j31-room-dock .j31-main-btn{grid-column:1/-1;width:100%;font-size:12px}.j31-room-dock>small{grid-column:1/-1;font-size:10px}.j31-map-legend{margin:0 22px 18px;gap:11px;font-size:9px}.j31-room-list{margin:0 22px 22px}.j31-room-list>div{grid-template-columns:1fr}.j31-room-list summary{font-size:11px}.j31-wing-grid .wing-card{padding:13px}.j31-wing-grid .wing-card.selected{padding:13px}.j31-wing-grid .wing-copy strong{font-size:11px}.j31-wing-grid .wing-copy small{font-size:9px}.j31-wing-grid{gap:9px}.j31-treasury{padding:24px}.j31-treasury h2{font-size:23px}.j31-relics{gap:23px 14px}.j31-relic strong{font-size:9px}.j31-relic small{font-size:8px}.j31-relic svg{width:66px;height:66px}.j31-room-brief{padding:20px}.j31-room-brief h2{font-size:19px}.j31-room-brief p{font-size:12px}.j31-daily-strip{align-items:flex-start;flex-direction:column;gap:5px;font-size:12px}.room-scene>.palace-corridor{min-height:190px;max-height:260px}.room-scene:has(.palace-corridor) .room-locks{gap:7px}.room-scene:has(.palace-corridor) .lock-token{padding:7px 9px;font-size:16px}.j31-immersive .j31-page-top{position:static}.j31-page-top>.actions{gap:15px}.j31-page-top .btn{font-size:10px;padding:10px 12px}.j31-page-top h1{font-size:29px}.j31-page-top p{font-size:13px}.j31-study-card{padding:21px}.j31-study-card h2{font-size:19px}}
@media(max-width:360px){.j31-hero-copy{padding:26px 21px}.j31-hero h2{font-size:42px}.j31-hero{min-height:650px}.j31-scene-tools{left:11px;gap:3px}.j31-scene-tools button{font-size:8px;padding:6px 8px}.j31-wing-grid .wing-card{grid-template-columns:1fr}.j31-wing-grid .wing-icon{display:none}.j31-map-route{font-size:7px}.j31-map-node small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.sky-star,.flame,.torch-glow{animation:none!important}.palace-door path{transition:none!important}}.reduced-motion .sky-star,.reduced-motion .flame,.reduced-motion .torch-glow{animation:none!important}.reduced-motion .palace-door path{transition:none!important}
@media print{.j31-hero,.j31-scene-tools{display:none}.j31-cartography{background:white;color:black}.j31-room-dock{background:white;color:black}}

/* Keep words separated when the cinematic title wraps naturally. */
@media(max-width:600px){.j31-hero-copy h2 br{display:block}}

.j31-map-node small{font-size:10px}@media(max-width:650px){.j31-map-node small{font-size:9px}.j31-map-route{font-size:9px}}
