
:root{font-family:'Noto Sans KR',sans-serif;color:#263449;background:#edf0f5;font-synthesis:none;--ink:#293853;--pink:#b65b79;--accent:#8e4c6b;--line:#dce1e8;--serif:'Noto Serif KR',serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;transition:background .18s,transform .18s;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible{outline:3px solid #cd799a;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}input{border:1px solid #c7ceda;border-radius:6px;padding:12px;background:#fff;color:var(--ink);min-width:0}p{line-height:1.85;margin:0 0 16px}h1,h2,h3{margin:0;font-family:var(--serif)}.eyebrow{font-size:12px;letter-spacing:.19em;font-weight:600;color:#69788d}.brand{font-family:var(--serif);font-weight:600;letter-spacing:-.04em;font-size:21px}.brand em{font-style:normal;color:var(--pink)}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:16px 4vw;background:#ffffffec;border-bottom:1px solid var(--line)}.top nav{display:flex;gap:5px}.plain{padding:10px 14px;background:transparent;color:#526076;font-size:14px;border-radius:5px}.plain:hover{background:#edf0f6}.primary{padding:15px 25px;background:var(--ink);color:#fff;border-radius:6px;font-weight:600;letter-spacing:.02em}.outline{padding:12px 18px;background:#fff;color:var(--ink);border:1px solid #c9d1dc;border-radius:6px}.start{min-height:100svh;background:linear-gradient(180deg,#f5f7fa,#edeff6)}.select-intro{max-width:1320px;margin:auto;padding:36px 34px 26px;display:flex;align-items:end;justify-content:space-between;gap:25px}.select-intro h1{font-size:clamp(26px,3vw,40px);margin:9px 0 12px;letter-spacing:-.06em;font-weight:600}.select-intro p{font-size:15px;color:#67758a;margin:0}.page-count{font-family:var(--serif);font-size:54px;color:#b9c3d3;white-space:nowrap}.page-count small{font:13px 'Noto Sans KR';letter-spacing:.12em;margin-left:12px;color:#718198}.cast{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:0 34px}.cast-card{text-align:left;overflow:hidden;background:white;border:1px solid #e0e4ec;border-radius:8px;position:relative;box-shadow:0 12px 28px #29385307;transition:transform .25s,border-color .25s}.cast-card:hover{transform:translateY(-5px)!important}.cast-card.selected{border:2px solid var(--accent);box-shadow:0 8px 24px #8e4c6b19}.portrait{background-image:none;background-repeat:no-repeat;background-size:500% 100%;background-position:calc(var(--i)*25%) center}.cast-card .portrait{width:100%;aspect-ratio:.63;position:relative}.cast-no{position:absolute;left:14px;top:14px;font-family:var(--serif);font-size:23px;color:#4c5771}.selected-dot{position:absolute;right:13px;top:15px;width:24px;height:24px;background:var(--accent);color:white;border-radius:50%;text-align:center;font-size:14px;line-height:24px}.cast-info{padding:18px 15px 20px;border-top:1px solid #e8e8ef}.cast-info h2{font-size:23px;margin-bottom:7px}.cast-info .meta{font-size:13px;color:#637189;line-height:1.7}.cast-info .first{font-family:var(--serif);font-size:14px;line-height:1.8;margin-top:15px;min-height:50px;color:#5b667a}.start-bottom{max-width:1252px;margin:25px auto 0;display:flex;gap:24px;justify-content:space-between;align-items:center;padding:22px 0;border-top:1px solid #d6dce6}.name-input{display:flex;align-items:center;gap:13px;font-size:14px}.name-input input{width:165px}.start-actions{display:flex;gap:12px;align-items:center}.start-hint{font-size:13px;color:#718096;margin:0}.game{min-height:100svh;display:flex;flex-direction:column;background:#e9edf3}.game .top{min-height:68px}.day-info{font-size:14px;color:#657389;display:flex;gap:18px;align-items:center}.day-info b{color:var(--ink);letter-spacing:.08em}.game-layout{width:100%;max-width:1600px;margin:auto;display:grid;grid-template-columns:1fr 280px;gap:0;flex:1}.stage{position:relative;min-height:740px;background:#d6dce9 url("../assets/images/office.webp") center/cover;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;padding:30px 38px}.stage:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1b2e472b,transparent 55%),linear-gradient(0deg,#1727389c,transparent 60%);z-index:-1}.stage.night:before{background:linear-gradient(0deg,#182647d9,#31436e55);mix-blend-mode:multiply}.scene-top{position:absolute;top:25px;left:30px;right:30px;display:flex;justify-content:space-between;gap:15px;align-items:start;z-index:2}.scene-tag{padding:9px 13px;background:#fffdf4ed;color:#46516a;border:1px solid #ffffff90;border-radius:3px;font-size:13px;box-shadow:0 4px 20px #2130490d}.scene-tag small{display:block;font-size:11px;letter-spacing:.15em;color:#7b8192;margin-bottom:3px}.chapter-label{color:#fff;font-size:13px;text-shadow:0 2px 6px #1d2c42}.standing{position:absolute;top:65px;bottom:0;right:9%;width:min(43%,390px);z-index:-1;overflow:hidden;mask-image:linear-gradient(180deg,black 85%,transparent);animation:appear .65s ease}.standing .portrait{height:100%;width:100%;background-size:500% 100%;border-radius:160px 160px 0 0;mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent)}.scene-title{font-family:var(--serif);position:absolute;left:35px;top:150px;max-width:46%;color:white;text-shadow:0 2px 15px #28324b7a}.scene-title small{font-family:'Noto Sans KR';font-size:12px;letter-spacing:.15em;display:block;margin-bottom:14px}.scene-title h2{font-size:clamp(23px,3vw,40px);font-weight:500;line-height:1.55;word-break:keep-all}.dialogue-wrap{width:100%;z-index:3;margin-top:320px}.dialogue{position:relative;background:#fffffff5;border:1px solid #ffffff;padding:35px 30px 19px;border-radius:5px;box-shadow:0 15px 50px #0b19252b;min-height:180px}.nameplate{position:absolute;top:-19px;left:24px;min-width:122px;background:var(--ink);color:#fff;padding:10px 24px;box-shadow:4px 4px 0 #e4b7cbaa;font-size:19px;letter-spacing:.04em}.dialogue-text{font-size:22px;line-height:1.9;white-space:pre-line;min-height:68px;color:#313b4c;word-break:keep-all}.dialogue-text.narration{font-family:var(--serif);font-size:21px;color:#5c6576}.dialogue-foot{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:15px}.dialogue-foot .eyebrow{font-size:15px;letter-spacing:.11em}.next{background:transparent;font-size:18px;color:var(--accent);padding:10px 0 10px 20px;font-weight:600}.choices{display:grid;gap:9px;margin:0 0 28px 0;max-width:640px;margin-left:auto;margin-right:auto}.choices button{text-align:left;background:#fffffff5;color:#33425a;padding:15px 20px;border-radius:4px;border:1px solid #ffffffc9;box-shadow:0 5px 22px #12264124;font-size:19px;line-height:1.55;display:flex;gap:15px;align-items:center;backdrop-filter:blur(12px)}.choices button:hover{background:#f7eaf0;border-color:#c783a1;filter:none}.choices button span{font-family:var(--serif);font-size:22px;color:#9b627d;border-right:1px solid #d7cfda;padding-right:15px}.reaction{padding:10px 16px;color:#fff;background:#26364bea;margin:0 0 24px;border-radius:4px;font-size:18px;line-height:1.6;border-left:3px solid #dc9dbb}.side{padding:28px 25px;background:#fafbfd;border-left:1px solid var(--line)}.side h2{font-size:26px;margin:7px 0}.side .meta{font-size:13px;line-height:1.8;color:#748196}.relation{font-size:13px;background:#efe6ed;color:#95526f;padding:6px 10px;display:inline-block;margin:17px 0 22px;border-radius:3px}.stat{margin-bottom:18px}.stat-head{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px}.stat-head b{font-weight:500;color:#9c5678}.bar{height:4px;background:#e3e7ee}.bar i{height:100%;display:block;background:#c584a4;transition:width .5s}.stat.trust .bar i{background:#6f8dac}.stat.trust b{color:#5f789b}.side-section{border-top:1px solid var(--line);padding-top:22px;margin-top:23px}.side-section h3{font-family:'Noto Sans KR';font-size:14px;margin-bottom:12px;font-weight:600}.observation{font-size:14px;line-height:1.85;color:#68768b}.energy{display:flex;gap:6px;margin:12px 0}.energy i{height:5px;background:#405573;flex:1}.energy i.off{background:#d9dfe8}.side-action{display:flex;width:100%;justify-content:space-between;text-align:left;padding:11px 0;color:#53637a;background:transparent;border-bottom:1px solid #e7eaf0;font-size:14px}.route-progress{font-size:13px;color:#718097;margin-top:10px;line-height:1.8}.game-footer{background:white;padding:10px 4vw;display:flex;justify-content:space-between;color:#718095;font-size:12px;gap:10px;border-top:1px solid var(--line)}dialog{border:1px solid #d9dfeb;max-width:650px;width:calc(100% - 30px);padding:36px;border-radius:10px;color:var(--ink);max-height:85svh;box-shadow:0 30px 100px #13213650}dialog::backdrop{background:#1c2e4d80;backdrop-filter:blur(6px)}dialog h2{font-size:26px;margin:4px 35px 22px 0}dialog h3{font-size:18px;margin:24px 0 12px}dialog p{font-size:15px;color:#637187}dialog .primary{margin-top:12px}.dialog-close{position:absolute;right:16px;top:12px;font-size:30px;background:transparent;color:#5f6f82;padding:4px 10px}.trait-row{font-size:14px;border-bottom:1px solid #e2e6ed;padding:15px 0;line-height:1.8}.locked{color:#98a3b4}.log{padding:16px 0;border-bottom:1px solid #e0e5ed}.log small{font-size:12px;color:#958399}.log b{font-size:14px;display:block;margin:6px 0}.log p{font-size:14px;margin:6px 0;white-space:pre-line}.ending{background:#ffffffed;padding:25px;border:1px solid white;margin-bottom:30px;border-radius:4px}.ending h2{margin:10px 0 16px;font-size:30px}.ending p{font-family:var(--serif);font-size:16px;line-height:1.9}.button-row{display:flex;gap:12px;flex-wrap:wrap}.choice-label{font-size:16px;color:white;text-align:center;text-shadow:0 1px 5px #333;letter-spacing:.12em;margin-bottom:3px}.autosave{display:flex;align-items:center;gap:6px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#263751;color:#fff;font-size:14px;z-index:100;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%;white-space:pre-line}#toast.show{opacity:1}.empty-note{font-size:14px;color:#738096;padding:20px 0}.daily-note{margin-top:14px;font-size:13px;line-height:1.8;color:#8390a0} @keyframes appear{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}@media(min-width:1600px){.stage{min-height:820px}}@media(max-width:1050px){.game-layout{grid-template-columns:1fr 245px}.stage{padding:28px 24px}.side{padding:26px 20px}.cast{gap:9px;padding:0 22px}.select-intro{padding:28px 22px}.start-bottom{margin:20px 22px}.cast-info{padding:15px 11px}.cast-info h2{font-size:20px}.cast-info .first{font-size:13px}.standing{right:5%;width:48%}.start-actions .start-hint{display:none}}@media(max-width:760px){.top{padding:14px 18px;min-height:64px}.top nav{gap:0}.top .plain{padding:8px;font-size:13px}.brand{font-size:17px}.page-count{display:none}.select-intro{padding:25px 20px 20px}.select-intro h1{font-size:28px}.select-intro p{font-size:14px}.cast{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 20px 18px;gap:13px}.cast-card{flex:0 0 65%;max-width:280px;scroll-snap-align:center}.cast-card .portrait{aspect-ratio:.75}.cast-info h2{font-size:23px}.cast-info .first{min-height:0;margin-top:10px;font-size:14px}.start-bottom{padding:18px 0 26px;display:block;margin:0 20px}.name-input{justify-content:space-between}.name-input input{width:65%}.start-actions{margin-top:15px}.start-actions .primary{flex:1}.game-layout{display:flex;flex-direction:column}.game .top{flex-wrap:wrap;padding:12px 16px;gap:9px}.day-info{font-size:12px;gap:10px}.game .top nav{margin-left:auto}.stage{min-height:680px;padding:24px 16px}.scene-top{left:16px;right:16px;top:16px}.scene-title{left:20px;top:115px;max-width:43%}.scene-title h2{font-size:25px}.standing{right:3%;width:55%;top:65px;bottom:115px;max-width:320px}.scene-title small{font-size:11px}.scene-tag{font-size:12px}.chapter-label{font-size:12px}.dialogue-wrap{margin-top:270px}.dialogue{padding:30px 19px 10px;min-height:180px}.dialogue-text{font-size:20px;line-height:1.85}.dialogue-text.narration{font-size:20px}.nameplate{font-size:18px;left:17px;padding:9px 18px}.choices{margin-bottom:28px;gap:8px}.choices button{font-size:18px;padding:12px 14px;gap:10px}.side{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px}.side .relation{margin:10px 0}.side-section{margin:0;padding-top:14px}.side-section:last-child{grid-column:1/-1}.side .stats{padding-top:4px}.side h2{font-size:24px}.game-footer{font-size:11px;padding:10px 15px}.game-footer>span{display:none}.dialogue-foot .eyebrow{max-width:60%;font-size:14px;line-height:1.5}dialog{padding:28px 22px}.ending h2{font-size:25px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Gwak: soft monolid features, relaxed gaze, black center-parted fringe. */
.portrait.portrait-kwak,.standing .portrait.portrait-kwak{background-image:none;background-size:100% 100%;background-position:center}
/* Five moments of the day, with a consistent room and changing light. */
.stage{background:#69788e;min-height:800px}
.scene-backdrop{position:absolute;inset:0;z-index:-3;background:url("../assets/images/office-times.png") center top/100% 300% no-repeat}
.period-lunch .scene-backdrop,.period-day .scene-backdrop{background-position:center 50%}
.period-lunch .scene-backdrop{filter:brightness(1.07)}
.period-day .scene-backdrop{filter:brightness(.94) saturate(.9)}
.period-evening .scene-backdrop{background:url("../assets/images/office.webp") center/cover}
.period-night .scene-backdrop{background-position:center bottom;filter:brightness(.8)}
.stage:before{z-index:-2;background:linear-gradient(90deg,#172a4055,transparent 75%),linear-gradient(0deg,#14223d99,transparent 85%)}
.scene-title{z-index:1}.standing{z-index:-1;top:85px;bottom:auto;height:650px;width:325px;max-width:48%;right:7%;mask-image:linear-gradient(180deg,#000 70%,transparent 98%)}
.portrait.portrait-kwak,.standing .portrait.portrait-kwak{background-image:none}
.portrait-sangbin{background-image:none}.portrait-jiyeon{background-image:none}.portrait-hyeji{background-image:none}.portrait-sujin{background-image:none}
.cast-card .portrait,.standing .portrait{background-size:100% auto;background-position:center top;background-repeat:no-repeat}
.standing .portrait{border-radius:0;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:8px;margin:0 0 17px;list-style:none;background:#1d2e49d9;border:1px solid #ffffff40;border-radius:6px;color:#c2cada}
.timeline li{text-align:center;font-size:12px;padding:6px 2px;border-radius:3px}.timeline li span{display:block;font-size:10px;letter-spacing:.04em;margin-bottom:2px;opacity:.8}.timeline .now{background:#f3e6ef;color:#66465d;font-weight:700}.timeline .done{color:#dfdbe5}.timeline .done:after{content:' ·'}
.action-choices{grid-template-columns:1fr 1fr;max-width:720px;gap:7px}.action-choices .choice-label{grid-column:1/-1}.action-choices button{font-size:18px;padding:11px 14px}.action-choices button span{font-size:19px;padding-right:10px}.dialogue-wrap{margin-top:330px}.remote-scene .nameplate:after{content:' · 메시지';font-size:15px;font-weight:400;opacity:.8}
@media(max-width:760px){.stage{min-height:760px}.standing{height:530px;width:265px;max-width:58%;right:1%;top:75px}.dialogue-wrap{margin-top:280px}.action-choices button{font-size:16px;padding:10px 9px;gap:6px}.action-choices button span{font-size:17px;padding-right:6px}.timeline{margin-bottom:15px}.timeline li{font-size:11px}}

/* V9: a steady character above a generous integrated dialogue surface. */
.standing,.standing .portrait{animation:none!important;transition:none!important}
.stage{min-height:calc(100svh - 105px);padding:24px 30px;display:flex;justify-content:flex-end}
.dialogue-wrap{margin-top:38vh;min-height:46vh;display:flex;flex-direction:column;gap:18px}
.dialogue{min-height:36vh;display:flex;flex-direction:column;padding:32px 28px 16px}
.dialogue-text{font-size:24px;line-height:1.85;min-height:95px}.inner-thought{font-family:var(--serif);font-style:italic;color:#6a5976}
.timeline{padding:10px;margin:0;gap:7px}.timeline li{font-size:16px;padding:7px}.timeline li span{font-size:13px}
.dialogue .choices{width:100%;max-width:none;margin:24px 0 0;gap:8px}.dialogue .choice-label{color:#755b70;font-size:18px;text-shadow:none;text-align:left;letter-spacing:0;margin-bottom:3px}
.dialogue .choices button{background:#f5f6fa;box-shadow:none;border:1px solid #d9deea;padding:13px 18px;font-size:20px}.dialogue .choices button:hover{background:#f7eaf1;border-color:#b67998}
.dialogue .action-choices{grid-template-columns:1fr}.dialogue-foot{justify-content:flex-end;margin-top:auto;padding-top:15px}.reaction{margin:0 0 14px;font-size:18px;padding:8px 12px;background:#f1ebf1;color:#71566d}
.standing{top:70px;height:540px;width:350px;max-width:48%;right:13%;mask-image:none}.standing .portrait{mask-image:none}
.game-footer{background:#263449;color:#fff;align-items:center}.screen-signature{display:block!important;font-size:12px;letter-spacing:.12em;color:#fff}.game-footer .plain{color:#fff}.scene-title{max-width:36%;top:135px}.scene-title h2{font-size:28px}
@media(max-width:760px){.stage{padding:20px 14px;min-height:calc(100svh - 125px)}.dialogue-wrap{margin-top:35vh;min-height:50vh;gap:19px}.dialogue{padding:29px 18px 13px;min-height:40vh}.dialogue-text{font-size:21px;min-height:90px}.timeline{gap:3px;padding:6px}.timeline li{font-size:14px;padding:6px 1px}.timeline li span{font-size:12px}.dialogue .choices button{font-size:19px;padding:11px 12px}.standing{top:70px;height:410px;width:265px;right:4%;max-width:62%}.scene-title{top:110px;max-width:38%}.scene-title h2{font-size:21px}.game-footer{flex-wrap:wrap}.game-footer .autosave{font-size:11px}.screen-signature{font-size:11px}}

.portrait.portrait-sangbin,.standing .portrait.portrait-sangbin{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%);}
.portrait.portrait-kwak,.standing .portrait.portrait-kwak{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%);}
.portrait.portrait-jiyeon,.standing .portrait.portrait-jiyeon{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%);}
.portrait.portrait-hyeji,.standing .portrait.portrait-hyeji{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%);}
.portrait.portrait-sujin,.standing .portrait.portrait-sujin{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%);}
.event-art-sangbin{background-image:none}
.event-art-kwak{background-image:none}
.event-art-jiyeon{background-image:none}
.event-art-hyeji{background-image:none}
.event-art-sujin{background-image:none}
.cast-card .portrait{aspect-ratio:.963}.standing{height:auto;aspect-ratio:.963;width:350px;max-width:46%;top:75px}.standing .portrait{height:100%;border-radius:6px}.event-art{position:absolute;top:0;left:0;width:100%;height:44vh;min-height:280px;z-index:-1;background-repeat:no-repeat;background-size:200% 400%;background-position:var(--cgx) var(--cgy)}
.incident-scene .standing{display:none}.incident-scene .scene-title{top:95px;background:#1c294ba8;padding:10px 16px;border-radius:4px;max-width:45%}.incident-scene .scene-title h2{font-size:23px}.incident-scene .scene-top{top:16px}.incident-scene .dialogue-wrap{margin-top:42vh}.incident-scene .scene-backdrop{filter:blur(3px) brightness(.65)}
@media(max-width:760px){.standing{width:275px;max-width:60%;top:75px}.event-art{height:38vh;min-height:250px}.incident-scene .dialogue-wrap{margin-top:35vh}.incident-scene .scene-title{top:80px;max-width:44%;padding:8px}.incident-scene .scene-title h2{font-size:17px}}

.event-art-shell{position:absolute;inset:0 0 auto;height:44vh;min-height:280px;overflow:hidden;z-index:-1}.event-art{left:50%;transform:translateX(-50%);width:max(100%,132vh);height:auto;min-height:0;aspect-ratio:3;z-index:auto}.incident-scene .scene-title small{display:none}@media(max-width:760px){.event-art-shell{height:38vh;min-height:250px}.event-art{width:max(100%,114vh);height:auto;min-height:0;aspect-ratio:3}}

.dialogue-face{position:absolute;right:20px;top:20px;width:76px;aspect-ratio:.963;border-radius:5px}.incident-scene .dialogue-text{padding-right:94px;min-height:115px}.incident-scene .reaction{margin-right:94px}@media(max-width:760px){.dialogue-face{width:64px;right:16px}.incident-scene .dialogue-text{padding-right:76px}.incident-scene .reaction{margin-right:76px}}
/* V10: lower dialogue with 15% less vertical padding and a cinematic event view. */
.dialogue-wrap{min-height:39.1vh;margin-top:43vh;gap:15px}.dialogue{min-height:30.6vh;padding-top:27px;padding-bottom:14px}.dialogue-text{min-height:81px}.dialogue .choices{margin-top:20px;gap:7px}.dialogue .choices button{padding-top:11px;padding-bottom:11px}
.game:has(.incident-scene) .game-layout{max-width:none;grid-template-columns:1fr}.game:has(.incident-scene) .side{display:none}.incident-scene{min-height:calc(100svh - 108px);padding:24px max(24px,8vw)}
.incident-scene .event-art-shell{inset:0;height:100%;min-height:0}.incident-scene .event-art{top:0;left:0;transform:none;width:100%;height:100%;aspect-ratio:auto;background-size:200% 200%;background-position:var(--cgx) var(--cgy)}
.incident-scene .dialogue-wrap{margin-top:45vh;min-height:32vh}.incident-scene .dialogue{background:rgba(12,20,34,.30);border:1px solid #ffffff66;color:white;box-shadow:none;backdrop-filter:blur(5px)}
.incident-scene .dialogue-text,.incident-scene .dialogue-text.narration,.incident-scene .inner-thought{color:#fff;text-shadow:0 1px 4px #000b}.incident-scene .dialogue .choices button{background:#10182766;color:white;border-color:#ffffff66;backdrop-filter:blur(3px)}.incident-scene .dialogue .choices button:hover{background:#472d5ab3}.incident-scene .dialogue .choice-label,.incident-scene .next,.incident-scene .choices button span{color:#fff}.incident-scene .reaction{background:#0c142266;color:#fff;border-color:#e7c8db}.incident-scene .timeline{background:#0c14224d}.incident-scene .dialogue-face{display:none}.incident-scene .dialogue-text{padding-right:0}.incident-scene .reaction{margin-right:0}
@media(max-width:760px){.dialogue-wrap{margin-top:40vh;min-height:42.5vh}.dialogue{min-height:34vh;padding:25px 16px 11px}.dialogue-text{min-height:77px}.incident-scene{padding:20px 14px}.incident-scene .dialogue-wrap{margin-top:47vh;min-height:34vh}.incident-scene .dialogue-text{padding-right:0}.incident-scene .reaction{margin-right:0}.incident-scene .event-art{height:100%;width:100%;min-height:0}}
/* Full figures have their own column; dialogue and time never cover their feet. */
.stage:not(.incident-scene) .standing{left:3%;right:auto;top:auto;bottom:24px;width:min(32%,calc(74vh * 2 / 3));max-width:32%;height:auto;aspect-ratio:2/3;mask-image:none}
.standing .portrait{height:100%;mask-image:none;border-radius:0}.cast-card .portrait{aspect-ratio:2/3}
.stage:not(.incident-scene) .dialogue-wrap{width:64%;margin-left:auto}.stage:not(.incident-scene) .scene-title{left:39%;top:130px;max-width:55%}
.incident-scene .event-cg{display:block;width:100%;height:100%;overflow:hidden}.incident-scene .event-art-shell{z-index:-1}.incident-scene .dialogue-wrap{width:100%;margin-left:0}
@media(max-width:760px){.stage:not(.incident-scene) .standing{top:73px;bottom:auto;left:auto;right:4%;width:20vh;max-width:38%;height:auto;aspect-ratio:2/3}.stage:not(.incident-scene) .dialogue-wrap{width:100%;margin-left:0;margin-top:max(40vh,330px)}.stage:not(.incident-scene) .scene-title{left:20px;top:115px;max-width:48%}.incident-scene .scene-title{max-width:70%}}

/* Regenerated full-body nine-expression sheets. */
.portrait.portrait-kwak,.standing .portrait.portrait-kwak{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%)}
.portrait.portrait-sangbin,.standing .portrait.portrait-sangbin{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%)}
.portrait.portrait-jiyeon,.standing .portrait.portrait-jiyeon{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%)}
.portrait.portrait-hyeji,.standing .portrait.portrait-hyeji{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%)}
.portrait.portrait-sujin,.standing .portrait.portrait-sujin{background-image:none;background-size:300% 300%;background-position:var(--exx,0%) var(--exy,0%)}
/* V13: right-hand standing behind a full-width dialogue foreground. */
.stage:not(.incident-scene) .standing{left:auto;right:3%;top:78px;bottom:auto;width:min(40%,460px);max-width:40%;height:auto;aspect-ratio:2/3;z-index:1;pointer-events:none}
.stage:not(.incident-scene) .dialogue-wrap{position:relative;z-index:5;width:100%;margin-left:0;margin-top:46vh}
.stage:not(.incident-scene) .scene-title{left:3%;top:125px;max-width:48%;z-index:2}
.dialogue-wrap .dialogue{background:#fffffff5}.scene-top{z-index:3}.relationship-note{font-size:12px;color:#768197;margin-top:10px}
.game.cinematic{position:relative;isolation:isolate;background:transparent;min-height:100svh}
.cinematic>.event-art-shell{position:fixed;inset:0;width:100%;height:100svh;min-height:0;z-index:-2;pointer-events:none;overflow:hidden}
.cinematic>.event-art-shell .event-cg{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%;filter:none;image-rendering:auto}
.cinematic .top{background:rgba(12,20,34,.18);border-bottom:1px solid #ffffff30;color:white;position:relative;z-index:6;text-shadow:0 1px 4px #0008}
.cinematic .top .plain,.cinematic .brand em,.cinematic .day-info span{color:white}.cinematic .top .plain:hover{background:#ffffff20}
.cinematic .game-layout,.cinematic .stage{background:transparent}.cinematic .scene-backdrop{display:none}.cinematic .stage::before{background:linear-gradient(180deg,transparent,#10203322)}
.cinematic .game-footer{background:#0c142233;position:relative;z-index:6}.cinematic .dialogue-wrap{position:relative;z-index:5}.cinematic .dialogue{background:rgba(12,20,34,.30)}
.portrait.portrait-kwak,.standing .portrait.portrait-kwak{background-image:url("../assets/images/kwak-standing-hd-v24.webp")}
.portrait.portrait-sangbin,.standing .portrait.portrait-sangbin{background-image:url("../assets/images/sangbin-standing-hd-v24.webp")}
.portrait.portrait-jiyeon,.standing .portrait.portrait-jiyeon{background-image:url("../assets/images/jiyeon-standing-hd-v22.webp")}
.portrait.portrait-hyeji,.standing .portrait.portrait-hyeji{background-image:url("../assets/images/hyeji-standing-hd-v22.webp")}
.portrait.portrait-sujin,.standing .portrait.portrait-sujin{background-image:url("../assets/images/sujin-standing-hd-v22.webp")}
.standing .portrait{background-color:transparent;box-shadow:none}
@media(max-width:760px){.stage:not(.incident-scene) .standing{right:2%;top:75px;width:min(58%,320px);max-width:58%}.stage:not(.incident-scene) .dialogue-wrap{margin-top:max(43vh,300px)}.stage:not(.incident-scene) .scene-title{left:14px;max-width:42%;top:120px}.cinematic .top{gap:8px}.cinematic .brand{font-size:16px}}
.header-bond{font-size:12px}.cinematic .header-bond{color:#ffe9f2}.cinematic .cg-period-4:after{content:'';position:absolute;inset:0;pointer-events:none;background:#10172c22}.cinematic .cg-period-3:after{content:'';position:absolute;inset:0;pointer-events:none;background:#e7a05a0d}
.cinematic .day-info b{color:white}.cinematic .scene-title{max-width:50%;background:#0c142249}.game .day-info{flex-wrap:wrap;row-gap:4px}

/* V14: eye-level close conversation, body remains behind dialogue. */
.stage:not(.incident-scene) .standing{left:68%;right:auto;top:38px;bottom:auto;transform:translateX(-50%);width:clamp(640px,103.333vh,966.667px);height:clamp(960px,155vh,1450px);max-width:none;aspect-ratio:2/3;z-index:1;pointer-events:none}
.stage:not(.incident-scene) .standing .portrait{width:100%;height:100%}
.stage:not(.incident-scene) .dialogue-wrap{z-index:5}
@media(max-width:760px){.stage:not(.incident-scene) .standing{left:57%;right:auto;top:50px;width:clamp(580px,96.667svh,866.667px);height:clamp(870px,145svh,1300px);max-width:none}.stage:not(.incident-scene) .scene-title{top:90px;max-width:34%;z-index:2}.stage:not(.incident-scene) .scene-title h2{font-size:18px}}

/* V15: dialogue typography increased by 3pt (4 CSS px), including mobile. */
.dialogue .choices button{overflow-wrap:anywhere}.dialogue .nameplate{max-width:90%;white-space:normal}
