/* Generated by build_release.py; edit design/style.source.css. */

#shiyi-pixel-stage{display:flex;justify-content:center;padding:20px 0 25px}
#shiyi-pixel{--sp-bg:#f5f2fc;--sp-paper:#fffdfd;--sp-ink:#39314b;--sp-sub:#7c728e;--sp-line:#e2dcec;--sp-purple:#715a9f;--sp-purple-ink:#fff;--sp-lilac:#eae1f5;--sp-soft:#f1ebf8;--sp-peach:#fcebdc;--sp-mint:#e2eee6;--sp-pink:#f0dce9;width:100%;max-width:502px;color:var(--sp-ink);background:var(--sp-bg);font:14px/1.7 'Segoe UI','Microsoft YaHei',sans-serif;border:1px solid var(--sp-line);border-radius:14px;overflow:clip;min-width:0}
#shiyi-pixel *{box-sizing:border-box}#shiyi-pixel [hidden]{display:none!important}#shiyi-pixel button,#shiyi-pixel textarea{font:inherit}#shiyi-pixel button{cursor:pointer;-webkit-tap-highlight-color:transparent}#shiyi-pixel button:focus-visible,#shiyi-pixel textarea:focus-visible{outline:2px solid var(--sp-purple);outline-offset:4px}#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel p{margin:0}#shiyi-pixel .pixel-type{font-family:'Courier New','Microsoft YaHei',monospace}#shiyi-pixel .muted{font-size:12px;color:var(--sp-sub)}#shiyi-pixel .micro{font-size:11px;letter-spacing:1.1px;color:var(--sp-sub)}#shiyi-pixel .header{display:flex;gap:10px;align-items:center;padding:19px 23px 17px;background:var(--sp-paper);border-bottom:1px solid var(--sp-line)}#shiyi-pixel .brand-mark{font-size:25px;color:var(--sp-purple);width:33px;height:33px;background:var(--sp-soft);display:grid;place-items:center;line-height:1}#shiyi-pixel .brand-name{font-weight:650;font-size:18px;letter-spacing:2px}#shiyi-pixel .brand-sub{font-size:10px;letter-spacing:1.4px;color:var(--sp-sub);margin-top:1px}#shiyi-pixel .private-label{margin-left:auto;text-align:right;font-size:10px;letter-spacing:1px;color:var(--sp-sub)}#shiyi-pixel .content{padding:22px 23px 20px}#shiyi-pixel .date-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;font-size:11px;color:var(--sp-sub)}#shiyi-pixel .date-line strong{font-weight:500;color:var(--sp-ink)}#shiyi-pixel .room{position:relative;border:1px solid #85739d;background:#665280;overflow:clip;box-shadow:0 3px 0 #b5a2c7}#shiyi-pixel .room-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;background:#e2d7ee;color:#615270;font:11px 'Courier New',monospace;border-bottom:1px solid #85739d}#shiyi-pixel .room-bar span:last-child{letter-spacing:3px}#shiyi-pixel canvas{display:block;image-rendering:pixelated;width:100%;aspect-ratio:16/9;background:#5b4775}#shiyi-pixel .room-label{position:absolute;left:16px;bottom:16px;padding:5px 9px;background:#302743dd;color:#f1eafa;font-size:11px;letter-spacing:1px;border:1px solid #a78cb9}#shiyi-pixel .intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 19px}#shiyi-pixel h2{font-size:23px;font-weight:600;letter-spacing:.3px;line-height:1.6}#shiyi-pixel .intro p{font-size:12px;color:var(--sp-sub);margin-top:7px}#shiyi-pixel .stamp{color:var(--sp-purple);font:11px/1.5 'Courier New',monospace;text-align:center;letter-spacing:1px;flex-shrink:0;opacity:.8}#shiyi-pixel .stamp strong{display:block;font-size:30px;font-weight:400;letter-spacing:-2px}
#shiyi-pixel .new-record{background:var(--sp-purple);color:var(--sp-purple-ink);border:0;border-bottom:3px solid #51406e;border-radius:5px;padding:11px 16px;min-height:49px;width:100%;display:flex;justify-content:space-between;align-items:center;font-weight:550;font-size:13px;letter-spacing:.3px}#shiyi-pixel .new-record:active{transform:translateY(1px)}#shiyi-pixel .new-record small{font:11px 'Courier New',monospace;opacity:.8}#shiyi-pixel .quick-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#shiyi-pixel .fact{display:flex;gap:9px;align-items:center;border:1px solid var(--sp-line);background:var(--sp-paper);padding:12px;border-radius:5px;color:var(--sp-ink);text-align:left;min-width:0}#shiyi-pixel .fact .fact-mark{background:var(--sp-mint);color:var(--sp-purple);width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;font-family:monospace;font-size:17px}#shiyi-pixel .fact:last-child .fact-mark{background:var(--sp-peach)}#shiyi-pixel .fact-number{font-size:17px;font-weight:600;line-height:1.4}#shiyi-pixel .fact-number small{font-size:11px;font-weight:400;margin-left:3px}#shiyi-pixel .fact .muted{font-size:10px;line-height:1.4}#shiyi-pixel .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 7px}#shiyi-pixel h3{font-size:14px;font-weight:600;letter-spacing:.2px}#shiyi-pixel .text-button{border:0;background:none;color:var(--sp-purple);font-size:11px;padding:6px 0;min-height:32px}#shiyi-pixel .entry{width:100%;display:grid;grid-template-columns:39px minmax(0,1fr) 12px;gap:10px;align-items:start;background:none;border:0;border-bottom:1px solid var(--sp-line);padding:14px 0;text-align:left;color:var(--sp-ink)}#shiyi-pixel .entry .entry-date{font:11px/1.8 'Courier New',monospace;color:var(--sp-sub)}#shiyi-pixel .entry .entry-title{font-size:12px;font-weight:550}#shiyi-pixel .entry .entry-note{display:block;font-size:11px;color:var(--sp-sub);margin-top:3px;overflow-wrap:anywhere}#shiyi-pixel .entry .arrow{font-size:13px;color:var(--sp-purple)}#shiyi-pixel .status-line{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-top:13px;color:var(--sp-sub);font-size:10px}#shiyi-pixel .status-line .text-button{font-size:10px}#shiyi-pixel .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--sp-line);background:var(--sp-paper);padding:8px 14px;gap:9px}#shiyi-pixel .nav button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:44px;background:none;border:0;color:var(--sp-sub);font-size:12px;padding:8px 7px;border-radius:4px}#shiyi-pixel .nav button[aria-selected=true]{background:var(--sp-soft);color:var(--sp-purple);font-weight:600}#shiyi-pixel .nav-mark{font:17px 'Courier New',monospace;line-height:1}#shiyi-pixel .page-heading{padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--sp-line)}#shiyi-pixel .page-heading h2{margin-top:8px}#shiyi-pixel .page-heading p{font-size:12px;color:var(--sp-sub);margin-top:8px}#shiyi-pixel .message{margin:17px 0}#shiyi-pixel .speaker{font:10px 'Courier New','Microsoft YaHei',monospace;letter-spacing:.7px;color:var(--sp-sub);margin-bottom:6px}#shiyi-pixel .message-text{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}#shiyi-pixel .message.user{margin-left:23px;padding:12px 14px;background:var(--sp-lilac);border:1px solid var(--sp-line);border-radius:5px}#shiyi-pixel .draft{padding:14px;margin-top:12px;border:1px solid var(--sp-line);background:var(--sp-paper);border-radius:5px;box-shadow:3px 3px 0 var(--sp-lilac)}#shiyi-pixel .draft-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;font-weight:550}#shiyi-pixel .chip{background:var(--sp-soft);padding:2px 7px;color:var(--sp-purple);font-size:10px;font-weight:400}#shiyi-pixel dl{display:grid;grid-template-columns:52px minmax(0,1fr);font-size:12px;gap:8px;margin:12px 0 15px}#shiyi-pixel dt{color:var(--sp-sub)}#shiyi-pixel dd{margin:0;overflow-wrap:anywhere}#shiyi-pixel .button{display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--sp-line);background:var(--sp-paper);color:var(--sp-ink);border-radius:4px;padding:8px 12px;min-height:40px;font-size:12px}#shiyi-pixel .button.primary{background:var(--sp-purple);border-color:var(--sp-purple);color:var(--sp-purple-ink)}#shiyi-pixel .row{display:flex;gap:8px;flex-wrap:wrap}#shiyi-pixel .suggestions{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 12px}#shiyi-pixel .suggestion{padding:7px 9px;min-height:34px;background:var(--sp-paper);border:1px solid var(--sp-line);color:var(--sp-sub);border-radius:3px;font-size:11px}#shiyi-pixel .suggestion:hover{background:var(--sp-lilac);color:var(--sp-purple)}#shiyi-pixel .composer{padding:13px;border:1px solid var(--sp-line);border-radius:5px;background:var(--sp-paper)}#shiyi-pixel .composer label{font-size:11px;color:var(--sp-sub)}#shiyi-pixel textarea{width:100%;min-height:72px;resize:vertical;font-size:16px;background:none;color:var(--sp-ink);border:0;display:block;padding:9px 0}#shiyi-pixel textarea::placeholder{color:var(--sp-sub)}#shiyi-pixel .composer-actions{display:flex;justify-content:space-between;gap:10px;align-items:center}#shiyi-pixel .composer .button{min-width:74px}#shiyi-pixel .fine{font-size:11px;color:var(--sp-sub);margin-top:12px}#shiyi-pixel .refs{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}#shiyi-pixel .ref{font-size:11px;border:0;border-bottom:1px solid var(--sp-line);padding:4px 0;background:none;color:var(--sp-purple);min-height:30px}#shiyi-pixel .photo{max-width:100%;max-height:200px;object-fit:contain;display:block;margin:9px 0;border-radius:3px}#shiyi-pixel .preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}#shiyi-pixel .preview .photo{width:48px;height:48px;object-fit:cover;margin:0}#shiyi-pixel .preview span{font-size:11px;color:var(--sp-sub)}#shiyi-pixel .archive-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}#shiyi-pixel .archive-stat{border-left:2px solid var(--sp-purple);padding:1px 0 1px 13px}#shiyi-pixel .archive-stat strong{font:32px 'Courier New',monospace;display:block;margin:6px 0;color:var(--sp-ink)}#shiyi-pixel .summary-box{border:1px solid var(--sp-line);padding:16px;background:var(--sp-paper);margin:18px 0;border-radius:4px;font-size:13px}#shiyi-pixel .summary-box p{margin-top:10px}#shiyi-pixel .detail{margin-top:20px;padding:16px;background:var(--sp-paper);border:1px solid var(--sp-line);border-radius:4px}#shiyi-pixel .detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#shiyi-pixel .quote{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid var(--sp-lilac);padding-left:10px;margin-top:12px}#shiyi-pixel .notion-panel{padding:17px 23px;background:var(--sp-soft);border-top:1px solid var(--sp-line);font-size:12px}#shiyi-pixel .notion-panel p{margin-top:7px;color:var(--sp-sub);font-size:11px}#shiyi-pixel .footer{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 23px;background:var(--sp-paper);border-top:1px solid var(--sp-line);font-size:10px;color:var(--sp-sub)}#shiyi-pixel .footer .text-button{font-size:10px}
@media(max-width:375px){#shiyi-pixel .content{padding:18px 17px}#shiyi-pixel .header{padding:17px}#shiyi-pixel .private-label{font-size:9px}#shiyi-pixel .brand-sub{font-size:9px}#shiyi-pixel .quick-facts{gap:8px}#shiyi-pixel .fact{padding:10px 8px;gap:6px}#shiyi-pixel .fact .fact-mark{width:24px;height:28px;font-size:14px}#shiyi-pixel .fact-number{font-size:16px}#shiyi-pixel h2{font-size:21px}#shiyi-pixel .stamp strong{font-size:25px}#shiyi-pixel .new-record small{font-size:10px}#shiyi-pixel .nav{gap:4px;padding-left:10px;padding-right:10px}#shiyi-pixel .nav button{gap:4px}#shiyi-pixel .footer{padding-left:17px;padding-right:17px}}
@media(pointer:coarse){#shiyi-pixel button{min-height:44px}}
/* A soft page around a crisp pixel illustration. */
#shiyi-pixel{--sp-bg:#faf7fc;--sp-paper:#fffdfd;--sp-ink:#4a3e59;--sp-sub:#897a97;--sp-line:#ede6f1;--sp-purple:#8a70af;--sp-purple-ink:#fffaff;--sp-lilac:#eee5f5;--sp-soft:#f3edf7;--sp-mint:#e9f1eb;--sp-peach:#fbefe7;border:0;border-radius:28px;box-shadow:0 12px 45px #89709e14}
#shiyi-pixel button{transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
#shiyi-pixel .header{background:#78618c;border:0;padding:24px 26px 17px;gap:11px;color:#fbf4ff}
#shiyi-pixel .brand-mark{border-radius:14px;background:#ffffff16;color:#eee0fb;width:36px;height:36px;font-size:23px}
#shiyi-pixel .brand-mark{width:42px;height:42px;border-radius:16px;overflow:hidden;flex-shrink:0}
#shiyi-pixel .brand-mark canvas{width:42px;height:42px;aspect-ratio:1;background:none}
#shiyi-pixel .brand-name{font-size:17px;letter-spacing:1.5px;font-weight:550}
#shiyi-pixel .brand-sub{font:11px 'Segoe UI','Microsoft YaHei',sans-serif;letter-spacing:.3px;color:#e1d2ed;margin-top:5px}
#shiyi-pixel .private-label{color:#e1d2ed;font-size:10px;letter-spacing:1.2px}
#shiyi-pixel .content{padding:27px 26px 20px}
#shiyi-pixel #sp-home{padding-top:0}
#shiyi-pixel .date-line{margin:0 -26px;padding:4px 26px 13px;background:#78618c;color:#e6daef;font-size:11px}
#shiyi-pixel .date-line strong{color:#f7eefc}
#shiyi-pixel .date-line .pixel-type{letter-spacing:.5px;font-size:10px}
#shiyi-pixel .room{margin:0 -26px;border:0;border-radius:0;background:none;box-shadow:none}
#shiyi-pixel .room-bar{display:none}
#shiyi-pixel .room::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:55px;background:linear-gradient(0deg,var(--sp-bg) 3%,transparent);pointer-events:none}
#shiyi-pixel .room-label{left:auto;right:22px;bottom:42px;padding:6px 11px;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;font:11px 'Microsoft YaHei',sans-serif;letter-spacing:.3px}
#shiyi-pixel .motion-button{position:absolute;left:20px;bottom:42px;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;padding:6px 11px;font-size:11px;min-height:32px;z-index:1}
#shiyi-pixel .live-time{font-variant-numeric:tabular-nums;white-space:nowrap}
#shiyi-pixel{font-family:'YouYuan','Microsoft YaHei UI','Microsoft YaHei',sans-serif;font-weight:400}
#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name{font-family:'YouYuan','Microsoft YaHei UI',sans-serif;font-weight:400}
#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,#shiyi-pixel .brand-sub,#shiyi-pixel .private-label{font-family:'YouYuan','Microsoft YaHei UI',sans-serif;letter-spacing:.3px}
#shiyi-pixel .pose-button{position:absolute;left:20px;bottom:79px;z-index:1;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;padding:6px 11px;font-size:11px;min-height:32px}
#shiyi-pixel .intro{margin:11px 0 22px;display:block}
#shiyi-pixel h2{font-size:23px;font-weight:500;letter-spacing:.5px;line-height:1.65}
#shiyi-pixel .intro p{font-size:12px;margin-top:8px;color:var(--sp-sub)}
#shiyi-pixel .stamp{display:none}
#shiyi-pixel .new-record{border:0;border-radius:25px;background:linear-gradient(110deg,#9178b4,#a58abd);color:#fffaff;padding:11px 15px 11px 20px;min-height:50px;font-size:13px;font-weight:500;box-shadow:0 6px 16px #997ab72a}
#shiyi-pixel .new-record small{font:18px 'Segoe UI',sans-serif;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff26;opacity:1}
#shiyi-pixel .new-record:hover{transform:translateY(-1px);box-shadow:0 8px 21px #997ab73b}
#shiyi-pixel .new-record:active{transform:translateY(0)}
#shiyi-pixel .quick-facts{gap:13px;margin-top:20px}
#shiyi-pixel .fact{border:0;border-radius:18px;padding:16px 13px;gap:9px;background:var(--sp-mint)}
#shiyi-pixel .fact:last-child{background:var(--sp-peach)}
#shiyi-pixel .fact .fact-mark,#shiyi-pixel .fact:last-child .fact-mark{background:transparent;width:21px;height:30px;color:var(--sp-sub);font-size:18px}
#shiyi-pixel .fact-number{font-size:20px;font-weight:500}
#shiyi-pixel .fact .muted{font-size:10px;margin-top:3px;line-height:1.5}
#shiyi-pixel .section-head{margin:27px 0 8px}
#shiyi-pixel h3{font-size:14px;font-weight:500;letter-spacing:.3px}
#shiyi-pixel .entry{border:0;padding:16px 0;gap:12px}
#shiyi-pixel .entry+.entry{border-top:1px solid color-mix(in srgb,var(--sp-line) 65%,transparent)}
#shiyi-pixel .entry .entry-date{background:var(--sp-soft);border-radius:10px;padding:4px 0;text-align:center;font-size:10px;line-height:1.8}
#shiyi-pixel .entry .entry-title{font-size:13px;font-weight:500}
#shiyi-pixel .entry .entry-note{font-size:11px;margin-top:5px;line-height:1.75}
#shiyi-pixel .entry .arrow{opacity:.55;font-size:12px;padding-top:3px}
#shiyi-pixel .status-line{margin-top:6px;font-size:10px}
#shiyi-pixel .nav{margin:5px 18px 10px;padding:7px;background:var(--sp-paper);border:0;border-radius:27px;gap:6px;box-shadow:0 4px 20px #8774980d}
#shiyi-pixel .nav button{border-radius:22px;font-size:12px;gap:7px;min-height:43px}
#shiyi-pixel .nav button[aria-selected=true]{font-weight:500;background:var(--sp-lilac)}
#shiyi-pixel .nav-mark{font-size:16px;opacity:.8}
#shiyi-pixel .footer{background:transparent;border:0;padding:2px 27px 14px;font-size:10px}
#shiyi-pixel .footer .text-button{color:var(--sp-sub)}
#shiyi-pixel .page-heading{border:0;padding-bottom:7px;margin-bottom:22px}
#shiyi-pixel .page-heading p{line-height:1.9}
#shiyi-pixel .micro{font-size:10px;letter-spacing:1.2px}
#shiyi-pixel .message{margin:21px 0}
#shiyi-pixel .speaker{font-size:10px;letter-spacing:.4px;margin-bottom:9px}
#shiyi-pixel .message-text{line-height:1.95}
#shiyi-pixel .message.user{border:0;border-radius:20px 20px 5px 20px;padding:15px 17px;background:var(--sp-lilac);margin-left:24px}
#shiyi-pixel .draft{border:0;border-radius:19px;padding:18px;background:var(--sp-paper);box-shadow:0 5px 22px #94829f0e;margin-top:17px}
#shiyi-pixel .draft-title{font-weight:500}
#shiyi-pixel .chip{border-radius:12px;padding:3px 9px;font-size:10px}
#shiyi-pixel dl{gap:10px;margin:16px 0 18px;line-height:1.9}
#shiyi-pixel .button{border-radius:20px;padding:8px 15px;font-weight:400;border-color:var(--sp-line);min-height:40px}
#shiyi-pixel .button.primary{background:var(--sp-purple);border-color:var(--sp-purple)}
#shiyi-pixel .suggestions{gap:7px;margin:22px 0 15px}
#shiyi-pixel .suggestion{border-radius:18px;padding:7px 11px;border:0;background:var(--sp-soft);font-size:11px;min-height:34px}
#shiyi-pixel .composer{border:0;border-radius:23px;padding:17px;background:var(--sp-paper);box-shadow:0 5px 22px #94829f10}
#shiyi-pixel textarea{min-height:82px;font-size:16px;line-height:1.8}
#shiyi-pixel .composer label{letter-spacing:.2px;font-size:11px}
#shiyi-pixel .composer .button{min-width:80px}
#shiyi-pixel .ref{border:0;border-radius:12px;background:var(--sp-soft);padding:4px 9px}
#shiyi-pixel .photo{border-radius:14px}
#shiyi-pixel .archive-stats{gap:14px;margin-bottom:26px}
#shiyi-pixel .archive-stat{border:0;padding:16px 14px;background:var(--sp-soft);border-radius:19px}
#shiyi-pixel .archive-stat strong{font:29px 'Segoe UI',sans-serif;font-weight:400;margin:8px 0}
#shiyi-pixel .archive-stat .muted{font-size:11px}
#shiyi-pixel .summary-box,#shiyi-pixel .detail{border:0;border-radius:19px;padding:19px;box-shadow:0 4px 20px #94829f0c}
#shiyi-pixel .quote{border-left:2px solid var(--sp-lilac);padding-left:13px;line-height:1.9}
#shiyi-pixel .notion-panel{border:0;border-radius:20px;margin:7px 18px 12px;padding:18px}
#shiyi-pixel .notion-panel p{line-height:1.9}
@media(max-width:375px){#shiyi-pixel{border-radius:22px}#shiyi-pixel .header{padding:21px 19px 17px}#shiyi-pixel .content{padding:24px 19px 18px}#shiyi-pixel #sp-home{padding-top:0}#shiyi-pixel .date-line{margin-left:-19px;margin-right:-19px;padding-left:19px;padding-right:19px}#shiyi-pixel .room{margin-left:-19px;margin-right:-19px}#shiyi-pixel .brand-name{font-size:16px}#shiyi-pixel .brand-sub{font-size:10px}#shiyi-pixel .private-label{font-size:9px}#shiyi-pixel .intro{margin-top:13px;margin-bottom:20px}#shiyi-pixel h2{font-size:21px}#shiyi-pixel .quick-facts{gap:10px}#shiyi-pixel .fact{padding:14px 9px;gap:5px;border-radius:16px}#shiyi-pixel .fact .fact-mark{width:19px;font-size:16px}#shiyi-pixel .fact-number{font-size:18px}#shiyi-pixel .fact .muted{font-size:10px}#shiyi-pixel .room-label{right:18px;font-size:10px;bottom:36px}#shiyi-pixel .nav{margin-left:13px;margin-right:13px;padding:6px;gap:3px}#shiyi-pixel .nav button{gap:5px;padding-left:4px;padding-right:4px}#shiyi-pixel .footer{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){#shiyi-pixel button{transition:none!important}}

html{color-scheme:light dark;background:#f5f1f9;min-height:100%;-webkit-text-size-adjust:100%}body{margin:0;padding:18px 12px calc(22px + env(safe-area-inset-bottom));font-family:'YouYuan','Microsoft YaHei UI',sans-serif}button,input,select,textarea{font:inherit}button{touch-action:manipulation}#shiyi-pixel-stage{padding:0}#shiyi-pixel{max-width:560px;width:100%;font-size:15px}#shiyi-pixel .header{padding-top:calc(24px + env(safe-area-inset-top))}#shiyi-pixel button{min-height:40px}#shiyi-pixel .settings-button{border:0;background:#ffffff14;color:#f7eefc;width:36px;height:36px;border-radius:50%;font-size:20px;margin-left:6px}#shiyi-pixel .entry .entry-title{font-size:14px}#shiyi-pixel .entry .entry-note{font-size:12px}#shiyi-pixel .muted,#shiyi-pixel .fine{font-size:12px}#shiyi-pixel .speaker{font:12px 'YouYuan','Microsoft YaHei UI',sans-serif}#shiyi-pixel .message-text{font-size:15px}#shiyi-pixel textarea{font-size:16px}#shiyi-pixel .preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}#shiyi-pixel .empty{padding:24px 0;color:var(--sp-sub);font-size:13px;line-height:1.9}#shiyi-pixel .synctag{font-size:11px;color:var(--sp-sub);font-weight:400;margin-left:8px}#shiyi-pixel .timeline-filters{display:flex;gap:9px;margin:20px 0;flex-wrap:wrap}#shiyi-pixel input,#shiyi-pixel select{min-height:43px;border:1px solid var(--sp-line);border-radius:12px;padding:9px 11px;background:var(--sp-paper);color:var(--sp-ink);font-size:16px;min-width:0;max-width:100%}#shiyi-pixel .timeline-filters input{width:145px}#shiyi-pixel .timeline-filters select{flex:1}#shiyi-pixel .section-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.sp-dialog{box-sizing:border-box;border:0;border-radius:24px;background:#fcf8ff;color:#493d57;width:min(94vw,540px);max-height:88dvh;padding:24px;font:15px/1.85 'YouYuan','Microsoft YaHei UI',sans-serif;box-shadow:0 15px 70px #24172f40}.sp-dialog::backdrop{background:#21162e70;backdrop-filter:blur(5px)}.sp-dialog h2{font-size:21px;font-weight:400;margin:0 0 12px}.sp-dialog h3{font-size:16px;font-weight:400;margin:24px 0 10px}.sp-dialog p{font-size:13px;color:#766486}.sp-dialog label{display:grid;gap:6px;margin:12px 0;font-size:13px}.sp-dialog input,.sp-dialog select,.sp-dialog textarea{box-sizing:border-box;max-width:100%;width:100%;border:1px solid #e5dced;border-radius:12px;background:#fff;color:inherit;min-height:43px;padding:10px 12px;font:16px/1.7 'YouYuan','Microsoft YaHei UI',sans-serif}.sp-dialog textarea{min-height:90px;resize:vertical}.sp-dialog button{border:0;border-radius:22px;min-height:42px;padding:9px 17px;background:#eae0f3;color:inherit;font:14px 'YouYuan','Microsoft YaHei UI',sans-serif;cursor:pointer}.sp-dialog button.primary{background:#8a70af;color:#fff}.sp-dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sp-dialog .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sp-dialog .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.sp-dialog .small{font-size:12px;color:#7e6d8c}.sp-dialog .error{color:#a03a58}#sp-toast{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(90vw,460px);box-sizing:border-box;background:#493c59;color:#fff;border-radius:20px;padding:12px 18px;box-shadow:0 8px 30px #27193226;font:14px/1.8 'YouYuan','Microsoft YaHei UI',sans-serif;z-index:10}#sp-toast:empty{display:none}#shiyi-pixel .fact .muted{font-size:11px}#shiyi-pixel .quick-facts .fact-number{font-variant-numeric:tabular-nums}#shiyi-pixel .notion-panel .danger{color:#9a435c}@media(max-width:380px){body{padding:0}#shiyi-pixel{border-radius:0;box-shadow:none}#shiyi-pixel .private-label{display:none}.sp-dialog{padding:19px}.sp-dialog .two-fields{gap:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Rounded native UI on iPhone; soft Chinese fallback on Windows. */
#shiyi-pixel,#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name,#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,.sp-dialog,.sp-dialog button,.sp-dialog input,.sp-dialog select,.sp-dialog textarea{font-family:ui-rounded,'YouYuan',-apple-system,BlinkMacSystemFont,'Microsoft YaHei UI',sans-serif}#shiyi-pixel .brand-name{font-size:19px}#shiyi-pixel .brand-sub{font-family:ui-rounded,'YouYuan',-apple-system,sans-serif}#shiyi-pixel .date-line{letter-spacing:.2px}#shiyi-pixel .page-heading .micro{letter-spacing:.3px}#shiyi-pixel .entry .entry-date{font-family:ui-rounded,'YouYuan',sans-serif}

#shiyi-pixel .pose-button{bottom:94px;min-height:40px}#shiyi-pixel .motion-button{bottom:44px;min-height:40px}#shiyi-pixel .room-label{pointer-events:none}

/* Mobile first, with a real tablet/desktop layout rather than a phone-sized frame. */
#shiyi-pixel .home-scene,#shiyi-pixel .home-dashboard,#shiyi-pixel .archive-overview,#shiyi-pixel .archive-history{min-width:0}
#shiyi-pixel #sp-profile-avatar{display:block;width:42px;height:42px;object-fit:cover;border-radius:15px}
#shiyi-pixel #sp-profile-avatar[hidden]{display:none!important}
#shiyi-pixel .brand-mark.has-photo canvas{display:none}
#shiyi-pixel .brand-name{overflow-wrap:anywhere;line-height:1.5}
#shiyi-pixel .header>div:nth-child(2){min-width:0}
.sp-dialog input[type=file]{font-size:13px;padding:7px 8px}
@media(min-width:700px) and (max-width:999px){
 body{padding:25px 22px}
 #shiyi-pixel{max-width:860px}
 #shiyi-pixel .header{padding:25px 32px}
 #shiyi-pixel .content{padding:28px 32px}
 #shiyi-pixel #sp-home{padding-top:0}
 #shiyi-pixel .date-line{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
 #shiyi-pixel .room{margin-left:-32px;margin-right:-32px}
 #shiyi-pixel canvas#sp-room{max-height:370px;object-fit:cover;object-position:center}
 #shiyi-pixel .quick-facts{gap:20px}
 #shiyi-pixel .home-dashboard{max-width:680px;margin:auto}
 #shiyi-pixel .nav{margin:15px 28px 10px}
 #shiyi-pixel .footer{padding-left:40px;padding-right:40px}
}
@media(min-width:1000px){
 html{background:#f3f0f7}
 body{padding:28px}
 #shiyi-pixel-stage{display:block;max-width:1400px;margin:0 auto}
 #shiyi-pixel{max-width:none;width:100%;min-height:calc(100svh - 56px);display:grid;grid-template-columns:184px minmax(0,1fr);grid-template-rows:auto minmax(540px,1fr) auto auto auto;border-radius:26px;box-shadow:0 15px 60px #70598810}
 #shiyi-pixel .header{grid-column:1/-1;grid-row:1;padding:24px 32px;background:var(--sp-paper);color:var(--sp-ink);border-bottom:1px solid var(--sp-line);gap:14px}
 #shiyi-pixel .brand-mark{background:var(--sp-lilac)}
 #shiyi-pixel .brand-sub,#shiyi-pixel .private-label{color:var(--sp-sub)}
 #shiyi-pixel .brand-name{font-size:23px;letter-spacing:.7px}
 #shiyi-pixel .brand-sub{font-size:12px}
 #shiyi-pixel .private-label{font-size:12px;letter-spacing:.5px}
 #shiyi-pixel .settings-button{color:var(--sp-purple);background:var(--sp-soft);width:40px;height:40px}
 #shiyi-pixel .nav{grid-column:1;grid-row:2/6;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;border:0;border-right:1px solid var(--sp-line);border-radius:0;margin:0;padding:28px 16px;background:var(--sp-paper);box-shadow:none}
 #shiyi-pixel .nav button{justify-content:flex-start;gap:12px;min-height:49px;padding:12px 18px;border-radius:13px;font-size:14px}
 #shiyi-pixel .nav-mark{width:20px;text-align:center;font-size:20px}
 #shiyi-pixel .content{grid-column:2;grid-row:2;padding:34px 36px 26px;min-width:0}
 #shiyi-pixel #sp-home{padding-top:34px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);column-gap:30px;align-content:start;align-items:start}
 #shiyi-pixel .date-line{margin:0 0 15px;padding:0;background:transparent;color:var(--sp-sub);gap:8px;flex-wrap:wrap;font-size:12px}
 #shiyi-pixel .date-line strong{color:var(--sp-sub)}
 #shiyi-pixel .date-line .live-time{font-size:11px}
 #shiyi-pixel .room{margin:0;border-radius:19px;background:#78618c}
 #shiyi-pixel .room::after{height:30px;background:linear-gradient(0deg,#78618c3a,transparent)}
 #shiyi-pixel .room canvas{aspect-ratio:1.25;object-fit:contain;min-height:300px;background:#78618c}
 #shiyi-pixel .room-label{bottom:17px;right:16px}
 #shiyi-pixel .pose-button{bottom:65px;left:16px;min-height:38px}
 #shiyi-pixel .motion-button{bottom:17px;left:16px;min-height:38px}
 #shiyi-pixel .home-scene::after{content:'留下一点日常，慢慢看见变化。';display:block;font-size:12px;line-height:1.9;color:var(--sp-sub);padding:16px 3px}
 #shiyi-pixel .intro{margin:0 0 23px}
 #shiyi-pixel h2{font-size:27px;line-height:1.6;letter-spacing:.5px}
 #shiyi-pixel .intro p{font-size:13px;margin-top:9px}
 #shiyi-pixel .new-record{min-height:50px;font-size:14px}
 #shiyi-pixel .quick-facts{margin-top:22px;gap:12px}
 #shiyi-pixel .fact{padding:18px 12px;gap:8px}
 #shiyi-pixel .fact-number{font-size:24px}
 #shiyi-pixel .fact .muted{font-size:11px}
 #shiyi-pixel .section-head{margin:30px 0 12px}
 #shiyi-pixel h3{font-size:16px}
 #shiyi-pixel .entry{padding:18px 0;gap:12px;grid-template-columns:47px minmax(0,1fr) 15px}
 #shiyi-pixel .entry .entry-title{font-size:14px}
 #shiyi-pixel .entry .entry-note{font-size:12px;line-height:1.9}
 #shiyi-pixel .status-line{flex-wrap:wrap;font-size:11px;gap:6px}
 #shiyi-pixel .text-button{font-size:12px}
 #shiyi-pixel #sp-chat{width:100%;max-width:900px;justify-self:center;padding:38px 45px 30px}
 #shiyi-pixel .page-heading{margin-bottom:28px;padding-bottom:5px}
 #shiyi-pixel .page-heading p{font-size:14px}
 #shiyi-pixel .message{max-width:86%;margin:24px 0}
 #shiyi-pixel .message.user{margin-left:auto;width:fit-content;max-width:78%;padding:16px 20px}
 #shiyi-pixel .message-text{font-size:15px;line-height:2}
 #shiyi-pixel .suggestions{margin-top:30px}
 #shiyi-pixel .suggestion{font-size:12px;min-height:37px;padding:8px 14px}
 #shiyi-pixel .composer{padding:20px 22px;margin-top:18px}
 #shiyi-pixel textarea{min-height:95px}
 #shiyi-pixel #sp-archive{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:35px;align-content:start}
 #shiyi-pixel .archive-overview .page-heading{margin-bottom:20px}
 #shiyi-pixel .archive-stats{gap:12px;margin:20px 0}
 #shiyi-pixel .archive-stat{padding:17px 13px}
 #shiyi-pixel .archive-stat strong{font-size:32px}
 #shiyi-pixel .archive-history>.section-head{margin-top:0}
 #shiyi-pixel .timeline-filters{margin:17px 0 8px;gap:9px}
 #shiyi-pixel .timeline-filters input{width:145px;font-size:14px}
 #shiyi-pixel .timeline-filters select{font-size:14px;width:100px}
 #shiyi-pixel #sp-detail{grid-column:2;grid-row:3;padding-top:0}
 #shiyi-pixel #sp-detail .detail{max-width:850px;margin:0 auto;padding:25px}
 #shiyi-pixel .notion-panel{grid-column:2;grid-row:4;margin:10px 36px 20px}
 #shiyi-pixel .footer{grid-column:2;grid-row:5;padding:18px 36px;border-top:1px solid var(--sp-line);background:transparent;font-size:11px}
 .sp-dialog{width:min(90vw,620px);padding:28px 32px}
}
@media(min-width:1250px){
 #shiyi-pixel{grid-template-columns:208px minmax(0,1fr)}
 #shiyi-pixel #sp-home{gap:40px;padding:40px 44px}
 #shiyi-pixel .room canvas{min-height:350px;aspect-ratio:1.3}
 #shiyi-pixel h2{font-size:30px}
 #shiyi-pixel .intro{margin-bottom:26px}
 #shiyi-pixel .fact{padding:21px 16px}
}
@media(display-mode:standalone) and (max-width:699px){
 body{padding:0}
 #shiyi-pixel{max-width:none;min-height:100svh;border-radius:0;box-shadow:none}
 #shiyi-pixel .nav{margin-bottom:calc(10px + env(safe-area-inset-bottom))}
}

/* Desktop: one calm vertical reading path with top navigation. */
@media(min-width:1000px){
 body{padding:22px 28px}
 #shiyi-pixel-stage{max-width:1200px}
 #shiyi-pixel{display:flex;flex-direction:column;min-height:calc(100svh - 44px);max-width:none}
 #shiyi-pixel .header{order:0;padding:22px 38px;flex-shrink:0}
 #shiyi-pixel .nav{order:1;display:flex;flex-direction:row;justify-content:center;align-items:center;align-self:center;width:auto;gap:7px;padding:5px;margin:20px 0 0;background:var(--sp-soft);border:0;border-radius:23px;box-shadow:none;flex-shrink:0}
 #shiyi-pixel .nav button{min-width:126px;min-height:43px;justify-content:center;padding:10px 20px;border-radius:19px;font-size:14px;gap:9px}
 #shiyi-pixel .nav button[aria-selected=true]{background:var(--sp-paper);color:var(--sp-purple);box-shadow:0 3px 10px #7059880d}
 #shiyi-pixel .nav-mark{font-size:17px;width:auto}
 #shiyi-pixel .content{order:2;align-self:center;width:100%;max-width:940px;min-width:0;padding:28px 42px 24px}
 #shiyi-pixel #sp-home{display:block;padding:27px 42px 24px;max-width:940px}
 #shiyi-pixel .home-scene{width:100%;margin:0 auto}
 #shiyi-pixel .date-line{padding:0 3px;margin:0 0 13px;flex-wrap:nowrap;font-size:12px}
 #shiyi-pixel .date-line .live-time{font-size:12px}
 #shiyi-pixel .room{width:100%;border-radius:20px;margin:0;background:#78618c}
 #shiyi-pixel .room canvas{display:block;width:100%;height:290px;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:#78618c}
 #shiyi-pixel .room::after{height:25px}
 #shiyi-pixel .room-label{bottom:18px;right:20px}
 #shiyi-pixel .pose-button{bottom:67px;left:20px}
 #shiyi-pixel .motion-button{bottom:18px;left:20px}
 #shiyi-pixel .home-scene::after{display:none}
 #shiyi-pixel .home-dashboard{max-width:760px;width:100%;margin:26px auto 0}
 #shiyi-pixel .intro{text-align:center;margin:0 0 21px}
 #shiyi-pixel .intro h2{font-size:27px;letter-spacing:.5px}
 #shiyi-pixel .intro p{font-size:13px;margin-top:7px}
 #shiyi-pixel .new-record{min-height:50px;max-width:560px;margin:0 auto}
 #shiyi-pixel .quick-facts{margin:23px 0 0;gap:18px}
 #shiyi-pixel .fact{padding:17px 20px;gap:12px}
 #shiyi-pixel .fact-number{font-size:23px}
 #shiyi-pixel .section-head{margin-top:26px}
 #shiyi-pixel .entry{padding:16px 0}
 #shiyi-pixel #sp-chat{order:2;max-width:900px;align-self:center;padding:33px 50px 25px;margin:0 auto}
 #shiyi-pixel #sp-chat .page-heading{text-align:center;margin-bottom:29px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:27px}
 #shiyi-pixel #sp-chat .page-heading p{font-size:13px}
 #shiyi-pixel .message{max-width:88%}
 #shiyi-pixel .composer{margin-top:18px}
 #shiyi-pixel #sp-archive{display:block;max-width:900px;padding:33px 50px 25px}
 #shiyi-pixel .archive-overview .page-heading{text-align:center;margin-bottom:22px}
 #shiyi-pixel .archive-overview .page-heading h2{font-size:27px}
 #shiyi-pixel .archive-stats{max-width:560px;margin:20px auto;gap:20px}
 #shiyi-pixel .archive-overview>#sp-summary-button{display:flex;margin:0 auto}
 #shiyi-pixel .archive-history{margin-top:30px}
 #shiyi-pixel .archive-history>.section-head{margin-top:0}
 #shiyi-pixel .timeline-filters input{width:180px}
 #shiyi-pixel #sp-detail{order:3;max-width:900px;padding:0 50px 25px;align-self:center}
 #shiyi-pixel .notion-panel{order:4;align-self:center;width:calc(100% - 100px);max-width:800px;margin:0 auto 22px}
 #shiyi-pixel .footer{order:5;width:100%;margin-top:auto;padding:14px 38px;font-size:11px}
}

@media(max-width:699px){#shiyi-pixel .private-label{display:none}#shiyi-pixel .header>div:nth-child(2){flex:1}#shiyi-pixel .settings-button{flex-shrink:0}}

/* iPhone/Safari: explicit native-control reset and non-overlapping touch targets. */
#shiyi-pixel button,.sp-dialog button{
 -webkit-appearance:none;appearance:none;box-sizing:border-box;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
#shiyi-pixel .settings-button{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;
 width:44px;height:44px;min-width:44px;min-height:44px;
 padding:0;margin:0 0 0 auto;line-height:1;border:0;border-radius:50%;
 background:#ffffff20;color:#fff7ff;position:relative;align-self:center;
}
#shiyi-pixel .settings-button span{
 display:block;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
 font-size:26px;font-weight:600;letter-spacing:2px;line-height:1;
 transform:translate(1px,-4px);pointer-events:none;
}
#shiyi-pixel .settings-button:hover{background:#ffffff30}
#shiyi-pixel .settings-button:active{background:#ffffff40}
#shiyi-pixel .scene-controls{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
 gap:8px;padding:8px 2px 0;position:relative;z-index:1;
}
#shiyi-pixel .scene-controls .pose-button,
#shiyi-pixel .scene-controls .motion-button{
 position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;max-width:100%;padding:9px 14px;margin:0;
 background:var(--sp-soft);color:var(--sp-purple);border:1px solid transparent;
 border-radius:22px;font-size:12px;line-height:1.5;white-space:normal;
}
#shiyi-pixel .scene-controls button:hover{background:var(--sp-lilac)}
#shiyi-pixel .scene-controls button:active{background:var(--sp-lilac);border-color:var(--sp-line)}
#shiyi-pixel .room-label{
 top:12px;right:14px;bottom:auto;left:auto;max-width:calc(100% - 28px);
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;
}
#shiyi-pixel .quick-facts .fact>span:last-child{min-width:0;flex:1}
#shiyi-pixel .quick-facts .fact{min-height:88px;align-items:center}
#shiyi-pixel .quick-facts .fact .muted{line-height:1.6;word-break:normal;overflow-wrap:normal}
#shiyi-pixel .new-record{gap:12px;line-height:1.6}
#shiyi-pixel .new-record>span{min-width:0;overflow-wrap:anywhere}
#shiyi-pixel .new-record small{flex:0 0 28px}
.sp-dialog .dialog-head>button{
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;
 border-radius:50%;line-height:1;font-family:system-ui,-apple-system,sans-serif;font-size:24px;
}
.sp-dialog .dialog-head h2{min-width:0;margin-bottom:0}
.sp-dialog .actions button{min-height:44px}
@media(max-width:699px){
 #shiyi-pixel .header{
  display:grid;grid-template-columns:42px minmax(0,1fr) 44px;
  column-gap:12px;align-items:center;padding:20px 22px 17px;
  padding-top:calc(20px + env(safe-area-inset-top));
 }
 #shiyi-pixel .header .brand-mark{grid-column:1}
 #shiyi-pixel .header>div:nth-child(2){grid-column:2;min-width:0}
 #shiyi-pixel .header .settings-button{grid-column:3}
 #shiyi-pixel .brand-name{font-size:19px;line-height:1.5;letter-spacing:.7px}
 #shiyi-pixel .brand-sub{font-size:11px;line-height:1.6;margin-top:4px}
 #shiyi-pixel .room::after{height:35px}
 #shiyi-pixel .intro{margin-top:17px}
 #shiyi-pixel .quick-facts{gap:10px}
 #shiyi-pixel .quick-facts .fact{padding:14px 12px;gap:8px}
 #shiyi-pixel .quick-facts .fact .fact-mark{flex:0 0 17px;width:17px;font-size:16px}
 #shiyi-pixel .quick-facts .fact .fact-number{font-size:20px}
 #shiyi-pixel .quick-facts .fact .muted{font-size:11px}
 #shiyi-pixel .nav button{min-height:44px;line-height:1.5}
 #shiyi-pixel .text-button{min-height:44px;display:inline-flex;align-items:center}
 #shiyi-pixel .status-line{align-items:center;gap:10px}
 #shiyi-pixel .date-line{gap:8px;flex-wrap:wrap}
 #shiyi-pixel .date-line strong,#shiyi-pixel .live-time{font-size:11px}
 #shiyi-pixel .composer-actions{gap:12px}
 #shiyi-pixel .composer .button{min-height:44px}
 #shiyi-pixel .scene-controls{justify-content:center;gap:10px;padding-top:4px}
 #shiyi-pixel .scene-controls button{flex:0 1 auto}
}
@media(max-width:360px){
 #shiyi-pixel .header{padding-left:17px;padding-right:17px;column-gap:9px}
 #shiyi-pixel .brand-name{font-size:17px}
 #shiyi-pixel .quick-facts .fact{padding:12px 9px;gap:5px}
 #shiyi-pixel .quick-facts .fact .muted{font-size:10px}
 #shiyi-pixel .scene-controls button{font-size:11px;padding-left:12px;padding-right:12px}
}
@media(min-width:1000px){
 #shiyi-pixel .settings-button{background:var(--sp-soft);color:var(--sp-purple)}
 #shiyi-pixel .settings-button:hover{background:var(--sp-lilac)}
 #shiyi-pixel .room-label{top:15px;right:18px;bottom:auto}
 #shiyi-pixel .scene-controls{padding-top:10px}
}

