:root{font-family:system-ui,-apple-system,'Noto Sans TC',sans-serif;color:#443c51;background:#f5f1f7}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 85% 0,#e9dcf5,transparent 38%),#f5f1f7;min-height:100vh}.shell{max-width:760px;margin:auto;padding:24px 18px 40px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.brand{font-family:Georgia,serif;font-size:30px;font-weight:bold;letter-spacing:-1px;color:#76648c}small,.hint,.eyebrow,footer{color:#9b8fa8}small{font-size:12px}.panel{background:#ffffffd9;border:1px solid #eee7f1;border-radius:25px;padding:26px;box-shadow:0 12px 35px #78678b12}.moon{font-size:64px;color:#a58cb9;text-align:center}h1{font-size:25px;line-height:1.5;margin:8px 0}p{color:#8c8097}#auth{max-width:460px;margin:65px auto;text-align:center}#auth form{text-align:left}label{display:block;font-size:14px;font-weight:600;margin:17px 0 7px}input,textarea{width:100%;border:1px solid #e2d9e8;background:#fcfbfd;padding:13px 14px;border-radius:12px;font:inherit;color:#443c51;outline:none}input:focus,textarea:focus{border-color:#a78abf;box-shadow:0 0 0 3px #b69bca30}textarea{resize:vertical;line-height:1.7}button{cursor:pointer;font:inherit;border:0;border-radius:12px;padding:12px 17px;background:#9277aa;color:white;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.6;cursor:wait}.subtle{background:transparent;color:#806d92}.full{width:100%;margin-top:12px}.hidden{display:none!important}.hint{font-size:12px;line-height:1.6}.welcome{padding:20px 4px 25px}.welcome h1{font-family:Georgia,serif;font-size:28px}.eyebrow{font-size:11px;letter-spacing:2px}.moods{display:flex;gap:8px;flex-wrap:wrap}.moods button{background:#f1ecf5;color:#7d6a8c;font-size:13px;padding:10px}.moods button.selected{background:#9277aa;color:white}.actions{display:flex;gap:8px;margin-top:17px}.history{margin-top:36px}.historyHead{display:flex;justify-content:space-between;align-items:center}.history h2{font-size:20px}.historyHead span{font-size:13px;color:#9b8fa8}#entries{margin-top:16px;display:grid;gap:12px}.entry{border-radius:18px;padding:18px;background:#fff;border:1px solid #eee7f1}.entryTop{display:flex;justify-content:space-between;gap:12px}.entry h3{margin:0;font-size:17px}.entry time{font-size:12px;color:#9b8fa8;white-space:nowrap}.entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#63586d}.entry .tools{display:flex;gap:8px;justify-content:flex-end}.entry .tools button{font-size:12px;padding:8px 11px;background:#f1ecf5;color:#7c6a8b}.empty{text-align:center;padding:35px;color:#9b8fa8}#status{text-align:center;min-height:25px;font-size:13px}footer{text-align:center;font-size:12px;margin-top:38px}@media(max-width:480px){.shell{padding:18px 14px}.panel{padding:19px}.welcome h1{font-size:23px}.entryTop{flex-direction:column;gap:5px}}
