/* Loose stickers live in the book's side margins, not in an extra footer. */
.stella-edition .desk{min-height:0;max-height:none;overflow:clip}
.stella-edition .desk .desk-tools{top:var(--tools-top,650px);bottom:auto}
.stella-edition .desk-tools[hidden]{display:block!important;visibility:hidden}
.reading-stage{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:1;z-index:7;transition:opacity .25s}
.desk:not(.open) .reading-stage{opacity:0;visibility:hidden}
.desk.intro-playing .desk-note,.desk.intro-playing .music-corner{opacity:0;visibility:hidden;pointer-events:none}
.reading-invite,.reading-stage .ensemble-label{display:none}
.stella-edition .character,.stella-edition .desk.expanded .character,.stella-edition .desk.intro-playing .character,.stella-edition .desk.open .character{width:var(--reader-width,160px);height:var(--reader-height,240px);bottom:auto;transition:opacity .2s,filter .2s;pointer-events:auto;clip-path:none;z-index:8;filter:drop-shadow(2px 4px 2px #29160c25)}
.stella-edition .desk.open .character{visibility:visible}
.stella-edition .desk:not(.intro-playing) .character{transition:opacity .2s,filter .2s}
.stella-edition .character-sprite.reading-pose,.storyboard-figure.reading-pose,.storyboard-thumb.reading-pose{background-image:url('assets/stella-reading-4.png');background-size:200% 200%;background-repeat:no-repeat}
.character[data-frame="12"] .reading-pose,.character[data-frame="13"] .reading-pose,.reading-pose.reading-upper{background-size:200% 170%}
.character[data-frame="14"] .reading-pose,.character[data-frame="15"] .reading-pose,.reading-pose.reading-lower{clip-path:inset(20% 0 0 0)}
.stella-edition .character-bubble{display:none}
.stella-edition .character:focus-visible{outline:2px dashed #d8c19a;outline-offset:-12px}
.character:after{content:'turn a page ↗';position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#f1dfbd;font:15px var(--signature);opacity:0;transition:opacity .15s;pointer-events:none}
.desk.open .character:hover:after,.desk.open .character:focus-visible:after{opacity:1}
.reading-stage .little-ensemble{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;overflow:visible;pointer-events:none}
.reading-stage .ensemble-member{position:absolute;right:auto;width:var(--animal-size,76px);height:var(--animal-size,76px);pointer-events:auto}
.reading-stage .ensemble-cat{left:var(--cat-x,40px);top:var(--cat-y,100px);rotate:-7deg}
.reading-stage .ensemble-rabbit{left:var(--rabbit-x,90%);top:var(--rabbit-y,520px);rotate:6deg}
.reading-stage .floating-notes{font-size:17px}
.ensemble-member:after{content:'Play a little music';position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);font:12px var(--signature);color:#ead5b2;opacity:0;transition:opacity .15s;white-space:nowrap;pointer-events:none}
.music-playing .ensemble-member:after{content:'Pause the music'}
.ensemble-member:hover:after,.ensemble-member:focus-visible:after{opacity:1}
@media(min-width:761px){.stella-edition .folio{left:calc(50% - 8px)}}
@media(min-width:761px) and (max-width:1100px){.stella-edition .folio{width:calc(100% - 264px)}.stella-edition .note-first>p,.stella-edition .note-second>p{font-size:18px}.stella-edition .note-first>.handwritten,.stella-edition .note-second>.handwritten{font-size:11px}.stella-edition .scrap-label{font-size:11px}}
@media(max-width:760px){
  .stella-edition .folio,.stella-edition .desk.expanded .folio,.stella-edition .desk.expanded:not(.open) .folio{top:190px}
  .stella-edition .desk:not(.expanded) .folio{top:270px}
  .stella-edition .desk .desk-tools{top:var(--tools-top,1420px)}
  .stella-edition .desk .music-corner{top:178px;width:82px;height:82px;right:0}
  .stella-edition .music-corner .record-player{width:82px;height:82px}
  .record-disc{left:calc(42% - 22px);top:calc(65.8% - 22px);width:44px;height:44px}
  .music-panel{top:86px}
  .desk .intro-caption{top:172px!important;font-size:18px!important}
  .stella-edition .desk-note{visibility:hidden}
  .ensemble-member:after{display:none}
  .character:after{display:none}
}
@media(prefers-reduced-motion:reduce){.reading-stage,.character:after,.ensemble-member:after{transition:none}}
