/* Bold Editorial — confined to open stories; homepage and exports stay intact. */
#dayDialog{--plum:#351b49;--accent:#e74d70;--ink:#43253a;--paper:#fff8f3;width:min(1040px,calc(100% - 40px));max-height:94dvh;background:var(--paper);color:var(--ink);border-radius:24px;overscroll-behavior:contain;scroll-padding-top:70px}
#dayDialog .modal{padding:0!important;font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65}
#dayDialog #closeDay{position:sticky;top:12px;float:right;margin:12px 16px -60px 0;width:46px;height:46px;background:#fff8f3;color:#351b49;box-shadow:0 2px 12px #0002;z-index:20;border:1px solid #351b4920}
#dayDialog .story-cover{background:var(--plum);color:#fff8f3;padding:52px 64px 45px;border-bottom:8px solid var(--accent)}
#dayDialog .story-cover .eyebrow{font:700 12px/1.5 Arial;letter-spacing:2px;color:#ffb77e;margin:0 60px 22px 0}
#dayDialog .story-cover h2{font:normal clamp(34px,4.6vw,60px)/1.08 Georgia,serif;letter-spacing:-1.3px;max-width:850px;margin:20px 0;overflow-wrap:anywhere;text-wrap:balance;color:inherit}
#dayDialog .card-header{font:13px/1.6 Arial;letter-spacing:.6px;color:#e6e0ff;max-width:720px;margin:12px 0}
#dayDialog .story-cover p{font-size:18px;color:#fbe1e3;max-width:720px}
#dayDialog .story-body{padding:42px 64px 30px}
#dayDialog p:where(:not(.ew01 *, .rest02 *, .sw03 *, .atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)){font-size:17px;line-height:1.7;margin:0 0 16px}
#dayDialog h3:where(:not(.ew01 *, .rest02 *, .sw03 *, .atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)){font:700 22px/1.3 Arial;margin:0 0 20px;text-wrap:balance}
#dayDialog h4:where(:not(.ew01 *, .rest02 *, .sw03 *, .atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)){font:normal 26px/1.2 Georgia;margin:12px 0}
#dayDialog .intro{margin:0 0 34px;font-size:20px}
#dayDialog .intro-lead>p{font-size:22px;line-height:1.5}
#dayDialog .intro-editorial{display:grid;grid-template-columns:1fr 1.7fr;gap:34px;align-items:start}
#dayDialog .intro-copy{border-left:2px solid #e5d4e2;padding-left:28px}
#dayDialog .intro-copy p:last-child{margin-bottom:0}
#dayDialog .mini-scene{margin:30px 0;padding:30px;background:#e6e0ff;border-radius:20px;overflow-wrap:anywhere}
#dayDialog .mini-scene .scene-art{max-width:580px;margin:0 auto 28px;border-radius:16px;overflow:hidden}
#dayDialog .choices{gap:12px;margin:20px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
#dayDialog .choice{font:17px/1.55 Arial;border:2px solid transparent;background:#fff8f3;padding:20px;border-radius:12px;color:#43253a;box-shadow:none;transition:background .18s,transform .18s,border-color .18s}
#dayDialog .choice:hover{border-color:#6044b4;background:#f4edff;transform:translateY(-2px)}
#dayDialog .choice.selected{background:#351b49;color:#fff8f3;border-color:#ffb77e;box-shadow:inset 5px 0 #ffb77e}
#dayDialog .choice:active,#dayDialog .primary:active{transform:translateY(2px)}
#dayDialog button:focus-visible:where(:not(.atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)),#dayDialog a:focus-visible:where(:not(.rescue07 *, .sd12-root *)),#dayDialog summary:focus-visible{outline:3px solid #6044b4;outline-offset:4px}
#dayDialog .primary{font:700 15px/1.4 Arial;letter-spacing:.2px;background:#e74d70;color:#fff;border:0;border-radius:10px;min-height:52px;padding:16px 24px;box-shadow:none;white-space:normal;cursor:pointer}
#dayDialog .primary:hover{background:#b83155}
#dayDialog button:disabled:where(:not(.atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)){opacity:.65;cursor:default;transform:none}
#dayDialog .link-btn{font:700 14px/1.5 Arial;min-height:48px;color:#533485;padding:12px 4px}
#dayDialog .feedback{border:0;border-left:6px solid #ffb77e;background:#351b49;color:#fff8f3;border-radius:4px 16px 16px 4px;margin:30px 0;padding:30px 34px}
#dayDialog .feedback p{font-size:20px;line-height:1.6}
#dayDialog .feedback p:first-child{font-weight:700}
#dayDialog blockquote{font:normal 32px/1.35 Georgia;color:#351b49;border:0;border-top:2px solid #e74d70;border-bottom:2px solid #e74d70;padding:32px 0;margin:34px 0}
#dayDialog .psych{border:1px solid #d5c8db;border-radius:12px;padding:22px 25px;background:transparent}
#dayDialog summary{font:700 18px/1.5 Arial;cursor:pointer}#dayDialog .psych[open] summary{margin-bottom:22px}
#dayDialog .practice{background:#ffe6d3;border-radius:16px;padding:30px}#dayDialog .practice p{max-width:740px}
#dayDialog .resource{background:#6044b4;color:white;padding:22px 25px;border-radius:12px;font-weight:700}
#dayDialog .fine{font:14px/1.6 Arial;color:#705b70}
#dayDialog #gifts:not(:empty){border-top:1px solid #d9c9d3;margin-top:38px;padding-top:30px}
#dayDialog .gift-block{display:flex;gap:24px;align-items:center;padding:24px;background:#fbe1e3;border:0;border-radius:16px;margin:16px 0}
#dayDialog .gift-copy{min-width:0;flex:1}#dayDialog .gift-copy>strong{font:normal 25px/1.25 Georgia;display:block}
#dayDialog .gift-thumb{width:100px;height:150px;object-fit:contain;border-radius:8px;background:white;flex-shrink:0}
#dayDialog .gift-mark{font:40px Georgia;color:#6044b4;flex:0 0 46px}
#dayDialog .gift-block .actions{margin-bottom:0}#dayDialog .end-actions{border-top:1px solid #dfcfd8;padding-top:20px;margin-top:30px}
#dayDialog .interaction-panel{padding:26px;background:#351b49;border-radius:16px;color:#fff8f3}
#dayDialog .interaction-panel .choices{margin-top:0}#dayDialog .interaction-panel .choice.selected{background:#6044b4}
/* 01: restaurant */
#dayDialog .scene-1{background:#fbe1e3}.scene-1 .menu{border:0!important;border-radius:12px!important;padding:28px!important;background:#fff8f3!important}
#dayDialog .menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;text-align:left}.menu-item{border-top:1px solid #d8b7c1;padding:24px 0}.menu-item small{color:#ad3153;font-weight:bold}.scene-1>.scene-art{max-width:440px!important}
/* 02: never-ending planner */
#dayDialog .scene-2{background:#351b49;color:white}.scene-2 .task-board{background:transparent;padding:0;border:0}.scene-2 #eta{font-size:28px;color:#ffb77e}.scene-2 #tasks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scene-2 #tasks label{display:flex;gap:12px;align-items:center;background:#fff8f3;color:#43253a;padding:18px;border:0;border-radius:10px;line-height:1.5}.scene-2 input{accent-color:#6044b4;width:20px;height:20px;flex-shrink:0}.scene-2 #rest{display:block;width:100%;margin-top:24px!important;background:#e74d70}
/* 03: snow globe */
#dayDialog[data-story="3"] .story-cover{background:#393653;border-color:#b2a0d5}#dayDialog .scene-3{background:#e6e0ff;text-align:center;padding:32px 20px}#dayDialog .scene-3 .scene-art{max-width:640px}#dayDialog[data-story="3"] .feedback{background:#4b3d66;border-color:#dfc48e;text-align:center}
/* 04: fashion atelier */
#dayDialog .scene-4{background:#ffe6d3}.fabric-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.fabric-swatches>div{padding:22px 16px;border-top:8px solid #351b49;background:#fff8f3}.fabric-swatches>div:nth-child(2){border-color:#6044b4}.fabric-swatches>div:nth-child(3){border-color:#e74d70}.fabric-swatches p{margin:0!important}#dayDialog .tag-card{border:2px dashed #8d6478;background:#fff8f3;font:normal 24px/1.5 Georgia;padding:30px;margin:24px auto 0;max-width:500px;display:block}
/* 05: theatre */
#dayDialog .scene-5{background:#351b49;color:white}.scene-5 .poster{background:#fbe1e3;color:#43253a;padding:30px;border:0;border-radius:6px}.scene-5 .poster h3{font:32px Georgia!important}.scene-5 .stage{margin:28px 0}.scene-5 .curtain{background:repeating-linear-gradient(90deg,#6e183b,#963357 20%,#6e183b 40%)}
/* 06: horse oracle */
#dayDialog .scene-6{background:#351b49;color:#fff8f3}.oracle-notice{border-bottom:1px solid #9f7b9f;padding-bottom:20px}.oracle-notice p{font-size:16px!important}.scene-6 .card-back{background:#6044b4;border-color:#ffb77e;color:#ffdeb9;min-height:140px}.scene-6 .horse-prediction{color:#43253a;background:#ffe6d3;padding:28px;border-radius:16px}.scene-6 #horseAgain{color:#ffb77e}
/* 07: dispatch */
#dayDialog .scene-7{background:#ffe6d3}.scene-7 #rescueResult:not(:empty){background:#fff8f3;border-left:5px solid #e74d70;padding:24px;margin:20px 0}.scene-7 details{border-top:1px solid #c7a79a;padding-top:20px;margin-top:24px}
/* 08: review service */
#dayDialog .scene-8{background:#fbe1e3}.scene-8 .stars{display:block;color:#b14045;letter-spacing:4px;margin-bottom:14px;font-size:22px}.scene-8 .selected .stars{color:#ffb77e}.scene-8 .choice.rejected{border-color:#94c5b4;text-decoration:line-through;opacity:.8}#dayDialog .review-verdict{background:#e6e0ff;color:#351b49;border-color:#6044b4}
/* 09 and 11: satirical tech */
#dayDialog .scene-9{background:#351b49;color:white}.scene-9 .scanner{background:#21152f;border:1px solid #9d82eb;border-radius:16px;padding:28px}.scene-9 #scanDisplay{font:700 22px/1.4 monospace;color:#e6e0ff}.scene-9 label{display:block;margin-top:22px;font-weight:bold}.scene-9 .fine,.scene-9 .link-btn{color:#e6e0ff!important}.scene-9 .scanner-ring{border-color:#6044b4;border-top-color:#ffb77e}
#dayDialog .scene-11{background:#e6e0ff}.scene-11 .update-screen{background:#351b49;color:white;padding:30px;border-radius:14px;margin-bottom:24px}.scene-11 .loading{background:#635079}.scene-11 .loading i{background:#ffb77e}.scene-11 #updateStatus{font-family:monospace;font-size:17px}
/* 10: mirrors */
#dayDialog[data-story="10"] .story-cover{background:#51405f;border-color:#cab4d4}#dayDialog .scene-10{background:#f0e8ef;text-align:center;padding:38px 20px}#dayDialog .scene-10 .scene-art{max-width:700px}#dayDialog[data-story="10"] blockquote{border-color:#b7a5c4}
/* 12: illustrated tarot */
#dayDialog .scene-12{background:#351b49;color:#fff8f3;padding:28px 22px}#dayDialog .tarot-slot h3{font:700 12px/1.5 Arial;color:#ffb77e;letter-spacing:1.5px}#dayDialog .tarot-reading{font:16px/1.6 Arial;padding:18px 0}#dayDialog .tarot-reading p{font-size:16px}#dayDialog .scene-12 .fine,#dayDialog .scene-12 .link-btn{color:#e6e0ff}.tarot-card:focus-visible{outline-color:#ffb77e!important}
/* 13: vacancy */
.vacancy-badge{display:inline-block;padding:7px 12px;background:#ffb77e;color:#351b49;border-radius:5px;font:700 12px Arial;margin-bottom:25px}
#dayDialog .scene-13{background:transparent;padding:0}.scene-13 .job{padding:0;background:none;border:0}.scene-13 ol{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px;counter-reset:duty}.scene-13 li{counter-increment:duty;background:#fbe1e3;padding:26px;border-radius:14px;font-size:17px;line-height:1.6}.scene-13 li:before{content:'0' counter(duty);display:block;font:32px Georgia;color:#974362;margin-bottom:18px}.scene-13 li:nth-child(2){background:#e6e0ff}.scene-13 li:nth-child(3){background:#ffe6d3}.scene-13 li:nth-child(4){background:#f0e6f1}.employment{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;margin:30px 0}.employment>div{border-top:1px solid #c9adc3;padding:22px 0}.employment dt{font-size:13px;letter-spacing:1px;text-transform:uppercase;font-weight:bold;color:#774b77}.employment dd{margin:10px 0 0;font-size:18px;line-height:1.55}.employment>div:last-child{grid-column:1/-1}.scene-13 .interaction-panel{margin-top:32px;padding:32px!important}
/* 14: station */
#dayDialog[data-story="14"] .story-cover{background:#354355;border-color:#d7b68b}#dayDialog .scene-14{background:#e7e9ed}.scene-14 .station-boards{gap:18px}.scene-14 .station-board{background:#293347;color:#fff3df;border:0;padding:24px;border-radius:8px}.scene-14 .station-board h3{color:#ffcf96}.scene-14 .station-board p{font-size:15px!important}.scene-14 .ticket-card{background:#fff8f3;border:2px dashed #b39c89;padding:26px}.scene-14 .ticket-card p{font-size:18px!important}#dayDialog[data-story="14"] .intro-copy{border-color:#b9c3d0}
/* 15: snowball game */
#dayDialog .scene-15{background:#6044b4;color:white}.scene-15 .snow-arena{background:#e6e0ff;color:#351b49;border:3px solid #ffb77e;border-radius:16px;overflow:hidden}.scene-15 #throw{width:100%;font-size:20px}.scene-15 .link-btn{color:#fff8f3!important}.scene-15 #targetName{font-weight:bold}.scene-15 .impact{background:#351b49;color:white;padding:12px;font:700 24px/1.3 Arial;border-radius:8px;max-width:90%}
/* 16: translator */
#dayDialog .scene-16{background:#e6e0ff}.scene-16 .translator{background:#fff8f3;padding:26px;border-radius:12px;margin-bottom:20px}.scene-16 .signal{font:30px monospace;color:#6044b4}.scene-16 .translator .eyebrow{color:#6044b4;font-size:12px}.scene-16 .choices{grid-template-columns:1fr!important}#dayDialog .translation-output{background:#ffe6d3;color:#351b49;border-color:#e74d70}
/* 17: baggage */
#dayDialog .scene-17{background:#ffe6d3}.scene-17 .baggage-scale{background:#fff8f3;border:2px solid #351b49;padding:28px;border-radius:12px}.scene-17 #weight{display:block;font:700 25px monospace;background:#351b49;color:#ffb77e;padding:18px;margin-top:24px}.scene-17 .excuse{font-size:18px;line-height:1.7}.scene-17 .choices{grid-template-columns:1fr!important}
/* 18: letter */
#dayDialog .scene-18{background:#351b49;color:#fff8f3}.scene-18>.scene-art{max-width:360px!important}.scene-18 label{font-weight:bold;font-size:20px}.scene-18 #letter{min-height:300px;background:#fff8f3;font:18px/1.7 Arial;padding:24px;border:2px solid #ffb77e}.scene-18 .fine,.scene-18 .link-btn{color:#e6e0ff!important}.scene-18 .actions.equal{gap:16px}.scene-18 .actions.equal button:last-child{background:#6044b4}
/* 19: quiet variation, deliberately outside the playful palette */
#dayDialog[data-story="19"]{--plum:#293744;--accent:#baa67d;background:#25333f!important;color:#ece6db!important}
#dayDialog[data-story="19"] .story-cover{background:#293744;border-bottom-width:1px;padding-bottom:38px}
#dayDialog[data-story="19"] .story-cover .eyebrow,#dayDialog[data-story="19"] .card-header{color:#d7c39d}
#dayDialog[data-story="19"] .story-cover h2{font-size:44px;line-height:1.2;letter-spacing:0}
#dayDialog[data-story="19"] .intro-lead p{font-size:19px;line-height:1.85;font-weight:normal}
#dayDialog[data-story="19"] .mini-scene{padding:0;background:transparent}
#dayDialog[data-story="19"] .quiet-story{max-width:700px;margin:auto}#dayDialog[data-story="19"] .quiet-story p{font-size:19px;line-height:1.85;margin:28px 0}
#dayDialog[data-story="19"] .feedback{background:#344552;color:#f4eee3;border-left:2px solid #c9b687;font-size:18px}
#dayDialog[data-story="19"] .gift-block{background:#344552;border:1px solid #58636a;color:#f4eee3}
#dayDialog[data-story="19"] .primary,#dayDialog[data-story="19"] .soft-button{background:#d7c6a5!important;color:#25333f!important;border:0;border-radius:8px;padding:16px 24px;font:700 15px Arial;min-height:50px}
#dayDialog[data-story="19"] .link-btn,#dayDialog[data-story="19"] .fine,#dayDialog[data-story="19"] .gift-mark{color:#d7c6a5}
#dayDialog[data-story="19"] blockquote{color:#e9dfcb;border-color:#6b736e}#dayDialog[data-story="19"] #gifts,#dayDialog[data-story="19"] .end-actions{border-color:#58636a}
@media(max-width:700px){
 #dayDialog{width:calc(100% - 14px);max-height:96dvh;border-radius:16px}#dayDialog .story-cover{padding:42px 24px 28px}#dayDialog .story-cover h2{font-size:35px;letter-spacing:-.7px}#dayDialog .story-body{padding:26px 20px 20px}#dayDialog .story-cover .eyebrow{font-size:11px;margin-right:30px}#dayDialog .card-header{font-size:12px}#dayDialog .intro-editorial{grid-template-columns:1fr;gap:18px}#dayDialog .intro-copy{padding-left:18px}#dayDialog .intro-lead>p{font-size:20px}#dayDialog p:where(:not(.ew01 *, .rest02 *, .sw03 *, .atelier04-root *, .or06 *, .rescue07 *, .sd12-root *)){font-size:17px}#dayDialog .mini-scene{padding:22px 16px;margin:24px -4px}#dayDialog .choices{grid-template-columns:1fr}#dayDialog .choice{padding:17px;font-size:16px}#dayDialog .feedback{padding:24px 20px}#dayDialog .feedback p{font-size:18px}#dayDialog blockquote{font-size:27px}#dayDialog .interaction-panel{padding:18px}#dayDialog .gift-block{gap:16px;padding:20px;flex-wrap:wrap}#dayDialog .gift-thumb{width:72px;height:108px}#dayDialog .gift-copy{flex-basis:180px}#dayDialog .gift-copy>strong{font-size:23px}#dayDialog .gift-mark{display:none}#dayDialog .gift-block .actions{flex-direction:column;align-items:stretch}#dayDialog .gift-block .actions>*{width:100%}#dayDialog .menu-grid,.scene-2 #tasks,.fabric-swatches,.scene-13 ol,.employment{grid-template-columns:1fr}#dayDialog .scene-13{padding:0;margin:24px 0}.scene-13 .interaction-panel{padding:22px 18px!important}.scene-13 li{padding:22px}.scene-14 .station-boards{grid-template-columns:1fr}.scene-15 .impact{font-size:19px}#dayDialog .tarot-deck{grid-template-columns:1fr}#dayDialog .tarot-slot{max-width:320px}#dayDialog .tarot-reading p{font-size:17px}#dayDialog[data-story="19"] .story-cover h2{font-size:33px}#dayDialog[data-story="19"] .quiet-story p{font-size:18px}.scene-18 #letter{padding:16px}.scene-18 .actions.equal>*{min-width:0;flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){#dayDialog .choice,#dayDialog .primary{transition:none}}
