.audio-keepsake.voice-player{--voice-accent:#7250a2;--voice-fill:#e7c8df;color:#403353;background:#f8d3c5;border:1px solid #bc946527;border-radius:12px 23px 23px;width:100%;max-width:480px;margin:0;padding:12px 16px 14px;display:block;position:relative;box-shadow:0 3px 12px #70512705}.voice-heading{font:var(--type-label);letter-spacing:.04em;align-items:center;gap:5px;margin-bottom:5px;display:flex}.voice-emblem{width:27px;height:30px;transform:rotate(-13deg)}.voice-emblem svg{fill:none;width:100%;height:100%;stroke:var(--voice-accent);stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round}.voice-spark{color:#bd945f;margin-left:auto;font-size:24px;line-height:1}.voice-controls{grid-template-columns:46px minmax(0,1fr);align-items:center;gap:14px;display:grid}.voice-player button.voice-play{color:#403353;background:var(--voice-fill);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;padding:0;display:grid}.voice-play svg{width:22px;height:22px}.voice-track{min-width:0}.voice-player .voice-track input{width:100%;height:28px;min-height:28px;box-shadow:none;outline-offset:0;appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;border:0;border-radius:0;margin:0;padding:0;display:block}.voice-track input::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--voice-accent) var(--voice-progress), #bda68950 var(--voice-progress));border-radius:4px;height:4px}.voice-track input::-webkit-slider-thumb{appearance:none;background:var(--voice-accent);width:13px;height:13px;box-shadow:0 0 0 3px var(--voice-fill);border:0;border-radius:50%;margin-top:-4.5px}.voice-track input::-moz-range-track{background:#bda68950;border-radius:4px;height:4px}.voice-track input::-moz-range-progress{background:var(--voice-accent);height:4px}.voice-track input::-moz-range-thumb{background:var(--voice-accent);border:0;border-radius:50%;width:13px;height:13px}.voice-caption{font:var(--type-meta);color:inherit;opacity:.8;margin:0 0 8px 32px}.voice-player .voice-track input{height:44px;min-height:44px}.is-playing .voice-spark{animation:none}@keyframes voice-glimmer{to{opacity:.45;transform:scale(.8)rotate(15deg)}}@media (prefers-reduced-motion:reduce){.is-playing .voice-spark{animation:none}}.voice-times{opacity:.8;justify-content:space-between;font:14px/1.3 ui-monospace,monospace;display:flex}.voice-source{display:none}.voice-error{font:var(--type-meta);margin:10px 0 0}.voice-error a{color:inherit;display:block}.voice-emblem{animation:8s linear infinite paused shell-turn;position:relative}.is-playing .voice-emblem{animation-play-state:running}.voice-heading{position:relative}.voice-heading:after{content:"♪";color:var(--voice-accent);opacity:0;position:absolute;top:-6px;left:22px}.is-playing .voice-heading:after{animation:2.4s ease-out infinite shell-sound}@keyframes shell-turn{0%{transform:rotate(-13deg)}to{transform:rotate(347deg)}}@keyframes shell-sound{0%{opacity:0;transform:translateY(5px)scale(.7)}30%{opacity:.8}to{opacity:0;transform:translate(22px,-12px)scale(1.1)}}@keyframes voice-sway{to{transform:rotate(9deg)}}:root[data-theme=dark] .audio-keepsake.voice-player{--voice-accent:#d2b7f3;--voice-fill:#594477;color:#f5edff;background:#3a3047;border-color:#d1b28229}:root[data-theme=dark] .voice-player button.voice-play{color:#f1d3a2}.audio-preview>.voice-player{flex-basis:100%}.audio-recorder-actions .audio-upload,.audio-recorder-actions button{min-height:44px}@media (prefers-reduced-motion:reduce){.is-playing .voice-emblem,.voice-emblem,.is-playing .voice-heading:after{animation:none}}.app-shell .book-cover{aspect-ratio:.735;background:#e6dfd5;border:0;border-radius:12%/9%;flex:none;width:100%;height:auto;display:block;position:relative;overflow:hidden;box-shadow:0 5px 12px #362e291f;container-type:inline-size}.app-shell .book-cover .book-cover-art{display:block;position:absolute;inset:0;overflow:hidden}.app-shell .book-cover .book-cover-art>img{width:100%;max-width:none;height:100%;max-height:none;box-shadow:none;object-fit:cover;border:0;border-radius:0;display:block}.app-shell .book-cover .book-cover-art>.cover-photo-trim{aspect-ratio:auto;width:100%;max-width:none;height:100%;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;position:absolute;inset:0;transform:none}.app-shell .book-cover .book-cover-art>.cover-photo-trim>img{object-fit:cover;width:auto;max-width:none;height:136.286%;max-height:none;box-shadow:none;border:0;border-radius:0;display:block;position:absolute;inset:-19.2504% auto auto 50%;transform:translate(-50%)}.app-shell .book-cover .book-cover-art>.cover-missing{width:100%;height:100%;padding:8px 5px 32%}.app-shell .book-cover-caption{display:none}.app-shell .book-cover-caption strong{-webkit-line-clamp:2;font-family:var(--serif);text-shadow:0 1px 4px #0005;-webkit-box-orient:vertical;margin:0;font-size:clamp(8px,11cqw,20px);font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.app-shell .book-cover .book-cover-art{transform:scale(var(--cover-zoom,1));transform-origin:var(--cover-x,50%) var(--cover-y,50%)}.app-shell .book-cover .book-cover-art>img{object-position:var(--cover-x,50%) var(--cover-y,50%)}.app-shell .book-cover .book-cover-art img{aspect-ratio:auto;filter:var(--cover-filter,none);margin:0}.cover-framing{border:1px solid var(--line);border-radius:18px;margin:14px 0 24px;padding:14px 18px}.cover-framing summary{cursor:pointer;font-size:13px}.cover-framing-body{grid-template-columns:104px minmax(0,1fr);align-items:start;gap:24px;margin-top:18px;display:grid}.cover-framing-controls label{grid-template-columns:1fr auto;gap:6px;margin-bottom:14px;font-size:12px;display:grid}.cover-framing-controls input{accent-color:#b98d48;grid-column:1/-1;width:100%;min-height:28px;padding:0}.cover-framing-controls button{border:1px solid var(--line);color:var(--ink);background:0 0;border-radius:20px;padding:7px 12px;font-size:12px}.cover-framing p{color:var(--ink-soft);font-size:11px;line-height:1.7}.app-shell .shelf-cover-frame,.app-shell .note-cover,.app-shell .editor-cover-frame{aspect-ratio:.735;height:auto;box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.app-shell .shelf-book-card:hover .shelf-cover-frame{box-shadow:none}.app-shell .garden-book-cover{aspect-ratio:.735;width:min(100%,146px);height:auto;margin:auto;display:block;overflow:visible}.app-shell .garden-detail .orbit-book{width:146px}.app-shell .garden-detail .orbit-book>span:last-child:not(.garden-book-cover){display:none}.app-shell .journey-mini-cover{width:min(100%,100px);height:auto;margin:auto;display:block}.app-shell .journey-interest-books>button>strong{display:none}.app-shell .journey-evidence-cover{width:80px;height:auto;display:block}.app-shell .journey-stage-books button{width:58px;height:auto}@media (width<=640px){.app-shell .garden-detail .orbit-book{width:104px}.app-shell .journey-stage-books button{width:48px}.app-shell .journey-evidence-cover{width:68px}}.calendar-month-fields{align-items:center;gap:4px;display:flex}.calendar-month-fields button{cursor:pointer;background-color:#0000;border:0;min-height:44px;padding:0 8px;font-size:14px;font-weight:500}.calendar-month-fields button span{color:var(--ink-soft);margin-left:4px}.reading-calendar .calendar-month{margin:12px 0 10px}.reading-calendar .calendar-month>button{min-width:44px;min-height:44px}.calendar-chooser{background:var(--paper-deep);border-radius:16px;margin:0 0 14px;padding:8px 12px 12px}.calendar-chooser-heading{color:var(--ink-soft);justify-content:space-between;align-items:center;font-size:12px;display:flex}.calendar-chooser button{cursor:pointer;min-height:44px;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:10px;padding:0 8px}.calendar-choice-grid{grid-template-columns:repeat(4,1fr);gap:4px;font-size:14px;display:grid}.calendar-choice-grid button[aria-pressed=true]{background:var(--gold-pale);color:#594226}.calendar-choice-grid button:hover{outline:1px solid var(--line-strong)}.calendar-year-pages{justify-content:space-between;font-size:12px;display:flex}.calendar-year-pages button:disabled{opacity:.35}.calendar-recap{background:var(--paper-deep);color:var(--ink);border-radius:16px;margin-top:18px;padding:16px}.calendar-recap p{margin:0 0 8px;font-size:14px;line-height:1.7}.calendar-recap .calendar-recap-heading{color:var(--ink-soft);font-size:12px}.calendar-recap strong{font-weight:600}.calendar-recap small{color:var(--ink-soft);font-size:12px;display:block}.calendar-recap button{border:1px solid var(--line-strong);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;margin-top:12px;padding:8px 14px;font-size:13px;display:block}.calendar-recap button:disabled{opacity:.6;cursor:default}.friend-picker{--friend-paper:var(--surface-solid);--friend-edge:var(--line);--friend-ink:var(--ink);--friend-ink-soft:var(--ink-soft);--friend-apricot:var(--apricot-pale);--friend-apricot-edge:var(--apricot-edge);--friend-apricot-ink:var(--apricot-ink);--friend-open:#42674c;min-width:0}:root[data-theme=dark] .friend-picker{--friend-open:#b8d7af}.friend-picker-hint{color:var(--ink-soft);font:var(--type-meta);margin:0 0 12px}.friend-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:460px;margin-inline:auto;display:grid}.friend-card{border:1px solid var(--friend-edge);background:var(--friend-paper);min-width:0;min-height:76px;color:var(--friend-ink);box-shadow:0 1px 0 var(--friend-edge);font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:16px;align-content:center;justify-items:start;gap:4px;margin:0;padding:12px 14px;transition:background-color .18s,box-shadow .18s;display:grid;position:relative}.friend-card-art{width:100%;height:88px;margin-bottom:4px;display:block;position:relative}.friend-card-art img{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;max-width:none;height:100%;position:absolute;inset:0}.friend-card-name{max-width:100%;font:600 16px/1.4 var(--ui-font)}.friend-card-preview{max-width:100%;color:var(--friend-ink-soft);font:13px/1.5 var(--ui-font);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.friend-card.is-selected{border-color:var(--friend-apricot-edge);background:var(--friend-apricot);box-shadow:0 1px 0 var(--friend-apricot-edge)}.friend-card-chosen{background:var(--paper);color:var(--friend-apricot-ink);font:600 12px/17.5px var(--ui-font);white-space:nowrap;border-radius:999px;padding:1px 8px}.friend-card.is-open{box-shadow:0 0 0 2px var(--friend-open);border-color:#0000}.friend-picker-open{border:2px solid var(--friend-open);background:var(--friend-paper);max-width:460px;color:var(--friend-ink);border-radius:16px;margin:14px auto 0;padding:12px 14px 16px;position:relative}.friend-picker-open-heading{font:var(--type-meta);color:var(--friend-ink-soft);justify-content:space-between;align-items:center;gap:8px;display:flex}.friend-picker-open-heading>span{min-width:0}.friend-picker-close{min-width:52px;min-height:44px;color:var(--friend-ink-soft);font:var(--type-meta);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;flex:none;padding:4px 0 4px 10px;text-decoration:underline}.friend-whole,.friend-tag{border:1px solid var(--friend-edge);background:var(--paper);min-height:44px;color:var(--friend-ink);box-shadow:0 1px 0 var(--friend-edge);font:var(--type-control);cursor:pointer}.friend-whole{border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 8px;width:100%;margin:6px 0 12px;padding:8px 12px;display:flex}.friend-whole small{color:var(--friend-apricot-ink);font:var(--type-meta)}.friend-tags{flex-wrap:wrap;gap:8px;display:flex}.friend-tag{border-radius:4px 12px 12px 4px;align-items:center;gap:6px;min-width:44px;padding:8px 14px;animation:.26s both friend-tag-in;display:inline-flex}.friend-tag small{color:var(--friend-apricot-ink);font:600 12px/1.4 var(--ui-font)}.friend-whole.is-selected,.friend-tag.is-selected{border-color:var(--friend-apricot-edge);background:var(--friend-apricot);box-shadow:0 1px 0 var(--friend-apricot-edge)}.friend-card:focus-visible,.friend-whole:focus-visible,.friend-tag:focus-visible,.friend-picker-close:focus-visible{outline:2px solid var(--room-blue);outline-offset:3px}@media (hover:hover){.friend-card:not(.is-selected):hover,.friend-tag:not(.is-selected):hover{background:var(--paper-deep)}}@keyframes friend-tag-in{0%{opacity:0;transform:translateY(4px)}}@media (width<=350px){.friend-picker-grid{gap:8px}.friend-card{padding-inline:10px}.friend-card-name{font-size:15px}}@media (prefers-reduced-motion:reduce){.friend-tag,.friend-card{transition:none;animation:none}}.book-editor .category-picker.friend-picker{border:0;border-radius:0;margin:0;padding:0}.friend-picker-grid{gap:8px}.friend-card{min-height:68px;box-shadow:none;border-radius:14px;padding:10px 12px}.friend-card-name{font:600 15px/1.35 var(--ui-font)}.friend-card.is-selected,.friend-whole.is-selected,.friend-tag.is-selected{border-color:color-mix(in srgb, var(--friend-apricot-edge) 70%, transparent);background:color-mix(in srgb, var(--friend-apricot) 60%, var(--friend-paper));box-shadow:none}.friend-card.is-open{box-shadow:0 0 0 1.5px var(--friend-open)}.friend-picker-open{border:1px solid color-mix(in srgb, var(--friend-open) 45%, var(--friend-edge));border-radius:14px;margin-top:10px;padding:8px 12px 14px}.friend-whole,.friend-tag{box-shadow:none}.friend-tag,.friend-whole{border-radius:999px}@media (width<=350px){.friend-card{padding-inline:10px}.friend-card-name{font-size:14px}}.book-editor .friend-picker-grid,.book-editor .friend-picker-open{max-width:none;margin-inline:0}.book-editor .category-picker,.book-editor .cover-tone,.book-editor .classification-suggestion{border:1px solid var(--line);border-radius:20px;margin:22px 0;padding:20px}.book-editor h3{font-size:20px}.category-tree{grid-template-columns:1fr 1fr;gap:12px;display:grid}.category-branch{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:12px}.book-editor .category-root,.book-editor .category-leaves label{cursor:pointer;align-items:center;gap:8px;font-size:14px;display:flex}.book-editor .category-tree input[type=checkbox]{accent-color:#bb8944;flex:0 0 18px;width:18px;height:18px;min-height:18px}.category-branch summary{color:var(--ink-soft);cursor:pointer;padding:10px 0 0;font-size:12px}.category-leaves{gap:10px;padding-top:12px;display:grid}.book-editor .category-root.selected,.book-editor .category-leaves .selected{color:var(--ink);font-weight:600}.tone-presets,.heart-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.book-editor .tone-presets button,.classification-suggestion>button{border:1px solid var(--line);color:var(--ink);background:0 0;border-radius:20px;padding:8px 18px;font-size:14px}.book-editor .tone-presets button[aria-pressed=true]{color:#302719;background:#e8c47f}.cover-tone label{grid-template-columns:1fr auto;margin-top:15px;font-size:13px;display:grid}.cover-tone input{accent-color:#ba8949;grid-column:1/-1;width:100%}.classification-suggestion summary{cursor:pointer;margin-top:14px;font-size:13px}.classification-suggestion p,.classification-suggestion a{font-size:14px;line-height:1.7}.heart-rating{border:0;margin:24px 0;padding:0}.heart-rating legend{margin-bottom:12px;font-size:17px}.heart-rating,.heart-display{--heart-empty:#f7dccf;--heart-empty-edge:#e9b9a5;--heart-full:#e8604f;--heart-full-edge:#cf4a3a}:root[data-theme=dark] .heart-rating,:root[data-theme=dark] .heart-display{--heart-empty:#6b4d45;--heart-empty-edge:#9a6c5f;--heart-full:#f07a66;--heart-full-edge:#f59a88}.heart-buttons{gap:2px;display:flex}.heart-pair{background:0 0;border:0;border-radius:10px;place-items:center;width:50px;min-width:44px;height:48px;padding:0;display:grid;position:relative}.rating-heart{width:42px;height:37px;display:block}.rating-heart svg{width:100%;height:100%;display:block;overflow:visible}.heart-base{fill:var(--heart-empty);stroke:var(--heart-empty-edge);stroke-width:1.4px}.heart-fill{fill:var(--heart-full);stroke:var(--heart-full-edge);stroke-width:1.4px}.heart-half-line{stroke:var(--heart-full-edge);stroke-width:1px;stroke-dasharray:1.6 1.8}.heart-display{align-items:center;gap:6px;display:inline-flex}.heart-display .rating-heart{width:19px;height:17px}.heart-row{gap:2px;display:inline-flex}.heart-display small{font:var(--type-meta);color:var(--ink-soft)}.raccoon-mood{background-repeat:no-repeat;background-size:500% 100%;flex:none;width:60px;height:100px;display:block}.heart-display .raccoon-mood{width:27px;height:45px}.rating-feedback{font:var(--type-meta);color:var(--ink-soft);align-items:center;gap:12px;margin-top:-12px;display:flex}.heart-controls{gap:4px;display:grid}.rating-adjust{color:var(--ink-soft);align-items:center;gap:2px;display:flex}.rating-adjust button{min-width:44px;min-height:44px;color:var(--ink-soft);font:var(--type-meta);background:0 0;border:0;border-radius:8px;padding:6px 8px}.rating-adjust button:disabled{opacity:.45}.rating-adjust button:last-child{text-underline-offset:4px;margin-left:auto;text-decoration:underline}.rating-adjust output{text-align:center;min-width:56px;font:var(--type-meta)}.plan-reason{color:var(--ink-soft);white-space:pre-wrap;max-width:160px;font-size:12px;line-height:1.6}.book-reason p{white-space:pre-wrap;font-size:14px}@media (width<=600px){.book-editor .category-picker,.book-editor .cover-tone,.book-editor .classification-suggestion{padding:14px}.category-tree{gap:8px}.category-branch{padding:9px}.book-editor .category-root{font-size:13px}}:root{color:var(--ink);background:var(--paper);font-synthesis:none;text-rendering:optimizelegibility;--serif:"Noto Serif SC", "Songti SC", STSong, SimSun, serif;--shelf-mint:#f4efe8;--shelf-peach:#fff0da;--shelf-lilac:#f0ebff;--shelf-blue:#e6f3ff;--graph-line:#76675d;--danger:#a84d3f;--success:#456f5d;font-family:Noto Sans SC,Microsoft YaHei,PingFang SC,system-ui,sans-serif}:root[data-theme=dark]{--graph-line:#c9b9a7;--danger:#e18a77;--success:#93b9a5;--shelf-mint:#2c2c36;--shelf-peach:#443a2e;--shelf-lilac:#33334e;--shelf-blue:#253b50}*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth;min-width:320px;min-height:100%}body{background:var(--paper);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit;color:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--gold) 58%, white);outline-offset:3px}img{max-width:100%}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{min-height:100vh}.app-shell main{width:min(1380px,100%);margin:0 auto}.status-banner{z-index:80;text-align:center;color:var(--ink);background:color-mix(in srgb, var(--gold-pale) 76%, var(--surface-solid));border-bottom:1px solid var(--line);padding:10px 18px;font-size:13px;position:relative}.status-banner button{color:#fff;background:var(--brown);cursor:pointer;border:0;border-radius:999px;margin-left:12px;padding:4px 11px}.demo-notice{color:var(--ink-soft);background:var(--surface-solid)}.demo-notice a{color:var(--ink);text-underline-offset:3px;margin-left:10px;text-decoration:underline}.app-topbar{z-index:40;border-bottom:1px solid color-mix(in srgb, var(--line) 72%, transparent);background:color-mix(in srgb, var(--paper) 84%, transparent);-webkit-backdrop-filter:blur(22px)saturate(120%);backdrop-filter:blur(22px)saturate(120%);align-items:center;min-height:68px;padding:0 clamp(22px,4vw,64px);display:grid;position:sticky;top:0}.small-brand{text-align:left;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;display:grid}.small-brand strong{font-family:var(--serif);letter-spacing:.08em;font-size:15px;font-weight:600}.small-brand small{color:var(--faint);letter-spacing:.18em;margin-top:2px;font-size:9px}.desktop-nav{align-items:stretch;gap:5px;height:68px}.desktop-nav button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 18px;display:flex;position:relative}.desktop-nav button:after{content:"";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:0;left:18px;right:18px}.desktop-nav button.active{color:var(--ink)}.desktop-nav button.active:after{background:var(--gold)}.desktop-nav svg,.settings-button svg,.mobile-nav svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.topbar-actions{justify-self:end;align-items:center;gap:14px;display:flex}.save-indicator{color:var(--faint);letter-spacing:.06em;font-size:11px}.settings-button,.close-button{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 80%, transparent);cursor:pointer;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;display:grid}.settings-button:hover,.close-button:hover{border-color:var(--line-strong);background:var(--surface-solid)}.toast{z-index:200;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#221b16e6;border:1px solid #ffffff2e;border-radius:999px;max-width:calc(100vw - 32px);padding:12px 18px;font-size:13px;animation:.22s both toast-in;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 14px 42px #0000003d}.app-loading{text-align:center;place-content:center;gap:10px;min-height:100vh;display:grid}.app-loading span{font-family:var(--serif);font-size:29px}.app-loading small{color:var(--faint)}.app-loading button{border:1px solid var(--line-strong);background:var(--surface-solid);cursor:pointer;border-radius:999px;justify-self:center;margin-top:16px;padding:10px 17px}.save-error{color:var(--danger);background:color-mix(in srgb, var(--danger) 11%, var(--surface-solid))}.page{padding:76px clamp(24px,5vw,72px) 100px}.page-heading{justify-content:space-between;align-items:end;gap:30px;max-width:1180px;margin:0 auto 52px;display:flex}.page-heading>div:first-child{max-width:630px}.page-heading h1{font-family:var(--serif);letter-spacing:.015em;margin:5px 0 12px;font-size:clamp(36px,5vw,52px);font-weight:600;line-height:1.25}.page-heading p:not(.kicker){color:var(--ink-soft);margin:0;line-height:1.8}.kicker,.wordmark-en,.eyebrow{color:var(--ink-soft);letter-spacing:.2em;text-transform:uppercase;margin:0;font-family:Georgia,Times New Roman,serif;font-size:11px;font-weight:700}.segmented{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 70%, transparent);border-radius:999px;padding:4px;display:inline-flex}.segmented button{min-height:38px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 16px}.segmented button.active{color:var(--surface-solid);background:var(--brown);box-shadow:0 5px 14px color-mix(in srgb, var(--shadow) 62%, transparent)}:root[data-theme=dark] .segmented button.active{color:#17131d;background:var(--gold)}.filter-scroll{scrollbar-width:none;align-items:center;gap:10px;padding:4px 2px 9px;display:flex;overflow-x:auto}.filter-scroll::-webkit-scrollbar{display:none}.shelf-lane::-webkit-scrollbar{display:none}.year-book-strip::-webkit-scrollbar{display:none}.filter-scroll button,.grouping-row button{border:1px solid var(--line);min-height:38px;color:var(--ink-soft);background:color-mix(in srgb, var(--surface) 68%, transparent);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;padding:0 17px}.filter-scroll button:hover,.grouping-row button:hover{border-color:var(--line-strong)}.filter-scroll button.active,.grouping-row button.active{color:var(--ink);border-color:color-mix(in srgb, var(--gold) 50%, var(--line));background:color-mix(in srgb, var(--gold-pale) 55%, var(--surface-solid))}.section-title-row{justify-content:space-between;align-items:baseline;gap:18px;display:flex}.section-title-row h2,.section-title-row h3{font-family:var(--serif);margin:0;font-weight:500}.section-title-row span{color:var(--faint);font-family:Georgia,serif;font-size:12px}.theme-pills{flex-wrap:wrap;gap:7px;display:flex}.theme-pills span{border:1px solid var(--line);color:var(--ink-soft);border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;display:inline-flex}.theme-pills i{border-radius:50%;width:7px;height:7px}.empty-paper{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:28px;place-items:center;min-height:280px;padding:42px;display:grid}.empty-paper p{font-family:var(--serif);margin:0 0 10px;font-size:22px}.empty-paper small{color:var(--ink-soft)}.empty-paper button{border:1px solid var(--line-strong);cursor:pointer;background:0 0;border-radius:999px;margin-top:18px;padding:10px 18px}.library-page{padding-top:32px}.library-header{grid-template-columns:minmax(280px,1fr) auto}.wordmark-block{min-width:0}.wordmark-en{color:var(--ink-soft);border-bottom:2px solid var(--gold);padding-bottom:9px;display:inline-block}.wordmark-block h1{line-height:1.3}.library-tools{justify-content:flex-end}.mode-switch button.active{color:var(--surface-solid);background:var(--brown)}.round-action{width:48px;height:48px;box-shadow:0 6px 16px color-mix(in srgb, var(--gold) 20%, transparent);cursor:pointer;padding:0;font-weight:400}.library-search-row{justify-content:space-between;align-items:center;gap:24px;display:grid}.editorial-search{border:1px solid var(--line);background:color-mix(in srgb, var(--surface-solid) 72%, transparent);border-radius:999px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;min-height:48px;padding:0 17px;display:grid}.editorial-search>span{color:var(--ink-soft);font-size:22px}.editorial-search input{background:0 0;border:0;outline:0;min-width:0}.editorial-search input::placeholder{color:var(--faint)}.editorial-search button{width:27px;height:27px;color:var(--ink-soft);background:color-mix(in srgb, var(--ink) 7%, transparent);cursor:pointer;border:0;border-radius:50%;padding:0}.editorial-search.compact{min-width:min(360px,100%)}.library-count{color:var(--ink-soft);white-space:nowrap;margin:0;font-family:Georgia,serif}.library-count strong{color:var(--success);font-size:28px;font-weight:500}.library-browse-controls{display:grid}.library-browse-controls .filter-scroll>span{width:48px;color:var(--ink-soft);flex:none;font-size:12px}.library-browse-controls .filter-scroll button{min-height:40px}.shelf-browse-footer{flex-wrap:wrap;justify-content:space-between;margin-bottom:18px;display:flex}.shelf-browse-footer .grouping-row{margin:0}.library-filter-details{min-width:0;max-width:100%;margin:0}.library-filter-details[open]{flex-basis:100%}.library-filter-details>summary{width:max-content;color:var(--ink-soft);cursor:pointer}.library-filter-details[open]{border-bottom:1px solid var(--line);padding:0 0 12px}.library-filter-details .filter-scroll{margin-top:8px}.primary-filter-row{padding-top:0}.theme-filter-row{margin-top:2px}.theme-filter-row>span{color:var(--faint);font-family:var(--serif);flex:none;margin-right:4px;font-size:13px}.grouping-row{justify-content:flex-end;align-items:center;margin:4px 0 24px;display:flex}.grouping-row>span{color:var(--faint);font-size:12px}.library-groups{display:grid}.library-group{min-width:0}.group-title{justify-content:space-between;align-items:baseline;gap:20px;display:flex}.group-title h2{font-family:var(--serif);letter-spacing:.01em;margin:0}.group-title span{color:var(--ink-soft);white-space:nowrap;font-family:Georgia,serif}.shelf-lane{scroll-snap-type:x proximity;scrollbar-width:none;display:flex;overflow-x:auto}.lane-0,.lane-1,.lane-2,.lane-3{background:var(--shelf-mint)}.shelf-book-card{cursor:pointer;scroll-snap-align:start;text-align:left;background:0 0;border:0;flex:none;width:max-content;max-width:min(290px,72vw);padding:0}.shelf-cover-frame{transition:transform .24s,box-shadow .24s;display:block;position:relative;overflow:hidden;transform:translateY(0)}.shelf-book-card:hover .shelf-cover-frame{transform:translateY(-3px)}.shelf-book-caption{align-content:start;gap:5px;width:0;min-width:100%;height:64px;padding:14px 1px 0;display:grid}.shelf-book-caption strong{text-overflow:ellipsis;white-space:nowrap;font-family:var(--serif);font-size:15px;font-weight:600;overflow:hidden}.shelf-book-caption small{text-overflow:ellipsis;white-space:nowrap;color:var(--ink-soft);font-size:11px;overflow:hidden}.cover-upload-note{color:var(--ink-soft);margin:12px 0 20px;font-size:12px;line-height:1.7}.shelf-cover-frame>img{display:block}.cover-title-overlay{text-align:center;gap:3px;display:grid;position:absolute;inset:auto 0 0}.cover-title-overlay strong{font-family:var(--serif);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.cover-title-overlay small{opacity:.76;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.cover-missing{color:#776f66;text-align:center;background:linear-gradient(145deg,#eee8de,#dcd5ca);align-content:center;justify-items:center;gap:3px;min-height:100%;padding:15px;display:grid}.cover-missing:before{content:"";opacity:.55;border:1px solid;border-radius:2px 7px 7px 2px;width:28px;height:34px;margin-bottom:6px}.cover-missing small{letter-spacing:.13em;font-size:9px}.cover-missing strong{font-family:var(--serif);font-size:13px}.plan-shelf-card{flex:none;width:max-content;max-width:min(290px,72vw)}.plan-shelf-card .shelf-book-card{width:max-content}.plan-card-actions{grid-template-columns:1fr 1fr;margin-top:11px;display:grid}.plan-card-actions button{cursor:pointer;background:#ffffff8a;border:1px solid #463a2f2e;border-radius:999px;min-height:32px;padding:0 5px;font-size:10px}.scene-card{aspect-ratio:1.16;background:var(--surface-solid);cursor:pointer;scroll-snap-align:start;border:0;border-radius:24px;flex:none;width:clamp(190px,19vw,250px);padding:0;position:relative;overflow:hidden;box-shadow:0 14px 24px #30271f2e}.scene-card>img{object-fit:cover;width:100%;height:100%}.scene-paper{color:#3a3028;background:linear-gradient(145deg,#fffbf1f5,#e7dbcaf2);align-content:center;gap:13px;width:100%;height:100%;padding:28px;display:grid}.scene-paper small{color:#9a7657;font-family:Georgia,serif}.scene-paper strong{font-family:var(--serif);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:18px;font-weight:500;line-height:1.65;display:-webkit-box;overflow:hidden}.scene-caption{color:#fff;text-align:left;background:linear-gradient(#0000,#14100de0);gap:3px;padding:32px 16px 13px;display:grid;position:absolute;inset:auto 0 0}.scene-caption b{font-family:var(--serif);font-weight:600}.scene-caption small{opacity:.78;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notes-page{max-width:1220px;margin:0 auto}.notes-heading{max-width:840px;margin-bottom:22px;display:block}.notes-heading h1{font-size:clamp(36px,5vw,56px)}.notes-heading .moment-caption{letter-spacing:.04em;font-family:Georgia,Times New Roman,serif;font-size:16px;font-style:italic}.notes-search{max-width:840px;margin:0 auto 26px;display:grid}.notes-toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:34px;display:flex}.notes-stream{grid-template-columns:minmax(0,1fr);gap:16px;max-width:840px;margin:0 auto;display:grid}.note-entry{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 84%, transparent);min-height:178px;box-shadow:0 9px 25px color-mix(in srgb, var(--shadow) 42%, transparent);text-align:left;cursor:pointer;border-radius:24px;grid-template-columns:76px minmax(0,1fr);gap:18px;padding:20px;display:grid}.note-entry:has(.note-image){grid-template-columns:76px minmax(0,1fr) 110px}.note-cover{background:var(--paper-deep);width:64px;height:86px;box-shadow:0 7px 15px var(--shadow);border-radius:13px 13px 9px 9px;display:block;overflow:hidden}.note-cover>img,.note-cover>.cover-missing{object-fit:cover;width:100%;height:100%}.note-cover .cover-missing:before{width:17px;height:22px}.note-cover .cover-missing small{display:none}.note-content{flex-direction:column;min-width:0;display:flex}.note-content>small{color:var(--gold);letter-spacing:.1em;font-size:10px}.note-content>strong{font-family:var(--serif);margin:8px 0 6px;font-size:20px;font-weight:500}.note-content>span{color:var(--ink-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.75;display:-webkit-box;overflow:hidden}.note-content>em{color:var(--faint);margin-top:5px;font-size:11px}.note-content>b{color:var(--ink);font-family:var(--serif);margin-top:auto;padding-top:10px;font-size:12px;font-weight:500}.note-image{object-fit:cover;border-radius:15px;width:110px;height:100%;min-height:130px}.diary-entry{border-radius:20px;min-height:0;padding:24px}.diary-entry .note-content>strong{margin:0 0 11px;font-size:21px}.diary-fragment{border-top:1px solid var(--line);display:grid}.diary-fragment>small{color:var(--ink-soft)}.diary-fragment>em{color:var(--ink-soft);font-family:var(--serif);font-size:15px;font-style:normal}.diary-fragment .diary-prose{color:var(--ink);font-family:var(--serif);white-space:pre-wrap;display:block}.diary-fragment>img{object-fit:contain}.footprints-page{max-width:1220px;margin:0 auto}.graph-view{padding:0}.view-heading{margin-bottom:24px}.view-heading h1{font-family:var(--serif);margin:4px 0 8px;font-size:34px;font-weight:500}.heading-note{color:var(--ink-soft);margin:0}.graph-heading-row{justify-content:space-between;align-items:end;gap:20px;display:flex}.age-graph-filter{width:150px;color:var(--ink-soft);gap:6px;font-size:11px;display:grid}select,input,textarea{border:1px solid var(--line);color:var(--ink);background:var(--surface-solid);border-radius:12px}select,input{min-height:42px;padding:0 12px}textarea{resize:vertical;width:100%;min-height:120px;padding:13px 14px;line-height:1.7}.graph-stage{background:var(--surface-solid);min-height:430px;box-shadow:0 6px 24px var(--shadow);border:0;border-radius:24px;position:relative;overflow:hidden}.graph-stage canvas{touch-action:manipulation;width:100%;display:block}.graph-hint{width:min(90%,420px);color:var(--faint);text-align:center;margin:0;font-size:11px;position:absolute;bottom:15px;left:50%;transform:translate(-50%)}.graph-empty{min-height:430px;color:var(--ink-soft);font-family:var(--serif);text-align:center;place-items:center;margin:0;padding:28px;display:grid}.theme-key{flex-wrap:wrap;gap:8px;margin-top:17px;display:flex}.theme-key button{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 74%, transparent);cursor:pointer;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 11px;display:inline-flex}.theme-key i{background:var(--theme-color);border-radius:50%;width:9px;height:9px}.theme-key small{color:var(--faint)}.graph-stage.is-garden-preview{--garden-paper:#fffcf7;color:#453b38;background:var(--garden-paper);box-shadow:none;border-radius:0}.garden-preview{padding:22px clamp(12px,3vw,40px) 18px}.garden-preview-label{color:#776866;letter-spacing:.05em;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:11px;display:flex}.garden-preview-label a,.garden-reference a{color:inherit;text-underline-offset:4px}.theme-garden{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 32px;padding:38px 0 30px;display:grid}.garden-flower{cursor:pointer;background:0 0;border:0;align-content:center;justify-items:center;gap:7px;min-width:0;padding:12px 4px;display:grid}.garden-flower-art{place-items:center;height:130px;display:grid}.garden-flower svg{max-width:100%;transition:transform .25s}.garden-flower:hover svg{transform:rotate(8deg)}.garden-flower strong{font-family:var(--serif);letter-spacing:.06em;font-size:16px;font-weight:500}.garden-flower small{color:#786d65;font-size:11px}.garden-caption{text-align:center;font-family:var(--serif);margin:12px 0 24px;font-size:18px}.garden-caption span{color:#786d65;margin-top:8px;font-family:Noto Sans SC,sans-serif;font-size:12px;display:block}.garden-reference{color:#786d65;text-align:center;max-width:610px;margin:0 auto;font-size:11px;line-height:1.8}:root[data-theme=dark] .is-garden-preview{--garden-paper:#202331;color:#f5eee3}:root[data-theme=dark] :is(.garden-preview-label,.garden-flower small,.garden-caption span,.garden-reference){color:#c5b9b1}@media (width<=600px){.theme-garden{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;padding:24px 0}.garden-flower-art{height:98px}.garden-flower svg{width:min(100%, calc(var(--flower-size) * .86));height:auto}.garden-flower strong{letter-spacing:0;font-size:13px}.garden-preview{padding-inline:0}.garden-caption{font-size:16px}}@media (prefers-reduced-motion:reduce){.garden-flower svg{transition:none}.garden-flower:hover svg{transform:none}}.graph-data-note{color:var(--faint);text-align:center;font-size:11px}.focus-graph{--focus-color:var(--gold);min-height:610px;position:relative}.graph-back{z-index:5;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:7px 10px;position:absolute;top:22px;left:22px}.focus-center{z-index:3;width:116px;height:116px;color:var(--focus-ink,#fffaf2);background:var(--focus-color);border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.focus-center span{font-size:20px;font-weight:700}.focus-center small{opacity:.82;margin-top:-22px}.focus-group-label{display:none}.book-orbit,.theme-orbit{position:absolute;inset:0}.orbit-book{--angle:calc(360deg / var(--orbit-total) * var(--orbit-index));z-index:2;text-align:center;cursor:pointer;width:76px;transform:translate(-50%, -50%) rotate(var(--angle)) translateY(-156px) rotate(calc(-1 * var(--angle)));background:0 0;border:0;gap:4px;padding:0;display:grid;position:absolute;top:50%;left:50%}.orbit-book img{aspect-ratio:.72;object-fit:cover;width:58px;box-shadow:0 8px 17px var(--shadow);border-radius:11px;margin:0 auto}.orbit-book span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.theme-orbit button{--angle:calc(360deg / var(--co-total) * var(--co-index) + 18deg);width:76px;height:76px;color:var(--theme-ink,#fffaf2);background:var(--theme-color);cursor:pointer;transform:translate(-50%, -50%) rotate(var(--angle)) translateY(-245px) rotate(calc(-1 * var(--angle)));border:0;border-radius:50%;place-items:center;padding:7px;font-size:11px;display:grid;position:absolute;top:50%;left:50%}.theme-orbit small{color:inherit;opacity:.82;font-size:9px}.story-map-view{gap:42px;display:grid}.story-map-panel{border:1px solid var(--line);background:linear-gradient(145deg, color-mix(in srgb, #dfe7e7 78%, var(--surface-solid)), color-mix(in srgb, #ede1ce 68%, var(--surface-solid)));border-radius:32px;min-height:430px;position:relative;overflow:hidden}.abstract-map{opacity:.62;position:absolute;inset:0}.land{background:#f6f6ef9e;border:1px solid #5c676638;display:block;position:absolute;transform:rotate(-7deg)}.land-a{border-radius:53% 47% 61% 39%/40% 54% 46% 60%;width:33%;height:38%;top:18%;left:6%}.land-b{border-radius:45% 55% 58% 42%;width:22%;height:33%;top:51%;left:23%;transform:rotate(18deg)}.land-c{border-radius:64% 36% 49% 51%/42% 52% 48% 58%;width:39%;height:43%;top:19%;right:9%}.land-d{border-radius:42% 58% 61% 39%;width:20%;height:22%;bottom:8%;right:14%;transform:rotate(13deg)}.map-summary{z-index:2;color:#4d514f;text-align:center;place-items:center;display:grid;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}.map-summary p{font-family:var(--serif);margin:0 0 10px;font-size:18px}.map-summary strong{font-family:Georgia,serif;font-size:62px;font-weight:400}.map-summary span{letter-spacing:.12em;font-size:11px}.map-dots span{--angle:calc(var(--dot-index) * 61deg);z-index:3;left:calc(12% + (var(--dot-index) * 13%));top:calc(16% + (var(--dot-index) % 3) * 23%);color:#4d514f;background:#fffcf5cc;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:11px;display:inline-flex;position:absolute;box-shadow:0 5px 14px #383d3a1a}.map-dots i{background:var(--gold);border-radius:50%;width:7px;height:7px}.map-dots small{color:#8a8178}.origin-groups{gap:35px;display:grid}.origin-books{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.origin-books button,.reencounter-grid button,.ring-evidence button{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:18px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;padding:13px;display:grid}.origin-books button>span:last-child,.reencounter-grid button>span:last-child{gap:5px;min-width:0;display:grid}.origin-books strong,.reencounter-grid strong{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.origin-books small,.reencounter-grid small{color:var(--ink-soft)}.reencounter-section{border-top:1px solid var(--line);margin-top:58px;padding-top:42px}.reencounter-section .section-title-row{margin-bottom:18px}.reencounter-section h2{margin-top:4px;font-size:29px}.reencounter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.rings-page{max-width:1160px;margin:0 auto}.ring-legacy{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface);border-radius:20px;margin-top:10px;padding:17px 22px}.ring-legacy>summary{cursor:pointer;font-size:12px}.ring-legacy-body{gap:24px;padding-top:20px;display:grid}.legacy-year-notes{gap:14px;display:grid}.legacy-year-notes .ring-note{border-top:1px solid var(--line);padding-top:10px}.legacy-future-letter{gap:10px;display:grid}.ring-content{display:grid}.ring-selector{align-items:center;gap:18px;display:flex}.ring-selector>span{color:var(--ink-soft);font-family:var(--serif);flex:none}.ring-selector .filter-scroll{flex:1}.ring-hero-card,.reading-portrait,.future-letter-page{background:color-mix(in srgb, var(--surface-solid) 77%, transparent);box-shadow:0 14px 40px color-mix(in srgb, var(--shadow) 48%, transparent), inset 0 1px #ffffffb8;border:1px solid #ffffffbd;border-radius:31px;padding:clamp(27px,4vw,50px)}.ring-title{align-items:center;gap:24px;display:flex}.ring-number{color:#fff;background:var(--gold);border-radius:50%;place-items:center;width:92px;height:92px;font-family:Georgia,serif;font-size:51px;display:grid}.ring-title p{color:var(--ink-soft);font-family:var(--serif);margin:0}.ring-title h2{font-family:var(--serif);margin:7px 0 0;font-size:clamp(25px,4vw,42px);font-weight:500}.ring-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap;gap:30px;margin:34px 0;padding:22px 0;display:flex}.ring-stats span{color:var(--ink-soft)}.ring-stats strong{color:var(--ink);margin-right:5px;font-family:Georgia,serif;font-size:28px;font-weight:400}.ring-note{color:var(--ink-soft);gap:10px;font-size:12px;display:grid}.ring-note textarea{min-height:108px;font-family:var(--serif);font-size:16px}.reading-portrait{gap:20px;display:grid}.reading-portrait .section-title-row{border-bottom:1px solid var(--line);padding-bottom:17px}.portrait-row small{color:var(--faint)}.portrait-row p{flex-wrap:wrap;gap:9px;margin:10px 0 0;display:flex}.portrait-row p>span{border-right:1px solid var(--line);font-family:var(--serif);padding-right:12px;font-size:18px}.portrait-row b{color:var(--gold);font-family:Georgia,serif;font-weight:400}.ring-evidence .section-title-row{margin:22px 0 16px}.ring-evidence>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ring-evidence button>span:last-child{gap:6px;display:grid}.ring-evidence strong{font-family:var(--serif);font-weight:500}.ring-evidence em{color:var(--gold);font-family:var(--serif)}.ring-evidence small{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.year-card h2{font-family:var(--serif);margin:9px 0 8px;font-size:clamp(30px,5vw,52px);font-weight:500}.year-card>p:not(.kicker){color:var(--ink-soft);margin:0 0 30px}.year-book-strip{gap:13px;padding:6px 4px 20px;display:flex;overflow-x:auto}.year-book-strip button{aspect-ratio:.72;background:var(--paper-deep);width:100px;box-shadow:0 9px 18px var(--shadow);cursor:pointer;border:0;border-radius:18px;flex:none;padding:0;overflow:hidden}.year-book-strip img,.year-book-strip .cover-missing{object-fit:cover;width:100%;height:100%}.future-letter-page{max-width:890px;margin:0 auto}.future-letter-intro{text-align:center}.future-letter-intro h2{font-family:var(--serif);margin:8px 0 12px;font-size:clamp(34px,6vw,62px);font-weight:500}.future-letter-intro>p:last-child{max-width:620px;color:var(--ink-soft);margin:0 auto;line-height:1.85}.archive-assets{background:var(--line);border:1px solid var(--line);border-radius:19px;grid-template-columns:repeat(3,1fr);gap:1px;margin:40px 0;display:grid;overflow:hidden}.archive-assets span{background:var(--surface-solid);text-align:center;gap:4px;padding:21px 13px;display:grid}.archive-assets strong{font-family:Georgia,serif;font-size:27px;font-weight:400}.future-letter{color:var(--ink-soft);gap:11px;display:grid}.future-letter textarea{min-height:330px;font-family:var(--serif);padding:24px;font-size:18px;line-height:2}.autosave-note{color:var(--faint);text-align:center;font-size:11px}.detail-layer,.modal-layer{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#231b1661;justify-content:flex-end;animation:.18s both fade-in;display:flex;position:fixed;inset:0}.book-detail,.settings-panel{border-left:1px solid var(--line);background:var(--paper);width:min(630px,100%);height:100%;animation:.25s both slide-in;position:relative;overflow-y:auto;box-shadow:-18px 0 70px #0000002b}.book-detail>.close-button,.settings-panel>.close-button,.book-editor>.close-button{z-index:3;font-size:23px;position:absolute;top:20px;right:22px}.detail-hero{grid-template-columns:minmax(0,220px) minmax(0,1fr);align-items:center;gap:29px;padding:20px 0 34px;display:grid}.detail-cover{width:220px;max-width:100%;display:block}.detail-cover>img,.detail-cover>.cover-missing,.detail-cover>.cover-photo-trim{object-fit:contain;width:100%;height:auto;box-shadow:0 5px 16px var(--shadow);background:0 0;border-radius:3px;display:block}.detail-cover>.cover-missing{min-height:250px}.detail-title-copy h2{font-family:var(--serif);margin:7px 0 8px;font-size:clamp(28px,5vw,43px);font-weight:500;line-height:1.2}.book-author{color:var(--ink-soft);margin:0 0 18px}.detail-actions{flex-wrap:wrap;gap:7px;margin-top:20px;display:flex}.detail-actions button,.detail-danger button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;min-height:36px;padding:0 12px}.memory-list{gap:14px;display:grid}.memory-list>.section-title-row{margin-bottom:3px}.age-memory{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:21px}.age-memory header{justify-content:space-between;align-items:start;gap:16px;display:flex}.age-memory header>div{gap:3px;display:grid}.age-memory header strong{font-family:var(--serif);font-size:24px;font-weight:500}.age-memory header small,.read-dates{color:var(--faint);font-size:10px}.memory-empty{font-size:12px}.memory-moment{gap:9px;margin:13px 0;display:grid}.memory-moment img{object-fit:contain;background:var(--paper-deep);border-radius:14px;width:100%;max-height:330px}.memory-moment p{color:var(--ink-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.75}.memory-audio{width:min(100%,420px);margin-top:4px;display:block}.audio-missing,.audio-loading{color:var(--ink-soft);margin:0;font-size:12px}.audio-missing{color:var(--danger)}.read-dates{margin:12px 0 0}.detail-danger{border-top:1px solid var(--line);justify-content:center;margin-top:42px;padding-top:22px;display:flex}.detail-danger button{color:var(--danger)}.modal-layer{justify-content:center;align-items:flex-start;padding:28px;overflow-y:auto}.book-editor{border:1px solid var(--line);background:var(--paper);border-radius:30px;width:min(900px,100%);padding:clamp(30px,5vw,58px);position:relative;box-shadow:0 28px 90px #0000003d}.editor-header{margin-bottom:22px;padding-right:50px}.editor-header h2,.settings-panel h2{font-family:var(--serif);margin:8px 0 18px;font-size:clamp(30px,5vw,48px);font-weight:500;line-height:1.2}.editor-kind{margin-top:6px}.editor-book-core{grid-template-columns:160px minmax(0,1fr);align-items:start;gap:24px;display:grid}.editor-cover-upload{color:var(--ink-soft);text-align:center;cursor:pointer;gap:10px;font-size:12px;display:grid}.editor-cover-frame{width:160px;box-shadow:0 5px 16px var(--shadow);background:0 0;border-radius:3px;display:block;overflow:hidden}.editor-cover-frame>img{object-fit:contain;width:100%;height:auto;display:block}.editor-cover-frame>.cover-missing{width:100%;min-height:190px}.editor-cover-upload input{opacity:0;width:1px;height:1px;position:absolute}.cover-lookup{margin-top:18px}.cover-lookup-head{flex-wrap:wrap;align-items:center;gap:11px;display:flex}.cover-lookup-head button,.cover-lookup-actions button{border:1px solid var(--line-strong);min-height:36px;color:var(--ink);background:var(--surface-solid);cursor:pointer;border-radius:999px;padding:0 13px;font-size:11px}.cover-lookup-head button:disabled,.cover-lookup-actions button:disabled{cursor:default;opacity:.52}.cover-lookup-head small,.cover-lookup-caution,.cover-lookup-status{color:var(--ink-soft);font-size:11px;line-height:1.6}.cover-lookup-status,.cover-lookup-caution{margin:10px 0 0}.cover-lookup-results{gap:9px;max-height:420px;margin-top:12px;display:grid;overflow-y:auto}.cover-lookup-candidate{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.cover-lookup-preview{width:68px;height:92px;color:var(--ink-soft);background:var(--paper-deep);text-align:center;border-radius:6px;place-items:center;font-size:10px;display:grid;overflow:hidden}.cover-lookup-preview img{object-fit:contain;width:100%;height:100%}.cover-lookup-details{min-width:0;color:var(--ink-soft);gap:2px;font-size:10px;display:grid}.cover-lookup-details strong{color:var(--ink);font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.cover-lookup-details a{color:var(--gold)}.cover-lookup-actions{gap:6px;display:grid}.cover-lookup-actions button{min-height:30px;padding:0 9px;font-size:10px}.field-stack{gap:15px;display:grid}.field-stack label,.two-fields label{color:var(--ink-soft);gap:7px;font-size:12px;display:grid}.field-stack input,.two-fields input,.two-fields select{width:100%}.two-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.editor-theme-picker{border:0;margin:28px 0;padding:0}.editor-optional{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 72%, transparent);border-radius:16px;margin-top:16px;padding:14px 17px}.editor-optional>summary{color:var(--ink-soft);cursor:pointer;font-size:12px}.editor-optional[open]>summary{margin-bottom:19px}.editor-optional .editor-theme-picker{margin:20px 0 4px}.editor-optional>.editor-section{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;padding:16px 0}.editor-theme-picker legend{font-family:var(--serif);margin-bottom:12px;font-size:18px}.editor-theme-picker legend small,.editor-section h3 small{color:var(--faint);font-family:inherit;font-size:10px;font-weight:400}.editor-theme-picker>div{flex-wrap:wrap;gap:7px;display:flex}.editor-theme-picker label{border:1px solid var(--line);min-height:34px;color:var(--ink-soft);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.editor-theme-picker label.selected{color:var(--ink);border-color:var(--line-strong);background:var(--gold-pale)}.editor-theme-picker input{opacity:0;pointer-events:none;position:absolute}.editor-theme-picker i{border-radius:50%;width:8px;height:8px}.editor-section{border:1px solid var(--line);background:var(--surface);border-radius:21px;margin-top:16px;padding:23px}.editor-section h3{font-family:var(--serif);margin:0 0 16px;font-size:20px;font-weight:500}.age-preview,.gentle-note{background:color-mix(in srgb, var(--gold-pale) 38%, transparent);border-radius:14px;align-content:center;min-height:70px;padding:12px 16px;display:grid}.age-preview small{color:var(--ink-soft)}.age-preview strong{font-family:var(--serif);margin-top:3px;font-size:18px;font-weight:500}.gentle-note{color:var(--ink-soft);font-size:12px;line-height:1.7}.optional-image-field{align-items:center;gap:12px;margin-top:12px;display:flex}.optional-image-field img{object-fit:cover;border-radius:11px;width:78px;height:78px}.optional-image-field label{border:1px solid var(--line);min-height:38px;color:var(--ink-soft);cursor:pointer;border-radius:999px;align-items:center;padding:0 13px;font-size:11px;display:inline-flex}.optional-image-field input{opacity:0;pointer-events:none;position:absolute}.optional-image-field button{color:var(--danger);cursor:pointer;background:0 0;border:0;font-size:11px}.audio-recorder{border-top:1px solid var(--line);gap:10px;margin-top:20px;padding-top:20px;display:grid}.audio-recorder-heading{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.audio-recorder-heading strong{font-size:13px;font-weight:500}.audio-recorder-heading small,.audio-recording-limit{color:var(--faint);font-size:10px;line-height:1.6}.audio-recorder-actions,.audio-preview{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.audio-recorder-actions button,.audio-upload,.audio-preview button{border:1px solid var(--line);min-height:36px;color:var(--ink);background:var(--surface-solid);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0 13px;font-size:11px;display:inline-flex}.audio-recorder-actions button:first-child{color:var(--brown);border-color:var(--line-strong)}.audio-recorder-actions .recording-stop{color:var(--danger)}.recording-stop span{font-variant-numeric:tabular-nums;margin-left:8px}.audio-upload input{opacity:0;width:1px;height:1px;position:absolute}.audio-preview audio{width:min(100%,400px)}.audio-preview button{color:var(--danger);background:0 0}.audio-error{color:var(--danger);margin:0;font-size:11px}.diary-audio-caption{color:var(--ink-soft);font-size:11px}.editor-error{color:var(--danger);background:color-mix(in srgb, var(--danger) 10%, transparent);border-radius:12px;padding:12px 15px}.editor-footer{justify-content:flex-end;gap:9px;margin-top:27px;display:flex}.editor-footer button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;min-height:44px;padding:0 19px}.editor-footer .primary-action{color:#fff;border-color:var(--brown);background:var(--brown)}.editor-footer button:disabled{cursor:wait;opacity:.58}.settings-layer{align-items:stretch;padding:0}.settings-panel header>p:last-child{color:var(--ink-soft)}.settings-section{border-top:1px solid var(--line);margin-top:29px;padding-top:24px}.settings-section h3{font-family:var(--serif);margin:0 0 14px;font-size:19px;font-weight:500}.settings-section h3 small{color:var(--faint)}.settings-row{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:16px;justify-content:space-between;align-items:center;width:100%;min-height:68px;padding:12px 14px;display:flex}.settings-row+.settings-row{margin-top:8px}.settings-row span{gap:4px;display:grid}.settings-row strong{font-weight:600}.settings-row small,.settings-empty,.local-data-section p{color:var(--ink-soft)}.settings-row b{color:var(--gold);font-size:22px}.trash-list{gap:8px;display:grid}.trash-list>div{border:1px solid var(--line);border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:12px;display:grid}.trash-list span{gap:3px;display:grid}.trash-list small{color:var(--faint)}.trash-list button{cursor:pointer;background:0 0;border:0}.danger-link{color:var(--danger)}.clear-all{cursor:pointer;background:0 0;border:0;padding:0}@keyframes fade-in{0%{opacity:0}}@keyframes slide-in{0%{opacity:.4;transform:translate(30px)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}}@media (width<=920px){.app-topbar{grid-template-columns:1fr auto}.desktop-nav,.save-indicator{display:none}.page{padding-inline:24px}.library-header{grid-template-columns:1fr}.library-tools{flex-wrap:wrap;justify-content:flex-start}.notes-stream{grid-template-columns:1fr}.origin-books,.reencounter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{flex-direction:column;align-items:start}.footprint-tabs,.ring-tabs{align-self:flex-start}.mobile-nav{z-index:70;min-height:72px;padding:7px 10px max(7px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-solid) 91%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--faint);cursor:pointer;background:0 0;border:0;align-content:center;place-items:center;gap:4px;font-size:11px;display:grid}.mobile-nav button.active{color:var(--brown)}.mobile-nav svg{width:24px;height:24px}.app-shell{padding-bottom:76px}.toast{bottom:88px}}@media (width<=640px){.app-topbar{min-height:58px;padding:0 17px}.settings-button{width:36px;height:36px}.library-page{padding-top:24px}.wordmark-block h1{margin-top:9px}.segmented button{min-height:35px;padding:0 12px;font-size:12px}.round-action{width:43px;height:43px}.library-search-row{grid-template-columns:1fr auto;gap:10px;margin-bottom:14px}.library-count{font-size:10px}.library-count strong{font-size:21px}.editorial-search{padding-inline:13px}.filter-scroll{margin-inline:-16px;padding-inline:16px}.grouping-row{justify-content:flex-start;overflow-x:auto}.group-title{margin-inline:7px}.shelf-lane{min-height:236px}.shelf-book-card,.plan-shelf-card{width:max-content}.shelf-cover-frame{border-radius:6px}.shelf-cover-frame>img,.shelf-cover-frame>.cover-photo-trim{max-width:min(234px,72vw)}.shelf-cover-frame>.cover-missing{width:128px}.scene-card{width:190px}.page-heading{gap:22px;margin-bottom:33px}.page-heading h1{font-size:38px}.notes-toolbar{flex-direction:column;align-items:stretch}.notes-tabs{align-self:flex-start;max-width:100%;overflow-x:auto}:is(.note-entry,.note-entry:has(.note-image)){grid-template-columns:55px minmax(0,1fr);gap:13px;padding:15px}.note-cover{border-radius:10px;width:50px;height:68px}.note-image{display:none}.note-content>strong{font-size:17px}.graph-heading-row{flex-direction:column;align-items:stretch}.age-graph-filter{width:100%}.graph-stage{border-radius:23px;min-height:390px}.graph-stage.is-focused{min-height:0}.focus-graph{justify-items:center;gap:24px;min-height:0;padding:23px 15px 30px;display:grid}.graph-back{justify-self:start;padding:0;position:static}.focus-center{width:106px;height:106px;position:static;transform:none}.book-orbit,.theme-orbit{flex-wrap:wrap;justify-content:center;align-items:start;gap:12px;width:100%;display:flex;position:static;inset:auto}.focus-group-label{color:var(--ink-soft);text-align:center;flex-basis:100%;font-size:11px;display:block}.orbit-book{width:70px;position:static;transform:none}.orbit-book img{width:60px}.theme-orbit button{width:65px;height:65px;font-size:10px;position:static;transform:none}.theme-orbit small{font-size:8px}.graph-hint{font-size:10px}.story-map-panel{min-height:360px}.map-summary p{font-size:14px}.map-summary strong{font-size:48px}.map-dots span{font-size:9px}.origin-books,.reencounter-grid,.ring-evidence>div:last-child{grid-template-columns:1fr}.ring-selector{flex-direction:column;align-items:flex-start;gap:4px}.ring-selector .filter-scroll{width:calc(100% + 32px)}.ring-hero-card,.reading-portrait,.future-letter-page{border-radius:24px;padding:23px}.ring-title{flex-direction:column;align-items:flex-start;gap:15px}.ring-number{width:66px;height:66px;font-size:38px}.ring-stats{gap:16px}.archive-assets{grid-template-columns:1fr}.future-letter textarea{min-height:270px}.book-detail,.settings-panel{padding:54px 20px 90px}.detail-hero{grid-template-columns:minmax(0,132px) minmax(0,1fr);gap:18px}.detail-cover{width:132px}.detail-cover>.cover-missing{min-height:154px}.detail-actions{flex-direction:column;align-items:flex-start}.detail-actions button{width:100%}.age-memory header{flex-direction:column;align-items:flex-start}.modal-layer{padding:0}.book-editor{border:0;border-radius:0;min-height:100%}.editor-book-core{grid-template-columns:132px minmax(0,1fr);gap:16px}.editor-cover-frame{border-radius:5px;width:132px}.editor-cover-frame>.cover-missing{min-height:154px}.cover-lookup-candidate{grid-template-columns:60px minmax(0,1fr)}.cover-lookup-preview{width:60px;height:83px}.cover-lookup-actions{flex-wrap:wrap;grid-area:2/2;display:flex}.two-fields{grid-template-columns:1fr}.editor-section{padding:17px}.editor-footer{background:color-mix(in srgb, var(--paper) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:13px 0;position:sticky;bottom:0}.editor-footer button{flex:1}.trash-list>div{grid-template-columns:minmax(0,1fr) auto}.trash-list .danger-link{grid-column:2}}.cover-photo-trim{aspect-ratio:750/587;width:100%;display:block;position:relative;overflow:hidden}.cover-photo-trim>img{object-fit:contain;width:106.667%;max-width:none;height:auto;display:block;position:absolute;top:-19.2504%;left:-3.2%}.note-cover>.cover-photo-trim{top:50%;transform:translateY(-50%)}.reading-calendar{background:var(--surface-solid);border:1px solid var(--line);border-radius:22px;margin:12px 0 30px;padding:22px}.calendar-instruction{color:var(--ink-soft);margin:8px 0 20px;font-size:12px;line-height:1.7}.calendar-month{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.calendar-month>button{background:var(--paper-deep);cursor:pointer;border:0;border-radius:50%;width:36px;height:36px;font-size:25px}.calendar-month input{background:0 0;border:0;width:165px;min-height:36px;font-size:16px;font-weight:600}.calendar-weekdays,.calendar-days{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.calendar-weekdays{color:var(--ink-soft);margin-bottom:8px;font-size:11px}.calendar-days button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;height:56px;padding:7px 2px;font-size:13px;display:flex}.calendar-days button:hover:not(:disabled){background:var(--paper-deep)}.calendar-days button.is-today{border-color:var(--line-strong)}.calendar-days button.is-marked{background:var(--shelf-mint);color:var(--ink)}.calendar-book{width:23px;height:19px;fill:var(--gold-pale);stroke:var(--brown);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.calendar-days button:disabled,.calendar-month button:disabled{opacity:.3;cursor:default}.calendar-message{min-height:20px;color:var(--ink-soft);margin:15px 0 0;font-size:11px;line-height:1.6}.calendar-message.editor-error{color:var(--danger)}.book-editor>.reading-calendar{max-width:470px;margin:24px auto}.diary-date summary{font-size:12px}@media (width<=640px){.reading-calendar{padding:16px 12px}.calendar-days{gap:3px}.calendar-days button{height:50px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.shelf-book-card:hover .shelf-cover-frame{transform:none}}.tab-library{color:var(--ink);background:var(--paper)}.app-topbar{grid-template-columns:1fr auto}.desktop-nav{display:none}.mobile-nav{z-index:70;min-height:76px;padding:9px max(16px, calc((100vw - 1080px) / 2)) max(9px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--paper) 94%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;align-content:center;place-items:center;gap:5px;display:grid}.toast{bottom:92px}.tab-library .app-topbar{background:var(--paper);border:0;height:32px;min-height:32px;padding:0 max(20px,50vw - 580px)}.tab-library .small-brand{display:none}.tab-library .topbar-actions{grid-column:2;gap:10px}.tab-library .save-indicator{font-size:9px;display:block}.tab-library .settings-button{background:0 0;border:0;width:26px;height:26px}.tab-library .settings-button svg{width:17px;height:17px}.library-page{max-width:1240px;margin:auto;padding:0 40px 70px}.library-controls{z-index:30;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--paper) 94%, transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);margin:0 -40px 34px;padding:16px 40px 12px;position:sticky;top:32px}.library-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px;display:flex}.wordmark-block{flex-direction:column-reverse;flex:1;display:flex}.wordmark-block h1{border-bottom:1px solid var(--line-strong);width:max-content;max-width:100%;font-family:var(--serif);letter-spacing:.04em;margin:0;padding-bottom:6px;font-size:29px;font-weight:600}.wordmark-en{letter-spacing:.17em;border:0;padding:5px 0 0;font-size:10px;font-weight:400}.library-tools{flex-wrap:nowrap;align-items:center;gap:12px;display:flex}.status-switch{border:1px solid var(--line);background:0 0;gap:3px;padding:5px}.status-switch button{max-width:66px;min-height:57px;font-family:var(--serif);letter-spacing:.13em;border-radius:50%;padding:5px 13px;font-size:16px;line-height:1.5}.status-switch button.active{color:#fff8e9;background:var(--gold);box-shadow:none}.shelf-search-toggle,.round-action{border:1px solid var(--line);width:42px;height:42px;box-shadow:none;cursor:pointer;background:0 0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.shelf-search-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;width:22px;height:22px}.round-action{color:#fff8e9;background:var(--gold);border:0;border-radius:17px;font-size:28px}.library-search-row{grid-template-columns:1fr auto;margin-bottom:18px}.shelf-search-close{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:8px 0 8px 10px}.library-browse-controls{gap:8px;padding:0}.library-controls .filter-scroll{gap:12px;margin:0;padding:2px 1px 5px}.library-controls .filter-scroll button{font-family:var(--serif);border-color:var(--line-strong);background:0 0;min-height:36px;padding-inline:16px;font-size:14px}.library-controls .filter-scroll button.active{color:#8a641e;background:#f5e8cd;border-color:#dfbd7c}.category-filter-row small{color:var(--ink-soft);margin-left:5px;font-family:Georgia,serif;font-size:11px}.library-browse-controls .primary-filter-row>span{width:auto;font-family:var(--serif);margin-right:6px;font-size:12px}.library-controls .primary-filter-row button{background:#fffbf299;border-color:#0000;min-height:30px;padding:0 15px;font-size:12px}.shelf-browse-footer{align-items:center;gap:8px;margin:8px 0 0}.library-filter-details>summary{padding:4px 0;font-size:11px}.grouping-row{gap:5px}.grouping-row>span{display:none}.grouping-row button{background:0 0;min-height:28px;padding:0 11px;font-size:11px}.library-groups{gap:39px}.group-title{margin:0 6px 15px}.group-title h2{font-size:25px;font-weight:500}.group-title span{letter-spacing:.05em;font-size:14px}.shelf-lane{--shelf-inset:22px;min-height:0;padding:19px var(--shelf-inset) 22px;scroll-padding-inline:var(--shelf-inset);background-color:#e9e2d8;background-image:linear-gradient(112deg,#c8bccd 0%,#e7cfd1 50%,#eadbbd 100%);border:2px solid #ffffffdb;border-radius:34px;align-items:flex-start;gap:23px;box-shadow:0 13px 23px #69584617,inset 0 0 18px #ffffff29}.lane-1{background-image:linear-gradient(110deg,#d2c9c0,#e7d7b6)}.lane-2{background-image:linear-gradient(110deg,#b7ccd0,#d4dccc 58%,#e9dec6)}.lane-3{background-image:linear-gradient(110deg,#c5cbd2,#bfcfd2 48%,#e9dcc0)}.shelf-book-card,.plan-shelf-card,.plan-shelf-card .shelf-book-card{flex:0 0 132px;width:132px;max-width:none}.shelf-cover-frame{background:#e6dfd5;border-radius:30%/22%;width:132px;max-width:none;height:180px;box-shadow:0 8px 18px #362e2921}.shelf-book-card:hover .shelf-cover-frame{box-shadow:0 10px 22px #362e2926}.shelf-cover-frame>img{object-fit:cover;width:100%;max-width:none;height:100%}.shelf-cover-frame>.cover-photo-trim{aspect-ratio:auto;width:100%;max-width:none;height:100%}.shelf-cover-frame>.cover-photo-trim>img{object-fit:cover;width:auto;max-width:none;height:136.286%;inset:-19.2504% auto auto 50%;transform:translate(-50%)}.shelf-cover-frame>.cover-missing{width:100%;height:100%}.cover-title-overlay{color:#fff;background:linear-gradient(#0000,#141312c4);padding:43px 9px 12px}.cover-title-overlay strong{text-shadow:0 1px 4px #0000004d;font-size:16px;font-weight:600;line-height:1.3}.plan-card-actions{gap:4px}.plan-card-actions button{color:var(--ink)}:root[data-theme=dark] .library-controls .primary-filter-row button{background:#292d3d}:root[data-theme=dark] .library-controls .filter-scroll button.active{color:#f3d99e;background:#4d4438;border-color:#8c754b}:root[data-theme=dark] .shelf-lane{background-color:#333544;background-image:linear-gradient(110deg,#413a50,#52464d 50%,#514938);border-color:#f7ebd638}:root[data-theme=dark] .lane-1{background-image:linear-gradient(110deg,#373a48,#514938)}:root[data-theme=dark] .lane-2{background-image:linear-gradient(110deg,#303d46,#414a49 58%,#514938)}:root[data-theme=dark] .lane-3{background-image:linear-gradient(110deg,#373f53,#36464c 48%,#514938)}@media (width>=1300px){.shelf-book-card,.plan-shelf-card,.plan-shelf-card .shelf-book-card,.shelf-cover-frame{flex-basis:146px;width:146px}.shelf-cover-frame{height:198px}}@media (width<=640px){.library-header{gap:8px;margin-bottom:17px}.wordmark-block h1{letter-spacing:0;padding-bottom:5px;font-size:19px}.wordmark-en{letter-spacing:.1em;font-size:8px}.round-action{border-radius:12px}.library-controls .filter-scroll button{padding-inline:13px}.category-filter-row small{font-size:10px}.library-browse-controls .primary-filter-row>span{font-size:12px}.library-controls .primary-filter-row button{padding-inline:13px}.shelf-browse-footer{margin-top:4px}.shelf-cover-frame{height:143px}.cover-title-overlay{padding:36px 7px 10px}.cover-title-overlay strong{font-size:13px}.mobile-nav{min-height:66px}.mobile-nav svg{width:24px;height:24px}.mobile-nav button{font-size:12px}}@media (width<=359px){.wordmark-block h1{font-size:16px}.wordmark-en{font-size:7px}}@supports (corner-shape:squircle){.shelf-cover-frame{corner-shape:squircle;border-radius:38%/28%}}.app-shell.tab-library{--paper:#faf7f2}:root[data-theme=dark] .app-shell.tab-library{--paper:#191c29}body,.app-shell{min-height:100dvh}.app-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.save-indicator.sr-only{width:1px;height:1px;position:absolute;overflow:hidden}.settings-button{position:relative}.sync-dot{width:7px;height:7px;box-shadow:0 0 0 2px var(--paper);background:#859488;border-radius:50%;position:absolute;bottom:4px;right:2px}.sync-dot.is-pending,.sync-attention .sync-dot{background:#d49537}.sync-dot.is-syncing{animation:1s ease-in-out infinite alternate sync-breathe}@keyframes sync-breathe{to{opacity:.35}}.cloud-toolbar{background:0 0;justify-content:stretch;gap:16px;padding:0;font-size:14px;display:grid}.account-sync-status{color:var(--ink-soft)}.account-sync-error{color:var(--danger);margin:0;font-size:13px;line-height:1.8}.cloud-actions{flex-wrap:wrap;gap:8px;display:flex}.cloud-actions button{border:1px solid var(--line);cursor:pointer;border-radius:12px;min-height:44px;padding:9px 16px}.cloud-actions button:last-child{margin-left:auto}.cloud-actions button:disabled{opacity:.4;cursor:wait}.cloud-opening{max-width:430px;margin:auto;padding:24px}.cloud-opening p{font-size:14px;line-height:1.8}.grouping-select select{border:1px solid var(--line);background:var(--paper);min-height:40px;color:var(--ink-soft);border-radius:11px;padding:0 9px;font-size:12px}.mobile-nav{padding-bottom:calc(9px + env(safe-area-inset-bottom))}.mobile-nav button{min-height:48px;font-family:inherit;font-size:11px}.mobile-nav svg{width:24px;height:24px}.mobile-nav button.active{color:#a57a2e}:root[data-theme=dark] .mobile-nav button.active{color:#e5bf73}.tone-workspace{grid-template-columns:100px minmax(0,1fr);align-items:center;gap:26px;margin-top:20px;display:grid}.tone-preview{min-width:0}.tone-strength-heading{justify-content:space-between;align-items:center;font-size:13px;display:flex}.cover-tone .tone-strength-heading label{margin:0;display:block}.tone-strength output{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:13px}.book-editor .tone-strength>input{accent-color:#ba8949;cursor:pointer;touch-action:pan-y;background:0 0;border:0;width:100%;min-height:44px;margin:4px 0;padding:0;display:block}.tone-fine-controls{justify-content:space-between;align-items:center;gap:4px;display:flex}.tone-fine-controls button{border:1px solid var(--line);background:var(--paper);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:14px;flex:none;font-size:19px}.tone-fine-controls>span{color:var(--ink-soft);text-align:center;font-size:10px}.tone-strength button:disabled,.tone-strength input:disabled{opacity:.35;cursor:default}.tone-presets{gap:8px}.book-editor .tone-presets button{flex:1}.book-editor .cover-tone h3{font-family:var(--serif);margin:0 0 18px;font-weight:500}.category-tree{align-items:start}.note-entry.diary-entry{cursor:default;padding:24px;display:block;box-shadow:0 4px 18px #51402c05}.diary-book-heading{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:18px;width:100%;padding:0;display:grid}.diary-book-heading .note-cover{width:62px}.diary-book-heading .note-content>small{color:var(--faint);letter-spacing:.08em;font-size:10px}.diary-book-heading .note-content>strong{margin:7px 0 9px;font-size:20px;line-height:1.45}.diary-book-heading .diary-open-link{color:var(--ink-soft);font-size:11px}.diary-pages{margin-top:20px}.diary-fragment{gap:14px;padding:16px 0 0}.diary-fragment+.diary-fragment{margin-top:22px}.diary-fragment>small{align-items:center;gap:10px;font-size:11px;display:flex}.diary-fragment>small>span{background:var(--paper-deep);border-radius:6px;padding:3px 7px}.diary-fragment .diary-prose{overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.95}.diary-fragment>img{border-radius:14px;max-width:100%;max-height:340px;display:block}.audio-keepsake{border:1px solid var(--line);background:var(--paper-deep);border-radius:16px;gap:8px;width:min(100%,480px);margin:4px 0;padding:13px 12px 9px;display:grid}.audio-keepsake-title{color:var(--ink-soft);align-items:center;gap:8px;padding:0 5px;font-size:12px;display:flex}.audio-keepsake-title svg{stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;fill:none;width:18px;height:18px}.audio-keepsake .memory-audio,.ring-memory-entry .audio-keepsake .memory-audio{width:100%;min-width:0;height:44px;margin:0;display:block}.rings-heading h1{font-size:40px}.rings-heading{margin-bottom:30px}.ring-content{gap:30px}.ring-stage-heading h2{font-size:27px}.ring-single-caption{display:none}.reading-overview{background:0 0;border:0;margin:0;padding:0}.reading-overview>header{align-items:center;margin-bottom:20px}.reading-overview h2{font-family:var(--serif);font-size:24px;font-weight:500}.reading-overview>header>span{color:var(--ink-soft);white-space:nowrap;font-size:12px}.reading-overview h3{font-family:var(--serif);font-size:21px}.overview-essays{gap:16px}.overview-essays>article{border:1px solid var(--line);background:var(--surface);padding:22px}.overview-lede{margin:0 0 12px;font-size:13px}.overview-book-links{gap:0 10px}.overview-book-links button{text-align:left;min-height:44px;font-family:var(--serif);font-size:15px}.overview-evidence{border-top:1px solid var(--line);margin-top:12px;padding-top:8px;display:block}.overview-evidence summary{cursor:pointer;min-height:44px;color:var(--ink-soft);align-items:center;gap:8px;font-size:12px;display:flex}.overview-evidence summary:before{content:"+";font-size:16px}.overview-evidence[open] summary:before{content:"−"}.overview-evidence>div{margin:8px 0 20px;display:block}.overview-evidence>div:last-child{margin-bottom:6px}.overview-evidence p{font-size:13px}.overview-evidence strong{margin-bottom:5px;font-weight:500;display:block}.overview-evidence a{color:var(--ink-soft);text-underline-offset:3px;margin-top:8px;font-size:11px;line-height:1.7;display:inline-block}@media (width<=640px){.app-shell .app-topbar{height:auto;min-height:58px;padding:max(6px, env(safe-area-inset-top)) 18px 6px;background:var(--paper);border:0;justify-content:space-between;display:flex}.app-shell .small-brand{min-height:44px;display:block}.small-brand strong{letter-spacing:.04em;font-size:17px;font-weight:500}.small-brand small{display:none}.app-shell .settings-button{background:0 0;border:0;width:44px;height:44px}.app-shell .settings-button svg{width:22px;height:22px}.app-shell main{min-height:calc(100dvh - 140px)}.page{padding:24px 20px 28px}.page-heading,.notes-heading{margin-bottom:24px}.page-heading h1,.notes-heading h1,.rings-heading h1{margin:0;font-size:32px;font-weight:500;line-height:1.25}.page-heading .kicker{display:none}.notes-heading{flex-direction:row;align-items:baseline;gap:12px;display:flex}.notes-heading .moment-caption{white-space:nowrap;font-size:13px}.editorial-search{min-height:44px}.editorial-search input{font-size:16px}.notes-search{margin-bottom:20px}.note-entry.diary-entry{border-radius:22px;padding:18px}.diary-book-heading{grid-template-columns:56px minmax(0,1fr);gap:14px}.diary-book-heading .note-cover{width:56px}.diary-book-heading .note-content>strong{font-size:19px}.library-page{padding:0 20px 30px}.library-controls{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;margin:0 -20px 25px;padding:8px 20px 10px;position:relative;top:auto}.library-header{margin:0 0 13px;display:block}.wordmark-block{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.library-tools{gap:8px;width:100%}.status-switch{background:var(--paper-deep);border:0;border-radius:13px;gap:0;margin-right:auto;padding:3px}.status-switch button{letter-spacing:0;white-space:nowrap;border-radius:10px;max-width:none;min-height:40px;padding:0 13px;font-family:inherit;font-size:13px}.status-switch button.active{color:#493920;background:#efcf94}.shelf-search-toggle,.round-action{border-radius:14px;width:44px;height:44px}.round-action{color:#493920;background:#efcf94;font-size:27px}.shelf-search-toggle svg{width:21px;height:21px}.library-controls .filter-scroll{gap:8px;padding:0}.library-controls .filter-scroll button{border:0;border-radius:11px;min-height:44px;padding:0 13px;font-family:inherit;font-size:12px}.library-controls .category-filter-row{padding-bottom:7px}.library-controls .category-filter-row button{background:0 0}.library-controls .category-filter-row button.active{color:#7b5924;background:#f2e6ce}.library-browse-controls{gap:0}.library-browse-controls:has(+.shelf-browse-footer select) .primary-filter-row{max-width:calc(100% - 88px)}.library-controls .primary-filter-row{gap:3px}.library-controls .primary-filter-row>span{display:none}.library-controls .primary-filter-row button{background:0 0;min-height:44px;padding:0 10px;font-size:12px}.library-controls .primary-filter-row button.active{background:var(--paper-deep);color:var(--ink);border:0}.shelf-browse-footer{margin:0;position:absolute;bottom:10px;right:20px}.grouping-select select{background:0 0;border:0;width:80px;min-height:44px;padding:0 4px}.library-groups{gap:26px}.group-title{margin:0 0 12px}.group-title h2{font-size:22px;font-weight:500}.group-title span{color:var(--ink-soft);font-size:11px}.shelf-lane{--shelf-inset:16px;padding:16px var(--shelf-inset) 20px;background-image:linear-gradient(110deg,#e9dce5,#ece2dd 60%,#efe4c9);border:1px solid #fffc;border-radius:27px;gap:18px;box-shadow:0 6px 18px #59422b0a}.shelf-lane[data-count="1"],.shelf-lane[data-count="2"],.ring-books[data-count="1"],.ring-books[data-count="2"]{width:fit-content;max-width:100%}.shelf-book-card,.plan-shelf-card,.plan-shelf-card .shelf-book-card,.shelf-cover-frame{flex-basis:126px;width:126px}.lane-1{background-image:linear-gradient(110deg,#e5ded4,#f0e3c9)}.lane-2{background-image:linear-gradient(110deg,#dce4e8,#ebe4d9)}.lane-3{background-image:linear-gradient(110deg,#dee2ec,#ece4d7)}:root[data-theme=dark] .library-controls .filter-scroll button.active{color:#ead7af;background:#38352f}:root[data-theme=dark] .shelf-lane{background-image:linear-gradient(110deg,#343343,#39363e 60%,#403b31);border-color:#ded2c224;box-shadow:0 6px 18px #0002}.rings-heading{flex-flow:wrap;align-items:center;gap:16px;margin-bottom:27px}.ring-age-nav{scrollbar-width:none;flex-wrap:nowrap;gap:4px;max-width:100%;overflow-x:auto}.ring-age-nav button{border:0;flex:none;min-height:44px;padding:0 14px;font-size:12px}.ring-age-nav button[aria-pressed=true]{color:var(--ink);background:var(--paper-deep)}.ring-content{gap:24px}.ring-stage{padding-bottom:22px}.ring-stage-heading{gap:11px;margin-bottom:16px}.ring-year-mark{width:38px;height:38px}.ring-stage-heading h2{font-size:23px}.ring-stage-heading p{margin-top:3px;font-size:10px}.ring-books{border:1px solid var(--line);background:var(--paper-deep);border-radius:25px;gap:18px;padding:16px 16px 20px}.ring-book{flex-basis:126px;width:126px}.ring-books[data-count="1"]{width:100%}.ring-books[data-count="1"] .ring-book{text-align:left;flex:1;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:18px;width:100%;display:grid}.ring-single-caption{gap:10px;min-width:0;display:grid}.ring-single-caption strong{font-family:var(--serif);font-size:20px;font-weight:500;line-height:1.5}.ring-single-caption small{color:var(--ink-soft);font-size:11px;line-height:1.7}.ring-single-caption>span{color:var(--ink-soft);margin-top:12px;font-size:11px}:root[data-theme=dark] .ring-books{background:#272b39}.ring-moments{margin-top:23px;padding-left:15px}.ring-memory-entry{margin-bottom:22px}.ring-memory-entry:before{width:6px;height:6px;top:8px;left:-19px}.ring-memory-meta{gap:6px 12px;font-size:11px}.ring-memory-meta button{min-height:32px}.ring-memory-prose{font-size:16px;line-height:1.9}.ring-memory-entry .heart-display{margin-top:8px}.ring-recorded-labels{gap:7px;font-size:11px}.ring-recorded-labels>span{background:var(--paper-deep);border-radius:6px;padding:5px 8px}.ring-age-letter{margin-top:16px}.ring-age-letter summary{align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.ring-age-letter summary:before{content:"✎";font-size:18px}.reading-overview{padding:0}.reading-overview h2{font-size:23px}.reading-overview h3{font-size:19px}.overview-essays>article{border-radius:18px;padding:18px}.ring-garden{padding:16px 0}.ring-garden>summary,.rings-page .ring-legacy>summary{min-height:44px;font-size:21px}.book-editor,.settings-panel,.book-detail{min-height:100dvh;padding-bottom:calc(90px + env(safe-area-inset-bottom))}.book-editor{padding-top:58px}.editor-header .kicker{display:none}.editor-header h2,.settings-panel h2{font-size:27px;line-height:1.4}.editor-header{margin-bottom:24px;padding-right:0}.editor-section h3,.book-editor h3{font-size:19px;font-weight:500}.book-editor .close-button,.book-detail .close-button{min-width:44px;min-height:44px}.detail-title-copy h2{font-size:27px;line-height:1.4}.detail-actions button{min-height:44px;padding:0 14px;font-size:13px}.memory-reflection>button{min-height:44px;margin-left:auto}.editor-optional>summary{align-items:center;min-height:24px;display:flex}.modal-layer,.book-detail,.settings-panel{overscroll-behavior-y:contain}.modal-layer{scroll-padding-block:52px 110px}.book-editor input,.book-editor textarea,.book-editor select{scroll-margin-block:24px}.editor-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.book-editor input:not([type=range]):not([type=checkbox]):not([type=radio]),.book-editor textarea,.book-editor select{font-size:16px}.tone-workspace{grid-template-columns:82px minmax(0,1fr);gap:18px}}.book-editor .plan-target-age{justify-items:start;gap:12px;margin-top:24px;display:grid}.book-editor .plan-target-age select{width:160px;max-width:100%;min-height:44px;margin:0}@media (width<=359px){.library-page{padding-inline:16px}.library-controls{margin-inline:-16px;padding-inline:16px}.library-tools{gap:6px}.status-switch button{padding-inline:9px;font-size:12px}.page{padding-inline:16px}.shelf-browse-footer{right:16px}.small-brand strong{font-size:16px}}.draft-resume{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 22px;font-size:13px;display:flex}.draft-resume>span{flex:180px}.draft-resume button,.diary-write-link{min-height:44px;color:var(--ink);background:0 0;border:0}.draft-resume button:last-child{color:var(--ink-soft);font-size:12px}.backup-preview{border:1px solid var(--line);border-radius:18px;margin-block:16px;padding:18px}.backup-preview h4{margin:0 0 12px}.backup-preview p,.backup-preview time,.recovery-points time{font-size:13px;line-height:1.7;display:block}.backup-preview button,.recovery-points button,.private-profile button{min-height:44px;margin:8px 8px 0 0}.private-profile input{max-width:100%;min-height:44px}.recovery-points{margin-top:18px}.recovery-points>div{border-top:1px solid var(--line);padding:18px 0}.legacy-words label{gap:12px;margin-top:20px;display:grid}.diary-write-link{justify-self:start;padding:0;font-size:13px}@media (width<=760px){.notes-heading{flex-wrap:wrap;gap:0 12px}.notes-heading .diary-write-link{text-align:left;flex-basis:100%;margin-top:4px}}.discard-editor-draft{min-height:44px;color:var(--ink-soft);background:0 0;border:0;padding:0;font-size:12px}.book-editor{--editor-inset:clamp(30px, 5vw, 58px);padding-top:0}.editor-book-anchor{z-index:8;margin:0 calc(-1 * var(--editor-inset)) 16px;padding:16px var(--editor-inset);border-bottom:1px solid var(--line);background:var(--paper);border-radius:30px 30px 0 0;grid-template-columns:40px minmax(0,1fr) 44px;align-items:center;gap:14px;display:grid;position:sticky;top:-28px;box-shadow:0 8px 15px #24201905}.editor-anchor-cover{width:40px}.editor-anchor-cover .book-cover-caption{display:none}.editor-book-anchor>div{gap:4px;min-width:0;display:grid}.editor-book-anchor small{color:var(--ink-soft);font-size:10px}.editor-book-anchor strong{text-overflow:ellipsis;white-space:nowrap;font-family:var(--serif);font-size:18px;font-weight:500;overflow:hidden}.editor-anchor-close{width:44px;height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:0;font-size:28px}.book-editor .editor-header{margin:0 0 14px;padding:0}.book-editor .editor-header h2.sr-only{margin:0}.book-editor .editor-section textarea{scroll-margin-top:110px}.diary-prose-block .diary-prose{white-space:pre-wrap;overflow-wrap:anywhere}.diary-read-more,.diary-older{min-height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.diary-read-more{align-items:center;gap:12px;display:flex}.diary-older{border:1px solid var(--line);border-radius:20px;margin:16px auto 0;padding:0 20px;display:block}@media (width<=640px){.book-editor{--editor-inset:20px;padding:0 20px calc(90px + env(safe-area-inset-bottom))}.editor-book-anchor{padding-top:max(10px, env(safe-area-inset-top));border-radius:0;gap:12px;padding-bottom:10px;top:0}.modal-layer{scroll-padding-top:98px}.book-editor .editor-header{margin-bottom:10px}.diary-fragment .audio-keepsake{max-width:100%}}.two-collections .app-topbar{border-bottom:0;justify-content:space-between;height:auto;padding:8px max(20px,50vw - 580px);display:flex}.two-collections .small-brand{min-height:44px;display:block}.two-collections .small-brand small,.two-collections .desktop-nav{display:none}.two-collections .settings-button{background:0 0}.two-collections .settings-button svg{width:22px;height:22px}.two-collections .mobile-nav{padding-inline:max(32px,50vw - 270px)}.two-collections .mobile-nav button.active svg{stroke-width:1.9px}.two-collections .library-page{padding-top:4px}.two-collections .library-controls{padding-top:16px;padding-bottom:16px}.two-collections .library-tools{flex-wrap:nowrap;width:auto}.two-collections .wordmark-block{clip-path:none;flex-direction:column;width:auto;min-width:0;height:auto;display:flex;position:static;overflow:visible}.collection-caption{color:var(--ink-soft);align-items:baseline;gap:16px;font-size:12px;display:flex}.collection-caption>span{white-space:nowrap;font:11px Georgia,serif}.two-collections .library-browse-controls .filter-scroll{scrollbar-width:none;scroll-padding-inline:4px}.two-collections .library-browse-controls .primary-filter-row{max-width:100%}.two-collections .library-controls .filter-scroll button{font-family:inherit;font-size:13px}.new-book-memory.diary-open>summary{display:none}.new-book-memory{margin-top:22px}.plan-target-age input{width:140px;max-width:100%;min-height:48px}.two-collections .library-controls .category-filter-row button{border-radius:14px}.two-collections .shelf-browse-footer{flex-wrap:wrap;justify-content:space-between;margin-top:6px;display:flex;position:static}.clear-library-filters{min-height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:0 12px;font-size:12px}.two-collections .shelf-lane{scrollbar-width:thin;scrollbar-color:#ab95744a transparent;scroll-snap-type:x proximity}.two-collections .shelf-book-card,.two-collections .plan-shelf-card{scroll-snap-align:start}.two-collections .shelf-book-card{transition:transform .18s}@media (hover:hover){.two-collections .shelf-book-card:hover{transform:translateY(-3px)}}.two-collections .plan-shelf-card{background:0 0;border:0;padding:0}.two-collections .plan-reason{-webkit-line-clamp:3;text-align:left;color:var(--ink-soft);font:12px/1.8 var(--serif);overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:12px 2px 0;display:-webkit-box;overflow:hidden}.collection-empty{text-align:center;max-width:600px;margin:28px auto;padding:44px 22px}.collection-empty svg{fill:none;stroke:#baa16f;stroke-width:1.5px;stroke-linejoin:round;width:72px;height:62px}.collection-empty h2{font:22px/1.6 var(--serif);margin:18px 0 20px}.collection-empty button{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);background:var(--surface);cursor:pointer;border-radius:20px;padding:10px 20px}.plan-age-label{color:var(--ink-soft);margin-bottom:12px;font-size:12px;display:block}.plan-category-labels{color:var(--ink-soft);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.plan-intention{border-top:1px solid var(--line);margin-top:28px;padding:24px 0}.plan-intention h3{font:17px var(--serif);margin:0 0 14px}.plan-intention p{white-space:pre-wrap;overflow-wrap:anywhere;font:17px/1.9 var(--serif);margin:0}.plan-intention button{min-height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:0;font-size:14px}.plan-detail-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.plan-detail-actions button{border:1px solid var(--line-strong);min-height:48px;color:var(--ink);cursor:pointer;background:0 0;border-radius:16px;padding:10px 20px;font-size:14px}.plan-detail-actions .plan-move{color:#3d3021;background:#e8c782;border-color:#0000}.plan-detail button:disabled{opacity:.5;cursor:wait}.book-calendar-fold{border-block:1px solid var(--line);margin-block:24px}.book-calendar-fold>summary{min-height:56px;font:16px var(--serif);cursor:pointer;justify-content:space-between;align-items:center;padding:6px 0;display:flex}.book-calendar-fold>summary:after{content:"+";color:var(--ink-soft)}.book-calendar-fold[open]>summary:after{content:"−"}.book-calendar-fold .reading-calendar{border:0;padding-inline:0}.two-collections .age-memory>header strong{font-size:20px}.two-collections .memory-list h3{font-size:23px}.memory-reflection{flex-wrap:wrap;align-items:center;gap:7px;margin-top:16px;display:flex}.memory-reflection>span{background:color-mix(in srgb, var(--gold) 12%, var(--paper));color:var(--ink-soft);border-radius:5px;padding:4px 9px;font-size:11px}.memory-reflection>button{min-height:44px;color:var(--ink-soft);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:4px 0;font-size:12px;text-decoration:underline}.reflection-fields fieldset{border:0;margin:20px 0 12px;padding:0}.reflection-fields legend{margin-bottom:10px;font-size:13px}.reflection-fields fieldset>div{flex-wrap:wrap;gap:8px;display:flex}.reflection-fields button{border:1px solid var(--line);min-height:44px;color:var(--ink-soft);cursor:pointer;background:0 0;border-radius:22px;padding:8px 12px;font-size:12px}.reflection-fields button[aria-pressed=true]{background:color-mix(in srgb, var(--gold) 20%, var(--paper));color:var(--ink);border-color:var(--gold)}.two-collections .plan-detail .detail-danger{margin-top:36px}@media (width<=640px){.two-collections .app-topbar{padding:max(6px, env(safe-area-inset-top)) 20px 6px;min-height:58px}.two-collections .small-brand strong{font-size:17px}.two-collections .library-controls{margin-bottom:24px;padding-top:12px;padding-bottom:12px}.two-collections .wordmark-block h1{font-size:30px}.two-collections .library-header{margin-bottom:18px}.two-collections .group-title h2{font-size:21px}.two-collections .shelf-book-card,.two-collections .plan-shelf-card,.two-collections .plan-shelf-card .shelf-book-card,.two-collections .shelf-cover-frame{flex-basis:clamp(110px,31vw,138px);width:clamp(110px,31vw,138px)}.two-collections .shelf-lane{gap:18px;padding:17px 18px 20px;scroll-padding-inline:18px}.plan-detail-actions{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.plan-detail-actions button{width:100%}}@media (prefers-reduced-motion:reduce){.two-collections .shelf-book-card{transition:none;transform:none}}.cloud-login{width:min(400px,100% - 40px);color:var(--ink);margin:0 auto;padding:max(48px,10svh) 0 40px}.cloud-login h1{font-family:var(--serif);margin:12px 0 36px;font-size:clamp(24px,6vw,32px);font-weight:500;line-height:1.5}.cloud-login form,.cloud-login label{gap:10px;display:grid}.cloud-login label{color:var(--ink-soft);font-size:14px}.cloud-login input{box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface,white);width:100%;min-width:0;min-height:50px;color:var(--ink);font:inherit;border-radius:14px;padding:12px 14px;font-size:16px}.cloud-login button{border:1px solid var(--line-strong);background:var(--paper-deep);min-height:48px;color:var(--ink);cursor:pointer;border-radius:14px;padding:12px 16px;font-size:15px}.cloud-login button[type=submit]{border-color:#0000}.cloud-login button:disabled{opacity:.5;cursor:default}.cloud-login p[role]{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.8}.cloud-login p[role=alert]{color:var(--danger,#a33d32)}.cloud-actions button,.private-profile button{font:inherit;color:var(--ink);background:var(--paper-deep)}.private-profile button{border:1px solid var(--line-strong);cursor:pointer;border-radius:12px;padding:10px 16px}.private-profile label{margin-bottom:12px;display:block}:root{--ui-font:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif}.app-shell.tab-library,:root[data-theme=dark] .app-shell.tab-library{--paper:inherit;background:var(--paper)}.two-collections,.cloud-login{font:var(--type-body)}.two-collections button,.two-collections input,.two-collections textarea,.two-collections label,.two-collections .diary-prose,.cloud-login button,.cloud-login input{font-family:var(--ui-font)}.two-collections .library-controls{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;margin:0 0 26px;padding:0;position:relative;top:auto}.two-collections .library-header{background:0 0;border:0;border-radius:0;margin:0 0 18px;padding:0}.collection-mark{display:none}.two-collections .wordmark-block{gap:6px}.two-collections .wordmark-block h1{letter-spacing:0;border:0;padding:0}.two-collections .collection-caption{color:var(--ink-soft);margin:0}.two-collections .library-tools{align-self:center}.two-collections .library-header.friends-header{flex-direction:column;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;gap:0;display:flex}.shelf-friends{grid-area:1/1;justify-self:center;width:min(280px,100%);margin:0;position:relative;container-type:inline-size}.shelf-friends img{width:100%;height:auto;margin:0;display:block}.sunflower-count{text-align:center;color:#65471e;width:10.7%;font:600 clamp(12px,5.5cqw,17px)/1 var(--serif);font-variant-numeric:tabular-nums;margin:0;position:absolute;top:33.3%;left:87.7%;transform:translate(-50%,-50%)}.sunflower-count[data-digits="3"]{font-size:clamp(10px,4.5cqw,14px)}.sunflower-count[data-digits="4"]{font-size:clamp(9px,3.8cqw,12px)}.collection-filters{background:var(--paper-deep);border-radius:14px;margin-top:10px;padding:16px}.filter-label{color:var(--ink-soft);margin:8px 0;font-size:14px;display:block}.two-collections .collection-filters .filter-scroll{flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;display:flex;overflow:visible}.two-collections .library-controls .filter-scroll button{min-width:44px;min-height:44px;color:var(--ink-soft);border:1px solid #0000;padding:8px 12px}.two-collections .library-controls .filter-scroll button.active{color:var(--brown);border-color:var(--brown);background:var(--surface)}.filter-done{min-height:44px;color:var(--brown);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0 4px;font-size:15px;display:block}.two-collections .shelf-browse-footer{align-items:center;margin:0}.two-collections .shelf-browse-footer:empty{display:none}.active-filter-copy{color:var(--ink-soft);font-size:14px}.two-collections .clear-library-filters{padding-right:0;font-size:14px}.two-collections .library-group{margin:0}.two-collections .group-title{margin:0 0 16px}.two-collections .group-title h2{align-items:center;gap:9px;display:flex}.two-collections .group-title h2:before{content:"";background:#c8b8eb;border-radius:3px;width:5px;height:16px}.two-collections .library-group:nth-child(2n) .group-title h2:before{background:#efb9a9}.two-collections .group-title>span{font:14px/1.5 var(--ui-font);color:var(--ink-soft)}.two-collections .shelf-lane,:root[data-theme=dark] .two-collections .shelf-lane{width:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));align-items:start;gap:22px;padding:0;display:grid;overflow:visible}.two-collections .collection-read .shelf-book-card{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;width:100%;min-width:0;max-width:136px;margin:0;padding:0;display:flex}.two-collections .collection-read .shelf-cover-frame{flex-basis:auto;width:100%;max-width:96px}.shelf-book-title{width:100%;color:var(--ink);font:16px/1.5 var(--ui-font);overflow-wrap:anywhere;text-wrap:balance;text-align:center}.two-collections .collection-planned .shelf-lane{grid-template-columns:1fr;gap:0}.two-collections .collection-planned .shelf-book-card{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;border-radius:0;width:100%;display:grid}.two-collections .collection-planned .shelf-cover-frame{flex-basis:auto}.plan-card-copy{gap:6px;min-width:0;display:grid}.plan-card-copy strong{font:600 16px/1.5 var(--ui-font);color:var(--ink)}.plan-card-copy small{color:var(--ink-soft);font-size:14px;font-weight:400}.two-collections .plan-card-copy .plan-reason{max-width:none;font:15px/1.7 var(--ui-font);margin:2px 0}.two-collections .collection-empty{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;gap:16px;min-height:0;margin:48px auto;padding:24px 0;display:flex}.two-collections .collection-empty svg{width:48px;height:40px;stroke:var(--brown)}.two-collections .collection-empty h2{font:var(--type-section);margin:0}.two-collections .collection-empty button{background:var(--gold-pale);color:#493924;border:0;border-radius:12px;min-height:44px;margin:6px 0 0;padding:10px 20px;font-size:16px}.two-collections .mobile-nav{background:var(--paper-deep);width:min(560px,100% - 44px);min-height:54px;box-shadow:none;border:0;border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;bottom:10px;left:50%;right:auto;transform:translate(-50%)}.two-collections .mobile-nav button{flex-direction:row;justify-content:center;align-items:center;gap:9px;font-size:16px;display:flex}.modal-layer,.book-detail,.settings-panel,.plan-detail{overscroll-behavior-y:contain}.book-detail,.settings-panel{padding:64px 32px 32px}.book-detail .detail-hero{background:0 0;border-radius:0;grid-template-columns:84px minmax(0,1fr);align-items:start;gap:20px;margin:0 0 24px;padding:0}.book-detail .detail-cover{width:84px}.book-detail .detail-title-copy h2,.settings-panel h2,.cloud-login h1{font:var(--type-page);letter-spacing:0;overflow-wrap:anywhere;margin:0 0 12px}.two-collections .close-button{background:0 0;border:0;width:44px;height:44px}.book-detail>.detail-actions{grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px;display:grid}.book-detail>.detail-actions button{min-height:44px;font:var(--type-control);border-radius:12px;margin:0}.book-detail>.detail-actions button:last-child{background:var(--gold-pale);color:#493924;border-color:#0000}.book-detail>.book-reason,.book-detail>.memory-list,.plan-detail>.plan-intention{border:0;border-top:1px solid var(--line);margin:12px 0 0;padding:12px 0 0}.book-detail>.book-reason p,.plan-intention p{font:var(--type-body);margin:12px 0 0}.book-detail .book-calendar-fold{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin:12px 0 0;padding:12px 0 0}.book-detail .book-calendar-fold>summary{min-height:44px;padding:0}.book-detail .memory-list{display:block}.book-detail .memory-list>.section-title-row{margin:0 0 16px}.book-detail .age-memory{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0}.book-detail .age-memory+.age-memory{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.book-detail .age-memory>header{flex-flow:wrap;align-items:center;gap:12px;margin-bottom:12px}.book-detail .age-memory>header .memory-date{font:15px/1.5 var(--ui-font);color:var(--ink-soft);flex-wrap:wrap;gap:6px;display:flex}.book-detail .age-memory .heart-display{font-size:20px}.book-detail .heart-display small{font-size:14px}.two-collections .memory-moment .diary-prose{margin:0}.book-detail .memory-moment{gap:16px;margin:0;display:grid}.book-detail .memory-moment img{border-radius:14px}.two-collections .memory-reflection>button{font-size:15px}.two-collections .theme-pills span{padding:5px 9px;font-size:14px}.two-collections .plan-age-label,.two-collections .plan-category-labels{font:var(--type-meta)}.plan-intention>button{font:var(--type-control)}.two-collections .plan-detail-actions button{font-size:16px}.book-editor>.category-picker,.book-editor>.editor-cover-section,.book-editor>.editor-section,.book-editor>.new-book-memory{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin:12px 0 0;padding:12px 0 0}.book-editor .cover-tone{background:0 0;border:0;border-radius:0;margin:0;padding:0}.book-editor .editor-optional{background:0 0;border:0;border-radius:0;margin:24px 0 0;padding:0}.book-editor .editor-optional>summary{font:var(--type-control);color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;list-style:none;display:flex}.book-editor .editor-optional>summary::-webkit-details-marker{display:none}.book-editor .editor-optional>summary:after{content:"+";color:var(--ink-soft);font:var(--type-control)}.book-editor .editor-optional[open]>summary:after{content:"−"}.book-editor .editor-optional[open]>summary{margin-bottom:12px}.book-editor .cover-alternatives{margin-top:12px}.book-editor .cover-alternatives>summary{color:var(--ink-soft)}.book-editor .new-book-memory.diary-open{border:0;margin:0;padding:0}.book-editor .new-book-memory.diary-open>summary{display:none}.book-editor .editor-optional>.editor-section{background:0 0;border:0;margin:0;padding:0}.book-editor .new-book-memory>.editor-optional,.book-editor .heart-rating-section{border-top:0;margin-top:24px;padding-top:0}.book-editor .heart-rating{border:0;margin:0;padding:0}.book-editor .editor-book-anchor{background:var(--paper);border-bottom:1px solid var(--line);box-shadow:none}.book-editor .editor-book-anchor strong{font:600 18px/1.5 var(--ui-font)}.book-editor .editor-book-core{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:20px;padding:8px 0 20px}.book-editor .editor-cover-frame{width:76px}.book-editor .editor-cover-upload>span:last-of-type{font-size:14px;line-height:1.5}.book-editor .field-stack{gap:16px}.book-editor .field-stack label{gap:7px;font-size:15px}.book-editor .field-stack input{background:var(--surface);border-color:var(--line);border-radius:10px;min-height:46px;padding:10px 12px;font-size:16px}.book-editor .category-tree{gap:10px}.book-editor .category-branch{border:1px solid var(--line);background:0 0;border-radius:12px;padding:12px}.book-editor .category-root,.book-editor .category-leaves label{font:var(--type-label)}.book-editor .category-branch summary{align-content:center;min-height:44px;padding-top:6px;font-size:14px}.book-editor .category-branch:has(.category-root.selected){background:var(--paper-deep)}.book-editor .category-tree input[type=checkbox]{accent-color:var(--brown)}.book-editor .editor-section textarea{min-height:130px;font:var(--type-body);border-radius:12px}.book-editor .editor-footer button{border-radius:12px;font-size:16px}.book-editor .editor-footer .primary-action{background:var(--gold-pale);color:#493924;border:0}.book-editor .tone-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.book-editor .tone-presets button{border-radius:10px;min-height:44px;padding:8px 4px;font-size:15px}.book-editor .tone-presets button[aria-pressed=true]{background:var(--paper-deep);color:var(--brown);border-color:var(--line-strong)}.book-editor .cover-tone label{font-size:15px}.book-editor .cover-tone .tone-strength>input{accent-color:var(--brown)}.book-editor .tone-strength output,.book-editor .tone-fine-controls>span{font-size:14px}.book-editor .editor-book-anchor small{font:var(--type-meta)}.book-editor .tone-workspace{align-items:start;gap:16px;margin-top:16px}.book-editor .tone-strength{padding-top:4px}.book-editor .tone-strength-heading label{margin:0}.book-editor .optional-image-field{flex-wrap:wrap;margin-top:16px}.book-editor .optional-image-field label,.book-editor .audio-upload{position:relative}.book-editor .optional-image-field input[type=file],.book-editor .audio-upload input[type=file]{clip-path:inset(50%);border:0;width:1px;min-width:0;height:1px;min-height:0;padding:0;position:absolute;overflow:hidden}.book-editor .optional-image-field label:focus-within,.book-editor .audio-upload:focus-within{outline:2px solid var(--brown);outline-offset:3px}.book-editor .optional-image-field>label,.book-editor .audio-recorder-actions button,.book-editor .audio-upload,.book-editor .audio-preview>button{min-height:44px;font:var(--type-label)}.book-editor .optional-image-field>button{min-height:44px;font:var(--type-meta)}.two-collections .audio-error,.two-collections .editor-error,.two-collections .save-error,.two-collections .account-sync-error,.two-collections .cover-lookup-head small,.two-collections .cover-lookup-status,.two-collections .cover-lookup-caution,.two-collections .cover-lookup-details span,.two-collections .cover-lookup-details a{font:var(--type-meta)}.two-collections .cover-lookup-details strong{font:var(--type-label)}.book-editor .audio-recorder{border-top:0;margin-top:20px;padding-top:20px}.book-editor .audio-recorder-heading strong,.book-editor .reflection-fields legend{font:var(--type-label)}.book-editor .audio-recording-limit,.book-editor .heart-controls output,.book-editor .heart-controls>button{font:var(--type-meta)}.book-editor .reflection-fields button,.book-editor .diary-date label,.book-editor .cover-lookup button{font:var(--type-label)}.book-editor .heart-rating legend{margin:0 0 12px}.two-collections .diary-read-more,.two-collections .diary-older{font-size:15px}.two-collections .calendar-recap p{font-size:16px}.two-collections .calendar-recap small,.two-collections .calendar-recap .calendar-recap-heading,.two-collections .calendar-recap button{font-size:14px}.tone-compare{position:relative}.tone-compare.is-comparing .book-cover img{filter:none!important}.tone-compare-button{background:var(--paper-deep);width:100%;min-height:44px;color:var(--brown);touch-action:none;-webkit-user-select:none;user-select:none;border:0;border-radius:10px;margin-top:10px;font-size:14px}.plan-read-next{align-items:center;gap:12px;min-height:44px;margin-top:18px;font-size:16px;display:flex}.plan-read-next input{width:20px;height:20px;accent-color:var(--brown)}.book-suggestions{background:var(--paper-deep);border-radius:12px;margin:22px 0;padding:16px}.suggestion-heading{justify-content:space-between;align-items:center;gap:12px;font-size:16px;display:flex}.suggestion-heading small,.catalog-privacy{color:var(--ink-soft);font-size:14px}.catalog-privacy{margin-top:6px;display:block}.book-suggestions p,.book-suggestions a{font-size:15px;line-height:1.8}.suggestion-identity{margin-block:12px}.suggestion-identity span{color:var(--ink-soft)}.suggested-taxonomy{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.suggested-taxonomy>span{background:var(--surface);border-radius:10px;padding:10px 12px;font-size:15px}.suggested-taxonomy small,.catalog-match small{color:var(--ink-soft);margin-top:4px;font-size:14px;display:block}.book-suggestions button{border:1px solid var(--line-strong);background:var(--surface);min-height:44px;color:var(--brown);cursor:pointer;border-radius:10px;padding:8px 14px;font-size:15px}.book-suggestions>button{width:100%}.book-suggestions summary{color:var(--ink-soft);cursor:pointer;padding-top:14px;font-size:14px}.adopted-book-data{padding-block:4px}.adopted-book-data>summary{padding:12px 0;font-size:15px}.adopted-book-data>summary span{float:right;font-size:14px}.catalog-match{border-top:1px solid var(--line);margin-top:14px;padding-top:16px}.catalog-match button{margin-top:10px;display:block}.reading-bookmark{background:var(--paper-deep);color:var(--brown);border-radius:4px 14px 14px;align-items:center;gap:10px;margin-top:16px;padding:12px 14px;font-size:15px;display:flex}.reading-bookmark svg{fill:none;stroke:currentColor;stroke-width:1.5px;flex:none;width:19px;height:25px}.reading-bookmark span{gap:4px;display:grid}.reading-bookmark small{color:var(--ink-soft);font-size:14px}.editor-draft-action{text-align:center;margin:16px 0}.editor-draft-action .discard-editor-draft{min-height:44px;color:var(--ink-soft);background:0 0;border:0;font-size:15px}.settings-panel>header{margin:0 0 24px}.settings-panel>header p{font:var(--type-meta);margin:0}.settings-panel .settings-section{margin:12px 0 0;padding:12px 0 0}.settings-panel button,.settings-panel label{font:var(--type-control)}.settings-panel .settings-row strong,.settings-panel .trash-list strong{font:500 16px/1.5 var(--ui-font)}.settings-panel .settings-row small,.settings-panel .settings-empty,.settings-panel .trash-list small,.settings-panel .local-data-section p,.settings-panel .recovery-points p{font:var(--type-meta)}.settings-panel .settings-row{background:0 0;border:0;border-radius:0;padding:12px 0}.settings-panel .settings-row+.settings-row{margin-top:4px}.settings-panel .legacy-words>summary{cursor:pointer}.settings-panel .cloud-status,.settings-panel .backup-preview p,.settings-panel .backup-preview time,.settings-panel .recovery-points time{font:var(--type-meta)}.settings-panel .backup-preview h4,.settings-panel .recovery-points summary{font:var(--type-label)}.settings-panel .backup-preview button,.settings-panel .recovery-points button{border:1px solid var(--line);background:var(--paper-deep);min-height:44px;color:var(--ink);font:var(--type-control);border-radius:10px;padding:8px 12px}.book-detail .book-category-copy{font:var(--type-meta);color:var(--ink-soft);margin:8px 0}.reading-age-copy{font:var(--type-meta);color:var(--ink-soft);flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:8px 0;display:flex}.reading-age-copy strong{font:var(--type-label);color:var(--ink)}.reading-age-copy small{font:var(--type-meta);flex-basis:100%}.editor-reading-record{margin:12px 0}.book-editor .editor-reading-record>.editor-optional{border:0;margin:8px 0 0;padding:0}.two-collections .draft-resume,.two-collections .status-banner,.two-collections .toast{font:var(--type-meta)}.two-collections .draft-resume button,.two-collections .status-banner button{font:var(--type-label);min-height:44px}.two-collections .book-reason h3,.two-collections .book-calendar-fold>summary,.two-collections .memory-list h3,.two-collections .plan-intention h3,.two-collections .book-editor h3,.two-collections .book-editor .heart-rating legend,.two-collections .new-book-memory>.editor-optional:not(.diary-date)>summary,.two-collections .settings-section h3,.two-collections .settings-section.legacy-words>summary{font:var(--type-section);letter-spacing:0;color:var(--ink);margin:0}.two-collections .book-editor h3,.two-collections .settings-section h3,.two-collections .book-editor .heart-rating legend{margin-bottom:var(--heading-space)}.two-collections .calendar-month-fields button,.two-collections .calendar-days button{font:var(--type-control)}.two-collections .calendar-weekdays,.two-collections .calendar-choice-grid,.two-collections .calendar-chooser-heading,.two-collections .calendar-year-pages,.two-collections .calendar-message{font:var(--type-meta)}.cloud-login:before{content:"✦";width:44px;height:44px;color:var(--brown);background:var(--paper-deep);border-radius:14px 14px 14px 4px;place-items:center;margin-bottom:24px;font-size:24px;display:grid}.cloud-login .kicker{display:none}.cloud-login form{gap:16px;margin-top:24px}.cloud-login label{font:var(--type-label)}.cloud-login button{font:var(--type-control)}.cloud-login p[role]{font:var(--type-meta)}.cloud-login button[type=submit]{background:var(--brown);color:var(--paper)}@media (width<=640px){html:has(.two-collections){height:var(--app-visible-height,100dvh);overscroll-behavior:none;min-height:0;overflow:hidden}body:has(.two-collections){height:var(--app-visible-height,100dvh);overscroll-behavior:none;min-height:0;overflow:hidden}#root:has(.two-collections){height:var(--app-visible-height,100dvh);overscroll-behavior:none;min-height:0;overflow:hidden}.app-shell.two-collections{height:var(--app-visible-height,100dvh);flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.two-collections>.app-topbar{flex:none;position:relative;top:auto}.two-collections>main{overscroll-behavior-y:contain;flex:1;min-height:0;scroll-padding-block:16px;position:relative;overflow-y:auto}.two-collections>.status-banner,.two-collections>.draft-resume{flex:none;max-height:24dvh;overflow:auto}.two-collections .shelf-lane{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.two-collections .collection-read .shelf-book-card{max-width:104px}.two-collections .collection-read .shelf-cover-frame{max-width:88px}.two-collections .collection-planned .shelf-lane{grid-template-columns:1fr}.book-detail,.plan-detail,.settings-panel{padding:62px 22px 32px}.book-detail .detail-hero{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:20px}.book-detail .detail-cover{width:76px}.book-detail .detail-title-copy{padding-top:2px}.book-detail .detail-title-copy h2{margin:0 0 8px}.book-detail .theme-pills{gap:6px}.book-editor .editor-book-anchor{margin-bottom:20px}.book-editor .editor-book-core{grid-template-columns:72px minmax(0,1fr);gap:18px}.book-editor .editor-cover-frame{width:72px}.book-editor .category-branch{padding:10px}.cloud-login{padding-top:40px}}:root{--paper:#fffdf7;--paper-deep:#f2eddf;--surface:#fffefa;--surface-solid:#fffefa;--ink:#383329;--ink-soft:#6d675c;--faint:#6d675c;--brown:#42674c;--gold:#d8b14e;--gold-pale:#f4e3aa;--line:#e4dfd2;--line-strong:#b9b3a5;--shadow:#4a3b2e0d;--room-blue:#426d87;--room-blue-pale:#eaf2f5;--room-yellow-ink:#53452b;--apricot-pale:#fbe3cf;--apricot-edge:#e7b48f;--apricot-ink:#874421;--type-page:500 24px/1.4 var(--serif);--type-section:600 18px/1.5 var(--ui-font);--type-body:400 16px/1.75 var(--ui-font);--type-control:400 16px/1.5 var(--ui-font);--type-label:500 15px/1.5 var(--ui-font);--type-meta:400 14px/1.5 var(--ui-font);--section-space:24px;--heading-space:12px;--room-inset:32px}:root[data-theme=dark]{--paper:#242722;--paper-deep:#30362e;--surface:#2d322b;--surface-solid:#2d322b;--ink:#f3efe3;--ink-soft:#c3bfb0;--faint:#c3bfb0;--brown:#b8d7af;--gold:#d7bd74;--gold-pale:#594b28;--line:#454c40;--line-strong:#707965;--shadow:#0003;--room-blue:#b0d5e6;--room-blue-pale:#2d4149;--room-yellow-ink:#f4e3aa;--apricot-pale:#5a4032;--apricot-edge:#9b6b4f;--apricot-ink:#f6c9a7}.two-collections{color:var(--ink);background:var(--paper)}.two-collections button:focus-visible,.two-collections summary:focus-visible,.two-collections input:focus-visible,.two-collections textarea:focus-visible{outline:2px solid var(--room-blue);outline-offset:3px}.two-collections .app-topbar{padding-inline:max(var(--room-inset),calc((100% - 1036px)/2));background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;min-height:48px;padding-block:2px}.two-collections .small-brand strong{font:var(--type-meta);letter-spacing:0;color:var(--ink-soft)}.two-collections:has(.collection-read) .small-brand{visibility:hidden}.two-collections .settings-button{color:var(--ink-soft);border:0;width:44px;height:44px}.two-collections .library-page{max-width:1036px;padding:8px var(--room-inset) 32px}.two-collections .library-controls{margin-bottom:20px}.two-collections .library-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.two-collections .collection-caption{font:var(--type-meta)}.friend-toolbar{justify-content:center;align-items:center;gap:8px;max-width:560px;margin:0 auto;display:flex}.friend-search{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--ink-soft);border-radius:22px;align-items:center;gap:8px;padding:0 6px 0 14px;display:flex}.friend-search:focus-within{border-color:var(--room-blue);box-shadow:0 0 0 1px var(--room-blue);outline:none}.friend-search svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;flex:none;width:18px;height:18px}.friend-search input{width:100%;min-width:0;min-height:44px;color:var(--ink);font:var(--type-control);background:0 0;border:0;outline:0;flex:1;padding:0}.two-collections .friend-search input:focus-visible{outline:none}.friend-search input::placeholder{color:var(--ink-soft)}.friend-search button{width:36px;height:36px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;padding:0;font-size:20px}.friend-add{background:var(--brown);min-height:44px;color:var(--paper);font:var(--type-label);white-space:nowrap;cursor:pointer;border:0;border-radius:22px;flex:none;justify-content:center;align-items:center;gap:2px;padding:8px 14px;display:inline-flex}.friend-add>span{font-size:18px;line-height:1}.library-browse-controls{max-width:560px;margin:4px auto 0}.friend-find-toggle{min-height:44px;color:var(--ink-soft);font:var(--type-meta);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:0 4px;display:inline-flex}.friend-find-toggle>span{font-size:11px}.friend-find-toggle i{background:var(--apricot-edge);border-radius:50%;width:6px;height:6px}.two-collections .library-groups{gap:28px}.two-collections .group-title{align-items:center;margin-bottom:14px}.two-collections .group-title h2{font:var(--type-section)}.two-collections .shelf-lane{gap:20px}.two-collections .collection-read .shelf-book-card{gap:10px}.two-collections .shelf-book-title{font:16px/1.5 var(--ui-font);text-wrap:pretty}.two-collections .collection-planned .shelf-lane,:root[data-theme] .two-collections .collection-planned .shelf-lane{grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:none;display:grid}.two-collections .collection-planned .plan-shelf-card{width:100%;min-width:0;max-width:none}.two-collections .collection-planned .shelf-book-card{grid-template-columns:64px minmax(0,1fr) 16px;align-items:center;gap:16px;padding:16px 0}.plan-heading{align-items:center;gap:12px;min-width:0;margin:0 auto;display:flex}.two-collections .plan-friends{aspect-ratio:4/3;flex:none;width:82px;height:auto;display:block}.two-collections .plan-heading-copy{min-width:0}.two-collections .plan-heading-copy h1{font:var(--type-page);letter-spacing:0;margin:0 0 2px}.two-collections .plan-heading-copy .collection-caption{display:block}.two-collections .collection-planned .library-header{justify-content:center}.two-collections .plan-open-arrow{color:var(--ink-soft);place-self:center end;font-size:20px}.two-collections .plan-card-copy{gap:4px}.two-collections .plan-card-copy strong{font:600 16px/1.5 var(--ui-font);overflow-wrap:anywhere}.two-collections .plan-card-copy small{font:var(--type-meta)}.two-collections .plan-card-copy .plan-reason{-webkit-line-clamp:2;color:var(--ink);font:var(--type-meta);overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:2px 0 0;display:-webkit-box;overflow:hidden}.plan-bookmark{background:var(--apricot-pale);color:var(--apricot-ink);font:600 13px/1.6 var(--ui-font);border-radius:3px 10px 10px 3px;justify-self:start;align-items:center;gap:5px;margin-bottom:2px;padding:2px 10px 2px 8px;display:inline-flex}.plan-bookmark svg{fill:currentColor;width:10px;height:13px}.two-collections .plans-empty{text-align:center;flex-direction:column;align-items:center;gap:18px;padding-block:clamp(32px,14vh,140px) 40px;display:flex}.plans-empty-scene{justify-items:center;gap:14px;margin:0;display:grid}.two-collections .plans-empty-scene .plan-friends{width:min(220px,62vw)}.plans-empty-scene figcaption{color:var(--ink);font:500 20px/1.6 var(--ui-font);text-wrap:balance}.two-collections .plans-empty-action{background:var(--brown);min-height:48px;color:var(--paper);font:var(--type-label);cursor:pointer;border:0;border-radius:24px;padding:10px 26px}.two-collections .category-filter-row{flex-wrap:wrap}.two-collections .category-filter-row button{align-items:center;gap:6px;display:inline-flex}.two-collections .collection-filters{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:12px;padding:12px;display:grid}.two-collections .library-controls .filter-scroll button{font:var(--type-meta);background:var(--paper);border-radius:8px}.shelf-friends{--garden-paper:var(--paper)}.shelf-friends-scene{position:relative;-webkit-mask-image:none;mask-image:none}.shelf-friends-scene>img{-webkit-mask-image:none;mask-image:none}.shelf-friends-scene .sunflower-count{width:7%;font-size:11px;top:50%;left:94%}.shelf-friends-scene .sunflower-count[data-digits="3"],.shelf-friends-scene .sunflower-count[data-digits="4"]{font-size:9px}.crayon-title{width:96%;height:auto;max-height:32px;margin:0 auto 2px;display:block;overflow:visible}.crayon-title text{stroke:currentColor;stroke-width:.25px;color:#548ab5;paint-order:stroke;font:600 27px Kaiti SC,KaiTi,STKaiti,serif}:root[data-theme=dark] .crayon-title stop{stop-color:#93c3e9}:root[data-theme=dark] .crayon-title text{color:#93c3e9}.two-collections>.mobile-nav{width:100%;max-width:none;height:auto;min-height:60px;padding:6px max(20px,calc((100% - 480px)/2)) max(6px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:var(--paper);box-shadow:none;border-radius:0;grid-template-columns:1fr 1fr;gap:28px;margin:0;display:grid;bottom:0;left:0;right:0;transform:none}.two-collections .mobile-nav button{min-height:46px;box-shadow:none;font:var(--type-label);color:var(--ink-soft);background:0 0;border:0;border-radius:0;padding:6px 12px;position:relative}.two-collections .mobile-nav button.active{color:var(--ink);background:0 0;font-weight:600}.two-collections .mobile-nav button.active:after{content:"";background:var(--brown);border-radius:4px;width:18px;height:2px;position:absolute;bottom:2px;left:calc(50% - 9px)}.two-collections .mobile-nav button{letter-spacing:.04em;font-size:16px}.two-collections .detail-layer{justify-content:center;align-items:flex-start;padding:32px 20px}.two-collections .modal-layer{padding:32px 20px}.two-collections .book-detail,.two-collections .settings-panel,.two-collections .book-editor{width:min(620px,100%);height:auto;min-height:0;max-height:none;padding:0 var(--room-inset) 24px;border:1px solid var(--line);background:var(--paper);border-radius:22px;box-shadow:0 18px 80px #1a142224}.two-collections .book-detail,.two-collections .settings-panel{max-height:calc(100dvh - 64px);overflow-y:auto}.detail-toolbar{z-index:5;height:64px;margin:0 calc(-1 * var(--room-inset)) 16px;padding:0 var(--room-inset);background:var(--paper);border-radius:22px 22px 0 0;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.detail-toolbar .detail-back{width:44px;height:44px;color:var(--ink-soft);background:0 0;border:0;border-radius:50%;margin-left:-10px;font-size:28px;position:static}.detail-toolbar .detail-edit{min-height:44px;color:var(--brown);font:var(--type-meta);background:0 0;border:0;padding:0 0 0 12px}.two-collections .book-detail .detail-hero{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:18px;margin:0 0 18px;padding:0}.two-collections .book-detail .detail-cover{width:74px}.two-collections .book-detail .detail-title-copy{padding:0}.two-collections .book-detail .detail-title-copy h2{font:var(--type-page);letter-spacing:0;margin:0 0 6px}.two-collections .book-author{font:var(--type-meta);margin:0;line-height:1.6}.two-collections .plan-age-label{font:var(--type-meta);color:var(--brown);margin:0 0 4px}.book-topics{--garden-paper:var(--paper);flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 12px;display:flex}.book-topics .book-topic{max-width:100%;color:var(--ink-soft);font:var(--type-meta);align-items:center;gap:5px;margin:0;padding:2px 0;display:inline-flex}.book-topics .book-topic .theme-flower-art{flex:none;width:23px;height:23px}.book-topic-copy{overflow-wrap:anywhere;min-width:0}.book-topic-category{color:var(--ink)}.book-topic-leaves,.book-topic-legacy{color:var(--ink-soft)}.two-collections .reading-age-copy{font:var(--type-meta);flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 0 20px;display:flex}.two-collections .reading-age-copy strong{font:var(--type-meta);color:var(--room-blue)}.two-collections .reading-age-copy small{font:var(--type-meta);flex-basis:auto}.two-collections .book-detail .book-calendar-fold,.two-collections .book-detail>.memory-list,.two-collections .book-detail>.book-reason,.two-collections .plan-detail>.plan-intention{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin:20px 0 0;padding:20px 0 0}.two-collections .book-detail .book-calendar-fold{margin-top:0;padding-top:12px}.two-collections .book-calendar-fold>summary,.two-collections .detail-note>summary,.two-collections .detail-more>summary{cursor:pointer;min-height:44px;font:var(--type-section);justify-content:space-between;align-items:center;padding:0;list-style:none;display:flex}.two-collections .book-calendar-fold>summary::-webkit-details-marker{display:none}.two-collections .detail-note>summary::-webkit-details-marker{display:none}.two-collections .detail-more>summary::-webkit-details-marker{display:none}.two-collections .book-calendar-fold>summary:after,.two-collections .detail-note>summary:after,.two-collections .detail-more>summary:after{content:"+";color:var(--ink-soft);font:var(--type-meta)}.two-collections .book-calendar-fold[open]>summary:after,.two-collections .detail-note[open]>summary:after,.two-collections .detail-more[open]>summary:after{content:"−"}.two-collections .memory-list-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;display:flex}.two-collections .memory-list-heading h3{font:var(--type-section);margin:0}.two-collections .detail-write{background:var(--gold-pale);min-height:44px;color:var(--room-yellow-ink);font:var(--type-control);border:0;border-radius:14px;flex:none;padding:8px 16px}.memory-empty{color:var(--ink-soft);font:var(--type-meta);margin:0 0 4px}.two-collections .book-detail .age-memory+.age-memory{margin-top:24px;padding-top:24px}.two-collections .age-memory .memory-date{font:var(--type-meta)}.two-collections .book-detail .age-memory>header{gap:8px;margin-bottom:10px}.two-collections .memory-moment .diary-prose{font:var(--type-body);line-height:1.85}.two-collections .memory-reflection{gap:6px;margin-top:12px}.two-collections .memory-reflection>span{font:var(--type-meta);background:var(--room-blue-pale);border-radius:6px;padding:3px 8px}.two-collections .memory-reflection>button{font:var(--type-meta)}.two-collections .book-detail>.book-reason>summary{font:var(--type-label);color:var(--ink-soft)}.two-collections .book-detail>.book-reason p,.two-collections .plan-intention p{font:var(--type-body);white-space:pre-wrap;margin:8px 0 0}.detail-more{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}.two-collections .detail-more>summary{font:var(--type-meta);color:var(--ink-soft)}.two-collections .detail-more .detail-danger{border:0;margin:0;padding:0;display:block}.two-collections .book-detail>.detail-danger{border:0;border-top:1px solid var(--line);margin:24px 0 0;padding:12px 0 0;display:block}.two-collections .detail-danger button{min-height:44px;color:var(--danger);font:var(--type-meta);background:0 0;border:0;border-radius:0;padding:8px 0}.two-collections .plan-detail-actions{margin-top:24px;display:flex}.two-collections .plan-detail-actions .plan-move{background:var(--gold-pale);width:100%;min-height:48px;color:var(--room-yellow-ink);font:var(--type-control);border:0;border-radius:14px;padding:10px 18px}.two-collections .plan-intention h3{font:var(--type-section);margin:0 0 8px}.two-collections .plan-intention button{font:var(--type-meta)}.two-collections .book-editor{--editor-inset:var(--room-inset);padding-top:0}.two-collections .book-editor .editor-book-anchor{height:64px;min-height:64px;margin:0 calc(-1 * var(--room-inset)) 20px;padding:10px var(--room-inset);box-shadow:none;background:var(--paper);border:0;border-radius:22px 22px 0 0;grid-template-columns:minmax(0,1fr) 44px;top:0}.two-collections .book-editor .editor-book-anchor strong{font:var(--type-section)}.two-collections .editor-anchor-close{width:44px;height:44px;color:var(--ink-soft);font-size:28px}.two-collections .book-editor .editor-book-core{grid-template-columns:76px minmax(0,1fr);align-items:stretch;gap:18px;margin:0 0 20px;padding:0;display:grid}.editor-meet-choice{border:0;min-width:0;margin:0 0 18px;padding:0}.editor-meet-options{background:var(--paper-deep);border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.editor-meet-options label{min-height:44px;color:var(--ink-soft);font:var(--type-control);cursor:pointer;border-radius:9px;place-items:center;display:grid;position:relative}.editor-meet-options input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.editor-meet-options label:has(input:checked){background:var(--surface-solid);color:var(--ink);box-shadow:0 1px 0 var(--line);font-weight:600}.editor-meet-options label:has(input:focus-visible){outline:2px solid var(--room-blue);outline-offset:2px}.editor-meet-choice p{color:var(--ink-soft);font:var(--type-meta);margin:8px 2px 0}.two-collections .book-editor .editor-cover-upload{flex-direction:column;justify-content:space-between;align-items:center;gap:0;margin:0;display:flex}.two-collections .book-editor .editor-cover-frame{aspect-ratio:.735;flex:none;width:76px;height:auto;min-height:0;max-height:none;display:block}.two-collections .book-editor .editor-cover-empty{border:1px dashed var(--line-strong);background:var(--room-blue-pale);box-shadow:none;border-radius:10px;place-items:center;display:grid}.editor-cover-empty svg{fill:none;width:30px;stroke:var(--room-blue);stroke-width:1.2px;stroke-linejoin:round}.two-collections .book-editor .editor-cover-upload>span:last-of-type{width:100%;min-height:44px;font:var(--type-meta);color:var(--brown);justify-content:center;align-items:center;display:flex}.two-collections .book-editor .editor-book-core{grid-template-columns:108px minmax(0,1fr)}.two-collections .book-editor .editor-cover-upload{position:relative}.two-collections .book-editor .editor-cover-frame{aspect-ratio:auto;border-radius:10px;flex:auto;width:100%;overflow:hidden}.two-collections .book-editor .editor-cover-frame:not(.editor-cover-empty){background:var(--paper-deep);place-items:center;display:grid}.two-collections .book-editor .editor-cover-frame:not(.editor-cover-empty)>*{max-width:100%;max-height:100%}.two-collections .book-editor .editor-cover-empty{padding-bottom:28px}.two-collections .book-editor .editor-cover-upload>span:last-of-type{pointer-events:none;white-space:nowrap;border-radius:8px;width:auto;min-height:28px;font-size:12px;position:absolute;bottom:6px;left:6px;right:6px}.two-collections .book-editor .editor-cover-frame:not(.editor-cover-empty)+span{background:color-mix(in srgb, var(--surface-solid) 88%, transparent);color:var(--ink)}.two-collections .book-editor .field-stack{gap:8px}.two-collections .book-editor .field-stack label{font:var(--type-meta);color:var(--ink-soft);gap:3px}.two-collections .book-editor .field-stack input{border-bottom:1px solid var(--line-strong);min-height:44px;box-shadow:none;color:var(--ink);font:var(--type-control);border:1px solid var(--line-strong);background:var(--surface);border-radius:10px;padding:10px 12px}.two-collections .book-editor .field-stack label:first-child input{font-weight:500}.two-collections .book-editor .field-stack input::placeholder{color:var(--faint);opacity:.8}.two-collections .book-editor>.category-picker,.two-collections .book-editor>.editor-section,.two-collections .book-editor>.editor-optional{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin:20px 0 0;padding:20px 0 0}.two-collections .book-editor .editor-optional>summary{min-height:44px;color:var(--ink);font:var(--type-label);align-items:center;gap:12px;margin:0;display:flex}.section-meta{font:var(--type-meta);color:var(--ink-soft);margin-left:auto;font-weight:400}.two-collections .book-editor .editor-optional>summary:after{font:var(--type-meta);flex:none}.two-collections .book-editor .editor-optional[open]>summary{margin-bottom:12px}.two-collections .book-editor .editor-cover-section:empty{display:none}.two-collections .book-editor .editor-section textarea{border-bottom:1px solid var(--line-strong);box-shadow:none;font:var(--type-body);resize:vertical;border:1px solid var(--line-strong);background:var(--surface);border-radius:10px;min-height:120px;padding:12px;line-height:1.85}.two-collections .book-editor .new-book-memory.diary-open{border:0;margin-top:0;padding-top:0}.two-collections .book-editor .new-book-memory>.editor-section{background:0 0;border:0;margin:0;padding:0}.two-collections .book-editor .diary-open .editor-section textarea{min-height:160px}.two-collections .book-editor .editor-footer{z-index:9;margin:24px calc(-1 * var(--room-inset)) -24px;padding:12px var(--room-inset);border-top:1px solid var(--line);background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0 0 22px 22px;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:12px;display:grid;position:sticky;bottom:-24px}.two-collections .book-editor .editor-footer button{min-height:48px;color:var(--ink-soft);font:var(--type-control);background:0 0;border:0;border-radius:12px;padding:10px 12px}.two-collections .book-editor .editor-footer .primary-action{background:var(--brown);color:var(--paper)}.two-collections .editor-draft-action{text-align:left;margin:12px 0 0}.two-collections .editor-draft-action .discard-editor-draft{font:var(--type-meta)}.two-collections .book-editor .optional-image-field>label,.two-collections .book-editor .audio-recorder-actions button,.two-collections .book-editor .audio-upload{border:1px solid var(--line);background:var(--surface);min-height:44px;font:var(--type-meta);border-radius:10px;padding:8px 12px}.two-collections .book-editor .tone-presets button{font:var(--type-meta);background:0 0;border-radius:9px}.two-collections .book-editor .tone-presets button[aria-pressed=true]{background:var(--paper-deep)}.two-collections .plan-read-next{font:var(--type-meta);margin-top:12px}.two-collections .reading-calendar{background:0 0;border:0;border-radius:0;width:100%;max-width:none;margin:0;padding:0}.two-collections .reading-calendar .calendar-month{justify-content:flex-start;gap:0;margin:0 0 4px}.two-collections .calendar-month>button{background:0 0;border:0;border-radius:50%;width:44px;height:44px;font-size:24px}.two-collections .calendar-month>.calendar-this-month{width:auto;color:var(--room-blue);font:var(--type-meta);border-radius:0;margin-left:auto;padding:4px 0 4px 12px}.two-collections .calendar-month-fields button{font:var(--type-control);padding:0 4px;font-weight:500}.two-collections .calendar-month-fields button,.two-collections .calendar-month>.calendar-this-month,.two-collections .mobile-nav button,.two-collections .book-editor .editor-footer button{white-space:nowrap}.two-collections .calendar-weekdays{font:var(--type-meta);color:var(--ink-soft);margin:0 0 4px}.two-collections .calendar-days{gap:4px}.two-collections .calendar-days button{min-width:0;height:44px;min-height:44px;font:var(--type-control);background:0 0;border:0;border-radius:12px;justify-content:center;gap:0;padding:0;position:relative}.two-collections .calendar-days button>span{border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.two-collections .calendar-days button.is-marked{color:var(--apricot-ink);background:0 0}.two-collections .calendar-days button.is-marked>span{background:var(--apricot-pale);font-weight:600}.two-collections .calendar-days button.is-today>span{box-shadow:inset 0 0 0 1px var(--ink-soft)}.two-collections .calendar-days button:hover:not(:disabled){background:0 0}.two-collections .calendar-days button:hover:not(:disabled)>span{background:var(--paper-deep)}.two-collections .calendar-days button.is-marked:hover:not(:disabled)>span{background:var(--apricot-pale)}.two-collections .calendar-book{width:14px;height:12px;fill:var(--paper);stroke:var(--apricot-edge);stroke-width:1.6px;position:absolute;bottom:1px;right:calc(50% - 21px)}.two-collections .calendar-recap{background:var(--apricot-pale);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 0;padding:6px 6px 6px 16px;display:flex}.two-collections .calendar-recap p{font:var(--type-control);color:var(--apricot-ink);margin:0}.two-collections .calendar-recap button{background:var(--surface-solid);min-height:44px;color:var(--apricot-ink);font:var(--type-control);box-shadow:0 1px 0 var(--apricot-edge);border:0;border-radius:12px;flex:none;margin:0;padding:8px 16px;font-weight:600}.two-collections .calendar-recap button:disabled{box-shadow:none;opacity:1;color:var(--apricot-ink);background:0 0;font-weight:400}.two-collections .calendar-message{min-height:0;font:var(--type-meta);margin:8px 0 0}.two-collections .calendar-message:empty{display:none}.two-collections .calendar-chooser{border:1px solid var(--line);background:var(--surface);border-radius:12px}.two-collections .calendar-choice-grid button{font:var(--type-meta)}.two-collections .calendar-choice-grid button[aria-pressed=true]{background:var(--room-blue-pale);color:var(--room-blue)}.two-collections .reading-bookmark{background:var(--paper-deep);font:var(--type-meta);border-radius:4px 12px 12px 4px;margin:12px 0 0;padding:10px 12px}.two-collections .reading-bookmark small{font:var(--type-meta)}.two-collections .settings-layer{align-items:flex-start}.two-collections .settings-heading{z-index:3;margin:0 calc(-1 * var(--room-inset)) 4px;padding:22px var(--room-inset) 18px;background:var(--paper);border-radius:22px 22px 0 0;justify-content:space-between;align-items:center;gap:16px;display:flex;position:sticky;top:0}.two-collections .settings-heading h2{font:var(--type-page);margin:0 0 2px}.two-collections .settings-heading p{font:var(--type-meta);color:var(--ink-soft);margin:0}.two-collections .settings-heading .close-button{flex:none;font-size:28px;position:static}.two-collections .settings-panel .settings-section{border:0;border-top:1px solid var(--line);margin:0;padding:20px 0}.two-collections .settings-panel .settings-section h3{font:var(--type-section);margin:0 0 12px}.two-collections .settings-panel .private-profile>div{flex-wrap:wrap;align-items:baseline;gap:4px 16px;display:flex}.two-collections .settings-panel .private-profile h3{margin:0}.two-collections .settings-panel .private-profile time{font:var(--type-meta);color:var(--ink);margin-left:auto}.two-collections .settings-panel .private-profile p{font:var(--type-meta);color:var(--ink-soft);margin:6px 0 0}.two-collections .settings-panel .appearance-settings{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.two-collections .settings-panel .appearance-settings h3{margin:0}.two-collections .theme-control{background:var(--paper-deep);border:0;border-radius:12px;padding:3px;display:inline-flex}.two-collections .theme-control button{color:var(--ink-soft);font:var(--type-meta);background:0 0;border:0;border-radius:9px;min-height:44px;padding:6px 10px}.two-collections .theme-control button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px var(--shadow)}.two-collections .settings-panel .settings-row{background:0 0;border:0;border-radius:0;min-height:68px;padding:12px 0}.two-collections .settings-panel .settings-row+.settings-row{border-top:1px solid var(--line);margin:0}.two-collections .settings-panel .settings-row strong{font:var(--type-control)}.two-collections .settings-panel .settings-row small{font:var(--type-meta)}.two-collections .settings-panel .settings-row b{color:var(--room-blue);flex:none;padding-left:12px;font-weight:400}.two-collections .settings-panel .settings-empty{font:var(--type-meta);margin:10px 0 0;line-height:1.65}.two-collections .settings-panel details.settings-section{padding:0}.two-collections .settings-panel details.settings-section>summary{cursor:pointer;min-height:64px;font:var(--type-label);align-items:center;gap:10px;padding:12px 0;list-style:none;display:flex}.two-collections .settings-panel details.settings-section>summary::-webkit-details-marker{display:none}.two-collections .settings-panel details.settings-section>summary:after{content:"+";color:var(--ink-soft);font:var(--type-meta);margin-left:auto}.two-collections .settings-panel details.settings-section[open]>summary:after{content:"−"}.two-collections .settings-panel details.settings-section[open]{padding-bottom:20px}.two-collections .settings-panel .recovery-points{margin-top:12px}.two-collections .settings-panel .recovery-points>summary{min-height:44px;font:var(--type-meta);cursor:pointer;color:var(--brown);padding:10px 0}.two-collections .settings-panel .backup-preview{border:1px solid var(--line);background:var(--room-blue-pale);border-radius:12px;margin:12px 0;padding:16px}.two-collections .settings-panel .backup-preview h4{margin:0 0 8px}.two-collections .settings-panel .backup-preview button,.two-collections .settings-panel .recovery-points button{background:var(--surface);font:var(--type-meta);border-radius:9px}.two-collections .settings-panel .trash-list>div{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;padding:12px 0}.two-collections .settings-panel .trash-list button{min-height:44px;font:var(--type-meta)}.two-collections .settings-panel .legacy-words textarea{border:1px solid var(--line);background:var(--surface);min-height:120px;font:var(--type-body);border-radius:10px;padding:12px}.two-collections .settings-panel .danger-link{min-height:44px;color:var(--danger);font:var(--type-meta);background:0 0;border:0;padding:8px 0}.two-collections .settings-panel .local-data-section p{font:var(--type-meta);color:var(--ink-soft)}.two-collections .cloud-actions button{min-height:44px;font:var(--type-meta);border-radius:10px}.two-collections .private-profile input{border:1px solid var(--line-strong);background:var(--surface);width:min(220px,100%);min-height:44px;font:var(--type-control);border-radius:8px;margin-top:12px;padding:8px 10px}.two-collections .private-profile button{background:var(--paper-deep);min-height:44px;color:var(--brown);font:var(--type-meta);border:0;border-radius:9px;margin:0;padding:8px 14px}.two-collections .private-birthday-setup{max-height:30dvh;padding:12px var(--room-inset);border-bottom:1px solid var(--line);background:var(--room-blue-pale);flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:8px 14px;display:flex;overflow:auto}.two-collections .private-birthday-setup>div{flex:280px;max-width:680px}.two-collections .private-birthday-setup strong{font:var(--type-label)}.two-collections .private-birthday-setup p{color:var(--ink-soft);font:var(--type-meta);margin:3px 0 0}.two-collections .private-birthday-setup button{min-height:44px;color:var(--ink-soft);font:var(--type-meta);background:0 0;border:0;border-radius:10px;flex:none;padding:8px 14px}.two-collections .private-birthday-setup .primary-action{background:var(--gold-pale);color:var(--room-yellow-ink)}.app-shell .book-cover:has(.cover-missing){background:var(--paper-deep);box-shadow:none}.app-shell .book-cover .book-cover-art>.cover-missing{background:var(--paper-deep);width:100%;height:100%;min-height:0;color:var(--ink-soft);flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px;display:flex}.app-shell .book-cover .cover-missing:before{flex:none;width:18px;height:23px;margin:0 0 3px}.app-shell .book-cover .cover-missing small{font:400 10px/1.4 var(--ui-font);letter-spacing:0}.app-shell .book-cover .cover-missing strong{font:400 clamp(9px,15cqw,12px)/1.4 var(--ui-font);white-space:nowrap}@media (width>=1100px){.two-collections .collection-read .library-groups{align-items:start;gap:32px 40px;display:grid}.two-collections .collection-read .shelf-lane{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.two-collections .collection-planned{max-width:820px}}@media (width<=640px){:root{--room-inset:20px}.two-collections>.app-topbar{min-height:44px;padding-inline:20px}.two-collections .library-page{padding:4px 20px 28px}.two-collections .shelf-lane{gap:20px 14px}.two-collections>.mobile-nav{flex:none;margin:0;position:relative;inset:auto;transform:none}.two-collections .detail-layer,.two-collections .modal-layer{padding:0;inset:0}.two-collections .detail-layer{align-items:stretch}.two-collections .modal-layer{align-items:flex-start}.two-collections .book-detail,.two-collections .settings-panel,.two-collections .book-editor{width:100%;max-width:none;height:auto;min-height:100%;max-height:none;box-shadow:none;border:0;border-radius:0;padding:0 20px 24px}.two-collections .book-detail,.two-collections .settings-panel{height:100%;max-height:100%;padding-bottom:max(24px,env(safe-area-inset-bottom))}.detail-toolbar{border-radius:0;height:56px;min-height:56px;margin-bottom:16px}.two-collections .book-editor .editor-book-anchor{border-radius:0;height:56px;min-height:56px;margin-bottom:18px;padding:6px 20px}.two-collections .book-editor .editor-footer{padding:10px 20px max(10px,env(safe-area-inset-bottom));border-radius:0;margin-bottom:-24px;bottom:0}.two-collections .settings-heading{padding-top:max(18px,env(safe-area-inset-top));border-radius:0}.two-collections .calendar-days{gap:3px}.two-collections .calendar-days button{height:44px;min-height:44px}.two-collections .book-detail .detail-title-copy h2{font-size:24px}}@media (width<=350px){.two-collections .book-editor .editor-book-core{grid-template-columns:96px minmax(0,1fr);gap:14px}.two-collections .settings-panel .private-profile time{margin-left:0}.two-collections .theme-control button{padding-inline:8px}.two-collections .calendar-weekdays,.two-collections .calendar-days{gap:0;width:100vw;margin-inline:calc(50% - 50vw)}.two-collections .calendar-days button{border-radius:10px;height:44px;min-height:44px}.two-collections .calendar-days button>span{width:34px;height:34px}.two-collections .section-meta{font-size:13px}.plan-heading{gap:8px}.two-collections .collection-planned .library-header .plan-friends{width:64px}.two-collections .plan-heading-copy h1{font-size:20px}.friend-toolbar{gap:6px}.friend-add{padding-inline:10px}.friend-search{padding-left:10px}}@media (prefers-reduced-motion:reduce){.two-collections .detail-layer,.two-collections .book-detail,.two-collections .modal-layer{animation:none}}.two-collections .shelf-friends{width:min(100%,260px);max-width:260px;margin:0 auto}.two-collections .collection-read .library-groups{grid-template-columns:minmax(0,1fr)}.editor-fields{border:0;min-width:0;margin:0;padding:0}.editor-fields:disabled{opacity:.72}.editor-fields>.editor-optional,.editor-fields>.editor-section{border:0;margin:12px 0 0;padding:0}.two-collections .book-editor .editor-fields>.editor-optional>summary{background:var(--paper-deep);border-radius:12px;padding:0 14px}.two-collections .book-editor .editor-fields>.editor-section{margin-top:20px}.two-collections .book-editor .diary-open>summary{display:none}.diary-date{font:var(--type-meta);color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 16px;display:flex}.diary-date label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.diary-date input{border:1px solid var(--line-strong);background:var(--surface);min-height:44px;font:var(--type-control);border-radius:10px;padding:8px 10px}.diary-attachments{border:0;gap:16px;margin:16px 0;padding:0;display:grid}.diary-attachments .optional-image-field,.diary-attachments .audio-recorder{background:0 0;border:0;margin:0;padding:0}.recording-status{font:var(--type-meta);color:var(--room-blue)}.library-groups[data-grouping=all] .group-title{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.two-collections .library-groups[data-grouping=all]{display:block}.two-collections .collection-empty h2{text-wrap:balance}.two-collections .collection-planned .library-header{align-items:center}.two-collections .cloud-login input{border:1px solid var(--line-strong)}.two-collections .friend-search{background:var(--paper-deep);border-color:#0000}.two-collections .friend-search:focus-within{border-color:var(--room-blue);background:var(--surface-solid)}.two-collections .friend-add{min-height:44px;color:var(--brown);font:500 15px/1.5 var(--ui-font);background:#e8ece5;padding:8px 16px}.two-collections .friend-add:hover{background:#dde3db}:root[data-theme=dark] .two-collections .friend-add{background:#3e463b}:root[data-theme=dark] .two-collections .friend-add:hover{background:#465043}.two-collections .collection-filters{background:0 0;border:0;border-radius:0;gap:4px;margin-top:4px;padding:4px 2px 0}.two-collections .collection-filters .filter-label{font:var(--type-meta);color:var(--ink-soft);margin:6px 0}.two-collections .collection-filters .filter-scroll{gap:6px;margin:0 0 8px}.two-collections .library-controls .filter-scroll button{border:1px solid var(--line);color:var(--ink-soft);background:0 0;border-radius:999px;padding:8px 14px}.two-collections .library-controls .filter-scroll button.active{background:color-mix(in srgb, var(--brown) 14%, var(--surface-solid));color:var(--brown);border-color:#0000;font-weight:600}.two-collections .collection-planned .shelf-book-card{grid-template-columns:60px minmax(0,1fr) 16px;gap:14px;padding:12px 0}.two-collections .collection-planned .shelf-cover-frame{width:60px}.two-collections .collection-planned .book-cover .book-cover-art>.cover-missing{padding:4px 2px}.two-collections .collection-planned .book-cover .cover-missing:before{width:14px;height:18px}.two-collections .collection-planned .book-cover .cover-missing small{white-space:nowrap}.two-collections .collection-planned .book-cover .book-cover-art>.cover-missing{background:color-mix(in srgb, var(--paper-deep) 60%, var(--paper))}.two-collections .collection-planned .book-cover:has(.cover-missing){background:color-mix(in srgb, var(--paper-deep) 60%, var(--paper))}.two-collections .editor-meet-options{border-radius:999px}.two-collections .editor-meet-options label{font:var(--type-label);border-radius:999px}.two-collections .book-editor .field-stack label{font:var(--type-meta);color:var(--ink-soft)}.two-collections .book-editor .field-stack input,.two-collections .book-editor textarea{border:1px solid var(--line);background:var(--surface-solid);box-shadow:none;border-radius:10px}.two-collections .book-editor .field-stack input:focus,.two-collections .book-editor textarea:focus{border-color:var(--brown);box-shadow:0 0 0 3px color-mix(in srgb, var(--brown) 14%, transparent);outline:none}.two-collections .book-editor .editor-cover-empty{border-color:var(--line-strong);background:color-mix(in srgb, var(--room-blue-pale) 55%, var(--paper))}.two-collections .book-editor .plan-expectation textarea{min-height:104px}.two-collections .book-editor .editor-fields>details.editor-optional{border-top:1px solid var(--line);margin:0}.two-collections .book-editor .editor-fields>details.editor-optional:first-of-type{margin-top:20px}.two-collections .book-editor .editor-fields>details.editor-optional:last-of-type{border-bottom:1px solid var(--line)}.two-collections .book-editor .editor-fields>.editor-optional>summary{background:0 0;border-radius:0;min-height:48px;padding:0 2px}.two-collections .book-editor .editor-fields>.editor-optional[open]{padding-bottom:16px}.two-collections .book-editor .editor-fields>.editor-optional[open]>summary{margin-bottom:8px}.two-collections .book-editor .editor-fields>details.diary-open{border:0}.two-collections .book-editor .editor-footer .primary-action{border-radius:999px}.two-collections .book-editor .editor-footer button{min-height:46px}.two-collections .calendar-recap{background:color-mix(in srgb, var(--apricot-pale) 55%, var(--paper))}.two-collections .calendar-recap button{border:1px solid color-mix(in srgb, var(--apricot-edge) 55%, transparent);box-shadow:none}
