@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4f6667dd39116621-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/07935285219a259d-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/f58031ded4338640-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/77814b00d5ca94a4-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/605ce01b664af129-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.T19VSG_className{font-family:Geist,Geist Fallback;font-style:normal}.T19VSG_variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/b0c6b664fd57c2c6-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6e342921ee4dcd9d-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2bb852295097cd96-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/9eb5a876700c0028-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2a04751c893bf294-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/07a39a8a4660cc7c-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}._8Li5zG_className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}._8Li5zG_variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--spacing:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!visible{visibility:visible!important}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.w-24{width:calc(var(--spacing) * 24)}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow,.shadow\/elevation{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--ink:#1f2b26;--forest:#20352d;--forest-2:#2c4a3e;--paper:#f4efe6;--paper-2:#ebe1d2;--cream:#fffaf1;--gold:#c1944d;--gold-soft:#e5c68b;--terracotta:#9a4d3b;--sage:#87a08f;--muted:#5f645f;--line:#28332d24;--shadow:0 24px 70px #27201724}*{box-sizing:border-box}html{background:var(--paper)}body{background:radial-gradient(circle at 15% 0%, #e5c68b2e, transparent 27rem), var(--paper);min-height:100vh;color:var(--ink);font-family:var(--font-geist-sans), Arial, sans-serif;margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button:not(:disabled){cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.03em;text-wrap:balance;font-family:Georgia,Times New Roman,serif;font-weight:500}p{text-wrap:pretty}::selection{color:var(--ink);background:#e5c68b8c}::placeholder{color:#6b706b;opacity:1}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}input,select,textarea{caret-color:var(--forest-2)}.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}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.eyebrow{color:var(--terracotta);letter-spacing:.16em;text-transform:uppercase;font-size:.72rem;font-weight:750;display:inline-block}.brand-mark{background:var(--forest);width:54px;height:54px;color:var(--gold-soft);border:1px solid #e5c68b6b;border-radius:50% 50% 45% 55%;place-items:center;display:grid;box-shadow:inset 0 0 0 5px #ffffff0a}.brand-mark.small{width:38px;height:38px}.primary-button,.secondary-button,.danger-button,.text-button,.icon-button{border:0;border-radius:999px;justify-content:center;align-items:center;gap:.55rem;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex}.primary-button{background:var(--forest);color:#fff9ec;min-height:44px;padding:.72rem 1.15rem;font-size:.88rem;font-weight:680;box-shadow:0 10px 25px #20352d2e}.primary-button:hover:not(:disabled){background:var(--forest-2);transform:translateY(-1px)}.primary-button.full{width:100%}.primary-button.square{border-radius:13px;width:46px;min-width:46px;padding:0}.secondary-button{border:1px solid var(--line);background:#fffaf1b8;min-height:42px;padding:.65rem .95rem}.danger-button{color:#8d3f31;background:#f7e7e1;padding:.7rem 1rem;font-weight:650}.text-button{color:var(--forest-2);background:0 0;padding:.55rem;font-weight:650}.icon-button{border:1px solid var(--line);background:#ffffff9e;width:42px;height:42px}.loading-screen{text-align:center;place-content:center;justify-items:center;gap:1rem;min-height:100vh;padding:2rem;display:grid}.loading-screen h1{margin-bottom:0;font-size:clamp(2.3rem,8vw,4rem)}.loading-screen p{max-width:36rem;color:var(--muted)}.auth-page{grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);min-height:100vh;display:grid}.auth-story{background:linear-gradient(135deg, #ffffff06, transparent 46%), var(--forest);color:#f9f1e3;flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(1.6rem,4vw,4rem);display:flex;position:relative;overflow:hidden}.auth-story:before{content:"";border:1px solid #e5c68b2e;border-radius:50%;width:36rem;height:36rem;position:absolute;top:-14rem;right:-14rem;box-shadow:0 0 0 4rem #e5c68b06,0 0 0 8rem #e5c68b05}.auth-brand{align-items:center;gap:.9rem;font-family:Georgia,serif;font-size:1.18rem;display:flex;position:relative}.auth-quote{max-width:48rem;padding:3rem 0;position:relative}.auth-quote .eyebrow{color:var(--gold-soft)}.auth-quote h1{max-width:44rem;margin:0 0 1.25rem;font-size:clamp(3.2rem,6vw,6.6rem);line-height:.95}.auth-quote p{color:#fff9ecb8;max-width:36rem;margin-bottom:0;font-size:1.08rem;line-height:1.7}.auth-shelf{border-bottom:12px solid #9a6539;align-items:flex-end;gap:.42rem;height:120px;display:flex;position:relative}.auth-shelf:after{content:"";background:#5d3b27;height:8px;position:absolute;bottom:-20px;left:0;right:0}.auth-shelf span{width:clamp(24px,3.2vw,48px);height:var(--book-height);background:var(--book-color);border-radius:3px 4px 0 0;display:block;box-shadow:inset 5px 0 #ffffff1a,inset -3px 0 #00000026}.auth-panel{background:var(--cream);place-items:center;min-height:100vh;padding:2rem;display:grid}.auth-form{width:min(100%,420px)}.auth-form h2{margin:0 0 .6rem;font-size:2.65rem}.auth-form>p{color:var(--muted);margin-bottom:2rem;line-height:1.6}.auth-form .field{margin-bottom:1rem}.auth-form .primary-button{margin-top:.45rem}.auth-form .text-button{width:100%;margin-top:.55rem}.auth-method-toggle{border:1px solid var(--line);background:#ebe1d294;border-radius:14px;grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:1.25rem;padding:.3rem;display:grid}.auth-method-toggle button{min-height:42px;color:var(--muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;font-size:.77rem;font-weight:700;transition:background .16s,color .16s,box-shadow .16s;display:inline-flex}.auth-method-toggle button.active{background:var(--cream);color:var(--forest);box-shadow:0 5px 16px #2e271d17}.auth-method-toggle button:focus-visible{outline-offset:1px;outline:3px solid #c1944d4d}.auth-form .form-message.success{color:#315c3f;background:#eaf3eb;border-color:#4975593d}.app-shell{min-height:100vh;padding-top:74px;padding-bottom:0}.app-header{z-index:30;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f4efe6e0;grid-template-columns:1fr auto 1fr;align-items:center;min-height:74px;padding:.8rem clamp(1rem,4vw,4.5rem);display:grid;position:fixed;top:0;left:0;right:0}.wordmark{text-align:left;background:0 0;border:0;justify-self:start;align-items:center;gap:.75rem;padding:0;display:inline-flex}.wordmark>span:last-child{gap:.1rem;display:grid}.wordmark strong{font-family:Georgia,serif;font-size:1.05rem;font-weight:600}.wordmark small{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem}.desktop-nav{border:1px solid var(--line);background:#fffaf1ad;border-radius:999px;align-items:center;gap:.25rem;padding:.28rem;display:flex}.desktop-nav button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:.57rem 1rem;font-size:.8rem;font-weight:660}.desktop-nav button.active{background:var(--forest);color:#fff;box-shadow:0 6px 18px #20352d29}.header-actions{justify-self:end;gap:.55rem;display:flex}.account-button{width:66px;padding:.35rem}.account-button span{background:var(--paper-2);width:28px;height:28px;color:var(--forest);border-radius:50%;place-items:center;font-weight:700;display:grid}.mobile-nav{display:none}.page-section{width:min(100%,1440px);min-height:calc(100vh - 74px);margin:0 auto;padding:clamp(2rem,5vw,5rem) clamp(1rem,4vw,4.5rem) 5rem}.welcome-row{justify-content:space-between;align-items:end;gap:2rem;display:flex}.welcome-row h1{max-width:760px;margin:0 0 .6rem;font-size:clamp(2.7rem,5vw,5.5rem);line-height:.98}.welcome-row p{color:var(--muted);margin:0}.summary-card{border:1px solid var(--line);background:#fffaf1bd;border-radius:18px;grid-template-columns:auto 1fr 1fr;align-items:center;gap:1.1rem;min-width:270px;padding:1.15rem 1.3rem;display:grid;box-shadow:0 14px 40px #40311e12}.summary-card>svg{color:var(--gold)}.summary-card div{display:grid}.summary-card strong{font-family:Georgia,serif;font-size:1.5rem}.summary-card span{color:var(--muted);font-size:.72rem}.library-tools{justify-content:space-between;align-items:center;gap:1rem;margin:3rem 0 1.7rem;display:flex}.search-box{border:1px solid var(--line);width:min(100%,440px);color:var(--muted);background:#fffaf1c2;border-radius:13px;align-items:center;gap:.65rem;padding:0 1rem;display:flex}.search-box input{width:100%;height:48px;color:var(--ink);background:0 0;border:0;outline:none}.filter-pills{gap:.4rem;padding:2px;display:flex;overflow-x:auto}.filter-pills button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:999px;flex:none;padding:.65rem .9rem;font-size:.77rem;font-weight:650}.filter-pills button.active{border-color:var(--forest);background:var(--forest);color:#fff}.book-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(1rem,2.2vw,2rem);display:grid}.book-card{cursor:pointer;min-width:0;transition:transform .18s}.book-card:hover{transform:translateY(-4px)}.book-cover{aspect-ratio:.675;background:#d8cbb8;border-radius:7px 13px 13px 7px;position:relative;overflow:hidden;box-shadow:0 16px 35px #2f251b2e,inset 8px 0 #ffffff1f}.book-cover:after{content:"";background:#ffffff59;width:1px;position:absolute;inset:0 auto 0 8px}.book-cover>img{object-fit:cover;width:100%;height:100%}.book-remove-button{z-index:2;color:#fff8f2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#2a1f1bd1;border:1px solid #ffffff6b;border-radius:999px;align-items:center;gap:.35rem;min-height:34px;padding:.45rem .65rem;font-size:.67rem;font-weight:720;transition:transform .16s,background .16s;display:inline-flex;position:absolute;top:.55rem;right:.55rem;box-shadow:0 6px 18px #1d14113d}.book-remove-button:hover:not(:disabled){background:#8d3f31;transform:translateY(-1px)}.book-remove-button:focus-visible{outline:3px solid var(--gold-soft);outline-offset:2px}.cover-fallback{background:linear-gradient(145deg, var(--forest), #4d6b5c);width:100%;height:100%;color:var(--gold-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:1.2rem;display:flex}.cover-fallback span{font-family:Georgia,serif;font-size:clamp(2rem,5vw,4rem)}.cover-fallback small{color:#ffffffbf;max-width:12rem}.book-card-copy{padding:1rem .15rem 0;position:relative}.book-card-copy>small{color:var(--terracotta);letter-spacing:.08em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;padding-right:1rem;font-size:.66rem;font-weight:720;display:block;overflow:hidden}.book-card-copy h2{text-overflow:ellipsis;white-space:nowrap;margin:.45rem 0 .25rem;font-size:1.18rem;line-height:1.15;overflow:hidden}.book-card-open{width:100%;font:inherit;letter-spacing:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;display:block;overflow:hidden}.book-card-open:focus-visible{outline-offset:2px;border-radius:4px}.book-card-copy p{min-height:1.25rem;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-bottom:.75rem;font-size:.78rem;overflow:hidden}.book-card-copy select{border:1px solid var(--line);width:100%;color:var(--forest);background:#fff6;border-radius:8px;outline:none;padding:.54rem 1.8rem .54rem .7rem;font-size:.72rem;font-weight:650}.series-card-covers{aspect-ratio:.675;position:relative}.series-card-covers>span{transform:translateX(calc(var(--series-card-index) * 7%)) rotate(calc((var(--series-card-index) - 1) * 1.5deg));transform-origin:bottom;background:#d8cbb8;border-radius:7px 13px 13px 7px;position:absolute;inset:0 12% 0 0;overflow:hidden;box-shadow:0 14px 28px #271e163b}.series-card-covers>span:first-child{z-index:3}.series-card-covers>span:nth-child(2){z-index:2;filter:brightness(.92)}.series-card-covers>span:nth-child(3){z-index:1;filter:brightness(.84)}.series-card-covers>span>img,.series-card-covers>span>.cover-fallback{object-fit:cover;width:100%;height:100%}.series-card-covers>strong{z-index:5;color:#fff9ec;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f3029e6;border:1px solid #ffffff73;border-radius:999px;align-items:center;gap:.35rem;padding:.48rem .62rem;font-size:.63rem;display:inline-flex;position:absolute;bottom:.7rem;right:.25rem;box-shadow:0 8px 20px #161e1a38}.series-card-copy h2{padding-right:0}.series-card-progress{gap:.38rem;display:grid}.series-card-progress>span{background:var(--paper-2);border-radius:999px;height:5px;overflow:hidden}.series-card-progress i{border-radius:inherit;background:linear-gradient(90deg, var(--terracotta), var(--gold));height:100%;display:block}.series-card-progress strong{color:var(--muted);font-size:.68rem;font-weight:690}.status-dot{background:var(--sage);border-radius:50%;width:8px;height:8px;position:absolute;top:1.1rem;right:.2rem}.status-reading{background:#db9e41;box-shadow:0 0 0 4px #db9e4121}.status-read{background:#5f8d6d}.status-want-to-read{background:#9b6c80}.status-dnf{background:#9a9a93}.empty-library{text-align:center;background:#fffaf173;border:1px dashed #43484338;border-radius:24px;place-content:center;justify-items:center;min-height:390px;padding:3rem 1rem;display:grid}.empty-library h2{margin:1.5rem 0 .45rem;font-size:2rem}.empty-library>h2:first-child{margin-top:0}.empty-library p{max-width:30rem;color:var(--muted);margin-bottom:1.5rem;line-height:1.6}.empty-books{border-bottom:9px solid #8a5b35;align-items:flex-end;gap:6px;height:88px;display:flex}.empty-books span{background:var(--terracotta);border-radius:2px 3px 0 0;width:29px;display:block}.empty-books span:first-child{height:58px}.empty-books span:nth-child(2){background:var(--forest-2);height:78px}.empty-books span:nth-child(3){background:var(--gold);height:67px}.content-loader{min-height:300px;color:var(--muted);justify-content:center;align-items:center;gap:.7rem;display:flex}.error-banner{color:#7c382c;background:#f9e9e4;border:1px solid #e0b4aa;border-radius:16px;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-bottom:1rem;padding:1rem 1.1rem;display:flex}.error-banner>svg{flex:none}.error-banner>div{flex:16rem;gap:.25rem;display:grid}.error-banner p{margin:0;font-size:.92rem;line-height:1.45}.error-banner small{color:#8a5a4e;overflow-wrap:anywhere;font-size:.72rem}.error-banner .secondary-button{background:var(--cream);color:#7c382c;border-color:#7c382c40;flex:none;min-height:44px;font-weight:700}.shelf-view{width:min(100%,1600px);padding-bottom:2rem}.shelf-toolbar{justify-content:flex-end;margin-bottom:1rem;display:flex}.segmented-control{border:1px solid var(--line);background:#fffaf1ad;border-radius:999px;gap:.25rem;padding:.28rem;display:inline-flex}.segmented-control button{color:var(--muted);background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.62rem .9rem;font-size:.78rem;font-weight:650;display:inline-flex}.segmented-control button.active{background:var(--forest);color:#fff}.shelf-frame{background:#171914;border:1px solid #e5c68b3d;border-radius:26px;height:min(68vh,760px);min-height:500px;position:relative;overflow:hidden;box-shadow:0 34px 80px #20231d38}.bookshelf-canvas,.bookshelf-canvas canvas{width:100%;height:100%}.bookshelf-canvas canvas{touch-action:none;display:block}.shelf-badge{color:#ffffffb8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#161814b8;border:1px solid #ffffff26;border-radius:999px;align-items:center;gap:.45rem;padding:.55rem .8rem;font-size:.72rem;display:flex;position:absolute;bottom:1rem;right:1rem}.shelf-empty{color:#f2e8d6;text-align:center;place-content:center;justify-items:center;height:100%;display:grid}.shelf-empty>span{color:var(--gold-soft);font-size:2rem}.shelf-empty h3{margin:.7rem 0 .35rem;font-size:2rem}.shelf-empty .primary-button{background:var(--gold-soft);color:var(--forest);margin-top:.5rem}.shelf-empty p{color:#ffffffb3;max-width:22rem}.insights-heading{max-width:800px}.insights-heading h1{margin:0 0 .8rem;font-size:clamp(3rem,6vw,6rem);line-height:.98}.insights-heading p{max-width:660px;color:var(--muted);font-size:1.05rem;line-height:1.65}.stat-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin:3rem 0 1rem;display:grid}.stat-grid article{border:1px solid var(--line);background:#fffaf1a6;border-radius:20px;align-content:space-between;min-height:190px;padding:1.5rem;display:grid}.stat-grid article:nth-child(2){background:var(--forest);color:#fff9ec}.stat-grid svg{color:var(--gold)}.stat-grid strong{font-family:Georgia,serif;font-size:3.8rem;font-weight:500;line-height:1}.stat-grid span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;font-weight:700}.stat-grid article:nth-child(2) span{color:#ffffff94}.genre-panel{border:1px solid var(--line);background:var(--cream);border-radius:22px;grid-template-columns:.7fr 1.3fr;gap:3rem;margin-top:1rem;padding:clamp(1.5rem,4vw,3rem);display:grid}.genre-panel h2{margin:0;font-size:2.3rem}.genre-bars{gap:.8rem;display:grid}.genre-bars>div{grid-template-columns:120px 1fr 24px;align-items:center;gap:.8rem;font-size:.78rem;display:grid}.genre-bars>div>div{background:var(--paper-2);border-radius:999px;height:8px;overflow:hidden}.genre-bars i{border-radius:inherit;background:linear-gradient(90deg, var(--terracotta), var(--gold));height:100%;display:block}.genre-bars strong{text-align:right}.muted{color:var(--muted)}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#151c18ad;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.dialog-panel{background:var(--cream);width:min(100%,660px);max-height:min(92vh,900px);box-shadow:var(--shadow);border:1px solid #ffffff80;border-radius:24px;overflow-y:auto}.dialog-header{justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem 1.5rem 1rem;display:flex}.dialog-header h2{margin:0;font-size:2.2rem;line-height:1.05}.add-mode{margin:0 1.5rem 1.25rem}.add-book-dialog{width:min(100%,700px)}.scan-step,.book-search-step{padding:0 1.5rem 1.5rem}.book-search-form{margin-bottom:1rem}.book-search-form>label{color:var(--muted);margin-bottom:.4rem;font-size:.75rem;font-weight:650;display:block}.book-search-form>div{gap:.5rem;display:flex}.book-search-form input{border:1px solid var(--line);background:#fff;border-radius:13px;outline:none;width:100%;height:46px;padding:0 .9rem}.book-search-results{gap:.6rem;display:grid}.book-search-result{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#ffffffa8;border-radius:14px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:.85rem;padding:.7rem;transition:border-color .16s,transform .16s,background .16s;display:grid}.book-search-result:hover{background:#fff;border-color:#20352d4d;transform:translateY(-1px)}.book-search-result img,.search-cover-fallback{border-radius:5px;width:48px;height:68px}.book-search-result img{object-fit:cover;box-shadow:0 5px 12px #00000024}.search-cover-fallback{background:var(--forest);color:var(--gold-soft);place-items:center;display:grid}.book-search-copy{gap:.2rem;min-width:0;display:grid}.book-search-copy strong{text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,serif;font-size:1rem;overflow:hidden}.book-search-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.book-search-copy em{color:var(--terracotta);font-size:.68rem;font-style:normal}.select-book-label{color:var(--forest-2);font-size:.72rem;font-weight:700}.scanner-shell{background:#151b18;border-radius:18px;min-height:330px;position:relative;overflow:hidden}.scanner-video{object-fit:cover;width:100%;height:330px}.scanner-frame{pointer-events:none;background:radial-gradient(52% 28%,#0000 60%,#080c0a9e 62%);place-items:center;display:grid;position:absolute;inset:0}.scanner-frame:before{content:"";border:2px solid #f2d59be6;border-radius:13px;width:min(78%,430px);height:118px;box-shadow:0 0 0 999px #0000000f}.scanner-frame span{background:#e5a85a;width:min(70%,390px);height:1px;animation:2s ease-in-out infinite alternate scanline;position:absolute;box-shadow:0 0 12px #e5a85a}@keyframes scanline{0%{transform:translateY(-42px)}to{transform:translateY(42px)}}.scanner-message{color:#ffffffd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f1512c7;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;padding:.7rem;font-size:.75rem;display:flex;position:absolute;bottom:.8rem;left:.8rem;right:.8rem}.isbn-entry{margin-top:1rem}.isbn-entry>label{color:var(--muted);margin-bottom:.4rem;font-size:.75rem;font-weight:650;display:block}.isbn-entry>div{gap:.5rem;display:flex}.isbn-entry input{border:1px solid var(--line);background:#fff;border-radius:13px;outline:none;width:100%;height:46px;padding:0 .9rem}.book-form{padding:0 1.5rem 1.5rem}.lookup-preview{border:1px solid var(--line);background:var(--paper);border-radius:14px;align-items:center;gap:1rem;margin-bottom:1rem;padding:.85rem;display:flex}.lookup-preview img{object-fit:cover;border-radius:4px;width:58px;height:82px;box-shadow:0 6px 15px #00000029}.lookup-preview div{gap:.18rem;display:grid}.lookup-preview span{color:var(--terracotta);letter-spacing:.08em;text-transform:uppercase;font-size:.65rem;font-weight:750}.lookup-preview strong{font-family:Georgia,serif;font-size:1.1rem}.lookup-preview small{color:var(--muted)}.form-message{color:#7f4033;background:#f8eae4;border:1px solid #a5544033;border-radius:10px;padding:.75rem .85rem;font-size:.78rem;line-height:1.45}.field-grid,.detail-form{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.2rem;display:grid}.field{gap:.42rem;display:grid}.field-wide{grid-column:1/-1}.field>span{color:var(--muted);font-size:.75rem;font-weight:680}.field>span em{color:#9a8c78;font-size:.65rem;font-style:normal;font-weight:540}.field-help{color:var(--muted);font-size:.67rem;line-height:1.4}.field input,.field select,.field textarea{border:1px solid var(--line);width:100%;min-height:45px;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:.72rem .82rem}.field textarea{resize:vertical;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px #c1944d1f}.detail-dialog{width:min(100%,760px);position:relative}.detail-close{z-index:2;position:absolute;top:1rem;right:1rem}.detail-hero{background:linear-gradient(135deg, var(--paper-2), #f8f2e9);grid-template-columns:190px 1fr;align-items:center;gap:2rem;padding:2.2rem;display:grid}.detail-cover{aspect-ratio:.675;border-radius:6px 11px 11px 6px;overflow:hidden;box-shadow:0 18px 38px #251d1438}.detail-cover img{object-fit:cover;width:100%;height:100%}.detail-copy h2{margin:.6rem 0 .5rem;font-size:clamp(2.2rem,5vw,4rem);line-height:1}.detail-copy p{color:var(--muted);margin-bottom:.5rem}.detail-copy small{color:#8a7862}.detail-form{padding:1.5rem 2.2rem .5rem}.rating-row{gap:.3rem;display:flex}.rating-row button{color:#d6ccba;background:0 0;border:0;padding:.1rem}.rating-row button.selected{color:var(--gold)}.detail-message{margin:0 2.2rem}.detail-actions{justify-content:space-between;gap:1rem;padding:1rem 2.2rem 2rem;display:flex}.series-suggestion{background:linear-gradient(135deg,#f6e5c19e,#ffffffad);border:1px solid #c1944d59;border-radius:15px;grid-template-columns:42px 1fr;gap:.8rem;margin-bottom:1rem;padding:1rem;display:grid}.series-suggestion-icon{background:var(--forest);width:42px;height:42px;color:var(--gold-soft);border-radius:12px;place-items:center;display:grid}.series-suggestion-copy>span{color:var(--terracotta);letter-spacing:.09em;text-transform:uppercase;font-size:.64rem;font-weight:760}.series-suggestion-copy h3{margin:.3rem 0 .35rem;font-size:1.13rem;line-height:1.25}.series-suggestion-copy p{color:var(--muted);margin:0;font-size:.76rem;line-height:1.45}.series-suggestion-actions{flex-wrap:wrap;gap:.5rem;margin-top:.8rem;display:flex}.primary-button.compact,.secondary-button.compact{min-height:36px;padding:.48rem .72rem;font-size:.7rem}.series-dialog{width:min(100%,720px);position:relative}.series-close{z-index:5;position:absolute;top:1rem;right:1rem}.series-hero{background:radial-gradient(circle at 12% 20%, #f2d59b57, transparent 34%), linear-gradient(135deg, var(--forest), #2c4a3d);color:#fff9ec;grid-template-columns:190px 1fr;align-items:center;gap:2.2rem;min-height:300px;padding:2.3rem;display:grid;overflow:hidden}.series-cover-stack{aspect-ratio:.72;width:170px;position:relative}.series-cover-stack>span{transform:translateX(calc(var(--stack-index) * 13px)) rotate(calc((var(--stack-index) - 1) * 3deg));transform-origin:bottom;background:#d8cbb8;border-radius:5px 10px 10px 5px;position:absolute;inset:0 18px 0 0;overflow:hidden;box-shadow:0 18px 34px #080e0b52}.series-cover-stack>span:first-child{z-index:3}.series-cover-stack>span:nth-child(2){z-index:2;filter:brightness(.88)}.series-cover-stack>span:nth-child(3){z-index:1;filter:brightness(.78)}.series-cover-stack img,.series-cover-fallback{object-fit:cover;width:100%;height:100%}.series-cover-fallback{color:var(--gold-soft);background:linear-gradient(145deg,#355849,#203c31);place-items:center;font-family:Georgia,serif;font-size:1.25rem;display:grid}.series-hero-copy .eyebrow{color:var(--gold-soft);align-items:center;gap:.4rem;display:inline-flex}.series-hero-copy h2{color:#fff9ec;margin:.65rem 0 .45rem;font-size:clamp(2.2rem,6vw,4.2rem);line-height:.95}.series-hero-copy>p{color:#fff9eca3;margin:0}.series-progress-copy{gap:.45rem;margin-top:1.4rem;display:grid}.series-progress-copy strong{font-size:.75rem}.series-progress-copy>span{background:#ffffff24;border-radius:999px;width:min(100%,260px);height:6px;overflow:hidden}.series-progress-copy i{border-radius:inherit;background:linear-gradient(90deg, var(--gold), var(--gold-soft));height:100%;display:block}.series-next{width:calc(100% - 3rem);color:var(--forest);text-align:left;background:#fffaf1;border:1px solid #c1944d47;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;margin:1.1rem 1.5rem 0;padding:.9rem 1rem;display:grid}.series-next>svg:first-child{color:var(--terracotta)}.series-next span{gap:.15rem;display:grid}.series-next small{color:var(--terracotta);letter-spacing:.08em;text-transform:uppercase;font-size:.62rem;font-weight:760}.series-next strong{font-family:Georgia,serif;font-size:1rem}.series-journey{padding:1rem 1.5rem 1.7rem;display:grid}.series-volume{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:34px 48px minmax(0,1fr) auto;align-items:center;gap:.85rem;padding:.7rem 0;display:grid;position:relative}.series-volume:not(:last-child):after{z-index:0;background:var(--line);content:"";width:1px;position:absolute;top:43px;bottom:-18px;left:16px}.series-volume-step{z-index:1;border:1px solid var(--line);background:var(--cream);width:34px;height:34px;color:var(--muted);border-radius:50%;place-items:center;font-size:.75rem;font-weight:760;display:grid}.series-volume.status-read .series-volume-step{border-color:var(--forest);background:var(--forest);color:#fff}.series-volume.status-reading .series-volume-step{border-color:var(--terracotta);color:var(--terracotta);box-shadow:0 0 0 4px #a554401a}.series-volume-cover{border-radius:4px 7px 7px 4px;width:48px;height:68px;overflow:hidden;box-shadow:0 6px 14px #261c1326}.series-volume-copy{gap:.18rem;min-width:0;display:grid}.series-volume-copy small{color:var(--terracotta);letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:760}.series-volume-copy strong{text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,serif;font-size:1.05rem;overflow:hidden}.series-volume-copy em{color:var(--muted);font-size:.68rem;font-style:normal}.series-volume>svg{color:#9c8f7c}@media (max-width:1100px){.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-header{grid-template-columns:1fr auto}.desktop-nav{display:none}}@media (max-width:820px){.auth-page{grid-template-columns:1fr}.auth-story{min-height:0;padding:1.4rem 1.4rem 2rem}.auth-quote{padding:2.2rem 0 0}.auth-quote h1{font-size:clamp(2.5rem,10.5vw,4.4rem)}.auth-quote p{font-size:1rem;line-height:1.6}.auth-shelf{display:none}.auth-panel{min-height:0;padding:2rem 1.3rem calc(2.5rem + env(safe-area-inset-bottom));place-items:start center}.auth-form>p{margin-bottom:1.4rem}.app-shell{padding-top:calc(66px + env(safe-area-inset-top))}.app-header{min-height:calc(66px + env(safe-area-inset-top));padding:calc(.65rem + env(safe-area-inset-top)) 1rem .65rem}.wordmark small,.account-button,.header-actions .primary-button{display:none}.page-section{min-height:calc(100vh - 138px);padding:2rem 1rem 7.5rem}.mobile-nav{z-index:50;right:.7rem;bottom:max(.7rem, env(safe-area-inset-bottom));color:#ffffff9e;-webkit-backdrop-filter:blur(17px);backdrop-filter:blur(17px);background:#1f3029f0;border:1px solid #ffffff2e;border-radius:20px;grid-template-columns:1fr 1fr 54px 1fr 1fr;align-items:center;min-height:66px;padding:.38rem .5rem;display:grid;position:fixed;left:.7rem;box-shadow:0 18px 45px #161e1a42}.mobile-nav button{color:inherit;background:0 0;border:0;justify-items:center;gap:.18rem;padding:.35rem .1rem;font-size:.58rem;display:grid}.mobile-nav button.active{color:var(--gold-soft)}.welcome-row{flex-direction:column;align-items:start}.welcome-row h1{font-size:clamp(2.6rem,12vw,4.2rem)}.summary-card{width:100%;min-width:0}.library-tools{flex-direction:column;align-items:stretch;margin-top:2rem}.search-box{width:100%}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem .8rem}.app-shell.shelf-active{height:100dvh;min-height:0;overflow:hidden}.shelf-view{height:calc(100dvh - 66px - env(safe-area-inset-top));min-height:0;padding:.75rem 1rem calc(5.5rem + env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.shelf-toolbar{flex:none;margin-bottom:.75rem}.shelf-toolbar .segmented-control{width:100%}.shelf-toolbar .segmented-control button{flex:1}.shelf-frame{border-radius:18px;flex:auto;height:auto;min-height:0}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid article:last-child{grid-column:1/-1}.genre-panel{grid-template-columns:1fr;gap:1.6rem}}@media (max-width:560px){.wordmark strong{font-size:.93rem}.brand-mark.small{width:35px;height:35px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-remove-button{min-height:32px;padding:.42rem;top:.45rem;right:.45rem}.book-remove-button span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.book-card-copy h2{font-size:1.03rem}.summary-card{gap:.75rem;padding:1rem}.summary-card strong{font-size:1.25rem}.filter-pills{margin-right:-1rem;padding-right:1rem}.dialog-backdrop{align-items:end;padding:0}.dialog-panel{border-radius:22px 22px 0 0;width:100%;max-height:94vh}.dialog-header{padding:1.2rem 1rem .9rem}.dialog-header h2{font-size:1.9rem}.add-mode{border-radius:18px;width:calc(100% - 2rem);margin:0 1rem 1rem}.add-mode button{white-space:nowrap;border-radius:14px;flex-direction:column;flex:1;gap:.2rem;min-height:54px;padding:.45rem .25rem;font-size:.74rem;line-height:1.15}.scan-step,.book-search-step,.book-form{padding:0 1rem 1.2rem}.book-search-result{grid-template-columns:42px minmax(0,1fr)}.book-search-result img,.search-cover-fallback{width:42px;height:60px}.select-book-label{display:none}.scanner-shell,.scanner-video{height:280px;min-height:280px}.field-grid,.detail-form{grid-template-columns:1fr}.field-wide{grid-column:auto}.detail-hero{grid-template-columns:115px 1fr;gap:1rem;padding:3.8rem 1rem 1.5rem}.detail-copy h2{font-size:2rem}.detail-form{padding:1.2rem 1rem .4rem}.detail-actions{padding:.8rem 1rem 1.4rem}.detail-actions button{flex:1}.series-suggestion{grid-template-columns:36px 1fr;padding:.85rem}.series-suggestion-icon{width:36px;height:36px}.series-suggestion-actions{flex-direction:column}.series-suggestion-actions button{justify-content:center;width:100%}.series-hero{grid-template-columns:112px 1fr;gap:1rem;min-height:235px;padding:3.4rem 1rem 1.4rem}.series-cover-stack{width:108px}.series-cover-stack>span{transform:translateX(calc(var(--stack-index) * 8px)) rotate(calc((var(--stack-index) - 1) * 3deg));right:12px}.series-hero-copy h2{font-size:2rem}.series-hero-copy>p{font-size:.76rem}.series-progress-copy{margin-top:.85rem}.series-next{width:calc(100% - 2rem);margin:1rem 1rem 0}.series-journey{padding:.8rem 1rem 1.2rem}.series-volume{grid-template-columns:30px 42px minmax(0,1fr) auto;gap:.65rem}.series-volume-step{width:30px;height:30px}.series-volume:not(:last-child):after{top:40px;left:14px}.series-volume-cover{width:42px;height:60px}.insights-heading h1{font-size:3.4rem}.stat-grid{gap:.7rem}.stat-grid article{min-height:150px;padding:1rem}.stat-grid strong{font-size:3rem}.genre-bars>div{grid-template-columns:90px 1fr 22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--ease-out:cubic-bezier(.23, 1, .32, 1)}.browse-heading{justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:1.5rem;display:flex}.browse-heading h1{margin:0 0 .6rem;font-size:clamp(2.3rem,4.5vw,4rem);line-height:1.04}.browse-heading p{color:var(--muted);margin-bottom:0;font-size:.9rem}.browse-heading .segmented-control{flex:none}.browse-total{color:var(--muted);white-space:nowrap;font-size:.8rem}.demo-notice{color:var(--forest-2);font-size:.75rem}.browse-view button,.desktop-nav button,.mobile-nav button,.wordmark{min-height:44px}.browse-view button:focus-visible,.desktop-nav button:focus-visible,.mobile-nav button:focus-visible,.wordmark:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.sp-shelves{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}.sp-row-shelf{background:#20231d;border-radius:22px;min-width:0;overflow:hidden;box-shadow:0 12px 30px #27201714}.sp-top{justify-content:space-between;align-items:baseline;gap:1rem;padding:22px 24px 0;display:flex}.sp-top h2{color:var(--cream);margin:0;font-size:1.6rem}.sp-top>span{color:var(--gold-soft);white-space:nowrap;font-size:.75rem}.sp-scroll{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a06b39 #20231d;height:268px;overflow:auto hidden;-webkit-mask-image:linear-gradient(90deg,#0000,#000 20px calc(100% - 20px),#0000);mask-image:linear-gradient(90deg,#0000,#000 20px calc(100% - 20px),#0000)}.sp-track{align-items:flex-end;width:max-content;height:100%;padding-bottom:34px;display:flex;position:relative}.sp-track:after{content:"";background:linear-gradient(#a06b39,#7a5230 55%,#68462c);height:20px;position:absolute;bottom:14px;left:0;right:0;box-shadow:0 10px 16px #00000059}.sp-pad{flex:none;height:1px}.sp-slot{appearance:none;scroll-snap-align:center;background:0 0;border:0;flex:0 0 44px;margin-right:6px;padding:0;display:block;position:relative}.sp-slot:last-of-type{margin-right:0}.sp-book{transform-style:preserve-3d;transform-origin:22px 100%;position:absolute;inset:0}.sp-spine{backface-visibility:hidden;border-radius:3px 3px 1px 1px;flex-direction:column;justify-content:space-between;align-items:center;padding:16px 5px 12px;display:flex;position:absolute;inset:0;box-shadow:inset 6px 0 #ffffff21,inset -3px 0 #0000002e}.sp-spine:before,.sp-spine:after{content:"";background:var(--gold-soft);height:1px;position:absolute;top:9px;left:7px;right:7px}.sp-spine:after{top:auto;bottom:30px}.sp-title{writing-mode:vertical-rl;color:var(--cream);white-space:nowrap;text-overflow:ellipsis;text-align:left;flex-shrink:0;height:calc(100% - 26px);font-family:Georgia,serif;font-size:12px;line-height:1.15;overflow:hidden}.sp-initial{color:var(--gold-soft);font-size:12px;font-weight:700}.sp-face{transform-origin:0 100%;backface-visibility:hidden;border-radius:1px 4px 4px 1px;width:120px;height:100%;position:absolute;top:0;left:44px;overflow:hidden;transform:rotateY(90deg)}.sp-slot.is-center .sp-spine,.sp-slot.is-center .sp-face{outline:1.5px solid var(--gold-soft);outline-offset:-1.5px}.sp-info{background:var(--cream);border-radius:22px 22px 0 0;align-items:center;gap:14px;min-height:112px;padding:16px 20px 20px;display:flex}.sp-thumb{border-radius:2px 4px 4px 2px;flex:none;width:46px;height:69px;overflow:hidden;box-shadow:0 6px 14px #27201724}.sp-info-copy{flex:1;min-width:0}.sp-info h3{overflow-wrap:anywhere;margin:0 0 3px;font-size:1.2rem;line-height:1.2}.sp-info p{color:var(--muted);margin:0 0 8px;font-size:.78rem}.sp-status{color:var(--forest-2);background:var(--paper-2);border-radius:20px;padding:4px 8px;font-size:.75rem}.sp-rating{vertical-align:middle;color:var(--terracotta);gap:1px;margin-left:8px;display:inline-flex}.sp-open{border:1px solid var(--line);width:44px;height:44px;color:var(--forest);background:0 0;border-radius:50%;flex:none;place-items:center;display:grid}.browse-cover{width:100%;height:100%;color:var(--cream);text-align:center;flex-direction:column;justify-content:center;gap:10px;padding:12% 10%;display:flex;position:relative;overflow:hidden}.browse-cover:before{content:"";border:1px solid var(--gold-soft);opacity:.7;position:absolute;inset:7%}.browse-cover-title{overflow-wrap:anywhere;font:12px/1.25 Georgia,serif}.browse-cover-author{color:var(--cream);font-size:12px;line-height:1.3;position:relative}.browse-cover img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.sp-thumb .browse-cover-title{font-size:7px}.sp-thumb .browse-cover-author{display:none}.ss-stacks{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.ss-stack{background:var(--cream);border:1px solid var(--line);border-radius:22px;min-width:0;padding:18px 16px 8px;overflow:hidden}.ss-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.ss-head .eyebrow{color:var(--terracotta);font-size:.75rem}.ss-head h2{margin:0;font-size:1.4rem}.ss-head h2 button{font:inherit;text-align:left;background:0 0;border:0;padding:2px 0}.ss-count{color:var(--forest-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem;font-weight:650}.ss-bar{flex-wrap:wrap;gap:3px;margin:8px 0 2px;display:flex}.ss-segment{background:var(--paper-2);border-radius:3px;flex:5px;height:5px}.ss-segment.status-read{background:var(--forest-2)}.ss-segment.status-reading{background:var(--gold)}.ss-segment.status-dnf{background:var(--terracotta)}.ss-segment.ghost{border:1px dashed var(--muted);background:0 0}.ss-pile{touch-action:pan-y;-webkit-user-select:none;user-select:none;height:222px;position:relative}.ss-toggle{width:100%;color:var(--muted);background:0 0;border:0;font-size:.75rem;position:absolute;inset:0}.ss-toggle>span{position:absolute;bottom:12px;left:0;right:0}.ss-card{transform-origin:50% 100%;border:0;border-radius:2px 5px 5px 2px;width:72px;height:108px;margin-left:-36px;padding:0;position:absolute;bottom:60px;left:50%;box-shadow:0 8px 16px #27201733}.ss-card .browse-cover{border-radius:inherit;gap:6px;padding:8%}.ss-card .browse-cover-title{-webkit-line-clamp:3;font-size:10px}.ss-card .browse-cover-author{-webkit-line-clamp:2}.ss-card .browse-cover-title,.ss-card .browse-cover-author{overflow-wrap:anywhere;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.ss-card:after{content:"";background:repeating-linear-gradient(#fffaf1 0 1px,#e9dfc9 1px 2px);border-radius:0 2px 2px 0;width:3px;position:absolute;top:3px;bottom:-3px;right:-3px}.ss-card.ghost{pointer-events:none;box-shadow:none;border:2px dashed var(--muted);background:var(--cream);text-align:center;color:var(--muted);place-items:center;font:italic 18px Georgia,serif;display:grid}.ss-card.ghost small{font:12px/1.4 var(--font-geist-sans), Arial, sans-serif;margin-top:8px;padding:0 8px;display:block}.ss-card.ghost:after{display:none}.ss-number{color:var(--muted);font-size:.75rem;position:absolute;bottom:-24px;left:50%;transform:translate(-50%)}.ss-pages{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:.75rem;display:flex}.ss-pages button{min-width:44px;color:var(--forest);background:0 0;border:0;place-items:center;display:grid}.ss-empty{color:var(--muted);padding:2rem 0}.sp-open,.ss-pages button{transition:transform .12s var(--ease-out)}.sp-open:active,.ss-pages button:active{transform:scale(.97)}@media (min-width:900px){.sp-shelves{grid-template-columns:repeat(2,minmax(0,1fr))}.ss-stacks{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1200px){.app-header{grid-template-columns:1fr auto}.desktop-nav{display:none}.mobile-nav{z-index:50;right:.7rem;bottom:max(.7rem, env(safe-area-inset-bottom));color:#ffffffb3;background:#1f3029f5;border:1px solid #ffffff2e;border-radius:20px;grid-template-columns:repeat(5,1fr);align-items:center;min-height:66px;padding:.38rem .5rem;display:grid;position:fixed;left:.7rem;box-shadow:0 18px 45px #161e1a42}.mobile-nav button{color:inherit;background:0 0;border:0;justify-items:center;gap:.18rem;padding:.35rem .1rem;font-size:.72rem;display:grid}.mobile-nav button.active{color:var(--gold-soft)}.page-section{padding-bottom:7.5rem}.browse-view{padding-bottom:calc(7.5rem + 66px + env(safe-area-inset-bottom))}}@media (max-width:820px){.header-actions .primary-button,.header-actions .account-button{justify-content:center;width:44px;height:44px;min-height:44px;padding:0;display:inline-flex}.header-actions .primary-button span,.header-actions .account-button span{display:none}.browse-heading{flex-direction:column;align-items:start;gap:18px}.sp-top{padding:20px 20px 0}.sp-info{gap:10px;padding:16px 14px 18px}.sp-info h3{font-size:1.1rem}}@media (prefers-reduced-motion:reduce){.sp-open,.ss-pages button{transition:opacity .18s}.sp-open:active,.ss-pages button:active{opacity:.75;transform:none}.sp-slot.is-center .sp-face{opacity:1;left:-38px;transform:none}.sp-face{opacity:0;transition:opacity .18s}.sp-open,.ss-pages button,.sp-face{transition-duration:.18s!important}}@media (prefers-reduced-transparency:reduce){.app-header{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-nav{background:var(--forest);-webkit-backdrop-filter:none;backdrop-filter:none}}.ss-segment.status-reading{box-shadow:none}.sp-slot:active .sp-spine,.ss-card:active .browse-cover,.ss-toggle:active>span{opacity:.8}.sp-slot:focus-visible{outline:none!important}.sp-slot:focus-visible .sp-spine{outline:3px solid var(--gold-soft);outline-offset:4px}.ss-number{opacity:0}.ss-pile[data-fanned=true] .ss-number{opacity:1}.summary-card strong,.stat-grid strong,.genre-bars strong,.browse-total,.sp-top>span,.ss-pages span,.series-card-progress strong,.series-progress-copy strong,.shelf-badge{font-variant-numeric:tabular-nums}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
