/* Full-viewport feed. Scene art and personal data stay local. */
:root{color-scheme:light;--paper:#f7f6f2;--ink:#292e29;--muted:#73766d;--line:#ddded6;--accent:#53634a;--serif:Georgia,'Times New Roman',serif;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}button,a,select,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;min-height:44px}a{color:inherit}button:disabled{opacity:.3;cursor:default}button,a,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,article:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:hover:not(:disabled){color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;padding:0;border-radius:50%}.icon-button:hover:not(:disabled){background:#292e2908}.brand-short{display:none}
.site-header{position:fixed;top:0;left:0;right:0;height:calc(96px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 48px 0;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;z-index:3;pointer-events:none}.site-header>*{pointer-events:auto}.brand{font:29px var(--serif);text-decoration:none;letter-spacing:-1.4px;justify-self:start;white-space:nowrap}.brand-dot{color:#718064}.feed-tabs{justify-self:center;display:flex;gap:32px;align-items:center;height:100%}.feed-tabs button{font-size:13px;position:relative;padding:0 2px;color:#65705e;height:100%;white-space:nowrap}.feed-tabs button[aria-current=page]{color:var(--ink)}.feed-tabs button[aria-current=page]:after{content:'';height:2px;width:16px;background:var(--ink);position:absolute;bottom:23px;left:calc(50% - 8px)}#saved-count{font-size:9px;display:inline-flex;width:17px;height:17px;border-radius:50%;background:#ffffff60;align-items:center;justify-content:center;margin-left:5px;color:var(--ink);font-variant-numeric:tabular-nums}.context-button{justify-self:end;display:flex;align-items:center;gap:15px;font-size:12px;padding:0}.context-button .icon{width:19px;height:19px}
main,.experience{position:fixed;inset:0;height:100vh;height:100dvh;width:100%;overflow:hidden}
.scene{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;isolation:isolate;background:#171611;touch-action:none;user-select:none}.scene::after{content:"";position:absolute;inset:0;pointer-events:none}
.card-top{position:absolute;left:48px;bottom:220px;display:flex;gap:14px;align-items:center;z-index:1;color:#f5f4ec;font-size:10px;letter-spacing:1.6px;text-transform:uppercase}#quote-index{order:-1;font-size:10px;opacity:.7;font-variant-numeric:tabular-nums}.quote-body{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);width:min(70%,800px);text-align:center;z-index:1;color:#28362c}blockquote{font:clamp(44px,4.8vw,72px)/1.15 var(--serif);font-weight:400;letter-spacing:-2px;text-wrap:balance;margin:0}.attribution{font-size:9px;letter-spacing:2px;line-height:1.8;margin:32px 0 0;color:#53604f}.attribution span{margin:0 9px}.card-bottom{position:absolute;left:48px;bottom:150px;width:220px;color:#f8f7f1;z-index:1}.reading{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.2px;gap:8px}.reading-text{display:flex;gap:9px;align-items:center}.reading-dot{width:4px;height:4px;border-radius:50%;background:#d5dcb9;flex-shrink:0}.reading .icon-button{width:44px;height:44px;margin-right:-10px}.reading .icon{width:15px;height:15px}.reading .icon-button:hover{color:#fff;background:#ffffff12}.reading .icon-button:focus-visible{outline-color:#f7f6f2}.track{height:1px;background:#ffffff50;margin-top:3px}#progress{height:100%;width:0;background:#f5f3e4}
.toolbar{display:contents}.actions{position:fixed;right:38px;bottom:252px;display:flex;flex-direction:column;gap:18px;z-index:3}.tool-button,.reflect-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:0;width:56px;min-height:62px;font-size:10px;color:#f7f6f2;letter-spacing:.2px;text-shadow:0 1px 6px #15251b55}.tool-button .icon,.reflect-button>.icon{width:48px;height:48px;flex-shrink:0;padding:13px;border-radius:50%;color:#29382e;background:#f7f6f2e6;border:1px solid #ffffff35;text-shadow:none}.tool-button:hover:not(:disabled),.reflect-button:hover:not(:disabled){color:#fff}.tool-button:hover .icon,.reflect-button:hover>.icon{background:#fff}.tool-button[aria-pressed=true] .icon{color:var(--accent)}#like[aria-pressed=true] use,#save[aria-pressed=true] use{fill:currentColor}.reflect-button{position:fixed;right:38px;bottom:170px;z-index:3}.feedback-dot{width:5px;height:5px;background:#96b47f;border:1px solid #f7f6f2;border-radius:50%;position:absolute;right:9px;top:5px}.page-navigation{position:fixed;right:38px;bottom:64px;display:flex;gap:8px;z-index:3}.page-button{width:48px;height:48px;display:grid;place-items:center;border:1px solid #f7f6f270;border-radius:50%;color:#f7f6f2;background:#1f382b22;backdrop-filter:blur(12px)}.page-button:hover:not(:disabled){background:#ffffff24;color:#fff}.page-button .icon{width:20px;height:20px}.page-button:focus-visible,#undo:focus-visible,footer button:focus-visible{outline-color:#f7f6f2}#undo{position:fixed;left:38px;bottom:64px;z-index:3;color:#f7f6f2;background:#1f382b22;backdrop-filter:blur(12px);border:1px solid #f7f6f250}#undo:hover:not(:disabled){color:#fff;background:#ffffff24}.gesture-hint{position:fixed;bottom:78px;left:50%;transform:translateX(-50%);margin:0;display:flex;gap:10px;align-items:center;color:#f7f6f2b8;z-index:2;font-size:10px;letter-spacing:.3px;white-space:nowrap;pointer-events:none}.gesture-hint .icon{width:12px;height:12px}footer{position:fixed;bottom:14px;left:48px;right:38px;z-index:3;display:flex;justify-content:space-between;align-items:center;pointer-events:none;color:#f7f6f2a8;font-size:8px;letter-spacing:1px}footer>div{display:flex;align-items:center;gap:14px;pointer-events:auto}footer button{font-size:10px;padding:0;min-height:32px;letter-spacing:0}footer button:hover:not(:disabled){color:#fff}.footer-divider{opacity:.4}
dialog{color:var(--ink);background:var(--paper);border:1px solid #dedfd6;border-radius:8px;padding:40px;width:calc(100% - 28px);max-width:480px;max-height:90dvh;box-shadow:0 24px 100px #1b231a18}dialog::backdrop{background:#18231955;backdrop-filter:blur(6px)}dialog .eyebrow{margin-top:16px;color:var(--accent)}dialog h2{font:38px/1.1 var(--serif);letter-spacing:-1.4px;margin:22px 0 18px;font-weight:400}dialog h2 em{font-weight:400}dialog p{color:#677060;font-size:12px;line-height:1.8}dialog label{display:block;font-size:11px;margin:22px 0 0;line-height:1.5}dialog label span{color:var(--muted);font-size:10px}select,textarea{display:block;width:100%;font:12px/1.5 'Helvetica Neue',Arial,sans-serif;color:var(--ink);background:#eeefe8;border:1px solid #d7dbce;border-radius:3px;padding:11px 10px;margin-top:8px;min-height:44px}textarea{height:74px;resize:vertical;max-height:180px}textarea::placeholder{color:#757d6e}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.close{float:right;margin:-20px -20px 0 5px}.close .icon{width:18px;height:18px}.primary{display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:var(--paper);border-radius:3px;min-height:48px;padding:13px 18px;width:100%;font-size:12px;margin-top:28px}.primary:hover:not(:disabled){background:var(--accent);color:#fff}.text-button{display:block;font-size:11px;padding:12px 0;color:var(--muted);margin:5px auto 0}.saved-item{font:22px/1.45 var(--serif);letter-spacing:-.4px;border-bottom:1px solid var(--line);text-align:left;width:100%;padding:22px 0}.share-preview{width:100%;border-radius:3px;margin-top:12px}
dialog{overscroll-behavior:contain}dialog.reflection-panel{position:fixed;inset:auto 0 0;max-width:520px;margin:0 auto;border-radius:18px 18px 0 0;padding-bottom:calc(35px + env(safe-area-inset-bottom))}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:500;color:var(--muted)}.feedback-group{margin-top:26px}.feedback-group+.feedback-group{padding-top:24px;border-top:1px solid var(--line)}.feedback-group h2{font:23px var(--serif);margin:0 0 8px;letter-spacing:-.5px}.feedback-group p{font-size:12px;line-height:1.6;margin:0 0 15px}.choice-row{display:flex;gap:9px}.choice-row button{font-size:12px;padding:0 18px;border:1px solid #b9c1b0;border-radius:4px;min-height:44px}.choice-row button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}#status,#gesture-feedback{position:fixed;top:calc(110px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:12px 18px;background:#29372cf0;color:#f7f6f2;font-size:11px;line-height:1.6;border-radius:30px;z-index:5;pointer-events:none;opacity:0;transition:opacity .15s;max-width:calc(100vw - 32px);width:max-content;text-align:center}#status.show{opacity:1}#gesture-feedback{top:calc(170px + env(safe-area-inset-top));background:#f7f6f2eb;color:var(--ink);font-size:15px;opacity:1;border:1px solid #ffffff65}
@media(max-width:700px){.site-header{height:calc(86px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 22px 0;grid-template-columns:1fr auto 1fr;gap:15px}.brand{font-size:25px;letter-spacing:-1.3px}.feed-tabs{gap:22px}.feed-tabs button{font-size:12px}.feed-tabs button[aria-current=page]:after{bottom:19px;width:12px;left:calc(50% - 6px)}#saved-count{width:15px;height:15px;font-size:8px;margin-left:3px}.context-button{width:44px;height:44px;justify-content:center}.context-button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.quote-body{top:40%;left:26px;transform:translateY(-50%);width:calc(100% - 110px);text-align:left;max-width:450px}blockquote{font-size:clamp(28px,8.5vw,42px);line-height:1.17;letter-spacing:-1px;text-wrap:pretty}.attribution{font-size:8px;letter-spacing:1.1px;margin-top:26px;max-width:220px}.attribution span{margin:0 5px}.card-top{left:26px;bottom:calc(220px + env(safe-area-inset-bottom));font-size:9px;gap:10px}.card-bottom{left:26px;bottom:calc(152px + env(safe-area-inset-bottom));width:176px}.reading{font-size:10px}.actions{right:13px;bottom:calc(258px + env(safe-area-inset-bottom));gap:16px}.tool-button,.reflect-button{width:52px;font-size:10px;gap:7px;min-height:60px}.tool-button .icon,.reflect-button>.icon{width:46px;height:46px;padding:12px}.reflect-button{right:13px;bottom:calc(180px + env(safe-area-inset-bottom))}.page-navigation{right:17px;bottom:calc(78px + env(safe-area-inset-bottom));gap:9px}.page-button{width:44px;height:44px}#undo{left:22px;bottom:calc(78px + env(safe-area-inset-bottom))}.gesture-hint{bottom:calc(48px + env(safe-area-inset-bottom));font-size:9px;gap:8px}.gesture-hint .icon{width:11px;height:11px}footer{left:26px;right:22px;bottom:calc(7px + env(safe-area-inset-bottom));font-size:7px}footer button{font-size:9px}footer>div{gap:10px}dialog{padding:30px;max-height:88dvh}dialog h2{font-size:34px}dialog .eyebrow{margin-top:12px}.close{margin:-15px -15px 0 5px}.form-columns{gap:10px}select{font-size:12px}#status{top:calc(96px + env(safe-area-inset-top))}}
@media(max-width:360px){.brand-full{display:none}.brand-short{display:inline}.site-header{gap:12px;padding-inline:20px}.feed-tabs{gap:22px}.quote-body{left:22px;width:calc(100% - 100px)}.attribution{font-size:7px;letter-spacing:.8px}.card-top,.card-bottom{left:22px}.card-bottom{width:160px}}
@media(max-height:660px){.site-header{height:70px}.feed-tabs button[aria-current=page]:after{bottom:12px}.quote-body{top:39%}blockquote{font-size:clamp(26px,5.2vh,40px)}.attribution{margin-top:18px}.actions{bottom:190px;gap:7px}.tool-button,.reflect-button{min-height:52px;gap:4px;font-size:9px}.tool-button .icon,.reflect-button>.icon{width:40px;height:40px;padding:10px}.reflect-button{bottom:126px}.card-top{bottom:180px}.card-bottom{bottom:112px}.page-navigation,#undo{bottom:55px}.gesture-hint{bottom:29px;font-size:8px}footer{bottom:0}footer button{min-height:26px}.reading{font-size:9px}#status{top:78px}.form-columns{grid-template-columns:1fr 1fr}dialog{max-height:90dvh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-height:500px){.attribution{display:none}.card-top{bottom:150px}.card-bottom{bottom:88px}.actions{bottom:172px}.reflect-button{bottom:106px}.page-navigation,#undo{bottom:46px}.gesture-hint{bottom:24px}.quote-body{top:39%}blockquote{font-size:26px}}

/* Polish: softer scene changes, readable state labels, quiet collection cards. */
.quote-content{transition:transform .24s ease-out,opacity .24s ease-out}.is-dragging .quote-content{transition:none}
.tool-button>span,.reflect-button>span:not(.feedback-dot){font-size:10px;line-height:1.35;letter-spacing:.1px;color:#f7f6f2;background:#20382ee8;text-shadow:none;padding:2px 7px;border-radius:12px}
.tool-button[aria-pressed=true]>.icon{background:#e8eddf;border-color:#f7f6f2}.tool-button>.icon,.reflect-button>.icon{transition:background .2s ease,box-shadow .2s ease;box-shadow:0 2px 12px #162b2010}
#undo{width:auto;min-width:78px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border-radius:24px;font-size:11px}#undo .icon{width:17px;height:17px}#undo:disabled{visibility:hidden}
.gesture-hint{transition:opacity .4s ease}.gesture-hint.is-complete{opacity:0;visibility:hidden}
.sheet-grip{position:absolute;top:0;left:50%;transform:translateX(-50%);width:84px;min-height:44px;display:grid;place-items:center;touch-action:none;cursor:grab;padding:0}.sheet-grip span{width:32px;height:3px;border-radius:3px;background:#b5bdac}.sheet-grip:active{cursor:grabbing}.reflection-panel{transition:transform .22s ease-out}.reflection-panel.sheet-dragging{transition:none}
dialog[open]{animation:sheet-appear .2s ease-out}@keyframes sheet-appear{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
.recommendation-reason{border-left:2px solid #acb99c;padding-left:13px;margin-top:22px;font-size:11px}
.scene-preferences{border-top:1px solid var(--line);margin-top:25px;padding-top:5px}.scene-preferences summary{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;cursor:pointer;min-height:44px;list-style:none}.scene-preferences summary::-webkit-details-marker{display:none}.scene-preferences summary>span{font-size:10px;color:var(--muted)}.scene-preferences summary:after{content:'+';font-size:16px;color:var(--accent)}.scene-preferences[open] summary:after{content:'−'}.scene-preferences .form-columns label{margin-top:5px}.scene-preferences p{font-size:10px;line-height:1.6;margin-bottom:0}
.saved-empty{padding:28px 0 0}.saved-empty>.icon{width:30px;height:30px;color:#7d8e6c}.saved-empty>p:first-of-type{font:25px/1.25 var(--serif);letter-spacing:-.6px;color:var(--ink);margin-top:22px}.saved-item{display:flex;gap:18px;align-items:center;padding:22px 0;font-size:19px}.saved-sample{display:block;width:48px;height:68px;flex-shrink:0;border-radius:3px;overflow:hidden;position:relative;background:#d5cbbb}.saved-copy{display:block}.saved-text{display:block}.saved-topic{display:block;font:9px/1.6 'Helvetica Neue',Arial,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#6d7965;margin-top:9px}
@media(max-width:700px){footer{font-size:8px}.saved-item{font-size:18px;gap:14px}.tool-button,.reflect-button{gap:6px}}

/* Daily Flow is an optional, finite ritual inside the same full-page feed. */
.daily-entry{position:fixed;top:calc(104px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:12px;min-height:42px;max-width:calc(100vw - 40px);padding:7px 15px;border:1px solid #ffffff80;border-radius:30px;background:#f7f6f29e;backdrop-filter:blur(14px);color:#344534;font-size:10px;white-space:nowrap;box-shadow:0 2px 16px #142c1605}.daily-entry-name{font-size:11px;font-weight:500;letter-spacing:.1px}#daily-progress{opacity:.8}.daily-entry[aria-pressed=true]{background:#f7f6f2df;border-color:#fff}.daily-dots{display:flex;gap:3px}.daily-dots i{width:11px;height:2px;background:#40533b25;border-radius:2px}.daily-dots i.visited{background:#829571}.daily-dots i.current{background:#344b30;height:3px}#status{top:calc(164px + env(safe-area-inset-top))}#gesture-feedback{top:calc(214px + env(safe-area-inset-top))}
.ritual-dialog{max-width:520px}.ritual-dialog h2{font-size:36px}.moment-summary{padding:16px;background:#e9eddf;border-radius:5px;margin:24px 0 2px;font-size:12px;line-height:1.6;color:#4e6043}.quiet-link{display:block;min-height:40px;font-size:11px;color:#6b7563;text-decoration:underline;text-underline-offset:4px;margin:0 auto;padding:5px}.journal-link{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;border-bottom:1px solid var(--line);padding:0 0 12px;width:100%;color:var(--accent)}
.daily-picks{display:grid;gap:8px;max-height:32dvh;overflow:auto;margin:22px 0 6px;padding:3px;overscroll-behavior:contain}.daily-pick{text-align:left;font:18px/1.35 var(--serif);letter-spacing:-.3px;padding:14px 16px;border:1px solid #d8ddcf;border-radius:5px;background:#f0f1ea}.daily-pick[aria-pressed=true]{border-color:#738b5e;background:#e3e9d9;box-shadow:inset 3px 0 #738b5e}.action-label textarea{height:86px}.ritual-dialog .takeaway-quote{font:26px/1.35 var(--serif);letter-spacing:-.6px;margin:25px 0;color:#33452d}.private-action{border-left:2px solid #a9b99a;padding:4px 0 4px 14px;white-space:pre-wrap;overflow-wrap:anywhere}.private-caption{font-size:10px!important}.outcome-choices{display:grid;gap:9px;margin:24px 0 8px}.outcome-choices button{min-height:48px;text-align:left;padding:12px 16px;border:1px solid #c9d2bf;border-radius:5px;background:#ecefe5;font-size:13px}.outcome-choices button:hover{background:#e0e7d7}.journal-item{padding:5px 0 20px;border-bottom:1px solid var(--line)}.journal-date{font-size:10px!important;letter-spacing:1px;margin-bottom:0}.journal-item .takeaway-quote{font-size:21px;margin-top:13px}.outcome-label{font-size:10px!important;color:var(--accent)!important}.journal-item .private-action{font-size:12px}.ritual-dialog> .close{position:sticky;top:-18px;background:var(--paper);z-index:1}.ritual-dialog .primary{margin-top:23px}
@media(max-width:700px){.daily-entry{top:calc(92px + env(safe-area-inset-top));gap:9px;padding:6px 13px;min-height:38px;font-size:9px}.daily-entry-name{font-size:10px}.daily-dots i{width:8px}.ritual-dialog h2{font-size:32px}.ritual-dialog .takeaway-quote{font-size:24px}.daily-pick{font-size:17px;padding:12px 13px}#status{top:calc(144px + env(safe-area-inset-top))}#gesture-feedback{top:calc(190px + env(safe-area-inset-top))}}
@media(max-height:660px){.daily-entry{top:73px;min-height:32px;padding-block:4px}.ritual-dialog h2{font-size:29px}.daily-picks{max-height:30dvh}.daily-pick{font-size:16px}.ritual-dialog{padding-top:25px}#status{top:116px}#gesture-feedback{top:160px}}
@media(max-width:360px){.daily-entry{gap:7px;padding-inline:11px}.daily-dots i{width:7px}}
.page-button.finish-step{background:#e5ecd8;color:#30442b;border-color:#f7f6f2}.page-button.finish-step:hover:not(:disabled){background:#f3f6ec;color:#30442b}
@media(max-height:660px) and (max-width:700px){.quote-body{top:44%}}

/* The personal check-in stays inside a single optional sheet. */
.focus-checkin{margin-top:22px}.focus-checkin label{margin:0 0 10px}.focus-checkin p{font-size:11px;line-height:1.6;margin:10px 0 4px;color:var(--muted)}
.library-preferences{border-top:1px solid var(--line);padding-top:5px;margin-top:25px}.library-preferences summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;cursor:pointer;font-size:12px;gap:12px}.library-preferences summary>span{font-size:10px;color:var(--muted)}.library-preferences p{font-size:11px;line-height:1.6}.check-label{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6}.check-label input{width:19px;height:19px;margin:0;accent-color:var(--accent);flex-shrink:0}.check-label span{color:var(--ink)}#adjust-match{margin:0 0 15px;padding-left:0;text-align:left}.recommendation-reason{margin-bottom:5px}

/* Keep every reviewed reflection readable within the reserved quote area. */
#quote{overflow-wrap:anywhere}

/* Signature category photography: one coherent visual family per editorial collection. */
:root{--paper:#f4efe5;--ink:#29241c;--muted:#6e6250;--accent:#725b34;--line:#d8cebd;background:#15130f}
.site-header{color:#f5efdf;border-bottom:1px solid #ead7ae19;background:linear-gradient(#12110fd9,#12110f00)}.brand{font-size:30px;letter-spacing:-1.2px}.brand-dot{color:#d5b985}.feed-tabs button{color:#e0d5c2}.feed-tabs button[aria-current=page]{color:#fff8e9}.feed-tabs button[aria-current=page]:after{background:#d9bf8e;height:1px;width:23px;left:calc(50% - 11px)}#saved-count{color:#f5efdf;background:#f5efdf16}.context-button{color:#f5efdf}.site-header button:hover:not(:disabled){color:#e4c692}
.scene{background:#171611}.scene:after{inset:0;background:linear-gradient(90deg,#08090740,transparent 85%),linear-gradient(180deg,#090a0a40 0%,#090a0a33 25%,#090a0a55 56%,#090a0ad9 100%);z-index:0}.category-backdrop{position:absolute;inset:-2%;background-size:cover;background-repeat:no-repeat;pointer-events:none;animation:category-drift 32s ease-in-out infinite alternate;filter:brightness(.82) saturate(.9);will-change:transform;transform:scale(var(--art-zoom,1.02))}@keyframes category-drift{from{transform:scale(var(--art-zoom,1.02))}to{transform:scale(calc(var(--art-zoom,1.02) + .025))}}.motion-paused .category-backdrop{animation-play-state:paused}.still-scenes .category-backdrop{animation:none}.sea .category-backdrop{filter:brightness(.82) saturate(.8) hue-rotate(8deg)}.forest .category-backdrop{filter:brightness(.8) saturate(.65)}.mountain .category-backdrop{filter:brightness(.82) saturate(.45)}
.quote-body{color:#fff5df;text-shadow:0 2px 24px #0009;top:47%;width:min(66%,780px)}blockquote{font-size:clamp(42px,4.6vw,70px);line-height:1.17;letter-spacing:-1.8px;font-weight:400}.attribution{color:#eddfc5;font-size:8px;letter-spacing:2.8px;margin-top:32px}.attribution:before{content:'';display:block;width:34px;height:1px;background:#cfb481;margin:0 auto 22px}.card-top{color:#e9d6b0;letter-spacing:2px}#quote-index{color:#f3e6ce;opacity:1}.card-top:after{content:'';width:28px;height:1px;background:#d8b87a66}
.tool-button .icon,.reflect-button>.icon{background:#191713c9;border:1px solid #ddc79e66;color:#f6e8ce;backdrop-filter:blur(18px);box-shadow:0 3px 22px #0002;stroke-width:1.2}.tool-button:hover .icon,.reflect-button:hover>.icon{background:#3a3023;color:#ffe7b7}.tool-button[aria-pressed=true]>.icon{background:#dac298;color:#302619;border-color:#e3cda7}.tool-button>span,.reflect-button>span:not(.feedback-dot){background:#171510e8;color:#f3e6ce;font-size:9px;letter-spacing:.5px}.page-button,#undo{background:#1a1712c9;border-color:#e2cda255;color:#f3e6ce}.feedback-dot{background:#dfbf87}.track{background:#ead6af38}#progress{background:#dec18d}.reading-dot{background:#dec18d}.gesture-hint{color:#e6d8bf}footer{color:#e4d6bc}footer>span{font-size:7px;letter-spacing:1.7px}.footer-divider{opacity:.65}
.collection-bar{position:fixed;top:calc(108px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:3;text-align:center;color:#f5ead6;max-width:calc(100vw - 40px)}#category-trigger{display:flex;gap:12px;align-items:center;justify-content:center;margin:auto;min-height:35px;padding:0 8px;font-family:var(--serif);font-size:23px;letter-spacing:-.3px}.collection-kicker{font:8px Arial,sans-serif;letter-spacing:2px;color:#e7d3ad}#category-trigger .icon{width:15px;height:15px;color:#dbc298}#collection-caption{display:block;color:#ecdfc8;font-size:9px;letter-spacing:.6px;margin-top:3px}
.daily-entry{top:calc(176px + env(safe-area-inset-top));min-height:34px;background:#1c1914df;border:1px solid #dac59d66;color:#eee0c5;box-shadow:none}.daily-entry[aria-pressed=true]{background:#342c1ef5;border-color:#d0b482}.daily-dots i{background:#e2cda244}.daily-dots i.visited{background:#bfa16c}.daily-dots i.current{background:#f0d7a6}#status{top:calc(222px + env(safe-area-inset-top));background:#272116f5;color:#f3e6cd;border:1px solid #b39a6d66}
button:focus-visible,a:focus-visible,article:focus-visible{outline-color:#d8b981}dialog button:focus-visible,dialog select:focus-visible,dialog textarea:focus-visible{outline-color:#725b34}dialog{background:#f4efe5;border-color:#d5c9b5;border-radius:5px;box-shadow:0 30px 120px #0006}dialog::backdrop{background:#100e0a99;backdrop-filter:blur(12px)}dialog h2{font-size:39px;letter-spacing:-1.2px}dialog p{color:#665c4c}dialog .eyebrow{color:#75603b;letter-spacing:2px}select,textarea{background:#eae3d6;border-color:#cfc3ae}.primary{background:#302a20;color:#f8eddb}.primary:hover:not(:disabled){background:#6b5633}.choice-row button{border-color:#b1a38a}.choice-row button[aria-pressed=true]{background:#725b34;border-color:#725b34}.text-button,.quiet-link{color:#716149}.recommendation-reason{border-color:#a68b5a}.moment-summary{background:#e8dfce;color:#5b4c34}.daily-pick,.outcome-choices button{background:#ede5d7;border-color:#cfc1aa}.daily-pick[aria-pressed=true]{background:#e1d2b8;border-color:#927744;box-shadow:inset 3px 0 #927744}.ritual-dialog .takeaway-quote{color:#42351f}.outcome-label{color:#725b34!important}.saved-topic{color:#75603b}.private-action{border-color:#b49865}.saved-sample{background-size:cover!important;background-repeat:no-repeat!important}
#categories{max-width:550px;padding-bottom:20px}#categories h2{margin-bottom:12px}#category-list{margin-top:18px}.category-option{width:100%;display:grid;grid-template-columns:54px 1fr 27px;align-items:center;gap:17px;padding:13px 0;text-align:left;border-top:1px solid #d8cebd}.category-option[aria-pressed=true]{box-shadow:inset 2px 0 #9a7c45;padding-left:12px}.category-art{height:66px;width:52px;border-radius:2px;background-size:cover;background-repeat:no-repeat}.category-title{display:block;font:22px/1.15 var(--serif);letter-spacing:-.4px}.category-caption{display:block;font-size:10px;line-height:1.5;color:#6c604d;margin-top:7px}.category-count{font-size:10px;color:#624b28;font-variant-numeric:tabular-nums}.category-option:hover:not(:disabled){color:#725b34}
@media(max-width:700px){.brand{font-size:25px}.collection-bar{top:calc(91px + env(safe-area-inset-top));white-space:nowrap}#category-trigger{font-size:22px;gap:10px;min-height:32px}.collection-kicker{font-size:7px;letter-spacing:1.5px}#collection-caption{font-size:9px}.daily-entry{top:calc(153px + env(safe-area-inset-top));min-height:31px}.quote-body{left:27px;width:calc(100% - 113px);text-align:left;top:45%}blockquote{font-size:clamp(28px,8.4vw,41px);letter-spacing:-.8px;line-height:1.18}.attribution{letter-spacing:1.5px;font-size:7px;line-height:1.8;margin-top:23px}.attribution:before{margin:0 0 17px;width:26px}#status{top:calc(197px + env(safe-area-inset-top))}.card-top{font-size:8px;letter-spacing:1.5px}.tool-button .icon,.reflect-button>.icon{width:44px;height:44px}.category-option{grid-template-columns:46px 1fr 23px;gap:13px}.category-art{width:44px;height:61px}.category-title{font-size:21px}.category-caption{font-size:9px}}
@media(max-width:360px){.quote-body{left:22px;width:calc(100% - 100px)}.attribution{font-size:6.5px;letter-spacing:1px}.category-title{font-size:19px}.category-caption{font-size:9px}.category-option{gap:10px}}
@media(max-height:660px){.collection-bar{top:72px}#category-trigger{font-size:19px;min-height:29px}#collection-caption{font-size:8px;margin-top:0}.daily-entry{top:121px;min-height:29px}.attribution{margin-top:16px}.attribution:before{margin-bottom:12px}.quote-body{top:46%}#status{top:161px}}
@media(max-height:500px) and (min-width:701px){.collection-bar{top:72px;left:38px;transform:none;text-align:left}#category-trigger{justify-content:flex-start;padding-left:0;font-size:18px}.collection-kicker{font-size:7px}#collection-caption{display:none}.daily-entry{top:73px;left:auto;right:38px;transform:none}.quote-body{top:42%;width:min(67%,800px)}.site-header{height:64px}.attribution{display:none}}
@media(prefers-reduced-motion:reduce){.category-backdrop{animation:none}}
@media(max-width:430px){.collection-kicker{display:none}#category-trigger{max-width:calc(100vw - 36px);font-size:21px}}
/* Quick personalisation and private folders. */
.settings-details{margin-top:24px;border-top:1px solid var(--line);padding-top:7px}.settings-details>summary{display:flex;justify-content:space-between;gap:12px;min-height:44px;align-items:center;font-size:12px;cursor:pointer}.settings-details>summary span{font-size:10px;color:#716149}.settings-details>summary:after{content:'+';font-size:18px}.settings-details[open]>summary:after{content:'−'}.settings-details .focus-checkin{margin-top:22px}.settings-details>p{font-size:11px}.settings-details .library-preferences,.settings-details .scene-preferences{margin-top:20px}.artwork-next{opacity:0;z-index:0}.category-backdrop{z-index:0}.scene:after{z-index:0}.card-top,.quote-body,.card-bottom{z-index:1}
.saved-tools{display:flex;align-items:end;gap:15px;margin-bottom:18px}.saved-tools>label{flex:1;margin:0;min-width:0}.saved-tools .quiet-link{margin:0 0 2px;font-size:10px;white-space:nowrap}.saved-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:6px;border-bottom:1px solid var(--line);align-items:center}.saved-row .saved-item{border:0;min-width:0;font-size:18px;gap:13px}.saved-copy{min-width:0;overflow-wrap:anywhere}.saved-folder{display:block;font:10px/1.5 Arial,sans-serif;color:#75603b;margin-top:6px;overflow-wrap:anywhere}.move-saved{font-size:10px;color:#715b35;border:1px solid #c6b695;border-radius:3px;min-height:42px;padding:0 7px}.folder-create{display:flex;gap:9px;align-items:center;margin-top:8px}.folder-create .primary{width:auto;min-width:78px;margin:0;justify-content:center}.folder-create input,.folder-name{display:block;min-width:0;width:100%;min-height:46px;background:#eae3d6;border:1px solid #cfc3ae;border-radius:3px;padding:10px 11px;font:12px/1.5 Arial,sans-serif;color:var(--ink)}.folder-create input:focus-visible,.folder-name:focus-visible{outline:2px solid #725b34;outline-offset:3px}.folder-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.folder-rename,.folder-delete{font-size:10px;padding:0 3px;min-height:44px;color:#715b35}.folder-delete{color:#7c4940}#folder-status{font-size:11px;min-height:20px}.folder-destination{display:block;text-align:left;width:100%;padding:15px 17px;border:1px solid #c6b99f;margin-top:9px;border-radius:3px;overflow-wrap:anywhere;font-size:13px}.folder-destination[aria-pressed=true]{background:#dfd0b5;border-color:#9c8050}#moving-quote{font:22px/1.35 var(--serif);color:#56472f;letter-spacing:-.3px}#folders h2,#folder-picker h2{font-size:33px}#folders p{font-size:11px}#folder-picker{max-width:480px}@media(max-width:360px){.saved-row .saved-item{font-size:16px;gap:9px}.saved-sample{width:38px;height:58px}.saved-tools{gap:9px}.folder-row{gap:6px}.folder-name{font-size:11px;padding-inline:7px}.folder-rename,.folder-delete{font-size:9px}}
@media(prefers-reduced-motion:reduce){.artwork-next{transition:none}}
.source-quote{font:25px/1.4 var(--serif);color:#443820;margin:24px 0;text-wrap:pretty}#source-details{border-top:1px solid var(--line);margin-top:24px;padding-top:7px}#source-details dt{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#6b5738;margin-top:17px}#source-details dd{font-size:12px;line-height:1.65;margin:7px 0 0;color:#504735;overflow-wrap:anywhere}.source-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#725b34;text-underline-offset:4px}#quote-source{margin:8px 0 0;padding-left:0;text-align:left}#attribution{overflow-wrap:anywhere}
@media(max-height:500px){#attribution{display:block;margin-top:8px;font-size:7px;letter-spacing:1px;line-height:1.5}#attribution:before{display:none}}

/* The reader has three fixed zones: masthead, reading area and thumb navigation. */
:root {
  --reader-margin: clamp(24px, 4vw, 72px);
  --reader-ivory: #fff8e9;
  --reader-gold: #f1d69f;
  --reader-border: #efe1c345;
}
.site-header {
  height: calc(96px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--reader-margin) 0;
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) 1fr;
  align-items: center;
  gap: 16px;
  color: var(--reader-ivory);
  border: 0;
  background: linear-gradient(#0d0c09a8, transparent);
}
.site-header::after {
  content: '';
  position: absolute;
  left: var(--reader-margin);
  right: var(--reader-margin);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--reader-border), #efe1c312);
}
.brand {
  font: 34px/1.1 var(--serif);
  letter-spacing: -2px;
  text-decoration: none;
}
.brand em { font-style: italic; }
.collection-bar {
  position: static;
  transform: none;
  min-width: 0;
  max-width: 36vw;
}
#category-trigger, #space-trigger {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 24px;
  border: 1px solid var(--reader-border);
  background: #1d1b1680;
  backdrop-filter: blur(12px);
  color: var(--reader-ivory);
  font: 12px/1.2 Arial, sans-serif;
  letter-spacing: .1px;
}
#category-trigger { padding: 0 16px; max-width: 100%; }
#category-trigger .icon { width: 13px; height: 13px; color: var(--reader-gold); }
#category-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#flow-position { font: 10px/1 Arial,sans-serif; white-space: nowrap; color: var(--reader-gold); }
#space-trigger { justify-self: end; width: auto; padding: 0 14px; }
#space-trigger .icon { width: 20px; height: 20px; }
.scene::after {
  background:
    linear-gradient(0deg, #0e100eee 0%, transparent 31%),
    linear-gradient(180deg, #17171066, transparent 26%),
    linear-gradient(90deg, #10100dd1 0%, #11100e91 39%, #11100e14 80%);
}
.category-backdrop { filter: brightness(.97) saturate(.94); }
.sea .category-backdrop { filter: brightness(.96) saturate(.85) hue-rotate(6deg); }
.forest .category-backdrop { filter: brightness(.95) saturate(.77); }
.mountain .category-backdrop { filter: brightness(.96) saturate(.55); }
.quote-body {
  top: 51%;
  left: max(var(--reader-margin), calc((100vw - 1040px) / 2));
  width: min(68%, 760px);
  transform: translateY(-50%);
  text-align: left;
  color: var(--reader-ivory);
  text-shadow: 0 2px 20px #0006;
}
.quote-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--reader-gold);
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.quote-kicker::before { content: ''; height: 1px; width: 26px; background: currentColor; }
#quote {
  font-size: clamp(40px, 4.9vw, 77px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
#attribution {
  display: block;
  max-width: min(100%, 55ch);
  margin: 25px 0 0;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .18px;
  color: #f5ecda;
}
#attribution::before { display: none; }
.actions, .reflect-button { right: var(--reader-margin); }
.actions { bottom: calc(50% - 40px); gap: 16px; }
.tool-button, .reflect-button {
  width: 56px;
  min-height: 64px;
  gap: 7px;
  text-shadow: 0 1px 8px #000;
  color: var(--reader-ivory);
}
.tool-button .icon, .reflect-button > .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 16px;
  border: 1px solid var(--reader-border);
  background: #211e18a8;
  backdrop-filter: blur(14px);
  color: var(--reader-ivory);
  stroke-width: 1.5;
}
.tool-button > span, .reflect-button > span:not(.feedback-dot) {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .1px;
  color: var(--reader-ivory);
  text-shadow: 0 1px 5px #000;
}
.tool-button:hover .icon, .reflect-button:hover > .icon { background: #4c4133; color: var(--reader-ivory); }
.tool-button[aria-pressed=true] > .icon { background: #ebd6ac; border-color: #f4e1bf; color: #2d251a; }
.reflect-button { bottom: calc(50% - 120px); }
.feedback-dot { right: 8px; top: 3px; background: var(--reader-gold); border: 1px solid #211e18; }
.card-bottom { left: var(--reader-margin); bottom: calc(115px + env(safe-area-inset-bottom)); width: 208px; }
.reading { font-size: 11px; letter-spacing: .1px; color: #f5ecda; }
.reading-text { gap: 8px; }
.reading-dot { display: block; width: 5px; height: 5px; background: var(--reader-gold); }
.reading .icon-button { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.reading .icon { width: 14px; height: 14px; }
#timer { white-space: nowrap; }
.track { margin-top: 0; height: 2px; border-radius: 2px; background: #ebdec344; }
#progress { border-radius: inherit; background: var(--reader-gold); }
.page-navigation { right: var(--reader-margin); bottom: calc(115px + env(safe-area-inset-bottom)); gap: 0; border: 1px solid var(--reader-border); border-radius: 24px; background: #211e1880; backdrop-filter: blur(12px); }
.page-button { width: 46px; height: 44px; border: 0; border-radius: 22px; background: none; backdrop-filter: none; color: var(--reader-ivory); }
.page-button .icon { width: 18px; height: 18px; }
.page-button:hover:not(:disabled) { background: #534634; }
.bottom-dock {
  position: fixed;
  z-index: 3;
  bottom: calc(21px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(520px, calc(100% - 48px));
  padding: 6px;
  height: 67px;
  background: #1b1a16eb;
  border: 1px solid var(--reader-border);
  border-radius: 21px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px #0909053b;
}
.bottom-dock button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 3px 2px;
  color: #eee4cf;
  border-radius: 15px;
  font: 11px/1.15 Arial, sans-serif;
  letter-spacing: .1px;
}
.bottom-dock .icon { width: 19px; height: 19px; stroke-width: 1.5; }
.bottom-dock button:hover:not(:disabled) { background: #fff1cb15; color: #fff8e9; }
.bottom-dock button[aria-current=page] { background: #eee3cc; color: #322b20; }
.bottom-dock button[aria-current=page]:hover { background: #fff2d6; color: #322b20; }
.gesture-hint { bottom: calc(98px + env(safe-area-inset-bottom)); color: #f3e6cc; font-size: 10px; letter-spacing: .15px; }
.gesture-hint .icon { display: none; }
#status { top: auto; bottom: calc(173px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); max-width: calc(100vw - 40px); border: 1px solid var(--reader-border); background: #242019f2; font-size: 11px; }

.space-panel { max-width: 484px; padding: 32px; border-radius: 22px; }
.space-panel h2 { margin: 8px 0 26px; font-size: 42px; line-height: 1.1; letter-spacing: -1.8px; }
.space-panel .close { margin: -5px -6px 0 4px; }
.space-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.space-action, #space .daily-entry {
  position: static;
  inset: auto;
  transform: none;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
  max-width: none;
  width: 100%;
  padding: 14px 2px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  white-space: normal;
  text-align: left;
}
.space-action > .icon { width: 18px; height: 18px; color: #776445; }
.space-action > span { min-width: 0; }
.space-action strong { display: block; font: 21px/1.15 var(--serif); letter-spacing: -.5px; }
.space-action small { display: block; margin: 4px 0 0; font-size: 11px; line-height: 1.4; color: #655b49; letter-spacing: 0; }
.space-action .space-arrow { display: none; }
#space .space-action:hover, #space .daily-entry[aria-pressed=true] { background: transparent; color: #79613a; }
#space .practice-entry {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 14px;
  min-height: 81px;
  margin: 0 0 14px;
  padding: 16px 18px;
  color: #fcf4e4;
  border: 1px solid #5a503e;
  border-radius: 13px;
  background: linear-gradient(115deg, #34392c, #262921);
}
#space .practice-entry:hover { background: #3d4133; color: white; }
#space .practice-entry > .icon { color: #e4d4ac; }
#space .practice-entry > .space-arrow { display: block; margin-left: auto; width: 17px; }
#space .practice-entry small { color: #e5dcc7; }
#space #saved-count { display: inline; margin-left: 5px; background: none; color: #786342; font: 11px Arial,sans-serif; }
#space .daily-dots { display: none; }
#space #feed-tab { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: start; min-height: 56px; gap: 12px; }
#space #feed-tab small { display: none; }
#space #feed-tab .space-arrow { display: block; margin-left: auto; width: 16px; }
.space-links { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0 18px; padding-top: 6px; }
.space-links button, #space #undo { min-width: 0; min-height: 44px; font: 11px/1.4 Arial,sans-serif; padding: 0; color: #675637; }
#space #undo { position: static; width: auto; display: inline-flex; gap: 7px; margin: 0; background: none; border: 0; backdrop-filter: none; }
#space #undo:disabled { visibility: visible; opacity: .55; }
#space #undo .icon { width: 14px; height: 14px; }
.reflection-panel .quote-meta { position: static; inset: auto; display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #725b34; font: 9px/1.5 Arial,sans-serif; letter-spacing: 1px; }
.quote-meta::after, #quote-index, .reflection-panel .eyebrow { display: none; }
.reflection-panel h2#reflection-title { margin-top: 20px; }
.reflection-panel .recommendation-reason { border: 0; padding: 0; font-size: 12px; margin: 0 0 16px; }
.reflection-panel .quiet-link { font-size: 11px; min-height: 44px; text-decoration: none; margin: 0; padding-left: 0; text-align: left; width: 100%; border-bottom: 1px solid var(--line); }
.reflection-links { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 9px; }
.quote-share { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 0; font-size: 12px; text-align: left; }
.quote-share span { flex: 1; }
.quote-share .icon { width: 17px; height: 17px; }

@media (max-width: 700px) {
  :root { --reader-margin: 22px; }
  .site-header { height: calc(83px + env(safe-area-inset-top)); gap: 8px; grid-template-columns: 1fr minmax(0, auto) auto; }
  .brand { font-size: 30px; letter-spacing: -1.7px; }
  .collection-bar { max-width: 40vw; }
  #category-trigger { min-height: 44px; font-size: 11px; padding: 0 11px; gap: 5px; }
  #space-trigger { width: 44px; padding: 0; }
  #space-trigger span { display: none; }
  .scene::after { background: linear-gradient(0deg, #10100dfa, #13120f55 32%, transparent 68%), linear-gradient(90deg, #11100d9c, #12120f54 74%, #11110e14), linear-gradient(180deg, #15140e55, transparent 32%); }
  .quote-body { left: var(--reader-margin); top: 48%; width: calc(100% - 96px); max-width: 490px; }
  .quote-kicker { font-size: 9px; letter-spacing: 1.6px; gap: 8px; margin-bottom: 16px; }
  .quote-kicker::before { width: 17px; }
  #quote { font-size: clamp(30px, 9.5vw, 50px); line-height: 1.12; }
  #attribution { font-size: 11px; margin-top: 19px; }
  .actions, .reflect-button { right: 10px; }
  .card-bottom { width: 178px; bottom: calc(117px + env(safe-area-inset-bottom)); }
  .page-navigation { right: var(--reader-margin); bottom: calc(117px + env(safe-area-inset-bottom)); }
  .bottom-dock { width: calc(100% - 24px); bottom: max(9px, env(safe-area-inset-bottom)); height: 65px; padding: 5px; }
  .gesture-hint { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .space-panel { position: fixed; inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 520px; max-height: 94dvh; padding: 25px var(--reader-margin) calc(16px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .space-panel h2 { font-size: 38px; margin: 5px 0 22px; }
  .space-panel .close { margin: -3px -3px 0 4px; }
  .space-actions { gap: 0 16px; }
  .space-action, #space .daily-entry { min-height: 95px; }
  dialog.reflection-panel { padding-inline: 25px; }
}
@media (max-width: 360px) {
  :root { --reader-margin: 16px; }
  .brand { font-size: 26px; }
  #category-trigger { font-size: 10px; padding: 0 8px; }
  .quote-body { width: calc(100% - 89px); }
  .actions, .reflect-button { right: 7px; }
  .card-bottom { width: 166px; }
  .reading { font-size: 10px; }
  .page-button { width: 44px; }
  .bottom-dock button { font-size: 10px; }
}
@media (max-height: 660px) {
  .site-header { height: calc(68px + env(safe-area-inset-top)); }
  .quote-kicker { margin-bottom: 11px; }
  #quote { font-size: clamp(27px, 5vh, 35px); }
  #attribution { font-size: 10px; margin-top: 13px; }
  .actions { gap: 8px; bottom: calc(50% - 27px); }
  .tool-button, .reflect-button { min-height: 52px; gap: 3px; }
  .tool-button .icon, .reflect-button > .icon { width: 35px; height: 35px; padding: 8px; border-radius: 13px; }
  .tool-button > span, .reflect-button > span:not(.feedback-dot) { font-size: 10px; }
  .reflect-button { bottom: calc(50% - 87px); }
  .card-bottom, .page-navigation { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .bottom-dock { height: 59px; bottom: max(6px, env(safe-area-inset-bottom)); }
  .gesture-hint { bottom: calc(77px + env(safe-area-inset-bottom)); }
  #status { bottom: calc(155px + env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) and (min-width: 480px) and (orientation: landscape) {
  :root { --reader-margin: 24px; }
  .site-header { height: 57px; }
  .brand { font-size: 26px; }
  .quote-kicker { margin-bottom: 8px; font-size: 9px; }
  #quote { font-size: 29px; }
  #attribution { font-size: 10px; margin-top: 9px; }
  .quote-body { top: 45%; width: 66%; }
  .card-bottom { width: 170px; }
  .card-bottom, .page-navigation { bottom: 62px; }
  .bottom-dock { width: min(460px, calc(100% - 72px)); height: 50px; bottom: 7px; padding: 3px; border-radius: 15px; }
  .bottom-dock button { flex-direction: row; gap: 6px; min-height: 40px; font-size: 10px; border-radius: 12px; }
  .bottom-dock .icon { width: 16px; height: 16px; }
  .gesture-hint { bottom: 18px; left: var(--reader-margin); transform: none; font-size: 9px; }
  .actions { bottom: calc(50% - 6px); gap: 3px; }
  .reflect-button { bottom: calc(50% - 61px); }
  #status { bottom: 115px; }
}

@media (max-height: 370px) and (min-width: 480px) and (orientation: landscape) {
  :root { --reader-margin: 16px; }
  .site-header { height: 49px; }
  .quote-kicker { font-size: 8px; margin-bottom: 5px; }
  #attribution { margin-top: 6px; }
  .actions { top: 54px; bottom: auto; gap: 2px; }
  .reflect-button { top: 146px; bottom: auto; }
  .tool-button, .reflect-button { min-height: 44px; gap: 1px; }
  .tool-button .icon, .reflect-button > .icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; }
  .gesture-hint { display: none; }
  .bottom-dock { bottom: 3px; height: 48px; }
  .card-bottom, .page-navigation { bottom: 54px; }
}

.source-inspiration{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.source-inspiration h3{font:24px/1.25 var(--serif);font-weight:400;letter-spacing:-.4px;margin:0 0 14px}.source-inspiration .source-quote{font-size:23px}

/* Keep authorship visible while the bibliographic detail stays easy to open. */
.quote-credit{display:block;font:11px/1.6 Arial,sans-serif;letter-spacing:0;color:#6b5b40;overflow-wrap:anywhere;text-shadow:none;margin-top:9px}
.daily-pick-text{display:block}.daily-pick .quote-credit{font-size:10px;line-height:1.5;margin-top:9px}.daily-pick[aria-pressed=true] .quote-credit{color:#56452a}.takeaway-quote+.quote-credit{margin-top:-12px;margin-bottom:21px}.saved-copy .quote-credit{margin-top:8px;font-size:10px;line-height:1.5}.saved-copy .saved-topic{margin-top:8px;font-size:8px}
#source-byline{font-size:12px;color:#59492f;margin:0 0 20px}#source-context{font-size:11px;margin:0 0 14px}.source-inspiration{margin-top:24px;padding-top:20px}.source-inspiration h3{font-size:23px;margin-bottom:10px}.source-inspiration>p{font-size:11px;line-height:1.6;margin:0 0 14px}.source-inspiration .source-quote{font-size:22px;line-height:1.35;margin:15px 0 13px}.source-inspiration .quote-credit{font-size:11px;margin:0 0 5px}.source-inspiration .source-link{margin-top:5px}
.source-provenance{border-top:1px solid var(--line);margin-top:22px;padding-top:5px}.source-provenance summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:12px;color:#6b5636;cursor:pointer;list-style:none}.source-provenance summary::-webkit-details-marker{display:none}.source-provenance summary:after{content:'+';font-size:18px}.source-provenance[open] summary:after{content:'−'}.source-provenance summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#source-details{border:0;margin-top:0;padding-top:0}.source-provenance h3{font:22px/1.3 var(--serif);margin:26px 0 10px}#inspiration-details dt{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#6b5738;margin-top:17px}#inspiration-details dd{font-size:12px;line-height:1.65;margin:7px 0 0;color:#504735;overflow-wrap:anywhere}#source-credit{font-size:11px}

#next-step-tab { color: #f5d897; }
#next-step-tab.step-ready { box-shadow: inset 0 -2px #d8b575; }
#next-step-tab[aria-current=page] { color: #322b20; }
#next-step { color: #342d23; }
#next-step .step-example {
  margin: 20px 0;
  padding: 16px 18px;
  background: #e9e0cf;
  border: 1px solid #d8cbb4;
  border-radius: 8px;
}
#next-step h3 { margin: 0; font: 22px/1.2 var(--serif); }
#next-step .step-example p { margin: 8px 0 0; }
#next-step .step-words { color: #443829; white-space: pre-wrap; overflow-wrap: anywhere; }
#next-step textarea { font-size: 16px; line-height: 1.45; min-height: 108px; }
#next-step .step-status:empty { display: none; }
#next-step .step-status { overflow-wrap: anywhere; }
#next-step .outcome-choices { margin-top: 12px; }

.category-option { grid-template-columns: auto minmax(0, 1fr); }
