/* Little Thread keeps its tactile worlds, inside the shared adventure shell. */
body.thread-adventure{--adv-rail:#efd1d6;--adv-edge:#d394a4;--adv-score:#f8ebe2;--adv-ink:#6f3f62;--adv-highlight:#ffe3a0;background:#f8ebe2;color:#173c61;height:100dvh;min-height:0;overflow:hidden}
body.thread-adventure.rrdd-adventure.rrdd-game-shell main#app{display:grid!important;grid-template-rows:74px minmax(0,1fr)!important;gap:5px!important;width:100%!important;max-width:none!important;height:calc(100dvh - 52px)!important;min-height:0!important;margin:0!important;padding:0 10px 8px!important;overflow:hidden!important}
body.thread-adventure footer,body.thread-adventure .rrdd-game-footer{display:none!important}
body.thread-adventure #audioRecovery.adv-recovery{top:134px}
@media(max-width:700px) and (orientation:portrait){body.thread-adventure #audioRecovery.adv-recovery{top:112px}}
@media(orientation:landscape) and (max-height:480px){body.thread-adventure #audioRecovery.adv-recovery{top:108px}}
body.thread-adventure .thread-view{grid-row:2;min-width:0;min-height:0;width:100%;height:100%;margin:0;padding:0;overflow:hidden}
body.thread-adventure button{min-height:44px;touch-action:manipulation}
body.thread-adventure button:disabled{cursor:default;opacity:.5}
body.thread-adventure button.gold{border:0;padding:9px 18px;line-height:1.2}
body.thread-adventure .eyebrow{font:800 11px/1.2 'Trebuchet MS',sans-serif;letter-spacing:.12em;margin:0 0 5px;color:#965c71}
body.thread-adventure .watch-layout{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3vw,44px);align-items:stretch}
body.thread-adventure .film-frame{display:flex;justify-content:center;width:100%;height:100%;max-width:none;max-height:none;min-height:0;aspect-ratio:auto;border:0;border-radius:25px;background:#172b3f;overflow:hidden}
body.thread-adventure .film-frame :is(div,iframe){width:100%;height:100%;border:0}
body.thread-adventure .watch-guide{display:flex;flex-direction:column;align-items:start;justify-content:center;padding:clamp(8px,2vw,28px);min-width:0;max-width:none;background:none;border:0;box-shadow:none;gap:12px}
body.thread-adventure .watch-guide h1{font-size:clamp(30px,4.5vw,60px);margin:0;color:#75475d}
body.thread-adventure .watch-guide p{margin:0;line-height:1.35;max-width:40ch}
body.thread-adventure .watch-guide .quiet-note{font-size:12px}
body.thread-adventure .reading-screen,body.thread-adventure .ending-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
body.thread-adventure .reading-picture{position:relative;margin:0;min-width:0;min-height:0;border-radius:25px;overflow:hidden;background:#e6c4bf}
body.thread-adventure .reading-picture img{width:100%;height:100%;object-fit:cover;object-position:center 62%}
body.thread-adventure .reading-copy,body.thread-adventure .ending-copy{display:flex;flex-direction:column;justify-content:center;align-items:start;gap:12px;min-width:0;min-height:0;padding:clamp(12px,2vw,28px);border-radius:25px;background:#fffaf2;box-shadow:none;text-align:left}
body.thread-adventure .reading-copy h2,body.thread-adventure .ending-copy h2{font:800 clamp(24px,3.2vw,40px)/1.18 'Trebuchet MS',sans-serif;margin:0}
body.thread-adventure .reading-copy p,body.thread-adventure .ending-copy p{margin:0;line-height:1.3}
body.thread-adventure .reading-word-card{border:2px solid #dbbabf;border-radius:20px;padding:14px 18px;width:100%;background:#f9e5e3}
body.thread-adventure #readingWord{font:800 clamp(25px,3vw,34px) 'Trebuchet MS',sans-serif;border:0;background:none;color:#764962;padding:0;text-align:left}
body.thread-adventure #readingMeaning{font-size:16px}
body.thread-adventure #readingStatus{font-size:13px;color:#4f7a69}
body.thread-adventure .ending-choices{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0}
body.thread-adventure .ending-choices button{min-height:56px;background:#f8e0e2;border:2px solid #dba6b1;border-radius:18px;padding:10px;font-weight:800}
body.thread-adventure .play-screen{display:grid;grid-template-rows:auto minmax(0,1fr);gap:5px}
body.thread-adventure .play-top{display:flex;align-items:center;gap:10px;margin:0;min-height:44px}
body.thread-adventure .play-top>div{min-width:0}
body.thread-adventure .play-top h2{font-size:clamp(20px,2.5vw,30px);line-height:1.05;margin:0}
body.thread-adventure #backToReading{flex:none;padding:4px 10px;font-size:13px}
body.thread-adventure .game-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(200px,24%,300px);gap:10px;min-height:0;min-width:0;height:100%;align-items:stretch}
body.thread-adventure.rrdd-game-shell .scene-frame{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:24px;justify-self:stretch;box-shadow:none;container-type:size}
body.thread-adventure .scene-frame>img{object-fit:cover!important}
body.thread-adventure .scene-caption{display:none!important}
body.thread-adventure .mission-card{display:flex;flex-direction:column;align-self:stretch;justify-content:center;min-height:0!important;padding:12px!important;border:0;border-radius:24px;box-shadow:none;overflow:hidden;gap:8px}
body.thread-adventure .mission-card :is(h3,p){margin:0;line-height:1.25}
body.thread-adventure .mission-card h3{font-size:clamp(23px,2.5vw,32px)}
body.thread-adventure #missionStep{font-size:11px;letter-spacing:.04em}
body.thread-adventure #missionDescription{font-size:14px}
body.thread-adventure .sentence-area{min-height:0;margin:0!important}
body.thread-adventure .sentence-area .thread-definition{font-size:15px!important;margin:0!important}
body.thread-adventure .thread-pronunciation{font-size:18px!important;margin:4px 0!important}
body.thread-adventure .thread-meaning-row{display:block}
body.thread-adventure .thread-spool-visual{width:100%;max-height:120px;object-fit:contain}
body.thread-adventure .mission-action{min-height:0!important;margin:0!important}
body.thread-adventure #feedback{min-height:0;margin:0;font-size:15px;color:#377565;line-height:1.25}
body.thread-adventure .mission-footer{margin-top:4px;gap:5px;flex-direction:column;align-items:stretch}
body.thread-adventure .mission-footer button{width:100%;font-size:14px}
body.thread-adventure :is(.board-direction-words,.splash-vocabulary){gap:6px;display:flex;flex-wrap:wrap}
body.thread-adventure .board-direction-words button{font-size:13px;padding:6px;flex:1;min-width:0}
body.thread-adventure :is(.mat-hear,.board-hear,.float-hear,.garden-hear,.sea-hear,.night-hear,.thread-title-audio){width:44px;height:44px;min-width:44px;min-height:44px}
body.thread-adventure :is(.board-instruction-bar,.float-instruction-bar,.garden-instruction-bar,.sea-instruction-bar,.night-instruction-bar){top:2%;left:2%;right:2%;padding:2px 4px 2px 10px;gap:4px;min-height:48px;font-size:14px}
body.thread-adventure .board-controls{bottom:3%;gap:12px}
body.thread-adventure .board-controls button{min-height:50px;font-size:18px}
body.thread-adventure .float-spelling-tray{max-width:580px;margin:auto;left:2%;right:2%;bottom:2%;padding:8px}
body.thread-adventure .float-word-guide{text-align:center;font:22px/1 Froople,sans-serif;margin:0 0 8px;color:#81938f;letter-spacing:.4em}
body.thread-adventure .float-letter-bank{margin-top:8px}
body.thread-adventure :is(.float-letter-slot,.float-letter-tile){min-height:48px;height:clamp(48px,12cqh,64px);font-size:30px}
body.thread-adventure .float-letter-tile{touch-action:none}
body.thread-adventure .spelling-flight{height:40%;width:90%;left:5%;bottom:calc(var(--spell-lift,28%) + 6%)}
body.thread-adventure .float-letter-tile.touch-drag-ghost{width:64px;height:64px;font-size:34px}
body.thread-adventure .flower-stop{width:clamp(70px,15cqw,125px);height:clamp(76px,24cqh,132px);font-size:clamp(52px,15cqw,100px)}
body.thread-adventure .garden-cast-ball{height:64%;bottom:12%}
body.thread-adventure .garden-world.fly-one .butterfly-flyer::after,body.thread-adventure .garden-world.fly-two .butterfly-flyer::after{content:'✦ · ✦';position:absolute;top:45px;left:10px;font-size:20px;letter-spacing:4px;color:#ffe081;text-shadow:0 1px #9c784c}
body.thread-adventure .garden-pollinated .flower-stop::before{content:'🌱';position:absolute;bottom:-4px;left:20px;font-size:32px}
body.thread-adventure .discovery-question{position:absolute;z-index:20;bottom:4%;left:8%;right:8%;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;background:#fffbef;border:3px solid #efbe72;border-radius:25px;pointer-events:auto;box-shadow:0 6px 20px #374b4b33;animation:pop .4s ease-out}
body.thread-adventure .discovery-question p{grid-column:1/-1;text-align:center;font:800 21px/1.2 'Trebuchet MS',sans-serif;margin:0}
body.thread-adventure .discovery-question button{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #c8dcd5;background:#edf7ed;border-radius:17px;padding:7px;font-size:18px}
body.thread-adventure .discovery-question button span{font-size:36px}
body.thread-adventure .try-again{animation:shake .3s}
body.thread-adventure .splash-power{bottom:3%;font-size:14px;max-width:620px;margin:auto}
body.thread-adventure .thread-memory{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:5px;position:relative}
body.thread-adventure .memory-heading{display:flex;justify-content:center;align-items:center;gap:18px;min-height:38px}
body.thread-adventure .memory-heading h2{font-size:30px;margin:0}
body.thread-adventure .memory-heading #memoryHear{width:44px;min-width:44px;padding:3px}
body.thread-adventure #memoryBoard{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);grid-template-rows:minmax(0,1fr) auto auto;gap:8px 30px;min-height:0;min-width:0;background:radial-gradient(ellipse at 20% 80%,#ffe2c0,transparent 60%),#f4d8d7;border-radius:26px;padding:10px;overflow:hidden}
body.thread-adventure .thread-memory-scene{grid-row:1/4;position:relative;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;container-type:size}
body.thread-adventure .thread-memory-frame{position:relative;width:min(100%,49cqh);height:100%;max-height:100%;aspect-ratio:9/16;border:12px solid #db9ca9;border-radius:24px;background:#fff5df;box-shadow:inset 0 0 0 3px #ffd68c,0 6px 0 #be7d91;overflow:hidden}
body.thread-adventure .thread-memory-frame::after{content:'';position:absolute;inset:4px;border:2px dashed #b67b8f;border-radius:12px;pointer-events:none}
body.thread-adventure .thread-memory-slot{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff5e2;padding:0;overflow:hidden;border-radius:12px}
body.thread-adventure .thread-memory-slot img{width:100%;height:100%;object-fit:contain;max-width:none}
body.thread-adventure .thread-memory-question{position:absolute;inset:10% 6%;display:grid;place-items:center;pointer-events:none}
body.thread-adventure .thread-memory-clue{pointer-events:auto;border:0;background:none;color:#76485c;font:800 clamp(18px,3vw,26px)/1.35 'Trebuchet MS',sans-serif;text-align:center;padding:5px}
body.thread-adventure .thread-memory-clue::before{content:'🔊';display:block;font-size:32px;margin-bottom:14px}
body.thread-adventure .thread-photo-tray{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0;min-width:0}
body.thread-adventure .thread-photo{display:flex;align-items:center;gap:15px;width:min(100%,350px);flex:1;min-height:44px;max-height:30%;padding:5px 12px;border:3px solid white;border-radius:15px;box-shadow:0 4px #ca9d9a;background:#fffaf0;color:#173c61;font-weight:800;font-size:20px;touch-action:none;transform:rotate(-1deg)}
body.thread-adventure .thread-photo img{height:100%;width:auto;aspect-ratio:9/16;object-fit:contain;border-radius:5px;min-height:0}
body.thread-adventure .thread-photo span{flex:1}
body.thread-adventure .thread-memory-progress{grid-column:2;display:flex;gap:16px;justify-content:center}
body.thread-adventure .thread-memory-progress span{display:grid;place-items:center;width:34px;height:34px;border:2px dashed #bc8197;border-radius:50%;background:#fffcf0;color:#a1768b;font-weight:800}
body.thread-adventure .thread-memory-progress .saved{background:#ffdc79;color:#9d651f;border-style:solid}
body.thread-adventure .thread-memory-note{grid-column:2;font-size:12px;text-align:center;margin:0;line-height:1.3}
body.thread-adventure #memoryFeedback{font-size:14px;line-height:1.2;margin:0;text-align:center;color:#507a69}
body.thread-adventure #memoryFeedback:empty{display:none}
body.thread-adventure #memoryNext{justify-self:center}
.memory-flying-photo{position:fixed;z-index:950;pointer-events:none;transform-origin:top left;object-fit:contain}
body.thread-adventure.thread-paused .thread-view *{animation-play-state:paused!important}
body.thread-adventure.reduce-motion .thread-view *{animation:none!important;transition:none!important}
body.thread-adventure #restartDialog:not([open]){display:none}
body.thread-adventure #restartDialog{max-width:440px;border:3px solid #dba3af;border-radius:25px;background:#fff8ed;padding:22px;color:#173c61}
body.thread-adventure #restartDialog h2{font-size:27px}
body.thread-adventure #restartDialog button{margin:5px}
.rrdd-thread-collectible{--collector-ink:#6f3f62;--collector-glow:#f9d2d6;--collector-paper:#fff8ed;--collector-soft:#f9e7e7;--collector-line:#dcaaba}
body.thread-adventure .rrdd-card-avatar-arrow{background:#a85e7d!important}
@media(max-width:700px) and (orientation:portrait){
 body.thread-adventure.rrdd-adventure.rrdd-game-shell main#app{grid-template-rows:52px minmax(0,1fr)!important;padding:0 6px 6px!important;gap:4px!important}
 body.thread-adventure .watch-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:4px}
 body.thread-adventure .watch-guide{padding:4px 8px;gap:6px;align-items:center;text-align:center}
 body.thread-adventure .watch-guide h1{font-size:29px}.watch-guide h1 br{display:none}
 body.thread-adventure .watch-guide>p:first-of-type{display:none}
 body.thread-adventure .watch-guide .eyebrow{display:none}
 body.thread-adventure #watchStatus{font-size:13px}
 body.thread-adventure .watch-guide .quiet-note{font-size:10px}
 body.thread-adventure .watch-guide button{width:100%}
 body.thread-adventure .reading-screen,body.thread-adventure .ending-screen{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:5px}
 body.thread-adventure .reading-copy,body.thread-adventure .ending-copy{padding:10px;gap:7px;border-radius:20px}
 body.thread-adventure .reading-copy h2,body.thread-adventure .ending-copy h2{font-size:25px}
 body.thread-adventure .reading-word-card{padding:7px 10px;border-radius:14px}
 body.thread-adventure #readingWord{font-size:25px}
 body.thread-adventure #readingMeaning{font-size:14px}
 body.thread-adventure #discoveryGoal{display:none}
 body.thread-adventure #readingStatus{font-size:12px;line-height:1.2}
 body.thread-adventure .reading-copy button.gold{min-height:44px;padding:7px 12px}
 body.thread-adventure .reading-copy>.gold:last-of-type{width:100%}
 body.thread-adventure .play-top{min-height:44px}.thread-adventure .play-top h2{font-size:21px!important}
 body.thread-adventure .game-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:4px}
 body.thread-adventure .mission-card{padding:6px 8px!important;border-radius:16px;gap:3px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 body.thread-adventure .mission-card>:is(h3,#missionStep,#missionDescription,#listenButton,.sentence-area){display:none!important}
 body.thread-adventure #missionAction{grid-column:1/-1;font-size:12px}
 body.thread-adventure .mission-action p{font-size:12px!important;text-align:center;margin:0}
 body.thread-adventure #feedback{font-size:13px;grid-column:1;line-height:1.2}
 body.thread-adventure .mission-footer{margin:0;grid-column:2;grid-row:2;max-width:170px}
 body.thread-adventure #hintButton{display:none}
 body.thread-adventure .mission-footer button{font-size:13px;padding:6px 9px}
 body.thread-adventure .board-direction-words,body.thread-adventure .splash-vocabulary{display:none}
 body.thread-adventure .splash-learning{display:none}
 body.thread-adventure .thread-mat{border-width:10px}
 body.thread-adventure .mat-letter{width:60px;height:60px;font-size:36px}
 body.thread-adventure .discovery-question{left:3%;right:3%;bottom:4%;padding:10px;gap:6px}
 body.thread-adventure .discovery-question p{font-size:18px}
 body.thread-adventure .discovery-question button{flex-direction:column;font-size:17px;gap:3px}
 body.thread-adventure .thread-memory .memory-heading h2{font-size:23px}
 body.thread-adventure #memoryBoard{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 118px auto auto;gap:8px;padding:8px}
 body.thread-adventure .thread-memory-scene{grid-row:1;grid-column:1}
 body.thread-adventure .thread-memory-frame{width:auto;max-width:95%;border-width:8px}
 body.thread-adventure .thread-photo-tray{grid-row:2;grid-column:1;flex-direction:row;gap:8px;align-items:stretch}
 body.thread-adventure .thread-photo{height:100%;max-height:none;min-width:0;flex:1;flex-direction:column;gap:3px;font-size:12px;padding:4px;transform:none}
 body.thread-adventure .thread-photo img{width:auto;height:calc(100% - 22px);max-width:100%}
 body.thread-adventure .thread-photo span{flex:none}
 body.thread-adventure .thread-memory-progress,body.thread-adventure .thread-memory-note{grid-column:1}
 body.thread-adventure .thread-memory-progress span{width:24px;height:24px;font-size:13px}
 body.thread-adventure .thread-memory-note{font-size:10px}
 body.thread-adventure .thread-memory-clue{font-size:clamp(14px,3.7vw,20px);padding:0;line-height:1.2}
 body.thread-adventure .thread-memory-clue::before{font-size:23px;margin-bottom:7px}
}
@media(orientation:landscape) and (max-height:500px){
 body.thread-adventure.rrdd-adventure.rrdd-game-shell main#app{grid-template-rows:48px minmax(0,1fr)!important;padding:0 6px 5px!important;gap:3px!important}
 body.thread-adventure .watch-guide{gap:7px;padding:5px}.thread-adventure .watch-guide h1{font-size:26px!important}
 body.thread-adventure .watch-guide>p:first-of-type,.thread-adventure .watch-guide .quiet-note{display:none}
 body.thread-adventure #watchStatus{display:block;font-size:12px}
 body.thread-adventure .watch-guide h1 br{display:initial}
 body.thread-adventure .reading-copy,body.thread-adventure .ending-copy{gap:5px;padding:7px 10px}
 body.thread-adventure .reading-copy h2,body.thread-adventure .ending-copy h2{font-size:22px}
 body.thread-adventure .reading-word-card{padding:4px 8px}
 body.thread-adventure #readingWord{font-size:23px;min-height:38px}
 body.thread-adventure #readingMeaning{font-size:12px}
 body.thread-adventure #discoveryGoal{display:none}
 body.thread-adventure #readingStatus{font-size:10px}
 body.thread-adventure .reading-copy button.gold{padding:5px 10px}
 body.thread-adventure .reading-copy>.eyebrow{display:none}
 body.thread-adventure .game-grid{grid-template-columns:minmax(0,1fr) 155px;gap:5px}
 body.thread-adventure .play-top{min-height:28px}.thread-adventure .play-top h2{font-size:18px!important}
 body.thread-adventure .play-top .eyebrow{display:none}
 body.thread-adventure #backToReading{min-height:44px;height:44px;font-size:11px}
 body.thread-adventure .mission-card{padding:5px!important;gap:3px}
 body.thread-adventure .mission-card>:is(h3,#missionStep,#missionDescription,#listenButton,.sentence-area){display:none!important}
 body.thread-adventure .mission-footer{margin-top:auto}
 body.thread-adventure #hintButton{display:none}
 body.thread-adventure #feedback{font-size:12px}
 body.thread-adventure .board-direction-words,body.thread-adventure .splash-vocabulary,.thread-adventure .splash-learning{display:none}
 body.thread-adventure :is(.board-instruction-bar,.float-instruction-bar,.garden-instruction-bar,.sea-instruction-bar,.night-instruction-bar){min-height:44px;top:0;padding:0 2px 0 5px;font-size:11px}
 body.thread-adventure .thread-mat{border-width:7px}.thread-adventure .mat-letter{width:44px;height:44px;font-size:29px;border-radius:12px;border-bottom-width:4px}
 body.thread-adventure .mat-help{top:1px;right:2px}
 body.thread-adventure .float-spelling-tray{left:48%;right:2%;bottom:3%;padding:5px}
 body.thread-adventure .float-word-guide{font-size:17px;margin-bottom:4px}
 body.thread-adventure .float-slots,.thread-adventure .float-letter-bank{gap:3px}
 body.thread-adventure .float-letter-bank{margin-top:4px}
 body.thread-adventure :is(.float-letter-slot,.float-letter-tile){height:44px;min-height:44px;font-size:27px;border-radius:8px}
 body.thread-adventure .spelling-flight{left:0;width:47%;height:67%;bottom:3%}
 body.thread-adventure .board-controls{bottom:1%;gap:12px}.thread-adventure .board-controls button{height:44px;min-height:44px;font-size:16px}
 body.thread-adventure .board-character{top:20%}.thread-adventure .board-ray{height:44%}.thread-adventure .board-dodu{height:44%}
 body.thread-adventure .board-rig{top:52%;height:12%}.thread-adventure .board-ball{width:25px;height:25px}
 body.thread-adventure .board-basket{top:65%;height:10%}
 body.thread-adventure .discovery-question{left:20%;right:5%;bottom:2%;padding:6px;gap:4px}.thread-adventure .discovery-question p{font-size:14px}.thread-adventure .discovery-question button{font-size:14px;padding:3px}.thread-adventure .discovery-question button span{font-size:25px}
 body.thread-adventure .splash-power{left:4%;right:4%;bottom:1%;font-size:10px;padding:3px 8px}.thread-adventure .splash-power-track{height:8px;margin-top:3px}
 body.thread-adventure .splash-cast{left:20%;height:40%;top:20%}
 body.thread-adventure .splash-announcement{font-size:19px;top:21%}
 body.thread-adventure .letter-star{width:44px;height:44px;font-size:26px}
 body.thread-adventure .night-cast-back{height:70%;bottom:-26%}
 body.thread-adventure .memory-heading{min-height:25px}.thread-adventure .memory-heading h2{font-size:22px}
 body.thread-adventure #memoryBoard{padding:5px;gap:4px 10px;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
 body.thread-adventure .thread-memory-clue{font-size:13px;line-height:1.1}.thread-adventure .thread-memory-clue::before{font-size:18px;margin-bottom:3px}
 body.thread-adventure .thread-memory-frame{border-width:6px}
 body.thread-adventure .thread-photo-tray{flex-direction:row;gap:6px;align-items:stretch;padding:5px 0}
 body.thread-adventure .thread-photo{flex-direction:column;max-height:none;width:auto;gap:3px;padding:4px;min-width:0;font-size:12px}
 body.thread-adventure .thread-photo img{height:calc(100% - 24px);max-width:100%;width:auto}
 body.thread-adventure .thread-photo span{flex:none}
 body.thread-adventure .thread-memory-progress span{width:22px;height:22px;font-size:12px}
 body.thread-adventure .thread-memory-note{font-size:10px}.thread-adventure #memoryFeedback{font-size:11px}
}
/* Short phones put the two reading actions beside each other, preserving tap size. */
@media(orientation:landscape) and (max-height:500px){
 body.thread-adventure .reading-screen,body.thread-adventure .ending-screen{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7px}
 body.thread-adventure #readingScreen .reading-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;align-items:center;gap:4px 7px}
 body.thread-adventure #readingSentence{grid-column:1/-1;grid-row:1;font-size:21px}
 body.thread-adventure .reading-word-card{grid-column:1/-1;grid-row:2}
 body.thread-adventure #readingWord{min-height:44px}
 body.thread-adventure #readingStatus{grid-column:1/-1;grid-row:3}
 body.thread-adventure #readAgain{grid-column:1;grid-row:4;min-height:44px;font-size:12px}
 body.thread-adventure #openDiscovery{grid-column:2;grid-row:4;min-height:44px;font-size:12px}
 body.thread-adventure .ending-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}
 body.thread-adventure .ending-choices button{font-size:13px;padding:6px;min-width:0}
 body.thread-adventure .ending-copy p{font-size:13px}
}
/* Re-composed landscape memory photos use the same ratio in the tray and frame. */
body.thread-adventure .thread-memory-frame{height:auto;aspect-ratio:auto;width:min(100%,calc((100cqh - 24px)*16/9 + 24px));max-height:100%}
body.thread-adventure .thread-memory-slot{position:relative;inset:auto;display:block;aspect-ratio:16/9;height:auto;min-height:0}
body.thread-adventure .thread-memory-slot img{position:absolute;inset:0;object-fit:cover;aspect-ratio:16/9}
body.thread-adventure .thread-memory-frame.photo-selected :is(.thread-memory-question,.thread-memory-clue){pointer-events:none!important}
body.thread-adventure .thread-memory-slot.photo-ready{outline:4px solid #e9b849;outline-offset:-4px}
body.thread-adventure .thread-photo img{width:45%;height:100%;aspect-ratio:16/9;object-fit:contain}
@media(max-aspect-ratio:6/5){
 body.thread-adventure #memoryBoard{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) clamp(100px,19dvh,220px) auto auto;gap:8px;padding:8px}
 body.thread-adventure .thread-memory-scene{grid-row:1;grid-column:1}
 body.thread-adventure .thread-memory-frame{width:min(100%,calc((100cqh - 24px)*16/9 + 24px));height:auto;max-width:none}
 body.thread-adventure .thread-photo-tray{grid-row:2;grid-column:1;flex-direction:row;gap:10px;align-items:stretch}
 body.thread-adventure .thread-photo{height:100%;max-height:none;min-width:0;flex:1;flex-direction:column;gap:4px;font-size:clamp(12px,2vw,20px);padding:6px;transform:none}
 body.thread-adventure .thread-photo img{width:100%;height:calc(100% - 26px);aspect-ratio:16/9;object-fit:contain}
 body.thread-adventure .thread-photo span{flex:none}
 body.thread-adventure .thread-memory-progress,body.thread-adventure .thread-memory-note{grid-column:1}
}
@media(max-width:700px) and (orientation:portrait){
 body.thread-adventure #memoryBoard{grid-template-rows:minmax(0,1fr) 102px auto auto;gap:7px}
 body.thread-adventure .memory-heading{gap:8px}
 body.thread-adventure .memory-heading .eyebrow{white-space:nowrap;font-size:10px}
 body.thread-adventure .memory-heading h2{font-size:clamp(18px,5.3vw,23px)!important}
 body.thread-adventure .thread-memory-frame{border-width:8px;width:min(100%,calc((100cqh - 16px)*16/9 + 16px))}
 body.thread-adventure .thread-memory-clue{font-size:16px;line-height:1.25}
 body.thread-adventure .thread-photo{padding:4px;font-size:12px}
 body.thread-adventure .thread-photo img{height:calc(100% - 22px)}
 /* A tall film stays large beside a compact control rail instead of above a long copy stack. */
 body.thread-adventure.rrdd-game-shell #watchScreen .watch-layout{grid-template-columns:minmax(0,1fr) clamp(110px,33vw,150px);grid-template-rows:minmax(0,1fr);gap:5px}
 body.thread-adventure .watch-guide{padding:3px;gap:9px;align-items:stretch;text-align:left}
 body.thread-adventure .watch-guide h1{font-size:clamp(22px,6vw,28px)}
 body.thread-adventure .watch-guide .quiet-note{display:none}
 body.thread-adventure .watch-guide button{font-size:12px;padding:8px 5px}
 body.thread-adventure #watchStatus{display:block;font-size:12px}
 body.thread-adventure .watch-guide h1 br{display:initial}
 body.thread-adventure .watch-guide .quiet-note.storage-warning{display:block!important;font-size:11px}
}
@media(orientation:landscape) and (max-height:500px){
 body.thread-adventure .thread-memory-frame{width:min(100%,calc((100cqh - 12px)*16/9 + 12px))}
 body.thread-adventure .thread-photo img{width:100%;height:calc(100% - 24px);aspect-ratio:16/9}
}

/* Little Thread uses pink uncollected stars; collected stars stay gold. */
body.thread-adventure #starRoute .star-stop:not(.earned) svg path:nth-of-type(1){fill:#f2b6cf;stroke:#c981a4}
body.thread-adventure #starRoute .star-stop:not(.earned) svg path:nth-of-type(2){fill:#ffe3ef}
body.thread-adventure #starRoute .star-stop:not(.earned) svg path:nth-of-type(3){stroke:#fff7fb}

/* Dream-thread memory: one landscape photo window underneath generated art. */
body.thread-adventure .rrdd-game-header #soundButton{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border:1px solid #dce7e6;border-radius:50%;background:#fffaf0;color:#173c61;font-size:21px;box-shadow:none;flex-shrink:0}
body.thread-adventure .thread-memory-frame.dream-frame{height:auto;aspect-ratio:4/3;width:min(100cqw,calc(100cqh * 4/3));max-width:100%;max-height:100%;border:0;border-radius:0;padding:0;background:none;box-shadow:none;overflow:visible}
body.thread-adventure .thread-memory-frame.dream-frame::after{display:none}
body.thread-adventure .dream-frame>.thread-memory-slot{position:absolute;inset:20% 10%;width:80%;height:60%;min-height:0;aspect-ratio:16/9;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 25%,#fffdf1,#fff0df);z-index:1;box-shadow:none;overflow:hidden}
body.thread-adventure .dream-frame>.thread-memory-slot img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
body.thread-adventure .dream-frame>.thread-memory-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none;z-index:2;filter:drop-shadow(0 5px 4px #815d7a27)}
body.thread-adventure .dream-frame>.thread-memory-question{inset:21% 16%;z-index:3;min-height:0;min-width:0}
body.thread-adventure .dream-frame .thread-memory-clue{width:100%;font-size:clamp(16px,2vw,24px);line-height:1.25;color:#76485c}
body.thread-adventure .dream-frame.photo-selected .thread-memory-slot{outline:4px solid #e9b849;outline-offset:-4px}
body.thread-adventure .dream-frame.frame-filled>.thread-memory-art{animation:dream-frame-cheer .7s ease-out}
@keyframes dream-frame-cheer{50%{filter:drop-shadow(0 0 12px #ffce57)}}
@media(max-width:700px) and (orientation:portrait){body.thread-adventure .dream-frame .thread-memory-clue{font-size:clamp(13px,3.8vw,17px);line-height:1.2}.dream-frame .thread-memory-clue::before{font-size:22px;margin-bottom:5px}}
@media(orientation:landscape) and (max-height:500px){body.thread-adventure .dream-frame .thread-memory-clue{font-size:12px;line-height:1.15}.dream-frame .thread-memory-clue::before{font-size:18px;margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){.dream-frame.frame-filled>.thread-memory-art{animation:none!important}}body.reduce-motion .dream-frame.frame-filled>.thread-memory-art{animation:none!important}
body.thread-adventure .dream-frame>.thread-memory-slot:disabled{opacity:1;filter:none}
/* Generated wool worlds: artwork moves independently from live touch targets. */
body.thread-adventure #readingScreen .reading-picture picture{display:contents}
body.thread-adventure.rrdd-game-shell #readingScreen[data-scene="1"] .reading-picture img{object-fit:cover!important;object-position:center 60%!important}
body.thread-adventure .cloud-journey{background:#9ad6f0}
body.thread-adventure .cloud-journey::before,body.thread-adventure .cloud-journey::after{display:none}
body.thread-adventure .float-sky-art{position:absolute;inset:-50% -8%;background:url('art/float-sky-v2.png') center/cover;transform:translateY(var(--sky-descent,0%));transition:transform 1.5s cubic-bezier(.2,.7,.3,1);pointer-events:none}
body.thread-adventure .float-cloud-layer{position:absolute;inset:-50% -5%;z-index:2;transform:translateY(var(--cloud-descent,0%));transition:transform 1.5s cubic-bezier(.2,.7,.3,1);pointer-events:none}
body.thread-adventure .float-cloud-layer i{position:absolute;display:block;background:url('art/float-cloud-v2.png') center/contain no-repeat;width:48%;height:22%;left:-12%;top:39%;animation:woolCloudDrift 11s ease-in-out infinite alternate}
body.thread-adventure .float-cloud-layer i:nth-child(2){left:71%;top:56%;width:46%;animation-delay:-5s;animation-duration:14s}
body.thread-adventure .float-cloud-layer i:nth-child(3){left:-13%;top:68%;width:58%;animation-delay:-8s;animation-duration:17s}
body.thread-adventure .cloud-journey .spelling-flight{z-index:3;height:32%;bottom:calc(var(--spell-lift,25%) + 5%);transition:bottom 1.5s cubic-bezier(.2,.7,.3,1);filter:drop-shadow(0 12px 10px #527da755)}
body.thread-adventure .cloud-journey .float-spelling-tray{z-index:6;max-width:570px;padding:8px 12px;background:#fffaf0ee;border:2px solid #fff;border-radius:23px}
body.thread-adventure .cloud-journey .float-word-guide{font-size:clamp(22px,4cqh,36px);letter-spacing:.1em;margin:0 0 3px;color:#194f75}
body.thread-adventure .float-word-guide b{color:#a04e78;background:#fae4ef;border-radius:7px;padding:0 4px}
body.thread-adventure .float-sound-note{text-align:center;font-size:13px;color:#744a68;margin:0 0 5px;line-height:1.15}
body.thread-adventure .cloud-journey .float-slots,body.thread-adventure .cloud-journey .float-letter-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.thread-adventure .cloud-journey .float-letter-tile,body.thread-adventure .cloud-journey .float-letter-slot{width:100%;font-size:clamp(23px,4cqh,34px);height:clamp(44px,7cqh,64px);min-height:44px;padding:3px}
body.thread-adventure .float-rise-trail{position:absolute;pointer-events:none;z-index:4;left:42%;top:35%;color:#fff2ac;font-size:clamp(24px,7cqh,58px);opacity:0}
body.thread-adventure .float-rise-trail i{position:absolute;left:100px;top:85px}body.thread-adventure .float-rise-trail b{position:absolute;left:-90px;top:120px}
body.thread-adventure .float-step-rise .float-rise-trail{animation:floatRiseShimmer 1.5s ease-out}
@keyframes woolCloudDrift{to{translate:18px 10px}}
@keyframes floatRiseShimmer{15%{opacity:1}100%{opacity:0;transform:translateY(100px) scale(.65)}}
body.thread-adventure.rrdd-game-shell #playScreen:has(.pollen-garden) .game-grid{grid-template-rows:minmax(0,1fr)!important;gap:0!important}
body.thread-adventure.rrdd-game-shell #playScreen:has(.pollen-garden) .mission-card{display:none!important}
body.thread-adventure .pollen-garden{background:url('art/garden-meadow-v3.png') center/cover no-repeat}
body.thread-adventure .pollen-garden .garden-instruction-bar{z-index:15}
body.thread-adventure .garden-visit-dots{display:flex;gap:6px;margin-left:auto}
body.thread-adventure .garden-visit-dots i{width:11px;height:11px;background:#fff7de;border:2px solid #bd95a4;border-radius:50%}
body.thread-adventure .garden-visit-dots i.done{background:#ffce56;border-color:#d59728}
body.thread-adventure .pollen-garden .garden-cast-ball{height:36%;width:48%;left:50%;bottom:35%;z-index:2}
body.thread-adventure .pollen-garden .flower-stop{width:clamp(110px,23cqw,245px);height:clamp(135px,42cqh,360px);padding:0;bottom:1%;z-index:5;filter:drop-shadow(0 7px 6px #41694344);opacity:1}
body.thread-adventure .pollen-garden .flower-one{left:7%;right:auto}
body.thread-adventure .pollen-garden .flower-two{right:7%;left:auto;bottom:5%}
body.thread-adventure .pollen-garden .flower-stop img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
body.thread-adventure .pollen-garden .flower-stop::after,body.thread-adventure .pollen-garden .flower-stop::before{display:none}
body.thread-adventure .flower-head-anchor{position:absolute;left:48%;top:32%;width:4%;height:4%;pointer-events:none}
body.thread-adventure .pollen-garden .flower-stop.visited{filter:drop-shadow(0 0 8px #ffe279) drop-shadow(0 7px 7px #537e6555)}
body.thread-adventure .pollen-garden .butterfly-flyer{width:clamp(70px,15cqw,175px);height:clamp(70px,15cqw,175px);animation:none;left:50%;top:27%;z-index:7;pointer-events:none;transition:left 1.2s ease-in-out,top 1.2s ease-in-out}
body.thread-adventure .pollen-garden .butterfly-flyer::after{display:none}
body.thread-adventure .pollen-garden .butterfly-flyer img{width:100%;height:100%;object-fit:contain;animation:pollenWingbeat .65s ease-in-out infinite alternate;transform-origin:50% 60%}
body.thread-adventure .butterfly-pollen{display:none;position:absolute;width:5px;height:5px;border-radius:50%;background:#ffd23e;left:59%;top:73%;box-shadow:7px 3px #ffc824,-4px 6px #ffdc62,8px 10px #ffd54e}
body.thread-adventure .carrying-pollen .butterfly-pollen{display:block}
@keyframes pollenWingbeat{to{transform:scaleX(.74) rotate(5deg)}}
body.thread-adventure .garden-explainer{position:absolute;z-index:10;left:3%;top:16%;width:min(47%,510px);display:grid;grid-template-columns:43% minmax(0,1fr);gap:10px;align-items:center;padding:10px;background:#fffcf2f5;border:3px solid #fff1bb;border-radius:23px;box-shadow:0 6px 18px #526b6440;animation:pop .4s ease-out}
body.thread-adventure .garden-pollen-closeup{width:100%;height:100%;max-height:180px;object-fit:cover;object-position:32% 60%;border-radius:13px}
body.thread-adventure .garden-explainer strong{font:clamp(18px,2.2cqw,27px)/1.12 Froople,sans-serif;color:#79516a}
body.thread-adventure .garden-explainer p{font-size:clamp(13px,1.6cqw,19px);line-height:1.2;margin:7px 0;color:#23596c}
body.thread-adventure .pollen-journey{display:flex;align-items:center;justify-content:center;gap:3px;height:54px;color:#d99a25}
body.thread-adventure .pollen-journey img{height:100%;width:23%;object-fit:contain}
body.thread-adventure .pollen-journey b{font-size:21px;white-space:nowrap}
body.thread-adventure .pollen-garden:has(.garden-explainer:not([hidden])) .garden-cast-ball{visibility:visible}
body.thread-adventure .night-choice-note{position:absolute;z-index:7;top:12%;left:4%;right:4%;margin:0;text-align:center;color:#fff6c4;font:clamp(16px,2.8cqw,28px)/1.2 Froople,sans-serif;text-shadow:0 2px 5px #284361}
body.thread-adventure .night-world .letter-star.next{outline:4px solid #fff5a6;outline-offset:4px;box-shadow:0 0 20px 8px #ffd97888;animation:nextAuroraStar 1.5s ease-in-out infinite}
@keyframes nextAuroraStar{50%{filter:drop-shadow(0 0 14px #fff5b3);scale:1.09}}
@media(max-width:900px) and (orientation:portrait){
 body.thread-adventure .garden-explainer{left:4%;right:4%;width:auto;top:16%;max-height:34%;gap:8px;padding:9px}
 body.thread-adventure .garden-explainer p{font-size:14px}
 body.thread-adventure .garden-explainer strong{font-size:21px}
 body.thread-adventure .pollen-journey{height:42px}
 body.thread-adventure .pollen-garden .garden-cast-ball{width:68%;height:32%;bottom:37%}
 body.thread-adventure .pollen-garden .flower-stop{width:36%;height:36%}
 body.thread-adventure .pollen-garden .flower-one{left:2%}body.thread-adventure .pollen-garden .flower-two{right:2%}
 body.thread-adventure .pollen-garden .butterfly-flyer{width:clamp(70px,21cqw,130px);height:clamp(70px,21cqw,130px)}
}
@media(orientation:landscape) and (max-height:480px){
 body.thread-adventure .cloud-journey .float-spelling-tray{left:55%;right:2%;bottom:3%;padding:6px;max-width:none}
 body.thread-adventure .cloud-journey .spelling-flight{left:0;width:54%;height:46%;bottom:calc(var(--spell-lift,25%) - 16%)}
 body.thread-adventure .cloud-journey .float-word-guide{font-size:22px;margin:0 0 2px}
 body.thread-adventure .float-sound-note{font-size:11px;margin-bottom:3px}
 body.thread-adventure .cloud-journey .float-letter-bank{margin-top:4px}
 body.thread-adventure .cloud-journey .float-letter-tile,body.thread-adventure .cloud-journey .float-letter-slot{font-size:23px;min-height:44px;height:44px}
 body.thread-adventure .garden-explainer{top:23%;width:46%;padding:6px;gap:6px;grid-template-columns:38% minmax(0,1fr)}
 body.thread-adventure .garden-explainer strong{font-size:18px}body.thread-adventure .garden-explainer p{font-size:13px;margin:3px 0}
 body.thread-adventure .pollen-journey{height:32px}
 body.thread-adventure .pollen-garden .garden-cast-ball{height:48%;bottom:19%}
 body.thread-adventure .pollen-garden .flower-stop{height:60%;bottom:0;width:22%}
 body.thread-adventure .night-choice-note{top:22%;font-size:17px}
}
@media(prefers-reduced-motion:reduce){body.thread-adventure :is(.float-sky-art,.float-cloud-layer,.spelling-flight,.butterfly-flyer){transition:none!important}body.thread-adventure :is(.float-cloud-layer i,.float-rise-trail,.butterfly-flyer img,.letter-star.next){animation:none!important}}
body.thread-adventure.rrdd-game-shell #playScreen:has(.cloud-journey,.night-world) .game-grid{grid-template-rows:minmax(0,1fr)!important;gap:0!important}
body.thread-adventure.rrdd-game-shell #playScreen:has(.cloud-journey,.night-world) .mission-card{display:none!important}
body.thread-adventure .cloud-journey .spelling-flight{height:40%;bottom:calc(34% + var(--rise-frac,0) * 11%)}
body.thread-adventure .pollen-garden .garden-cast-ball{left:26%}
body.thread-adventure .night-choice-note{top:auto;bottom:3%;left:10%;right:10%}
@media(max-width:900px) and (orientation:portrait){body.thread-adventure .pollen-garden .garden-cast-ball{left:16%}body.thread-adventure .garden-explainer{max-height:none}}
@media(orientation:landscape) and (max-height:480px){body.thread-adventure .cloud-journey .spelling-flight{height:46%;bottom:calc(var(--spell-lift,25%) - 16%)}body.thread-adventure .night-choice-note{top:auto;bottom:3%;font-size:17px}}
body.thread-adventure .pollen-garden .flower-stop:disabled{opacity:1;cursor:default}
/* Overscan the longer felt stems; the garden edge crops them into the grass. */
body.thread-adventure .pollen-garden .flower-stop{overflow:visible}
body.thread-adventure .pollen-garden .flower-stop img{position:absolute;inset:0 auto auto 0;width:100%;height:133.333333%;max-height:none;object-fit:contain;object-position:center top}

/* Keep the lesson beside the flower being visited, with the friends still watching. */
body.thread-adventure .garden-explainer{width:min(36%,430px);right:auto;max-height:none;transition:none;animation:gardenLessonArrive .3s ease-out}
body.thread-adventure .garden-explainer::after{content:'';position:absolute;top:100%;left:var(--flower-pointer,50%);border:12px solid transparent;border-top-color:#fff1bb;transform:translateX(-50%)}
@media(max-width:900px) and (orientation:portrait){
 body.thread-adventure .garden-explainer{width:92%;grid-template-columns:30% minmax(0,1fr);padding:8px;gap:8px}
 body.thread-adventure .garden-explainer strong{font-size:19px}
 body.thread-adventure .garden-explainer p{font-size:13px;margin:4px 0}
 body.thread-adventure .garden-explainer .pollen-journey{height:34px}
 body.thread-adventure .pollen-garden:has(.garden-explainer:not([hidden])) .garden-cast-ball{left:23%;width:54%;top:17%;bottom:auto;height:24%}
}
@media(orientation:landscape) and (max-height:480px){
 body.thread-adventure .garden-explainer{width:38%;padding:6px;grid-template-columns:25% minmax(0,1fr);gap:5px}
 body.thread-adventure .garden-explainer strong{font-size:16px}
 body.thread-adventure .garden-explainer p{font-size:12px;line-height:1.1;margin:3px 0}
 body.thread-adventure .garden-explainer .pollen-journey{height:26px}
 body.thread-adventure .garden-explainer::after{display:none}
 body.thread-adventure .pollen-garden:has(.garden-explainer:not([hidden])) .garden-cast-ball{left:36%;width:28%;top:23%;bottom:auto;height:30%}
}
/* Generated ocean, plush whale and water VFX share one responsive spout origin. */
body.thread-adventure .splash-world{background:url('art/whale-ocean-v2.png') center/cover no-repeat}
body.thread-adventure .splash-world .sea-horizon{top:66%;height:30%;background:linear-gradient(transparent,#85e6f455 55%,transparent);opacity:.45;animation:feltSeaRipple 4s ease-in-out infinite alternate;pointer-events:none}
body.thread-adventure .sea-glints{position:absolute;inset:65% 0 0;pointer-events:none;background:radial-gradient(ellipse at 20% 55%,#fff9 0 2px,transparent 4px),radial-gradient(ellipse at 73% 22%,#fff8 0 2px,transparent 4px),radial-gradient(ellipse at 57% 76%,#fff7 0 3px,transparent 5px);background-size:180px 95px;animation:seaSparkle 3s ease-in-out infinite alternate}
body.thread-adventure .splash-world .splash-cast{top:20%;left:20%;width:60%;height:30%;z-index:4}
body.thread-adventure .splash-world .charge-whale{left:14%;width:72%;height:40%;bottom:calc(3% + 76px);border-radius:45%;outline-offset:3px}
body.thread-adventure .baby-whale-sprite{width:100%;height:100%;object-fit:contain;pointer-events:none;animation:plushWhaleBreathe 3s ease-in-out infinite;transform-origin:50% 80%}
body.thread-adventure .charging .baby-whale-sprite{animation:plushWhaleCharge .45s ease-in-out infinite}
body.thread-adventure .splash-fired .baby-whale-sprite{animation:plushWhaleSplash .9s ease-out}
body.thread-adventure .splash-world .splash-jet{width:calc(var(--jet-height-px,240px) * 2 / 3);height:var(--jet-height-px,240px);translate:-50% 0;filter:drop-shadow(0 0 7px #e4ffff88)}
body.thread-adventure .splash-jet img{width:100%;height:100%;object-fit:contain;pointer-events:none}
body.thread-adventure .splash-fired .splash-jet{animation:plushWhaleJet 3.2s ease-out both}
body.thread-adventure .whale-water-ring{position:absolute;z-index:6;left:50%;bottom:13%;width:30%;height:4%;border:3px solid #caffffe0;border-radius:50%;opacity:0;pointer-events:none;translate:-50% 0}
body.thread-adventure .splash-fired .whale-water-ring{animation:splashRing 2s ease-out .1s 2}
body.thread-adventure .splash-droplets{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden}
body.thread-adventure .splash-droplets i{position:absolute;left:var(--spout-x,50%);top:var(--spout-y,65%);width:clamp(7px,1cqw,13px);height:clamp(9px,1.3cqw,17px);border:1px solid #efffff;border-radius:55% 45% 55% 45%;background:linear-gradient(135deg,#fff,#7ce9fa88);opacity:0;--drop-x:calc((var(--drop) - 4.5) * 23px);--drop-y:calc(-70px - mod(var(--drop),3) * 22px)}
body.thread-adventure .splash-fired .splash-droplets i{animation:whaleDroplet 1.7s ease-out calc(.35s + var(--drop) * .08s) both}
body.thread-adventure .splash-world .splash-announcement{top:12%;font-size:clamp(20px,3cqw,34px);text-shadow:0 2px 0 #fff8}
body.thread-adventure .splash-world .splash-rainbow{top:16%;height:48%;filter:drop-shadow(0 0 12px #fff7bb);z-index:3}
body.thread-adventure .splash-rainbow path{stroke-dasharray:440;stroke-dashoffset:440;transition:stroke-dashoffset 1.3s ease}
body.thread-adventure .rainbow-shown .splash-rainbow path{stroke-dashoffset:0}
@keyframes feltSeaRipple{to{transform:translateX(2%) scaleX(1.04)}}
@keyframes seaSparkle{to{opacity:.4;translate:6px 3px}}
@keyframes plushWhaleBreathe{50%{transform:translateY(-4px) rotate(-1deg)}}
@keyframes plushWhaleCharge{50%{transform:translateY(3px) scale(1.025,.97)}}
@keyframes plushWhaleSplash{35%{transform:translateY(6px) rotate(2deg)}70%{transform:translateY(-5px)}}
@keyframes plushWhaleJet{0%{opacity:0;transform:scale(.3,.02)}18%,63%{opacity:1;transform:scale(1)}85%{opacity:.9;transform:scale(1.06,.95)}100%{opacity:0;transform:scale(1.14,.8)}}
@keyframes splashRing{10%{opacity:.9}100%{opacity:0;transform:scale(2.5,1.5)}}
@keyframes whaleDroplet{10%{opacity:1}60%{opacity:.9;transform:translate(var(--drop-x),var(--drop-y)) rotate(30deg)}100%{opacity:0;transform:translate(calc(var(--drop-x) * 1.35),55px) rotate(75deg)}}
@media(orientation:landscape) and (max-height:480px){
 body.thread-adventure .splash-world .splash-cast{height:29%;top:22%}
 body.thread-adventure .splash-world .charge-whale{height:46%;bottom:calc(2% + 42px)}
 body.thread-adventure .splash-world .splash-power{left:3%;right:3%;bottom:2%;padding:4px 8px;font-size:12px}
 body.thread-adventure .splash-world .splash-power-track{height:7px;margin-top:3px}
}
body.thread-adventure.reduce-motion :is(.garden-explainer,.splash-rainbow path){transition:none}
body.thread-adventure.reduce-motion :is(.sea-glints,.sea-horizon,.baby-whale-sprite,.splash-jet,.whale-water-ring,.splash-droplets i){animation:none!important}
body.thread-adventure.reduce-motion .splash-fired .splash-jet{opacity:1}
@media(prefers-reduced-motion:reduce){body.thread-adventure :is(.sea-glints,.sea-horizon,.baby-whale-sprite,.splash-jet,.whale-water-ring,.splash-droplets i){animation:none!important}body.thread-adventure .splash-fired .splash-jet{opacity:1}body.thread-adventure :is(.garden-explainer,.splash-rainbow path){transition:none}}

body.thread-adventure .pollen-garden .butterfly-flyer{width:clamp(70px,12cqw,140px);height:clamp(70px,12cqw,140px)}
@media(max-width:900px) and (orientation:portrait){body.thread-adventure .pollen-garden .butterfly-flyer{width:clamp(70px,21cqw,130px);height:clamp(70px,21cqw,130px)}}

@keyframes gardenLessonArrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
