@charset "UTF-8";:root{font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;color:#1f2a44;background:#e9e3d8;font-synthesis:none;font-weight:400;line-height:1.65;font-size:15px;--paper:#f6f1e7;--ink:#1f2a44;--red:#d9482b;--green:#5b8c5a;--gold:#e8a93b;--line:#ded7ca;--muted:#79786f}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button{color:inherit}p,h1,h2,figure{margin:0}p{overflow-wrap:anywhere}h1,h2{line-height:1.4;text-wrap:balance}h1{font-size:27px;letter-spacing:.03em}h2{font-size:19px}button,select{max-width:100%}.app-shell{max-width:480px;margin:auto;min-height:100dvh;background:var(--paper);box-shadow:0 0 50px #1f2a440a}main{padding:24px 22px 40px}article{min-width:0}.eyebrow{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.13em;color:var(--muted);margin-bottom:14px;font-weight:600}.primary,.secondary{width:100%;min-height:50px;padding:12px 16px;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-weight:600;line-height:1.55}.primary{border:1px solid var(--ink);color:var(--paper);background:var(--ink)}.primary:hover:not(:disabled){background:#33415e}.secondary{border:1px solid var(--line);background:transparent}.quiet,.text-button{border:0;background:none;min-height:44px;padding:8px 10px;color:var(--muted);font-size:13px}.text-button{text-decoration:underline;text-underline-offset:5px}.tag{font-size:11px;border:1px solid currentColor;border-radius:3px;padding:1px 7px;display:inline-block}.fine-print{font-size:11px;color:var(--muted);margin:8px 0 14px}.positive{color:var(--green)}.negative{color:var(--red)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dashboard{position:sticky;top:0;z-index:5;background:#f6f1e7f5;border-bottom:1px solid var(--line);padding:10px 16px 12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topline{display:flex;align-items:center;gap:12px}.date{font-weight:700;font-size:19px;white-space:nowrap}.date small{font-size:10px;color:var(--muted);display:block;font-weight:400;line-height:1.3}.balance{margin-left:auto;font-size:16px;font-variant-numeric:tabular-nums;font-weight:650;line-height:1.4;white-space:nowrap}.balance small{display:block;font-size:10px;color:var(--muted);font-weight:400}.icon-button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:36px;min-height:48px;padding:0;font-size:9px}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.25fr;gap:8px;margin-top:12px}.stat>div{display:flex;align-items:baseline;justify-content:space-between;gap:3px;font-size:10px}.stat span{white-space:nowrap}.stat b{font-size:12px;font-weight:600}.stat progress{display:block;width:100%;height:3px;border:none;border-radius:4px;overflow:hidden;margin-top:5px;appearance:none;background:#dfdace}.stat progress::-webkit-progress-bar{background:#dfdace}.stat progress::-webkit-progress-value{background:var(--ink)}.stat progress::-moz-progress-bar{background:var(--ink)}.stat.low{color:var(--red)}.stat.low progress::-webkit-progress-value{background:var(--red)}.stat.low progress::-moz-progress-bar{background:var(--red)}.title-main{padding:0}.title-page{padding:25px 28px 20px;min-height:100dvh;display:flex;flex-direction:column}.title-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.12em;color:var(--muted);border-bottom:1px solid var(--ink);padding-bottom:13px}.title-cover{position:relative;margin-top:65px;padding-bottom:40px}.title-edition{font-size:12px;letter-spacing:.35em;color:var(--red)}.title-red-line{width:24px;height:3px;background:var(--red);margin:23px 0 20px}.title-cover h1{font-size:46px;font-weight:500;line-height:1.4;letter-spacing:.08em;font-family:Songti SC,SimSun,serif}.title-cover em{font-style:normal;font-weight:600}.title-cover p{font-size:13px;margin-top:25px;letter-spacing:.06em}.title-seal{position:absolute;right:2px;top:106px;border:1px solid var(--red);color:var(--red);font-size:13px;line-height:1.6;padding:8px 5px;writing-mode:vertical-rl;letter-spacing:.25em}.title-actions{margin-top:auto;padding-top:38px;display:grid;gap:12px}.title-page footer{font-size:10px;color:var(--muted);text-align:center;margin-top:28px}.save-description{font-size:12px;color:var(--ink);margin-bottom:2px}.save-description span{font-size:11px;color:var(--muted)}.select-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:10px}.select-heading .eyebrow{font-size:10px;margin-bottom:8px}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.character-card{border:1px solid var(--line);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;background:#fbf8f0}.character-copy{padding:12px 10px;display:flex;flex:1;flex-direction:column;font-size:12px;gap:10px}.character-copy h2{font-size:17px;text-align:left;letter-spacing:0}.character-copy .origin{font-size:10px;color:var(--muted);margin-top:-5px}.character-copy p{line-height:1.7}.character-goal{border-top:1px solid var(--line);padding-top:8px;margin-top:auto}.character-goal small{font-size:9px;display:block;color:var(--muted)}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.character-copy button{font-size:12px;min-height:44px;padding:9px}.character-card.unavailable .art{filter:grayscale(1);opacity:.65}.character-card.unavailable{color:#85857e}.art{aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:4px;background:#dfe3d8;margin:0}.art img{display:block;width:100%;height:100%;object-fit:cover}.art.portrait{border-radius:0}.portrait img{object-position:center top;object-fit:cover}.art figcaption{position:absolute;left:10px;bottom:9px;background:#f6f1e7ec;border:1px solid #ffffff60;color:var(--ink);font-size:10px;padding:3px 9px;border-radius:2px;max-width:calc(100% - 20px)}.placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:17px;color:#535e53;letter-spacing:.09em;padding:20px;text-align:center}.placeholder-mark{font-size:25px;line-height:1.2;opacity:.5}.placeholder small{font-size:9px;opacity:.65;letter-spacing:.15em}.kind-cg{background:#dce1e8}.kind-cg .placeholder{color:#626c7d}.kind-location{background:#e8d9ba}.kind-location .placeholder{color:#7e6c4c}.kind-character{background:#e7ded7}.story-body{padding-top:22px}.story h1{font-size:24px;margin-bottom:17px}.prose p{line-height:1.95;margin:0 0 17px}.prose p:last-child{margin-bottom:0}.story .primary{margin-top:24px}.goal-page h1{font-family:Songti SC,SimSun,serif;font-size:32px}.goal-page .prose p:first-child{font-size:19px;font-weight:600}.difficulty-note{margin-top:23px;border-left:2px solid var(--red);padding-left:14px}.difficulty-note .tag{color:var(--red)}.difficulty-note p{font-size:12px;margin-top:8px}.chat-title{font-size:14px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:16px}.month-card{position:relative;padding:35px 3px 8px}.month-card .eyebrow{color:var(--red)}.month-card h1{font-family:Songti SC,SimSun,serif;font-size:62px;letter-spacing:.16em;margin:25px 0}.month-number{position:absolute;right:0;top:14px;font-family:Georgia,serif;font-size:115px;line-height:1;color:#ded8cc80;pointer-events:none}.month-intro{line-height:2;max-width:260px;margin-bottom:40px}.allowance-note{display:flex;flex-direction:column;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:36px;font-size:12px}.allowance-note b{font-size:25px;font-weight:500;color:#98731f;margin-top:5px}.choices{display:grid;gap:11px;margin-top:23px}.choice{display:flex;align-items:center;gap:10px;min-height:54px;padding:13px 12px;border:1px solid #ccc5b9;border-radius:4px;background:#fffaf1;text-align:left;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.choice-index{font-size:10px;font-weight:600;color:var(--red);flex:none}.choice>span:nth-child(2){flex:1}.choice>span:last-child{flex:none;color:var(--muted)}.choice:hover{border-color:var(--ink);background:#fff}.chosen-label{font-size:11px;color:var(--muted);padding:8px 11px;border-left:2px solid var(--red);margin-bottom:19px;background:#eae4da6b}.deltas{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.delta{font-size:11px;border-radius:3px;background:#e7ecdf;padding:5px 9px;animation:float-in .2s ease-out}.delta.negative{background:#f4e5db}.delta.cash{background:#f0e6ce}.week-result h1{font-size:32px;font-family:Songti SC,SimSun,serif;margin-bottom:20px}.action-stamp{display:inline-block;font-size:12px;border-bottom:2px solid var(--red);padding:5px 0;margin:12px 0 20px}.week-result .art{margin-bottom:12px}.notice{border-left:2px solid var(--red);padding:12px 14px;background:#efe6da;margin:16px 0}.notice h2{font-size:16px;margin-bottom:6px}.notice p{font-size:13px}.week-result .primary{margin-top:30px}.plan-page h1{font-size:25px}.tips{margin:17px 0 20px;padding:13px 14px 5px;background:#ece8dd;border-radius:4px;min-height:113px}.tips p{font-size:12px;line-height:1.8;min-height:44px}.tip-dots{display:flex;justify-content:center;height:35px}.tip-dots button{border:0;background:none;padding:10px;min-width:36px;min-height:35px}.tip-dots span{display:block;width:5px;height:5px;border-radius:50%;background:#c4bfb4}.tip-dots button[aria-pressed=true] span{background:var(--red)}.week-plan{display:flex;gap:14px;border-top:1px solid var(--line);padding:16px 0}.week-label{width:58px;flex:none;padding-top:9px}.week-label b{font-size:14px;font-weight:600}.week-label small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.week-inputs{flex:1;min-width:0}select{appearance:auto;border:1px solid #cfc7ba;border-radius:4px;background:#fffaf2;color:var(--ink);width:100%;min-height:44px;padding:8px 9px;font-size:13px}select option:disabled{color:#999}.action-desc{font-size:10px;color:var(--muted);margin-top:7px;line-height:1.6}.week-inputs select+select,.action-desc+select{margin-top:10px}.locked-actions{border-top:1px solid var(--line);padding:13px 0;color:#8a8980;font-size:10px}.locked-actions p{display:flex;gap:8px;margin:4px 0}.locked-actions b{font-weight:500;min-width:48px}.locked-actions p>span:last-child{margin-left:auto;text-align:right}.estimate{border-top:1px solid var(--ink);padding-top:17px;margin-top:12px;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:13px}.estimate small{display:block;font-size:9px;color:var(--muted)}.estimate b{font-size:19px;font-weight:500;white-space:nowrap}.phone-alert{padding:42px 0 15px;text-align:center}.phone-alert .eyebrow{justify-content:center}.phone-glyph{width:52px;height:80px;border:1.5px solid var(--ink);border-radius:9px;margin:50px auto 35px;font-size:40px;line-height:60px;transform:rotate(-7deg)}.phone-alert h1{font-size:25px}.phone-alert p{color:var(--muted);margin:12px 0 50px}.messages{display:flex;flex-direction:column;gap:16px;padding:6px 0 22px}.message{max-width:91%;align-self:flex-start;animation:fade-in .2s ease-out}.message.outgoing{align-self:flex-end}.message-meta{font-size:10px;color:var(--muted);display:flex;gap:9px;margin:0 4px 5px}.outgoing .message-meta{justify-content:flex-end}.bubble{background:#e9e7df;border:1px solid #dfdcd2;border-radius:0 9px 9px;padding:10px 13px;font-size:13px;line-height:1.8;white-space:pre-wrap}.outgoing .bubble{background:#dfe8d9;border-color:#ced9c8;border-radius:9px 0 9px 9px}.system-message{font-size:10px;color:var(--muted);text-align:center;padding:3px 12px}.message.stagger{animation-delay:var(--delay);animation-fill-mode:backwards}.chat-page h1{font-size:21px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}.chat-page .choices{margin-top:7px}.chat-page .primary{margin-top:12px}.report-page h1{font-family:Songti SC,SimSun,serif;font-size:34px}.report-person{font-size:11px;color:var(--muted);margin-top:8px}.ledger{margin:25px 0;border-top:2px solid var(--ink);padding-top:12px}.ledger>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:8px 0}.ledger b{font-weight:500;font-variant-numeric:tabular-nums;flex-shrink:0}.ledger .ledger-total{border-top:1px solid var(--ink);margin-top:10px;padding-top:16px;font-weight:600;align-items:center}.ledger-total b{font-size:23px}.comparison{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.comparison>div{display:flex;justify-content:space-between;gap:8px;padding:5px 0}.comparison .comparison-head{font-size:10px;color:var(--muted);margin-bottom:7px}.comparison i{font-style:normal;margin:0 15px;color:#aaa598}.comparison b{font-weight:500;min-width:26px;display:inline-block;text-align:right}.attendance-note{margin:22px 0 26px}.attendance-note b{font-size:16px;font-weight:500;color:var(--green)}.attendance-note p{font-size:12px;line-height:1.8;margin-top:8px}.ending-page{padding-top:45px}.ending-page .eyebrow{color:var(--red)}.end-mark{display:block;font-family:Songti SC,SimSun,serif;font-size:24px;color:var(--red);border:1px solid var(--red);width:47px;height:47px;text-align:center;line-height:45px;margin:35px 0}.ending-page h1{font-family:Songti SC,SimSun,serif;font-size:34px;margin-bottom:25px}.ending-page .prose{font-size:14px}.ending-rule{width:38px;height:2px;background:var(--red);margin:38px 0}.ending-page small{color:var(--muted);font-size:10px}dialog{border:1px solid var(--line);border-radius:8px;width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 48px);background:var(--paper);color:var(--ink);padding:20px;overflow:auto}dialog::backdrop{background:#17203970;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:18px;gap:10px}.modal-head h2{font-size:20px}.modal-head .quiet{flex-shrink:0}dialog p{font-size:14px;line-height:1.9;margin-bottom:15px}.menu-list{display:grid;gap:12px}.confirm-actions{display:flex;gap:12px;margin-top:22px}.history-row{width:100%;border:0;border-bottom:1px solid var(--line);background:none;display:flex;flex-direction:column;gap:7px;text-align:left;padding:15px 0;min-width:0}.history-row b{font-size:14px;font-weight:500}.history-row span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.history-row small{font-size:10px;color:var(--red)}.empty-note{text-align:center;padding:30px 0;color:var(--muted)}.save-warning{padding:12px 18px;background:#f4dfce;color:#933f28;font-size:12px}.load-error{max-width:480px;margin:auto}.load-error pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes float-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}main>article{animation:fade-in .2s ease-out}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:700px){.app-shell{border-left:1px solid #e0d8ca;border-right:1px solid #e0d8ca}.title-page{min-height:720px}}@media(max-width:350px){main{padding-left:16px;padding-right:16px}.dashboard{padding-left:12px;padding-right:12px}.topline{gap:7px}.balance{font-size:14px}.stats{gap:6px}.character-copy{padding:10px 8px}.title-cover h1{font-size:40px}}.late-count{display:block;font-size:10px;font-weight:400;color:var(--red);line-height:1.5;margin-top:4px}.luck-tag{display:inline-block;margin-left:8px;font-size:10px;font-weight:400;color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:0 4px;white-space:nowrap}
