.story-app{-webkit-user-select:none;user-select:none;color:#243b45;background:#f6f1e4;min-height:100vh;padding:0 24px 42px;font-family:Muscle Inter,system-ui,sans-serif}.story-app>*{box-sizing:border-box;max-width:1180px;margin-left:auto;margin-right:auto}.story-app button{font:inherit;color:#243b45;cursor:pointer;touch-action:manipulation;background:#fffdf5;border:2px solid #bed0c4;border-radius:16px;min-height:52px;padding:12px 18px;font-weight:750}.story-app button:disabled{opacity:.5;cursor:default}.story-app button:focus-visible{outline-offset:3px;outline:4px solid #446abd}.story-app button.story-primary{color:#fff9e9;background:#315e51;border-color:#244e42;box-shadow:0 4px #193b33}.story-header{border-bottom:1px solid #d6d9c5;justify-content:space-between;align-items:center;gap:18px;min-height:88px;display:flex}.story-header>div{gap:8px;display:flex}.story-brand{color:#274838;font-size:20px;font-weight:850;line-height:1.2;text-decoration:none}.story-brand span{letter-spacing:.04em;font-size:13px;display:block}.story-preview-note{color:#6b5c48;padding:12px 0;font-size:13px}.story-day-trail{flex-wrap:wrap;align-items:center;gap:25px;margin:20px auto 30px;display:flex}.story-day-trail>div:first-child{gap:4px;min-width:155px;display:grid}.story-day-trail span{color:#617467;font-size:14px}.story-day-trail small{color:#607367;flex-basis:100%;font-size:12px}.story-trail-track{background:#dfe8d4;border-radius:20px;flex:1;min-width:140px;height:14px;margin-right:25px;position:relative}.story-trail-fill{background:#8fa96d;border-radius:20px;height:100%;transition:width .6s}.story-trail-track img{object-fit:contain;width:50px;height:58px;transition:left .7s;position:absolute;bottom:5px;transform:translate(-50%)}.story-trail-track>span{font-size:32px;position:absolute;bottom:-8px;right:-29px}.climber-hop{animation:.6s ease-in-out story-hop}.story-chapter-intro{grid-template-columns:.85fr 1.15fr;align-items:center;gap:35px;padding:20px 0;display:grid}.story-kicker{text-transform:uppercase;letter-spacing:.12em;color:#6c7258;font-size:13px;font-weight:750}.story-chapter-intro h1{color:#284437;margin:16px 0;font-family:Muscle Nunito,Arial,sans-serif;font-size:clamp(40px,5vw,62px);line-height:1.05}.story-chapter-intro p{color:#56695d;max-width:470px;font-size:20px;line-height:1.6}.story-cast-line{gap:18px;margin:25px 0;display:flex}.story-cast-line>div{text-align:center}.story-cast-line img{object-fit:contain;width:82px;height:95px}.story-cast-line strong{font-size:14px;display:block}.story-chapter-intro .story-listen{margin-left:10px}.story-chapter-intro small{color:#6e785f;margin-top:18px;display:block}.story-map{border:5px solid #fffbf0;border-radius:36px;min-height:410px;position:relative;overflow:hidden;box-shadow:0 18px 46px #51634320}.story-map>img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.story-map ol{margin:0;padding:0;list-style:none}.map-stop{max-width:160px;position:absolute}.map-stop button{background:#fffaf0ed;border:2px solid #727d5f;align-items:center;gap:9px;padding:10px 13px;font-size:14px;display:flex;box-shadow:0 5px #45593d55}.map-stop button>span{color:#65532d;background:#f7d581;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:20px;display:grid}.stop-0{top:74%;left:7%}.stop-1{top:49%;left:31%}.stop-2{top:27%;left:61%}.story-map button:disabled{opacity:1;color:#677066;filter:saturate(.55);background:#e8e2d9ed}.story-map button:disabled>span{background:#d4d7cd}.story-chapter-complete{background:#eaf0db;border:2px solid #cbd5b4;border-radius:26px;align-items:center;gap:25px;margin-top:25px;padding:25px;display:flex}.story-chapter-complete img{object-fit:contain;width:120px;height:150px}.story-chapter-complete p{line-height:1.7}.story-reader,.story-play-card,.story-finish{background:#fffdf6;border:2px solid #d4dac5;border-radius:30px;max-width:850px;margin:26px auto;padding:24px;box-shadow:0 8px 25px #4b5d3820}.story-book-heading{color:#63725b;justify-content:space-between;align-items:center;padding-bottom:18px;font-weight:750;display:flex}.story-panel{aspect-ratio:1.65;background:#e1ecd4;border:3px solid #334a3c;border-radius:22px;position:relative;overflow:hidden}.story-backdrop{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.story-actor{isolation:isolate;position:absolute}.story-actor:before{content:"";z-index:-1;background:radial-gradient(#31453455,#31453400 72%);border-radius:50%;width:64%;height:5%;position:absolute;bottom:2%;left:18%;transform:skew(-12deg)}.story-actor>img{object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 2px 1px #31453415);width:100%;height:100%}.story-main-character{width:32%;height:66%;bottom:26%;left:8%}.story-side-character{width:26%;height:57%;bottom:29%;right:8%}.story-side-character>img{transform:scaleX(-1)}.story-middle-character{width:26%;height:57%;bottom:30%;left:37%}.story-middle-character>img{transform:scaleX(-1)}.story-scene-math{background-color:#fffcf0f2;background-image:repeating-linear-gradient(0deg,#0000 0 16px,#dbd2b525 16px 19px),repeating-linear-gradient(90deg,#0000 0 16px,#dbd2b525 16px 19px);border:2px dashed #e2d8bc;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:10px;display:flex;position:absolute;bottom:4%;left:22%;right:14%;box-shadow:0 4px 9px #31453420}.story-scene-math:empty{display:none}.story-scene-math>span{border-radius:8px;width:42px;height:42px;padding:3px}.story-first-part{background:#dae9d8}.story-second-part{background:#f5e2a4}.story-whole-label{font-size:17px}.story-mystery-bag{color:#fff8e7;background:#8d617d;border:3px solid #684359;border-radius:15px 15px 22px 22px;padding:3px 16px;font-size:32px}.story-dialogue{background:#f3eedf;border:2px solid #ddd3b8;border-radius:20px;align-items:center;gap:15px;margin-top:20px;padding:15px 18px;display:flex}.story-dialogue>img{object-fit:contain;width:68px;height:88px}.story-dialogue>div{flex:1}.story-dialogue strong{color:#7d5978;font-size:14px}.story-narration{margin:7px 0;font-size:clamp(19px,2.5vw,25px);line-height:1.65}.spoken-word{background:#f4dc85;border-radius:5px;box-shadow:0 0 0 3px #f4dc85}.story-reader-controls{justify-content:space-between;gap:10px;margin-top:22px;display:flex}.story-play-heading{text-transform:uppercase;letter-spacing:.07em;color:#6f765e;justify-content:space-between;align-items:center;gap:16px;font-size:13px;display:flex}.story-play-heading>button{text-transform:none;letter-spacing:normal;min-height:44px;padding:8px 13px}.story-stars{color:#d4d8ca;white-space:nowrap;gap:6px;font-size:32px;line-height:1;display:flex}.story-stars .earned{color:#d2a52f;text-shadow:0 2px #8a712325}.story-puzzle-title{align-items:center;gap:20px;margin:18px 0;display:flex}.story-puzzle-title>img{object-fit:contain;width:100px;height:124px}.story-puzzle-title h1{margin:0 0 10px;font-size:clamp(21px,3vw,29px);line-height:1.4}.story-listen{background:#f7f1e1!important;min-height:44px!important;padding:8px 13px!important;font-size:14px!important}.story-puzzle-model{max-width:650px;margin:0 auto 25px}.story-team,.story-answer-well,.story-whole{text-align:center;background:#f0f5e6;border:2px solid #b4c6b6;border-radius:18px;min-width:0;padding:10px 12px}.story-team>span,.story-whole>span{color:#66765b;margin-bottom:4px;font-size:13px;display:block}.story-team>strong,.story-whole>strong,.story-answer-well>strong{font-size:32px;line-height:1.1;display:block}.story-answer-well{background:#fff2d4;border:3px dashed #aa8b48;min-width:110px;transition:border-color .2s,background .2s}.story-answer-well small{color:#7d704d;margin-top:7px;font-size:12px;display:block}.drag-ready{background:#f7e2a7;border-color:#477867}.story-pieces{grid-template-columns:repeat(5,minmax(0,32px));justify-content:center;gap:3px;margin-top:8px;display:grid}.story-pieces>span{width:30px;height:30px}.story-pieces.arrangement-1{direction:rtl;grid-template-columns:repeat(4,minmax(0,32px));gap:5px}.story-pieces.arrangement-2{grid-template-columns:repeat(2,minmax(0,32px));column-gap:16px}.story-pieces.arrangement-3{grid-template-columns:repeat(5,minmax(0,32px));gap:5px}.story-pieces.arrangement-3>span:nth-child(2n){transform:translateY(4px)rotate(8deg)}.story-empty{color:#7b795f;grid-column:1/-1;margin:8px;font-size:13px;width:auto!important;height:auto!important}.story-sum-path{grid-template-columns:1fr 32px 1fr;align-items:center;gap:12px;display:grid}.story-sum-path>div:last-child{grid-column:1/-1;justify-self:center;width:100%;max-width:250px}.story-sum-path>.story-operator:last-of-type{grid-column:1/-1;justify-self:center;font-size:30px;line-height:24px;transform:rotate(90deg)}.story-operator{text-align:center;font-size:30px}.story-number-bond>.story-whole{max-width:260px;margin:auto}.story-number-bond>svg{width:100%;height:65px;display:block}.story-bond-parts{grid-template-columns:1fr 1fr;gap:35px;display:grid}.story-balance>svg{width:100%;height:125px;overflow:visible}.story-balance-teams{grid-template-columns:1fr 1fr;gap:40px;display:grid}.story-left-team{text-align:center;gap:10px;display:grid}.story-piece-tray{flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin-top:20px;display:flex}.story-drag-piece{-webkit-user-select:none;user-select:none;align-items:center;gap:10px;display:flex;touch-action:none!important}.story-drag-piece img{object-fit:contain;width:38px;height:38px}.story-drag-piece>span{font-size:13px}.story-drag-ghost{z-index:100;pointer-events:none;width:48px;height:48px;position:fixed;transform:translate(-50%,-50%)}.story-answer-controls{max-width:420px;margin:20px auto}.story-answer-controls .adventure-answer{margin:auto}.story-answer-controls label{gap:7px;font-size:14px;display:grid}.story-answer-controls input{font:inherit;box-sizing:border-box;color:#263e34;background:#fff;border:2px solid #9bb5a7;border-radius:13px;width:100%;padding:12px;font-size:24px}.story-answer-controls .adventure-keypad button{background:#eff4e4}.story-answer-controls .adventure-builder{display:none}.story-read-answer{background:#edf2df;border-radius:17px;justify-content:center;align-items:center;gap:18px;padding:14px;font-size:15px;display:flex}.story-read-answer output{min-width:40px;font-size:30px;font-weight:850}.story-play-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 0 8px;display:flex}.story-friendly-hint,.story-feedback{background:#f6edda;border:2px solid #e0d3b1;border-radius:22px;align-items:flex-start;gap:20px;padding:24px 18px;display:flex;position:relative}.story-friendly-hint>img,.story-feedback>img{object-fit:contain;width:90px;height:115px}.story-friendly-hint>div,.story-feedback>div{flex:1;min-width:0}.story-nice{background:#edf3df;border-color:#c5d5b1}.story-feedback h2{margin:5px 0;font-size:27px}.story-feedback button{margin:10px 8px 0 0}.story-worked-walk{background:#fffdf5;border:2px solid #d1d7c0;border-radius:18px;margin:15px 0;padding:18px}.story-worked-walk>div:first-child{color:#6e775f;align-items:center;gap:12px;font-size:13px;display:flex}.story-worked-walk img{object-fit:contain;width:44px;height:52px}.story-method-buttons{justify-content:space-between;gap:7px;margin-top:15px;display:flex}.story-remember{color:#60725e;font-size:14px}.story-finish{text-align:center;padding:30px;position:relative}.story-finish>img{object-fit:contain;width:180px;height:190px}.story-finish h1{font-size:30px}.story-finish .story-stars{justify-content:center;font-size:52px}.story-finish p{max-width:480px;margin:20px auto;line-height:1.8}.story-finish-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.story-footer{border-top:1px solid #d6d9c5;justify-content:space-between;align-items:center;gap:25px;margin-top:32px;padding-top:20px;display:flex}.story-footer span{color:#6e795f;font-size:12px}.story-footer>button{min-height:44px;font-size:13px}.story-help,.story-settings,.story-waiting,.story-save-error{background:#fffaf0;border:2px solid #d0d5be;border-radius:22px;margin:20px auto;padding:22px;line-height:1.7}.story-help>button{margin:5px}.story-save-error{border-color:#b8c5ae}.story-loading{text-align:center;padding:40px 0}.story-loading img{object-fit:contain;height:180px}.story-audio-help{color:#6e765c;font-size:13px;line-height:1.6}.story-launch{align-items:center;gap:24px;display:flex}.story-launch>img{object-fit:contain;height:115px}.story-launch p{line-height:1.6}@keyframes story-hop{0%,to{translate:0}50%{translate:0 -16px}}@media (width<=900px){.story-chapter-intro{grid-template-columns:1fr;padding-top:0}.story-map{order:-1;min-height:460px}.story-chapter-intro h1{font-size:44px}.story-chapter-intro .story-cast-line{position:absolute;left:-10000px}.story-chapter-intro p{font-size:18px}.story-map{min-height:380px}.map-stop{max-width:150px}.story-footer{align-items:flex-start}}@media (width<=540px){.story-app{padding:0 12px 30px}.story-header{gap:8px;min-height:72px}.story-header button{min-width:44px;min-height:44px;padding:9px 11px}.story-header>button span{display:none}.story-brand{font-size:17px}.story-brand span{font-size:11px}.story-day-trail{gap:16px;margin:17px auto 22px}.story-day-trail strong{font-size:14px}.story-day-trail>div:first-child{min-width:140px}.story-trail-track img{width:38px;height:45px}.story-map{border-radius:25px;min-height:300px}.map-stop{max-width:124px}.map-stop button{gap:5px;min-height:65px;padding:8px;font-size:12px}.map-stop button>span{width:24px;height:24px;font-size:15px}.stop-0{top:74%;left:3%}.stop-1{top:47%;left:27%}.stop-2{top:20%;left:60%}.story-chapter-intro h1{font-size:37px}.story-chapter-intro .story-listen{margin:12px 0}.story-reader,.story-play-card,.story-finish{border-radius:23px;padding:14px}.story-book-heading{font-size:13px}.story-panel{aspect-ratio:1.08}.story-actor{bottom:34%}.story-main-character{width:37%;height:60%;left:6%}.story-side-character{width:31%;height:57%;right:5%}.story-scene-math{gap:4px;padding:7px;left:8%;right:8%}.story-scene-math>span{width:27px;height:27px}.scene-bond .story-actor{bottom:43%}.scene-bond .story-main-character{height:54%}.scene-bond .story-side-character{height:53%}.story-dialogue{gap:10px;padding:12px}.story-dialogue>img{width:44px;height:58px}.story-narration{font-size:19px;line-height:1.6}.story-reader-controls{gap:7px}.story-reader-controls button{padding:10px 11px;font-size:13px}.story-puzzle-title{gap:12px}.story-puzzle-title>img{width:66px;height:90px}.story-puzzle-title h1{font-size:21px}.story-play-heading{letter-spacing:.02em;gap:8px;font-size:11px}.story-stars{font-size:27px}.story-pieces{grid-template-columns:repeat(4,minmax(0,26px))}.story-pieces>span{width:25px;height:25px}.story-pieces.arrangement-1{grid-template-columns:repeat(3,minmax(0,26px));gap:4px}.story-pieces.arrangement-2{grid-template-columns:repeat(2,minmax(0,26px));column-gap:10px}.story-pieces.arrangement-3{grid-template-columns:repeat(4,minmax(0,26px));gap:4px}.story-sum-path{grid-template-columns:1fr 22px 1fr;gap:8px}.story-team,.story-answer-well,.story-whole{min-width:0;padding:9px 6px}.story-bond-parts,.story-balance-teams{gap:14px}.story-balance>svg{height:82px}.story-feedback,.story-friendly-hint{gap:10px;padding:16px 10px}.story-feedback>img,.story-friendly-hint>img{width:48px;height:65px}.story-feedback h2{font-size:23px}.story-feedback button{padding:10px 13px;font-size:14px}.story-worked-walk{padding:12px}.story-method-buttons{flex-wrap:wrap}.story-chapter-complete{gap:12px;padding:17px}.story-chapter-complete>img{width:75px;height:108px}.story-chapter-complete h2{font-size:23px}.story-footer{flex-direction:column;gap:13px}.story-play-actions{z-index:5;background:#fffdf5f5;border:1px solid #dedecb;border-radius:18px;padding:9px;position:static}.story-play-actions button{padding:9px 12px;font-size:13px}.story-finish h1{font-size:27px}}@media (prefers-reduced-motion:reduce){.story-app *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.story-symbol-path>svg{width:100%;height:auto}.story-symbol-path>.story-answer-well{max-width:250px;margin:20px auto}.story-path-labels{color:#63725b;justify-content:space-between;padding:0 15px;font-size:13px;display:flex}.story-scene-math .story-equal-team{flex-basis:100%;justify-content:center;align-items:center;gap:5px;font-size:15px;display:flex}.story-equal-team>span{border-radius:6px;width:28px;height:28px;padding:2px}.story-equal-team>strong{white-space:nowrap;margin-right:6px}@media (width<=540px){.scene-balance .story-scene-math{left:4%;right:4%}.story-scene-math .story-equal-team{gap:3px;font-size:12px}.story-equal-team>span{width:20px;height:20px;padding:1px}}
