:root{color-scheme:light;--app-bg:#f9f9f9;--ink:#201f29;--muted:#65636f;--purple:#5852a9;--purple-deep:#40388d;--lavender:#efedfc;--ivory:#faf5ec;--line:#eae8ed;--shadow:0 1px 3px #2821330d;--max-width:480px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:#eae9ec;font-size:14px;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:default}a{color:inherit}p,h1,h2,h3,h4,h5{margin:0}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--purple);outline-offset:2px}button:active:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.ui-icon{width:1.2em;height:1.2em;flex:none}.shell{background:var(--app-bg);max-width:var(--max-width);min-height:100dvh;margin:auto;box-shadow:0 0 50px #2c223515}.skip{position:fixed;left:12px;top:-100px;z-index:120;background:white;padding:10px}.skip:focus{top:4px}
.topbar{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;position:sticky;top:0;z-index:20;background:var(--ivory);border-bottom:1px solid #efede8}.topline{display:flex;align-items:center;gap:9px;min-width:0}.topbar h1{font-size:20px;line-height:1.2;font-weight:650;letter-spacing:-.8px}.topbar.chart-header h1{font-size:17px;letter-spacing:.02em}.chart-header .topline:before{content:"";width:5px;height:16px;background:var(--purple);border-radius:9px}.topline #brand-note{font-size:9px;color:var(--purple)}.avatar,.head-copy{width:32px;height:32px;display:grid;place-content:center;border-radius:11px;background:var(--purple-deep);color:#fff}.head-copy{background:#edeaf3;color:var(--purple)}.avatar .ui-icon,.head-copy .ui-icon{width:17px;height:17px}
#main-content{padding:0 18px calc(88px + env(safe-area-inset-bottom));min-height:calc(100dvh - 57px);outline:none}.context-row{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:10px}.name-chip{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border-radius:30px;background:#f0efef;padding:5px 11px;font-size:12px;font-weight:600}.name-chip:before{content:"";width:7px;height:7px;background:var(--purple);border-radius:100%}.context-date{text-align:right;color:#4b4956;font-size:12px;font-variant-numeric:tabular-nums}.context-date small{display:block;font-size:10.5px;margin-top:2px}.scope-nav{display:flex;align-items:center;justify-content:space-between;margin:2px 0 20px;gap:6px}.seg{display:flex;padding:4px;background:#efeff0;border-radius:10px;align-items:stretch;gap:1px}.seg a,.seg button{text-decoration:none;min-width:28px;display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;line-height:1;padding:7px 8px;border-radius:7px;white-space:nowrap;background:transparent;color:#565361}.seg a[aria-current=page]{background:var(--purple);color:#fff}.seg button[aria-pressed=true]{background:white;box-shadow:var(--shadow);color:var(--purple-deep);font-weight:650}.scope-nav.wide .seg{width:100%}.scope-nav.wide a{flex:1}.scope-nav.wide a:last-child{flex:1.5}
.telemetry{background:var(--ivory);padding:13px 14px 10px;border-radius:12px;margin:1px 0 13px;box-shadow:var(--shadow)}.tl-line{display:flex;align-items:center;gap:6px;font-size:11.5px}.tl-line b{font-weight:550}.tl-line small{margin-left:auto;color:var(--purple-deep);font-size:10.5px;white-space:nowrap;border-radius:14px;background:#fff;padding:3px 8px}.signal{width:7px;height:7px;flex:none;background:var(--purple);border-radius:50%}.tl-bar{display:flex;height:7px;overflow:hidden;border-radius:100px;margin:9px 0 6px}.el-金{background:#edc453}.el-木{background:#57bc94}.el-水{background:#6963bb}.el-火{background:#df6880}.el-土{background:#bbb7b3}.tl-labels{display:flex;justify-content:space-between;font-size:10.5px;color:#676270}.telemetry p{color:#78727c;font-size:9.5px;text-align:right;margin-top:5px}
/* A reading starts with the topic, followed by its answer and a quieter explanation. */
/* The date, one main thought, and the everyday advice form three reading levels. */
.shell:is([data-page=self],[data-page=day],[data-page=week],[data-page=month],[data-page=year],[data-page=five]) {
  --paper:#fcfbf8; --rule:#e2ded7; --day-ink:#292538; --day-plum:#392e55; background:var(--paper)
}
.shell:is([data-page=self],[data-page=day],[data-page=week],[data-page=month],[data-page=year],[data-page=five]) .topbar {
  position:relative; height:51px; padding-inline:21px; background:var(--paper); border-bottom:1px solid var(--rule)
}
.shell:is([data-page=self],[data-page=day],[data-page=week],[data-page=month],[data-page=year],[data-page=five]) .topbar h1 {
  font:600 19px/1.2 Baskerville,"Palatino Linotype",Georgia,serif; letter-spacing:-.025em
}
.header-name {font-size:13px; color:#4c4659; font-weight:570}
.shell[data-page=day] .avatar {width:27px; height:27px; border-radius:50%; background:#eeebf5; color:#544575}
.scope-nav,.scope-nav.wide {margin:0; padding:0; min-height:54px; gap:8px; border-bottom:1px solid var(--rule)}
.scope-nav nav.seg {align-self:stretch; align-items:stretch; padding:0; border-radius:0; gap:3px; background:none}
.scope-nav nav.seg a {position:relative; min-width:28px; padding:0 7px; font-size:14px; color:#67616f; background:none; border-radius:0}
.scope-nav nav.seg a:first-child {padding-left:0; justify-content:flex-start}
.scope-nav nav.seg a[aria-current=page] {color:var(--day-plum); font-weight:700}
.scope-nav nav.seg a[aria-current=page]::after {content:""; position:absolute; height:2px; bottom:-1px; left:6px; right:6px; background:var(--day-plum)}
.scope-nav nav.seg a:first-child[aria-current=page]::after {left:0; right:13px}
.scope-nav.wide {margin-bottom:20px}
.scope-nav.wide nav.seg a:first-child {justify-content:center; padding-left:7px}
.scope-nav.wide nav.seg a:first-child[aria-current=page]::after {left:6px; right:6px}
.scope-nav>div.seg {padding:3px; border-radius:99px; background:#eeece8}
.scope-nav>div.seg button {min-height:29px; border-radius:99px; padding:4px 10px; font-weight:500}
.scope-nav>div.seg button[aria-pressed=true] {color:#3e3552; font-weight:650}
.shell[data-page=day] #main-content {padding-inline:21px}
.day-title {padding:23px 1px 24px}
.day-byline {display:flex; align-items:baseline; gap:10px; color:#655d71; font-size:12px; line-height:1.5}
.day-byline h2 {font-size:14px; font-weight:680; color:#514465}
.day-byline time {border-left:1px solid #c9c1cd; padding-left:10px; font-variant-numeric:tabular-nums}
.day-outlook {margin:10px 0 9px; font:650 clamp(30px,8.4vw,39px)/1.24 "Songti SC","STSong","Noto Serif CJK SC","Noto Serif SC",serif; letter-spacing:-.035em; color:var(--day-plum)}
.day-outlook span {display:block}
.day-reminder {font-size:15px; line-height:1.55; color:#55505a}
.daily-grid {display:block}
.day-card {padding:17px 1px 19px; min-width:0; background:transparent; border:0; border-bottom:1px solid var(--rule); border-radius:0; box-shadow:none}
.day-card.day-01 {padding:13px 16px 16px; background:#f2eee7; border:0; border-radius:13px}
.day-card-top {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px}
.day-card h3 {margin:0; font-size:19px; line-height:1.4; font-weight:670; letter-spacing:-.025em; color:var(--day-ink)}
.day-card .why {display:inline-flex; align-items:center; justify-content:flex-end; gap:3px; min-height:36px; padding:0 1px 0 6px; background:transparent; color:#665d76; font-size:12px; font-weight:500; white-space:nowrap}
.why .ui-icon {width:12px; height:12px}
.reading-lead,.reading-detail {display:block; overflow-wrap:anywhere; text-wrap:pretty}
.reading-lead {font-size:16px; font-weight:600; color:#322e42; line-height:1.55}
.reading-detail {margin-top:6px; font-size:14.5px; font-weight:400; color:#595563; line-height:1.72}
.day-card .reading-lead {font-size:16px; line-height:1.58; font-weight:575; color:#383345}
.day-card .reading-detail {margin-top:6px; color:#5f5963}
.outfit-palette {display:grid; grid-template-columns:minmax(0,1fr) minmax(88px,38%); align-items:center; gap:12px; min-height:89px; margin:1px 0 10px}
.outfit-intro,.outfit-primary,.outfit-alternative {display:block}
.outfit-intro,.outfit-alternative {font-size:13px; line-height:1.5; color:#59525b; font-weight:480}
.outfit-primary {font:690 29px/1.32 "Songti SC","STSong","Noto Serif CJK SC","Noto Serif SC",serif; color:#2e2b3c; letter-spacing:-.035em}
.outfit-intro:empty {display:none}
.outfit-alternative {margin-top:2px}
.fabric-pair {position:relative; width:100%; max-width:133px; height:90px; justify-self:end; isolation:isolate}
.fabric-pair i {position:absolute; display:block; width:64%; height:79%; background-image:url('/assets/cloth-detail.webp'); background-size:cover; background-blend-mode:multiply; border-radius:2px; box-shadow:0 1px 3px #30233530}
.fabric-pair i:first-child {z-index:1; left:3%; top:0; background-color:var(--fabric-main); transform:rotate(-8deg)}
.fabric-pair i:last-child {right:3%; bottom:0; background-color:var(--fabric-next); background-position:80% 100%; transform:rotate(10deg)}
.visually-hidden {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.day-card.day-02 {padding-top:18px}
.reason {margin-top:13px; padding:13px 14px; background:#efedf8; border-radius:9px; color:#4c475f}
.reason .formula {display:flex; align-items:center; gap:7px; flex-wrap:wrap; color:var(--purple-deep); font-size:11.5px}
.formula b {font-weight:650}
.reason p[data-reason] {margin-top:7px; font-size:13px; line-height:1.7}
.reason .telemetry {margin:12px 0 0; padding:10px 11px; box-shadow:none; border-radius:7px; background:#ffffffa8}
.reason-actions {display:flex; gap:8px; margin-top:11px}
.reason-actions button {flex:1; display:flex; align-items:center; justify-content:center; gap:4px; min-height:36px; border-radius:7px; background:white; color:var(--purple-deep); font-size:12px}
.reason-actions button:last-child {background:var(--purple); color:white}
.bottom-nav{position:fixed;z-index:21;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,var(--max-width));display:flex;justify-content:space-around;align-items:stretch;background:#fffffff5;border-top:1px solid #eae8eb;box-shadow:0 -2px 7px #27242b06;backdrop-filter:blur(12px);padding:5px 10px calc(5px + env(safe-area-inset-bottom));min-height:61px}.bottom-nav a{display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;gap:3px;color:#726e7a;text-decoration:none;font-size:11px;line-height:1.2}.bottom-nav a .ui-icon{width:21px;height:21px}.bottom-nav a[aria-current=page]{color:var(--purple);font-weight:650}.model-foot{text-align:center;background:#efeff2;border-radius:11px;font-size:11px;color:#65616f;line-height:1.7;padding:14px 12px;margin-top:20px}.model-foot b{display:block;color:var(--purple-deep);font-size:12px}.model-foot button{display:block;margin:5px auto 0;padding:4px 10px;color:var(--purple-deep);border-radius:8px;background:#fff}.toast{position:fixed;z-index:40;bottom:85px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;color:#fff;background:#34313f;border-radius:12px;padding:9px 14px;font-size:12px;opacity:0;pointer-events:none}.toast.show{opacity:1}.startup-issue{padding:28px 0;line-height:1.8}.startup-issue button{padding:7px 14px;color:var(--purple);border-radius:7px}
@media(max-width:365px){#main-content{padding-left:12px;padding-right:12px}.seg a,.seg button{padding:7px}.shell[data-page=day] #main-content{padding-inline:16px}.day-title{padding-block:18px}.outfit-palette{gap:7px}.day-card h3{font-size:18px}.scope-nav nav.seg{gap:0}.scope-nav nav.seg a{padding-inline:6px}}
@media(min-width:680px){.shell{border-left:1px solid #e5e2e8;border-right:1px solid #e5e2e8}}
#header-action{display:flex;align-items:center;gap:7px}.chart-profile-chip{font-size:10.5px;background:white;color:#443f52;border-radius:8px;padding:5px 7px;white-space:nowrap}.chart-profile-chip:before{content:"";display:inline-block;width:6px;height:6px;background:#5d9777;border-radius:50%;margin-right:4px}.view-chart{padding-top:13px}
.profile-action {display:inline-flex;gap:6px;align-items:center;background:transparent;min-height:40px;padding:2px 0 2px 8px}
.profile-action .header-name {max-width:7em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.model-settings-action {min-height:44px;padding:0 4px;background:transparent;color:var(--purple-deep);font-size:13px;white-space:nowrap}
.topbar {column-gap:8px}
.topline h1 {white-space:nowrap}
#header-action {min-width:0}
.profile-action {min-width:0}
.profile-action .avatar,.head-copy {flex-shrink:0}
@media(max-width:430px){.profile-action .header-name{max-width:3.5em}.chart-header #brand-note{display:none}}
@media(max-width:355px){.profile-action .header-name{display:none}}
.reading-status {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;margin:0 0 15px;color:#625b6d;font-size:12px;line-height:1.55}
.reading-status b {color:#443755;font-weight:650}
.reading-status button {background:transparent;color:#51428c;padding:5px 2px;text-decoration:underline;text-underline-offset:3px}
.period-reading>.reading-status {margin:-12px 0 0}
.time-needed {padding:32px 2px;line-height:1.7}
.time-needed p {margin:12px 0 16px}
.time-needed button {border-radius:9px;background:var(--purple-deep);color:white;padding:10px 18px;margin-right:16px}

.shell[data-page=day] .scope-nav {margin-bottom:0}
.scope-nav.wide nav.seg {gap:0}
.scope-nav.wide nav.seg a {min-width:0;padding-inline:4px}
.scope-nav.wide nav.seg a:first-child,.scope-nav.wide nav.seg a:last-child {flex:0 0 auto;padding-inline:6px}
.scope-nav.wide nav.seg a:first-child {padding-left:0}
.scope-nav.wide nav.seg a:last-child {padding-right:0}
.shell[data-page=self] .scope-nav {margin-bottom:0}
.day-date-toggle {display:flex;align-items:center;gap:1px;flex:none;margin-left:auto;padding:2px;border-radius:18px;background:#eeece8}
.day-date-toggle button {padding:5px 9px;min-height:30px;background:transparent;border-radius:16px;color:#645e6c;font-size:12px;line-height:1.2}
.day-date-toggle button[aria-pressed=true] {background:#fff;color:#3e3552;font-weight:650;box-shadow:var(--shadow)}
.self-page {color:var(--day-ink);padding-bottom:8px}
.self-page header {padding:25px 0 20px}
.self-page h2 {margin:0;font:650 32px/1.25 "Songti SC","STSong","Noto Serif CJK SC",serif;letter-spacing:-.03em;color:var(--day-plum)}
.self-page header p {margin:9px 0 0;color:#625b69;font-size:14px;line-height:1.6}
.self-page [data-self-edit] {padding:7px 0;background:transparent;color:var(--purple-deep);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.self-subjects {border-top:1px solid var(--rule)}
.self-subjects button {display:grid;grid-template-columns:3em minmax(0,1fr) 16px;align-items:center;gap:12px;min-height:56px;width:100%;padding:10px 2px;text-align:left;background:transparent;border-bottom:1px solid var(--rule)}
.self-subjects strong {color:var(--day-ink);font-size:17px;font-weight:650;letter-spacing:.02em}
.self-subjects button span {color:#645e6b;font-size:13px;line-height:1.6}
.self-subjects .ui-icon {width:15px;height:15px;color:#776d86}
.self-subjects button:hover,.self-subjects button:focus-visible {background:#f2eff6}
@media(max-width:365px){.day-byline{gap:6px}.day-byline time{padding-left:6px}.day-date-toggle button{padding-inline:7px}}
