@font-face{font-family:Fredoka;src:url("adventures/t19-a/shared/game-shell-1.3.8/assets/fonts/fredoka-600.woff2") format("woff2");font-weight:600;font-display:swap}@font-face{font-family:Fredoka;src:url("adventures/t19-a/shared/game-shell-1.3.8/assets/fonts/fredoka-400.woff2") format("woff2");font-weight:400;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f9f4e8;color:#174A7E;font-family:Fredoka,"Trebuchet MS",sans-serif}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #c9c9bc;background:#fffdf5;border-radius:12px;min-height:48px;padding:10px 17px;font-weight:600}button:hover{background:#fff1c9}button:focus-visible,a:focus-visible{outline:4px solid #154e96;outline-offset:4px}::selection{background:#f5d47b;color:#12335c}[hidden]{display:none!important}.topbar{display:flex;align-items:center;gap:20px;justify-content:space-between;min-height:78px;padding:12px 3%;background:#fffcf2}.brand{font-size:25px;font-weight:650;text-decoration:none;color:inherit}.topbar h1{font-size:28px;margin:0}.topbar nav{display:flex;gap:10px}.topbar nav button{font-size:16px}.parts{display:flex;justify-content:center;gap:0;background:#fffaf0;padding:0 3% 8px}.parts button{flex:1;max-width:300px;border:0;border-radius:0;background:transparent;padding:12px 8px;position:relative}.parts button[aria-current]{color:#0c3b70;background:#f2e7cd}.parts button[aria-current]:after{content:"";position:absolute;height:4px;background:#174a7e;bottom:0;left:12%;right:12%;border-radius:3px}.world{position:relative;width:100%;isolation:isolate}.world picture,.world-art{display:block;width:100%}.world-art{height:auto;aspect-ratio:3/2;object-fit:contain}.stop{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border-radius:44% 48% 40% 42%;background:#fff2cd;border:2px solid #b28d4c;box-shadow:0 5px 9px #523f2538;min-width:55px;min-height:51px;padding:5px;font-size:25px;font-weight:650}.stop[aria-current]{outline:4px solid #174a7e;outline-offset:3px;background:#fff7de}.stop.complete:after{content:"";position:absolute;right:-6px;top:-6px;width:13px;height:13px;background:#338258;border:2px solid white;border-radius:50%}.place{position:absolute;min-height:54px;background:#fff3d5;border-color:#c39450;box-shadow:0 4px 10px #4c382f32;font-size:19px}.place span{display:block;font-size:12px;font-weight:400}.library-place{left:6%;bottom:13%}.parents-place{right:3%;bottom:13%}.shelf{position:relative;margin:-35px 20px 0;padding:20px;background:#fffcf2;border-radius:20px;box-shadow:0 7px 22px #5c4a2420;display:grid;grid-template-columns:1.05fr 1fr;gap:24px}.selected-adventure{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:18px;align-items:center}.selected-adventure>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}.selection-number{font-size:13px;margin:0 0 4px}h2{font-size:25px;line-height:1.12;margin:0 0 8px}#skill{font-size:16px;line-height:1.35;margin:0 0 12px}.primary{background:#174A7E;color:#fff;border:0;min-width:180px}.primary:hover{background:#245a95}#checkpoint,#completion{font-size:13px;margin:7px 0 0}.materials h3{font-size:17px;margin:0 0 12px}.material-list{display:flex;gap:13px;overflow:auto;padding:0 2px 8px}.material{flex:0 0 104px;min-height:110px;border:0;background:transparent;padding:0;text-align:center;font-size:14px;font-weight:500;border-radius:4px}.material img{width:100%;height:94px;object-fit:contain;background:#f4eddb;border-radius:6px;display:block;margin-bottom:7px}.material:hover{background:transparent;color:#9a5318}.material small{display:block;font-size:11px;color:#5d655b}.material.placeholder{padding:12px;background:#f4eddb}footer{text-align:center;font-size:12px;padding:20px}dialog{color:inherit;background:#fffcf2;border:0;border-radius:16px;width:min(820px,calc(100% - 24px));max-height:90dvh;padding:24px;box-shadow:0 20px 65px #18354d50}dialog::backdrop{background:#152d4966}.dialog-heading{display:flex;gap:16px;justify-content:space-between;align-items:center}.dialog-heading h2{margin:0}dialog p{line-height:1.5}#start-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}#start-list section button{display:block;width:100%;text-align:left;margin:7px 0;font-size:15px}#player{position:fixed;inset:0;background:#fbf7ec;z-index:10;display:flex;flex-direction:column}.viewer-bar{display:flex;gap:14px;padding:8px 16px;align-items:center;background:#fffcf2;min-height:65px}.viewer-bar h2{font-size:18px;margin:0;flex:1}.viewer-bar a{color:inherit;min-height:48px;display:flex;align-items:center;font-size:14px}.viewer-content{flex:1;min-height:0;overflow:auto}#player iframe{border:0;width:100%;height:100%;display:block}#player.game-player .viewer-content{overflow:hidden}.audio-view{display:flex;flex-direction:column;align-items:center;gap:25px;padding:35px 18px}.audio-view img{max-width:420px;width:80%;max-height:60dvh;object-fit:contain;border-radius:12px}.audio-view audio{width:min(500px,100%)}.image-view{display:block;max-width:100%;max-height:none;margin:auto}.collection{padding:24px;max-width:1200px;margin:auto}.collection h2{font-size:30px}.collection-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:24px;margin-top:24px}.collection-list .material{width:100%;font-size:16px}.collection-list .material img{height:180px}.notice,#storage-notice,#load-error{padding:12px 24px;background:#fff1cc}.playing{overflow:hidden}@media(min-width:1000px){.world-art{max-height:calc(100dvh - 270px);min-height:470px;object-fit:cover;object-position:center 47%}.world{overflow:hidden}.shelf{margin-top:-25px}.topbar{min-height:70px}.parts{padding-bottom:5px}}@media(max-width:850px){.topbar{flex-wrap:wrap;gap:8px;padding:12px 18px}.brand{font-size:23px}.topbar h1{font-size:24px}.topbar nav{margin-left:auto}.topbar nav button{font-size:14px;padding:7px 12px}.parts button{font-size:14px;line-height:1.15}.shelf{grid-template-columns:1fr;margin:-15px 14px 0;padding:18px;gap:19px}.selected-adventure{grid-template-columns:34% 1fr;gap:16px}.materials h3{margin-bottom:10px}.material{flex-basis:112px}.material img{height:108px}h2{font-size:26px}.place{font-size:16px;padding:6px 12px}.stop{min-width:49px;min-height:48px;font-size:22px}}@media(max-width:520px){.topbar{padding:10px 12px}.brand{font-size:21px}.topbar h1{font-size:22px;order:3;width:100%;text-align:center}.topbar nav{gap:6px}.topbar nav button{font-size:13px;padding:6px 10px}.parts{padding:0 6px 6px}.parts button{font-size:12px;padding:8px 5px;min-height:53px}.world-art{aspect-ratio:2/3}.stop{left:var(--px);top:var(--py);font-size:21px}.library-place{left:5%;bottom:8%}.parents-place{right:3%;bottom:8%}.place{font-size:15px;padding:6px 10px}.shelf{margin:-12px 8px 0;padding:13px;border-radius:15px}.selected-adventure{grid-template-columns:1fr;gap:12px}.selected-adventure>img{display:none}.selected-adventure h2{font-size:23px}.selected-adventure #skill{font-size:15px}.primary{width:100%}.material{flex-basis:100px}.material img{height:100px}#start-list{grid-template-columns:1fr}.viewer-bar{gap:8px;padding:6px 9px}.viewer-bar button{padding:8px 11px}.viewer-bar h2{font-size:15px}.viewer-bar a{font-size:12px}.collection{padding:18px}.collection-list{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}}

.shelf>*,.selected-adventure>*,.materials{min-width:0}.selected-adventure{grid-template-columns:minmax(0,38%) minmax(0,1fr)}.world-scene{position:relative;width:100%;min-height:0}.world{overflow:auto;max-height:calc(100dvh - 340px);min-height:340px;scrollbar-color:#b88e48 #f0d991;scrollbar-width:thin}.world-art{max-height:none;min-height:0;object-fit:contain;aspect-ratio:3/2}.map-scroll-hint{font-size:12px;text-align:center;margin:0;padding:5px;background:#f4e6c4}.shelf{margin:0 16px;box-shadow:none;border-radius:0 0 18px 18px}.material-list{min-width:0}#adventure-title{overflow-wrap:break-word}.topbar h1{white-space:nowrap}@media(max-width:850px){.selected-adventure{grid-template-columns:minmax(0,34%) minmax(0,1fr)}.world{max-height:440px;min-height:300px}.shelf{margin:0 12px}.selected-adventure>img{max-height:145px;object-fit:cover}}@media(max-width:520px){.world{max-height:320px;min-height:260px}.world-art{aspect-ratio:2/3}.selected-adventure{grid-template-columns:76px minmax(0,1fr);gap:12px}.selected-adventure>img{display:block;height:88px;aspect-ratio:auto;object-fit:cover}.selected-adventure h2{font-size:20px}.selected-adventure #skill{font-size:13px;margin:0 0 8px}.selection-number{font-size:11px}.primary{min-width:0;min-height:48px;font-size:15px;padding:8px 10px}.shelf{padding:12px;margin:0 8px;gap:12px}.materials h3{font-size:15px}.material{flex-basis:92px}.material img{height:85px}.topbar h1{font-size:20px}.place{font-size:14px}.map-scroll-hint{padding:3px}.material small{font-size:10px}.stop{font-size:21px}.library-place{bottom:6%}.parents-place{bottom:6%}}@media(max-height:700px) and (max-width:520px){.world{max-height:250px;min-height:250px}.selected-adventure #skill{display:none}.selected-adventure>img{height:80px}.shelf{gap:9px}.material img{height:68px}.material{min-height:105px}.topbar{padding:6px 10px}.topbar h1{margin:0}.parts button{min-height:48px}}

@media(min-width:521px) and (max-width:850px){.material img{height:85px}.materials h3{margin-bottom:8px}.shelf{gap:15px}}

.map-tools{display:flex;gap:12px;align-items:center;justify-content:center;padding:5px 16px;background:#f4e6c4}.map-tools .map-scroll-hint{margin-right:auto;text-align:left;background:none;padding:0}.map-tools button{min-height:48px;background:#fffcf2;padding:7px 14px;font-size:14px}.selection-number{display:none}#completion{margin-top:8px}.pdf-reader{display:flex;flex-direction:column;height:100%;min-height:0;background:#e8e6df}.pdf-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:8px;background:#f8f5e9}.pdf-toolbar button{min-width:48px;min-height:48px;padding:8px 14px}.pdf-page-number{font-size:15px;min-width:95px;text-align:center}.pdf-status{padding:16px;text-align:center;margin:0}.pdf-desk{overflow:auto;flex:1;min-height:0;padding:12px;text-align:center;scrollbar-color:#a9a28a #e8e6df}.pdf-canvas{display:block;margin:0 auto;background:white;box-shadow:0 3px 12px #0002;max-width:none}.pdf-page-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.pdf-toolbar button:disabled{opacity:.45;cursor:default}@media(max-width:850px){.map-tools{padding:5px 12px;gap:8px}.map-tools .map-scroll-hint{font-size:11px;max-width:220px}.map-tools button{font-size:13px;padding:7px 10px}}@media(max-width:520px){.map-tools{padding:4px 8px;gap:8px}.map-tools .map-scroll-hint{font-size:10px;max-width:90px}.map-tools button{font-size:12px;padding:7px 9px}.pdf-toolbar{gap:5px;padding:5px}.pdf-toolbar button{padding:7px 9px}.pdf-page-number{font-size:13px;min-width:84px}.pdf-desk{padding:12px}.viewer-bar h2{overflow-wrap:anywhere}.pdf-toolbar button:last-child{font-size:13px}}@media(max-height:700px) and (max-width:520px){.world{max-height:175px;min-height:175px}.selected-adventure>img{height:66px}.selected-adventure h2{font-size:18px}.shelf{padding:8px 12px;gap:8px}.selected-adventure{grid-template-columns:66px minmax(0,1fr);gap:9px}#checkpoint{display:none}#completion{font-size:11px;margin-top:5px}.materials h3{font-size:14px;margin-bottom:6px}.material img{height:58px;margin-bottom:5px}.material{font-size:12px;flex-basis:82px;min-height:94px}.topbar h1{font-size:18px}.topbar{gap:4px}.parts button{font-size:11px}.map-tools button{min-height:48px}.map-tools{gap:6px}.map-tools .map-scroll-hint{max-width:70px}.brand{font-size:20px}}

@media(min-width:1000px){.world{max-height:clamp(180px,calc(100dvh - 420px),440px);min-height:180px}}

@media(min-width:521px) and (max-width:850px) and (max-height:1000px){.material img{height:65px}}@media(max-width:520px){.world{max-height:clamp(175px,calc(100dvh - 540px),300px);min-height:175px}}
