@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito+Sans:wght@400;600;700;800;900&display=swap');
:root{--teal:#a67c52;--teal-dark:#775537;--pink:#68452f;--gold:#e8b680;--ink:#3d2d22;--font:'Nunito Sans','DM Sans',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:#101c26;color:var(--ink);font-family:var(--font);overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ffd48e;outline-offset:3px}svg{display:inline-block;width:22px;height:22px;flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}#scene-text:focus{outline:none}.vn-shell{min-height:100svh;display:flex;align-items:center;justify-content:center;gap:6vw;padding:20px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#214b4a70,transparent 65%),linear-gradient(120deg,#151b2b,#152d30)}.vn-shell:before{content:'';position:absolute;inset:0;z-index:-1;background:url('assets/tr-konak-courtyard.webp') center/cover;filter:blur(30px);opacity:.08;transform:scale(1.1)}.desktop-copy{width:220px;color:#f0e1c8;flex-shrink:0}.desktop-rule{width:52px;height:2px;background:#e8bd83;margin-bottom:30px}.desktop-rule.small{width:30px;height:1px;margin:25px 0}.desktop-copy>span{font-size:9px;letter-spacing:2.1px;color:#c0cfcb}.desktop-copy h1{font-family:Georgia,serif;font-size:67px;font-weight:400;line-height:1.08;margin:23px 0;letter-spacing:-1px}.desktop-copy h1 em{font-weight:400;color:#e3b990}.desktop-copy p{font-size:12px;line-height:1.9;color:#bccbc6}.desktop-copy small{font-size:8px;letter-spacing:1.5px;color:#809d98}.desktop-caption{width:150px;color:#bfd2ca;align-self:center;margin-top:120px}.desktop-caption>span{font-family:Georgia,serif;font-size:46px;color:#b69e79}.desktop-caption>div{height:1px;width:40px;background:#47645e;margin:18px 0}.desktop-caption p{font-family:Georgia,serif;font-size:20px;line-height:1.7;font-style:italic}.desktop-caption small{display:block;font-size:7px;letter-spacing:1.8px;line-height:1.8;color:#809b93;margin-top:23px}.phone-stage{height:min(870px,calc(100svh - 40px));aspect-ratio:9/16;min-height:640px;position:relative;isolation:isolate;overflow:hidden;flex-shrink:0;background:#8d8c71;border:3px solid #70857a;border-radius:12px;box-shadow:0 25px 100px #0008,0 0 0 7px #04161930}.scene-background{position:absolute;inset:0;z-index:-3;background-image:var(--scene);background-size:cover;background-position:center;transition:filter .5s}.scene-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#132e4b50 0%,transparent 25%,transparent 65%,#17334370 100%)}.night .scene-background{filter:brightness(.53) saturate(.85)}.night .scene-shade{background:linear-gradient(180deg,#152b4a77,transparent 45%,#172d4977)}.vn-header{position:absolute;z-index:10;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 17px 12px;color:#fff;text-shadow:0 1px 4px #102e4b40;background:linear-gradient(#14283a80,transparent)}.round-button{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:#ffffffec;border:2px solid #ffe9c2;border-radius:50%;color:#725237;box-shadow:0 2px 8px #10253a30;padding:7px}.round-button:hover{background:#fff4d7}.round-button svg{width:18px;height:18px}.header-spacer{width:35px}.header-title{text-align:center}.header-title>span{display:block;font-weight:800;letter-spacing:2px;font-size:9px;color:#ffe5ad}.header-title strong{display:block;font-size:12px;font-weight:800;margin-top:4px}.chapter-chip{font-size:8px;letter-spacing:1.4px;font-weight:800;background:#17344699;padding:8px 11px;border:1px solid #ffffff70;border-radius:20px}.chapter-status{position:absolute;z-index:3;top:78px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;color:white;font-size:8px;font-weight:800;letter-spacing:1.4px;text-shadow:0 1px 6px #0008}.status-dots{display:flex;gap:6px}.status-dots i{height:8px;width:8px;border-radius:50%;border:1px solid #fff9;background:#16373877}.status-dots i.available{background:#f7d38a;box-shadow:0 0 9px #f7d38a88;border-color:#ffecc8}.cover-title{position:absolute;top:13%;left:0;right:0;text-align:center;z-index:4;color:white;text-shadow:0 3px 5px #12314366}.cover-title>span{font-size:9px;letter-spacing:3px;font-weight:800}.cover-title h2{font-family:Georgia,serif;font-size:48px;line-height:.94;font-weight:400;letter-spacing:4px;margin-top:16px}.cover-title h2 strong{font-size:62px;line-height:1.12;font-weight:400;letter-spacing:2px}.cover-subtitle{display:flex;gap:9px;align-items:center;justify-content:center;font-size:8px;letter-spacing:1.5px;font-weight:800;color:#fff2d0;margin-top:12px}.cover-subtitle i{width:21px;height:1px;background:#ffe2ad}.cover-characters{position:absolute;left:0;right:0;top:34%;bottom:17%;filter:drop-shadow(0 8px 13px #102e4b4d)}.cover-characters img{position:absolute;height:100%;width:72%;object-fit:contain;object-position:center bottom}.cover-cihan{left:-11%;z-index:1}.cover-alya{right:-9%;z-index:2}.cover-dock{position:absolute;z-index:5;bottom:19px;left:18px;right:18px;display:flex;flex-direction:column;gap:8px}.cover-prompt{text-align:center;font-size:14px;font-weight:900;color:#fff;text-shadow:0 2px 9px #102b4c;margin-bottom:2px}.cover-note{text-align:center;font-size:7px;color:white;text-shadow:0 1px 3px #152d52;font-weight:700;letter-spacing:.4px;margin-top:6px}.choice-button{display:flex;align-items:center;justify-content:flex-start;position:relative;gap:8px;width:100%;padding:12px 22px;min-height:49px;border:1.5px solid #e8b17d;border-radius:26px;background:linear-gradient(#ead6b6,#d9bd94);box-shadow:0 3px 0 #94704c,0 3px 7px #12344522;color:#fff;text-align:left;font-family:var(--font);font-size:13px;font-weight:800;line-height:1.35;text-shadow:0 1px #ffffff33;transition:transform .15s,background .15s}.choice-button:hover{background:linear-gradient(#f3e2c8,#e5cba5);transform:translateY(-1px)}.choice-button:active{transform:translateY(1px);box-shadow:0 1px 0 #94704c}.choice-button small{font-size:8px;font-weight:600;opacity:.85;margin-left:auto;white-space:nowrap}.cover-dock .choice-button{justify-content:center;font-size:15px;min-height:49px}.cover-dock .resume-choice{background:linear-gradient(#96704e,#715035);border-color:#ffd4a4;font-size:13px;box-shadow:0 3px #4e3524;justify-content:space-between}.resume-choice small{font-size:7px;margin-left:5px}.sprite-stage{position:absolute;height:var(--sprite-height,400px);width:83%;bottom:calc(var(--dock-height,300px) - 37px);left:-3%;z-index:0;filter:drop-shadow(0 6px 7px #152b4c33);transition:bottom .2s ease}.sprite-stage.right{right:-3%;left:auto}.portrait-frame{position:absolute;inset:21% 10% 0 9%;clip-path:polygon(18% 0,78% 5%,100% 42%,83% 94%,22% 100%,0 65%,4% 20%);background:#fffff9}.portrait-frame>div{position:absolute;inset:4px;background:linear-gradient(135deg,#c5a77e,#a48258);clip-path:inherit}.character-sprite{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}.scene-label{position:absolute;top:111px;left:20px;right:20px;z-index:1;color:#ffefd2;font-size:10px;font-weight:800;text-shadow:0 2px 5px #172b44;letter-spacing:.2px}.bottom-dock{position:absolute;left:12px;right:12px;bottom:17px;z-index:6;display:flex;flex-direction:column;gap:0}.speech-wrap{position:relative;margin:19px 0 9px;filter:drop-shadow(0 3px 3px #0c2d4f44)}.speaker-tag{position:absolute;z-index:3;top:-23px;right:15px;width:62%;height:32px;padding:5px 20px 6px;background:linear-gradient(120deg,#8e6747,#67462f 55%,#987250);clip-path:polygon(13% 0,91% 0,100% 100%,0 100%);color:white;text-align:center;text-transform:uppercase;font-size:13px;font-weight:900;letter-spacing:.6px;text-shadow:0 1px #422b1c}.speaker-tag:after{content:'';position:absolute;inset:0;background:linear-gradient(65deg,transparent 65%,#ffe2b822 65%,#ffe2b822 76%,transparent 76%);pointer-events:none}.speaker-tag span{position:relative;z-index:1}.speech-outline{background:#886444;padding:3px;clip-path:polygon(0 0,92% 0,100% 42%,94% 100%,1% 100%)}.speech-paper{background:linear-gradient(130deg,#fffef5,#fffbed);clip-path:polygon(0 0,92% 0,100% 42%,94% 100%,1% 100%);padding:18px 29px 19px 22px;min-height:95px;display:flex;align-items:center}.speech-paper p{font-size:15px;font-weight:600;line-height:1.55;color:#3e2e23;text-shadow:none}.response-list{display:flex;flex-direction:column;gap:8px;padding:0 3px}.continue-button{justify-content:space-between}.continue-button>span{font-size:24px;line-height:14px;font-weight:700}.location-choice{background:linear-gradient(#c4a47b,#aa855b)}.location-choice svg{height:17px;width:17px}.tap-note{text-align:center;font-size:6px;letter-spacing:1.5px;color:#fffde7;text-shadow:0 1px 4px #13333c;font-weight:800;margin-top:11px;line-height:1.4}.memory-ribbon{position:relative;align-self:center;display:flex;align-items:center;gap:6px;background:#fff5dfe8;border:1px solid #d7af77;border-radius:16px;padding:6px 12px;margin-bottom:10px;color:#5c7558;font-size:9px;font-weight:700;max-width:90%;box-shadow:0 2px 5px #153a4c22}.memory-ribbon svg{width:13px;height:13px}.ending-content{position:absolute;top:15%;left:28px;right:28px;color:white;text-align:center;z-index:4;text-shadow:0 2px 6px #15374355}.end-kicker{font-size:8px;font-weight:900;letter-spacing:2px;color:#ffe1ad}.ending-heart{display:flex;align-items:center;justify-content:center;margin:15px auto 10px;width:56px;height:56px;background:#805a3ee8;border:2px solid #ffe6b4;border-radius:50%;box-shadow:0 4px 0 #4e3524}.ending-heart svg{width:30px;height:30px;fill:#d8b98e;stroke:#fff2e1}.ending-content h2{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.12;color:#fff2d6}.ending-badge{display:inline-block;padding:5px 12px;border:1px solid #ffe3afaa;border-radius:20px;background:#755336cc;font-size:8px;font-weight:800;letter-spacing:.7px;margin-top:12px;text-transform:uppercase}.ending-content>p{font-size:12px;line-height:1.6;margin:14px auto 0;max-width:300px;font-weight:600}.ending-score{margin-top:13px;font-size:10px}.ending-score strong{display:block;font-size:11px;margin-bottom:4px}.ending-score span{font-size:9px;opacity:.85}.ending .scene-shade{background:linear-gradient(#143d5777,#153b4e88 40%,#143e4f88)}.ending-portraits{position:absolute;left:0;right:0;bottom:10%;height:37%;display:flex;justify-content:center;opacity:.85}.ending-portraits img{width:62%;height:100%;object-fit:contain;margin:0 -13%}.end-dock{gap:9px}.end-dock .choice-button{justify-content:center}.end-dock .tap-note{margin-top:0}.text-button{display:block;padding:9px 12px;background:none;font-size:11px;font-weight:800;color:#795535;text-align:center}.text-button.light{color:white;text-shadow:0 1px 4px #12374d}.info-letter{font-family:Georgia,serif;font-style:italic;font-size:20px;font-weight:700}.modal-shade{position:fixed;inset:0;z-index:100;background:#102438b0;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:100%;max-width:420px;max-height:85svh;overflow-y:auto;background:#fffaf0;border:3px solid #f1d3a1;border-radius:14px;box-shadow:0 20px 70px #0006;padding:30px 26px;color:#423124;position:relative}.close-modal{position:absolute;right:12px;top:12px;height:29px;width:29px;padding:5px;background:#fff1d7}.modal-kicker{display:block;color:#805a3d;font-size:8px;letter-spacing:2px;font-weight:900}.modal h2{font-size:26px;font-weight:900;line-height:1.2;margin:10px 20px 22px 0;color:#674830}.modal p{font-size:13px;line-height:1.75;margin-top:15px}.modal .small-note{font-size:11px;color:#7a8286}.modal .choice-button{font-size:12px}.source-link{font-size:11px;color:#795535;display:inline-block;margin-top:18px}.modal-actions{display:flex;flex-direction:column;gap:8px;margin-top:24px}.menu-player{display:flex;gap:18px;align-items:center;padding-bottom:20px;border-bottom:1px solid #eadcc9}.menu-player>img{width:70px;height:83px;object-fit:contain;object-position:center top;background:#d6bc95;border-radius:8px;border:2px solid #f1d3ab}.menu-player strong{font-size:17px;color:#674830;display:block}.menu-player span{font-size:10px;color:#8b8881;display:block;margin-top:7px}.menu-links{display:flex;flex-direction:column;margin-top:15px}.menu-links>button{display:flex;align-items:center;justify-content:space-between;background:none;border-bottom:1px solid #eadcc9;padding:17px 2px;color:#705035;font-size:13px;font-weight:800;text-align:left}.menu-links svg{width:19px;height:19px}.save-note{font-size:9px!important;color:#9b9888;text-align:center;margin-top:22px!important}.relationship-meter{margin-top:18px}.relationship-meter>div{display:flex;justify-content:space-between;font-size:12px;color:#4b6b74}.relationship-meter strong{font-size:10px}.relationship-meter i{display:block;height:7px;border-radius:8px;background:#e8e1d7;margin-top:9px;overflow:hidden}.relationship-meter b{display:block;height:100%;background:#a17a4e}.relationship-meter .affection{background:#805a3d}.relationship-meter .tension{background:#da9d57}.relationship-meter .energy{background:#8db076}.relationships-intro{font-size:12px!important;color:#65818b}.journal-entry{display:flex;gap:13px;padding:20px 0;border-top:1px solid #eadcc9}.journal-entry>span{height:24px;width:24px;border-radius:50%;background:#87613f;color:white;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.journal-entry h3{font-size:14px;color:#705035;line-height:1.5}.journal-entry p{font-size:12px;margin-top:5px;line-height:1.5}.journal-entry small{font-size:10px;color:#9b8776;line-height:1.6;display:block;margin-top:7px}#toast{position:fixed;z-index:200;bottom:30px;left:50%;transform:translate(-50%,15px);max-width:90vw;border:2px solid #f5d49d;background:#795737;color:white;border-radius:20px;padding:12px 20px;font-size:12px;font-weight:700;box-shadow:0 4px 15px #12333c44;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-height:950px){.cover-title h2{font-size:56px}.cover-title h2 strong{font-size:72px}.cover-title{top:14%}.choice-button{font-size:14px;min-height:53px}.speech-paper p{font-size:16px}.speech-paper{padding-top:21px;padding-bottom:22px}.cover-characters{top:35%}}@media(max-width:1100px){.vn-shell{gap:4vw}.desktop-copy{width:170px}.desktop-copy h1{font-size:55px}.desktop-caption{width:110px}.desktop-caption p{font-size:17px}}@media(max-width:850px){.desktop-caption{display:none}.vn-shell{gap:5vw}.desktop-copy{width:150px}.desktop-copy h1{font-size:50px}}@media(max-width:650px){body{background:#16303d}.vn-shell{display:block;padding:0;min-height:100svh}.desktop-copy{display:none}.phone-stage{height:100svh;width:100%;min-height:610px;max-width:520px;aspect-ratio:auto;margin:auto;border:0;border-radius:0;box-shadow:none}.vn-header{padding-top:max(16px,env(safe-area-inset-top))}.bottom-dock{bottom:max(15px,env(safe-area-inset-bottom));left:10px;right:10px}.cover-dock{bottom:max(19px,env(safe-area-inset-bottom));left:16px;right:16px}.cover-title{top:13%}.cover-title h2{font-size:51px}.cover-title h2 strong{font-size:68px}.cover-characters{top:32%;bottom:16%}.cover-cihan{left:-9%}.cover-alya{right:-7%}.choice-button{font-size:14px;min-height:50px;padding:12px 20px}.speech-paper p{font-size:15px}.chapter-status{top:76px}.scene-label{top:108px}.modal{max-width:390px}.tap-note{font-size:6px}.ending-content{top:15%}.ending-content h2{font-size:32px}.ending-content>p{font-size:12px}}@media(max-height:750px){.phone-stage{min-height:610px}.choice-button{font-size:12px;min-height:43px;padding:10px 20px}.speech-paper{min-height:80px;padding:15px 26px 15px 20px}.speech-paper p{font-size:13px;line-height:1.5}.speaker-tag{font-size:11px;height:28px;top:-20px;padding-top:5px}.response-list{gap:7px}.cover-title h2{font-size:40px}.cover-title h2 strong{font-size:52px}.cover-title>span{font-size:7px}.cover-title h2{margin-top:11px}.cover-title{top:13%}.cover-subtitle{font-size:7px;margin-top:7px}.cover-characters{top:34%;bottom:18%}.cover-dock .choice-button{font-size:13px;min-height:42px}.cover-prompt{font-size:12px}.vn-header{padding-top:13px}.chapter-status{top:67px}.scene-label{top:95px;font-size:9px}.ending-content{top:15%}.ending-content h2{font-size:26px}.ending-heart{height:45px;width:45px;margin:10px auto 8px}.ending-content>p{font-size:11px;margin-top:9px}.ending-score{margin-top:10px}.ending-badge{font-size:7px}.memory-ribbon{font-size:8px;margin-bottom:7px}.tap-note{margin-top:8px}.bottom-dock{bottom:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Turkish dialogue edition */
.scene-label{font-size:9px;letter-spacing:1.1px;text-transform:uppercase;top:110px;max-width:80%}.scene-label>span{display:block;font-size:10px;letter-spacing:.1px;text-transform:none;margin-top:6px;color:#fff8e7}.speaker-tag{width:64%;font-size:12px}.activity-choice{justify-content:space-between;min-height:53px}.activity-choice>span:first-child{display:flex;flex-direction:column;gap:2px}.activity-choice small{margin:0;font-size:8px;font-weight:600;opacity:.8}.activity-cost{flex-shrink:0;font-size:8px;opacity:.8;border:1px solid #fff6;border-radius:9px;padding:3px 6px}.cover-prompt{font-size:12px}.cover-note{font-size:7px}.cover-dock .resume-choice{font-size:12px}.cover-dock .resume-choice small{font-size:7px}.cover-cihan{left:-10%}.cover-alya{right:-9%}.source-details{margin-top:18px;font-size:11px;color:#795535}.source-details>summary{cursor:pointer;font-weight:800}.source-link{display:block;margin-top:12px}.journal-entry{display:block;padding:16px 0}.journal-entry>summary{display:flex;align-items:flex-start;gap:12px;cursor:pointer;list-style:none}.journal-entry>summary::-webkit-details-marker{display:none}.journal-entry>summary>span{height:24px;width:24px;flex-shrink:0;display:grid;place-items:center;background:#87613f;border-radius:50%;color:white;font-size:11px;font-weight:800}.journal-entry>summary:after{content:'+';font-size:20px;color:#87613f;margin-left:auto}.journal-entry[open]>summary:after{content:'−'}.journal-dialogue{margin:15px 0 0 36px;padding:0 0 0 13px;border-left:2px solid #e7c49a}.journal-dialogue p{font-size:11px!important;line-height:1.6!important;margin:12px 0!important}.journal-dialogue strong{display:block;font-size:9px;color:#795535;margin-bottom:3px}.ending-content>p.end-quote{font-style:italic;font-size:13px}.end-speaker{display:block;font-size:8px;letter-spacing:1.5px;font-weight:800;margin-top:7px}.ending-score{margin-top:10px}.end-dock .choice-button{font-size:12px}.chapter-chip{letter-spacing:.8px;font-size:7px}.tap-note{font-size:7px;letter-spacing:1px}.speech-paper p{font-weight:600}.sprite-stage{transition:none}.character-sprite{filter:drop-shadow(0 1px 1px #10263322)}
@media(max-width:650px){.scene-label{top:106px}.chapter-chip{font-size:6px;padding:8px}.cover-prompt{font-size:12px}.cover-dock .resume-choice{font-size:11px}.speaker-tag{font-size:12px}.tap-note{font-size:6px}.activity-choice{min-height:52px}.ending-content>p.end-quote{font-size:12px}}
@media(max-height:750px){.scene-label{top:94px;font-size:8px}.scene-label>span{font-size:9px}.activity-choice{min-height:46px;padding:8px 18px}.activity-cost{font-size:7px}.cover-prompt{font-size:11px}.speaker-tag{font-size:11px}.speech-paper p{font-size:13px}.ending-content>p.end-quote{font-size:11px}.ending-score{margin-top:8px}.end-dock .choice-button{font-size:11px}.cover-dock .resume-choice{font-size:10px}}

/* Mardin limestone choices with dark, readable text. */
.choice-button{color:#3e2b1c;text-shadow:none}.cover-dock .resume-choice{color:#fff6e8}.vn-shell{background:radial-gradient(ellipse at 50% 70%,#80604370,transparent 65%),linear-gradient(120deg,#211a15,#3b2d21)}.phone-stage{border-color:#a88a65}.round-button{color:#705035}.speech-paper{background:linear-gradient(130deg,#fffaf0,#f5e8d2)}

.narrator-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:95px 25px 115px;pointer-events:none}.narrator-card{width:100%;max-width:360px;padding:27px 25px;background:#fbf0dcf5;border:1px solid #bb9568;border-radius:10px;box-shadow:0 12px 45px #291b1555;color:#493323;text-align:center}.narrator-card p{font-family:Georgia,serif;font-size:17px;line-height:1.8}@media(max-height:750px){.narrator-card{padding:20px}.narrator-card p{font-size:15px;line-height:1.65}}

/* Keep supporting portraits visible above the dialogue panel. */
.sprite-stage:has(img[src*="ummu"]),.sprite-stage:has(img[src*="pakize"]){width:90%;left:0;right:auto}
.ending .ending-portraits{display:none}