/* Shared photo previews also apply to dialogs outside the main app. */
.sp-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto;overscroll-behavior:contain}
.sp-dialog [hidden]{display:none!important}
.sp-dialog .two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-dialog label,.sp-dialog input,.sp-dialog select,.sp-dialog textarea{min-width:0}
.sp-dialog input[type=date],.sp-dialog input[type=time]{width:100%;min-width:0;max-width:100%;min-height:44px;-webkit-appearance:none;appearance:none}
.sp-dialog .dialog-head{margin-bottom:10px}
.sp-dialog .dialog-head h2{font-size:19px}
.sp-dialog .actions{margin-top:12px}
.sp-dialog #sp-editor-form>p:first-of-type{font-size:12px;line-height:1.7;margin:8px 0}
.sp-dialog #sp-editor-form label{margin:9px 0;font-size:12px;gap:4px}
.sp-dialog #sp-editor-form textarea{min-height:108px;line-height:1.75}
.sp-dialog #sp-editor-form .two-fields:has(>label[hidden]){display:block}
.photo-gallery{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:10px 0;max-width:100%}
.photo-item{display:inline-flex;position:relative;width:72px;height:72px;flex:0 0 72px}
#shiyi-pixel .photo-thumb,.sp-dialog .photo-thumb{display:block;width:72px;height:72px;min-height:72px;max-width:72px;padding:0;margin:0;border:0;border-radius:12px;overflow:hidden;background:#eee5f5;cursor:zoom-in}
#shiyi-pixel .photo-thumb .photo,.sp-dialog .photo-thumb .photo{display:block;width:72px;height:72px;max-width:72px;max-height:72px;object-fit:cover;margin:0;border:0;border-radius:12px}
#shiyi-pixel .photo-remove{position:absolute;right:-7px;top:-8px;width:28px;height:28px;min-height:28px;display:grid;place-items:center;border:2px solid var(--sp-paper);border-radius:50%;padding:0;background:var(--sp-purple);color:var(--sp-purple-ink);font-size:18px;line-height:1}
#shiyi-pixel .photo-remove::after{content:'';position:absolute;inset:-7px}
#shiyi-pixel .preview{display:block;margin-bottom:8px}
#shiyi-pixel .preview>span{display:inline;font-size:11px}
#shiyi-pixel .preview>button{margin-left:14px}
.photo-viewer{width:min(880px,calc(100vw - 24px));padding:16px}
.photo-viewer #sp-full-photo{display:block;width:100%;max-width:100%;height:auto;max-height:66dvh;object-fit:contain;border-radius:10px;background:#eee8f3}
.photo-viewer .small{margin-bottom:0}
.profile-save-status{position:sticky;top:-1px;z-index:2;background:#f0eaf7;padding:10px 12px;border-radius:12px;font-size:12px!important;line-height:1.6}
.profile-save-status[data-state=error]{background:#fbe8ed;color:#96334f}
#shiyi-pixel .record-modes{display:flex;gap:8px;margin:14px 0 10px}
#shiyi-pixel .record-modes button{padding:8px 16px;min-height:44px;border:0;border-radius:24px;font-size:13px;background:var(--sp-paper);color:var(--sp-sub)}
#shiyi-pixel .record-modes button[aria-pressed=true]{background:var(--sp-lilac);color:var(--sp-ink)}
#shiyi-pixel .entry .entry-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#shiyi-pixel #sp-archive .page-heading{margin-bottom:12px;padding:0}
#shiyi-pixel #sp-archive .page-heading h2{font-size:23px;line-height:1.5;margin-top:4px}
#shiyi-pixel #sp-archive .page-heading p{margin-top:4px}
#shiyi-pixel #sp-archive .archive-stats{margin:12px 0;gap:10px}
#shiyi-pixel #sp-archive .archive-stat{padding:10px 12px;border-radius:15px}
#shiyi-pixel #sp-archive .archive-stat strong{font-size:23px;margin:2px 0;line-height:1.4}
#shiyi-pixel #sp-archive .section-head{margin-top:20px;margin-bottom:8px}
#shiyi-pixel #sp-archive .timeline-filters{margin:0 0 8px;gap:8px}
#shiyi-pixel #sp-archive .entry{padding:12px 0}
#shiyi-pixel #sp-archive .empty{padding:18px 0;min-height:0}
#shiyi-pixel .message-actions{display:flex;align-items:center;gap:14px;margin-top:6px;opacity:.8}
#shiyi-pixel .message-actions button{border:0;background:transparent;color:var(--sp-sub);font-size:11px;min-height:36px;padding:4px 0}
#shiyi-pixel .message-actions span{font-size:10px;color:var(--sp-sub)}
.sp-dialog .checkbox-row{display:flex;align-items:center;gap:10px}
.sp-dialog .checkbox-row input{width:22px;height:22px;min-height:22px;flex:0 0 22px;padding:0}
@media(max-width:699px){
 #shiyi-pixel #sp-archive{padding-top:18px}
 #shiyi-pixel #sp-archive .page-heading .micro{font-size:11px}
 #shiyi-pixel #sp-archive .archive-stat .muted{font-size:10px}
 .sp-dialog{padding:18px;max-height:88dvh;border-radius:22px}
 .sp-dialog #sp-editor-form input,.sp-dialog #sp-editor-form select{padding:8px;font-size:16px}
}

/* v13: readable health diary, writing first, compact home. */
#shiyi-pixel{
 --sp-ink:#3e304b;
 --sp-sub:#675574;
 --sp-purple:#73538f;
 --sp-purple-ink:#fff;
 font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif;
 font-weight:400;line-height:1.75;
}
#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name{
 font-family:ui-rounded,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif;
 font-weight:600;letter-spacing:.2px;
}
#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,#shiyi-pixel .brand-sub,#shiyi-pixel .private-label,
#shiyi-pixel .entry .entry-date{font-family:inherit;letter-spacing:0}
#shiyi-pixel .message-text{font-size:16px;line-height:1.85}
#shiyi-pixel .entry .entry-title{font-size:14px;font-weight:600}
#shiyi-pixel .entry .entry-note{font-size:13px;line-height:1.65}
#shiyi-pixel .micro,#shiyi-pixel .fine,#shiyi-pixel .muted{color:var(--sp-sub)}
#shiyi-pixel .micro{font-size:12px;letter-spacing:0}
#shiyi-pixel .page-heading p{font-size:14px;line-height:1.75}
#shiyi-pixel .speaker{font-size:12px}
#shiyi-pixel .text-button,#shiyi-pixel .ref{font-size:13px;font-weight:500}
#shiyi-pixel .new-record{background:linear-gradient(110deg,#76558f,#806197);color:#fff;font-size:15px;font-weight:600}
#shiyi-pixel .header .brand-mark{border:0;padding:0;width:44px;height:44px;min-height:44px;cursor:pointer}
#shiyi-pixel .brand-mark:hover{box-shadow:0 0 0 3px #ffffff38}
#shiyi-pixel .brand-mark:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#shiyi-pixel .brand-mark canvas,#shiyi-pixel #sp-profile-avatar{width:44px;height:44px}
#shiyi-pixel .brand-sub{color:#f0e6f8;font-size:12px}
#shiyi-pixel .date-line,#shiyi-pixel .date-line strong{color:#f5eefb}
#shiyi-pixel .nav button{font-size:14px;font-weight:500}
#shiyi-pixel .message-actions{opacity:1;gap:18px}
#shiyi-pixel .message-actions button{font-size:12px;min-height:44px;color:var(--sp-sub)}
#shiyi-pixel .message .arrow{opacity:1}
#shiyi-pixel #sp-chat .page-heading{margin:0 0 14px;padding:0;text-align:left}
#shiyi-pixel #sp-chat .page-heading h2{font-size:23px;line-height:1.45;margin-top:3px}
#shiyi-pixel #sp-chat .page-heading p{margin-top:6px}
#shiyi-pixel .chat-entry{min-width:0}
#shiyi-pixel .chat-entry .suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 12px}
#shiyi-pixel .chat-entry .suggestion{min-width:0;min-height:44px;padding:8px 4px;font-size:12px;line-height:1.4;color:var(--sp-purple);font-weight:500;background:var(--sp-lilac);border-radius:14px}
#shiyi-pixel .record-modes{margin:0 0 6px;gap:8px}
#shiyi-pixel .record-modes button{font-size:14px;font-weight:500;min-height:44px}
#shiyi-pixel .mode-hint{font-size:12px;color:var(--sp-sub);line-height:1.7;margin:0 2px 9px}
#shiyi-pixel .composer{margin:0;padding:0;border:1px solid var(--sp-line);border-radius:20px;box-shadow:0 5px 18px #49335506;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
#shiyi-pixel .composer:focus-within{border-color:var(--sp-purple);box-shadow:0 0 0 3px #73538f12}
#shiyi-pixel .composer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:6px 10px 0 16px}
#shiyi-pixel .composer label{font-size:13px;line-height:1.5;color:var(--sp-sub);letter-spacing:0;font-weight:500;min-width:0}
#shiyi-pixel .composer .composer-input textarea{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:104px;max-height:220px;height:104px;resize:none;overflow-y:auto;overscroll-behavior:contain;line-height:1.8;font-size:16px;margin:0;border:0;border-radius:0;padding:8px 16px 16px;background:transparent;outline:none;box-shadow:none;-webkit-appearance:none;appearance:none}
#shiyi-pixel .composer .composer-input textarea:focus,#shiyi-pixel .composer .composer-input textarea:focus-visible{outline:none;box-shadow:none;border:0}
#shiyi-pixel .composer textarea::placeholder{color:var(--sp-sub);opacity:1}
#shiyi-pixel .composer-input{position:relative;min-width:0}
#shiyi-pixel .composer .clear-input{position:static;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;border:0;background:none;padding:0;border-radius:50%;color:var(--sp-sub)}
#shiyi-pixel .clear-input span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--sp-soft);font:20px/1 system-ui,sans-serif;pointer-events:none}
#shiyi-pixel .clear-input:hover span{background:var(--sp-lilac);color:var(--sp-ink)}
#shiyi-pixel .clear-input:disabled{opacity:.5;cursor:wait}
#shiyi-pixel .composer .preview{margin:0 16px 8px}
#shiyi-pixel .composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border-top:1px solid var(--sp-line);padding:10px 12px;margin:0;background:#fcf9fe}
#shiyi-pixel .composer-actions .text-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:15px;padding:8px 12px;min-height:44px;font-size:13px;line-height:1.4;color:var(--sp-purple);background:var(--sp-soft)}
#shiyi-pixel .composer-actions .button{flex:0 0 auto;min-width:88px;min-height:44px;margin:0;border:0;border-radius:15px;font-size:14px;font-weight:600;line-height:1.4;padding:10px 16px}
#shiyi-pixel .quick-help{margin-top:8px;font-size:13px;color:var(--sp-sub)}
#shiyi-pixel .quick-help summary{cursor:pointer;min-height:44px;padding:10px 2px;line-height:24px;color:var(--sp-purple);font-weight:500}
#shiyi-pixel .quick-help dl{display:block;background:var(--sp-paper);border-radius:16px;padding:14px;margin:0;font-size:13px}
#shiyi-pixel .quick-help dt{font-weight:600;color:var(--sp-ink);margin:12px 0 3px}
#shiyi-pixel .quick-help dt:first-child{margin-top:0}
#shiyi-pixel .quick-help dd{margin:0;color:var(--sp-sub);line-height:1.8}
#shiyi-pixel .chat-history{margin-top:18px;background:var(--sp-paper);border:1px solid var(--sp-line);border-radius:18px;overflow:hidden}
#shiyi-pixel .chat-history>summary{display:flex;align-items:center;gap:10px;min-height:58px;padding:13px 16px;list-style:none;cursor:pointer}
#shiyi-pixel .chat-history>summary::-webkit-details-marker{display:none}
#shiyi-pixel .history-title{font-size:14px;font-weight:600;color:var(--sp-ink)}
#shiyi-pixel .history-count{margin-left:auto;font-size:12px;line-height:1.6;color:var(--sp-sub)}
#shiyi-pixel .history-chevron{font-size:18px;color:var(--sp-purple);transition:transform .15s}
#shiyi-pixel .chat-history[open] .history-chevron{transform:rotate(180deg)}
#shiyi-pixel .chat-history[open]>summary{border-bottom:1px solid var(--sp-line)}
#shiyi-pixel .history-scroll{max-height:min(52svh,480px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:12px;padding:0 14px;outline-offset:-3px}
#shiyi-pixel .history-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:6px 16px;border-bottom:1px solid var(--sp-line);font-size:12px;color:var(--sp-sub);background:var(--sp-paper)}
#shiyi-pixel .history-info .text-button{font-size:12px;min-height:36px}
#shiyi-pixel .chat-history .history-scroll{padding:14px;background:var(--sp-bg)}
#shiyi-pixel .chat-history #sp-messages{display:flex;flex-direction:column;gap:14px;min-width:0}
#shiyi-pixel .chat-history .message{align-self:flex-start;width:fit-content;max-width:88%;margin:0;padding:12px 14px;border:1px solid var(--sp-line);border-radius:16px 16px 16px 5px;background:var(--sp-paper);box-shadow:none;min-width:0}
#shiyi-pixel .chat-history .message.user{align-self:flex-end;margin:0;max-width:88%;border-color:transparent;border-radius:16px 16px 5px 16px;background:var(--sp-lilac)}
#shiyi-pixel .chat-history .speaker{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-bottom:7px;font-size:11px;line-height:1.5;letter-spacing:0;color:var(--sp-sub)}
#shiyi-pixel .chat-history .speaker time{margin-left:auto;font-variant-numeric:tabular-nums}
#shiyi-pixel .chat-history .message-text{font-size:14px;line-height:1.8}
#shiyi-pixel .chat-history .message-actions{display:flex;align-items:center;gap:14px;margin-top:7px;border-top:1px solid #73538f12;padding-top:2px}
#shiyi-pixel .chat-history .message-actions button{min-height:36px;font-size:11px;padding:4px 0;line-height:1.5}
#shiyi-pixel .chat-history .refs{margin-top:8px;gap:6px}
#shiyi-pixel .chat-history .ref{font-size:11px;line-height:1.5;padding:6px 8px;min-height:36px;background:#ffffffa0;border:1px solid #73538f12;border-radius:9px}
#shiyi-pixel .chat-empty{padding:22px 8px;text-align:center;color:var(--sp-sub);font-size:13px;line-height:1.9}
#shiyi-pixel .chat-history .message{margin:16px 0}
#shiyi-pixel .chat-history .message.user{padding:12px 14px}
#shiyi-pixel .followup-context{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--sp-mint);border-radius:12px;padding:8px 10px;font-size:12px;margin-bottom:8px}
#shiyi-pixel .followup-context button{border:0;background:transparent;color:var(--sp-purple);font-size:12px;min-height:44px;flex-shrink:0}
.sp-dialog,.sp-dialog input,.sp-dialog select,.sp-dialog textarea,.sp-dialog button{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif}
.sp-dialog{color:#3e304b}
.sp-dialog p,.sp-dialog .small{color:#675574}
.sp-dialog h2,.sp-dialog h3{font-weight:600}
.sp-dialog button.primary{background:#73538f;color:#fff;font-weight:600}
.sp-dialog #sp-editor-form>p:first-of-type,.sp-dialog #sp-editor-form label{font-size:13px}
.sp-dialog #sp-editor-form label{font-weight:500}
#shiyi-pixel .home-dashboard .intro{margin:10px 0 12px}
#shiyi-pixel .home-dashboard .intro h2{font-size:21px;line-height:1.5}
#shiyi-pixel .home-dashboard .intro p{margin-top:3px;font-size:13px}
#shiyi-pixel .home-dashboard .new-record{min-height:46px;padding-top:9px;padding-bottom:9px}
#shiyi-pixel .home-dashboard .quick-facts{margin-top:12px;gap:10px}
#shiyi-pixel .home-dashboard .fact{min-height:72px;padding:12px;gap:8px;border-radius:16px}
#shiyi-pixel .home-dashboard .fact-number{font-family:inherit;font-size:21px;font-weight:600}
#shiyi-pixel .home-dashboard .section-head{margin:14px 0 2px}
#shiyi-pixel .home-dashboard .section-head h3{font-size:15px}
#shiyi-pixel .home-dashboard .entry{padding:10px 0;gap:10px}
#shiyi-pixel .home-dashboard .entry .entry-note{margin-top:3px;font-size:12px}
#shiyi-pixel .home-dashboard .entry .entry-date{font-size:11px}
@media(max-width:699px){
 #shiyi-pixel .header{grid-template-columns:44px minmax(0,1fr) 44px;padding-top:calc(15px + env(safe-area-inset-top));padding-bottom:12px;column-gap:10px}
 #shiyi-pixel .brand-name{font-size:19px}
 #shiyi-pixel .brand-sub{font-size:11px;margin-top:2px}
 #shiyi-pixel .date-line{padding-bottom:9px}
 #shiyi-pixel canvas#sp-room{height:clamp(150px,46vw,184px);aspect-ratio:auto;object-fit:contain;object-position:center;background:#78618c}
 #shiyi-pixel .scene-controls{padding-top:0;gap:8px}
 #shiyi-pixel .scene-controls button{font-size:12px}
 #shiyi-pixel .content{padding-top:18px}
 #shiyi-pixel #sp-home{padding-bottom:10px}
 #shiyi-pixel .home-dashboard .fact .muted{font-size:11px}
 #shiyi-pixel .footer{padding-bottom:12px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:22px}
 #shiyi-pixel .chat-entry .suggestions{gap:5px}
}
@media(max-width:360px){
 #shiyi-pixel .chat-entry .suggestion{font-size:11px}
 #shiyi-pixel .home-dashboard .intro h2{font-size:19px}
 #shiyi-pixel .home-dashboard .fact .muted{font-size:10px}
}
@media(min-width:700px){
 #shiyi-pixel .chat-entry .suggestions{gap:10px}
 #shiyi-pixel .chat-entry .suggestion{font-size:14px}
}
@media(min-width:1000px){
 #shiyi-pixel .header{padding-top:16px;padding-bottom:16px}
 #shiyi-pixel .header .brand-sub,#shiyi-pixel .header .private-label{color:var(--sp-sub)}
 #shiyi-pixel .date-line,#shiyi-pixel .date-line strong{color:var(--sp-sub)}
 #shiyi-pixel .nav{margin-top:12px}
 #shiyi-pixel #sp-home{padding-top:18px;padding-bottom:18px}
 #shiyi-pixel .room canvas{height:226px}
 #shiyi-pixel .home-dashboard{margin-top:10px}
 #shiyi-pixel .home-dashboard .intro{margin:0 0 12px}
 #shiyi-pixel .home-dashboard .intro h2{font-size:24px}
 #shiyi-pixel .home-dashboard .entry{padding:10px 0}
 #shiyi-pixel #sp-chat{padding-top:22px}
 #shiyi-pixel #sp-chat .page-heading{margin-bottom:16px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:25px}
 #shiyi-pixel .chat-history .message,#shiyi-pixel .chat-history .message.user{max-width:78%;margin:0}
}

/* Navigation stays available while history and content scroll independently. */
#shiyi-pixel{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
#shiyi-pixel .nav{position:fixed;top:auto;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 32px);max-width:528px;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;padding:6px;border:1px solid var(--sp-line);border-radius:24px;background:var(--sp-paper);box-shadow:0 5px 28px #45305218}
#shiyi-pixel .nav button{min-width:0;min-height:44px;margin:0;padding:9px 8px;justify-content:center}
@media(max-width:999px){
 #shiyi-pixel .footer{margin-top:10px}
 #shiyi-pixel .chat-history .message,#shiyi-pixel .chat-history .message.user{max-width:92%;margin:0}
}
#sp-toast{bottom:calc(90px + env(safe-area-inset-bottom))}

@media (prefers-color-scheme: dark) {

#shiyi-pixel-stage{display:flex;justify-content:center;padding:20px 0 25px}
#shiyi-pixel{--sp-bg:#211d30;--sp-paper:#2c263c;--sp-ink:#ece7f7;--sp-sub:#b5aac9;--sp-line:#494057;--sp-purple:#cbb8f4;--sp-purple-ink:#2b203e;--sp-lilac:#3a2f4e;--sp-soft:#342c44;--sp-peach:#49362e;--sp-mint:#293d35;--sp-pink:#453040;width:100%;max-width:502px;color:var(--sp-ink);background:var(--sp-bg);font:14px/1.7 'Segoe UI','Microsoft YaHei',sans-serif;border:1px solid var(--sp-line);border-radius:14px;overflow:clip;min-width:0}
#shiyi-pixel *{box-sizing:border-box}#shiyi-pixel [hidden]{display:none!important}#shiyi-pixel button,#shiyi-pixel textarea{font:inherit}#shiyi-pixel button{cursor:pointer;-webkit-tap-highlight-color:transparent}#shiyi-pixel button:focus-visible,#shiyi-pixel textarea:focus-visible{outline:2px solid var(--sp-purple);outline-offset:4px}#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel p{margin:0}#shiyi-pixel .pixel-type{font-family:'Courier New','Microsoft YaHei',monospace}#shiyi-pixel .muted{font-size:12px;color:var(--sp-sub)}#shiyi-pixel .micro{font-size:11px;letter-spacing:1.1px;color:var(--sp-sub)}#shiyi-pixel .header{display:flex;gap:10px;align-items:center;padding:19px 23px 17px;background:var(--sp-paper);border-bottom:1px solid var(--sp-line)}#shiyi-pixel .brand-mark{font-size:25px;color:var(--sp-purple);width:33px;height:33px;background:var(--sp-soft);display:grid;place-items:center;line-height:1}#shiyi-pixel .brand-name{font-weight:650;font-size:18px;letter-spacing:2px}#shiyi-pixel .brand-sub{font-size:10px;letter-spacing:1.4px;color:var(--sp-sub);margin-top:1px}#shiyi-pixel .private-label{margin-left:auto;text-align:right;font-size:10px;letter-spacing:1px;color:var(--sp-sub)}#shiyi-pixel .content{padding:22px 23px 20px}#shiyi-pixel .date-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;font-size:11px;color:var(--sp-sub)}#shiyi-pixel .date-line strong{font-weight:500;color:var(--sp-ink)}#shiyi-pixel .room{position:relative;border:1px solid #85739d;background:#665280;overflow:clip;box-shadow:0 3px 0 #b5a2c7}#shiyi-pixel .room-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;background:#e2d7ee;color:#615270;font:11px 'Courier New',monospace;border-bottom:1px solid #85739d}#shiyi-pixel .room-bar span:last-child{letter-spacing:3px}#shiyi-pixel canvas{display:block;image-rendering:pixelated;width:100%;aspect-ratio:16/9;background:#5b4775}#shiyi-pixel .room-label{position:absolute;left:16px;bottom:16px;padding:5px 9px;background:#302743dd;color:#f1eafa;font-size:11px;letter-spacing:1px;border:1px solid #a78cb9}#shiyi-pixel .intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 19px}#shiyi-pixel h2{font-size:23px;font-weight:600;letter-spacing:.3px;line-height:1.6}#shiyi-pixel .intro p{font-size:12px;color:var(--sp-sub);margin-top:7px}#shiyi-pixel .stamp{color:var(--sp-purple);font:11px/1.5 'Courier New',monospace;text-align:center;letter-spacing:1px;flex-shrink:0;opacity:.8}#shiyi-pixel .stamp strong{display:block;font-size:30px;font-weight:400;letter-spacing:-2px}
#shiyi-pixel .new-record{background:var(--sp-purple);color:var(--sp-purple-ink);border:0;border-bottom:3px solid #9d83c9;border-radius:5px;padding:11px 16px;min-height:49px;width:100%;display:flex;justify-content:space-between;align-items:center;font-weight:550;font-size:13px;letter-spacing:.3px}#shiyi-pixel .new-record:active{transform:translateY(1px)}#shiyi-pixel .new-record small{font:11px 'Courier New',monospace;opacity:.8}#shiyi-pixel .quick-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#shiyi-pixel .fact{display:flex;gap:9px;align-items:center;border:1px solid var(--sp-line);background:var(--sp-paper);padding:12px;border-radius:5px;color:var(--sp-ink);text-align:left;min-width:0}#shiyi-pixel .fact .fact-mark{background:var(--sp-mint);color:var(--sp-purple);width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;font-family:monospace;font-size:17px}#shiyi-pixel .fact:last-child .fact-mark{background:var(--sp-peach)}#shiyi-pixel .fact-number{font-size:17px;font-weight:600;line-height:1.4}#shiyi-pixel .fact-number small{font-size:11px;font-weight:400;margin-left:3px}#shiyi-pixel .fact .muted{font-size:10px;line-height:1.4}#shiyi-pixel .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 7px}#shiyi-pixel h3{font-size:14px;font-weight:600;letter-spacing:.2px}#shiyi-pixel .text-button{border:0;background:none;color:var(--sp-purple);font-size:11px;padding:6px 0;min-height:32px}#shiyi-pixel .entry{width:100%;display:grid;grid-template-columns:39px minmax(0,1fr) 12px;gap:10px;align-items:start;background:none;border:0;border-bottom:1px solid var(--sp-line);padding:14px 0;text-align:left;color:var(--sp-ink)}#shiyi-pixel .entry .entry-date{font:11px/1.8 'Courier New',monospace;color:var(--sp-sub)}#shiyi-pixel .entry .entry-title{font-size:12px;font-weight:550}#shiyi-pixel .entry .entry-note{display:block;font-size:11px;color:var(--sp-sub);margin-top:3px;overflow-wrap:anywhere}#shiyi-pixel .entry .arrow{font-size:13px;color:var(--sp-purple)}#shiyi-pixel .status-line{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-top:13px;color:var(--sp-sub);font-size:10px}#shiyi-pixel .status-line .text-button{font-size:10px}#shiyi-pixel .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--sp-line);background:var(--sp-paper);padding:8px 14px;gap:9px}#shiyi-pixel .nav button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:44px;background:none;border:0;color:var(--sp-sub);font-size:12px;padding:8px 7px;border-radius:4px}#shiyi-pixel .nav button[aria-selected=true]{background:var(--sp-soft);color:var(--sp-purple);font-weight:600}#shiyi-pixel .nav-mark{font:17px 'Courier New',monospace;line-height:1}#shiyi-pixel .page-heading{padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--sp-line)}#shiyi-pixel .page-heading h2{margin-top:8px}#shiyi-pixel .page-heading p{font-size:12px;color:var(--sp-sub);margin-top:8px}#shiyi-pixel .message{margin:17px 0}#shiyi-pixel .speaker{font:10px 'Courier New','Microsoft YaHei',monospace;letter-spacing:.7px;color:var(--sp-sub);margin-bottom:6px}#shiyi-pixel .message-text{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}#shiyi-pixel .message.user{margin-left:23px;padding:12px 14px;background:var(--sp-lilac);border:1px solid var(--sp-line);border-radius:5px}#shiyi-pixel .draft{padding:14px;margin-top:12px;border:1px solid var(--sp-line);background:var(--sp-paper);border-radius:5px;box-shadow:3px 3px 0 var(--sp-lilac)}#shiyi-pixel .draft-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;font-weight:550}#shiyi-pixel .chip{background:var(--sp-soft);padding:2px 7px;color:var(--sp-purple);font-size:10px;font-weight:400}#shiyi-pixel dl{display:grid;grid-template-columns:52px minmax(0,1fr);font-size:12px;gap:8px;margin:12px 0 15px}#shiyi-pixel dt{color:var(--sp-sub)}#shiyi-pixel dd{margin:0;overflow-wrap:anywhere}#shiyi-pixel .button{display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--sp-line);background:var(--sp-paper);color:var(--sp-ink);border-radius:4px;padding:8px 12px;min-height:40px;font-size:12px}#shiyi-pixel .button.primary{background:var(--sp-purple);border-color:var(--sp-purple);color:var(--sp-purple-ink)}#shiyi-pixel .row{display:flex;gap:8px;flex-wrap:wrap}#shiyi-pixel .suggestions{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 12px}#shiyi-pixel .suggestion{padding:7px 9px;min-height:34px;background:var(--sp-paper);border:1px solid var(--sp-line);color:var(--sp-sub);border-radius:3px;font-size:11px}#shiyi-pixel .suggestion:hover{background:var(--sp-lilac);color:var(--sp-purple)}#shiyi-pixel .composer{padding:13px;border:1px solid var(--sp-line);border-radius:5px;background:var(--sp-paper)}#shiyi-pixel .composer label{font-size:11px;color:var(--sp-sub)}#shiyi-pixel textarea{width:100%;min-height:72px;resize:vertical;font-size:16px;background:none;color:var(--sp-ink);border:0;display:block;padding:9px 0}#shiyi-pixel textarea::placeholder{color:var(--sp-sub)}#shiyi-pixel .composer-actions{display:flex;justify-content:space-between;gap:10px;align-items:center}#shiyi-pixel .composer .button{min-width:74px}#shiyi-pixel .fine{font-size:11px;color:var(--sp-sub);margin-top:12px}#shiyi-pixel .refs{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}#shiyi-pixel .ref{font-size:11px;border:0;border-bottom:1px solid var(--sp-line);padding:4px 0;background:none;color:var(--sp-purple);min-height:30px}#shiyi-pixel .photo{max-width:100%;max-height:200px;object-fit:contain;display:block;margin:9px 0;border-radius:3px}#shiyi-pixel .preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}#shiyi-pixel .preview .photo{width:48px;height:48px;object-fit:cover;margin:0}#shiyi-pixel .preview span{font-size:11px;color:var(--sp-sub)}#shiyi-pixel .archive-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}#shiyi-pixel .archive-stat{border-left:2px solid var(--sp-purple);padding:1px 0 1px 13px}#shiyi-pixel .archive-stat strong{font:32px 'Courier New',monospace;display:block;margin:6px 0;color:var(--sp-ink)}#shiyi-pixel .summary-box{border:1px solid var(--sp-line);padding:16px;background:var(--sp-paper);margin:18px 0;border-radius:4px;font-size:13px}#shiyi-pixel .summary-box p{margin-top:10px}#shiyi-pixel .detail{margin-top:20px;padding:16px;background:var(--sp-paper);border:1px solid var(--sp-line);border-radius:4px}#shiyi-pixel .detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#shiyi-pixel .quote{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid var(--sp-lilac);padding-left:10px;margin-top:12px}#shiyi-pixel .notion-panel{padding:17px 23px;background:var(--sp-soft);border-top:1px solid var(--sp-line);font-size:12px}#shiyi-pixel .notion-panel p{margin-top:7px;color:var(--sp-sub);font-size:11px}#shiyi-pixel .footer{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 23px;background:var(--sp-paper);border-top:1px solid var(--sp-line);font-size:10px;color:var(--sp-sub)}#shiyi-pixel .footer .text-button{font-size:10px}
@media(max-width:375px){#shiyi-pixel .content{padding:18px 17px}#shiyi-pixel .header{padding:17px}#shiyi-pixel .private-label{font-size:9px}#shiyi-pixel .brand-sub{font-size:9px}#shiyi-pixel .quick-facts{gap:8px}#shiyi-pixel .fact{padding:10px 8px;gap:6px}#shiyi-pixel .fact .fact-mark{width:24px;height:28px;font-size:14px}#shiyi-pixel .fact-number{font-size:16px}#shiyi-pixel h2{font-size:21px}#shiyi-pixel .stamp strong{font-size:25px}#shiyi-pixel .new-record small{font-size:10px}#shiyi-pixel .nav{gap:4px;padding-left:10px;padding-right:10px}#shiyi-pixel .nav button{gap:4px}#shiyi-pixel .footer{padding-left:17px;padding-right:17px}}
@media(pointer:coarse){#shiyi-pixel button{min-height:44px}}
/* A soft page around a crisp pixel illustration. */
#shiyi-pixel{--sp-bg:#252032;--sp-paper:#30293e;--sp-ink:#eee6f5;--sp-sub:#b9aaca;--sp-line:#44394f;--sp-purple:#d1bcec;--sp-purple-ink:#30213f;--sp-lilac:#40314f;--sp-soft:#382e46;--sp-mint:#303f39;--sp-peach:#47392f;border:0;border-radius:28px;box-shadow:0 12px 45px #00000020}
#shiyi-pixel button{transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
#shiyi-pixel .header{background:#78618c;border:0;padding:24px 26px 17px;gap:11px;color:#fbf4ff}
#shiyi-pixel .brand-mark{border-radius:14px;background:#ffffff16;color:#eee0fb;width:36px;height:36px;font-size:23px}
#shiyi-pixel .brand-mark{width:42px;height:42px;border-radius:16px;overflow:hidden;flex-shrink:0}
#shiyi-pixel .brand-mark canvas{width:42px;height:42px;aspect-ratio:1;background:none}
#shiyi-pixel .brand-name{font-size:17px;letter-spacing:1.5px;font-weight:550}
#shiyi-pixel .brand-sub{font:11px 'Segoe UI','Microsoft YaHei',sans-serif;letter-spacing:.3px;color:#e1d2ed;margin-top:5px}
#shiyi-pixel .private-label{color:#e1d2ed;font-size:10px;letter-spacing:1.2px}
#shiyi-pixel .content{padding:27px 26px 20px}
#shiyi-pixel #sp-home{padding-top:0}
#shiyi-pixel .date-line{margin:0 -26px;padding:4px 26px 13px;background:#78618c;color:#e6daef;font-size:11px}
#shiyi-pixel .date-line strong{color:#f7eefc}
#shiyi-pixel .date-line .pixel-type{letter-spacing:.5px;font-size:10px}
#shiyi-pixel .room{margin:0 -26px;border:0;border-radius:0;background:none;box-shadow:none}
#shiyi-pixel .room-bar{display:none}
#shiyi-pixel .room::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:55px;background:linear-gradient(0deg,var(--sp-bg) 3%,transparent);pointer-events:none}
#shiyi-pixel .room-label{left:auto;right:22px;bottom:42px;padding:6px 11px;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;font:11px 'Microsoft YaHei',sans-serif;letter-spacing:.3px}
#shiyi-pixel .motion-button{position:absolute;left:20px;bottom:42px;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;padding:6px 11px;font-size:11px;min-height:32px;z-index:1}
#shiyi-pixel .live-time{font-variant-numeric:tabular-nums;white-space:nowrap}
#shiyi-pixel{font-family:'YouYuan','Microsoft YaHei UI','Microsoft YaHei',sans-serif;font-weight:400}
#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name{font-family:'YouYuan','Microsoft YaHei UI',sans-serif;font-weight:400}
#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,#shiyi-pixel .brand-sub,#shiyi-pixel .private-label{font-family:'YouYuan','Microsoft YaHei UI',sans-serif;letter-spacing:.3px}
#shiyi-pixel .pose-button{position:absolute;left:20px;bottom:79px;z-index:1;border:0;border-radius:20px;background:#3d2f4f9c;color:#f4eafa;padding:6px 11px;font-size:11px;min-height:32px}
#shiyi-pixel .intro{margin:11px 0 22px;display:block}
#shiyi-pixel h2{font-size:23px;font-weight:500;letter-spacing:.5px;line-height:1.65}
#shiyi-pixel .intro p{font-size:12px;margin-top:8px;color:var(--sp-sub)}
#shiyi-pixel .stamp{display:none}
#shiyi-pixel .new-record{border:0;border-radius:25px;background:linear-gradient(110deg,#bca0dc,#d4bce8);color:#332041;padding:11px 15px 11px 20px;min-height:50px;font-size:13px;font-weight:500;box-shadow:0 6px 16px #00000016}
#shiyi-pixel .new-record small{font:18px 'Segoe UI',sans-serif;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff30;opacity:1}
#shiyi-pixel .new-record:hover{transform:translateY(-1px);box-shadow:0 8px 21px #00000028}
#shiyi-pixel .new-record:active{transform:translateY(0)}
#shiyi-pixel .quick-facts{gap:13px;margin-top:20px}
#shiyi-pixel .fact{border:0;border-radius:18px;padding:16px 13px;gap:9px;background:var(--sp-mint)}
#shiyi-pixel .fact:last-child{background:var(--sp-peach)}
#shiyi-pixel .fact .fact-mark,#shiyi-pixel .fact:last-child .fact-mark{background:transparent;width:21px;height:30px;color:var(--sp-sub);font-size:18px}
#shiyi-pixel .fact-number{font-size:20px;font-weight:500}
#shiyi-pixel .fact .muted{font-size:10px;margin-top:3px;line-height:1.5}
#shiyi-pixel .section-head{margin:27px 0 8px}
#shiyi-pixel h3{font-size:14px;font-weight:500;letter-spacing:.3px}
#shiyi-pixel .entry{border:0;padding:16px 0;gap:12px}
#shiyi-pixel .entry+.entry{border-top:1px solid color-mix(in srgb,var(--sp-line) 65%,transparent)}
#shiyi-pixel .entry .entry-date{background:var(--sp-soft);border-radius:10px;padding:4px 0;text-align:center;font-size:10px;line-height:1.8}
#shiyi-pixel .entry .entry-title{font-size:13px;font-weight:500}
#shiyi-pixel .entry .entry-note{font-size:11px;margin-top:5px;line-height:1.75}
#shiyi-pixel .entry .arrow{opacity:.55;font-size:12px;padding-top:3px}
#shiyi-pixel .status-line{margin-top:6px;font-size:10px}
#shiyi-pixel .nav{margin:5px 18px 10px;padding:7px;background:var(--sp-paper);border:0;border-radius:27px;gap:6px;box-shadow:0 4px 20px #0000001a}
#shiyi-pixel .nav button{border-radius:22px;font-size:12px;gap:7px;min-height:43px}
#shiyi-pixel .nav button[aria-selected=true]{font-weight:500;background:var(--sp-lilac)}
#shiyi-pixel .nav-mark{font-size:16px;opacity:.8}
#shiyi-pixel .footer{background:transparent;border:0;padding:2px 27px 14px;font-size:10px}
#shiyi-pixel .footer .text-button{color:var(--sp-sub)}
#shiyi-pixel .page-heading{border:0;padding-bottom:7px;margin-bottom:22px}
#shiyi-pixel .page-heading p{line-height:1.9}
#shiyi-pixel .micro{font-size:10px;letter-spacing:1.2px}
#shiyi-pixel .message{margin:21px 0}
#shiyi-pixel .speaker{font-size:10px;letter-spacing:.4px;margin-bottom:9px}
#shiyi-pixel .message-text{line-height:1.95}
#shiyi-pixel .message.user{border:0;border-radius:20px 20px 5px 20px;padding:15px 17px;background:var(--sp-lilac);margin-left:24px}
#shiyi-pixel .draft{border:0;border-radius:19px;padding:18px;background:var(--sp-paper);box-shadow:0 5px 22px #00000018;margin-top:17px}
#shiyi-pixel .draft-title{font-weight:500}
#shiyi-pixel .chip{border-radius:12px;padding:3px 9px;font-size:10px}
#shiyi-pixel dl{gap:10px;margin:16px 0 18px;line-height:1.9}
#shiyi-pixel .button{border-radius:20px;padding:8px 15px;font-weight:400;border-color:var(--sp-line);min-height:40px}
#shiyi-pixel .button.primary{background:var(--sp-purple);border-color:var(--sp-purple)}
#shiyi-pixel .suggestions{gap:7px;margin:22px 0 15px}
#shiyi-pixel .suggestion{border-radius:18px;padding:7px 11px;border:0;background:var(--sp-soft);font-size:11px;min-height:34px}
#shiyi-pixel .composer{border:0;border-radius:23px;padding:17px;background:var(--sp-paper);box-shadow:0 5px 22px #0000001c}
#shiyi-pixel textarea{min-height:82px;font-size:16px;line-height:1.8}
#shiyi-pixel .composer label{letter-spacing:.2px;font-size:11px}
#shiyi-pixel .composer .button{min-width:80px}
#shiyi-pixel .ref{border:0;border-radius:12px;background:var(--sp-soft);padding:4px 9px}
#shiyi-pixel .photo{border-radius:14px}
#shiyi-pixel .archive-stats{gap:14px;margin-bottom:26px}
#shiyi-pixel .archive-stat{border:0;padding:16px 14px;background:var(--sp-soft);border-radius:19px}
#shiyi-pixel .archive-stat strong{font:29px 'Segoe UI',sans-serif;font-weight:400;margin:8px 0}
#shiyi-pixel .archive-stat .muted{font-size:11px}
#shiyi-pixel .summary-box,#shiyi-pixel .detail{border:0;border-radius:19px;padding:19px;box-shadow:0 4px 20px #00000018}
#shiyi-pixel .quote{border-left:2px solid var(--sp-lilac);padding-left:13px;line-height:1.9}
#shiyi-pixel .notion-panel{border:0;border-radius:20px;margin:7px 18px 12px;padding:18px}
#shiyi-pixel .notion-panel p{line-height:1.9}
@media(max-width:375px){#shiyi-pixel{border-radius:22px}#shiyi-pixel .header{padding:21px 19px 17px}#shiyi-pixel .content{padding:24px 19px 18px}#shiyi-pixel #sp-home{padding-top:0}#shiyi-pixel .date-line{margin-left:-19px;margin-right:-19px;padding-left:19px;padding-right:19px}#shiyi-pixel .room{margin-left:-19px;margin-right:-19px}#shiyi-pixel .brand-name{font-size:16px}#shiyi-pixel .brand-sub{font-size:10px}#shiyi-pixel .private-label{font-size:9px}#shiyi-pixel .intro{margin-top:13px;margin-bottom:20px}#shiyi-pixel h2{font-size:21px}#shiyi-pixel .quick-facts{gap:10px}#shiyi-pixel .fact{padding:14px 9px;gap:5px;border-radius:16px}#shiyi-pixel .fact .fact-mark{width:19px;font-size:16px}#shiyi-pixel .fact-number{font-size:18px}#shiyi-pixel .fact .muted{font-size:10px}#shiyi-pixel .room-label{right:18px;font-size:10px;bottom:36px}#shiyi-pixel .nav{margin-left:13px;margin-right:13px;padding:6px;gap:3px}#shiyi-pixel .nav button{gap:5px;padding-left:4px;padding-right:4px}#shiyi-pixel .footer{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){#shiyi-pixel button{transition:none!important}}

html{color-scheme:light dark;background:#191522;min-height:100%;-webkit-text-size-adjust:100%}body{margin:0;padding:18px 12px calc(22px + env(safe-area-inset-bottom));font-family:'YouYuan','Microsoft YaHei UI',sans-serif}button,input,select,textarea{font:inherit}button{touch-action:manipulation}#shiyi-pixel-stage{padding:0}#shiyi-pixel{max-width:560px;width:100%;font-size:15px}#shiyi-pixel .header{padding-top:calc(24px + env(safe-area-inset-top))}#shiyi-pixel button{min-height:40px}#shiyi-pixel .settings-button{border:0;background:#ffffff14;color:#f7eefc;width:36px;height:36px;border-radius:50%;font-size:20px;margin-left:6px}#shiyi-pixel .entry .entry-title{font-size:14px}#shiyi-pixel .entry .entry-note{font-size:12px}#shiyi-pixel .muted,#shiyi-pixel .fine{font-size:12px}#shiyi-pixel .speaker{font:12px 'YouYuan','Microsoft YaHei UI',sans-serif}#shiyi-pixel .message-text{font-size:15px}#shiyi-pixel textarea{font-size:16px}#shiyi-pixel .preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}#shiyi-pixel .empty{padding:24px 0;color:var(--sp-sub);font-size:13px;line-height:1.9}#shiyi-pixel .synctag{font-size:11px;color:var(--sp-sub);font-weight:400;margin-left:8px}#shiyi-pixel .timeline-filters{display:flex;gap:9px;margin:20px 0;flex-wrap:wrap}#shiyi-pixel input,#shiyi-pixel select{min-height:43px;border:1px solid var(--sp-line);border-radius:12px;padding:9px 11px;background:var(--sp-paper);color:var(--sp-ink);font-size:16px;min-width:0;max-width:100%}#shiyi-pixel .timeline-filters input{width:145px}#shiyi-pixel .timeline-filters select{flex:1}#shiyi-pixel .section-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.sp-dialog{box-sizing:border-box;border:0;border-radius:24px;background:#2c2439;color:#eee5f5;width:min(94vw,540px);max-height:88dvh;padding:24px;font:15px/1.85 'YouYuan','Microsoft YaHei UI',sans-serif;box-shadow:0 15px 70px #24172f40}.sp-dialog::backdrop{background:#21162e70;backdrop-filter:blur(5px)}.sp-dialog h2{font-size:21px;font-weight:400;margin:0 0 12px}.sp-dialog h3{font-size:16px;font-weight:400;margin:24px 0 10px}.sp-dialog p{font-size:13px;color:#bfb0ce}.sp-dialog label{display:grid;gap:6px;margin:12px 0;font-size:13px}.sp-dialog input,.sp-dialog select,.sp-dialog textarea{box-sizing:border-box;max-width:100%;width:100%;border:1px solid #4d405a;border-radius:12px;background:#33283e;color:inherit;min-height:43px;padding:10px 12px;font:16px/1.7 'YouYuan','Microsoft YaHei UI',sans-serif}.sp-dialog textarea{min-height:90px;resize:vertical}.sp-dialog button{border:0;border-radius:22px;min-height:42px;padding:9px 17px;background:#483456;color:inherit;font:14px 'YouYuan','Microsoft YaHei UI',sans-serif;cursor:pointer}.sp-dialog button.primary{background:#cfb6ed;color:#30213f}.sp-dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sp-dialog .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sp-dialog .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.sp-dialog .small{font-size:12px;color:#bdaaca}.sp-dialog .error{color:#f2a4c0}#sp-toast{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(90vw,460px);box-sizing:border-box;background:#e9ddf4;color:#342740;border-radius:20px;padding:12px 18px;box-shadow:0 8px 30px #27193226;font:14px/1.8 'YouYuan','Microsoft YaHei UI',sans-serif;z-index:10}#sp-toast:empty{display:none}#shiyi-pixel .fact .muted{font-size:11px}#shiyi-pixel .quick-facts .fact-number{font-variant-numeric:tabular-nums}#shiyi-pixel .notion-panel .danger{color:#f2acc3}@media(max-width:380px){body{padding:0}#shiyi-pixel{border-radius:0;box-shadow:none}#shiyi-pixel .private-label{display:none}.sp-dialog{padding:19px}.sp-dialog .two-fields{gap:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Rounded native UI on iPhone; soft Chinese fallback on Windows. */
#shiyi-pixel,#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name,#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,.sp-dialog,.sp-dialog button,.sp-dialog input,.sp-dialog select,.sp-dialog textarea{font-family:ui-rounded,'YouYuan',-apple-system,BlinkMacSystemFont,'Microsoft YaHei UI',sans-serif}#shiyi-pixel .brand-name{font-size:19px}#shiyi-pixel .brand-sub{font-family:ui-rounded,'YouYuan',-apple-system,sans-serif}#shiyi-pixel .date-line{letter-spacing:.2px}#shiyi-pixel .page-heading .micro{letter-spacing:.3px}#shiyi-pixel .entry .entry-date{font-family:ui-rounded,'YouYuan',sans-serif}

#shiyi-pixel .pose-button{bottom:94px;min-height:40px}#shiyi-pixel .motion-button{bottom:44px;min-height:40px}#shiyi-pixel .room-label{pointer-events:none}

/* Mobile first, with a real tablet/desktop layout rather than a phone-sized frame. */
#shiyi-pixel .home-scene,#shiyi-pixel .home-dashboard,#shiyi-pixel .archive-overview,#shiyi-pixel .archive-history{min-width:0}
#shiyi-pixel #sp-profile-avatar{display:block;width:42px;height:42px;object-fit:cover;border-radius:15px}
#shiyi-pixel #sp-profile-avatar[hidden]{display:none!important}
#shiyi-pixel .brand-mark.has-photo canvas{display:none}
#shiyi-pixel .brand-name{overflow-wrap:anywhere;line-height:1.5}
#shiyi-pixel .header>div:nth-child(2){min-width:0}
.sp-dialog input[type=file]{font-size:13px;padding:7px 8px}
@media(min-width:700px) and (max-width:999px){
 body{padding:25px 22px}
 #shiyi-pixel{max-width:860px}
 #shiyi-pixel .header{padding:25px 32px}
 #shiyi-pixel .content{padding:28px 32px}
 #shiyi-pixel #sp-home{padding-top:0}
 #shiyi-pixel .date-line{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
 #shiyi-pixel .room{margin-left:-32px;margin-right:-32px}
 #shiyi-pixel canvas#sp-room{max-height:370px;object-fit:cover;object-position:center}
 #shiyi-pixel .quick-facts{gap:20px}
 #shiyi-pixel .home-dashboard{max-width:680px;margin:auto}
 #shiyi-pixel .nav{margin:15px 28px 10px}
 #shiyi-pixel .footer{padding-left:40px;padding-right:40px}
}
@media(min-width:1000px){
 html{background:#191522}
 body{padding:28px}
 #shiyi-pixel-stage{display:block;max-width:1400px;margin:0 auto}
 #shiyi-pixel{max-width:none;width:100%;min-height:calc(100svh - 56px);display:grid;grid-template-columns:184px minmax(0,1fr);grid-template-rows:auto minmax(540px,1fr) auto auto auto;border-radius:26px;box-shadow:0 15px 60px #00000024}
 #shiyi-pixel .header{grid-column:1/-1;grid-row:1;padding:24px 32px;background:var(--sp-paper);color:var(--sp-ink);border-bottom:1px solid var(--sp-line);gap:14px}
 #shiyi-pixel .brand-mark{background:var(--sp-lilac)}
 #shiyi-pixel .brand-sub,#shiyi-pixel .private-label{color:var(--sp-sub)}
 #shiyi-pixel .brand-name{font-size:23px;letter-spacing:.7px}
 #shiyi-pixel .brand-sub{font-size:12px}
 #shiyi-pixel .private-label{font-size:12px;letter-spacing:.5px}
 #shiyi-pixel .settings-button{color:var(--sp-purple);background:var(--sp-soft);width:40px;height:40px}
 #shiyi-pixel .nav{grid-column:1;grid-row:2/6;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;border:0;border-right:1px solid var(--sp-line);border-radius:0;margin:0;padding:28px 16px;background:var(--sp-paper);box-shadow:none}
 #shiyi-pixel .nav button{justify-content:flex-start;gap:12px;min-height:49px;padding:12px 18px;border-radius:13px;font-size:14px}
 #shiyi-pixel .nav-mark{width:20px;text-align:center;font-size:20px}
 #shiyi-pixel .content{grid-column:2;grid-row:2;padding:34px 36px 26px;min-width:0}
 #shiyi-pixel #sp-home{padding-top:34px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);column-gap:30px;align-content:start;align-items:start}
 #shiyi-pixel .date-line{margin:0 0 15px;padding:0;background:transparent;color:var(--sp-sub);gap:8px;flex-wrap:wrap;font-size:12px}
 #shiyi-pixel .date-line strong{color:var(--sp-sub)}
 #shiyi-pixel .date-line .live-time{font-size:11px}
 #shiyi-pixel .room{margin:0;border-radius:19px;background:#78618c}
 #shiyi-pixel .room::after{height:30px;background:linear-gradient(0deg,#78618c3a,transparent)}
 #shiyi-pixel .room canvas{aspect-ratio:1.25;object-fit:contain;min-height:300px;background:#78618c}
 #shiyi-pixel .room-label{bottom:17px;right:16px}
 #shiyi-pixel .pose-button{bottom:65px;left:16px;min-height:38px}
 #shiyi-pixel .motion-button{bottom:17px;left:16px;min-height:38px}
 #shiyi-pixel .home-scene::after{content:'留下一点日常，慢慢看见变化。';display:block;font-size:12px;line-height:1.9;color:var(--sp-sub);padding:16px 3px}
 #shiyi-pixel .intro{margin:0 0 23px}
 #shiyi-pixel h2{font-size:27px;line-height:1.6;letter-spacing:.5px}
 #shiyi-pixel .intro p{font-size:13px;margin-top:9px}
 #shiyi-pixel .new-record{min-height:50px;font-size:14px}
 #shiyi-pixel .quick-facts{margin-top:22px;gap:12px}
 #shiyi-pixel .fact{padding:18px 12px;gap:8px}
 #shiyi-pixel .fact-number{font-size:24px}
 #shiyi-pixel .fact .muted{font-size:11px}
 #shiyi-pixel .section-head{margin:30px 0 12px}
 #shiyi-pixel h3{font-size:16px}
 #shiyi-pixel .entry{padding:18px 0;gap:12px;grid-template-columns:47px minmax(0,1fr) 15px}
 #shiyi-pixel .entry .entry-title{font-size:14px}
 #shiyi-pixel .entry .entry-note{font-size:12px;line-height:1.9}
 #shiyi-pixel .status-line{flex-wrap:wrap;font-size:11px;gap:6px}
 #shiyi-pixel .text-button{font-size:12px}
 #shiyi-pixel #sp-chat{width:100%;max-width:900px;justify-self:center;padding:38px 45px 30px}
 #shiyi-pixel .page-heading{margin-bottom:28px;padding-bottom:5px}
 #shiyi-pixel .page-heading p{font-size:14px}
 #shiyi-pixel .message{max-width:86%;margin:24px 0}
 #shiyi-pixel .message.user{margin-left:auto;width:fit-content;max-width:78%;padding:16px 20px}
 #shiyi-pixel .message-text{font-size:15px;line-height:2}
 #shiyi-pixel .suggestions{margin-top:30px}
 #shiyi-pixel .suggestion{font-size:12px;min-height:37px;padding:8px 14px}
 #shiyi-pixel .composer{padding:20px 22px;margin-top:18px}
 #shiyi-pixel textarea{min-height:95px}
 #shiyi-pixel #sp-archive{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:35px;align-content:start}
 #shiyi-pixel .archive-overview .page-heading{margin-bottom:20px}
 #shiyi-pixel .archive-stats{gap:12px;margin:20px 0}
 #shiyi-pixel .archive-stat{padding:17px 13px}
 #shiyi-pixel .archive-stat strong{font-size:32px}
 #shiyi-pixel .archive-history>.section-head{margin-top:0}
 #shiyi-pixel .timeline-filters{margin:17px 0 8px;gap:9px}
 #shiyi-pixel .timeline-filters input{width:145px;font-size:14px}
 #shiyi-pixel .timeline-filters select{font-size:14px;width:100px}
 #shiyi-pixel #sp-detail{grid-column:2;grid-row:3;padding-top:0}
 #shiyi-pixel #sp-detail .detail{max-width:850px;margin:0 auto;padding:25px}
 #shiyi-pixel .notion-panel{grid-column:2;grid-row:4;margin:10px 36px 20px}
 #shiyi-pixel .footer{grid-column:2;grid-row:5;padding:18px 36px;border-top:1px solid var(--sp-line);background:transparent;font-size:11px}
 .sp-dialog{width:min(90vw,620px);padding:28px 32px}
}
@media(min-width:1250px){
 #shiyi-pixel{grid-template-columns:208px minmax(0,1fr)}
 #shiyi-pixel #sp-home{gap:40px;padding:40px 44px}
 #shiyi-pixel .room canvas{min-height:350px;aspect-ratio:1.3}
 #shiyi-pixel h2{font-size:30px}
 #shiyi-pixel .intro{margin-bottom:26px}
 #shiyi-pixel .fact{padding:21px 16px}
}
@media(display-mode:standalone) and (max-width:699px){
 body{padding:0}
 #shiyi-pixel{max-width:none;min-height:100svh;border-radius:0;box-shadow:none}
 #shiyi-pixel .nav{margin-bottom:calc(10px + env(safe-area-inset-bottom))}
}

/* Desktop: one calm vertical reading path with top navigation. */
@media(min-width:1000px){
 body{padding:22px 28px}
 #shiyi-pixel-stage{max-width:1200px}
 #shiyi-pixel{display:flex;flex-direction:column;min-height:calc(100svh - 44px);max-width:none}
 #shiyi-pixel .header{order:0;padding:22px 38px;flex-shrink:0}
 #shiyi-pixel .nav{order:1;display:flex;flex-direction:row;justify-content:center;align-items:center;align-self:center;width:auto;gap:7px;padding:5px;margin:20px 0 0;background:var(--sp-soft);border:0;border-radius:23px;box-shadow:none;flex-shrink:0}
 #shiyi-pixel .nav button{min-width:126px;min-height:43px;justify-content:center;padding:10px 20px;border-radius:19px;font-size:14px;gap:9px}
 #shiyi-pixel .nav button[aria-selected=true]{background:var(--sp-paper);color:var(--sp-purple);box-shadow:0 3px 10px #00000012}
 #shiyi-pixel .nav-mark{font-size:17px;width:auto}
 #shiyi-pixel .content{order:2;align-self:center;width:100%;max-width:940px;min-width:0;padding:28px 42px 24px}
 #shiyi-pixel #sp-home{display:block;padding:27px 42px 24px;max-width:940px}
 #shiyi-pixel .home-scene{width:100%;margin:0 auto}
 #shiyi-pixel .date-line{padding:0 3px;margin:0 0 13px;flex-wrap:nowrap;font-size:12px}
 #shiyi-pixel .date-line .live-time{font-size:12px}
 #shiyi-pixel .room{width:100%;border-radius:20px;margin:0;background:#78618c}
 #shiyi-pixel .room canvas{display:block;width:100%;height:290px;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:#78618c}
 #shiyi-pixel .room::after{height:25px}
 #shiyi-pixel .room-label{bottom:18px;right:20px}
 #shiyi-pixel .pose-button{bottom:67px;left:20px}
 #shiyi-pixel .motion-button{bottom:18px;left:20px}
 #shiyi-pixel .home-scene::after{display:none}
 #shiyi-pixel .home-dashboard{max-width:760px;width:100%;margin:26px auto 0}
 #shiyi-pixel .intro{text-align:center;margin:0 0 21px}
 #shiyi-pixel .intro h2{font-size:27px;letter-spacing:.5px}
 #shiyi-pixel .intro p{font-size:13px;margin-top:7px}
 #shiyi-pixel .new-record{min-height:50px;max-width:560px;margin:0 auto}
 #shiyi-pixel .quick-facts{margin:23px 0 0;gap:18px}
 #shiyi-pixel .fact{padding:17px 20px;gap:12px}
 #shiyi-pixel .fact-number{font-size:23px}
 #shiyi-pixel .section-head{margin-top:26px}
 #shiyi-pixel .entry{padding:16px 0}
 #shiyi-pixel #sp-chat{order:2;max-width:900px;align-self:center;padding:33px 50px 25px;margin:0 auto}
 #shiyi-pixel #sp-chat .page-heading{text-align:center;margin-bottom:29px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:27px}
 #shiyi-pixel #sp-chat .page-heading p{font-size:13px}
 #shiyi-pixel .message{max-width:88%}
 #shiyi-pixel .composer{margin-top:18px}
 #shiyi-pixel #sp-archive{display:block;max-width:900px;padding:33px 50px 25px}
 #shiyi-pixel .archive-overview .page-heading{text-align:center;margin-bottom:22px}
 #shiyi-pixel .archive-overview .page-heading h2{font-size:27px}
 #shiyi-pixel .archive-stats{max-width:560px;margin:20px auto;gap:20px}
 #shiyi-pixel .archive-overview>#sp-summary-button{display:flex;margin:0 auto}
 #shiyi-pixel .archive-history{margin-top:30px}
 #shiyi-pixel .archive-history>.section-head{margin-top:0}
 #shiyi-pixel .timeline-filters input{width:180px}
 #shiyi-pixel #sp-detail{order:3;max-width:900px;padding:0 50px 25px;align-self:center}
 #shiyi-pixel .notion-panel{order:4;align-self:center;width:calc(100% - 100px);max-width:800px;margin:0 auto 22px}
 #shiyi-pixel .footer{order:5;width:100%;margin-top:auto;padding:14px 38px;font-size:11px}
}

@media(max-width:699px){#shiyi-pixel .private-label{display:none}#shiyi-pixel .header>div:nth-child(2){flex:1}#shiyi-pixel .settings-button{flex-shrink:0}}

/* iPhone/Safari: explicit native-control reset and non-overlapping touch targets. */
#shiyi-pixel button,.sp-dialog button{
 -webkit-appearance:none;appearance:none;box-sizing:border-box;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
#shiyi-pixel .settings-button{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;
 width:44px;height:44px;min-width:44px;min-height:44px;
 padding:0;margin:0 0 0 auto;line-height:1;border:0;border-radius:50%;
 background:#ffffff20;color:#fff7ff;position:relative;align-self:center;
}
#shiyi-pixel .settings-button span{
 display:block;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
 font-size:26px;font-weight:600;letter-spacing:2px;line-height:1;
 transform:translate(1px,-4px);pointer-events:none;
}
#shiyi-pixel .settings-button:hover{background:#ffffff30}
#shiyi-pixel .settings-button:active{background:#ffffff40}
#shiyi-pixel .scene-controls{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
 gap:8px;padding:8px 2px 0;position:relative;z-index:1;
}
#shiyi-pixel .scene-controls .pose-button,
#shiyi-pixel .scene-controls .motion-button{
 position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;max-width:100%;padding:9px 14px;margin:0;
 background:var(--sp-soft);color:var(--sp-purple);border:1px solid transparent;
 border-radius:22px;font-size:12px;line-height:1.5;white-space:normal;
}
#shiyi-pixel .scene-controls button:hover{background:var(--sp-lilac)}
#shiyi-pixel .scene-controls button:active{background:var(--sp-lilac);border-color:var(--sp-line)}
#shiyi-pixel .room-label{
 top:12px;right:14px;bottom:auto;left:auto;max-width:calc(100% - 28px);
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;
}
#shiyi-pixel .quick-facts .fact>span:last-child{min-width:0;flex:1}
#shiyi-pixel .quick-facts .fact{min-height:88px;align-items:center}
#shiyi-pixel .quick-facts .fact .muted{line-height:1.6;word-break:normal;overflow-wrap:normal}
#shiyi-pixel .new-record{gap:12px;line-height:1.6}
#shiyi-pixel .new-record>span{min-width:0;overflow-wrap:anywhere}
#shiyi-pixel .new-record small{flex:0 0 28px}
.sp-dialog .dialog-head>button{
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;
 border-radius:50%;line-height:1;font-family:system-ui,-apple-system,sans-serif;font-size:24px;
}
.sp-dialog .dialog-head h2{min-width:0;margin-bottom:0}
.sp-dialog .actions button{min-height:44px}
@media(max-width:699px){
 #shiyi-pixel .header{
  display:grid;grid-template-columns:42px minmax(0,1fr) 44px;
  column-gap:12px;align-items:center;padding:20px 22px 17px;
  padding-top:calc(20px + env(safe-area-inset-top));
 }
 #shiyi-pixel .header .brand-mark{grid-column:1}
 #shiyi-pixel .header>div:nth-child(2){grid-column:2;min-width:0}
 #shiyi-pixel .header .settings-button{grid-column:3}
 #shiyi-pixel .brand-name{font-size:19px;line-height:1.5;letter-spacing:.7px}
 #shiyi-pixel .brand-sub{font-size:11px;line-height:1.6;margin-top:4px}
 #shiyi-pixel .room::after{height:35px}
 #shiyi-pixel .intro{margin-top:17px}
 #shiyi-pixel .quick-facts{gap:10px}
 #shiyi-pixel .quick-facts .fact{padding:14px 12px;gap:8px}
 #shiyi-pixel .quick-facts .fact .fact-mark{flex:0 0 17px;width:17px;font-size:16px}
 #shiyi-pixel .quick-facts .fact .fact-number{font-size:20px}
 #shiyi-pixel .quick-facts .fact .muted{font-size:11px}
 #shiyi-pixel .nav button{min-height:44px;line-height:1.5}
 #shiyi-pixel .text-button{min-height:44px;display:inline-flex;align-items:center}
 #shiyi-pixel .status-line{align-items:center;gap:10px}
 #shiyi-pixel .date-line{gap:8px;flex-wrap:wrap}
 #shiyi-pixel .date-line strong,#shiyi-pixel .live-time{font-size:11px}
 #shiyi-pixel .composer-actions{gap:12px}
 #shiyi-pixel .composer .button{min-height:44px}
 #shiyi-pixel .scene-controls{justify-content:center;gap:10px;padding-top:4px}
 #shiyi-pixel .scene-controls button{flex:0 1 auto}
}
@media(max-width:360px){
 #shiyi-pixel .header{padding-left:17px;padding-right:17px;column-gap:9px}
 #shiyi-pixel .brand-name{font-size:17px}
 #shiyi-pixel .quick-facts .fact{padding:12px 9px;gap:5px}
 #shiyi-pixel .quick-facts .fact .muted{font-size:10px}
 #shiyi-pixel .scene-controls button{font-size:11px;padding-left:12px;padding-right:12px}
}
@media(min-width:1000px){
 #shiyi-pixel .settings-button{background:var(--sp-soft);color:var(--sp-purple)}
 #shiyi-pixel .settings-button:hover{background:var(--sp-lilac)}
 #shiyi-pixel .room-label{top:15px;right:18px;bottom:auto}
 #shiyi-pixel .scene-controls{padding-top:10px}
}

/* Shared photo previews also apply to dialogs outside the main app. */
.sp-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto;overscroll-behavior:contain}
.sp-dialog [hidden]{display:none!important}
.sp-dialog .two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-dialog label,.sp-dialog input,.sp-dialog select,.sp-dialog textarea{min-width:0}
.sp-dialog input[type=date],.sp-dialog input[type=time]{width:100%;min-width:0;max-width:100%;min-height:44px;-webkit-appearance:none;appearance:none}
.sp-dialog .dialog-head{margin-bottom:10px}
.sp-dialog .dialog-head h2{font-size:19px}
.sp-dialog .actions{margin-top:12px}
.sp-dialog #sp-editor-form>p:first-of-type{font-size:12px;line-height:1.7;margin:8px 0}
.sp-dialog #sp-editor-form label{margin:9px 0;font-size:12px;gap:4px}
.sp-dialog #sp-editor-form textarea{min-height:108px;line-height:1.75}
.sp-dialog #sp-editor-form .two-fields:has(>label[hidden]){display:block}
.photo-gallery{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:10px 0;max-width:100%}
.photo-item{display:inline-flex;position:relative;width:72px;height:72px;flex:0 0 72px}
#shiyi-pixel .photo-thumb,.sp-dialog .photo-thumb{display:block;width:72px;height:72px;min-height:72px;max-width:72px;padding:0;margin:0;border:0;border-radius:12px;overflow:hidden;background:#40314f;cursor:zoom-in}
#shiyi-pixel .photo-thumb .photo,.sp-dialog .photo-thumb .photo{display:block;width:72px;height:72px;max-width:72px;max-height:72px;object-fit:cover;margin:0;border:0;border-radius:12px}
#shiyi-pixel .photo-remove{position:absolute;right:-7px;top:-8px;width:28px;height:28px;min-height:28px;display:grid;place-items:center;border:2px solid var(--sp-paper);border-radius:50%;padding:0;background:var(--sp-purple);color:var(--sp-purple-ink);font-size:18px;line-height:1}
#shiyi-pixel .photo-remove::after{content:'';position:absolute;inset:-7px}
#shiyi-pixel .preview{display:block;margin-bottom:8px}
#shiyi-pixel .preview>span{display:inline;font-size:11px}
#shiyi-pixel .preview>button{margin-left:14px}
.photo-viewer{width:min(880px,calc(100vw - 24px));padding:16px}
.photo-viewer #sp-full-photo{display:block;width:100%;max-width:100%;height:auto;max-height:66dvh;object-fit:contain;border-radius:10px;background:#211b2a}
.photo-viewer .small{margin-bottom:0}
.profile-save-status{position:sticky;top:-1px;z-index:2;background:#403249;padding:10px 12px;border-radius:12px;font-size:12px!important;line-height:1.6}
.profile-save-status[data-state=error]{background:#512d3d;color:#ffbcd0}
#shiyi-pixel .record-modes{display:flex;gap:8px;margin:14px 0 10px}
#shiyi-pixel .record-modes button{padding:8px 16px;min-height:44px;border:0;border-radius:24px;font-size:13px;background:var(--sp-paper);color:var(--sp-sub)}
#shiyi-pixel .record-modes button[aria-pressed=true]{background:var(--sp-lilac);color:var(--sp-ink)}
#shiyi-pixel .entry .entry-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#shiyi-pixel #sp-archive .page-heading{margin-bottom:12px;padding:0}
#shiyi-pixel #sp-archive .page-heading h2{font-size:23px;line-height:1.5;margin-top:4px}
#shiyi-pixel #sp-archive .page-heading p{margin-top:4px}
#shiyi-pixel #sp-archive .archive-stats{margin:12px 0;gap:10px}
#shiyi-pixel #sp-archive .archive-stat{padding:10px 12px;border-radius:15px}
#shiyi-pixel #sp-archive .archive-stat strong{font-size:23px;margin:2px 0;line-height:1.4}
#shiyi-pixel #sp-archive .section-head{margin-top:20px;margin-bottom:8px}
#shiyi-pixel #sp-archive .timeline-filters{margin:0 0 8px;gap:8px}
#shiyi-pixel #sp-archive .entry{padding:12px 0}
#shiyi-pixel #sp-archive .empty{padding:18px 0;min-height:0}
#shiyi-pixel .message-actions{display:flex;align-items:center;gap:14px;margin-top:6px;opacity:.8}
#shiyi-pixel .message-actions button{border:0;background:transparent;color:var(--sp-sub);font-size:11px;min-height:36px;padding:4px 0}
#shiyi-pixel .message-actions span{font-size:10px;color:var(--sp-sub)}
.sp-dialog .checkbox-row{display:flex;align-items:center;gap:10px}
.sp-dialog .checkbox-row input{width:22px;height:22px;min-height:22px;flex:0 0 22px;padding:0}
@media(max-width:699px){
 #shiyi-pixel #sp-archive{padding-top:18px}
 #shiyi-pixel #sp-archive .page-heading .micro{font-size:11px}
 #shiyi-pixel #sp-archive .archive-stat .muted{font-size:10px}
 .sp-dialog{padding:18px;max-height:88dvh;border-radius:22px}
 .sp-dialog #sp-editor-form input,.sp-dialog #sp-editor-form select{padding:8px;font-size:16px}
}

/* v13: readable health diary, writing first, compact home. */
#shiyi-pixel{
 --sp-ink:#f1eaf7;
 --sp-sub:#c3b4cf;
 --sp-purple:#d4bbf0;
 --sp-purple-ink:#30213f;
 font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif;
 font-weight:400;line-height:1.75;
}
#shiyi-pixel h2,#shiyi-pixel h3,#shiyi-pixel .brand-name{
 font-family:ui-rounded,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif;
 font-weight:600;letter-spacing:.2px;
}
#shiyi-pixel .pixel-type,#shiyi-pixel .speaker,#shiyi-pixel .brand-sub,#shiyi-pixel .private-label,
#shiyi-pixel .entry .entry-date{font-family:inherit;letter-spacing:0}
#shiyi-pixel .message-text{font-size:16px;line-height:1.85}
#shiyi-pixel .entry .entry-title{font-size:14px;font-weight:600}
#shiyi-pixel .entry .entry-note{font-size:13px;line-height:1.65}
#shiyi-pixel .micro,#shiyi-pixel .fine,#shiyi-pixel .muted{color:var(--sp-sub)}
#shiyi-pixel .micro{font-size:12px;letter-spacing:0}
#shiyi-pixel .page-heading p{font-size:14px;line-height:1.75}
#shiyi-pixel .speaker{font-size:12px}
#shiyi-pixel .text-button,#shiyi-pixel .ref{font-size:13px;font-weight:500}
#shiyi-pixel .new-record{background:linear-gradient(110deg,#c8ade3,#dbc4ed);color:#30213f;font-size:15px;font-weight:600}
#shiyi-pixel .header .brand-mark{border:0;padding:0;width:44px;height:44px;min-height:44px;cursor:pointer}
#shiyi-pixel .brand-mark:hover{box-shadow:0 0 0 3px #ffffff38}
#shiyi-pixel .brand-mark:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#shiyi-pixel .brand-mark canvas,#shiyi-pixel #sp-profile-avatar{width:44px;height:44px}
#shiyi-pixel .brand-sub{color:#f0e6f8;font-size:12px}
#shiyi-pixel .date-line,#shiyi-pixel .date-line strong{color:#f5eefb}
#shiyi-pixel .nav button{font-size:14px;font-weight:500}
#shiyi-pixel .message-actions{opacity:1;gap:18px}
#shiyi-pixel .message-actions button{font-size:12px;min-height:44px;color:var(--sp-sub)}
#shiyi-pixel .message .arrow{opacity:1}
#shiyi-pixel #sp-chat .page-heading{margin:0 0 14px;padding:0;text-align:left}
#shiyi-pixel #sp-chat .page-heading h2{font-size:23px;line-height:1.45;margin-top:3px}
#shiyi-pixel #sp-chat .page-heading p{margin-top:6px}
#shiyi-pixel .chat-entry{min-width:0}
#shiyi-pixel .chat-entry .suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 12px}
#shiyi-pixel .chat-entry .suggestion{min-width:0;min-height:44px;padding:8px 4px;font-size:12px;line-height:1.4;color:var(--sp-purple);font-weight:500;background:var(--sp-lilac);border-radius:14px}
#shiyi-pixel .record-modes{margin:0 0 6px;gap:8px}
#shiyi-pixel .record-modes button{font-size:14px;font-weight:500;min-height:44px}
#shiyi-pixel .mode-hint{font-size:12px;color:var(--sp-sub);line-height:1.7;margin:0 2px 9px}
#shiyi-pixel .composer{margin:0;padding:0;border:1px solid var(--sp-line);border-radius:20px;box-shadow:0 5px 18px #0000000a;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
#shiyi-pixel .composer:focus-within{border-color:var(--sp-purple);box-shadow:0 0 0 3px #d4bbf014}
#shiyi-pixel .composer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:6px 10px 0 16px}
#shiyi-pixel .composer label{font-size:13px;line-height:1.5;color:var(--sp-sub);letter-spacing:0;font-weight:500;min-width:0}
#shiyi-pixel .composer .composer-input textarea{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:104px;max-height:220px;height:104px;resize:none;overflow-y:auto;overscroll-behavior:contain;line-height:1.8;font-size:16px;margin:0;border:0;border-radius:0;padding:8px 16px 16px;background:transparent;outline:none;box-shadow:none;-webkit-appearance:none;appearance:none}
#shiyi-pixel .composer .composer-input textarea:focus,#shiyi-pixel .composer .composer-input textarea:focus-visible{outline:none;box-shadow:none;border:0}
#shiyi-pixel .composer textarea::placeholder{color:var(--sp-sub);opacity:1}
#shiyi-pixel .composer-input{position:relative;min-width:0}
#shiyi-pixel .composer .clear-input{position:static;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;border:0;background:none;padding:0;border-radius:50%;color:var(--sp-sub)}
#shiyi-pixel .clear-input span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--sp-soft);font:20px/1 system-ui,sans-serif;pointer-events:none}
#shiyi-pixel .clear-input:hover span{background:var(--sp-lilac);color:var(--sp-ink)}
#shiyi-pixel .clear-input:disabled{opacity:.5;cursor:wait}
#shiyi-pixel .composer .preview{margin:0 16px 8px}
#shiyi-pixel .composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border-top:1px solid var(--sp-line);padding:10px 12px;margin:0;background:#30283c}
#shiyi-pixel .composer-actions .text-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:15px;padding:8px 12px;min-height:44px;font-size:13px;line-height:1.4;color:var(--sp-purple);background:var(--sp-soft)}
#shiyi-pixel .composer-actions .button{flex:0 0 auto;min-width:88px;min-height:44px;margin:0;border:0;border-radius:15px;font-size:14px;font-weight:600;line-height:1.4;padding:10px 16px}
#shiyi-pixel .quick-help{margin-top:8px;font-size:13px;color:var(--sp-sub)}
#shiyi-pixel .quick-help summary{cursor:pointer;min-height:44px;padding:10px 2px;line-height:24px;color:var(--sp-purple);font-weight:500}
#shiyi-pixel .quick-help dl{display:block;background:var(--sp-paper);border-radius:16px;padding:14px;margin:0;font-size:13px}
#shiyi-pixel .quick-help dt{font-weight:600;color:var(--sp-ink);margin:12px 0 3px}
#shiyi-pixel .quick-help dt:first-child{margin-top:0}
#shiyi-pixel .quick-help dd{margin:0;color:var(--sp-sub);line-height:1.8}
#shiyi-pixel .chat-history{margin-top:18px;background:var(--sp-paper);border:1px solid var(--sp-line);border-radius:18px;overflow:hidden}
#shiyi-pixel .chat-history>summary{display:flex;align-items:center;gap:10px;min-height:58px;padding:13px 16px;list-style:none;cursor:pointer}
#shiyi-pixel .chat-history>summary::-webkit-details-marker{display:none}
#shiyi-pixel .history-title{font-size:14px;font-weight:600;color:var(--sp-ink)}
#shiyi-pixel .history-count{margin-left:auto;font-size:12px;line-height:1.6;color:var(--sp-sub)}
#shiyi-pixel .history-chevron{font-size:18px;color:var(--sp-purple);transition:transform .15s}
#shiyi-pixel .chat-history[open] .history-chevron{transform:rotate(180deg)}
#shiyi-pixel .chat-history[open]>summary{border-bottom:1px solid var(--sp-line)}
#shiyi-pixel .history-scroll{max-height:min(52svh,480px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:12px;padding:0 14px;outline-offset:-3px}
#shiyi-pixel .history-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:6px 16px;border-bottom:1px solid var(--sp-line);font-size:12px;color:var(--sp-sub);background:var(--sp-paper)}
#shiyi-pixel .history-info .text-button{font-size:12px;min-height:36px}
#shiyi-pixel .chat-history .history-scroll{padding:14px;background:var(--sp-bg)}
#shiyi-pixel .chat-history #sp-messages{display:flex;flex-direction:column;gap:14px;min-width:0}
#shiyi-pixel .chat-history .message{align-self:flex-start;width:fit-content;max-width:88%;margin:0;padding:12px 14px;border:1px solid var(--sp-line);border-radius:16px 16px 16px 5px;background:var(--sp-paper);box-shadow:none;min-width:0}
#shiyi-pixel .chat-history .message.user{align-self:flex-end;margin:0;max-width:88%;border-color:transparent;border-radius:16px 16px 5px 16px;background:var(--sp-lilac)}
#shiyi-pixel .chat-history .speaker{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-bottom:7px;font-size:11px;line-height:1.5;letter-spacing:0;color:var(--sp-sub)}
#shiyi-pixel .chat-history .speaker time{margin-left:auto;font-variant-numeric:tabular-nums}
#shiyi-pixel .chat-history .message-text{font-size:14px;line-height:1.8}
#shiyi-pixel .chat-history .message-actions{display:flex;align-items:center;gap:14px;margin-top:7px;border-top:1px solid #d4bbf01c;padding-top:2px}
#shiyi-pixel .chat-history .message-actions button{min-height:36px;font-size:11px;padding:4px 0;line-height:1.5}
#shiyi-pixel .chat-history .refs{margin-top:8px;gap:6px}
#shiyi-pixel .chat-history .ref{font-size:11px;line-height:1.5;padding:6px 8px;min-height:36px;background:#251c3290;border:1px solid #d4bbf01c;border-radius:9px}
#shiyi-pixel .chat-empty{padding:22px 8px;text-align:center;color:var(--sp-sub);font-size:13px;line-height:1.9}
#shiyi-pixel .chat-history .message{margin:16px 0}
#shiyi-pixel .chat-history .message.user{padding:12px 14px}
#shiyi-pixel .followup-context{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--sp-mint);border-radius:12px;padding:8px 10px;font-size:12px;margin-bottom:8px}
#shiyi-pixel .followup-context button{border:0;background:transparent;color:var(--sp-purple);font-size:12px;min-height:44px;flex-shrink:0}
.sp-dialog,.sp-dialog input,.sp-dialog select,.sp-dialog textarea,.sp-dialog button{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei UI',sans-serif}
.sp-dialog{color:#f1eaf7}
.sp-dialog p,.sp-dialog .small{color:#c3b4cf}
.sp-dialog h2,.sp-dialog h3{font-weight:600}
.sp-dialog button.primary{background:#d4bbf0;color:#30213f;font-weight:600}
.sp-dialog #sp-editor-form>p:first-of-type,.sp-dialog #sp-editor-form label{font-size:13px}
.sp-dialog #sp-editor-form label{font-weight:500}
#shiyi-pixel .home-dashboard .intro{margin:10px 0 12px}
#shiyi-pixel .home-dashboard .intro h2{font-size:21px;line-height:1.5}
#shiyi-pixel .home-dashboard .intro p{margin-top:3px;font-size:13px}
#shiyi-pixel .home-dashboard .new-record{min-height:46px;padding-top:9px;padding-bottom:9px}
#shiyi-pixel .home-dashboard .quick-facts{margin-top:12px;gap:10px}
#shiyi-pixel .home-dashboard .fact{min-height:72px;padding:12px;gap:8px;border-radius:16px}
#shiyi-pixel .home-dashboard .fact-number{font-family:inherit;font-size:21px;font-weight:600}
#shiyi-pixel .home-dashboard .section-head{margin:14px 0 2px}
#shiyi-pixel .home-dashboard .section-head h3{font-size:15px}
#shiyi-pixel .home-dashboard .entry{padding:10px 0;gap:10px}
#shiyi-pixel .home-dashboard .entry .entry-note{margin-top:3px;font-size:12px}
#shiyi-pixel .home-dashboard .entry .entry-date{font-size:11px}
@media(max-width:699px){
 #shiyi-pixel .header{grid-template-columns:44px minmax(0,1fr) 44px;padding-top:calc(15px + env(safe-area-inset-top));padding-bottom:12px;column-gap:10px}
 #shiyi-pixel .brand-name{font-size:19px}
 #shiyi-pixel .brand-sub{font-size:11px;margin-top:2px}
 #shiyi-pixel .date-line{padding-bottom:9px}
 #shiyi-pixel canvas#sp-room{height:clamp(150px,46vw,184px);aspect-ratio:auto;object-fit:contain;object-position:center;background:#78618c}
 #shiyi-pixel .scene-controls{padding-top:0;gap:8px}
 #shiyi-pixel .scene-controls button{font-size:12px}
 #shiyi-pixel .content{padding-top:18px}
 #shiyi-pixel #sp-home{padding-bottom:10px}
 #shiyi-pixel .home-dashboard .fact .muted{font-size:11px}
 #shiyi-pixel .footer{padding-bottom:12px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:22px}
 #shiyi-pixel .chat-entry .suggestions{gap:5px}
}
@media(max-width:360px){
 #shiyi-pixel .chat-entry .suggestion{font-size:11px}
 #shiyi-pixel .home-dashboard .intro h2{font-size:19px}
 #shiyi-pixel .home-dashboard .fact .muted{font-size:10px}
}
@media(min-width:700px){
 #shiyi-pixel .chat-entry .suggestions{gap:10px}
 #shiyi-pixel .chat-entry .suggestion{font-size:14px}
}
@media(min-width:1000px){
 #shiyi-pixel .header{padding-top:16px;padding-bottom:16px}
 #shiyi-pixel .header .brand-sub,#shiyi-pixel .header .private-label{color:var(--sp-sub)}
 #shiyi-pixel .date-line,#shiyi-pixel .date-line strong{color:var(--sp-sub)}
 #shiyi-pixel .nav{margin-top:12px}
 #shiyi-pixel #sp-home{padding-top:18px;padding-bottom:18px}
 #shiyi-pixel .room canvas{height:226px}
 #shiyi-pixel .home-dashboard{margin-top:10px}
 #shiyi-pixel .home-dashboard .intro{margin:0 0 12px}
 #shiyi-pixel .home-dashboard .intro h2{font-size:24px}
 #shiyi-pixel .home-dashboard .entry{padding:10px 0}
 #shiyi-pixel #sp-chat{padding-top:22px}
 #shiyi-pixel #sp-chat .page-heading{margin-bottom:16px}
 #shiyi-pixel #sp-chat .page-heading h2{font-size:25px}
 #shiyi-pixel .chat-history .message,#shiyi-pixel .chat-history .message.user{max-width:78%;margin:0}
}

/* Navigation stays available while history and content scroll independently. */
#shiyi-pixel{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
#shiyi-pixel .nav{position:fixed;top:auto;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 32px);max-width:528px;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;padding:6px;border:1px solid var(--sp-line);border-radius:24px;background:var(--sp-paper);box-shadow:0 5px 28px #00000040}
#shiyi-pixel .nav button{min-width:0;min-height:44px;margin:0;padding:9px 8px;justify-content:center}
@media(max-width:999px){
 #shiyi-pixel .footer{margin-top:10px}
 #shiyi-pixel .chat-history .message,#shiyi-pixel .chat-history .message.user{max-width:92%;margin:0}
}
#sp-toast{bottom:calc(90px + env(safe-area-inset-bottom))}

}
