:root{color:#26364b;font-synthesis:none;--navy:#26364b;--ivory:#f7f3e9;--teal:#3f8587;--coral:#db8876;--muted:#667477;--line:#d8d9cd;--body-size:18px;--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif CJK JP",serif;background:#f7f3e9;font-family:Yu Gothic,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:4px;outline:3px solid #db8876}h1,h2,h3,h4,p{margin:0}p{line-height:1.95}h2{font-family:var(--serif);font-size:clamp(24px,2.1vw,32px);font-weight:600;line-height:1.6}h3{font-size:19px;line-height:1.7}h4{font-size:18px}ul,ol{padding-left:1.5em;line-height:2}img{max-width:100%;display:block}button,input,select{min-height:44px}input[type=checkbox]{width:23px;height:23px;min-height:23px;accent-color:var(--teal)}input[type=range]{accent-color:var(--teal)}input[type=text],input[type=number],select,textarea{color:var(--navy);background:#fffdf7;border:1px solid #bdc8c3;border-radius:3px;padding:11px 14px}textarea{resize:vertical;width:100%;line-height:1.9}select{max-width:100%;font-size:15px}.button{min-height:46px;color:var(--navy);text-align:center;background:#fcfaf3;border:1px solid #c3cbc4;border-radius:3px;justify-content:center;align-items:center;gap:10px;padding:11px 20px;font-size:15px;font-weight:500;line-height:1.6;transition:background .16s,transform .16s,border-color .16s;display:inline-flex}.button:hover:not(:disabled){border-color:var(--teal);background:#eaf0e7;transform:translateY(-1px)}.button.primary{background:var(--teal);color:#fffdf6;border-color:var(--teal);box-shadow:0 4px 12px #26364b12}.button.primary:hover:not(:disabled){background:#337476}.button.quiet{box-shadow:none;background:0 0;border-color:#0000}.button.quiet:hover:not(:disabled){background:#e3e9df88}.button.small{min-height:44px;padding:7px 11px;font-size:13px}.button.active{color:var(--teal);border-color:var(--teal);background:#edf3e9}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.icon{flex:none;width:21px;height:21px;display:inline-flex}.icon svg{width:100%;height:100%}.eyebrow{letter-spacing:.18em;color:var(--teal);font-size:11px;font-weight:600;line-height:1.6}.muted{color:var(--muted);font-size:14px;line-height:1.9}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.boot-message,.boot-error{padding:10vh 8vw}.boot-error{gap:24px;display:grid}.boot-error .button{justify-self:start}.toast{z-index:150;color:#fff;background:#26364bf2;border-radius:5px;max-width:min(680px,90vw);padding:14px 24px;font-size:14px;line-height:1.7;position:fixed;bottom:100px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0002}.toast[hidden]{display:none}.storage-notice{z-index:35;text-align:center;background:#fff0c9;border:1px solid #ba9349;width:90%;padding:10px 18px;font-size:13px;position:fixed;top:64px;left:5%}.intro-letter{font-family:var(--serif);font-size:22px;line-height:2.2}.section-heading{margin-bottom:24px}.section-heading h2{margin:8px 0 14px}.title-screen{isolation:isolate;background:#f1eadb;min-height:100svh;position:relative;overflow:hidden}.title-art{z-index:-2;background:url(/games/dating-sim/assets/backgrounds/title.webp) 50%/cover no-repeat;position:absolute;inset:0}.title-screen:after{content:"";z-index:-1;background:linear-gradient(90deg,#f7f3e9f7 0%,#f7f3e9e8 24%,#f7f3e938 58%,#0000 100%),linear-gradient(#0000 75%,#f7f3e9cc);position:absolute;inset:0}.title-characters{z-index:-1;position:absolute;inset:0;overflow:hidden}.title-characters img{filter:drop-shadow(0 14px 20px #26364b16);max-width:none;position:absolute}.title-hinata{height:112vh;top:8vh;right:-2vw}.title-mio{height:96vh;top:16vh;right:24vw}.title-copy{flex-direction:column;justify-content:center;align-items:flex-start;width:42%;max-width:620px;min-height:100svh;padding:6vh 0 110px 7vw;display:flex;position:relative}.title-intro{font-family:var(--serif);letter-spacing:.13em;white-space:nowrap;margin-bottom:30px;font-size:14px}.game-logo{font-family:var(--serif);letter-spacing:.08em;text-shadow:0 1px 14px #fff9;font-size:clamp(39px,4.3vw,68px);font-weight:500;line-height:1.32}.game-logo span{display:block}.game-logo strong{letter-spacing:.15em;color:var(--teal);margin-left:.13em;font-size:1.2em;font-weight:600;display:block}.title-rule{background:var(--teal);width:54px;height:1px;margin:25px 0 20px}.title-description{font-family:var(--serif);letter-spacing:.07em;font-size:15px}.title-menu{gap:10px;width:100%;min-width:270px;max-width:310px;margin-top:30px;display:grid}.title-menu>.button{letter-spacing:.12em;justify-content:space-between;min-height:52px;padding:12px 26px}.title-menu>.button .icon{order:2}.title-submenu{justify-content:space-between;display:flex}.title-submenu .button{font-size:13px}.title-footer{color:#44554f;letter-spacing:.1em;justify-content:space-between;align-items:center;font-size:10px;display:flex;position:absolute;bottom:17px;left:4vw;right:3vw}.title-footer>.button{font-size:11px}.new-game-screen{isolation:isolate;place-items:center;min-height:100svh;padding:40px 20px;display:grid;position:relative}.new-game-screen:after{content:"";z-index:-1;background:#26364b22;position:absolute;inset:0}.new-game-paper{background:#fcfaf2f5;border:1px solid #fff9;width:100%;max-width:550px;padding:45px 50px;box-shadow:0 20px 80px #26364b33}.new-game-form{gap:18px;display:grid}.new-game-form>.intro-letter{margin-bottom:16px;font-size:17px}.new-game-form label{font-size:14px}.new-game-form .button-row{justify-content:space-between;margin-top:16px}#app{min-height:100svh;position:relative}.stage{background:#b6d0cd;position:fixed;inset:0;overflow:hidden}.stage[hidden]{display:none}.world-layer,.portrait-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.world-layer canvas{width:100%;height:100%;display:block}.world-layer canvas[hidden]{display:none}.fallback-background{background-position:50%;background-size:cover;position:absolute;inset:0}.fallback-background[hidden]{display:none}.portrait-layer{z-index:1}.ui-layer{z-index:3;min-height:100svh;position:relative}.game-topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fcfaf2ed;border-bottom:1px solid #c6c9ba88;justify-content:space-between;align-items:center;gap:20px;min-height:66px;padding:8px 30px;display:flex}.brand-button{font-family:var(--serif);letter-spacing:.09em;background:0 0;border:0;padding-left:0;font-size:17px}.calendar-label{letter-spacing:.06em;font-size:13px}.game-topbar>.quiet{font-size:12px}.home-screen{flex-direction:column;min-height:100svh;display:flex}.home-scene-content{flex:1;justify-content:space-between;align-items:flex-start;gap:20px;padding:5vh 4vw 12vh;display:flex;position:relative}.day-paper{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#faf7ede8;border:1px solid #fff9;width:310px;padding:28px 32px 24px;box-shadow:0 8px 24px #26364b12}.season-large{font-family:var(--serif);margin:8px 0 26px;font-size:58px;line-height:1.4}.season-large span{letter-spacing:.1em;margin-left:8px;font-family:Yu Gothic,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-size:12px}.day-paper h2{margin-bottom:14px;font-size:24px}.day-paper>p:not(.eyebrow):not(.season-large){margin-bottom:25px;font-size:14px}.day-paper>.button{width:100%;font-size:14px}.day-paper>.quiet{margin-top:5px}.promise-paper{border-top:3px solid var(--coral);background:#faf7eded;width:240px;padding:20px 25px;box-shadow:0 6px 24px #26364b12}.promise-paper>.eyebrow{margin-bottom:14px}.promise-paper>.button{margin-top:12px;padding-left:0;font-size:12px}.promise-preview{border-bottom:1px solid var(--line);padding:10px 0}.promise-preview b{font-family:var(--serif);font-size:17px}.promise-preview p{font-size:12px}.home-bottom-note{min-height:60px;font-family:var(--serif);background:#faf7edf5;align-items:center;gap:14px;padding:15px 5vw;font-size:15px;line-height:1.8;display:flex}.home-bottom-note>.icon{color:var(--teal)}.bottom-nav{padding:14px 30px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fcfaf6;justify-content:center;align-items:stretch;gap:16px;display:flex}.bottom-nav .button{letter-spacing:.04em;background:0 0;border:0;min-width:175px;font-size:14px}.bottom-nav .icon{color:var(--teal)}.panel-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#26364b47;justify-content:center;align-items:center;min-height:100svh;padding:35px 30px;display:flex}.paper-panel{scrollbar-color:#b0bfb6 #eee9dd;background:#fcfaf3;border:1px solid #fff9;width:min(790px,100%);max-height:calc(100svh - 70px);padding:28px 40px 38px;position:relative;overflow:auto;box-shadow:0 16px 70px #1e304138}.paper-panel.wide{width:min(1070px,100%)}.panel-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;padding-bottom:20px;display:flex}.panel-top .eyebrow{margin-bottom:7px}.panel-top .button{flex:none;font-size:13px}.planner-body>.muted{margin-bottom:20px}.planner-rows{border-top:1px solid var(--line);margin-bottom:24px}.planner-row{border-bottom:1px solid var(--line);grid-template-columns:130px 1fr;align-items:center;gap:24px;padding:13px 0;display:grid}.planner-row>b{font-size:14px}.plan-selection{grid-template-columns:1.1fr .8fr;gap:8px;display:grid}.plan-effect{color:var(--muted);grid-column:1/-1;font-size:11px}.planner-row.reserved{background:#e7eee1;padding:24px 0}.location-grid{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:0;margin-top:24px;display:grid}.location-card{text-align:left;min-height:210px;box-shadow:none;background:0 0;border-top:0;border-left:0;border-radius:0;padding:23px;display:block;position:relative}.location-card .location-number{font-family:var(--serif);color:var(--teal);letter-spacing:.1em;margin-bottom:14px;font-size:11px;display:block}.location-card h3{font-family:var(--serif);margin-bottom:10px;font-size:20px}.location-card p{color:var(--muted);margin-bottom:14px;font-size:12px;font-weight:400}.location-card>.icon{width:16px;position:absolute;top:20px;right:18px}.location-people{color:var(--teal);flex-wrap:wrap;gap:6px;font-size:10px;display:flex}.location-details>p{margin-bottom:18px}.person-option{border-bottom:1px solid var(--line);align-items:center;gap:28px;padding:18px 0;display:flex}.person-option>img{object-fit:cover;object-position:top;width:90px;height:122px}.person-option h3{font-family:var(--serif);font-size:22px}.person-option .button{margin-top:12px;font-size:13px}.activity-list{gap:8px;margin-top:24px;display:grid}.activity-row{text-align:left;justify-content:flex-start;font-size:13px}.notebook-tabs{border-bottom:1px solid var(--line);gap:0;margin-top:-5px;display:flex}.notebook-tabs .button{background:0 0;border:0;border-radius:0;flex:1;padding:12px;font-size:14px}.notebook-tabs .active{box-shadow:inset 0 -3px var(--teal)}.notebook-page{min-height:310px;padding:28px 0 0}.notebook-page>h3{font-family:var(--serif);margin-bottom:16px}.notebook-page>p{margin-bottom:20px;font-size:15px}.notebook-page>.button-row{margin:20px 0 38px}.notebook-page textarea{background:repeating-linear-gradient(#fbf9f0,#fbf9f0 33px,#ccd6cf 34px);line-height:34px}.notebook-page>.muted{margin:9px 0}.notebook-person{border-bottom:1px solid var(--line);gap:25px;padding:20px 0;display:flex}.notebook-person>img{object-fit:cover;object-position:top;width:105px;height:155px}.notebook-person>div{flex:1}.notebook-person h3{font-family:var(--serif);margin:5px 0 9px;font-size:22px}.notebook-person p{font-size:14px}.relationship-values{color:var(--teal);margin:12px 0}.notebook-person .button{padding-left:0;font-size:12px}.invite-form{background:#edf1e7;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0;padding:24px;display:grid}.invite-form label{gap:6px;font-size:12px;display:grid}.invite-form>.muted{grid-column:1/-1;font-size:12px}.invite-form>.button{grid-column:1/-1}.commitment{border-top:1px solid var(--line);padding:20px 0}.commitment-status{color:var(--teal);letter-spacing:.06em;font-size:11px}.commitment h3{margin:8px 0;font-size:17px}.commitment p{color:var(--muted);font-size:13px}.commitment>.button{margin-top:15px}.commitment>.button-row{margin-top:10px}.commitment .quiet{font-size:12px}.photo-record{border-bottom:1px solid var(--line);gap:18px;padding:20px 0;display:flex}.photo-record>.icon{width:35px;height:35px;color:var(--teal)}.photo-record h4{font-family:var(--serif)}.photo-record p{font-size:13px}.stat-list{gap:25px;margin:30px 0;display:grid}.stat-row{grid-template-columns:70px 1fr 45px;align-items:center;gap:15px;font-size:14px;display:grid}.stat-row progress{width:100%;height:9px;accent-color:var(--teal);border:0;border-radius:3px;overflow:hidden}.stat-row progress::-webkit-progress-bar{background:#e3e5d9}.stat-row progress::-webkit-progress-value{background:var(--teal)}.stat-row b{text-align:right;font-family:var(--serif);font-size:21px;font-weight:400}.status-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:15px;margin-bottom:20px;padding:20px 0;display:flex}.status-summary p{font-size:13px}.status-summary strong{font-family:var(--serif);font-size:23px;font-weight:500;display:block}.status-content>h3{margin-top:25px}.recent-actions{font-size:13px}.settings-list{gap:0;display:grid}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:25px;padding:16px 0;font-size:14px;display:flex}.setting-row>input:not([type=checkbox]),.setting-row>select{width:45%;max-width:260px}.settings-list>.muted{margin-top:25px}.menu-list{gap:12px;max-width:400px;margin:15px auto;display:grid}.menu-list .button{min-height:52px}.save-content>.muted{margin-bottom:22px}.save-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:25px;display:grid}.save-slot{border:1px solid var(--line);background:#faf7ee;padding:17px 20px}.save-slot h3{margin-bottom:8px;font-size:14px}.save-slot p{color:var(--muted);font-size:12px}.save-slot>.button-row{margin-top:12px}.empty-note{text-align:center;color:var(--muted);padding:40px 20px}.empty-note>.icon{width:48px;height:48px;margin-bottom:15px}.empty-note h3{font-family:var(--serif);color:var(--navy);margin-bottom:15px}.memory-row{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;justify-content:flex-start;width:100%;padding:18px 10px}.gallery-list>.muted{margin-bottom:20px}.memory-line{border-left:2px solid var(--line);margin:25px 0;padding:0 15px}.memory-line b{color:var(--teal);font-size:13px}.help-content h3{font-family:var(--serif);margin:25px 0 12px}.help-content p{font-size:15px}.week-result{text-align:center}.week-result>.icon{color:var(--teal);width:50px;height:50px;margin:10px 0 20px}.week-result>.intro-letter{margin-bottom:22px}.week-result ul{columns:2;margin:20px 0;padding:0;font-size:13px;list-style:none}.week-result .primary{margin-top:25px}.ending-content>.intro-letter{margin:30px 0}.ending-content>.primary{margin-top:30px}.ending-date{text-align:center;letter-spacing:.2em;margin:30px 0;font-size:12px}.ending-title{font-family:var(--serif);text-align:center;color:var(--teal);margin-bottom:40px;font-size:34px}.ending-content h4{font-family:var(--serif);border-top:1px solid var(--line);margin:36px 0 22px;padding-top:25px;font-size:23px}.ending-content>p{font-size:var(--body-size);margin-bottom:24px;line-height:2.1}.ending-content>.ending-signature{font-family:var(--serif);text-align:right;margin:45px 0;font-size:24px}.ending-content>.muted{font-size:12px}.confirm-dialog{color:var(--navy);background:#fcfaf3;border:1px solid #c9cfbd;border-radius:3px;width:min(500px,92vw);padding:30px;box-shadow:0 15px 80px #0004}.confirm-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#26364b66}.confirm-dialog h2{font-size:23px}.confirm-dialog p{margin:20px 0 25px;font-size:15px}.confirm-dialog .button-row{justify-content:flex-end}.dialogue-screen{flex-direction:column;justify-content:space-between;min-height:100svh;display:flex}.dialogue-bottom{padding:20px 5vw 27px}.dialogue-box{border:1px solid #fff;border-top:3px solid var(--teal);background:#fcfaf3f7;max-width:1180px;margin:auto;padding:27px 35px 12px;position:relative;box-shadow:0 10px 40px #26364b20}.speaker-name{background:var(--teal);color:#fff;text-align:center;min-width:160px;font-family:var(--serif);letter-spacing:.1em;padding:9px 26px;font-size:18px;position:absolute;top:-38px;left:25px}.dialogue-text{font-size:var(--body-size);white-space:pre-wrap;cursor:pointer;min-height:90px;max-height:36svh;padding-right:90px;line-height:2.05;overflow:auto}.dialogue-next{color:var(--teal);background:0 0;border:0;font-size:13px;position:absolute;bottom:66px;right:25px}.dialogue-toolbar{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:12px;padding-top:5px;display:flex}.event-title{color:var(--muted);letter-spacing:.06em;font-size:10px}.dialogue-toolbar .button-row{gap:3px}.dialogue-toolbar .button{font-size:11px}.dialogue-choices{gap:9px;margin:8px 0 20px;display:grid}.choice-button{text-align:left;font-size:var(--body-size);background:#faf8ef;border:1px solid #c4d2c5;justify-content:flex-start;min-height:52px;padding:12px 22px}.choice-button:before{content:"";border:1px solid var(--teal);flex:none;width:7px;height:7px;margin-right:8px;transform:rotate(45deg)}.choice-button:hover{background:#edf4e8}.dialogue-screen>.panel-backdrop{min-height:calc(100svh - 66px);padding:22px}.minigame-paper{width:min(880px,100%);max-height:calc(100svh - 100px)}.minigame-mount>.section-heading h2{font-size:27px}.minigame-area{background:#22364a;border-radius:3px;height:330px;margin:20px 0;position:relative;overflow:hidden}.minigame-controls{flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0;display:flex}.game-status{text-align:center;min-height:28px;font-size:14px}.photo-viewport{outline-offset:-4px;height:100%;position:relative;overflow:hidden}.photo-viewport img{object-fit:cover;width:100%;height:100%;transition:transform .15s}.photo-guide{pointer-events:none;background:linear-gradient(90deg,#0000 33.1%,#ffffff50 33.1% 33.4%,#0000 33.4% 66.4%,#ffffff50 66.4% 66.7%,#0000 66.7%),linear-gradient(#0000 33.1%,#ffffff50 33.1% 33.4%,#0000 33.4% 66.4%,#ffffff50 66.4% 66.7%,#0000 66.7%);border:2px solid #fff9;position:absolute;inset:14px}.photo-choice{flex:1}.star-canvas{width:100%;height:100%;position:absolute;inset:0}.star-point{color:#233b53;width:48px;height:48px;font-family:var(--serif);background:#f1e1ac;border:3px solid #899897;border-radius:50%;padding:0;font-size:17px;position:absolute;box-shadow:0 0 15px #ffe2a444;transform:translate(-50%,-50%)!important}.star-point.selected{background:#db8876}.rhythm-lanes{border-left:1px solid #a0bab155;border-right:1px solid #a0bab155;width:70%;height:100%;margin:auto;display:flex;position:relative}.rhythm-lane{background:linear-gradient(#3f858700,#3f858733);border-right:1px solid #a0bab144;width:50%}.rhythm-hitline{background:#f7e1a3;width:100%;height:3px;position:absolute;top:82%;box-shadow:0 0 12px #f7e1a355}.rhythm-note{background:#ecddad;border-radius:3px;width:46px;height:14px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 12px #ecddad66}.rhythm-note[hidden]{display:none}.rhythm-pad{background:var(--teal);color:#fff;flex:1;max-width:240px;min-height:58px}.minigame-pause{text-align:center;background:#fcfaf3f5;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px;display:flex;position:absolute;inset:0}.result-choice{width:100%;margin-bottom:15px;display:flex}.minigame-mount>.quiet{margin:18px auto 0;display:flex}@media (min-width:1500px){.title-copy{padding-left:9vw}.title-hinata{right:1vw}.title-mio{right:27vw}.home-scene-content{padding-top:7vh}.day-paper{width:340px}.promise-paper{width:260px}}@media (max-width:1050px){.title-copy{width:48%;padding-left:6vw}.title-hinata{right:-15vw}.title-mio{right:15vw}.title-intro{font-size:11px}.day-paper{width:280px;padding:22px}.promise-paper{width:210px;padding:20px}.game-topbar{padding:7px 18px}.brand-button{font-size:14px}.calendar-label{font-size:11px}.bottom-nav{gap:2px}.bottom-nav .button{min-width:150px}.location-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:650px){.title-screen{min-height:100svh}.title-art{background-position:63%}.title-screen:after{background:linear-gradient(#f7f3e977 0%,#f7f3e91f 45%,#f7f3e9f5 77%,#f7f3e9 100%),linear-gradient(90deg,#f7f3e9b3,#0000 80%)}.title-copy{justify-content:flex-start;width:100%;max-width:none;min-height:100svh;padding:5svh 26px 100px}.title-intro{letter-spacing:.06em;margin-bottom:23px;font-size:10px}.game-logo{z-index:1;font-size:38px;line-height:1.38;position:relative}.title-rule{margin:20px 0 12px}.title-description{z-index:1;font-size:12px;line-height:2;position:relative}.title-menu{gap:8px;min-width:0;max-width:100%;margin-top:auto;padding-top:50px}.title-menu>.button{background:#fcfaf3f2;justify-content:center;min-height:49px;font-size:14px}.title-menu>.button.primary{background:var(--teal)}.title-menu>.button .icon{position:absolute;right:48px}.title-submenu{justify-content:center;gap:40px}.title-hinata{height:78svh;top:9svh;right:-43vw}.title-mio{opacity:.92;height:66svh;top:14svh;right:-3vw}.title-footer{font-size:8px;bottom:8px;left:26px;right:16px}.title-footer>.button{font-size:9px}.new-game-paper{padding:30px 25px}.new-game-form>.intro-letter{font-size:14px}.new-game-form .button-row{gap:8px}.new-game-form .button{font-size:13px}.game-topbar{flex-wrap:wrap;gap:10px;min-height:64px;padding:7px 15px}.brand-button{order:0;min-height:24px;padding:0;font-size:11px}.calendar-label{order:2;width:100%;margin-top:-8px;font-size:10px}.game-topbar>.quiet{order:1;min-height:34px;margin-left:auto;padding:0;font-size:10px}.game-topbar .icon{width:18px;height:18px}.home-scene-content{flex:1;min-height:53svh;padding:20px 18px 13px;display:block}.day-paper{width:210px;padding:17px 19px;position:relative}.day-paper .eyebrow{font-size:9px}.season-large{margin:3px 0 13px;font-size:36px}.season-large span{font-size:10px}.day-paper h2{margin-bottom:10px;font-size:18px}.day-paper>p:not(.eyebrow):not(.season-large){margin-bottom:15px;font-size:11px;line-height:1.8}.day-paper>.button{min-height:43px;padding:10px;font-size:11px}.day-paper>.button .icon{width:15px}.day-paper>.quiet{min-height:33px;font-size:10px}.promise-paper{display:none}.home-bottom-note{gap:10px;min-height:55px;padding:12px 20px;font-size:11px}.home-bottom-note .icon{width:18px}.bottom-nav{padding:8px 7px max(8px,env(safe-area-inset-bottom));justify-content:space-between;gap:0}.bottom-nav .button{letter-spacing:0;flex-direction:column;flex:1;gap:5px;min-width:0;padding:5px 2px;font-size:10px;display:flex}.bottom-nav .icon{width:20px;height:20px}.panel-backdrop{background:#26364b60;align-items:flex-start;min-height:100svh;padding:12px}.paper-panel{max-height:calc(100svh - 24px);padding:21px 19px 25px}.panel-top{gap:10px;margin-bottom:20px;padding-bottom:16px}.panel-top h2{font-size:22px}.panel-top .eyebrow{letter-spacing:.08em;font-size:9px}.panel-top .button{gap:5px;padding:7px;font-size:11px}.panel-top .button .icon{width:15px}.planner-row{grid-template-columns:61px 1fr;gap:12px}.planner-row>b{font-size:11px}.plan-selection{grid-template-columns:1fr;gap:5px}.plan-selection select{min-height:41px;padding:8px 10px;font-size:12px}.plan-effect{font-size:10px}.planner-body>.button-row{grid-template-columns:1fr 1fr;display:grid}.planner-body>.button-row>.primary{grid-column:1/-1}.planner-body>.muted{font-size:12px}.location-grid{grid-template-columns:1fr 1fr}.location-card{min-height:197px;padding:15px 12px}.location-card h3{font-size:16px}.location-card p{font-size:10px;line-height:1.8}.location-card .location-number{font-size:9px}.location-card>.icon{width:14px;top:15px;right:10px}.location-people{gap:4px;font-size:9px}.map-content>.muted{font-size:12px}.person-option{gap:15px}.person-option>img{width:75px;height:115px}.person-option h3{font-size:19px}.person-option .muted{font-size:11px}.person-option .button{padding:10px;font-size:12px}.location-details>p{font-size:13px}.notebook-tabs .button{padding:10px 7px;font-size:12px}.notebook-page{padding-top:22px}.notebook-page>p{font-size:13px}.notebook-page>h3{font-size:17px}.notebook-page>.button-row .button{flex:1;padding:10px;font-size:12px}.notebook-person{gap:15px}.notebook-person>img{width:75px;height:117px}.notebook-person h3{font-size:19px}.notebook-person p{font-size:12px}.notebook-person .eyebrow{font-size:10px}.invite-form{grid-template-columns:1fr;gap:14px;padding:17px}.invite-form label{font-size:11px}.invite-form select{font-size:12px}.commitment h3{font-size:15px}.commitment p,.commitment .button{font-size:11px}.setting-row{gap:15px;font-size:12px}.setting-row select{padding:10px;font-size:12px}.setting-row>select,.setting-row>input:not([type=checkbox]){width:50%}.settings-list>.muted{font-size:12px}.save-grid{grid-template-columns:1fr}.save-slot{padding:14px 16px}.save-slot .button-row{justify-content:flex-end;margin-top:5px}.save-slot h3{font-size:14px}.save-content>.button-row .button{font-size:12px}.status-content>.intro-letter{font-size:20px}.stat-row{grid-template-columns:45px 1fr 35px;gap:12px;font-size:13px}.status-summary{gap:12px}.status-summary p{font-size:10px}.status-summary strong{font-size:19px}.status-content>.muted{font-size:12px}.recent-actions{font-size:11px}.help-content p{font-size:13px}.help-content h3{font-size:17px}.dialogue-bottom{padding:26px 12px 12px}.dialogue-box{padding:20px 18px 8px}.speaker-name{min-width:120px;padding:7px 18px;font-size:15px;top:-33px;left:15px}.dialogue-text{min-height:100px;max-height:38svh;font-size:var(--body-size);padding-right:0;line-height:1.9}.dialogue-next{min-height:40px;margin-left:auto;padding:6px 8px;font-size:12px;display:flex;position:static}.dialogue-toolbar{align-items:center;gap:8px;margin-top:5px}.dialogue-toolbar .button-row{flex-wrap:nowrap;gap:0}.dialogue-toolbar .button{gap:4px;padding:6px 8px;font-size:10px}.dialogue-toolbar .button .icon{width:14px}.event-title{max-width:90px;font-size:8px;line-height:1.7}.choice-button{font-size:var(--body-size);gap:7px;padding:10px 12px;line-height:1.8}.choice-button:before{margin-right:3px}.dialogue-choices{gap:8px;margin:8px 0 12px}.dialogue-screen>.panel-backdrop{min-height:calc(100svh - 64px);padding:12px}.minigame-paper{max-height:calc(100svh - 90px)}.minigame-mount>.section-heading h2{font-size:23px}.section-heading .muted{font-size:12px}.minigame-area{height:280px}.minigame-controls .button{padding:10px 13px;font-size:12px}.minigame-controls select{font-size:12px}.minigame-controls>.button-row{gap:3px}.minigame-controls>.button-row .button{min-width:44px;padding:9px}.game-status{font-size:12px}.star-point{width:44px;height:44px;min-height:44px;font-size:15px}.minigame-pause p{font-size:12px}.minigame-pause h3{font-size:18px}.minigame-pause .button{font-size:12px}.photo-choice{flex:100%}.intro-letter{font-size:19px}.week-result ul{columns:1;font-size:11px}.ending-title{font-size:25px}.ending-content>.intro-letter{font-size:19px}.ending-content h4,.ending-content>.ending-signature{font-size:20px}.ending-content>.button-row .button{width:100%;font-size:13px}.toast{padding:12px 18px;font-size:12px;bottom:90px}.storage-notice{padding:8px 12px;font-size:10px;top:68px}.confirm-dialog{padding:25px}.confirm-dialog h2{font-size:20px}.confirm-dialog p{font-size:13px}}@media (max-height:750px) and (min-width:651px){.title-copy{padding-top:25px;padding-bottom:75px}.title-intro{margin-bottom:17px}.game-logo{font-size:44px}.title-rule{margin:16px 0 12px}.title-menu{gap:6px;margin-top:20px}.title-menu>.button{min-height:44px}.title-description{font-size:13px}.home-scene-content{padding-top:25px;padding-bottom:30px}.season-large{margin-bottom:16px;font-size:40px}.day-paper{padding:22px}.day-paper>p:not(.eyebrow):not(.season-large){margin-bottom:15px}.home-bottom-note{min-height:45px;font-size:12px}.bottom-nav{padding-top:7px;padding-bottom:7px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.photo-choice{flex-direction:column;gap:8px;min-width:140px}.photo-choice img{aspect-ratio:16/9;object-fit:cover;width:100%;max-width:200px}.photo-record-preview{flex-shrink:0;width:160px}.photo-record-preview img{border:5px solid #fff;width:100%;display:block;box-shadow:0 2px 8px #26364b12}.dialogue-toolbar .button-row{flex-wrap:wrap}.dialogue-toolbar .event-title{flex:1}.flow{gap:18px;display:grid}@media (max-width:640px){.photo-record{flex-direction:column;align-items:flex-start}.photo-record-preview{width:100%;max-width:280px}.dialogue-toolbar{flex-wrap:wrap}.dialogue-toolbar .button-row{margin-left:auto}}[hidden]{display:none!important}.choice-list{gap:12px;margin:24px 0;display:grid}.choice-list>.button{text-align:left;justify-content:flex-start}.ending-content [data-ending-text]{font-size:var(--body-size);text-align:left}.memory-line p{font-size:var(--body-size)}.minigame-area.photo{aspect-ratio:16/9;height:auto}.photo-viewport{width:100%;height:100%}.album-tabs{margin-bottom:22px}.album-tabs .button{flex:1;max-width:240px}.album-search{align-items:flex-end;gap:12px;margin:24px 0 14px;display:flex}.album-search label{min-width:0;color:var(--muted);flex:1;gap:8px;font-size:13px;display:grid}.album-search input{width:100%;min-width:0;color:var(--navy);background:#fffdf7;border:1px solid #bdc8c3;border-radius:3px;padding:11px 14px}.album-results{margin-top:10px}.album-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.album-photo-card{text-align:left;border:1px solid var(--line);color:var(--navy);background:#fffdf7;flex-direction:column;padding:10px;display:flex;box-shadow:0 4px 12px #26364b0b}.album-photo-card:hover{border-color:var(--teal);background:#f1f5ec}.album-photo-preview{aspect-ratio:16/9;background:#e9eee5;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;display:flex;overflow:hidden}.album-photo-preview img{object-fit:contain;width:100%;height:100%}.album-photo-preview p{text-align:center;color:var(--muted);padding:0 15px;font-size:12px;line-height:1.8}.album-photo-preview .icon{color:var(--teal)}.album-photo-preview.enlarged{aspect-ratio:16/9;max-height:60svh;margin:auto}.album-photo-caption{color:var(--muted);gap:5px;padding:15px 7px 10px;font-size:11px;display:grid}.album-photo-caption strong{font-family:var(--serif);color:var(--navy);font-size:19px;font-weight:600}.album-photo-caption span{line-height:1.7}@media (max-width:850px){.album-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media (max-width:500px){.album-photo-grid{grid-template-columns:1fr}.album-search{flex-wrap:wrap;gap:5px}.album-search label{flex-basis:100%}.album-search .button{margin-left:auto;font-size:12px}.album-tabs .button{font-size:13px}.album-photo-caption{padding:12px 7px 8px}}.event-cg{object-fit:cover;object-position:center 38%;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.event-cg[hidden]{display:none}.album-photo-card>img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.album-cg{border-radius:8px;width:100%;height:auto;display:block}.title-submenu{position:relative}.language-switch{z-index:5;min-width:72px;min-height:44px}.title-submenu>.language-switch{padding:10px;position:absolute;top:0;left:50%;transform:translate(-50%)}.settings-list>.language-switch{justify-self:start}@media (max-width:650px){.title-submenu>.language-switch{top:100%;left:auto;right:0;transform:none}.settings-list>.language-switch{font-size:12px}}html[lang=en]{--serif:Georgia,"Times New Roman",serif;font-family:Arial,Yu Gothic,sans-serif}html[lang=en] :is(.eyebrow,.title-intro,.game-logo,.game-logo strong,.title-description,.title-menu>.button,.title-footer,.brand-button,.calendar-label,.season-large span,.bottom-nav .button,.location-number,.commitment-status,.ending-date,.speaker-name,.event-title){letter-spacing:normal}html[lang=en] :is(button,p,h1,h2,h3,h4,span,select){word-break:normal;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}html[lang=en] .title-copy{width:48%;max-width:700px}html[lang=en] .title-intro{white-space:normal}html[lang=en] .game-logo{font-size:clamp(38px,4vw,64px);line-height:1.15}html[lang=en] .game-logo strong{margin-left:0;font-size:1em}html[lang=en] .title-description{line-height:1.7}html[lang=en] .title-menu{max-width:330px}html[lang=en] .title-menu>.button{justify-content:space-between}html[lang=en] .title-submenu{justify-content:flex-start;gap:8px}html[lang=en] .title-submenu>.language-switch{font-family:Yu Gothic,sans-serif;top:0;left:auto;right:0;transform:none}html[lang=en] .title-submenu>.button{gap:7px;padding-left:10px;padding-right:10px}html[lang=en] .title-footer{gap:20px}html[lang=en] .game-topbar{gap:16px}html[lang=en] .brand-button{font-size:16px}html[lang=en] .calendar-label{font-size:12px}html[lang=en] .day-paper{width:340px;max-width:100%}html[lang=en] .season-large{font-size:46px}html[lang=en] .season-large span{white-space:nowrap}html[lang=en] .bottom-nav .button{flex:1;min-width:0;max-width:235px}html[lang=en] .stat-row{grid-template-columns:112px 1fr 45px}html[lang=en] .plan-selection{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}html[lang=en] .plan-selection select{width:100%;min-width:0}html[lang=en] .plan-effect{line-height:1.8}html[lang=en] .setting-row{gap:18px}html[lang=en] .setting-row>span{max-width:52%}html[lang=en] .dialogue-next{min-height:44px;margin-left:auto;display:flex;position:static}html[lang=en] .dialogue-text{padding-right:0;line-height:1.7}html[lang=en] .dialogue-word{white-space:nowrap}html[lang=en] .dialogue-toolbar{flex-wrap:wrap;gap:4px 12px}html[lang=en] .event-title{min-width:130px;max-width:none;font-size:12px}html[lang=en] .dialogue-toolbar .button-row{flex-wrap:wrap;margin-left:auto}html[lang=en] .notebook-tabs{flex-wrap:wrap}html[lang=en] .notebook-tabs .button{padding:10px 8px}html[lang=en] .person-option>div{min-width:0}html[lang=en] .location-card h3{padding-right:12px}html[lang=en] .invite-form select{width:100%;min-width:0}@media (max-width:1050px){html[lang=en] .title-copy{width:55%}html[lang=en] .brand-button{font-size:13px}html[lang=en] .day-paper{width:310px}html[lang=en] .plan-selection{grid-template-columns:1fr}}@media (max-width:650px){html[lang=en] .title-copy{width:100%;max-width:none}html[lang=en] .game-logo{font-size:40px}html[lang=en] .title-intro{font-size:12px}html[lang=en] .title-menu{max-width:none}html[lang=en] .title-submenu{gap:6px}html[lang=en] .title-submenu>.button{font-size:12px}html[lang=en] .title-footer>span{max-width:45%;line-height:1.5}html[lang=en] .brand-button,html[lang=en] .calendar-label{font-size:11px}html[lang=en] .day-paper{width:265px}html[lang=en] .season-large{font-size:34px}html[lang=en] .day-paper>.button{min-height:44px;font-size:12px}html[lang=en] .bottom-nav .button{font-size:11px}html[lang=en] .planner-row{grid-template-columns:70px minmax(0,1fr);gap:8px}html[lang=en] .plan-selection select{padding:8px 7px;font-size:12px}html[lang=en] .stat-row{grid-template-columns:100px 1fr 35px;gap:9px;font-size:12px}html[lang=en] .dialogue-text{line-height:1.65}html[lang=en] .dialogue-toolbar .button{min-height:44px;padding:6px 7px;font-size:11px}html[lang=en] .event-title{flex-basis:100%;font-size:11px}html[lang=en] .location-grid{grid-template-columns:1fr}html[lang=en] .location-card{min-height:0}html[lang=en] .settings-list .setting-row{flex-wrap:wrap;gap:8px}html[lang=en] .settings-list .setting-row>select{width:100%;max-width:none}html[lang=en] .settings-list .setting-row>span{max-width:none}html[lang=en] .minigame-controls>.button-row{flex-wrap:wrap}}@media (max-height:500px) and (min-width:651px){html[lang=en] .title-copy{justify-content:flex-start;padding-top:18px;padding-bottom:85px}html[lang=en] .game-logo{font-size:32px}html[lang=en] .title-intro{margin-bottom:10px}html[lang=en] .title-rule{margin:10px 0}html[lang=en] .title-menu{margin-top:12px}}
