/* Sales funnel and the two companion workspaces. Gameplay remains in adventure.css. */
html{scroll-behavior:smooth;scroll-padding-top:100px}.site-header{justify-content:space-between}.site-header nav{margin-left:auto;gap:28px}.site-header .nav-link{min-height:44px}.site-header .parent-tag{margin-left:6px;font-size:7px}.sales-section,.portal-section{scroll-margin-top:105px}.sales-hero .btn{text-decoration:none}.sales-promise{display:flex;justify-content:center;gap:45px;padding:22px 10px;border-bottom:1px solid #2b3551;font-size:12px;color:#b6c4df}.returning-team{display:flex;align-items:center;gap:15px;padding:15px 20px;margin-top:18px;border:1px solid #3d496c;border-radius:7px;background:#151d32;font-size:11px;color:#b0bfda}.returning-team strong{display:block;color:#e6e8f6;margin-bottom:3px}.returning-team .text-link{font-size:11px;margin-left:auto}.returning-team .text-link:last-child{margin-left:0}.sales-section{padding:78px 0;border-bottom:1px solid #28334f}.sales-section h2,.sales-finale h2,.portal-section h2{font-size:clamp(30px,3.5vw,52px);line-height:1.12;letter-spacing:-.045em;color:#efedff;font-weight:650;margin:15px 0 0}.sales-section h2 em,.sales-finale h2 em,.portal-section h2 em,.portal-header h1 em{font-family:Caveat,cursive;font-weight:500;color:#b8a2ff;font-size:1.22em;letter-spacing:-.025em}.section-kicker{line-height:1.65}.story-intro{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.sales-prose p{font-size:16px;line-height:1.85;color:#b9c6df;margin:0 0 20px}.sales-prose p:last-child{margin-bottom:0}.sales-prose .prose-highlight{color:#e4dcff;font-weight:600}.sales-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:36px}.sales-heading>p{font-size:14px;line-height:1.8;color:#a6b6d3;max-width:400px;margin:0}.activity-story{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;align-items:center;margin-top:35px}.activity-story.reverse{grid-template-columns:1fr 1.15fr;margin-top:70px}.activity-story.reverse figure{grid-column:2;grid-row:1}.activity-story.reverse .activity-copy{grid-column:1;grid-row:1}.activity-story figure{margin:0;position:relative}.activity-story figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border:1px solid #48526c;border-radius:10px}.activity-story figcaption{font-size:10px;line-height:1.5;color:#8496b9;margin-top:10px}.activity-copy h3{font-size:clamp(23px,2.4vw,36px);line-height:1.22;color:#e6e7f8;letter-spacing:-.035em;margin:15px 0 20px}.activity-copy p{font-size:15px;line-height:1.85;color:#aebed8;max-width:440px;margin-bottom:24px}.activity-note{font-size:12px;color:#a7dfd6}.journey-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;list-style:none;padding:0;margin:40px 0 0;counter-reset:none}.journey-steps li{border-top:1px solid #526182;padding-top:24px}.journey-steps b{font:13px monospace;color:#b49cf6}.journey-steps h3{font-size:21px;letter-spacing:-.025em;margin:16px 0 12px;color:#e3e6f5}.journey-steps p{font-size:14px;line-height:1.8;color:#a8bad6}.sales-section.pixel-party .character-card{transition:transform .2s}.sales-section.pixel-party .character-card:hover{transform:translateY(-5px)}.package-section{display:grid;grid-template-columns:1fr .9fr;gap:7%;align-items:center}.package-visual h2{font-size:48px}.package-art{position:relative;height:360px;margin:28px 0 10px;isolation:isolate}.package-art>img{height:325px;width:auto;max-width:75%;object-fit:contain;transform:rotate(-8deg);filter:drop-shadow(0 12px 25px #0005);border-radius:3px;position:absolute;left:35px;top:0;z-index:-1}.package-art>.package-piko{position:absolute;width:155px;right:0;bottom:20px;box-shadow:0 8px 30px #0004}.paper-envelope{position:absolute;bottom:0;left:0;background:#c7b598;color:#3d3b50;border:1px solid #7d7182;border-radius:5px;width:220px;height:125px;font-size:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(7deg);box-shadow:0 10px 30px #0005}.paper-envelope small{font:9px monospace;letter-spacing:.15em}.package-note{font-size:12px;color:#a6bad8}.offer-card{border:1px solid #7561ab;border-radius:12px;background:linear-gradient(145deg,#24213d,#141f36);padding:36px}.offer-label{font:9px monospace;letter-spacing:.14em;color:#bcaceb}.offer-card h3{font-size:32px;line-height:1.2;letter-spacing:-.035em;margin:18px 0 25px;color:#eee9ff}.offer-list{padding:0;list-style:none;margin:0}.offer-list li{padding:9px 0 9px 24px;position:relative;font-size:13px;color:#c3cce3}.offer-list li:before{content:'✓';position:absolute;left:0;color:#9ee0ce}.offer-price{display:flex;align-items:center;gap:24px;margin:26px 0;padding-top:24px;border-top:1px solid #4d496c}.offer-price strong{font-size:53px;font-weight:650;letter-spacing:-.05em;color:#f2e9ff;white-space:nowrap}.offer-price strong small{font-size:24px}.offer-price>span{font-size:10px;line-height:1.9;color:#b5b6d0}.offer-card>.btn{width:100%;white-space:normal;font-size:13px;min-height:54px}.offer-card .offer-footnote{font-size:10px;line-height:1.6;text-align:center;color:#a8aec7;margin:15px 0 8px}.offer-card>.text-link{display:block;margin:auto;font-size:11px}.faq-section{display:grid;grid-template-columns:1fr 1.3fr;gap:7%}.faq-list details{border-bottom:1px solid #3b4765}.faq-list summary{padding:22px 30px 22px 0;cursor:pointer;font-size:16px;line-height:1.5;color:#dfe4f4}.faq-list details:first-child summary{padding-top:0}.faq-list p{font-size:14px;line-height:1.8;color:#a8bad4;margin:0 0 22px}.sales-finale{padding:80px 20px 90px;text-align:center}.sales-finale p{font-size:15px;color:#b2c0dc;line-height:1.8;margin:22px 0 28px}.sales-finale .btn{text-decoration:none}.sales-finale .signal-wave{display:block;margin-bottom:26px;color:#a8dcd6}.portal-header,.studio-header{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:55px 0 35px;border-bottom:1px solid #3a4562}.portal-header h1{font-size:clamp(34px,4vw,58px);line-height:1.12;letter-spacing:-.04em;margin:15px 0 25px;color:#eeeaff}.portal-header p,.studio-header p{font-size:15px;line-height:1.8;color:#aebedb;max-width:700px}.portal-tags{display:flex;gap:18px;font:10px monospace;color:#b5c0db;margin-top:22px;flex-wrap:wrap}.portal-character{flex:0 0 200px;text-align:center}.portal-character>.pixel-sprite{width:135px;margin:0 auto 14px}.portal-character>span{font-family:Caveat,cursive;font-size:24px;color:#c9b7ff;line-height:1.2}.prototype-access{font-size:11px;line-height:1.65;padding:12px 16px;background:#19243a;color:#b7c6e0;border-left:2px solid #8294bf;margin:18px 0}.portal-shortcuts{display:flex;gap:15px;flex-wrap:wrap;padding:10px 0 25px}.portal-shortcuts a{font-size:11px;color:#beb3ec;padding:10px 14px;border:1px solid #3e496b;border-radius:5px;text-decoration:none;min-height:40px}.portal-section{margin:35px 0}.portal-section.prep-grid{gap:24px}.portal-section .panel{padding:28px}.portal-section h2{font-size:30px;margin-top:12px;margin-bottom:22px}.portal-section p{font-size:14px;line-height:1.8;color:#adbeda}.portal-checklist .checklist{margin-top:18px}.portal-checklist .checklist li{padding:14px 0;border-bottom:1px solid #2e3d5b}.portal-checklist .checklist label{font-size:13px;line-height:1.7;align-items:start}.portal-checklist .checklist input{min-width:19px;min-height:19px;margin-top:2px}.parent-tip{padding:16px 18px;border:1px solid #425c79;border-left:3px solid #7fc4c0;background:#152638;border-radius:4px;font-size:12px;line-height:1.8;color:#b7d2df;margin-top:24px}.media-check{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.media-check .text-link{font-size:11px}.materials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.material-card{display:flex;flex-direction:column;padding:22px;border:1px solid #344568;border-radius:8px;background:#141e33;min-width:0}.material-featured{border-color:#6f8b95;background:linear-gradient(140deg,#1a2c3b,#172139)}.material-top{display:flex;align-items:center;gap:12px;margin-bottom:22px;position:relative}.material-top>.pixel-sprite{width:58px;flex-shrink:0}.material-number{font:14px monospace;color:#c3b4fa}.material-status{margin-left:auto;align-self:start;font:8px/1.5 monospace;color:#a3bbd6;text-align:right;max-width:90px}.material-card>.section-kicker{font-size:8px;color:#91cbc9;letter-spacing:.06em;min-height:26px}.material-card h3{font-size:20px;line-height:1.3;letter-spacing:-.025em;margin:9px 0 12px;color:#e4e7f7}.material-card p{font-size:12px;line-height:1.8;color:#adbeda;margin:0 0 20px}.material-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto}.material-actions .btn{font-size:10px;padding:10px 13px;min-height:40px;text-decoration:none;white-space:normal}.material-actions .text-link{font-size:10px;min-height:40px;display:inline-flex;align-items:center}.material-extras{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:20px 0;font-size:12px;color:#abbcd7}.material-extras .text-link{font-size:12px}.portal-section>.prep-table{width:100%;margin-top:24px}.portal-section>.prep-table th{font-size:11px}.portal-section>.prep-table td{font-size:13px;line-height:1.8;padding:18px 14px}.portal-section>.prep-table td:first-child{min-width:160px;white-space:normal}.portal-section>.prep-table td:last-child{min-width:100px}.parent-help{display:grid;grid-template-columns:1fr 1fr;gap:24px}.parent-help ol{font-size:13px;line-height:1.9;padding-left:20px;color:#b9c7df}.parent-solutions{margin-top:24px;border-top:1px solid #3a4b69;padding-top:18px}.parent-solutions summary{cursor:pointer;font-size:12px;color:#d3c3f6}.parent-solutions ol{padding-left:24px}.parent-solutions p{font-size:12px}.portal-launch{display:flex;align-items:center;gap:35px;margin:40px 0 60px;padding:35px;border:1px solid #576482;border-radius:10px;background:linear-gradient(110deg,#24203d,#15283b);scroll-margin-top:100px}.portal-launch>.pixel-sprite{width:130px;flex-shrink:0}.portal-launch h2{font-size:32px;line-height:1.2;letter-spacing:-.03em;color:#eeeaff;margin:12px 0}.portal-launch p{font-size:13px;line-height:1.8;color:#b6c7df}.portal-launch .button-row{margin-top:22px}.portal-launch .text-link{font-size:12px}.portal-launch .saved-progress{font-size:11px;color:#9fe0d4}.studio-header h1{font-size:52px;line-height:1.15;letter-spacing:-.04em;margin:15px 0;color:#eeeaff}.studio-header h1>span{display:block;font-size:28px;line-height:1.25;color:#b5a5e8;margin-top:15px}.studio-header{align-items:flex-start}.studio-header>.pixel-sprite{width:130px;flex-shrink:0}.designer-bar{gap:12px;justify-content:flex-start;margin:20px 0}.designer-bar .text-link{font-size:11px}.studio-materials{border:1px solid #3a4a6e;border-radius:8px;padding:20px;margin:24px 0;background:#131e33;scroll-margin-top:105px}.studio-materials>summary{font-size:13px;cursor:pointer;color:#d5c8f5}.studio-materials>.materials-grid{margin-top:20px}.studio-timeline{position:relative;padding-left:26px;border-left:1px solid #655b94;margin:32px 0 60px 5px}.studio-timeline .storyboard{position:relative;margin-bottom:30px;padding:30px;background:#f4f5fc}.studio-timeline .storyboard:before{content:'';position:absolute;left:-33px;top:38px;width:11px;height:11px;background:#c3aaff;border:3px solid #25213f;border-radius:50%}.studio-timeline .storyboard h2{font-size:29px;line-height:1.2;margin-top:10px;letter-spacing:-.035em;color:#263451}.studio-timeline .storyboard h3{font-size:23px;letter-spacing:-.025em;color:#293953}.studio-timeline .storyboard h4{font-size:14px;color:#2e3c59;margin:20px 0 10px}.studio-timeline .storyboard p{font-size:14px;line-height:1.85;color:#475774}.storyboard-media{padding:22px 0}.storyboard-media>video{display:block;width:100%;max-width:320px;max-height:440px;background:#090e1f;border-radius:8px;margin:20px auto;object-fit:contain}.storyboard-media>audio{display:block;width:min(100%,560px);margin:24px 0}.script-copy{border:1px solid #bac5da;border-radius:6px;padding:18px 20px;margin:20px 0}.script-copy>summary{font-size:14px;font-weight:650;cursor:pointer;color:#304567}.script-copy>div,.script-copy>p:first-of-type{margin-top:18px}.script-copy .script-status{font-size:12px;color:#6e5a87;background:#e8e3f1;padding:12px}.tts-block{border:1px dashed #9b8bb9;border-left:3px solid #9980b3;padding:20px;border-radius:5px;background:#eeebf4;margin:20px 0}.tts-block h4{margin:10px 0}.tts-block p{font-size:12px!important}.tts-block pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:13px;background:#f9f8fc;color:#6c5d83;font:12px/1.7 monospace;margin:12px 0 0}.worksheet-review{display:grid;grid-template-columns:.65fr 1fr;gap:30px;align-items:start;margin:25px 0}.worksheet-review>a{position:sticky;top:105px;display:block}.worksheet-review img{width:100%;height:auto;display:block;border:1px solid #a6b5cd;box-shadow:0 8px 25px #3039521a}.worksheet-text h4:first-child{margin-top:0}.worksheet-text p,.worksheet-text li{font-size:12px!important;line-height:1.8}.worksheet-text ol,.worksheet-text ul{padding-left:18px}.storyboard-next{padding:17px;background:#e1eaf0;border:1px solid #a1b6c6;font-size:13px;line-height:1.8;color:#3d5770;margin-top:22px}.storyboard-media hr{border:0;border-top:1px solid #c0cada;margin:30px 0}.studio-sheet-link{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:20px 0;font-size:12px;color:#556782}.storyboard .material-actions .text-link,.studio-sheet-link .text-link{color:#5b4a8a}.studio-sheet-link .btn{background:#e0e5f3;color:#344765;border-color:#b5c0d7;font-size:11px}.media-preview video{display:block;max-width:100%;width:320px;max-height:62dvh;object-fit:contain;margin:20px auto}.media-preview audio{width:100%;margin:20px 0}.media-preview h2,.purchase-preview h2{font-size:28px;line-height:1.25}.purchase-preview p{font-size:14px;line-height:1.8;color:#bbc9e1}.purchase-preview .btn{white-space:normal;width:100%;margin-top:15px}.preview-media-status{font-size:13px;line-height:1.7}
@media(max-width:1000px){.site-header{gap:20px}.site-header nav{gap:16px}.site-header .parent-tag{display:none}.materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-heading>p{max-width:300px}.offer-card{padding:26px}.offer-price{gap:15px}.offer-price strong{font-size:45px}.package-art>.package-piko{width:130px}.activity-story{gap:5%}.sales-promise{gap:25px}.portal-section>.prep-table td{font-size:12px}.worksheet-review{grid-template-columns:1fr 1.3fr;gap:20px}}
@media(max-width:700px){html{scroll-padding-top:130px}.site-header{height:auto;min-height:106px;display:flex;flex-wrap:wrap;padding:14px 5% 10px;gap:12px;position:relative}.site-header .brand{font-size:13px}.site-header .brand-mark{width:34px;height:34px;font-size:26px}.site-header nav{width:100%;margin:0;justify-content:space-between;gap:8px}.site-header .nav-link{font-size:11px;padding:10px 0;min-height:40px;white-space:nowrap}.site-header .nav-link.active:after{transform:translateY(8px)}.sales-promise{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px;padding:20px 4px;font-size:10px}.returning-team{display:block;padding:16px;font-size:11px}.returning-team .text-link{display:block;padding:12px 0 0;font-size:11px}.sales-section{padding:45px 0}.sales-section h2,.sales-finale h2{font-size:32px}.sales-section .section-kicker{font-size:8px;letter-spacing:.1em}.story-intro{grid-template-columns:1fr;gap:25px}.story-intro h2 br:first-of-type{display:none}.sales-prose p{font-size:14px;line-height:1.85;margin-bottom:16px}.sales-heading{display:block;margin-bottom:25px}.sales-heading>p{font-size:12px;margin-top:20px;max-width:none}.activity-story,.activity-story.reverse{display:flex;flex-direction:column;gap:24px;margin-top:28px}.activity-story.reverse{margin-top:40px}.activity-story figure{width:100%}.activity-story figcaption{font-size:9px}.activity-copy{width:100%}.activity-copy h3{font-size:27px;margin:12px 0 15px}.activity-copy p{font-size:14px;line-height:1.85;max-width:none;margin-bottom:18px}.activity-note{font-size:11px}.journey-steps{grid-template-columns:1fr;gap:12px;margin-top:28px}.journey-steps li{display:grid;grid-template-columns:35px 1fr;gap:0 12px;padding-top:18px}.journey-steps b{grid-row:1/3;padding-top:4px;font-size:12px}.journey-steps h3{font-size:21px;margin:0 0 10px}.journey-steps p{font-size:13px;margin-bottom:14px}.package-section{grid-template-columns:1fr;gap:28px}.package-visual h2{font-size:35px}.package-art{height:310px;max-width:420px;margin:25px auto 10px}.package-art>img{height:285px;left:35px}.package-art>.package-piko{width:120px;right:5px;bottom:10px}.paper-envelope{width:190px;height:115px;font-size:48px}.package-note{font-size:11px}.offer-card{padding:26px 23px}.offer-card h3{font-size:30px}.offer-list li{font-size:12px}.offer-price strong{font-size:49px}.offer-price>span{font-size:9px}.offer-card>.btn{font-size:12px}.faq-section{grid-template-columns:1fr;gap:30px}.faq-list summary{font-size:14px;padding:18px 0}.faq-list p{font-size:13px}.sales-finale{padding:48px 5px 60px}.sales-finale h2{font-size:30px}.sales-finale p{font-size:13px}.sales-finale .btn{font-size:12px;width:100%;white-space:normal}.portal-header,.studio-header{padding:32px 0 22px;gap:12px;align-items:start}.portal-header h1{font-size:32px;margin:15px 0 20px}.portal-header p,.studio-header p{font-size:13px}.portal-character{flex-basis:70px}.portal-character>.pixel-sprite{width:70px;margin-top:30px}.portal-character>span{display:none}.portal-tags{gap:10px;font-size:8px}.prototype-access{font-size:10px}.portal-shortcuts{gap:8px;padding-bottom:0}.portal-shortcuts a{font-size:9px;padding:10px}.portal-section{margin:25px 0}.portal-section.prep-grid,.parent-help{grid-template-columns:1fr;gap:18px}.portal-section .panel,.portal-section.panel{padding:22px 18px}.portal-section h2{font-size:27px}.portal-section p{font-size:13px}.portal-checklist .checklist label{font-size:12px}.materials-grid{grid-template-columns:1fr}.material-card{padding:22px}.material-card>.section-kicker{min-height:0}.material-top{margin-bottom:15px}.material-top>.pixel-sprite{width:55px}.material-card h3{font-size:22px}.material-card p{font-size:12px}.material-actions .btn,.material-actions .text-link{font-size:11px;min-height:44px}.material-extras{gap:10px;font-size:11px}.material-extras>span{width:100%}.portal-section>.prep-table,.portal-section>.prep-table tbody{display:block}.portal-section>.prep-table thead{display:none}.portal-section>.prep-table tr{display:block;border-top:1px solid #435271;padding:14px 0}.portal-section>.prep-table td{display:block;padding:6px 0;border:0;min-width:0!important}.portal-section>.prep-table td:first-child{color:#d3c2f9}.portal-section>.prep-table td:last-child{font-size:10px;color:#91c9ca}.parent-tip{font-size:11px;padding:14px}.portal-launch{align-items:start;gap:15px;padding:24px 18px;margin:28px 0}.portal-launch>.pixel-sprite{width:60px}.portal-launch h2{font-size:25px}.portal-launch p{font-size:12px}.portal-launch .btn{font-size:11px;white-space:normal;width:100%}.portal-launch .text-link{padding-left:0;font-size:10px}.studio-header h1{font-size:37px}.studio-header h1>span{font-size:21px}.studio-header>.pixel-sprite{width:65px;margin-top:0}.designer-bar .btn{font-size:10px}.studio-materials{padding:16px}.studio-materials>summary{font-size:12px}.studio-timeline{padding-left:13px;margin-left:3px}.studio-timeline .storyboard{padding:22px 16px}.studio-timeline .storyboard:before{left:-20px;width:9px;height:9px}.studio-timeline .storyboard h2{font-size:23px}.studio-timeline .storyboard h3{font-size:22px}.storyboard-head{gap:8px;flex-wrap:wrap}.storyboard-head .btn{font-size:10px;min-height:42px}.storyboard-media p{font-size:12px!important}.script-copy{padding:14px}.script-copy>summary{font-size:12px}.tts-block{padding:15px}.tts-block pre{font-size:10px}.worksheet-review{grid-template-columns:1fr;gap:24px}.worksheet-review>a{position:static;max-width:320px;margin:auto}.studio-sheet-link{gap:10px}.portal-section>.sales-heading h2{font-size:30px}.sales-hero .hero-copy>.quiet{line-height:1.7}.offer-card>.text-link{font-size:10px}.purchase-preview h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sales-section.pixel-party .character-card{transition:none}}
@media print{.sales-promise,.portal-shortcuts,.prototype-access,.designer-bar,.studio-materials,.stage-index,.storyboard-media video,.storyboard-media audio,.material-actions,.studio-sheet-link{display:none}.studio-header,.portal-header{padding:10mm 0;color:#222}.studio-header h1,.studio-header p{color:#222}.studio-timeline{padding:0;border:0;margin:0}.studio-timeline .storyboard{break-inside:avoid;background:white;margin:0 0 10mm;border-color:#999}.studio-timeline .storyboard:before{display:none}.worksheet-review>a{position:static}.tts-block{background:#fff}.storyboard p{color:#222}}
@media(min-width:701px){.package-art{max-width:470px}.package-art>img{left:45px}}

.tts-block>summary{font-size:12px;font-weight:600;line-height:1.6;color:#5b467d;cursor:pointer;min-height:24px}

/* Collapse a complete storyboard stage while keeping its test action available. */
.storyboard-heading{flex:1;min-width:0}.storyboard-toggle{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;align-self:flex-start;padding:0;border:1px solid #b8c3da;border-radius:6px;background:#e5e9f5;color:#4f3c78;cursor:pointer}.storyboard-toggle:hover{background:#d7ddef}.storyboard-toggle>span{font-size:23px;line-height:1;transition:transform .15s}.storyboard-toggle[aria-expanded="false"]>span{transform:rotate(-90deg)}.storyboard-content[hidden]{display:none}.storyboard.is-collapsed>.storyboard-head{border-bottom:0;padding-bottom:0;margin-bottom:0}
@media(max-width:700px){.storyboard-head>.storyboard-toggle{margin-top:2px}.storyboard-heading{flex-basis:calc(100% - 60px)}.storyboard-head>.btn{margin-left:52px}}
@media(prefers-reduced-motion:reduce){.storyboard-toggle>span{transition:none}}
@media print{.storyboard-toggle{display:none}}

/* Riešenie je viditeľné hneď po otvorení každej etapy storyboardu. */
.storyboard-solution{margin:20px 0;padding:18px 22px;border:1px solid #a5bbba;border-left:4px solid #417b76;border-radius:6px;background:#e8f1ef;break-inside:avoid}.studio-timeline .storyboard-solution h3{margin:0 0 10px;font-size:14px;letter-spacing:.04em;color:#315e59}.storyboard-answer{display:block;font-size:24px;line-height:1.4;color:#243e45;overflow-wrap:anywhere}.studio-timeline .storyboard-solution p{margin:10px 0 0;color:#3d585f}.studio-timeline .storyboard-solution h3+p{margin-top:0}@media(max-width:700px){.storyboard-solution{padding:16px}.storyboard-answer{font-size:21px}}

@media print{.storyboard-content[hidden]{display:block!important}}

/* V5 / Etapa 1: explicit funnel, preparation and internal entries. */
.site-header .nav-link{text-decoration:none;display:inline-flex;align-items:center}
.site-header .nav-purchase{font-size:11px;gap:8px;white-space:normal;max-width:285px;text-align:center}
.environment-label{font-size:12px;color:#bdc7e0;display:flex;align-items:center;gap:10px;text-align:right}
.hero-artwork{position:absolute;inset:0;display:block;pointer-events:none}
.sales-hero .hero-copy{max-width:620px}
.sales-hero h1.adventure-title{font-size:clamp(64px,6vw,88px);margin-bottom:12px}
.sales-hero .title-caption{margin-bottom:18px}
.hero-value{font-size:clamp(24px,2.7vw,36px);line-height:1.18;letter-spacing:-.03em;color:#f5f1ff;margin:0 0 16px;max-width:510px}
.sales-hero .hero-copy>.hero-description{font-size:15px;line-height:1.7;max-width:470px;margin-bottom:15px}
.hero-format{font-size:13px;line-height:1.6;color:#bfe3e4;margin:0 0 22px;max-width:420px}
.sales-hero .button-row>.btn{font-size:12px;gap:10px;min-height:56px;text-align:center;white-space:normal}
.sales-hero .button-row>.text-link{font-size:12px;min-height:44px;display:flex;align-items:center}
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:35px}
.benefits-grid article{padding:28px;border:1px solid #354567;border-radius:10px;background:#141d32}
.benefits-grid article>span{font-size:30px;color:#a9e1d6}
.benefits-grid h3{font-size:20px;color:#e5e7fa;margin:18px 0 12px}
.benefits-grid p{font-size:14px;color:#b4c2dd;line-height:1.8;margin:0}
.offer-price strong{font-size:48px}
.offer-card>.btn{gap:8px}
.prep-progress{margin:24px 0 22px}
.prep-progress>label{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#c4d2e9}
.prep-progress progress{display:block;width:100%;height:12px;accent-color:#85dece;margin-top:12px;border:0;border-radius:20px;overflow:hidden;background:#293450}
.prep-progress progress::-webkit-progress-bar{background:#293450}
.prep-progress progress::-webkit-progress-value{background:#85dece;transition:width .2s}
.download-choices{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}
.download-choices .btn{font-size:12px;gap:12px;white-space:normal;text-align:center}
.material-version-note{max-width:800px}
#jednotlive-ulohy{scroll-margin-top:100px}
.device-notice{border-left:3px solid #e7be7c;padding:20px;background:#121c31;border-radius:5px;margin:22px 0}
.device-notice>strong{font-size:12px;letter-spacing:.12em;color:#f0cd92}
.device-notice p{line-height:1.8}
.device-confirmation{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:#dce3f6;cursor:pointer}
.device-confirmation input,.portal-checklist input{width:20px;height:20px;flex:0 0 20px;accent-color:#9a7cff;margin-top:3px}
.portal-launch .button-row .btn{min-height:56px;gap:10px;white-space:normal;text-align:center}
.btn:disabled{transform:none;box-shadow:none;opacity:.5;cursor:not-allowed}
.portal-launch .btn.is-ready{background:#a6eed5;color:#102b29;box-shadow:0 3px 0 #438b79,0 0 26px #81d9bd35}
#launch-status{font-size:13px;color:#b6d8dd}
.extras-section{padding:32px 0 50px}
.extras-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:30px 0}
.extra-card{display:flex;flex-direction:column;align-items:flex-start;background:#141d32;border:1px solid #354565;border-radius:10px;padding:24px;min-width:0}
.extra-card>.pixel-sprite{width:90px;margin-bottom:20px}
.product-status{display:block;font-size:11px;line-height:1.7;color:#a9d8d1;margin-bottom:14px}
.extra-card h3{font-size:20px;color:#e5e6f7;line-height:1.3;overflow-wrap:anywhere}
.extra-card p{font-size:13px;line-height:1.8;flex:1;color:#aebed8}
.extra-price{display:block;font-size:30px;color:#e1d5ff;white-space:nowrap;margin:12px 0 20px}
.extra-price small{font-size:13px;font-weight:400}
.extra-card .btn{font-size:12px;width:100%}
.bundle-card{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;padding:32px;border:1px solid #7561ab;border-radius:12px;background:linear-gradient(140deg,#24213d,#14243a)}
.bundle-card h3{font-size:27px;color:#ece6fc;margin:12px 0 18px}
.bundle-card p,.bundle-card li{font-size:14px;line-height:1.8;color:#b7c6df}
.bundle-card>div:last-child{min-width:240px}
.bundle-card .extra-price{font-size:37px}
.bundle-card .btn{width:100%}
.management-placeholder{font-size:12px;color:#b6bfd3;border:1px dashed #516080;border-radius:5px;padding:12px 16px}
.purchase-summary{line-height:2.2;padding:18px 22px;background:#202b46;border:1px solid #415273;border-radius:8px;margin:22px 0 28px;color:#c9d9ed;font-size:14px}
.purchase-preview .btn{white-space:normal;text-align:center;font-size:12px;gap:10px}
@media(max-width:1100px){.site-header nav{gap:18px}.site-header .nav-link{font-size:11px}.site-header .nav-purchase{max-width:235px;font-size:10px}.extras-grid{grid-template-columns:repeat(2,1fr)}.hero-scene .incoming-card{width:260px}.sales-hero{padding:32px}.offer-price{gap:16px}}
@media(max-width:700px){
  .site-header{min-height:76px;height:auto;padding-top:14px;padding-bottom:14px;gap:12px;flex-wrap:nowrap}
  .site-header .brand{font-size:13px}.site-header .brand-mark{width:32px;height:35px;font-size:24px;line-height:29px}.site-header .brand-sub{font-size:7px}
  .site-header nav{display:flex;gap:0;overflow:visible;margin-left:auto;min-width:0;padding:0;border:0}
  .site-header nav .nav-link{display:none}.site-header .nav-purchase{display:none}
  .environment-label{font-size:10px;display:block;max-width:135px}.environment-label .parent-tag{display:block;margin:5px 0 0;font-size:7px}
  .sales-hero{display:block;min-height:0;height:calc(100svh - 28px);margin-top:14px;padding:20px 22px 0;border-radius:10px}
  .sales-hero .hero-background{inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center bottom;mask-image:none}
  .sales-hero:before{inset:0;height:auto;background:linear-gradient(180deg,#080d2170 0%,#080d2160 40%,#080d2130 55%,transparent 70%)}
  .sales-hero:after{background:linear-gradient(0deg,#080d2155,transparent 35%)}
  .sales-hero .hero-copy{position:static;padding:0;max-width:none}
  .sales-hero .eyebrow{font-size:8px;letter-spacing:.1em;margin-bottom:12px}
  .sales-hero h1.adventure-title{font-size:54px;line-height:.9;margin-bottom:8px}
  .sales-hero .title-caption{font-size:9px;margin:10px 0 14px}
  .hero-value{font-size:23px;line-height:1.18;margin-bottom:12px;max-width:360px}
  .sales-hero .hero-copy>.hero-description{font-size:13px;line-height:1.7;margin:0 0 12px;max-width:350px;color:#e1e4f3}
  .hero-format{font-size:11px;line-height:1.6;margin-bottom:18px;color:#c2e8e6;max-width:320px}
  .sales-hero .button-row{display:block}.sales-hero .button-row>.btn{width:100%;font-size:11px;padding:14px 10px;min-height:52px;gap:5px}
  .sales-hero .button-row>.text-link{display:none}
  .sales-hero .hero-copy>.quiet{font-size:10px;margin-top:12px}
  .sales-hero .hero-meta{position:absolute;bottom:22px;left:22px;right:22px;margin:0;gap:14px;justify-content:space-between;flex-wrap:nowrap}
  .sales-hero .hero-meta>span{font-size:16px;gap:5px}.sales-hero .hero-meta>span>span{font-size:9px}.sales-hero .hero-meta small{font-size:8px}
  .sales-hero .hero-scene{position:absolute;bottom:18px;left:16px;right:16px;height:auto;min-height:0;inset:auto 16px 18px}
  .sales-hero .incoming-card{display:none}.sales-hero .scene-caption{display:none}
  .sales-promise{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px 0;font-size:10px}
  .benefits-grid{grid-template-columns:1fr;gap:14px;margin-top:25px}.benefits-grid article{padding:22px}.benefits-grid h3{font-size:20px;margin:12px 0}.benefits-grid p{font-size:13px}
  .offer-price{flex-wrap:wrap;gap:4px 20px}.offer-price strong{font-size:47px}.offer-card>.btn{font-size:10px;padding:15px 10px;gap:5px}
  .portal-header{display:block}.portal-header h1{font-size:38px}.portal-character{display:none}.portal-header p{font-size:14px}
  .prototype-access{font-size:12px;line-height:1.8}.portal-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.portal-shortcuts a{font-size:11px;padding:14px 10px}
  .portal-checklist .checklist label{font-size:14px;line-height:1.7}.checklist li{margin:18px 0}.portal-section p{font-size:14px}.download-choices{flex-direction:column}.download-choices .btn{font-size:11px;min-height:52px}
  .portal-launch{display:block}.portal-launch>.pixel-sprite{display:none}.device-notice{padding:18px 14px}.device-confirmation{font-size:13px;line-height:1.7}.portal-launch .button-row{display:block}.portal-launch .button-row .text-link{white-space:normal}.portal-launch h2{font-size:29px}.portal-launch .button-row .btn{font-size:11px}
  .extras-grid{grid-template-columns:1fr;gap:16px}.extra-card{padding:24px;display:grid;grid-template-columns:72px 1fr;column-gap:18px}.extra-card>.pixel-sprite{grid-row:1/3;width:72px;margin:0}.extra-card .product-status{margin:0 0 8px;font-size:11px}.extra-card h3{font-size:20px;margin:0 0 16px}.extra-card p,.extra-card .extra-price,.extra-card .btn{grid-column:1/3}.extra-card p{font-size:14px;margin:0}.extra-card .extra-price{margin:16px 0}.extra-card .btn{min-height:48px}
  .bundle-card{grid-template-columns:1fr;gap:12px;padding:25px}.bundle-card h3{font-size:25px}.bundle-card>div:last-child{min-width:0}.bundle-card .extra-price{font-size:35px}.bundle-card .btn{font-size:12px}
  .purchase-preview h2{font-size:29px}.purchase-preview p{font-size:14px}.purchase-summary{padding:16px;font-size:13px}.sales-finale .btn{font-size:11px;gap:5px}
}
@media(max-width:360px){.sales-hero{padding:18px 16px 0;min-height:0}.sales-hero h1.adventure-title{font-size:54px}.hero-value{font-size:23px}.sales-hero .hero-copy>.hero-description{font-size:13px}.sales-hero .button-row>.btn{font-size:10px}.sales-hero .hero-meta{gap:7px;left:16px;right:16px}.sales-hero .hero-meta>span>span{font-size:9px}.hero-format{font-size:11px}.bundle-card{padding:20px}}
@media(prefers-reduced-motion:reduce){.prep-progress progress::-webkit-progress-value{transition:none}}
@media print{.download-choices,.device-notice,.extras-section,.environment-label{display:none}}

/* Storyboard authoring: worksheet text is shared with the printable documents. */
body[data-environment="designer"] .storyboard-brand{font-size:27px;letter-spacing:.03em}
body[data-environment="designer"] .storyboard-brand .brand-sub{font-size:11px;letter-spacing:.08em;text-transform:none;margin-top:6px}
.storyboard-top-links{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
body[data-environment="designer"] .storyboard-toggle span{display:block;transform:none!important;font:24px/1 'DM Sans',sans-serif}
body[data-environment="designer"] .worksheet-review{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.2fr);gap:32px;align-items:start;margin:8px 0 32px}
.worksheet-image{display:block;border:1px solid #586383;border-radius:5px;overflow:hidden;background:#fff;box-shadow:0 12px 30px #0002}
.worksheet-image img{display:block;width:100%;height:auto}
.worksheet-image:focus-visible{outline:3px solid #9de0c9;outline-offset:5px}
body[data-environment="designer"] .worksheet-text{font-size:14px;line-height:1.85;min-width:0}
body[data-environment="designer"] .worksheet-text h2,body[data-environment="designer"] .worksheet-text h3{font:700 15px/1.5 'DM Sans',sans-serif;letter-spacing:0;margin:0 0 15px;color:#294662}
body[data-environment="designer"] .worksheet-text p{font-size:14px;line-height:1.85;margin:0 0 16px}
body[data-environment="designer"] .worksheet-text ol{padding-left:22px;margin:0;line-height:1.8;color:#405779}
body[data-environment="designer"] .worksheet-text li{margin:7px 0}
body[data-environment="designer"] .worksheet-text .label{font:10px/1.5 'DM Sans',sans-serif;color:#64738f;letter-spacing:.06em}
body[data-environment="designer"] .worksheet-text .equations{font-size:19px;line-height:1.9}
.miky-message{padding:23px 0 26px;border-top:1px solid #35425d}
.miky-message h3{font-size:18px;margin:0 0 16px}
.miky-message-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body[data-environment="designer"] .miky-message-controls audio{width:285px;max-width:100%;height:42px;margin:0}
.message-text-toggle,.message-text-copy{--copy-bg:#e4f3eb;--copy-ink:#214b3e;--copy-border:#a4cbb9}
.tts-copy-toggle,.tts-copy{--copy-bg:#eee7fa;--copy-ink:#483465;--copy-border:#c4b1df}
.copy-toggle{font:650 14px/1.5 'DM Sans',sans-serif;min-height:44px;border:1px solid var(--copy-border);border-radius:6px;padding:10px 18px;cursor:pointer;background:var(--copy-bg);color:var(--copy-ink)}
.tts-editor-link{display:inline-flex;align-items:center;text-decoration:none;margin-bottom:14px}
.copy-toggle[aria-expanded="true"]{box-shadow:0 0 0 2px var(--copy-border)}
.copy-toggle:focus-visible{outline:2px solid var(--copy-ink);outline-offset:3px}
.message-copy{margin:18px 0 0;padding:22px 26px;background:var(--copy-bg);color:var(--copy-ink);border:1px solid var(--copy-border);border-radius:8px;font:400 14px/1.8 'DM Sans',sans-serif}
.message-copy[hidden]{display:none}
body[data-environment="designer"] .message-copy p,body[data-environment="designer"] .message-copy pre,body[data-environment="designer"] .message-copy h4{font:inherit;color:inherit;letter-spacing:normal}
.message-copy p{margin:0 0 12px}.message-copy p:last-child{margin:0}
.message-copy pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}
body[data-environment="designer"] .message-copy h4{font-weight:700;margin:0 0 12px}
body[data-environment="designer"] .adult-help{padding:23px 26px;background:#e8f1ee;border:1px solid #a2bfc0;border-left:4px solid #528d87;border-radius:6px;margin:12px 0 22px}
body[data-environment="designer"] .adult-help h3{font-size:17px;color:#2d5558;margin:0 0 14px}
body[data-environment="designer"] .adult-help p{font-size:14px;line-height:1.8;color:#405b68;margin:0 0 12px}
body[data-environment="designer"] .adult-help p:last-child{margin-bottom:0}
body[data-environment="designer"] .adult-help .adult-safety{font-size:12px;color:#526b6b}
body[data-environment="designer"] .gm-instructions .adult-help{padding:0!important;border:0;background:none;margin:0}
body[data-environment="designer"] .gm-instructions .gm-solution{border:0;padding:0;margin:12px 0 0;font-size:14px;line-height:1.8;color:#405b68}
body[data-environment="designer"] .gm-instructions h4{font:700 14px/1.5 'DM Sans',sans-serif;color:#2d5558;margin:0 0 10px}
.storyboard-sheet-actions{justify-content:flex-start;padding-top:6px;margin-bottom:0}
@media(max-width:800px){body[data-environment="designer"] .site-header{height:auto;min-height:100px;padding-top:20px;padding-bottom:20px;gap:22px;flex-wrap:wrap}.storyboard-top-links{margin-left:0!important;justify-content:flex-start;gap:9px}.storyboard-top-links .btn{font-size:10px;white-space:normal}body[data-environment="designer"] .worksheet-review{grid-template-columns:1fr;gap:25px}.worksheet-image{max-width:460px}.miky-message-controls{align-items:flex-start}.message-copy{padding:18px}.adult-help{padding:20px!important}}
@media print{.storyboard-top-links,body[data-environment="designer"] .gm-instructions .adult-help{padding:0!important;border:0;background:none;margin:0}
body[data-environment="designer"] .gm-instructions .gm-solution{border:0;padding:0;margin:12px 0 0;font-size:14px;line-height:1.8;color:#405b68}
body[data-environment="designer"] .gm-instructions h4{font:700 14px/1.5 'DM Sans',sans-serif;color:#2d5558;margin:0 0 10px}
.storyboard-sheet-actions{display:none}}

/* Shared storyboard task template, including the introductory video message. */
.video-message-button{--copy-bg:#e3edf7;--copy-ink:#284c6b;--copy-border:#a9bfd5;display:inline-flex;align-items:center;gap:9px}
body[data-environment="designer"] .message-copy .gm-scene{padding:14px 0;margin:0 0 14px;background:none;border:0;border-bottom:1px solid #b8d4c6}
body[data-environment="designer"] .message-copy .gm-scene:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
body[data-environment="designer"] .message-copy .gm-scene .section-kicker{color:#52796a}
body[data-environment="designer"] .message-copy .detail-grid{gap:22px}
body[data-environment="designer"] .message-copy li{font:inherit;color:inherit}
body[data-environment="designer"] .stage-introduction p{font:400 14px/1.8 'DM Sans',sans-serif;color:#405779;margin:0 0 24px}
body[data-environment="designer"] .gm-instructions{margin-top:22px}

.storyboard .quest-story p{font:inherit;line-height:1.8;color:#3e5270;margin:0 0 16px}
.storyboard-continuation{border-top:1px solid #b9c5d8;margin:28px 0;padding-top:22px}
.storyboard-continuation h3{font-size:18px;color:#304766;margin:0 0 16px}
.stage-index{flex-wrap:wrap}
.storyboard .worksheet-text .note h3{font-size:16px}
.storyboard .worksheet-text .card .quest-story{text-align:left;font:inherit}

/* The stage controls, place icon and title share one centered row. */
body[data-environment="designer"] .storyboard-head{display:grid;grid-template-columns:44px 28px minmax(0,1fr) 64px;align-items:center;gap:14px}
body[data-environment="designer"] .storyboard-head>.storyboard-toggle{align-self:center;margin:0}
body[data-environment="designer"] .storyboard-stage-icon{display:grid;place-items:center;width:28px;height:32px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:26px;line-height:1}
body[data-environment="designer"] .storyboard-heading{min-width:0}
body[data-environment="designer"] .storyboard-heading .section-kicker{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px}
body[data-environment="designer"] .storyboard-heading h2{font-size:clamp(18px,2.1vw,30px);line-height:1.25;white-space:nowrap;margin:0}
body[data-environment="designer"] .storyboard-head>.storyboard-test{margin:0;min-height:44px;padding:8px;font-size:12px;white-space:nowrap;justify-self:stretch}
/* Keep all closed stages visible in a desktop window beside the editor. */
@media screen and (min-width:701px){
 body[data-environment="designer"]>.site-header{height:64px;gap:20px}
 body[data-environment="designer"] .storyboard-brand{font-size:21px}
 body[data-environment="designer"] .storyboard-brand .brand-sub{font-size:9px;margin-top:4px}
 body[data-environment="designer"] .storyboard-top-links{gap:10px}
 body[data-environment="designer"] .storyboard-top-links .btn{min-height:36px;padding:7px 12px;font-size:11px}
 body[data-environment="designer"] .studio-header{align-items:center;gap:20px;padding:16px 0 12px}
 body[data-environment="designer"] .studio-header .section-kicker{font-size:8px;margin:0}
 body[data-environment="designer"] .studio-header h1{font-size:32px;line-height:1.2;margin:4px 0 0}
 body[data-environment="designer"] .studio-header>.pixel-sprite{width:56px}
 body[data-environment="designer"] .designer-bar{gap:10px;margin:12px 0}
 body[data-environment="designer"] .designer-bar .btn{min-height:34px;padding:6px 12px;font-size:11px}
 body[data-environment="designer"] .studio-timeline{padding-left:18px;margin:14px 0 20px 5px}
 body[data-environment="designer"] .studio-timeline .storyboard.is-collapsed{padding:clamp(8px,calc(4dvh - 32px),20px) 18px;margin:0 0 clamp(8px,1dvh,12px)}
 body[data-environment="designer"] .studio-timeline .storyboard:last-child{margin-bottom:0}
 body[data-environment="designer"] .studio-timeline .storyboard:before{left:-25px}
 body[data-environment="designer"] .storyboard.is-collapsed:before{top:50%;transform:translateY(-50%)}
 body[data-environment="designer"] .is-collapsed>.storyboard-head{grid-template-columns:40px 28px minmax(0,1fr) 60px;gap:14px}
 body[data-environment="designer"] .is-collapsed .storyboard-toggle{width:40px;height:40px}
 body[data-environment="designer"] .is-collapsed .storyboard-stage-icon{width:28px;height:32px;font-size:26px}
 body[data-environment="designer"] .is-collapsed .storyboard-heading .section-kicker{font-size:9px;line-height:1.4;letter-spacing:.1em;margin-bottom:3px}
 body[data-environment="designer"] .is-collapsed .storyboard-heading h2{font-size:clamp(20px,2vw,24px);line-height:1.25}
 body[data-environment="designer"] .is-collapsed .storyboard-head>.storyboard-test{min-height:40px;padding:8px;font-size:12px}
 body[data-environment="designer"]>.site-footer{padding-block:14px}
}
@media(max-width:700px){
 body[data-environment="designer"] .storyboard{padding:16px 14px}
 body[data-environment="designer"] .storyboard-head{grid-template-columns:40px 22px minmax(0,1fr) 48px;gap:8px}
 body[data-environment="designer"] .storyboard-head>.storyboard-toggle{width:40px;height:44px}
 body[data-environment="designer"] .storyboard-stage-icon{width:22px;height:26px;font-size:22px}
 body[data-environment="designer"] .storyboard-heading .section-kicker{font-size:7px;line-height:1.35;letter-spacing:.08em;white-space:normal;overflow:visible;text-overflow:clip;margin-bottom:4px}
 body[data-environment="designer"] .storyboard-heading h2{font-size:clamp(12px,3.65vw,24px)}
 body[data-environment="designer"] .storyboard-head>.storyboard-test{font-size:11px;padding:8px 4px}
}
@media(max-width:370px){
 body[data-environment="designer"] .storyboard{padding-inline:10px}
 body[data-environment="designer"] .storyboard-head{grid-template-columns:36px 18px minmax(0,1fr) 44px;gap:6px}
 body[data-environment="designer"] .storyboard-head>.storyboard-toggle{width:36px}
 body[data-environment="designer"] .storyboard-stage-icon{width:18px;height:24px;font-size:20px}
}

/* Compact paper-puzzle summary in the StoryBoard. */
body[data-environment="designer"] .worksheet-text .symbol-puzzle{margin:16px 0;padding:12px 0;border-block:1px solid #bcc8db}
body[data-environment="designer"] .symbol-puzzle .worksheet-puzzle-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
body[data-environment="designer"] .symbol-puzzle .worksheet-puzzle-heading h3{font-size:14px;line-height:1.3;margin:0}
body[data-environment="designer"] .symbol-puzzle .worksheet-puzzle-heading>span{font:9px/1.4 monospace;color:#63748d}
body[data-environment="designer"] .symbol-puzzle .equations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin:0}
body[data-environment="designer"] .symbol-puzzle .equation-clue{min-width:0;padding:10px 6px;border:1px solid #c3cde0;border-radius:5px;background:#edf0f8;text-align:center}
body[data-environment="designer"] .symbol-puzzle .equation-number{display:block;font:10px/1.3 monospace;color:#71809a;margin-bottom:6px}
body[data-environment="designer"] .symbol-puzzle .equation-clue>div{font:clamp(12px,1.4vw,18px)/1.4 monospace;white-space:nowrap;color:#304766}
body[data-environment="designer"] .worksheet-text .symbol-puzzle .equation-working{font:11px/1.4 monospace!important;margin:6px 0 0!important}
body[data-environment="designer"] .symbol-puzzle .equation-working span{display:inline-block;width:24px;height:12px;border-bottom:1px solid #8294b0;vertical-align:baseline}
body[data-environment="designer"] .symbol-puzzle .plugy-phone-panel{margin-top:12px}
body[data-environment="designer"] .symbol-puzzle .plugy-phone-panel h3{font-size:13px;line-height:1.4;margin:0 0 5px}
body[data-environment="designer"] .symbol-puzzle .plugy-phone-panel p{margin:0;line-height:1.6}
@media(max-width:370px){
 body[data-environment="designer"] .symbol-puzzle .equations{gap:6px}
 body[data-environment="designer"] .symbol-puzzle .equation-clue{padding:8px 4px}
}

/* Keep the complete opening scene and copy inside a short phone viewport. */
@media(max-width:700px) and (max-height:700px){
  .sales-hero{padding-top:16px}
  .sales-hero .eyebrow{font-size:7px;margin-bottom:10px}
  .sales-hero h1.adventure-title{font-size:42px;margin-bottom:6px}
  .sales-hero .title-caption{font-size:8px;margin:8px 0 12px}
  .sales-hero .hero-value{font-size:20px;line-height:1.15;margin-bottom:10px}
  .sales-hero .hero-copy>.hero-description{font-size:12px;line-height:1.6;margin:0}
  .sales-hero .hero-meta{bottom:14px}
}

@media(max-width:700px) and (orientation:landscape){.sales-hero{height:900px}}
.qr-prerequisite .pixel-sprite{display:block;width:90px;margin:0 auto 20px}
.qr-prerequisite .signal-content>p{max-width:540px;margin:16px auto;line-height:1.65}
.qr-prerequisite .btn{margin-top:12px;white-space:normal}

@media(max-width:360px){
  .sales-hero .hero-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sales-hero .hero-meta>span{min-width:0;font-size:12px;gap:4px;align-items:flex-start}
  .sales-hero .hero-meta>span>span{white-space:nowrap}
  .sales-hero .hero-meta small{white-space:normal;line-height:1.4}
}

/* Location symbols use SVG so windows and fridges render on every device. */
body[data-environment="designer"] .storyboard-stage-icon img{display:block;width:100%;height:100%;object-fit:contain}
.chapter-icon img{display:block;width:28px;height:28px;object-fit:contain}

.media-preview h2{padding-right:36px;overflow-wrap:anywhere}

.parent-hint{padding:14px 0;border-top:1px solid #435271}.parent-hint h3{font-size:18px;margin:0 0 8px}.parent-hint p{font-size:14px;line-height:1.6;margin:0 0 6px}

/* OpenGen production instructions stay inside the storyboard disclosure. */
.opengen-guide>section{margin:0 0 26px}.opengen-link{display:inline-flex;text-decoration:none;align-items:center}
.opengen-start{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}
.opengen-start img{display:block;width:100%;height:auto;border-radius:8px}
.opengen-settings{display:grid;grid-template-columns:160px minmax(0,1fr);margin:0 0 16px}.opengen-settings dt,.opengen-settings dd{margin:0;padding:10px 8px;border-bottom:1px solid var(--copy-border)}.opengen-settings dt{font-weight:700}
.opengen-prompt{display:block;width:100%;min-height:300px;resize:vertical;margin:8px 0 14px;padding:14px;font:13px/1.6 monospace;border:1px solid var(--copy-border);border-radius:6px;background:#fff;color:#214b3e}
.opengen-prompt:focus-visible{outline:2px solid #214b3e;outline-offset:3px}#opengen-copy-status{min-height:24px;margin-top:8px}
@media(max-width:650px){.opengen-start{grid-template-columns:1fr;gap:16px}.opengen-start>a{max-width:180px}.opengen-settings{grid-template-columns:110px minmax(0,1fr)}}
