/* Illustrated results: real readable type and live controls on the existing book artwork. */
body[data-screen="results"]{--ink:#302019;--muted:#76553c;--line:#d1b587;background:#21100c url('/assets/blank-em/pack/background/library_background.png') center top/cover fixed no-repeat;color:#fff0d0}
body[data-screen="results"] .topbar{min-height:44px;padding:6px 26px;background:#1d100ddd;color:#f9e7c4;border:0;gap:22px}
body[data-screen="results"] .topbar .wordmark{font-size:19px;color:#f6d27c}
body[data-screen="results"] .wordmark small{display:none}
body[data-screen="results"] .audio-controls .quiet{color:#fff1d4;padding:6px 10px}
body[data-screen="results"] .volume-control{color:#f1dcba}
body[data-screen="results"] .volume-control input{accent-color:#e8c166}
body[data-screen="results"] main{max-width:1500px;padding:0 22px 24px;min-height:calc(100vh - 100px)}
body[data-screen="results"] .site-footer{color:#efdbb8;max-width:1500px;font-size:11px}
.storybook-header{height:182px;display:grid;grid-template-columns:minmax(0,1fr) 260px;position:relative;align-items:start;gap:20px;z-index:1}
.storybook-brand{display:flex;align-items:center;gap:18px;padding-top:17px;min-width:0}
.storybook-brand .welcome-logo{width:clamp(250px,31vw,460px);height:131px;object-fit:contain;flex-shrink:1}
.storybook-stamp{background:url('/assets/blank-em/pack/ui/parchment_note.png') center/100% 130% no-repeat;color:#462b1a;padding:27px 29px;text-align:center;transform:rotate(-3deg);max-width:340px}
.storybook-stamp strong{font:700 clamp(18px,2vw,28px)/1.15 Georgia,serif;display:block}
.storybook-stamp small{font:700 10px/1.45 system-ui,sans-serif;display:block;margin-top:7px;color:#7d5837}
.storybook-host{position:relative;height:240px;align-self:end;pointer-events:none;z-index:4}
.storybook-host .cindy-host{width:100%;max-width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end}
.storybook-host .cindy-portrait{width:250px;max-width:100%;height:218px;object-fit:contain;object-position:bottom;margin:0}
.storybook-host .cindy-name{width:190px;margin:-10px 0 0;flex:none}
.storybook-tabs{display:flex;gap:7px;align-items:end;padding:0 35px;margin:-26px 0 -12px;position:relative;z-index:3;min-height:63px;max-width:calc(100% - 270px)}
.storybook-tabs button,.storybook-tabs a{border:0;background:transparent var(--tab-art,url('/assets/blank-em/pack/ui/category_card_idle.png')) center/100% 120% no-repeat;color:#402817;padding:21px 23px 23px;min-height:63px;font:700 20px/1.15 Georgia,serif;text-decoration:none;cursor:pointer;border-radius:0;text-align:center;box-shadow:none;transition:filter .15s,transform .15s}
/* Preserve the transparent artwork: the generic button hover resets background images. */
.storybook-tabs button:hover:not(:disabled),.storybook-tabs a:hover{background:transparent var(--tab-art,url('/assets/blank-em/pack/ui/category_card_idle.png')) center/100% 120% no-repeat;filter:drop-shadow(0 0 3px #ffe4a6) drop-shadow(0 0 8px #23d8bd)}
.storybook-tabs button.active,.storybook-tabs button[aria-selected="true"]{--tab-art:url('/assets/blank-em/pack/ui/category_card_selected.png');color:#005e5d;filter:drop-shadow(0 0 3px #ffe4a6) drop-shadow(0 0 6px #23d8bd)}
.storybook-tabs button:focus-visible,.storybook-tabs a:focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px;filter:drop-shadow(0 0 2px #fff9de) drop-shadow(0 0 9px #48ffe0)}
.storybook-tabs .round-tabs{margin:0 0 0 auto;gap:4px;flex-wrap:wrap}
.storybook-tabs .round-tabs button{font-size:16px;padding:17px 19px}
.illustrated-book{position:relative;color:#2b211a;background:url('/assets/blank-em/pack/stage/main_desk_panel_v2.png') center/110% 117% no-repeat;padding:65px 7.5% 65px 8%;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;min-height:760px;isolation:isolate}
.storybook-main{min-width:0;padding-left:12px}
.story-kicker{font:800 10px/1.3 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#946841;margin:0 0 8px;padding-left:25px}
.storybook-main h1{font:800 clamp(33px,3.8vw,57px)/1.04 Georgia,serif;letter-spacing:-.045em;margin:0 0 25px;position:relative;padding-bottom:17px;max-width:850px;color:#341a11;text-wrap:balance}
.storybook-main h1:after{content:'';position:absolute;bottom:0;left:0;width:min(440px,95%);height:12px;background:#00a5a1;mask:url('/assets/blank-em/pack/ui/ink_brush_mask.png') center/100% 240% no-repeat}
.storybook-prose{font:500 clamp(20px,1.85vw,28px)/1.58 Georgia,'Times New Roman',serif}
.storybook-prose p{margin:0 0 14px}
.storybook-prose .story-ending{font-style:italic;margin-top:18px;color:#4d3220}
.storybook-prose .story-word{border-bottom:3px solid var(--color);background:color-mix(in srgb,var(--color) 21%,transparent);border-radius:2px;padding:0 2px;font-weight:700;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.storybook-prose .story-word:focus-visible{outline:2px solid var(--color);outline-offset:4px}
.fallback-word{color:#000;font-weight:800;text-decoration:underline;text-decoration-color:#000;text-underline-offset:3px}
.story-illustration{margin:-4px -13px -15px;display:flex;align-items:center;justify-content:center}
.story-illustration img{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;mix-blend-mode:multiply}
.storybook-notes{min-width:0;border-left:1px solid #ba915755;padding-left:24px;padding-top:48px}
.storybook-notes h2{font:700 26px/1.2 Georgia,serif;letter-spacing:-.03em;margin:0 0 16px}
.storybook-writers{display:grid;gap:9px}
.storybook-writer{display:flex;align-items:center;gap:10px;min-width:0;padding:5px 0}
.storybook-writer>div{min-width:0;flex:1;padding:6px 9px;background:color-mix(in srgb,var(--color) 22%,transparent);border-left:3px solid var(--color)}
.storybook-writer strong{display:block;font:700 21px/1.2 Georgia,serif;overflow-wrap:anywhere}
.storybook-writer strong small{font:600 11px/1.2 system-ui,sans-serif;white-space:nowrap}
.storybook-writer>div>span{display:block;font:500 11px/1.5 system-ui,sans-serif;margin-top:3px;color:#664b36}
.storybook-writer .player-portrait{width:43px;height:43px;border-width:2px;font-size:18px}
.storybook-coverage{font:12px/1.55 system-ui,sans-serif;margin:18px 0 15px!important}
.storybook-coverage strong,.storybook-coverage span{display:block}
.storybook-coverage .fallback-key{color:#000;margin-top:6px}
.storybook-adjustments{font:12px/1.5 system-ui,sans-serif;border-top:1px solid #cbb082;padding-top:12px;margin:15px 0}
.storybook-adjustments summary{cursor:pointer;font-weight:700;min-height:26px}
.storybook-adjustments p{font-size:11px;color:#806241;margin:4px 0 8px}
.storybook-adjustment{border-left:3px solid var(--color);padding-left:7px;margin:5px 0}
.storybook-score{text-align:center;background:#f9e8c2;border:1px solid #b78743;box-shadow:3px 4px 0 #c69b6040;min-height:195px;padding:25px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:25px;transform:rotate(2deg)}
.storybook-score>span{font:700 21px/1.2 Georgia,serif}
.storybook-score>strong{font:800 63px/1.05 Georgia,serif;color:#00635f;margin:7px 0}
.storybook-score>small{font:10px/1.3 system-ui,sans-serif;color:#755131;margin-top:9px}
.storybook-footer{display:flex;align-items:center;gap:18px;padding:17px 28px;background:#25130fea;border:1px solid #b4804644;margin:0 4.3%;border-radius:8px;color:#f9e4b9}
.storybook-footer .results-actions{margin-left:auto;flex-wrap:wrap;justify-content:end}
.storybook-footer .results-actions button{font:700 18px Georgia,serif;padding:12px 23px;background:#fff0cd;color:#3d2c1c;border-color:#c49a57}
.storybook-footer .results-actions .primary{background:#006e67 url('/assets/blank-em/pack/ui/button_primary_teal.png') center/108% 196% no-repeat;color:#fff3ca;min-width:185px}
.storybook-footer .round-score-chip{font:13px/1.4 system-ui,sans-serif;min-width:80px}
.round-score-chip strong{display:block;font:700 24px Georgia,serif;color:#ffe594}
.storybook-footer .ready-copy{font-size:12px;margin-left:auto}
.storybook-scores{color:#38291c;background:#fff1d5;padding:30px;margin:20px 4.5%;border:1px solid #bd8e49;border-radius:10px}
.storybook-scores .panel{background:#fff8e7}
.demo-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 4.5% 16px;padding:12px 16px;color:#f6e3c2;background:#23130ce8;border-radius:8px;font:12px/1.5 system-ui,sans-serif}
.demo-tools a{color:#fff5d3;font-weight:700}
.demo-tools label{display:flex;align-items:center;gap:10px;color:#f6e3c2}
.demo-tools select{background:#fff0d1;color:#422d1d;font-size:14px;max-width:290px}
.results-review{margin:12px 4.3% 32px;padding:22px 26px;color:#fff0ce;background:linear-gradient(120deg,#302016f7,#1b2e29f7);border:1px solid #b89052;border-radius:16px;box-shadow:0 8px 25px #120b0755}
.review-heading{display:flex;align-items:center;justify-content:space-between;gap:22px}
.review-heading h2{color:#ffe6ab;font:700 28px/1.15 Georgia,serif;margin:0 0 8px}
.review-progress{margin:0;font:700 14px/1.5 system-ui,sans-serif}
.review-progress>span{font-size:12px;color:#e0c99f;font-weight:400;margin-left:14px}
.review-timing-copy{max-width:490px;margin:8px 0 0;font:12px/1.5 system-ui,sans-serif;color:#e0c99f}
.results-clock{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:10px 16px;border:1px solid #d8b46c;border-radius:10px;background:#173b34;color:#fff1c7;box-shadow:0 3px 12px #0003;font:700 12px/1.2 system-ui,sans-serif}
.results-clock>strong{font:800 32px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:#ffe59e;min-width:3ch}
.review-heading>.results-clock{flex-direction:column;gap:5px;text-align:center}
@media(max-width:1100px){.review-heading{flex-wrap:wrap}.review-heading>div:first-child{flex:1 1 350px}.review-heading>.results-clock{flex-direction:row}.review-actions{margin-left:auto}}
@media(max-width:760px){.review-heading>div:first-child{flex:initial}.review-heading>.results-clock{align-self:flex-start}.review-actions{margin-left:0}.results-clock{padding:9px 12px}.results-clock>strong{font-size:28px}}
.review-actions{display:flex;gap:12px;flex-shrink:0}
.review-actions button{min-height:52px;min-width:134px;padding:12px 24px;border-radius:10px;font:700 20px/1.2 Georgia,serif;transition:filter .15s,box-shadow .15s}
.review-actions .review-done{background:linear-gradient(#089c91,#006d66);border:1px solid #80e5cb;color:#fff3d4;box-shadow:inset 0 0 0 3px #0c5a5777,0 3px 8px #0005}
.review-actions .review-next{background:linear-gradient(#fff0cb,#e7c78d);border:1px solid #b88f4b;color:#452e18}
.review-actions button:hover:not(:disabled){filter:brightness(1.13);box-shadow:0 0 14px #ebc26370}
.review-actions button:focus-visible{outline:3px solid #ffe69d;outline-offset:4px}
.review-actions .confirmed:disabled{opacity:1;background:#244d41;border-color:#7da990;color:#ceeacd;cursor:default}
.review-people{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #c7a87540}
.review-people li{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;background:#fff5db0b;border:1px solid #c7a87530;font:12px/1.25 system-ui,sans-serif}
.review-people li>span:last-child{font-size:11px;color:#d4c6ae}
.review-dot{display:grid;place-items:center;width:21px;height:21px;border:2px solid var(--player-color);border-radius:50%;font-weight:800;color:#fff}
.review-people .is-done{background:#61b9921c;border-color:#83c5a24d}
.review-people .is-done>span:last-child{color:#aee7c8}
.review-people .is-done .review-dot{background:var(--player-color)}
@media(max-width:760px){.results-review{margin:12px 2% 24px;padding:18px}.review-heading{align-items:stretch;flex-direction:column;gap:16px}.review-heading h2{font-size:25px}.review-progress>span{display:block;margin:3px 0 0}.review-actions button{flex:1;min-width:0;padding:12px 14px;font-size:19px}.review-people{gap:6px;margin-top:16px}.review-people li{padding:6px 8px}}
@media(prefers-reduced-motion:reduce){.review-actions button{transition:none}}
@media(min-width:1600px){.storybook-prose{font-size:28px}.story-illustration img{max-height:435px}}
@media(max-width:1100px){.storybook-header{grid-template-columns:minmax(0,1fr) 190px;height:160px}.storybook-host{height:212px}.storybook-host .cindy-portrait{width:210px;height:190px}.storybook-host .cindy-name{width:160px}.storybook-brand{gap:5px}.storybook-brand .welcome-logo{width:280px}.storybook-stamp{padding:23px 16px}.storybook-stamp strong{font-size:19px}.storybook-tabs{max-width:calc(100% - 190px);padding:0 28px}.storybook-tabs button{font-size:17px;padding:18px}.illustrated-book{grid-template-columns:minmax(0,1fr) 225px;gap:20px;padding:55px 7% 57px}.storybook-notes{padding-left:17px}.storybook-writer strong{font-size:19px}.storybook-prose{font-size:22px;line-height:1.6}.storybook-main h1{font-size:40px}.storybook-notes h2{font-size:23px}.storybook-score>strong{font-size:50px}.storybook-footer{padding:14px 20px}}
@media(max-width:760px){body[data-screen="results"] main{padding:0 8px 20px}.storybook-header{height:152px;grid-template-columns:minmax(0,1fr) 115px;gap:0}.storybook-brand{display:block;padding:6px 0 0 12px}.storybook-brand .welcome-logo{width:245px;max-width:100%;height:80px}.storybook-stamp{padding:9px 18px;transform:none;max-width:265px;margin-top:-8px}.storybook-stamp strong{font-size:17px}.storybook-stamp small{font-size:8px;margin-top:3px}.storybook-host{height:153px}.storybook-host .cindy-portrait{width:132px;height:132px}.storybook-host .cindy-name{width:105px}.storybook-tabs{max-width:none;padding:0 15px;margin:0 0 -13px;min-height:50px;gap:1px}.storybook-tabs button{font-size:17px;min-height:50px;padding:14px}.storybook-tabs .round-tabs button{font-size:12px;padding:10px;min-height:44px}.storybook-tabs .round-tabs{width:auto;margin-left:auto}.illustrated-book{display:flex;flex-direction:column;gap:10px;padding:48px 9% 45px;background-size:100% 100%;min-height:0}.storybook-main h1{font-size:34px;line-height:1.08;margin-bottom:20px}.storybook-prose{font-size:21px;line-height:1.55}.story-illustration{margin:0 -9px}.story-illustration img{max-height:320px}.storybook-notes{padding:20px 0 0;border-left:0;border-top:1px solid #c5a575;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.storybook-notes h2{grid-column:1/-1}.storybook-writers{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:5px 12px}.storybook-writer{gap:6px}.storybook-writer .player-portrait{width:33px;height:33px;font-size:15px}.storybook-writer>div{padding:5px}.storybook-writer strong{font-size:17px}.storybook-writer strong small{font-size:9px}.storybook-writer>div>span{font-size:10px}.storybook-score{grid-column:2;grid-row:3/5;min-height:156px;padding:25px 8px;margin-top:12px}.storybook-score>strong{font-size:45px}.storybook-score>span{font-size:17px}.storybook-adjustments{align-self:start}.storybook-coverage{font-size:11px}.storybook-footer{margin:0 6%;padding:14px;flex-wrap:wrap;gap:12px}.storybook-footer .results-actions{width:100%;justify-content:stretch;gap:8px;margin:0}.storybook-footer .results-actions button{flex:1;font-size:17px;min-width:0}.storybook-footer .ready-copy{font-size:11px}.storybook-footer .round-score-chip{min-width:60px;font-size:10px}.round-score-chip strong{font-size:20px}.demo-tools{margin:0 6% 16px;flex-direction:column;align-items:stretch;gap:8px}.demo-tools label{display:block}.demo-tools select{width:100%;max-width:none;margin-top:5px}.storybook-scores{padding:16px;margin:16px 6%}}
@media(prefers-reduced-motion:reduce){.storybook-tabs *{transition:none}}
@media(min-width:761px){.illustrated-book{padding-top:80px;padding-bottom:145px}}
@media(max-width:760px){.illustrated-book{background:#fceccf;border:2px solid #c29760;border-radius:9px 18px 18px 9px;box-shadow:-4px 0 0 #9f753f,0 8px 20px #130b0780;padding:34px 6%}.storybook-main{padding-left:0}.story-kicker{padding-left:0}.storybook-score{transform:none}.storybook-writers{gap:5px 8px}}
