@charset "UTF-8";
.story-shell{--story-gold:#987739;--story-soft:#f4efdf;width:100%;max-width:1060px;margin:auto;padding:24px 28px 38px;color:var(--ink,#292b31);overflow-wrap:break-word}
.story-shell [hidden]{display:none!important}
.story-heading{margin-bottom:21px}.story-eyebrow{font-size:9px;letter-spacing:1.1px;font-weight:700;color:var(--green,#3d7563);margin:0 0 10px;line-height:1.7}
.story-heading h2{font-size:clamp(28px,4vw,39px);font-weight:680;letter-spacing:-1.1px;line-height:1.15;margin:0 0 12px}
.story-heading>p:last-child{font-size:14px;line-height:1.8;color:var(--muted,#74767e);margin:0;max-width:710px}
.story-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.story-ages{display:flex;gap:7px}.story-ages button{min-width:84px;min-height:46px;font-size:13px;font-weight:600;padding:10px 15px}.story-ages button[aria-pressed=true]{background:var(--green-bg,#e8f2eb);color:var(--green,#3d7563);border-color:var(--green,#3d7563)}
.story-listen{min-height:44px;background:transparent;font-size:12px;color:var(--green,#3d7563);border-color:transparent;padding:10px}
.story-age-note{margin:8px 0 20px;color:var(--muted,#74767e);font-size:11px;line-height:1.7}
.story-status-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;margin-bottom:17px}.story-status-grid>section{padding:15px 16px;background:var(--paper,#fff);border:1px solid var(--line,#deddd7);border-radius:11px;min-width:0}.story-status-grid h3{font-size:12px;color:var(--green,#3d7563);margin:0 0 8px;font-weight:700}.story-status-grid p{font-size:12px;line-height:1.8;color:var(--muted,#74767e);margin:0}.story-status-grid .story-objective{background:var(--green-bg,#e8f2eb);border-color:var(--green-bg,#e8f2eb)}.story-objective p{color:var(--ink,#292b31)}
.story-status-grid ul{list-style:none;display:flex;gap:5px;flex-wrap:wrap;margin:0;padding:0}.story-status-grid li{font-size:11px;line-height:1.6;padding:4px 7px;border-radius:6px;background:var(--peer,#f8f5f2);color:var(--ink,#292b31);max-width:100%}
.story-path-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.story-path-tools>button{min-height:44px;font-size:12px;padding:10px 13px}.story-path-tools>span{font-size:11px;color:var(--muted,#74767e);line-height:1.6}.story-path-tools button[aria-expanded=true]{color:var(--green,#3d7563);border-color:var(--green,#3d7563);background:var(--green-bg,#e8f2eb)}
.story-node{border:1px solid var(--line,#deddd7);border-radius:17px;background:var(--paper,#fff);overflow:hidden;scroll-margin-top:15px}.story-node>header{padding:24px 26px 4px}.story-node-heading{font-size:clamp(24px,3vw,31px);font-weight:650;letter-spacing:-.5px;line-height:1.35;margin:0 0 12px;outline:none}.story-node-heading:focus-visible{outline:2px solid var(--green,#3d7563);outline-offset:5px;border-radius:3px}
.story-copy{padding:0 26px 17px;max-width:850px}.story-copy p{font-size:16px;line-height:1.9;margin:11px 0;color:var(--ink,#292b31)}
.story-consequence{margin:8px 26px 17px;padding:12px 15px;border-left:3px solid var(--story-gold);background:var(--story-soft);border-radius:0 8px 8px 0}.story-consequence strong{font-size:11px;color:var(--story-gold);font-weight:700}.story-consequence p{font-size:13px;line-height:1.8;margin:4px 0 0}
.story-task-heading{margin:0 26px 19px;padding:16px 18px;background:var(--green-bg,#e8f2eb);border-radius:11px;outline:none}.story-task-heading>span{display:block;font-size:10px;color:var(--green,#3d7563);letter-spacing:.5px;text-transform:uppercase;font-weight:700;margin-bottom:8px}.story-task-heading h3{font-size:21px;font-weight:650;line-height:1.55;margin:0 0 8px}.story-task-heading p{font-size:12px;line-height:1.7;color:var(--muted,#74767e);margin:0}.story-task-heading:focus-visible{box-shadow:inset 0 0 0 2px var(--green,#3d7563)}
.story-scene{width:100%;min-width:0}.story-scene>svg{display:block;width:100%;height:auto}.story-scene button{min-height:44px;touch-action:manipulation}.story-scene [role=button]{cursor:pointer;touch-action:manipulation}.story-scene [role=button]:focus-visible{outline:3px solid var(--accent,#8d2948);outline-offset:2px}
.story-help{margin:0 26px 18px}.story-help>button{min-height:44px;padding:10px 13px;font-size:12px;color:var(--green,#3d7563);background:var(--green-bg,#e8f2eb);border-color:var(--green-bg,#e8f2eb)}.story-hint{margin-top:10px;padding:13px 15px;background:var(--peer,#f8f5f2);border:1px solid var(--line,#deddd7);border-radius:9px;outline:none}.story-hint p{font-size:13px;line-height:1.9;margin:0 0 7px}.story-hint button{min-height:44px;font-size:11px;padding:9px 11px;background:transparent;border-color:transparent;color:var(--green,#3d7563)}
.story-choices{display:grid;gap:11px;margin:21px 26px 26px}.story-choices>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:54px;padding:15px 17px;text-align:left;font-size:15px;line-height:1.6;border-radius:11px;font-weight:550;background:var(--peer,#f8f5f2)}.story-choices>button:after{content:'→';align-self:flex-end;color:var(--green,#3d7563);font-size:20px;line-height:1;margin-top:-23px}.story-choices>button>span{padding-right:27px}.story-choices small{font-weight:400;color:var(--muted,#74767e);font-size:12px;line-height:1.7;max-width:92%}.story-choices>button:disabled:after{content:'◇';color:var(--muted,#74767e)}
.story-finish{padding:22px 26px 27px;background:var(--green-bg,#e8f2eb)}.story-finish p{font-size:14px;line-height:1.9;color:var(--green,#3d7563);margin:0 0 17px}.story-primary{min-height:48px;background:var(--green,#3d7563);color:var(--paper,#fff);border-color:var(--green,#3d7563);font-size:13px;font-weight:600;padding:12px 17px}.story-primary:hover{background:var(--green,#3d7563);border-color:var(--green,#3d7563);color:var(--paper,#fff);filter:brightness(1.08)}
.story-path{padding:20px 22px;border:1px solid var(--line,#deddd7);border-radius:13px;background:var(--paper,#fff);margin-bottom:19px}.story-path-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.story-path-heading h3{font-size:20px;line-height:1.4;margin:0;outline:none}.story-path-heading button{min-height:44px;font-size:12px}.story-path>p{font-size:12px;color:var(--muted,#74767e);line-height:1.8;margin:10px 0 17px}.story-path ol{list-style:none;margin:0;padding:0;display:grid;gap:17px}.story-path li{display:flex;gap:12px;align-items:flex-start;padding-top:15px;border-top:1px solid var(--line,#deddd7)}.story-path-number{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--green-bg,#e8f2eb);color:var(--green,#3d7563);font-size:11px;font-weight:700}.story-path h4{font-size:14px;line-height:1.5;margin:2px 0 6px}.story-path li p{font-size:12px;line-height:1.8;margin:5px 0}.story-path-consequence{color:var(--green,#3d7563)}
.story-reset-confirm{padding:19px 21px;border:2px solid var(--story-gold);background:var(--story-soft);border-radius:12px;margin-bottom:19px}.story-reset-confirm h3{font-size:20px;margin:0 0 9px;line-height:1.5}.story-reset-confirm p{font-size:13px;line-height:1.9;margin:0 0 15px}.story-reset-confirm>div{display:flex;gap:9px;flex-wrap:wrap}.story-reset-confirm button{min-height:46px;font-size:12px;line-height:1.6}
.story-audio-status,.story-notice,.story-paused{padding:12px 15px;border-radius:9px;background:var(--peer,#f8f5f2);border:1px solid var(--line,#deddd7);color:var(--muted,#74767e);font-size:12px;line-height:1.9;margin:0 0 17px}.story-notice{color:var(--green,#3d7563)}.story-paused{padding:28px;text-align:center;font-size:15px}.story-footer{margin-top:20px;text-align:center}.story-footer p{font-size:11px;color:var(--muted,#74767e);line-height:1.8;margin:5px auto;max-width:740px}.story-footer .story-storage{color:var(--error,#ba3b4d)}.story-restart{min-height:44px;margin:6px auto 0;padding:10px;font-size:11px;border-color:transparent;background:transparent;color:var(--muted,#74767e)}
:root[data-theme=dark] .story-shell{--story-gold:#e4c384;--story-soft:#3a362c}
@media(max-width:720px){.story-shell{padding:18px 12px 29px}.story-heading h2{font-size:29px;letter-spacing:-.8px}.story-eyebrow{font-size:8px;letter-spacing:.7px}.story-heading>p:last-child{font-size:13px;line-height:1.85}.story-toolbar{gap:7px}.story-ages{gap:6px}.story-ages button{min-width:73px;min-height:44px;padding:10px 11px;font-size:12px}.story-listen{font-size:11px;padding:10px 7px}.story-age-note{font-size:10px;margin-bottom:16px}.story-status-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}.story-status-grid>.story-objective{grid-column:1/-1}.story-status-grid>section{padding:12px 13px;border-radius:9px}.story-status-grid h3{font-size:11px;margin-bottom:6px}.story-status-grid p{font-size:11px;line-height:1.8}.story-status-grid li{font-size:10px;padding:4px 6px}.story-path-tools{gap:8px;margin-bottom:14px}.story-path-tools>button{font-size:11px;padding:10px;min-height:44px}.story-path-tools>span{font-size:10px}.story-node{border-radius:13px}.story-node>header{padding:20px 17px 3px}.story-node-heading{font-size:25px;line-height:1.4}.story-copy{padding:0 17px 13px}.story-copy p{font-size:14px;line-height:1.95;margin:9px 0}.story-consequence{margin:7px 17px 15px;padding:11px 13px}.story-consequence strong{font-size:10px}.story-consequence p{font-size:12px;line-height:1.9}.story-task-heading{margin:0 14px 15px;padding:14px 15px}.story-task-heading>span{font-size:8px;line-height:1.8}.story-task-heading h3{font-size:18px;line-height:1.65}.story-task-heading p{font-size:11px;line-height:1.8}.story-choices{margin:17px 14px 21px;gap:9px}.story-choices>button{font-size:13px;min-height:54px;padding:14px 15px;line-height:1.75}.story-choices small{font-size:11px;line-height:1.8}.story-finish{padding:19px 17px 23px}.story-finish p{font-size:13px;line-height:1.9}.story-primary{font-size:12px;min-height:46px}.story-path{padding:17px 15px}.story-path-heading h3{font-size:18px}.story-path>p{font-size:11px}.story-path li{gap:10px}.story-path h4{font-size:13px}.story-path li p{font-size:11px;line-height:1.9}.story-reset-confirm{padding:16px}.story-reset-confirm h3{font-size:18px}.story-reset-confirm p{font-size:12px}.story-reset-confirm>div{display:grid;grid-template-columns:1fr}.story-audio-status,.story-notice{font-size:11px;padding:11px 13px}.story-footer p{font-size:10px}.story-restart{font-size:10px}}
@media(max-width:360px){.story-shell{padding-left:9px;padding-right:9px}.story-heading h2{font-size:26px}.story-toolbar{display:grid;grid-template-columns:1fr}.story-ages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.story-ages button{min-width:0}.story-listen{justify-self:end}.story-node>header{padding-left:14px;padding-right:14px}.story-copy{padding-left:14px;padding-right:14px}.story-node-heading{font-size:23px}.story-task-heading{margin-left:10px;margin-right:10px;padding:13px}.story-task-heading h3{font-size:17px}.story-copy p{font-size:13px}.story-path-tools>span{max-width:85px;text-align:right}.story-consequence{margin-left:13px;margin-right:13px}}
@media print{.story-shell{display:none}}
@media(max-width:720px){.story-help{margin:0 14px 16px}.story-help>button{font-size:11px;min-height:44px}.story-hint{padding:12px 13px}.story-hint p{font-size:12px;line-height:1.9}}
.story-choices>button{position:relative;padding-right:43px}.story-choices>button:after{position:absolute;right:16px;top:50%;transform:translateY(-50%);margin:0}.story-choices>button>span{padding-right:0}
.story-equipment{margin:0 0 15px;border:1px solid var(--line,#deddd7);border-radius:10px;background:var(--paper,#fff)}.story-equipment>summary{cursor:pointer;padding:12px 15px;min-height:47px;font-size:12px;line-height:1.7;font-weight:600;color:var(--green,#3d7563)}.story-equipment>summary>span{display:inline-block;margin-left:8px;font-size:10px;font-weight:400;color:var(--muted,#74767e);white-space:nowrap}.story-equipment .story-status-grid{margin:0;padding:12px;border-top:1px solid var(--line,#deddd7)}
@media(max-width:720px){.story-equipment{margin-bottom:12px}.story-equipment>summary{font-size:11px;padding:11px 13px}.story-equipment>summary>span{display:block;margin-left:14px;font-size:10px}.story-equipment .story-status-grid{padding:9px}}
.story-equipment:not([open]) .story-status-grid{display:none}
