/* An open clothbound winter book. All ornament sits outside interactive content. */
.chapter-layout.storybook-spread{position:relative;isolation:isolate;gap:0;align-items:stretch;margin:38px 0 32px;padding:13px 13px 20px;border:1px solid #b79552;border-radius:7px 15px 15px 7px;background:repeating-linear-gradient(0deg,#c9ad7422 0 1px,transparent 1px 4px),linear-gradient(95deg,#24392e,#0d271f 48%,#192a20);box-shadow:0 20px 45px #0007,inset 0 0 0 5px #0d1e16,inset 0 0 0 7px #b7955266}
.storybook-spread:after{content:'';position:absolute;left:50%;top:13px;bottom:20px;width:45px;transform:translateX(-50%);z-index:2;background:linear-gradient(90deg,transparent,#3f29142b 35%,#422d2145 49%,#fff2c578 52%,#e9d7af19 70%,transparent);pointer-events:none}
.storybook-spread .story-page,.storybook-spread .task-card{position:relative;border:0;border-radius:0;box-shadow:0 2px #c1aa7d,0 4px #efe0ba,0 6px #a78f65,0 8px #e6d4aa;min-width:0;padding:clamp(26px,3.4vw,52px);color:#382c23;background:radial-gradient(ellipse at 10% 5%,#d3ac6d2e,transparent 38%),radial-gradient(ellipse at 90% 90%,#aa723527,transparent 50%),repeating-linear-gradient(0deg,#aa824808 0 1px,transparent 1px 4px),#f2e5c9}
.storybook-spread .story-page{border-radius:3px 35px 5px 3px;background-color:#f6e9cd;padding-right:clamp(28px,4vw,64px)}
.storybook-spread .task-card{border-radius:35px 3px 3px 5px;padding-left:clamp(28px,4vw,64px)}
.storybook-spread .story-page:before,.storybook-spread .task-card:before{content:'';position:absolute;inset:15px;border:1px solid #9d784340;pointer-events:none;border-radius:2px 24px 2px 2px}
.storybook-spread .task-card:before{border-radius:24px 2px 2px 2px}
.storybook-spread .paper-kicker{font:small-caps 14px/1.5 Georgia,serif;text-transform:none;letter-spacing:.15em;color:#79592f;margin:5px 0 14px}
.storybook-spread .paper-kicker:before{content:'❦';display:block;font:34px Georgia;color:#91713d;margin:0 0 12px}
.storybook-spread h2{font-size:clamp(25px,2.3vw,34px);line-height:1.22;margin:0 0 20px;color:#352c23;font-weight:400}
.storybook-spread .story{font:clamp(18px,1.5vw,21px)/1.95 Georgia,serif;text-wrap:pretty;margin:22px 0 28px}
.storybook-spread .story:first-letter{float:left;font:72px/.8 Georgia;color:#794337;margin:9px 10px 0 0;text-shadow:1px 1px #d6b37b}
.storybook-spread .book-ribbon{position:absolute;right:35px;top:-14px;width:38px;height:70px;padding:18px 0;text-align:center;background:linear-gradient(90deg,#6b2b2c,#994e46 48%,#632b2c);color:#f3dba3;font:21px Georgia;clip-path:polygon(0 0,100% 0,100% 100%,50% 84%,0 100%);filter:drop-shadow(2px 3px 2px #0003)}
.storybook-spread .book-colophon{margin:35px 0 0;padding-top:15px;border-top:1px solid #a8895050;font:italic 14px/1.6 Georgia;color:#806947;text-align:center}
.storybook-spread .narration{padding:12px 0;margin:0;border-top:1px solid #9d784340;border-bottom:1px solid #9d784340}
.storybook-spread .narration h2{font:16px Georgia;margin:0 0 10px}.storybook-spread audio{height:40px;display:block;filter:sepia(.3);color-scheme:light}
.storybook-spread .task-card>p:not(.paper-kicker){font:17px/1.75 Georgia,serif;margin-bottom:24px}
.storybook-spread button,.storybook-spread a.button{font:16px/1.4 Georgia;min-height:46px;border-radius:3px 10px 3px 10px;border:1px solid #aa8752;box-shadow:inset 0 0 0 3px #dcb87812,0 3px 6px #39261618;padding:11px 17px;background:linear-gradient(115deg,#294333,#19372b);color:#fff0cb}
.storybook-spread button:hover,.storybook-spread a.button:hover{background:#3d5640}.storybook-spread input:not([type=range]),.storybook-spread select{background:#fff8e6;color:#493521;border:0;border-bottom:1px solid #9a7743;border-radius:0;padding:12px;font:18px Georgia;color-scheme:light}
.storybook-spread label{font:16px/1.6 Georgia}.storybook-spread input[type=range]{height:28px;background:transparent;accent-color:#806035;min-height:44px}
.storybook-spread .game-feedback{font:italic 17px/1.6 Georgia;min-height:0;margin:0}.storybook-spread .game-feedback:not(:empty){padding:13px 15px;margin:15px 0 0;border-left:3px solid #a17e47;background:#fff6df8c}.storybook-spread .game-feedback.success{color:#315b39;border-color:#537149}
.storybook-spread details{border-color:#a2855055;padding-top:12px;margin-top:14px}.storybook-spread summary{font:17px/1.5 Georgia;color:#785830}.storybook-spread .game-stage{gap:18px}
.storybook-spread .game-stage>p{font:17px/1.65 Georgia}.storybook-spread .puzzle-visual{position:relative;border:7px solid #5e3e27;border-radius:4px;padding:12px;background:repeating-linear-gradient(2deg,#ffffff04 0 2px,#00000004 2px 5px),radial-gradient(ellipse at 35% 25%,#4b4b36,#172b27);box-shadow:inset 0 0 0 1px #d5b473,inset 0 3px 20px #0007,0 4px 8px #6c4b292b}
.storybook-spread .puzzle-visual svg{filter:drop-shadow(1px 3px 3px #0005)}
.storybook-spread [data-puzzle=light] .puzzle-visual{background:repeating-linear-gradient(3deg,#472b1722 0 2px,#e6bb7510 3px 6px),linear-gradient(105deg,#5c3b23,#886038 45%,#4d301e);border-color:#53351f;padding:20px 5px}
.storybook-spread [data-puzzle=light] .beam{filter:drop-shadow(0 0 4px #ffe5a0)}
.storybook-spread .found-object{flex:1;min-width:0;padding:8px 4px 10px;flex-direction:column;font-size:14px;background:#ddc69d40;color:#5a4029;box-shadow:0 3px 4px #4e342317;border-color:#ba9c6766;border-radius:50% 50% 7px 7px}
.storybook-spread .found-object:hover{background:#e5cc9a80}.storybook-spread .found-object svg{width:68px;height:73px;filter:drop-shadow(2px 4px 2px #65452844)}
.storybook-spread .clock-row{gap:14px;padding:20px 10px 8px;border-bottom:5px solid #715032;background:linear-gradient(#d5bb8644,#c7a76b33);box-shadow:0 5px 5px #553a1922}
.storybook-spread .clock-row svg{border:5px ridge #ac8245;border-radius:50%;background:#2a362c;box-shadow:0 3px 7px #53351e55}.storybook-spread .clock-row p{font:14px/1.5 Georgia}
.storybook-spread .token-grid span{border:2px double #b09158;border-radius:50%;padding:16px 7px;background:radial-gradient(#faf0d6,#dfc38e);box-shadow:inset 0 0 0 3px #f6e6bd,0 3px 4px #46311b22;font:15px Georgia;color:#5d462b}
.storybook-spread .cipher-alphabet{color:#523e29;background:#e3cca3;box-shadow:0 2px 5px #593b2922;border-top:1px solid #977544;border-bottom:1px solid #977544;padding:14px;line-height:1.8}
.storybook-spread .mirror-panel{border:12px ridge #ac8b4e;border-radius:70px 70px 14px 14px;background:linear-gradient(135deg,#8baba7,#e2e4d2 40%,#a5beb5);box-shadow:0 7px 12px #513b2922;min-height:160px}.storybook-spread .mirror-reveal{background:#e9eee1}
.storybook-spread .frost-wrap{border:12px ridge #755031;border-radius:50px 50px 4px 4px;box-shadow:0 5px 14px #533a2944;overflow:hidden}.storybook-spread .frost-wrap canvas{border-radius:0}
.storybook-spread .star-map{border:6px solid #917141;border-radius:80px 80px 5px 5px;background:radial-gradient(ellipse at 50% 20%,#345057,#111f2b 70%);box-shadow:inset 0 0 35px #0007,0 5px 9px #513b2922}.storybook-spread .star-dot{padding:0;border:0;box-shadow:none;border-radius:50%;background:transparent;color:#f9df9f;font-size:26px}.storybook-spread .star-dot:hover{background:#e2c88c22}
.storybook-spread .box-row button{position:relative;border:3px double #deb975;border-radius:3px;box-shadow:inset 0 10px #ffffff18,0 5px 8px #4d332b33;min-height:155px;padding-top:50px}.storybook-spread .box-row button:before{content:'⋈';position:absolute;top:3px;left:0;width:100%;font:40px Georgia;color:#f4da9f}
.storybook-spread .maze{border:10px ridge #947449;border-radius:50% 50% 8px 8px;background:radial-gradient(#365445,#1c322b);box-shadow:0 4px 10px #48301d33;overflow:hidden}.storybook-spread .maze button{padding:0;border-radius:50%;min-height:44px}
.storybook-spread .poem{background:#fff3d5;color:#57422b;box-shadow:2px 4px 7px #694a282b;border:1px solid #d0b37b;padding:28px;font:18px/1.8 Georgia;transform:rotate(-1deg)}
.storybook-spread .poem p:first-letter{color:#884435;font-weight:bold}.storybook-spread .shadow-board{border:8px ridge #7a5532;background:radial-gradient(ellipse,#fff1c4,#c7ab79);box-shadow:inset 0 0 35px #8f653c55}.storybook-spread .shadow-plate{background:#fff7d81a;border-color:#8f704766}
.storybook-spread .scarf-row label{padding:15px;border-top:10px solid #9b5043;background:#ead7b2}.storybook-spread .scarf-row label:nth-child(2){border-color:#426375}.storybook-spread .scarf-row label:nth-child(3){border-color:#5d7450}.storybook-spread .scarf-row label:nth-child(4){border-color:#bc9553}
.storybook-spread .game-stage table{font:16px/1.5 Georgia;border:1px solid #a3865144;background:#fff2d855}.storybook-spread .game-stage th,.storybook-spread .game-stage td{border-color:#a3865144}.storybook-spread .returned-wish{background:#fff3d5;box-shadow:2px 4px 7px #694a2833;border:1px solid #d0b37b;transform:rotate(-1deg)}
@media(max-width:1000px){.chapter-layout.storybook-spread{grid-template-columns:1fr}.storybook-spread:after{display:none}.storybook-spread .story-page,.storybook-spread .task-card{border-radius:3px;padding:32px 28px}.storybook-spread .task-card{border-top:1px solid #a7864b66}.storybook-spread .book-colophon{margin-top:24px}}
@media(max-width:600px){.chapter-layout.storybook-spread{padding:7px 7px 14px;margin-top:24px}.storybook-spread .story-page,.storybook-spread .task-card{padding:29px 21px}.storybook-spread .story-page:before,.storybook-spread .task-card:before{inset:10px;border-radius:0}.storybook-spread .story{font-size:18px;line-height:1.85}.storybook-spread .book-ribbon{right:24px}.storybook-spread .puzzle-visual{border-width:5px;padding:5px}.storybook-spread .found-object{font-size:13px}.storybook-spread .found-object svg{width:54px}.storybook-spread .box-row button{min-height:100px;padding-top:37px}.storybook-spread .clock-row{gap:8px;padding:15px 0 5px}.storybook-spread .clock-row svg{border-width:3px}}
.clockmaker-note{margin:12px 0 24px;transform:rotate(-1deg)}.clockmaker-note img{display:block;width:100%;height:auto;box-shadow:0 8px 18px #44321d2b}.gear-workbench{margin:16px 0}.letter-context{font-style:italic;border-left:2px solid #ab8044;padding-left:16px}.letter-in-scene{position:absolute;right:3%;bottom:6%;width:clamp(170px,23%,300px);padding:7px!important;background:#ecdbb1!important;color:#503b25!important;box-shadow:0 8px 30px #0008;transform:rotate(3deg);border:1px solid #bb945b!important;border-radius:2px!important;z-index:4}.letter-in-scene img{width:100%;display:block}.letter-in-scene span{display:block;font:16px/1.4 Georgia;padding:6px}.letter-in-scene:focus-visible{outline:4px solid #fff0bb;outline-offset:4px}@media(max-width:600px){.letter-in-scene{position:relative;right:auto;bottom:auto;width:200px;margin:-42px 16px 12px auto;display:block;transform:rotate(2deg)}.letter-in-scene span{font-size:16px}}

.letter-in-scene{flex-direction:column!important;gap:5px!important}.letter-in-scene span{display:block;width:100%;text-align:center;font:15px Georgia}

.chapter-orientation{margin:20px 0 26px;padding:4px 0 4px 16px;font:italic 18px/1.65 Georgia,serif;color:#59452e}.chapter-orientation p{margin:0}.chapter-orientation .orientation-label{font:normal small-caps 15px/1.5 Georgia,serif;letter-spacing:.05em;margin-bottom:7px;color:#79592f}
