.readerPage .singleBook{align-content:start;width:100%;min-width:0}.readerPage .surpriseReader{gap:0}.readerPage .surpriseStage{width:100%;height:clamp(300px,100dvh - 250px,760px);display:block;container-type:size}.readerPage .surpriseExperience{place-items:center;display:grid;position:absolute;inset:0}.readerPage .surpriseVisual{width:min(calc(100cqw - 96px),calc((100cqh - 10px) * var(--panel-ratio)));min-width:0;aspect-ratio:var(--panel-ratio);border:0;border-radius:8px;box-shadow:0 3px 16px #12393618}.readerPage .surpriseImage{object-fit:contain!important;height:auto!important}.readerPage .surpriseVisual.step-2 .surpriseImage{height:auto!important}.readerPage .surpriseArrow{z-index:2;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.readerPage .surpriseArrow:last-child{left:auto;right:8px}.readerPage .surpriseReactions{width:min(640px,100%);box-shadow:none;border:1px solid #12393622}.readerPage .surpriseProgress{margin:0 auto 8px}.readerPage .surpriseActions{margin:8px 0}.readerPage .surpriseActions>button{display:none}.readerPage .surpriseRead{box-shadow:none;border:0;border-radius:20px;padding:9px 15px}.readerPage .surpriseReactions:has(.storyComposer){overscroll-behavior:contain;max-height:55dvh;overflow:auto}@media (max-width:800px){body:has(.readerPage [data-reader-view=surprise][data-signed-in=true]){padding-bottom:0}.readerPage:has([data-reader-view=surprise][data-signed-in=true]){height:calc(100dvh - var(--mobile-navigation-height,76px));min-height:0;padding:0 8px;overflow:hidden}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .siteHeader{flex:0 0 56px;height:56px;min-height:56px}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .readerIntro{flex:none;margin:3px auto 6px}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .readerIntro>p{display:none}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .readerIntro h1{margin:0;font-size:25px}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .singleBook{flex-direction:column;flex:1;min-height:0;display:flex}.readerPage .readerViewBar{flex:none;width:100%;margin:0 auto 8px}.readerPage .readerViewBar>div{width:100%}.readerPage .readerViewBar button{flex:1 0 auto;padding:9px 7px;font-size:8px}.readerPage .surpriseProgress{margin:0 auto 6px}.readerPage .surpriseProgress span{font-size:9px}.readerPage .surpriseProgress span i{width:23px;height:23px}.readerPage:has([data-signed-in=true]) .surpriseReader{flex:1;grid-template-rows:auto minmax(0,1fr) auto auto;width:100%;min-height:0}.readerPage:has([data-signed-in=true]) .surpriseStage{height:auto;min-height:0}.readerPage .surpriseVisual{width:min(100cqw,calc((100cqh - 8px) * var(--panel-ratio)));border-radius:5px}.readerPage .surpriseArrow{opacity:.9;width:34px;height:34px;left:2px;box-shadow:0 2px 7px #12393633}.readerPage .surpriseArrow:last-child{right:2px}.readerPage .surpriseActions{margin:5px 0}.readerPage .surpriseRead{padding:7px 14px;font-size:10px}.readerPage .surpriseReactions{background:#fffdf7;border-bottom:0;border-radius:15px 15px 0 0;width:100%;margin:0;animation:none}.readerPage .surpriseReactions .quickReactions{gap:5px;margin:5px 0;grid-template-columns:repeat(4,minmax(0,1fr))!important}.readerPage .surpriseReactions .quickReactions button{padding:4px 2px;min-height:46px!important}.readerPage .surpriseReactions .quickReactions button i{font-size:19px}.readerPage .surpriseReactions .quickReactions button span{font-size:9px}.readerPage .surpriseReactions .communityIntro>b{font-size:19px}.readerPage .surpriseReactions .storyPrompt{min-height:30px;font-size:10px}.readerPage .surpriseReactions .readerCommentsLink{margin-top:4px;font-size:10px}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .readerLibrary{display:none}:is(.readerPage .surpriseReactions:has(.storyComposer),.readerPage .surpriseReactions:has(.communityAuthGate)){overscroll-behavior:contain;max-height:45dvh;overflow:auto}}@media (max-width:800px) and (max-height:650px){.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .readerIntro{display:none}.readerPage:has([data-reader-view=surprise][data-signed-in=true]) .siteHeader{flex-basis:46px;height:46px;min-height:46px}.readerPage .surpriseReactions .compactCommunity{padding:5px 7px!important}.readerPage .surpriseReactions .communityIntro>b{font-size:16px}.readerPage .surpriseReactions .quickReactions button{min-height:40px!important}.readerPage .surpriseReactions .quickReactions button span{font-size:8px}.readerPage .surpriseReactions .storyPrompt{min-height:25px;padding-block:3px}}.readerHeading{justify-content:space-between;align-items:center;gap:12px;width:min(1040px,100%);margin:12px auto 10px;display:flex}.readerHeading h1{letter-spacing:-1.3px;color:#123936;margin:0;font-size:clamp(26px,4vw,40px);line-height:1.1}.readerHeading h1 em{font-family:var(--font-hand);color:#ee654f;font-weight:500}.readerOptionsToggle{color:#123936;cursor:pointer;background:#fffdf7;border:1px solid #12393655;border-radius:12px;flex-shrink:0;align-items:center;gap:7px;min-height:40px;padding:8px 12px;font-size:12px;display:flex}.readerPage .readerViewBar{margin:0 auto 10px}.readerPage .surpriseStage{height:clamp(320px,100dvh - 190px,900px)}@media (max-width:800px){.readerPage:has([data-reader-view=surprise][data-signed-in=true]){padding:env(safe-area-inset-top,0px) 4px 0}.readerPage .readerHeading{box-sizing:border-box;flex:none;gap:8px;margin:8px auto 10px;padding:0 8px}.readerPage .readerHeading h1{font-size:25px}.readerPage .readerOptionsToggle{min-height:40px;padding:7px 9px;font-size:11px}.readerPage .readerViewBar>div{border-radius:14px;flex-wrap:wrap;justify-content:center}.readerPage .readerViewBar button{min-height:40px;font-size:11px}.readerPage .surpriseVisual{width:min(100cqw,calc(100cqh * var(--panel-ratio)));border-radius:3px}.readerPage .surpriseProgress{margin-bottom:5px}.readerPage .surpriseReactions .yesButVote{margin:5px 0}.readerPage .surpriseReactions .yesButVoteChoices button{min-height:40px;padding:7px;font-size:13px}.readerPage .surpriseReactions .yesButVoteResult{gap:6px;margin-top:9px}.readerPage .surpriseReactions .communityIntro>span{display:none}.readerPage .surpriseReactions .communityIntro>b{font-size:17px}}.readerPage .compactCommunity .storyPrompt{text-align:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin-inline:auto}@media (max-width:360px){.readerPage .surpriseReactions .compactCommunity{padding-bottom:48px!important}}
