:root{--bg:#faf9fd;--ink:#181624;--muted:#777482;--line:#eeedf2;--soft:#f0eff4;--purple:#7661b4;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif}*{box-sizing:border-box}body{letter-spacing:-.35px;margin:0;font-size:15px;line-height:1.65}button,input,textarea{font:inherit;letter-spacing:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation;background:0 0;border:0}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #a99bd5}h1,h2,h3,p{margin:0}h1{font-size:17px;font-weight:650}h2{letter-spacing:-.8px;font-size:23px;line-height:1.4}h3{font-size:16px;line-height:1.5}svg{stroke-width:1.7px;flex-shrink:0}.app-shell{background:var(--bg);width:100%;max-width:520px;min-height:100dvh;margin:auto}.app-header{padding:calc(var(--safe-top) + 8px) 18px 8px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;background:#faf9fdf2;border-bottom:1px solid #f4f2f8;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.header-spacer{flex-shrink:0;width:44px}.icon-button{border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-button:hover{background:var(--soft)}.content{padding:24px 22px calc(100px + var(--safe-bottom))}.intro{padding:3px 0 25px;position:relative}.intro h2{margin:8px 0 4px}.intro>p:last-child,.fortune-intro>p:last-child{color:var(--muted);font-size:13px}.eyebrow{color:var(--muted);font-size:12px;font-weight:500}.moon-mark{color:#817294;background:#eeebf6;border-radius:20px;justify-content:center;align-items:center;width:54px;height:54px;display:flex;position:absolute;top:7px;right:4px;transform:rotate(-10deg)}.moon-mark span{font-size:17px;position:absolute;top:4px;right:9px}.dream-form label,.dream-form legend{margin-bottom:10px;font-size:14px;font-weight:600;display:block}textarea{background:var(--soft);width:100%;min-height:210px;color:var(--ink);resize:vertical;border:1px solid #0000;border-radius:14px;padding:17px;font-size:16px;line-height:1.85;display:block}textarea::placeholder{color:#85818d;font-size:14px;line-height:1.9}textarea:focus{border-color:#b8aace;outline:none}.field-meta{color:var(--muted);justify-content:space-between;padding:7px 1px 22px;font-size:11px;display:flex}fieldset{border:0;min-width:0;margin:0 0 24px;padding:0}.moods{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mood{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:40px;font-size:12px;display:flex}.mood span{font-size:15px}.mood.selected{color:#564075;background:#f0ebf8;border-color:#b9adcd}.primary,.secondary{border-radius:26px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px 16px;font-size:14px;font-weight:550;display:flex}.primary{color:#fff;background:#181521}.primary:hover:not(:disabled){background:#32283e}.secondary{background:#fff;border:1px solid #e5e2eb;margin-top:10px}.secondary:hover:not(:disabled){background:#f4f1f8}.fine-print{text-align:center;color:#898491;margin:15px 0;font-size:11px;line-height:1.7}.text-button{color:var(--muted);min-height:44px;margin:10px auto;display:block}.bottom-nav{width:100%;max-width:520px;padding:9px 10px calc(9px + var(--safe-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:20;background:#ffffffed;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#95909f;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:46px;font-size:10px;display:flex}.bottom-nav button.active{color:#21192c}.bottom-nav button.active svg{fill:#eee9f6}.recent{margin-top:30px}.section-heading{justify-content:space-between;align-items:center;margin:23px 0 12px;display:flex}.section-heading button{color:var(--muted);align-items:center;min-height:30px;font-size:12px;display:flex}.section-heading>span{color:var(--muted);font-size:12px}.dream-row{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:12px;width:100%;padding:16px 0;display:flex}.dream-row>div:nth-child(2){flex:1;min-width:0}.dream-row-icon{background:#efecf5;border-radius:14px;place-items:center;width:43px;height:43px;font-size:21px;display:grid}.dream-row span{color:var(--muted);font-size:10px}.dream-row h3{text-overflow:ellipsis;white-space:nowrap;margin:3px 0;font-size:14px;overflow:hidden}.dream-row p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dream-row>svg{color:#a6a0ad}.calendar-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.calendar-heading h2{font-size:19px}.calendar{border:1px solid var(--line);background:#fff;border-radius:18px;padding:15px 10px}.weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.weekdays{color:var(--muted);text-align:center;margin:3px 0 10px;font-size:11px}.weekdays span:first-child{color:#bc7c85}.calendar-grid button{border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:47px;font-size:14px;display:flex;position:relative}.calendar-grid .today{color:var(--purple);font-weight:750}.calendar-grid .selected-day{background:var(--ink);color:#fff}.day-dot{border-radius:50%;width:4px;height:4px}.day-dot.filled{background:#9e83cc}.selected-day .day-dot.filled{background:#d6c6f0}.search{background:var(--soft);border:0;border-radius:12px;width:100%;margin:22px 0 0;padding:12px 15px;font-size:16px}.search::placeholder{font-size:13px}.empty{text-align:center;color:var(--muted);padding:52px 18px}.empty-icon{color:#9987ba;background:#f0ecf7;border-radius:22px;place-items:center;width:60px;height:60px;margin:0 auto 20px;display:grid}.empty h3{color:var(--ink);margin:10px 0;font-size:16px}.empty p{max-width:270px;margin:auto;font-size:13px;line-height:1.9}.empty .secondary{max-width:180px;margin:22px auto}.segmented{background:#eeedf2;border-radius:25px;padding:4px;display:flex}.segmented button{border-radius:22px;flex:1;min-height:40px;font-size:13px}.segmented .active{background:var(--ink);color:#fff}.period-label{text-align:center;color:var(--muted);margin:15px 0 25px;font-size:11px}.stats{justify-content:space-around;padding:20px 0 25px;display:flex}.stats div{text-align:center;flex-direction:column;gap:7px;display:flex}.stats strong{font-size:31px;line-height:1}.stats span{color:var(--muted);font-size:11px}.card{background:#f0eff4;border-radius:16px;padding:22px}.report-card{border:1px solid var(--line);background:#fff;margin:14px 0}.muted{color:var(--muted);font-size:12px;line-height:1.9}.report-card>.muted{margin:5px 0 20px}.emotion-row{align-items:center;gap:12px;margin:16px 0;font-size:12px;display:flex}.emotion-row>span{width:75px}.emotion-row b{min-width:15px;font-weight:500}.bar{background:#f1eef5;border-radius:10px;flex:1;height:7px;overflow:hidden}.bar i{background:#a593c6;border-radius:10px;height:100%;display:block}.symbols{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.symbols span{background:#f1edf7;border-radius:20px;padding:6px 12px;font-size:12px}.symbols b{color:#8e7baa;margin-left:5px}.fortune-intro{margin:0 0 24px}.fortune-intro h2{margin:7px 0}.fortune-card{background:linear-gradient(135deg,#efecf5,#f3f2f6);padding:25px;position:relative}.fortune-card>svg{color:#a494bb;position:absolute;top:23px;right:22px}.pill{color:#6c548b;background:#e7e1f0;border-radius:20px;align-items:center;gap:5px;padding:4px 10px;font-size:10px;font-weight:550;display:inline-flex}.fortune-card h3{margin:16px 0 10px;font-size:18px}.fortune-card p{color:#5d5767;font-size:14px;line-height:1.9}.fortune-details{margin:25px 0}.fortune-line{border-bottom:1px solid var(--line);gap:15px;padding:15px 2px;display:flex}.fortune-line>svg{color:#8e819d;margin-top:3px}.fortune-line h3{font-size:13px}.fortune-line p{color:var(--muted);margin-top:4px;font-size:12px}.lucky-heading{margin:24px 0 13px;font-size:14px}.lucky-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.lucky-grid div{background:var(--soft);text-align:center;border-radius:12px;flex-direction:column;gap:7px;padding:17px 5px;display:flex}.lucky-grid span{color:var(--muted);font-size:10px}.lucky-grid b{font-size:15px;font-weight:550}.alert{color:#9a5042;background:#fff2ef;border:1px solid #f2d9d1;border-radius:12px;align-items:start;gap:8px;margin-bottom:20px;padding:13px;font-size:12px;display:flex}.alert>button{min-width:26px;margin-left:auto}.toast{left:50%;bottom:calc(86px + var(--safe-bottom));color:#fff;z-index:100;background:#282330f5;border-radius:25px;align-items:center;gap:8px;width:max-content;max-width:90%;padding:13px 19px;font-size:12px;display:flex;position:fixed;transform:translate(-50%)}.modal{background:var(--bg);width:100%;max-width:520px;height:100dvh;max-height:100dvh;color:var(--ink);border:0;margin:auto;padding:0}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17112466}.modal header{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);z-index:2;padding:calc(var(--safe-top) + 8px) 16px 8px;border-bottom:1px solid var(--line);background:#faf9fdf5;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.modal header h2{font-size:17px}.modal-body{padding:24px 24px calc(30px + var(--safe-bottom));overflow-wrap:anywhere}.modal-body>h2{margin:12px 0 20px;font-size:22px}.modal-body>p{margin:15px 0;font-size:14px;line-height:1.95}.modal.compact{border-radius:22px;width:calc(100% - 32px);max-width:450px;height:auto;max-height:90dvh}.modal.compact header{padding-top:8px}.modal.compact .modal-body{padding-top:15px}.detail-meta{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.dream-original{white-space:pre-wrap;background:#eeedf3;border-radius:14px;margin:10px 0 28px;padding:20px;font-size:14px;line-height:1.9}.interpretation h3{margin:26px 0 10px}.interpretation p{color:#625b6d;white-space:pre-line;font-size:14px;line-height:1.95}.interpretation .fine-print{color:#898491;font-size:11px}.symbol-result{border-left:2px solid #d9cee8;margin:13px 0;padding-left:14px}.symbol-result>b{font-size:13px}.symbol-result p{margin-top:3px;font-size:13px}.advice{background:#efeaf6;border-radius:15px;margin-top:25px;padding:20px}.advice h3{margin-top:0;font-size:14px}.detail-actions{align-items:center;gap:12px;margin-top:25px;display:flex}.detail-actions .secondary{flex:1;margin:0}.danger{color:#b46464}.destructive{background:#ad5454}.settings-brand{text-align:center;padding:12px 0 25px}.settings-brand>svg{color:#8c76ad}.settings-brand h2{margin:9px 0 3px}.settings-brand p{color:var(--muted);font-size:12px}.settings-brand small{color:#a19ba9;font-size:10px}.settings-section{margin:20px 0}.settings-section h3{margin-bottom:12px;font-size:13px}.settings-section>.muted{margin-bottom:15px}.settings-row{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:11px;width:100%;padding:17px 0;font-size:13px;display:flex}.settings-row>svg:last-child{margin-left:auto}.consent-icon{color:#856aab;background:#ede7f5;border-radius:18px;place-items:center;width:55px;height:55px;display:grid}.inline-link{color:#6d5492;font-size:13px;text-decoration:underline}.hidden{display:none}.spin{animation:1.2s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.legal{max-width:620px;margin:auto;padding:30px 24px 60px;line-height:1.9}.legal .back{min-height:44px;color:var(--muted);align-items:center;gap:8px;margin-bottom:20px;font-size:13px;display:inline-flex}.legal h1{font-size:26px}.legal h2{margin:28px 0 9px;font-size:17px}.legal p,.legal li{color:#625d6c;margin:10px 0;font-size:14px}.legal a{color:#685486;text-decoration:underline}.legal .updated{color:var(--muted);font-size:12px}@media (min-width:650px){.app-shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}.content{padding:28px 30px 110px}.modal{border-radius:20px;height:90dvh;max-height:900px}.modal header{padding-top:8px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}@media (max-width:360px){.content{padding-left:16px;padding-right:16px}.moods{gap:5px}.mood{font-size:11px}.intro h2{font-size:21px}}
