:root{--paper:#f5f0e6;--paper-2:#eee7d9;--ink:#293b3b;--muted:#7c827b;--line:#d8d1c3;--forest:#263d3f;--gold:#bd855c;--gold-soft:#e4bea0;--white:#fffdf7;--serif:'Hiragino Mincho ProN','Yu Mincho','Noto Serif JP',serif;--sans:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic','Noto Sans JP',sans-serif}
*{box-sizing:border-box}html{background:#1a2529}body{margin:0;color:var(--ink);font:14px/1.7 var(--sans);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #b5845b;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.4}[hidden]{display:none!important}.app-shell{max-width:460px;min-height:100dvh;margin:auto;background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='150' height='150' opacity='.075' filter='url(%23n)'/%3E%3C/svg%3E");box-shadow:0 0 64px #0003;position:relative;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.masthead{display:flex;align-items:center;justify-content:space-between;padding:31px 27px 22px}.brand-lockup{display:flex;align-items:center;gap:9px}.brand-symbol{font-family:var(--serif);font-size:27px;color:#b1805b;line-height:1}.brand-lockup strong{font-family:Georgia,serif;font-size:16px;letter-spacing:.25em;line-height:1.15;display:block}.brand-lockup small{display:block;font-size:9px;letter-spacing:.14em;color:#938e80;margin-top:5px}.masthead-side{display:flex;gap:14px;align-items:center;color:#74786f;font-size:10px;letter-spacing:.06em}.sparkle{font-size:18px;color:var(--gold)}.screen{display:none;padding:0 27px 40px;min-height:calc(100dvh - 170px);animation:screen-in .35s ease}.screen.active{display:block}@keyframes screen-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:10px;letter-spacing:.2em;color:#92765f;font-weight:600}.home-eyebrow{display:flex;align-items:center;gap:9px;margin:2px 0 17px;font-size:11px;letter-spacing:.12em;font-weight:400}.eyebrow-line{height:1px;width:21px;background:#ad855f}.hero{position:relative;background:#21353a;border-radius:5px;min-height:380px;overflow:hidden;isolation:isolate;box-shadow:0 12px 28px rgba(29,47,48,.13)}.night-art{position:absolute;inset:0;z-index:-1}.sky-svg{width:100%;height:100%;object-fit:cover}.moon-halo{animation:halo 15s ease-in-out infinite alternate}.star-group{animation:stars 8s ease-in-out infinite alternate}@keyframes halo{to{opacity:.55;transform:translate(-4px,3px)}}@keyframes stars{to{opacity:.5}}.hero-content{min-height:380px;padding:22px 24px 25px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(90deg,rgba(19,39,44,.45),transparent 75%)}.hero-top{font-family:Georgia,serif;color:#f2ddba;letter-spacing:.18em;font-size:8px}.hero-text{margin-top:66px;color:#f2eadd;text-shadow:0 2px 14px #0d1a20b8}.hero-kicker{font-size:10px;letter-spacing:.08em;margin:0 0 10px;color:#efdbc0}.hero h1{font:normal 33px/1.55 var(--serif);letter-spacing:.035em;margin:0}.hero h1 em,.page-title h2 em{font-style:normal;color:#e7bc98}.hero-sub{font-size:10px;letter-spacing:.08em;line-height:2.1;margin:12px 0 0;color:#d9dbcb}.sleep-cta{width:100%;background:#f3e5cf;border:0;color:#2b4141;display:flex;align-items:center;gap:10px;border-radius:3px;text-align:left;padding:14px 15px;font-weight:600;font-size:12px;letter-spacing:.03em;transition:background .2s}.sleep-cta:hover{background:white}.cta-moon{font-size:22px;font-weight:400;line-height:1}.cta-arrow{margin-left:auto;font-size:18px;font-weight:400}.chapter-label{display:flex;align-items:center;gap:11px;margin:29px 0 11px;color:#6a726d;font-size:11px;letter-spacing:.09em}.chapter-label>span:first-child{font-family:Georgia,serif;color:#bb865f;font-size:12px}.chapter-rule{flex:1;height:1px;background:var(--line)}.quiet-row{display:flex;align-items:center;gap:14px;background:transparent;width:100%;border:none;text-align:left;padding:8px 4px 13px;border-bottom:1px solid var(--line);color:var(--ink)}.quiet-row-icon{width:49px;height:49px;border-radius:50%;border:1px solid #d5c8b7;display:grid;place-items:center;color:var(--gold);font-size:22px}.quiet-row-copy{flex:1;display:flex;flex-direction:column}.quiet-row-copy strong{font-weight:600;font-size:13px;max-width:225px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quiet-row-copy small{font-size:10px;color:var(--muted);margin-top:1px}.quiet-row-end{font-size:28px;color:#9d9788;line-height:1}.detail-row{padding:15px 4px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px}.detail-row button{border:0;background:none;color:#344a48;display:flex;align-items:center;gap:13px;padding:0}.detail-row strong{font-weight:600}.detail-row button span{font-size:19px;color:#ab9b84}.mini-note{display:flex;gap:15px;margin:25px 4px 7px;align-items:flex-start}.tiny-sun{width:30px;color:#a98868;font-size:20px}.mini-note p{margin:0;font:12px/2 var(--serif);letter-spacing:.04em}.inline-link{background:none;border:0;border-bottom:1px solid #a88c6e;color:#8b7054;padding:0;font:12px/1.8 var(--sans)}.inline-link span{margin-left:5px}.footnote{font-size:10px;color:#979486;line-height:1.9;margin:14px 0}.home-footnote{margin:25px 3px 0}.bottom-nav{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 12px max(10px,env(safe-area-inset-bottom));background:rgba(247,242,233,.98);border-top:1px solid #e2dacc;z-index:10;box-shadow:0 -8px 20px rgba(60,48,36,.025)}.nav-item{border:0;background:none;color:#9a988d;display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;padding:5px 0;font-size:9px;letter-spacing:.03em}.nav-icon{font:25px/1.2 Georgia,serif;height:32px}.nav-item.active{color:#6b4b39;font-weight:700}.nav-item.active .nav-icon{color:#bb805c}.page-title{margin:12px 0 25px}.page-title h2{font:normal 32px/1.48 var(--serif);margin:15px 0 11px;letter-spacing:.07em}.page-title h2 em{color:#a77757}.page-title>p{font:12px/1.8 var(--serif);color:#798078;margin:0}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#eae2d5;border-radius:3px;padding:4px;margin:18px 0 27px}.segment{background:none;border:0;padding:11px;color:#777970;font-size:12px}.segment small{font-size:9px;margin-left:7px}.segment.is-selected{background:#fffbf2;color:#4c5b50;box-shadow:0 1px 6px #0000000d}.journal-date{display:flex;justify-content:space-between;color:#9f855e;font-size:11px;letter-spacing:.08em;border-bottom:1px solid var(--line);padding:0 0 12px;margin-bottom:19px}.journal-date span:last-child{font:10px Georgia,serif;letter-spacing:.18em}.field-label{display:block;font-size:12px;margin:20px 0 8px;color:#495955;font-weight:600}.paper-input,.paper-select{width:100%;border:0;border-bottom:1px solid #bfb8aa;background:transparent;color:var(--ink);border-radius:0;padding:11px 2px 12px;outline:none}.paper-input::placeholder,.lined-textarea::placeholder{color:#aaa69b}.paper-select{appearance:auto}.lined-textarea{width:100%;background:repeating-linear-gradient(to bottom,transparent 0,transparent 33px,#d9d1c3 34px,#d9d1c3 35px);background-size:100% 35px;border:0;resize:vertical;line-height:35px;padding:0 2px;outline:none;min-height:145px;color:var(--ink);border-radius:0}.lined-textarea.compact{font-size:12px;min-height:120px}.mood-field{margin:18px 0 23px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.mood-options{display:flex;gap:5px}.mood-options button{background:transparent;border:1px solid #d8cbb8;color:#ac9981;border-radius:50%;width:32px;height:32px;font-size:18px;line-height:1}.mood-options button.active{background:#dfc3a4;border-color:#b88562;color:#5e4f42}.primary-action{border:0;background:var(--forest);color:#fff5e7;width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px 18px;text-align:left;font-size:12px;letter-spacing:.07em;border-radius:3px}.primary-action span{font-size:18px}.dream-hint{border-left:2px solid #cc9b74;padding:9px 13px;font:12px/1.85 var(--serif);color:#777a70;background:#efe5d5}.fortune-action{background:transparent;border:1px solid #bfa58b;color:#876b4c;padding:12px;width:100%;margin-top:13px;font-size:12px;border-radius:3px}.fortune-result{margin-top:14px;padding:19px;background:#ece4d4;border-left:2px solid #a88c6e;font-size:12px;line-height:1.9}.fortune-result strong{display:block;font-family:var(--serif);font-size:16px;margin-bottom:6px;color:#655447}.journal-history{margin-top:34px}.history-list{display:flex;flex-direction:column;gap:0}.history-entry{padding:13px 3px;border-bottom:1px solid var(--line);display:flex;gap:11px;align-items:flex-start}.history-entry .history-marker{font:18px var(--serif);color:#af8866;width:20px}.history-entry .history-copy{flex:1;min-width:0}.history-entry strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-entry small{display:block;font-size:10px;color:#929186;margin-top:3px}.history-entry button{background:none;border:0;color:#ac8f72;padding:4px;font-size:11px}.empty-state{padding:20px 4px 28px;color:#9c988d;font:12px/2 var(--serif)}.upload-area{display:flex;align-items:center;gap:15px;border:1px dashed #bca58e;background:#efe9dd;padding:16px;cursor:pointer;border-radius:3px}.upload-mark{font-size:29px;color:#a87a55;font-weight:200;width:33px;text-align:center}.upload-area strong,.upload-area small{display:block}.upload-area strong{font-size:12px}.upload-area small{font-size:10px;color:#929087;margin-top:4px}.track-list{margin-top:10px}.track-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:12px 1px}.track-item input{accent-color:#aa8567}.track-item .track-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.track-remove{background:none;border:0;color:#9b897b;font-size:19px}.section-break{margin-top:38px}.sound-slider{padding:8px 2px 14px}.slider-top{display:flex;align-items:center;justify-content:space-between;font-size:12px}.slider-top small{font:9px Georgia,serif;color:#9b9b90;letter-spacing:.1em;margin-left:7px}.slider-top b{font-weight:400;font-size:10px;color:#a37a5b}.sound-slider input[type=range]{width:100%;accent-color:#b28763;margin:11px 0 0;height:3px}.sound-row-actions{display:flex;gap:10px;margin-top:12px}.secondary-action{border:1px solid #bca990;background:transparent;color:#635a4c;padding:10px 13px;font-size:11px;flex:1;border-radius:3px}.select-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:14px 1px;font-size:12px}.select-row select{border:0;background:transparent;color:#776a5a;text-align:right;padding:6px}.toggle{cursor:pointer;display:inline-flex}.toggle input{position:absolute;opacity:0}.toggle-track{width:43px;height:24px;border-radius:20px;background:#ccc8bb;position:relative;transition:.2s}.toggle-track:before{content:'';display:block;position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:100%;background:white;transition:.2s}.toggle input:checked+.toggle-track{background:#7a9688}.toggle input:checked+.toggle-track:before{transform:translateX(19px)}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d8cfbe;padding:1px;margin-bottom:27px}.stat-grid>div{background:#f3eadc;padding:18px 15px;display:flex;flex-direction:column}.stat-grid span{font-size:10px;color:#787a70}.stat-grid strong{font:28px/1.6 var(--serif);color:#344b49;margin:10px 0 1px}.stat-grid strong small{font-size:13px}.stat-grid small{font-size:10px;color:#9b9588}.bar-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;height:171px;padding:18px 3px 5px;border-bottom:1px solid #d0c9bb}.bar-unit{display:flex;align-items:center;flex-direction:column;gap:7px;justify-content:flex-end;height:100%;position:relative}.bar-unit .bar-body{width:26px;max-width:100%;min-height:2px;background:linear-gradient(#c2a282,#ab866a);border-radius:2px 2px 0 0}.bar-unit .bar-body.no-data{background:#ddd5c8;height:2px!important}.bar-unit label{font-size:9px;color:#89877b}.bar-tooltip{font-size:9px;color:#7e776c;white-space:nowrap}.record-actions{display:flex;gap:9px;margin-top:22px}.alarm-panel{background:#ece3d3;padding:20px 18px}.alarm-head{display:flex;justify-content:space-between;color:#77776a;font-size:12px}.alarm-head span:last-child{font-size:22px;color:#bb946c}.alarm-panel input[type=time]{display:block;width:100%;font:46px/1.5 var(--serif);color:var(--ink);border:0;background:transparent;padding:8px 0}.alarm-toggle{display:flex;align-items:center;gap:8px;font-size:11px;margin:5px 0 15px}.alarm-toggle input{accent-color:#708977}.alarm-caution{font-size:10px;line-height:1.8;color:#93604a;border-top:1px solid #d7cbb7;margin:15px 0 0;padding-top:10px}.weather-panel{padding:3px 0}.weather-panel label{display:block;font-size:11px;margin-bottom:8px}.weather-search{display:flex;border-bottom:1px solid #bca993}.weather-search input{border:0;min-width:0;background:transparent;flex:1;padding:10px 2px;outline:0}.weather-search button{border:0;background:transparent;color:#996d49;padding:0 4px}.weather-result{padding:17px 0 10px;color:#697469;font-size:12px}.weather-panel small{font-size:10px;color:#a09a8f}.weather-panel a{color:#936d50}.weather-large{display:flex;align-items:center;gap:13px}.weather-large span:first-child{font-size:32px;color:#b4845f}.weather-large strong{display:block;font:19px var(--serif)}.weather-large small{display:block;color:#979084}.tips-list{display:grid;gap:10px}.tip-card{padding:16px 15px;border:1px solid #d8cfc1}.tip-card span{display:block;font:9px Georgia,serif;color:#b4825d;letter-spacing:.1em}.tip-card strong{display:block;margin:6px 0 5px;font:15px var(--serif)}.tip-card p{font-size:11px;color:#76776e;margin:0;line-height:1.9}.settings-closer{text-align:center;margin:40px 0 10px;color:#9f7f62}.settings-closer span{font-size:22px}.settings-closer p{font:12px/2 var(--serif);color:#74786e}.sleep-layer{position:fixed;inset:0;max-width:460px;margin:auto;z-index:20;color:#e9e6d5;display:flex;align-items:center;justify-content:space-between;flex-direction:column;padding:calc(25px + env(safe-area-inset-top)) 26px calc(28px + env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 28%,#2b4145 0%,#1b3035 45%,#11262a 100%);overflow:hidden}.sleep-layer.is-dim{background:#050b0d}.sleep-back{position:absolute;top:calc(26px + env(safe-area-inset-top));right:24px;z-index:2;background:none;color:#dccfb5;border:0;font-size:23px;line-height:1}.sleep-sky{position:absolute;width:320px;height:320px;top:10%;left:50%;transform:translateX(-50%);display:grid;place-items:center;opacity:.92}.sleep-moon{width:131px;height:131px;border-radius:50%;background:#e5cc9f;box-shadow:0 0 65px 18px #d8c69e1c, inset -23px 14px 0 #d5c2970d;animation:breath 14s ease-in-out infinite alternate}.sleep-orbit{position:absolute;border:1px solid #d6c7a328;border-radius:49% 51% 46% 54%;width:280px;height:280px;animation:orbit 55s linear infinite}.orbit-two{width:330px;height:330px;transform:rotate(20deg);border-color:#e0dbbb10;animation-duration:80s}.floating-dot{position:absolute;background:#ddcbaa;border-radius:50%;width:3px;height:3px;animation:stars 9s ease-in-out infinite alternate}.d1{top:42px;left:24px}.d2{bottom:64px;right:14px}.d3{top:10px;right:66px;width:2px;height:2px}@keyframes breath{to{transform:scale(1.055);box-shadow:0 0 80px 29px #d8c69e29}}@keyframes orbit{to{transform:rotate(360deg)}}.sleep-center{z-index:1;text-align:center;margin-top:190px}.sleep-eyebrow{font:9px Georgia,serif;letter-spacing:.22em;color:#c4ad8b}.sleep-center h2{font:normal 27px var(--serif);letter-spacing:.07em;margin:19px 0 6px}.sleep-center>p{color:#c9c9b8;font:12px var(--serif)}.sleep-line{width:38px;height:1px;background:#b89d75;margin:25px auto}.sleep-running{font-size:10px;color:#b4bdb4}.sleep-running strong{display:block;font:24px Georgia,serif;letter-spacing:.11em;color:#ede6d5;margin-top:4px}.sleep-bottom{z-index:1;align-self:stretch;text-align:center}.sleep-bottom>p:first-child{font:11px var(--serif);color:#c1c0ac}.wake-button{width:100%;background:#eee1c7;border:0;border-radius:3px;color:#2b3f40;padding:16px 15px;display:flex;justify-content:space-between;font-size:12px;margin-top:12px}.dim-button{background:none;border:0;color:#bfb9a5;margin-top:17px;font-size:11px;border-bottom:1px solid #857d6d;padding-bottom:4px}.sleep-caveat{font-size:9px;line-height:1.5;color:#969f98;margin:15px 0 0}.sleep-layer.is-dim .sleep-sky,.sleep-layer.is-dim .sleep-center{opacity:.07}.dialog-backdrop{position:fixed;inset:0;background:#152528b8;z-index:30;display:flex;align-items:flex-end;justify-content:center}.wake-dialog,.alarm-dialog{background:var(--paper);padding:26px 29px calc(30px + env(safe-area-inset-bottom));width:min(460px,100%);color:var(--ink);max-height:90dvh;overflow:auto}.dialog-ornament{font:30px var(--serif);color:#b78860}.wake-dialog h2,.alarm-dialog h2{font:normal 27px var(--serif);margin:6px 0}.wake-dialog p{font:12px var(--serif);color:#848278}.wake-duration{font:36px var(--serif);color:#38534c;margin:15px 0 21px;border-bottom:1px solid var(--line);padding-bottom:14px}.wake-dialog label{display:block;font-size:11px;margin:13px 0 4px}.wake-dialog select{border:0;border-bottom:1px solid var(--line);width:100%;background:transparent;padding:7px 0;color:var(--ink)}.wake-dialog .primary-action{margin-top:22px}.dialog-cancel{width:100%;background:none;border:0;margin-top:12px;color:#7d8077;font-size:11px;padding:10px}.alarm-dialog{text-align:center}.alarm-dialog .primary-action{margin-top:23px;justify-content:center}.toast{position:fixed;top:calc(23px + env(safe-area-inset-top));left:50%;transform:translateX(-50%) translateY(-130px);background:#263f3b;color:#f9efd9;border-radius:3px;padding:12px 22px;font-size:12px;z-index:60;max-width:min(390px,90vw);box-shadow:0 10px 30px #0004;transition:transform .25s;pointer-events:none;text-align:center}.toast.show{transform:translateX(-50%) translateY(0)}@media(min-width:620px){.app-shell{margin:30px auto;min-height:820px;border-radius:8px}.bottom-nav{border-radius:0 0 8px 8px}.sleep-layer{max-height:100dvh}}@media(max-width:360px){.masthead,.screen{padding-left:19px;padding-right:19px}.hero h1{font-size:28px}.hero{min-height:350px}.hero-content{min-height:350px}.nav-item{font-size:8px}.bar-chart{gap:3px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.journal-date-select{display:flex;align-items:center;justify-content:space-between;margin:-6px 0 18px;font-size:11px;color:#8a8475}.journal-date-select input{background:transparent;border:0;border-bottom:1px solid #cec5b7;color:#4e6058;padding:7px 0;font-size:12px;max-width:150px}.sleep-bottom #resume-audio{display:block;margin:13px auto 0;color:#eccdab;border-bottom-color:#bb9677}

/* ── HYUMORA / SOMNIA v0.2: editorial, warm, social-first visual language ── */
:root{--paper:#fff9f3;--paper-2:#fff0e9;--ink:#392f3d;--muted:#8b7a83;--line:#edddd5;--forest:#513956;--gold:#ea7c69;--gold-soft:#ffc4ae;--white:#fffdf8;--serif:'Hiragino Mincho ProN','Yu Mincho',serif;--sans:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
html{background:#e5dbda}body{color:var(--ink);font:14px/1.6 var(--sans)}
.app-shell{background:#fffaf7;background-image:none;box-shadow:0 10px 65px #402f3920;overflow:hidden}
.masthead{padding:18px 21px 15px;min-height:76px;background:#fffaf7;position:relative;z-index:3}
.brand-lockup{gap:8px}.brand-symbol{font:27px/1 var(--sans);color:#ef826a;width:33px;height:33px;display:grid;place-items:center;background:#ffe7d3;border-radius:11px;transform:rotate(-12deg)}
.brand-lockup strong{font:900 21px/1 var(--sans);letter-spacing:-.065em;color:#3b2948}.brand-period{color:#f58c78}.brand-lockup small{font-size:8px;letter-spacing:.13em;margin-top:4px;color:#928391}.brand-lockup small b{color:#7a576f;font-weight:900}
.masthead-side{gap:9px;font-size:10px;color:#95848e}.top-sun{background:#ffe8cf;color:#7b4968;border:0;width:32px;height:32px;border-radius:50%;font-size:19px;display:grid;place-items:center}
.screen{padding:0 20px 26px;min-height:calc(100dvh - 160px);animation:screen-in .28s ease}
.greeting{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;padding:10px 2px 18px}.greeting-kicker{font-size:9px;font-weight:800;color:#e28a76;letter-spacing:.17em}.greeting h1{margin:4px 0 0;font-size:26px;letter-spacing:-.06em;font-weight:850;line-height:1.2;color:#473450}.greeting-wave{font-size:21px;color:#f09b8a;margin-left:6px}.greeting>p{font-size:10px;color:#a18d9b;margin:0 0 3px;white-space:nowrap}
.stories-bar{display:flex;justify-content:space-between;gap:8px;margin:0 -3px 17px}.story-item{flex:1;min-width:0;border:0;background:none;padding:0;color:#655364;display:flex;flex-direction:column;align-items:center;gap:6px}.story-item strong{font-size:10px;font-weight:600;white-space:nowrap}.story-ring{width:min(15vw,60px);height:min(15vw,60px);max-width:60px;max-height:60px;min-width:47px;min-height:47px;display:grid;place-items:center;border-radius:50%;border:2px solid #e6a8a2;padding:4px;transition:transform .2s}.story-ring>span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;font-size:22px;color:#68405d}.story-ring.warm{background:#fff3ec;border-color:#e77371}.story-ring.warm>span{background:#ffc6af}.story-ring.butter{background:#fff6de;border-color:#f3c78d}.story-ring.butter>span{background:#ffe6a7}.story-ring.lilac{background:#f9efff;border-color:#cba3d4}.story-ring.lilac>span{background:#e9d5f0}.story-ring.mint{background:#eff8ed;border-color:#a5bca1}.story-ring.mint>span{background:#d9ebd6}.story-ring.gray{background:#f1f0f5;border-color:#c7bdca}.story-ring.gray>span{background:#ded8e2}.story-item:active .story-ring{transform:scale(.92)}
.feed-head{display:flex;justify-content:space-between;align-items:center;padding:0 2px;margin:12px 0 11px;font-size:12px;color:#47364c}.feed-head>div{display:flex;align-items:center;gap:8px}.feed-head strong{font-size:12px;letter-spacing:-.02em;font-weight:800}.feed-head>span{color:#b09eaa;font-size:10px}.feed-dot{width:9px;height:9px;background:#ae94cc;border-radius:50%}.feed-dot.peach{background:#f19579}
.hero{background:#57435e;border-radius:18px;min-height:450px;box-shadow:0 12px 25px #67405d22}.night-art{inset:0}.sky-svg{height:100%;width:100%;object-fit:cover}.hero-content{padding:18px 18px 18px;min-height:450px;background:linear-gradient(to bottom,#281f3200 0%,#221b2c00 38%,#241c34a0 65%,#271d32cf 96%)}
.hero-top{display:flex;justify-content:space-between;gap:4px;font:800 9px var(--sans);letter-spacing:.09em;color:#fff4e4}.hero-top span:first-child{background:#fff4e4;color:#65435f;border-radius:20px;padding:6px 10px}.hero-top span:last-child{padding-top:6px;font-size:8px}
.hero-text{margin-top:auto;color:#fff7e8;text-shadow:0 1px 12px #3e264599}.hero-kicker{font:700 11px var(--sans);margin:0 0 7px;color:#ffe4ba;letter-spacing:.07em}.hero-text h2{font:900 clamp(25px,6.8vw,33px)/1.4 var(--sans);letter-spacing:-.08em;margin:0;color:#fff6ec}.hero-text h2 em{color:#ffcc9f;font-style:normal}.hero-sub{font:10px/1.8 var(--sans);margin:9px 0 13px;color:#fbe7dc;letter-spacing:.03em}
.sleep-cta{background:#ffbeaa;color:#4c304c;border-radius:12px;padding:13px 15px;font-size:12px;font-weight:900;box-shadow:0 3px 0 #b77d7b;letter-spacing:0}.sleep-cta:hover{background:#ffd4ba}.cta-moon{font-size:19px}.cta-arrow{font-size:20px}
.feature-heading{margin-top:23px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.feature-tile{position:relative;min-height:200px;overflow:hidden;border:none;border-radius:15px;display:flex;flex-direction:column;text-align:left;padding:14px 15px 13px;color:#4c3854}.diary-tile{background:#f8d0c0}.sound-tile{background:#d9d4ee}.feature-top{display:flex;justify-content:space-between;font:700 10px var(--sans);opacity:.83}.feature-top b{font:21px var(--serif);line-height:1}.feature-art{position:absolute;right:13px;top:36px;font:70px/1 var(--serif);color:#f3b59a;text-shadow:6px 6px #ffffff75;transform:rotate(-15deg)}.feature-art.vinyl{color:#5a4f80;font-size:90px;right:0;top:24px;transform:rotate(18deg);text-shadow:5px 5px #ad9fc6}.feature-copy{margin-top:auto;z-index:1}.feature-copy strong{display:block;font-size:17px;line-height:1.45;font-weight:900;letter-spacing:-.05em}.feature-copy small{display:block;margin-top:12px;font-size:10px;font-weight:700;opacity:.74}
.quick-strip{display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0e0dc;padding:17px 1px;font-size:12px;color:#605263}.quick-strip-icon{font-size:19px;width:26px;color:#d8847d}.quick-strip button{background:none;border:0;margin-left:auto;display:flex;align-items:center;gap:13px;color:#6d496c}.quick-strip button strong{font-size:13px}.quick-strip button span{font-size:20px}.home-footnote{color:#b4a3ac;font-size:9px}
.bottom-nav{position:sticky;bottom:0;padding:6px 10px max(9px,env(safe-area-inset-bottom));background:#fffaf7;border-top:1px solid #f1e5e0;box-shadow:0 -6px 20px #46243808}.nav-item{color:#a69aa8;font-weight:700;font-size:9px;gap:3px}.nav-icon{height:29px;font:24px/1.15 var(--sans)}.nav-item.active{color:#bd6986}.nav-item.active .nav-icon{color:#ca6880}
.page-title{margin:9px 0 20px}.page-title .eyebrow{color:#ce8690}.page-title h2{font:900 29px/1.4 var(--sans);letter-spacing:-.075em;color:#503753}.page-title h2 em{font-style:normal;color:#db8a7f}.page-title>p{font:12px/1.8 var(--sans);color:#968a91}
.segmented{background:#f7e9eb;border-radius:14px;padding:4px}.segment{border-radius:10px;font-weight:700}.segment.is-selected{background:#fffaf7;color:#ba6f86;box-shadow:0 1px 5px #6a425a11}
.journal-date-select{color:#9d8593}.journal-date-select input{color:#9e6380;border-color:#eed2d2}.journal-date{border-color:#ead8d7;color:#d48b89}.field-label{color:#6f5569}.paper-input,.paper-select{border-color:#e9d5d5}.lined-textarea{background:repeating-linear-gradient(to bottom,transparent 0,transparent 33px,#f0ded7 34px,#f0ded7 35px)}.mood-options button{border-color:#edcfc8;color:#cb9498}.mood-options button.active{background:#f7c6c0;border-color:#db9894;color:#7e556a}.primary-action{background:#755376;border-radius:13px;font-weight:800}.dream-hint{background:#fcece9;border-color:#e99e98;color:#8a6d79}.fortune-action{border-color:#d6b5c3;border-radius:12px;color:#966b88}.fortune-result{background:#f9ebe9;border-color:#deaba6}.history-entry{border-color:#f0e0e0}.history-marker{color:#d77f8e!important}
.section-break{margin-top:32px}.section-illustration{height:200px;position:relative;border-radius:16px;background:#d6c9e3;overflow:hidden;display:flex;align-items:center;justify-content:center}.record-illustration>span{font:100px var(--serif);color:#ffdbc3;transform:rotate(-16deg);position:absolute;left:25px;top:19px}.record-disc{width:156px;height:156px;border-radius:50%;background:repeating-radial-gradient(circle at center,#362a48 0 7px,#544660 7px 8px,#372948 8px 13px);border:8px solid #4e3b5b;box-shadow:8px 11px 0 #9885ae44;position:absolute;right:24px;top:24px;display:grid;place-items:center}.record-disc i{width:50px;height:50px;background:#ffb6a0;border:13px solid #ecb38f;border-radius:50%;display:block}.record-illustration>p{position:absolute;bottom:14px;left:20px;font-size:15px;line-height:1.1;font-weight:1000;letter-spacing:-.04em;color:#50354b}.record-illustration>p small{font-size:8px;letter-spacing:.07em;font-weight:700}
.curated-track-list{margin:5px 0 8px}.curated-track{display:flex;align-items:center;gap:11px;padding:12px 1px;border-bottom:1px solid var(--line)}.curated-track .track-number{font:11px Georgia,serif;color:#b79aa6}.track-cover{width:48px;height:48px;border-radius:8px;background:#efbfae;display:grid;place-items:center;font-size:27px;color:#7a4f70}.track-info{flex:1;min-width:0}.track-info strong{font-size:13px;display:block}.track-info small{font-size:9px;color:#a88e9e}.curated-track input{accent-color:#c68093}
.coming-soon{border:1px dashed #dfcbd3;background:#fff7f6;border-radius:14px;padding:15px;display:flex;align-items:center;gap:15px}.coming-art{flex:0 0 68px;width:68px;height:75px;background:#f6d4dc;color:#985b89;border-radius:11px;display:grid;place-items:center;font-size:35px;transform:rotate(-6deg)}.coming-soon span{font:800 9px var(--sans);letter-spacing:.14em;color:#b984a0}.coming-soon strong{display:block;font-size:13px;margin-top:3px}.coming-soon p{font-size:10px;line-height:1.7;color:#a68d9a;margin:5px 0 0}
.sound-slider input[type=range]{accent-color:#cb859f}.slider-top b{color:#bd7b92}.secondary-action{border:1px solid #dcbccf;background:#fff7fa;color:#915873;border-radius:12px;font-weight:800;padding:11px}.secondary-action.wide{width:100%;margin-top:9px}.select-row{border-color:#eedde7}.voice-banner{display:flex;align-items:center;gap:13px;background:#f7e5e9;border-radius:13px;padding:13px}.voice-banner-graphic{width:65px;height:65px;border-radius:50%;background:#d5b9d2;color:#684c7d;display:grid;place-items:center;font-size:25px;position:relative}.voice-banner-graphic span{position:absolute;right:6px;top:4px;font-size:16px;color:#f3dac4}.voice-banner strong{font-size:13px;color:#624865}.voice-banner p{margin:4px 0 0;font-size:10px;color:#957d91}.toggle input:checked+.toggle-track{background:#b775a2}
.stat-grid{background:#edcfdc}.stat-grid>div{background:#fae9ec;border-radius:8px}.stat-grid strong{color:#804b73}.bar-unit .bar-body{background:linear-gradient(#e7a2b2,#bb7da4)}.alarm-panel{background:#f7eaee;border-radius:15px}.alarm-head{color:#997989}.alarm-panel input[type=time]{color:#66466d}.weather-search button{color:#b7738f}.tip-card{border:1px solid #eedce2;border-radius:12px}.tip-card span{color:#c7869a}.settings-closer{color:#c78d8e}
.sleep-layer{background:radial-gradient(ellipse at 50% 30%,#66516c 0%,#3c2d4d 50%,#241f36 100%);color:#fff1e5}.sleep-moon{background:#f9cda9;box-shadow:0 0 65px 18px #f8a9ab25;animation:breath 14s ease-in-out infinite alternate}.sleep-center h2{font-family:var(--sans);font-weight:800}.wake-button{background:#f5c1b1;border-radius:13px;color:#4e354f;font-weight:800}.sleep-layer.is-dim{background:#090612}.sleep-caveat{color:#bbaaba}.sleep-bottom p:first-child{color:#e9c8d2}.sleep-running strong{color:#fff4ef}.sleep-eyebrow{color:#e2b8cb}
.dialog-backdrop{background:#301c39ba}.wake-dialog,.alarm-dialog{background:#fffaf7;border-radius:22px 22px 0 0}.wake-duration{color:#865d8a}.toast{background:#674766;border-radius:14px}
@media(max-width:360px){.masthead,.screen{padding-left:16px;padding-right:16px}.hero,.hero-content{min-height:420px}.feature-copy strong{font-size:15px}.story-ring{min-width:44px;min-height:44px}.greeting h1{font-size:23px}.hero-text h2{font-size:25px}}
@media(min-width:620px){.app-shell{margin:25px auto;border-radius:19px}.bottom-nav{border-radius:0 0 19px 19px}}

.studio-return{display:block;text-align:center;color:#fff;background:#24383b;font:600 13px/1.5 system-ui,sans-serif;padding:7px 12px;text-decoration:none}.studio-return:focus-visible,.studio-return:hover{text-decoration:underline}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
