#episode.has-day-two{position:fixed;inset:0;margin:0;padding:0;min-height:0;z-index:20;background:#202521;max-width:none;width:100vw;height:100dvh!important}
#episode.has-day-two>.living-opening:not(.day-two){display:none!important}
.day-two{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;overflow:hidden;background:#252420;color:#f8ecd8;font-family:inherit;isolation:isolate;--d2-pad:clamp(14px,3vw,28px)}
.day-two[hidden]{display:none!important}.day-two *{box-sizing:border-box}.day-two .d2-art,.day-two .d2-shade{position:absolute;inset:0;z-index:-2;overflow:hidden}.day-two .d2-backdrop{width:100%;height:100%;object-fit:cover;filter:blur(24px) brightness(.65);transform:scale(1.1)}
.day-two .d2-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(var(--zoom,1));transform-origin:50% 0%;transition:none}.day-two .d2-shade{z-index:-1;background:linear-gradient(180deg,rgba(9,15,19,.4),transparent 30%,transparent 48%,rgba(8,13,17,.6))}
.day-two .d2-heading{position:absolute;top:calc(64px + env(safe-area-inset-top));left:var(--d2-pad);font-size:10px;letter-spacing:.18em;text-shadow:0 1px 7px #000;pointer-events:none}.day-two .d2-heading span{display:block;letter-spacing:.03em;font-size:12px;margin-top:5px}.day-two .lo-top-controls{position:absolute;top:calc(14px + env(safe-area-inset-top));right:var(--d2-pad);display:flex;gap:8px;z-index:5}.day-two .d2-music{width:38px;height:38px;border:1px solid #ffffff55;border-radius:50%;color:#fff1d7;background:#121923aa;font-size:20px}.day-two .hp-balance{top:calc(15px + env(safe-area-inset-top));left:var(--d2-pad);z-index:5}
.day-two .d2-dock{position:absolute;bottom:calc(80px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(640px,calc(100% - 2 * var(--d2-pad)));display:flex;flex-direction:column;gap:9px;z-index:2}.day-two .d2-bubble{padding:18px 22px;border:1px solid #ebcfa074;border-radius:20px;background:linear-gradient(135deg,#342c23ef,#171d24f2);box-shadow:0 12px 38px #0003;backdrop-filter:blur(12px)}
.day-two .d2-speaker{display:block;color:#e4c79a;text-transform:uppercase;letter-spacing:.1em;font-size:10px;margin-bottom:7px}.day-two .d2-reading{overflow:hidden}.day-two .d2-reading p{font-size:clamp(15px,2vw,19px);line-height:1.48;margin:0;white-space:pre-line}.day-two .d2-pages{display:block;text-align:right;font-size:10px;color:#d4bd9c;min-height:0;margin-top:5px}.day-two .d2-pages:empty{display:none}.day-two .d2-dream{font-size:clamp(14px,1.7vw,18px);line-height:1.3;margin:0 0 12px;color:#ead4ac;font-weight:500}
.day-two[data-who="Марина"] .d2-bubble,.day-two[data-who="Ольга"] .d2-bubble{background:linear-gradient(135deg,#283b50f0,#17232df5);border-color:#9ec7dc77}.day-two[data-who="Марина"] .d2-speaker,.day-two[data-who="Ольга"] .d2-speaker{color:#b6d7e9}.day-two[data-who="author"] .d2-bubble{background:linear-gradient(135deg,#4b3653ed,#2c2634f0);border-color:#c2a0cb80}.day-two[data-who="author"] .d2-speaker{color:#dfc1e2}.day-two[data-who="conclusion"] .d2-bubble{background:linear-gradient(135deg,#283a37f5,#1b242bf8);border-color:#b6b69480}.day-two[data-who="notice"] .d2-bubble{background:#1d2b3bee;border-color:#a8c4db88}.day-two[data-who="system"] .d2-bubble{background:#243c35ee}
.day-two .d2-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.day-two .d2-choice{min-height:48px;padding:12px 15px;font-size:14px;line-height:1.3;text-align:left;border-radius:13px;border:1px solid #e7d5b76b;color:#fff0d7;background:#1d2733f2;box-shadow:0 4px 16px #0002;cursor:pointer}.day-two .d2-choice:hover,.day-two .d2-choice:focus-visible{background:#3a443d;border-color:#f3d9a8;outline:2px solid #edd9b455;outline-offset:2px}.day-two .d2-hint{padding:0 6px;margin:0;font-size:11px;line-height:1.4;color:#f4e1c8;text-shadow:0 1px 5px #000}
.day-two .lo-controls{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(640px,calc(100% - 2 * var(--d2-pad)));display:flex!important;align-items:stretch;gap:8px;z-index:4;min-height:46px;margin:0;padding:0;background:none;border:0}.day-two .lo-controls button{cursor:pointer;border-radius:13px;border:1px solid #ead5b277;min-height:46px;font-size:14px;padding:9px 15px;line-height:1.2}.day-two .lo-back{flex:0 0 46px;background:#14202ce6;color:#f1dab6}.day-two .lo-next{flex:1;background:linear-gradient(120deg,#f0dcba,#c5a87c);color:#28271f}.day-two .da-alternate{flex:1;background:#1d2834ed;color:#ead9bd;order:2}.day-two .lo-controls button[hidden]{display:none!important}.day-two .lo-controls button:disabled{opacity:.45;cursor:default}.day-two .da-mode{top:calc(103px + env(safe-area-inset-top));bottom:auto;left:var(--d2-pad);right:auto;z-index:6;font-size:10px}
.day-two .d2-phone{position:absolute;left:50%;top:10%;transform:translateX(-50%);width:min(230px,52%);height:48%;z-index:1;display:flex;flex-direction:column;padding:15px 10px;color:#233743;gap:12px;overflow:hidden;font-family:system-ui;background:#f4f0e5;border-radius:20px}.day-two .d2-phone[hidden]{display:none}.day-two .d2-phone-time{font-size:9px;font-weight:bold}.day-two .d2-phone-title{font-size:14px}.day-two .d2-phone p{margin:0;font-size:clamp(10px,1.5vw,14px);line-height:1.35}.day-two .d2-phone small{font-size:10px}.day-two .d2-phone-message{padding:12px;background:#dbe9ef;border-radius:11px}.day-two .d2-menu-item{font-size:11px;border-bottom:1px solid #c6cfcd;padding:7px 0;display:flex;flex-direction:column;gap:3px}.day-two .d2-credit{font-size:24px;color:#3b7659}
.day-two .d2-results{background:#17212bf2;border:1px solid #d9c49b70;border-radius:20px;padding:18px 20px;backdrop-filter:blur(16px);color:#f4e6cf}.day-two .d2-result-eyebrow{font-size:10px;letter-spacing:.18em;color:#d4bb90}.day-two .d2-results h2{font-size:22px;font-weight:500;margin:5px 0 12px}.day-two .d2-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.day-two .d2-score-column h3{font-size:11px;letter-spacing:.04em;color:#c7bea9;margin:0 0 5px;font-weight:400}.day-two .d2-score{display:flex;justify-content:space-between;gap:9px;width:100%;border:0;border-bottom:1px solid #b9c2c21c;background:none;color:inherit;font:inherit;font-size:13px;line-height:1.25;min-height:28px;text-align:left;padding:6px 0;cursor:pointer}.day-two .d2-score strong{color:#dcc28c}.day-two .d2-money-summary{font-size:12px;padding:9px 0;border-bottom:1px solid #d5c4a730;margin:5px 0}.day-two .d2-result-dream small{font-size:11px;color:#cdb995}.day-two .d2-result-dream p{font-size:13px;line-height:1.4;margin:5px 0 0}.day-two .d2-appointment{font-size:11px;color:#d5d5a8;margin:8px 0 0}.day-two .d2-error{position:absolute;top:120px;left:15%;right:15%;padding:12px;border-radius:12px;background:#522e3af5;font-size:12px;z-index:9}.day-two .d2-error[hidden]{display:none}.day-two .d2-detail{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);color:#eedfc8;background:#1c2835;border:1px solid #c6b79788;border-radius:20px;padding:24px}.day-two .d2-detail::backdrop{background:#08101ab3}.day-two .d2-detail h2{font-size:20px;margin-top:0}.day-two .d2-detail p{font-size:15px;line-height:1.5;white-space:pre-line}.day-two .d2-detail button{min-height:44px;width:100%;border:1px solid #dbc6a1;background:#d9c19b;color:#232b30;border-radius:12px}
@media(min-aspect-ratio:4/3){.day-two .d2-image{object-fit:contain;object-position:50% 0%}.day-two .d2-dock{left:auto;right:5%;transform:none;width:min(490px,43%);bottom:90px}.day-two .d2-art .d2-image{width:57%;object-fit:cover;object-position:50% 0%}.day-two .lo-controls{left:auto;right:5%;transform:none;width:min(490px,43%)}.day-two .d2-phone{left:28.5%;width:min(225px,22%);top:10%;height:53%}.day-two.d2-result .d2-dock{width:min(590px,49%)}.day-two .d2-heading{left:25px}}
@media(max-width:380px),(max-height:600px){.day-two .d2-dock{gap:6px;bottom:65px}.day-two .d2-bubble{padding:12px 14px;border-radius:16px}.day-two .d2-reading p{font-size:14px;line-height:1.38}.day-two .d2-speaker{font-size:9px;margin-bottom:5px}.day-two .d2-dream{font-size:13px;margin-bottom:7px}.day-two .d2-choice{font-size:12px;min-height:42px;padding:9px 10px}.day-two .d2-hint{font-size:10px}.day-two .lo-controls{bottom:10px;min-height:42px}.day-two .lo-controls button{min-height:42px;font-size:12px;padding:8px 10px}.day-two .d2-results{padding:12px}.day-two .d2-results h2{font-size:17px;margin-bottom:7px}.day-two .d2-score-grid{gap:12px}.day-two .d2-score{font-size:11px;min-height:24px;padding:4px 0}.day-two .d2-money-summary{font-size:10px;padding:6px 0}.day-two .d2-result-dream p{font-size:11px;line-height:1.3}.day-two .d2-result-dream small,.day-two .d2-appointment{font-size:10px}.day-two .d2-phone{gap:7px;padding:10px;font-size:10px}.day-two .d2-phone-message{padding:7px}.day-two .d2-phone p{font-size:10px}}
@media(max-height:430px) and (orientation:landscape){.day-two .d2-dock{right:3%;width:57%;bottom:60px}.day-two .lo-controls{right:3%;width:57%}.day-two .d2-art .d2-image{width:42%}.day-two .d2-heading{top:61px;font-size:8px}.day-two .d2-reading p{font-size:12px;line-height:1.3}.day-two .d2-choice{min-height:36px;font-size:11px;padding:6px 8px}.day-two .d2-results h2{display:none}.day-two .d2-score{font-size:10px;min-height:19px;padding:3px 0}.day-two .d2-money-summary{margin:2px 0;padding:4px 0}.day-two .d2-result-dream p{font-size:10px}.day-two .d2-appointment{margin:4px 0 0}.day-two .d2-phone{left:21%;width:24%;font-size:9px}.day-two .d2-error{top:60px;font-size:10px}}

/* Screen content stays on the illustrated phone at every crop and aspect ratio. */
.day-two .d2-phone{transform:none;background:transparent;border-radius:0;padding:0;gap:12px;font-size:var(--phone-font,14px)}
.day-two .d2-phone p,.day-two .d2-phone-title{font-size:var(--phone-font,14px)}
.day-two .d2-phone-time{display:none}.day-two .d2-menu-item{font-size:calc(var(--phone-font,14px) * .9)}
.day-two .d2-choice:last-child:nth-child(odd){grid-column:1 / -1}
.day-two[data-who="Лера"] .d2-bubble,.day-two[data-who="Ника"] .d2-bubble,.day-two[data-who="Илья"] .d2-bubble{background:linear-gradient(135deg,#283b50f0,#17232df5);border-color:#9ec7dc77}

@media(max-height:430px) and (orientation:landscape){
 .day-two.d2-result .d2-dock{left:14px;right:14px;width:auto;transform:none}
 .day-two.d2-result .d2-results{display:grid;grid-template-columns:1.25fr 1fr;column-gap:16px;padding:10px 12px}
 .day-two.d2-result .d2-result-eyebrow{grid-column:1/-1;margin-bottom:5px}
 .day-two.d2-result .d2-score-grid{grid-column:1;grid-row:2/5;gap:10px}
 .day-two.d2-result .d2-money-summary,.day-two.d2-result .d2-result-dream,.day-two.d2-result .d2-appointment{grid-column:2}
 .day-two.d2-result .d2-score{font-size:10px;min-height:20px}
 .day-two.d2-result .d2-score-column h3{font-size:9px}
 .day-two.d2-result .d2-heading{display:none}
}

/* Day 2 continuity pass: preserve the top of every close-up. */
.day-two[data-close="true"] .d2-image{object-position:50% 0%}
.day-two .d2-bubble[hidden]{display:none}
.day-two .d2-phone{border-radius:var(--screen-radius,0);gap:0;display:block}
.day-two .d2-phone-content{display:flex;flex-direction:column;gap:.65em;padding:12px;overflow:hidden;font-size:var(--phone-font);height:100%}
.day-two .d2-phone-content p,.day-two .d2-phone-title{font-size:1em;line-height:1.4}
.day-two .d2-phone-content p{white-space:pre-line;overflow-wrap:anywhere}
.day-two .d2-phone-content small{font-size:.65em;line-height:1.35}
.day-two .d2-phone-message{padding:.6em;border-radius:.6em;flex:none}
.day-two .d2-phone-pages{min-height:1.35em;text-align:right}
.day-two .d2-delivered{color:#456b5c}
.day-two[data-who="hero"] .d2-phone-message{background:#dae6d4}
.day-two[data-phone-kind="notice"] .d2-phone{background:linear-gradient(155deg,#344c60,#101e31);color:#eff5fa}
.day-two[data-phone-kind="notice"] .d2-phone-time{display:block;font-size:2em;text-align:center;font-weight:300;margin:.4em 0 .9em}
.day-two .d2-notification{display:flex;flex-direction:column;gap:.5em;background:#edf3f5ec;color:#203547;padding:.8em;border-radius:.8em;box-shadow:0 8px 24px #0002}
.day-two[data-phone-kind="reading"] .d2-phone{background:#fbf9ef}
.day-two[data-phone-kind="reading"] .d2-phone-content{padding-left:6%;padding-right:6%;gap:.6em}
.day-two[data-phone-only="true"] .d2-heading span{display:none}
.day-two .d2-credit{font-size:1.7em}
@media(max-height:430px) and (orientation:landscape){
 .day-two.d2-phone-shot .d2-art .d2-image{width:100%;object-position:50% 20%!important}
 .day-two[data-phone-only="true"] .lo-controls{width:min(420px,calc(100% - 28px));right:50%;transform:translateX(50%)}
 .day-two[data-phone-kind="notice"] .d2-phone-time{display:none}
}

@media(max-height:430px) and (orientation:landscape){
 .day-two .d2-phone-content{gap:.35em;padding-left:8px;padding-right:8px}
 .day-two .d2-phone-message{padding:.4em}
 .day-two .d2-message-direction,.day-two .d2-delivered{display:none}
}

@media(max-height:430px) and (orientation:landscape){
 .day-two[data-phone-kind="order"] .d2-menu-item{padding:4px 0;gap:0;font-size:11px}
 .day-two[data-phone-kind="order"] .d2-menu-item b{display:none}
 .day-two[data-phone-kind="reading"] .d2-art .d2-image{width:100%;left:-14%;object-position:50% 30%!important}
}

/* Every outside speaker has a distinct dialogue colour. */
.day-two[data-who="Прохожий"] .d2-bubble{background:linear-gradient(135deg,#283b50f0,#17232df5);border-color:#9ec7dc77}.day-two[data-who="Прохожий"] .d2-speaker{color:#b6d7e9}

/* Compact notifications retain a readable sender without repeating the title. */
.day-two .d2-notification p{font-size:.9em}

.day-two[data-who="Кирилл"] .d2-bubble{background:linear-gradient(135deg,#283b50f0,#17232df5);border-color:#9ec7dc77}.day-two[data-who="Кирилл"] .d2-speaker{color:#b6d7e9}

/* Keep every participant visible in the three-person filming scene. */
.day-two[data-staging="ensemble"] .d2-art .d2-image{object-fit:contain;object-position:50% 0%!important}
@media(min-aspect-ratio:4/3){.day-two[data-staging="recording"] .d2-art .d2-image{object-fit:contain;object-position:50% 0%!important}}

/* Preserve faces in new portrait promenade scenes; the day remains in the accessible scene label. */
@media(max-width:650px){.day-two[data-social-outdoor="true"] .d2-heading{visibility:hidden}}

/* Promenade: full-bleed artwork, with text placed in each shot's quiet area. */
.day-two[data-social-outdoor="true"] .d2-art .d2-image{width:100%;left:0;object-fit:cover;object-position:50% 0%!important}
.day-two[data-social-outdoor="true"] .d2-heading{visibility:hidden}
.day-two[data-walk-layout="pair"] .d2-dock,.day-two[data-walk-layout="dog"] .d2-dock{top:var(--walk-top,32%);bottom:auto!important}
.day-two[data-walk-layout="pair"] .d2-dock{top:calc(var(--walk-top,32%) + var(--walk-height,20vh)/2);transform:translate(-50%,-50%)}
.day-two[data-walk-layout="pair"] .d2-reading p,.day-two[data-walk-layout="dog"] .d2-reading p{font-size:clamp(14px,3.8vw,17px);line-height:1.4}
.day-two[data-who="Марк"] .d2-bubble{background:linear-gradient(135deg,#283b50f0,#17232df5);border-color:#9ec7dc77}
@media(min-aspect-ratio:4/3){
 .day-two[data-social-outdoor="true"] .d2-art .d2-image{object-position:50% 50%!important}
 .day-two[data-social-outdoor="true"] .d2-dock{left:auto;right:5%;width:min(490px,43%);top:50%;bottom:auto!important;transform:translateY(-50%)}
 .day-two[data-social-outdoor="true"] .lo-controls{right:5%;width:min(490px,43%)}
 .day-two[data-social-outdoor="true"] .d2-reading p{font-size:clamp(14px,2vw,19px)}
}
@media(max-height:430px) and (orientation:landscape){
 .day-two[data-social-outdoor="true"] .d2-dock{top:48%;width:43%;right:4%}
 .day-two[data-social-outdoor="true"] .lo-controls{width:43%;right:4%}
 .day-two[data-social-outdoor="true"] .d2-reading p{font-size:12px;line-height:1.3}
}
.day-two .d2-choices:empty{display:none}
@media(max-height:600px){
 .day-two[data-walk-layout="pair"] .d2-bubble{padding:8px 12px}
 .day-two[data-walk-layout="pair"] .d2-speaker{margin-bottom:3px}
 .day-two[data-walk-layout="pair"] .d2-pages{line-height:12px;margin-top:3px}
}

/* Near-square author windows also need the wide camera, focused on the cast. */
@media(min-aspect-ratio:3/4) and (max-aspect-ratio:4/3){
 .day-two[data-social-outdoor="true"] .d2-art .d2-image{object-position:12% 50%!important}
 .day-two[data-walk-layout="dog"] .d2-art .d2-image{object-position:20% 50%!important}
 .day-two[data-walk-layout="dog"] .d2-dock{left:auto;right:3%;width:34%;top:calc(76px + env(safe-area-inset-top));bottom:auto!important;transform:none}
}
