@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap";html{background:#f7f6f1;min-width:320px;min-height:100%}#root{min-height:100vh}:root{color:#30352e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--paper:#f7f6f1;--card:#fffefa;--ink:#30352e;--muted:#92948a;--green:#4d634c;--line:#e9e7dd;background:#f7f6f1;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.app{background:var(--paper);min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:2;background:#f0efe7;flex-direction:column;width:235px;padding:30px 20px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 6px;display:flex}.brand-icon{background:var(--green);color:#fff;border-radius:14px 14px 14px 4px;place-items:center;width:43px;height:43px;font:29px Playfair Display,serif;display:grid}.brand strong{font-size:14px;display:block}.brand span{color:#898a7e;margin-top:4px;font-size:9px;display:block}.side-label,.eyebrow{color:#8d907f;letter-spacing:2px;font-size:9px;font-weight:700}.side-label{margin:50px 10px 15px}.nav-item{color:#71766b;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;margin:3px 0;padding:12px 11px;font-size:12px;display:flex}.nav-item.active{color:#3d583e;background:#e2e5d9;font-weight:700}.nav-item small{margin-left:auto}.sidebar-bottom{margin-top:auto}.goal-card{background:#f7f5ec;border:1px solid #e1dfd2;border-radius:10px;padding:17px}.goal-card>span{color:#a78b50;font-size:20px}.goal-card p{margin:10px 0 6px;font:15px/1.5 Playfair Display,serif}.goal-card small,.profile small{color:var(--muted);font-size:10px;display:block}.profile{border-top:1px solid #deddd3;margin-top:18px;padding-top:18px;font-size:11px}.main-content{max-width:1700px;margin-left:235px;padding:0 42px}.topbar{border-bottom:1px solid var(--line);letter-spacing:1.5px;color:#8d907f;justify-content:space-between;align-items:center;height:75px;font-size:9px;display:flex}.primary-button{color:#fff;background:var(--green);border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:11px;font-weight:600;display:inline-flex}.primary-button:hover{background:#394d39}.welcome{justify-content:space-between;align-items:center;min-height:245px;display:flex;position:relative;overflow:hidden}.welcome .eyebrow{margin-bottom:14px}.welcome h1{letter-spacing:-1.7px;margin:0;font:500 clamp(36px,4vw,51px)/1.12 Playfair Display,serif}.welcome h1 em{color:#6a7c5c}.welcome>div:first-child>p{color:#8a8d81;margin-top:15px;font-size:12px}.welcome-art{align-self:stretch;width:35%;min-width:220px;position:relative;overflow:hidden}.sun{background:#e8dfc9;border-radius:50%;width:150px;height:150px;position:absolute;top:25px;right:40px}.decor-book{border-radius:3px 6px 6px 3px;width:62px;height:115px;position:absolute;bottom:30px;box-shadow:3px 5px 12px #5a503019}.decor-book.one{background:#73816a;right:115px;transform:rotate(-13deg)}.decor-book.two{background:#bb8a70;height:140px;right:62px;transform:rotate(6deg)}.decor-book.three{background:#d0b67e;height:100px;right:12px;transform:rotate(15deg)}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.stat-card{border:1px solid var(--line);background:var(--card);border-radius:8px;min-height:112px;padding:17px}.stat-card small{color:#939587;letter-spacing:1.2px;font-size:8px;font-weight:700}.stat-card strong{margin-top:8px;font:30px Playfair Display,serif;display:block}.quote-card{background:#edeee5}.quote-card strong{color:#7b8b6d}.quote-card p{color:#59664f;font:13px Playfair Display,serif}.library-section{padding-top:40px}.section-heading{justify-content:space-between;align-items:end;display:flex}.section-heading .eyebrow{margin-bottom:8px}.section-heading h2{margin:0;font:500 27px Playfair Display,serif}.section-heading h2 span{color:#c8aa6e}.style-picker{color:#85897d;align-items:center;gap:10px;font-size:10px;display:flex}.style-picker select{border:1px solid var(--line);background:var(--card);color:#5e6657;border-radius:5px;padding:8px;font-size:10px}.library-toolbar{justify-content:space-between;align-items:center;gap:15px;padding:22px 0 19px;display:flex}.shelf-tabs{flex-wrap:wrap;gap:4px;display:flex}.shelf-tabs button{color:#86897e;background:0 0;border:0;border-radius:5px;padding:9px 11px;font-size:10px}.shelf-tabs button.selected{color:#496147;background:#e5e8dd;font-weight:700}.search-box{border:1px solid var(--line);background:var(--card);border-radius:5px;width:260px;min-width:210px;padding:10px;font-size:10px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 17px;display:grid}.book-card{min-width:0}.book-cover{color:#fff9e9;border-radius:3px 7px 7px 3px;flex-direction:column;justify-content:space-between;height:210px;padding:15px 13px 13px 19px;display:flex;position:relative;overflow:hidden;box-shadow:2px 5px 12px #443d2917}.book-cover:before{content:"";background:#00000019;border-right:1px solid #ffffff20;width:8px;position:absolute;top:0;bottom:0;left:0}.book-cover>small{letter-spacing:1.5px;font-size:7px}.cover-symbol{opacity:.6;font-size:29px;position:absolute;top:40px;right:18px}.book-cover strong{overflow-wrap:anywhere;margin-top:auto;margin-bottom:8px;font:22px/1.15 Playfair Display,serif;position:relative}.book-cover>span:last-child{font-size:8px}.cover-sand{background:#b9a47b}.cover-wine{background:#713f46}.cover-sage{background:#71816b}.cover-blue{background:#4c6675}.cover-gold{background:#b48c52}.cover-plum{background:#716077}.book-info{padding:12px 2px 0}.book-info>strong{font:14px Playfair Display,serif}.book-info>p{color:#96988d;margin:5px 0 10px;font-size:10px}.book-footer{justify-content:space-between;align-items:center;gap:5px;display:flex}.book-footer button{color:#777;background:0 0;border:0}.status{border-radius:4px;padding:5px 7px;font-size:8px}.status.read{color:#52704d;background:#e6eddf}.status.reading{color:#9a7943;background:#f4ecd9}.status.want{color:#73748d;background:#ecebf4}.empty-state{text-align:center;color:#85897d;padding:50px}.page-footer{border-top:1px solid var(--line);color:#a1a194;letter-spacing:1px;justify-content:space-between;gap:12px;margin-top:45px;padding:19px 0 24px;font-size:8px;display:flex}.modal-backdrop{z-index:10;background:#20251fcc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.book-modal{background:var(--card);border-radius:12px;width:min(100%,420px);padding:30px;position:relative;box-shadow:0 18px 70px #0003}.modal-close{background:0 0;border:0;font-size:25px;position:absolute;top:13px;right:16px}.book-modal h2{font:30px Playfair Display,serif}.book-modal>p{color:#898d80;font-size:12px}.book-modal>label{gap:8px;margin-top:16px;font-size:11px;display:grid}.book-modal input{border:1px solid var(--line);border-radius:6px;width:100%;padding:12px}.modal-submit{width:100%;margin-top:24px}.theme-minimal{--paper:#fff;--card:#fff;--ink:#202124;--muted:#777b80;--green:#343a40;--line:#e5e7eb;color:#202124}.theme-minimal .sidebar{background:#f8f9fa;border-right-color:#e5e7eb}.theme-minimal .brand-icon{background:#343a40;border-radius:10px}.theme-minimal .nav-item{color:#62676d;border-radius:6px}.theme-minimal .nav-item.active,.theme-minimal .shelf-tabs button.selected{color:#202124;background:#e9ecef}.theme-minimal .goal-card{background:#fff;border-color:#e5e7eb;border-radius:6px}.theme-minimal .quote-card{background:#f1f3f5}.theme-minimal .quote-card strong,.theme-minimal .quote-card p{color:#343a40}.theme-minimal .book-cover{border-radius:2px;box-shadow:0 2px 5px #00000012}.theme-minimal .book-card:hover{box-shadow:none;background:#f8f9fa;border-color:#e5e7eb}.theme-minimal .primary-button{background:#343a40;border-radius:6px}.theme-minimal .primary-button:hover{background:#202124}.theme-minimal .search-box,.theme-minimal .style-picker select{box-shadow:none;border-radius:6px}.theme-dark{--paper:#282821;--card:#333329;--green:#8a7954;--line:#464438;color:#eee7d7}.theme-dark .sidebar{background:#22221d}.theme-dark .nav-item{color:#ded6c5}.theme-dark .nav-item.active,.theme-dark .shelf-tabs button.selected{color:#e5d5aa;background:#424335}.theme-dark .goal-card{background:#303027;border-color:#484638}.theme-dark .stat-card,.theme-dark .search-box,.theme-dark .style-picker select{background:var(--card);border-color:var(--line);color:#eee7d7}.theme-dark .section-heading h2,.theme-dark .welcome h1,.theme-dark .book-info>strong{color:#eee7d7}@media (width<=1100px){.main-content{padding:0 25px}.sidebar{width:205px}.main-content{margin-left:205px}.stats,.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.sidebar{border-right:0;border-bottom:1px solid var(--line);width:auto;padding:15px;position:static}.side-label,.sidebar-bottom{display:none}.brand-icon{width:36px;height:36px}.sidebar>.nav-item{width:auto;padding:8px;font-size:10px;display:inline-flex}.main-content{margin-left:0;padding:0 15px}.topbar{height:63px}.topbar>span{display:none}.topbar .primary-button{margin-left:auto}.welcome{min-height:220px}.welcome h1{font-size:36px}.welcome-art{opacity:.4;width:45%;min-width:140px;position:absolute;bottom:0;right:-60px}.stats{gap:8px}.stat-card{padding:12px}.stat-card small{font-size:7px}.library-section{padding-top:30px}.library-toolbar{flex-direction:column;align-items:stretch}.search-box{width:100%}.book-grid{gap:22px 12px}.book-cover{height:175px;padding:12px}.book-cover strong{font-size:17px}.section-heading h2{font-size:23px}.page-footer{flex-direction:column;line-height:1.5}}.book-actions{align-items:center;gap:4px;display:flex}.book-actions button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:6px;padding:5px 7px;font-size:16px}.book-actions button:hover{background:#78645024}.backup-panel{border:1px solid #78645038;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:24px 0;padding:20px;display:flex}.backup-panel strong{margin-bottom:6px;display:block}.backup-panel p{opacity:.75;margin:0;font-size:13px}.backup-actions{flex-wrap:wrap;gap:8px;display:flex}.backup-button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid #78645059;border-radius:8px;padding:10px 14px}.backup-button:hover{background:#7864501f}.backup-message{flex-basis:100%;line-height:1.5}html{scroll-behavior:smooth}button,input,select{-webkit-tap-highlight-color:transparent}button{transition:background-color .2s,color .2s,transform .2s,border-color .2s}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}.book-card{min-width:0;transition:transform .2s}.book-card:hover{transform:translateY(-3px)}.book-cover{min-width:0}.book-info>strong,.book-info>p{overflow-wrap:anywhere}.backup-panel,.backup-actions{min-width:0}.backup-button{min-height:42px}.book-actions button{min-width:34px;min-height:34px}.search-box{min-height:42px}.style-picker select{min-height:38px}@media (width>=1400px){.main-content{margin-right:auto;padding-left:55px;padding-right:55px}.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.book-cover{height:235px}}@media (width<=700px){.sidebar{padding:14px 12px}.brand{padding:0 3px 10px}.sidebar>.nav-item{border-radius:8px;justify-content:center;margin:3px 1px;padding:10px 9px}.main-content{padding-left:14px;padding-right:14px}.welcome{min-height:205px}.welcome h1{font-size:clamp(31px,8vw,38px)}.welcome>div:first-child>p{max-width:240px;line-height:1.6}.welcome-art{pointer-events:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-width:0;min-height:105px}.section-heading{flex-wrap:wrap;align-items:flex-start;gap:14px}.style-picker{margin-left:auto}.library-toolbar{gap:12px;padding-top:18px}.shelf-tabs{gap:5px}.shelf-tabs button{min-height:38px;padding:9px 10px}.backup-panel{align-items:stretch;gap:14px;padding:15px}.backup-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.backup-button{padding:10px 8px;font-size:12px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.book-cover{height:clamp(150px,48vw,195px);padding:12px 10px 12px 14px}.book-cover strong{font-size:clamp(15px,4vw,19px)}.book-info>strong{font-size:13px}.book-footer{flex-direction:column;align-items:flex-start}.book-actions{justify-content:flex-end;width:100%}.empty-state{padding:35px 12px;line-height:1.6}}@media (width<=380px){.sidebar>.nav-item{gap:5px;padding:9px 6px;font-size:9px}.brand strong{font-size:13px}.book-grid{gap:22px 10px}.book-cover{height:155px}.book-cover>small{letter-spacing:1px;font-size:6px}.status{font-size:8px}.backup-actions{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.book-cover{isolation:isolate}.book-cover img{z-index:1}.book-cover>small,.book-cover>.cover-symbol,.book-cover>strong,.book-cover>span:last-child{z-index:0}.app{transition:background-color .25s,color .25s}.main-content{width:calc(100% - 235px);margin-right:auto}.nav-item{transition:background-color .2s,color .2s,transform .2s}.nav-item:hover{background:#64785517;transform:translate(2px)}.nav-item.active{box-shadow:inset 3px 0 0 var(--green)}.stat-card{transition:transform .2s,box-shadow .2s,border-color .2s}.stat-card:hover{border-color:#6478554d;transform:translateY(-3px);box-shadow:0 8px 22px #322d1e0f}.book-card{border:1px solid #0000;border-radius:12px;padding:9px;transition:transform .22s,background-color .22s,border-color .22s,box-shadow .22s}.book-card:hover{background:var(--card);border-color:var(--line);transform:translateY(-4px);box-shadow:0 12px 28px #322d1e12}.book-cover{border-radius:5px 9px 9px 5px;transition:box-shadow .22s;box-shadow:3px 6px 14px #1e190f1f}.book-card:hover .book-cover{box-shadow:5px 10px 20px #1e190f2b}.book-info{min-width:0}.book-info>strong{line-height:1.45;display:block}.primary-button{border-radius:9px;min-height:42px;box-shadow:0 3px 8px #2d41281f}.primary-button:hover{transform:translateY(-1px);box-shadow:0 5px 12px #2d41282e}.backup-button,.shelf-tabs button,.book-actions button{transition:background-color .2s,color .2s,border-color .2s}.search-box{border-radius:9px;transition:border-color .2s,box-shadow .2s}.search-box:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 3px #5a734b1a}.style-picker select{cursor:pointer;border-radius:8px}.book-modal{border:1px solid var(--line);max-height:calc(100vh - 40px);overflow-y:auto}.modal-close{border-radius:8px;width:36px;height:36px}.modal-close:hover{background:#7864501f}.book-modal input:focus{border-color:var(--green);outline:2px solid #5a734b1f}.theme-dark .book-card:hover{background:#39392f;border-color:#4b4a3d;box-shadow:0 10px 25px #00000029}.theme-dark .stat-card:hover{box-shadow:0 8px 22px #00000029}.theme-dark .primary-button{color:#211f19}.theme-dark .welcome h1 em{color:#b6c19b}.theme-dark .quote-card{background:#36382d}.theme-dark .quote-card strong,.theme-dark .quote-card p{color:#d4c49c}@media (width>=1400px){.book-grid{gap:28px 20px}.book-card{padding:11px}}@media (width<=700px){.main-content{width:100%}.book-card{border-radius:9px;padding:6px}.book-card:hover{transform:translateY(-2px)}.book-info{padding-top:10px}.primary-button{min-height:42px}.book-modal{padding:24px 20px}}@media (prefers-reduced-motion:reduce){.book-card,.stat-card,.nav-item,.primary-button,.book-cover,.app{transition:none!important}}.theme-minimal .book-grid{flex-direction:column;gap:10px;display:flex}.theme-minimal .book-card{border:1px solid var(--line);background:var(--card);box-shadow:none;border-radius:10px;align-items:center;gap:18px;padding:12px;display:flex;transform:none}.theme-minimal .book-card:hover{box-shadow:none;background:#f7f8f9;border-color:#d5d9dd;transform:translate(3px)}.theme-minimal .book-cover{border-radius:3px;flex:0 0 76px;width:76px;height:104px;padding:9px 8px 8px 13px;box-shadow:2px 3px 6px #00000012}.theme-minimal .book-cover:before{width:5px}.theme-minimal .book-cover>small{letter-spacing:.8px;font-size:6px}.theme-minimal .book-cover .cover-symbol{font-size:19px;top:24px;right:10px}.theme-minimal .book-cover strong{margin-bottom:5px;font-size:12px;line-height:1.2}.theme-minimal .book-cover>span:last-child{font-size:7px}.theme-minimal .book-info{flex:1;min-width:0;padding:0}.theme-minimal .book-info>strong{font-family:DM Sans,sans-serif;font-size:14px;font-weight:700;line-height:1.5}.theme-minimal .book-info>p{margin:5px 0 12px;font-size:12px}.theme-minimal .book-footer{flex-wrap:wrap;justify-content:flex-start;gap:10px}.theme-minimal .book-actions{margin-left:auto}.theme-minimal .status{border-radius:20px;padding:5px 9px;font-size:9px}.theme-minimal .section-heading h2{letter-spacing:-.7px;font-family:DM Sans,sans-serif;font-size:25px;font-weight:700}.theme-minimal .stat-card{box-shadow:none;border-radius:10px}.theme-minimal .quote-card{border:1px solid var(--line)}.theme-minimal .shelf-tabs button{border-radius:7px}.theme-minimal .search-box{border-radius:9px}@media (width<=700px){.theme-minimal .book-card{gap:12px;padding:9px}.theme-minimal .book-cover{flex-basis:65px;width:65px;height:91px}.theme-minimal .book-info>strong{font-size:12px}.theme-minimal .book-info>p{margin-bottom:8px;font-size:11px}.theme-minimal .book-footer{gap:7px}.theme-minimal .book-actions{margin-left:auto}}.theme-dark .book-card{background:#302f27;border:1px solid #464336;border-radius:8px;padding:9px}.theme-dark .book-card:hover{background:#39372d;border-color:#84734e}.theme-dark .section-heading h2{letter-spacing:-.5px}.theme-dark .stat-card{box-shadow:inset 0 1px #ffffff05}.theme-dark .quote-card{border:1px solid #494638}.book-detail-link{color:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;padding:0;font:14px Playfair Display,serif;display:block}.book-detail-link:hover{color:var(--green);text-underline-offset:3px;text-decoration:underline}.book-favorite-label{color:#a34d59;margin:0 0 8px;font-size:11px;display:inline-block}.details-modal{flex-direction:column;gap:12px;display:flex}.details-modal h2{overflow-wrap:anywhere;margin:4px 35px 0 0}.details-modal>p{margin:0 0 12px}.details-label{gap:10px;margin-top:12px;font-size:12px;font-weight:600;display:grid}.details-label textarea{box-sizing:border-box;border:1px solid var(--line);background:var(--card);width:100%;color:var(--ink);resize:vertical;border-radius:9px;padding:13px;font:13px/1.6 DM Sans,sans-serif}.details-label textarea:focus{outline:2px solid var(--green);outline-offset:2px}.rating-stars{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.rating-star{color:#c9c5ba;cursor:pointer;background:0 0;border:0;padding:4px;font-size:29px}.rating-star.selected{color:#d4a43e}.rating-reset{border:1px solid var(--line);color:inherit;cursor:pointer;background:0 0;border-radius:6px;margin-left:8px;padding:6px 8px;font-size:11px}.favorite-toggle{border:1px solid var(--line);background:var(--card);color:inherit;cursor:pointer;border-radius:9px;align-self:flex-start;padding:10px 13px;font-size:12px}.favorite-toggle.is-favorite{color:#a33f51;background:#f9e9eb;border-color:#e7c5ca}.theme-dark .details-label textarea{border-color:var(--line);background:#292920}.theme-dark .favorite-toggle.is-favorite{color:#ffc2cc;background:#493037;border-color:#68414b}@media (width<=480px){.details-modal{padding:23px 18px}.rating-star{font-size:27px}}.rating-filter{color:var(--text-color,#53604e);flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;display:flex}.rating-filter select{color:#30372e;min-height:42px;font:inherit;background:#fffdf8;border:1px solid #ded8cc;border-radius:10px;padding:0 12px}.results-count{color:#788071;margin:12px 0 18px;font-size:13px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.stat-card{background:#fffdf8;border:1px solid #e8e1d5;border-radius:16px;padding:20px;box-shadow:0 4px 14px #3730230a}.stat-icon{margin-bottom:12px;font-size:25px;display:block}.stat-card p{color:#788071;margin:0 0 8px;font-size:13px}.stat-card strong{color:#30372e;font-size:28px}@media (width<=800px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.achievements-section{background:#fffdf8;border:1px solid #e8e1d5;border-radius:20px;margin:0 0 28px;padding:24px}.achievements-heading h2{color:#30372e;margin:0 0 6px;font-size:21px}.achievements-heading p{color:#788071;margin:0 0 20px;font-size:13px}.achievements-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.achievement-card{text-align:center;border:1px solid #e8e1d5;border-radius:14px;min-width:0;padding:16px 12px}.achievement-card.unlocked{background:#f7f2e5;border-color:#d7bd7a}.achievement-card.locked{opacity:.65;background:#f4f3ef}.achievement-icon{margin-bottom:10px;font-size:32px;display:block}.achievement-card h3{color:#30372e;margin:0 0 8px;font-size:14px}.achievement-card p{color:#788071;min-height:34px;margin:0 0 12px;font-size:12px;line-height:1.5}.achievement-status{color:#78612b;font-size:11px;font-weight:700}.milestone-progress{margin-top:24px}.milestone-progress-label{color:#53604e;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px;display:flex}.progress-track{background:#e9e5dc;border-radius:99px;height:10px;overflow:hidden}.progress-fill{border-radius:inherit;background:#b99b55;height:100%;transition:width .3s}@media (width<=900px){.achievements-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.achievements-section{padding:16px}.achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.milestone-progress-label{flex-direction:column}}.achievement-notice{color:#665123;background:#f7f2e5;border:1px solid #d7bd7a;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:14px 16px;font-weight:700;display:flex}.achievement-notice button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:22px}.book-card{background:0 0;border-radius:14px;position:relative;overflow:hidden}.book-cover{isolation:isolate;border-radius:4px 10px 10px 4px;position:relative;overflow:hidden;box-shadow:3px 5px 10px #231e141a,0 1px 2px #231e1414}.book-cover:after{content:"";pointer-events:none;z-index:2;background:#ffffff38;width:1px;position:absolute;inset:0 auto 0 8px}@media (hover:hover) and (pointer:fine){.book-card:hover .book-cover{box-shadow:5px 10px 20px #231e1429,0 2px 4px #231e1414}}.theme-dark .book-card{color:#eee7d7}@media (width<=700px){.book-cover{border-radius:3px 7px 7px 3px}.book-info>strong{line-height:1.45}}@media (prefers-reduced-motion:reduce){.book-card,.book-cover{transition:none!important}}.theme-dark .achievements,.theme-dark .achievements-section,.theme-dark .achievement-list,.theme-dark .achievement-card,.theme-dark .achievement-item,.theme-dark table,.theme-dark thead,.theme-dark tbody,.theme-dark tr,.theme-dark th,.theme-dark td{color:#eee7d7;background-color:#24231f;border-color:#49463e}.theme-dark .achievements p,.theme-dark .achievement-list p,.theme-dark .achievement-card p,.theme-dark .achievement-item p{color:#c5bdad}.theme-dark .achievement-card strong,.theme-dark .achievement-item strong,.theme-dark .achievements strong,.theme-dark .achievement-list strong,.theme-dark .achievement-card h3,.theme-dark .achievement-item h3{color:#fff3d6!important}.theme-dark .achievement-card,.theme-dark .achievement-item,.theme-dark .achievements,.theme-dark .achievement-list{color:#f3ead8!important}.theme-dark .achievement-card p,.theme-dark .achievement-item p,.theme-dark .achievements p,.theme-dark .achievement-list p{color:#d6cdbd!important}@media (width>=1400px){.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}@media (width>=1000px) and (width<=1399px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}@media (width>=600px) and (width<=999px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media (width<=599px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.book-card{border-radius:12px;transition:transform .18s,box-shadow .18s;position:relative;overflow:hidden}.book-cover{border-radius:3px 9px 9px 3px;transition:box-shadow .18s;position:relative;overflow:hidden;box-shadow:inset 3px 0 3px #fff3,3px 5px 9px #231b122e,0 1px 2px #231b121f}.book-cover:before{content:"";pointer-events:none;z-index:2;background:#ffffff3d;width:2px;position:absolute;top:0;bottom:0;left:5px}.book-cover:after{content:"";pointer-events:none;z-index:2;background:#0000001a;width:1px;position:absolute;top:0;bottom:0;left:9px}.book-info>strong,.book-detail-link{overflow-wrap:anywhere;line-height:1.45}.book-info>p{line-height:1.55}@media (hover:hover) and (pointer:fine){.book-card:hover{transform:translateY(-3px)}.book-card:hover .book-cover{box-shadow:inset 3px 0 3px #ffffff3d,5px 9px 15px #231b1238,0 2px 4px #231b121f}}.theme-dark .book-card{border-color:#dabe8729}.theme-dark .book-cover{box-shadow:inset 3px 0 3px #ffffff1f,3px 6px 14px #00000052}@media (width<=599px){.book-card{border-radius:9px}.book-cover{border-radius:3px 7px 7px 3px}.book-info>strong{line-height:1.4}}@media (prefers-reduced-motion:reduce){.book-card,.book-cover{transition:none!important}.book-card:hover{transform:none}}.book-grid{gap:30px 22px}.book-grid:not(.minimal-books) .book-card{z-index:1;margin-bottom:9px;position:relative}.book-grid:not(.minimal-books) .book-card:after{content:"";pointer-events:none;z-index:-1;background:linear-gradient(#c99b68 0%,#a87545 35%,#85572f 78%,#684326 100%);border-radius:2px;height:10px;position:absolute;bottom:-13px;left:-5px;right:-5px;box-shadow:0 4px 5px #28190c2e,inset 0 1px 1px #ffebc359}.theme-dark .book-grid:not(.minimal-books) .book-card:after{background:linear-gradient(#765337 0%,#604128 40%,#432c1c 100%);box-shadow:0 4px 7px #00000059,inset 0 1px 1px #ffe0b11f}.theme-minimal .book-grid .book-card:after{content:none}@media (width<=599px){.book-grid{gap:24px 12px}.book-grid:not(.minimal-books) .book-card:after{height:7px;bottom:-10px}}.book-grid .book-card{position:relative;margin-bottom:20px!important}.book-grid .book-card:after{content:""!important;pointer-events:none!important;z-index:5!important;background:linear-gradient(#e1b783 0%,#bd8954 35%,#8b5b32 75%,#694323 100%)!important;border:1px solid #754a29!important;border-radius:2px!important;height:12px!important;display:block!important;position:absolute!important;bottom:-12px!important;left:-6px!important;right:-6px!important;box-shadow:0 5px 7px #00000040!important}.theme-minimal .book-grid .book-card:after{content:none!important;display:none!important}.book-view-switch{flex-wrap:wrap;gap:10px;margin:22px 0;display:flex}.book-view-switch button{background:var(--card);color:var(--ink);font:inherit;cursor:pointer;border:1px solid #c8bba5;border-radius:10px;padding:11px 18px}.book-view-switch button.active{color:#fff9ef;background:#785335;border-color:#785335}.real-bookshelf{background:repeating-linear-gradient(90deg,#59402d 0,#654830 24px,#5b402b 48px);border:16px solid #8b5e3c;border-radius:9px;padding:28px 20px 36px;box-shadow:inset 0 0 35px #00000052,0 12px 25px #00000026}.real-shelf-row{border-bottom:18px solid #a67649;flex-wrap:wrap;align-items:flex-end;gap:7px;min-height:260px;padding:20px 12px 22px;display:flex;box-shadow:0 9px #654126,0 15px 16px #00000047}.spine-book{color:#fff4dc;cursor:pointer;background:#62765d;border:1px solid #00000040;border-radius:4px 6px 6px 4px;flex-direction:column;flex:0 0 48px;justify-content:space-between;align-items:center;width:48px;height:205px;padding:13px 5px;transition:transform .18s;display:flex;box-shadow:inset 4px 0 5px #ffffff26,inset -5px 0 7px #0003,3px 3px 5px #0000004d}.spine-book:nth-child(4n+2){background:#80534a;height:225px}.spine-book:nth-child(4n+3){background:#4c6275;height:190px}.spine-book:nth-child(4n+4){background:#9b7b48;height:215px}.spine-book:hover{transform:translateY(-10px)}.spine-title{writing-mode:vertical-rl;text-orientation:mixed;text-overflow:ellipsis;max-height:145px;font-family:Georgia,serif;font-size:12px;font-weight:700;line-height:1.2;overflow:hidden}.spine-author{writing-mode:vertical-rl;opacity:.85;max-height:45px;font-size:9px;overflow:hidden}@media (width<=700px){.real-bookshelf{border-width:9px;padding:12px 8px 24px}.real-shelf-row{gap:5px;padding:14px 5px 18px}.spine-book{flex-basis:36px;width:36px;height:175px}}@media (prefers-reduced-motion:reduce){.spine-book{transition:none}}.real-shelf-row{box-sizing:border-box;align-items:flex-end;padding-bottom:0!important}.real-shelf-row .spine-book{align-self:flex-end;position:relative;bottom:0;margin-bottom:0!important}.real-shelf-row{border-bottom:18px solid #a67649;box-shadow:inset 0 -3px #0000001f,0 9px #654126,0 15px 16px #00000047}.spine-book{background-blend-mode:multiply;background-image:linear-gradient(90deg,#0003,#ffffff21 18%,#0000 35%,#0000002e 100%)}.spine-book:before,.spine-book:after{content:"";pointer-events:none;background:#eed195a6;height:2px;position:absolute;left:4px;right:4px}.spine-book:before{top:7px}.spine-book:after{bottom:7px}.real-bookshelf{overflow:visible!important}.real-shelf-row{isolation:isolate;position:relative;overflow:visible!important}.real-shelf-row .spine-cover-preview{box-sizing:border-box;opacity:0;visibility:hidden;pointer-events:none;z-index:1001;background:#fffaf0;border:1px solid #c9b99f;border-radius:8px;width:150px;height:auto;padding:7px;bottom:calc(100% + 12px);left:50%;transform:translate(-50%);box-shadow:0 12px 30px #0006;display:block!important;position:absolute!important}@media (hover:hover){.real-shelf-row .spine-book:hover .spine-cover-preview{opacity:1!important;visibility:visible!important}}.real-shelf-row .spine-book:focus-visible .spine-cover-preview{opacity:1!important;visibility:visible!important}.real-shelf-row .spine-book{position:relative;overflow:visible!important}.real-shelf-row .spine-book .spine-cover-preview{box-sizing:border-box;pointer-events:none;border:1px solid #c9b99f;border-radius:8px;padding:7px;box-shadow:0 12px 30px #0006;opacity:0!important;visibility:hidden!important;z-index:9999!important;background:#fffaf0!important;width:150px!important;height:auto!important;display:block!important;position:absolute!important;top:auto!important;bottom:calc(100% + 12px)!important;left:50%!important;transform:translate(-50%)!important}.real-shelf-row .spine-cover-preview img{object-fit:contain;width:100%;height:auto;max-height:210px;display:block}.real-shelf-row .spine-book:hover .spine-cover-preview,.real-shelf-row .spine-book:focus-visible .spine-cover-preview{opacity:1!important;visibility:visible!important}.real-shelf-row .spine-book:hover,.real-shelf-row .spine-book:focus-visible{z-index:1000!important}.real-bookshelf,.real-shelf-row{overflow:visible!important}.book-grid .book-cover{aspect-ratio:auto;box-sizing:border-box;background-color:#eae5da;justify-content:center;align-items:center;width:100%;height:250px;min-height:250px;max-height:250px;display:flex;overflow:hidden}.book-grid .book-cover img{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important}@media (width<=700px){.book-grid .book-cover{height:190px;min-height:190px;max-height:190px}}.real-shelf-row .spine-book .spine-cover-preview{width:155px!important;top:50%!important;bottom:auto!important;left:calc(100% + 15px)!important;transform:translateY(-50%)!important}.real-shelf-row .spine-book:hover{z-index:2000!important}.real-shelf-row .spine-book .spine-cover-preview{border:1px solid #5a41284d;border-radius:4px 9px 9px 4px;box-shadow:4px 7px 16px #00000059,inset 3px 0 3px #ffffff80;background:#e9e2d5!important;width:145px!important;padding:4px!important;top:50%!important;bottom:auto!important;left:calc(100% + 18px)!important;transform:translateY(-50%)!important}.real-shelf-row .spine-cover-preview img{object-fit:contain;border-radius:2px 6px 6px 2px;width:100%;height:auto;max-height:205px;display:block}.real-bookshelf{background-color:#60432f;padding:18px 16px 20px}.real-bookshelf .real-shelf-row{background-image:linear-gradient(#0000 0 232px,#bd9060 232px,#a77547 240px,#754927 251px,#50311e 260px);background-repeat:repeat-y;background-size:100% 260px;grid-template-columns:repeat(auto-fill,48px);grid-auto-rows:260px;justify-content:start;align-items:end;gap:0 7px;min-height:0;box-shadow:none!important;border-bottom:0!important;padding:0 8px!important;display:grid!important}.real-bookshelf .real-shelf-row>.spine-book{box-sizing:border-box;place-self:end center;width:48px;min-width:0;max-width:48px;margin:0 0 28px!important}@media (width<=700px){.real-bookshelf{padding:12px 6px 16px}.real-bookshelf .real-shelf-row{background-image:linear-gradient(#0000 0 195px,#bd9060 195px,#a77547 202px,#754927 213px,#50311e 220px);background-size:100% 220px;grid-template-columns:repeat(auto-fill,36px);grid-auto-rows:220px;column-gap:5px;padding:0 4px!important}.real-bookshelf .real-shelf-row>.spine-book{width:36px;max-width:36px;margin-bottom:25px!important}}.real-bookshelf .spine-book{position:relative;box-shadow:inset 3px 0 3px #ffffff1f,inset -4px 0 5px #0000003d,3px 4px 5px #00000047;background-image:linear-gradient(90deg,#0000004d 0%,#ffffff2b 14%,#0000 32%,#0000001a 75%,#0000004d 100%)!important}.real-bookshelf .spine-book:nth-child(5n+1){border-radius:3px 6px 5px 3px;background-color:#704435!important}.real-bookshelf .spine-book:nth-child(5n+1) .spine-title{color:#f3d28b;letter-spacing:.5px;font-family:Georgia,serif}.real-bookshelf .spine-book:nth-child(5n+2){border-radius:2px 4px 4px 2px;background-color:#526b59!important}.real-bookshelf .spine-book:nth-child(5n+2) .spine-title{color:#f4ead4;font-weight:600}.real-bookshelf .spine-book:nth-child(5n+3){border-radius:2px 5px 5px 2px;background-color:#42657a!important}.real-bookshelf .spine-book:nth-child(5n+3) .spine-title{color:#fff;letter-spacing:0;font-family:Arial,sans-serif}.real-bookshelf .spine-book:nth-child(5n+4){background-color:#514451!important}.real-bookshelf .spine-book:nth-child(5n+4) .spine-title{color:#dfc48e;font-family:Georgia,serif}.real-bookshelf .spine-book:nth-child(5n+5){background-color:#aa8253!important}.real-bookshelf .spine-book:nth-child(5n+5) .spine-title{color:#fff8e8}.real-bookshelf .spine-book:nth-child(5n+1):before,.real-bookshelf .spine-book:nth-child(5n+1):after{background:#d7b778;height:2px;box-shadow:0 1px 2px #00000040}@media (hover:hover){.real-bookshelf .spine-book:hover{filter:brightness(1.08);transform:translateY(-7px)}}.real-bookshelf .real-shelf-row{background-size:100% 260px;align-content:flex-start;align-items:flex-end;flex-wrap:wrap!important;gap:0 3px!important;display:flex!important}.real-bookshelf .real-shelf-row>.spine-book{flex:0 0 42px!important;width:42px!important;min-width:0!important;max-width:42px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+1){flex-basis:29px!important;width:29px!important;max-width:29px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+2){flex-basis:38px!important;width:38px!important;max-width:38px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+3){flex-basis:53px!important;width:53px!important;max-width:53px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+4){flex-basis:60px!important;width:60px!important;max-width:60px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+5){flex-basis:34px!important;width:34px!important;max-width:34px!important}.real-bookshelf .spine-book{padding-left:4px;padding-right:4px}@media (width<=700px){.real-bookshelf .real-shelf-row{background-size:100% 220px}.real-bookshelf .real-shelf-row>.spine-book{flex-basis:34px!important;width:34px!important;max-width:34px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+1){flex-basis:25px!important;width:25px!important;max-width:25px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+3){flex-basis:42px!important;width:42px!important;max-width:42px!important}.real-bookshelf .real-shelf-row>.spine-book:nth-child(5n+4){flex-basis:46px!important;width:46px!important;max-width:46px!important}}.real-bookshelf .real-shelf-row{align-content:flex-end;align-items:flex-end;height:260px;min-height:260px;margin:0;position:relative;background-image:none!important;border-bottom:0!important;flex-wrap:nowrap!important;gap:3px!important;padding:0 8px 28px!important;display:flex!important}.real-bookshelf .real-shelf-row:after{content:"";pointer-events:none;background:linear-gradient(#c19565 0%,#aa7749 28%,#82532f 70%,#55331f 100%);height:28px;position:absolute;bottom:0;left:0;right:0;box-shadow:0 8px 12px #00000040}.real-bookshelf .real-shelf-row>.spine-book{z-index:1;position:relative;margin-bottom:0!important}@media (width<=700px){.real-bookshelf .real-shelf-row{height:220px;min-height:220px;padding:0 4px 25px!important}.real-bookshelf .real-shelf-row:after{height:25px}}.theme-dark .book-view-switch button{color:#eee7d7;background:#39392f;border-color:#81765f}.theme-dark .book-view-switch button.active{color:#fff9ef;background:#785335;border-color:#a9845c}.real-bookshelf .real-shelf-row{justify-content:flex-start;align-items:flex-end;flex-wrap:nowrap!important;display:flex!important;overflow:visible!important}.real-bookshelf .real-shelf-row>.spine-book{flex-shrink:0!important}.real-bookshelf{box-sizing:border-box;max-width:100%}.real-bookshelf .spine-book:hover,.real-bookshelf .spine-book:focus-visible{z-index:1000!important}.book-grid{background-color:#b17a47;background-image:repeating-linear-gradient(#0000 0 290px,#70401f 290px 302px,#d3a06a 302px 309px,#0000 309px 324px);border:12px solid #754826;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:34px 18px;padding:26px 24px 32px;display:grid;box-shadow:inset 0 5px 16px #2312084d,0 8px 20px #00000026}.book-grid .book-card{z-index:1;min-width:0;position:relative}@media (width<=700px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px;padding:16px 12px 24px}}.book-grid.cover-bookshelf{background:#ae794b linear-gradient(90deg,#28140a2e,#0000 8% 92%,#28140a2e);border:12px solid #754826;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:48px 18px;padding:30px 24px 38px;display:grid;box-shadow:inset 0 8px 18px #2312084d,0 8px 20px #00000026}.cover-bookshelf .book-card{z-index:1;border-bottom:0;min-width:0;padding-bottom:18px;position:relative}.cover-bookshelf .book-card:after{content:"";pointer-events:none;background:linear-gradient(#d5a16b 0%,#a96e3e 45%,#754321 100%);border-radius:2px;height:16px;position:absolute;bottom:-12px;left:-9px;right:-9px;box-shadow:0 6px 9px #23120859}@media (width<=700px){.book-grid.cover-bookshelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 12px;padding:20px 12px 30px}}.cover-bookshelf .book-card:after{display:none!important}.cover-bookshelf{position:relative}.cover-bookshelf .book-card{border-bottom:none!important}.cover-shelf-books{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important;display:grid!important}.cover-shelf-books .book-card{width:100%;min-width:0}.cover-shelf-books .book-cover{width:100%;max-width:145px;height:190px;margin-left:auto;margin-right:auto}@media (width<=700px){.cover-shelf-books{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.wooden-cover-shelf{background:#a97447!important;border:12px solid #754826!important;border-radius:9px!important;padding:22px 18px 28px!important;box-shadow:inset 0 8px 18px #2312084d,0 8px 20px #00000026!important}.wooden-cover-shelf .cover-shelf-row{margin-bottom:22px;padding:14px 12px 32px;position:relative}.wooden-cover-shelf .cover-shelf-row:after{content:"";background:linear-gradient(#d6a16a,#a66b3d 55%,#754321);border-radius:2px;height:20px;display:block;position:absolute;bottom:0;left:0;right:0;box-shadow:0 7px 12px #1e0f0559}.wooden-cover-shelf{box-sizing:border-box;width:100%;max-width:100%}.wooden-cover-shelf .cover-shelf-books{justify-content:flex-start;align-items:stretch;min-width:0;flex-wrap:nowrap!important;gap:18px!important;display:flex!important}.wooden-cover-shelf .cover-shelf-books .book-card{flex:0 0 125px;width:125px;min-width:0}.wooden-cover-shelf .cover-shelf-books .book-cover{box-sizing:border-box;width:100%;max-width:125px}@media (width<=700px){.wooden-cover-shelf .cover-shelf-books{gap:12px!important}}.wooden-cover-shelf .cover-shelf-books .book-card{flex:0 0 145px!important;width:145px!important}.wooden-cover-shelf .cover-shelf-books .book-cover{height:190px;width:100%!important;max-width:145px!important}.wooden-cover-shelf .book-card:hover{box-shadow:none!important;background:0 0!important}.wooden-cover-shelf .book-cover strong{overflow-wrap:break-word;word-break:normal}.mobile-bottom-nav{display:none}@media (width<=700px){.mobile-bottom-nav{z-index:900;padding:10px 8px calc(10px + env(safe-area-inset-bottom));background:#fffdf8;border-top:1px solid #ded8cc;justify-content:space-around;align-items:center;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 22px #2d231414}.mobile-bottom-nav button{color:#455c49;cursor:pointer;min-height:48px;font:inherit;background:0 0;border:none;border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:5px;display:flex}.mobile-bottom-nav button span{font-size:23px;line-height:1.2}.mobile-bottom-nav button small{font-size:11px;font-weight:600}.mobile-bottom-nav button:active{background:#e8ede4}.mobile-bottom-nav button:disabled{opacity:.45;cursor:not-allowed}#mobile-library,#mobile-stats{scroll-margin-top:20px}.mobile-bottom-nav{z-index:99999!important;visibility:visible!important;opacity:1!important;background:#245c40!important;min-height:75px!important;display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important}.mobile-bottom-nav button{color:#fff!important}.sidebar{flex-flow:wrap!important;align-items:center!important;gap:10px!important;width:100%!important;height:auto!important;min-height:auto!important;padding:16px 12px 10px!important;display:flex!important;position:relative!important}.sidebar .brand{width:100%!important;margin-bottom:4px!important}.sidebar .side-label,.sidebar .sidebar-bottom{display:none!important}.sidebar .nav-item{white-space:nowrap!important;text-align:center!important;border-radius:22px!important;flex:none!important;gap:6px!important;width:auto!important;min-height:38px!important;margin:0!important;padding:8px 12px!important;font-size:12px!important;display:inline-flex!important}.sidebar .nav-item small{font-size:10px!important}.welcome{min-height:0!important;margin:0!important;padding:12px 4px 14px!important}.welcome h1{margin:8px 0!important;font-size:clamp(27px,7vw,38px)!important;line-height:1.12!important}.welcome p{margin:6px 0!important;font-size:12px!important;line-height:1.5!important}.welcome .eyebrow{font-size:10px!important}.welcome-art,.main-content>.stats{display:none!important}.topbar{margin-bottom:8px!important;padding:8px 0!important}.topbar>span{display:none!important}.library-section{margin-top:8px!important;padding-top:8px!important}.section-heading h2{font-size:25px!important}.mobile-bottom-nav{z-index:9999!important;display:flex!important}.main-content{padding-bottom:115px!important}.wooden-cover-shelf{border-width:8px!important;padding:12px 8px 18px!important}.wooden-cover-shelf .cover-shelf-row{margin-bottom:12px!important;padding:10px 6px 24px!important}.wooden-cover-shelf .cover-shelf-books{flex-wrap:nowrap!important;justify-content:center!important;gap:10px!important;display:flex!important}.wooden-cover-shelf .cover-shelf-books .book-card{flex:0 0 105px!important;width:105px!important;min-width:0!important;max-width:105px!important}.wooden-cover-shelf .cover-shelf-books .book-cover{width:100%!important;max-width:105px!important;height:145px!important}.wooden-cover-shelf .book-info{overflow-wrap:anywhere}.wooden-cover-shelf .book-card button{max-width:100%}.mobile-tab-library .stats-grid,.mobile-tab-library .achievements-section,.mobile-tab-stats .sidebar,.mobile-tab-stats .topbar,.mobile-tab-stats .welcome,.mobile-tab-stats .stats,.mobile-tab-stats .section-heading,.mobile-tab-stats .library-toolbar,.mobile-tab-stats .backup-panel,.mobile-tab-stats .book-view-switch,.mobile-tab-stats .real-bookshelf,.mobile-tab-stats .cover-bookshelf,.mobile-tab-stats .empty-state{display:none!important}.mobile-tab-stats .stats-grid,.mobile-tab-stats .achievements-section{display:grid!important}.mobile-tab-stats .achievements-section{display:block!important}.mobile-tab-stats .main-content{padding-top:24px!important}.sidebar{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-flow:row!important;gap:8px!important;padding:12px!important;display:flex!important;overflow:auto hidden!important}.sidebar::-webkit-scrollbar{display:none}.sidebar .brand,.sidebar .side-label,.sidebar .sidebar-bottom{display:none!important}.sidebar .nav-item{white-space:nowrap!important;border-radius:24px!important;flex:none!important;width:auto!important;min-height:40px!important;margin:0!important;padding:9px 14px!important;font-size:12px!important;display:inline-flex!important}.sidebar .nav-item small{margin-left:5px}.library-toolbar .shelf-tabs>button{display:none!important}.library-toolbar .results-count{margin:0 0 10px!important;font-size:12px!important;display:block!important}.library-toolbar{gap:10px!important;margin-top:8px!important}.library-section .backup-panel,.mobile-tab-library .topbar,.mobile-tab-library .welcome{display:none!important}.mobile-tab-library .library-section{margin-top:0!important;padding-top:14px!important}.mobile-tab-library .section-heading,.mobile-tab-library .library-toolbar{margin-bottom:12px!important}.mobile-tab-library .section-heading h2{font-size:24px!important;line-height:1.2!important}.mobile-bottom-nav button.active{color:#fff!important;background:#ffffff26!important;font-weight:700!important}.mobile-bottom-nav button.active span{transform:translateY(-2px)}.mobile-bottom-nav button{transition:background .2s,color .2s}}.mobile-app-header{display:none}@media (width<=700px){.mobile-app-header{background:#f7f5ef;align-items:center;gap:12px;padding:16px 14px 12px;display:flex}.mobile-app-logo{color:#fff;background:#506650;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-family:Georgia,serif;font-size:29px;font-weight:700;display:flex}.mobile-app-brand{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.mobile-app-brand strong{color:#303a30;font-size:16px;line-height:1.2}.mobile-app-brand small{color:#8a9084;font-size:11px}.mobile-app-profile{cursor:pointer;background:0 0;border:0;font-size:22px}.mobile-tab-stats .mobile-app-header{display:flex!important}}.wooden-cover-shelf .book-cover{border-radius:5px 9px 9px 5px;position:relative;overflow:hidden!important}.wooden-cover-shelf .book-cover img{object-fit:cover;width:100%;height:100%;display:block}.wooden-cover-shelf .book-cover h3{overflow-wrap:anywhere;word-break:normal;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;font-size:15px!important;line-height:1.15!important}.wooden-cover-shelf .book-cover p{overflow-wrap:anywhere;font-size:9px!important;line-height:1.3!important}.wooden-cover-shelf .book-info{min-width:0}.wooden-cover-shelf .book-info h3{overflow-wrap:anywhere;line-height:1.35}@media (width<=700px){.wooden-cover-shelf .book-cover h3{-webkit-line-clamp:4;font-size:12px!important}.wooden-cover-shelf .book-cover p{font-size:8px!important}}.wooden-cover-shelf .book-cover-fallback{box-sizing:border-box;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:7px;padding:12px;position:absolute;inset:0;overflow:hidden}.wooden-cover-shelf .book-cover-fallback small{letter-spacing:1px;font-size:8px;line-height:1.3;position:absolute;top:12px;left:12px;right:12px}.wooden-cover-shelf .book-cover-fallback .cover-symbol{opacity:.6;font-size:25px;position:absolute;top:30%;right:12px}.wooden-cover-shelf .book-cover-fallback strong{-webkit-line-clamp:4;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:100%;font-size:15px;line-height:1.2;display:-webkit-box;overflow:hidden}.wooden-cover-shelf .book-cover-fallback>span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;line-height:1.3;display:block;overflow:hidden}@media (width<=700px){.wooden-cover-shelf .book-cover-fallback{gap:5px;padding:9px}.wooden-cover-shelf .book-cover-fallback strong{-webkit-line-clamp:4;font-size:12px}.wooden-cover-shelf .book-cover-fallback small{font-size:7px;top:9px;left:9px}}.library-name-settings{background:#faf8f3;border:1px solid #e4dacb;border-radius:18px;flex-direction:column;gap:14px;margin-top:24px;padding:24px;display:flex}.library-name-settings h3{color:#344a3a;margin:0;font-size:20px}.library-name-settings p{color:#77796f;margin:0;line-height:1.5}.library-name-settings label{color:#344a3a;font-weight:600}.library-name-settings input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #d8cbb8;border-radius:10px;padding:13px}.library-name-settings button{color:#fff;cursor:pointer;background:#506650;border:0;border-radius:10px;align-self:flex-start;padding:12px 20px;font-weight:600}.library-name-settings button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.personalized-brand-title strong{font-size:15px}.personalized-brand-title small{font-size:10px}}.personalized-brand-title{flex-direction:column;justify-content:center;gap:4px;min-width:0;display:flex}.personalized-brand-title strong{overflow-wrap:anywhere;font-size:16px;font-weight:700;line-height:1.3}.personalized-brand-title small{letter-spacing:.4px;opacity:.65;font-size:10px}.real-bookshelf .real-shelf-row>.spine-book.book-raised{position:relative;z-index:10000!important;transform:translateY(-14px)!important}.real-bookshelf .real-shelf-row>.spine-book.book-raised .spine-cover-preview{pointer-events:none;opacity:1!important;visibility:visible!important;display:block!important}@media (width<=700px){.real-bookshelf .real-shelf-row{overflow:visible!important}.real-bookshelf .real-shelf-row>.spine-book.book-raised .spine-cover-preview{width:115px!important;max-width:115px!important;top:auto!important;bottom:calc(100% + 10px)!important;left:50%!important;transform:translate(-50%)!important}}.modal-backdrop{box-sizing:border-box!important;z-index:99999!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100dvh!important;margin:0!important;padding:16px!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}.modal-backdrop>.book-modal{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:440px!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;position:relative!important;overflow-y:auto!important}@media (width<=480px){.modal-backdrop{padding:12px!important}.modal-backdrop>.book-modal{max-height:calc(100dvh - 24px)!important;padding:22px 16px!important}}.modal-backdrop>.book-modal.details-modal{box-sizing:border-box!important;width:min(320px,100vw - 32px)!important;min-width:0!important;max-width:100%!important;margin:auto!important}@media (width>=700px){.modal-backdrop>.book-modal.details-modal{width:min(420px,100vw - 40px)!important}}.real-bookshelf .real-shelf-row{flex-wrap:nowrap!important;align-items:flex-end!important;height:290px!important;min-height:290px!important;padding-bottom:28px!important;display:flex!important;overflow:visible!important}.real-bookshelf .real-shelf-row>.spine-book{max-height:245px;flex-shrink:0!important}@media (width<=700px){.real-bookshelf .real-shelf-row{height:265px!important;min-height:265px!important;padding-bottom:25px!important}.real-bookshelf .real-shelf-row>.spine-book{max-height:225px}}.real-bookshelf{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:visible}.real-bookshelf .real-shelf-row{box-sizing:border-box;width:100%;min-width:0;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:flex-end!important;gap:3px!important;height:290px!important;min-height:290px!important;padding-left:8px!important;padding-right:8px!important;display:flex!important;overflow:visible!important}.real-bookshelf .real-shelf-row>.spine-book{flex:0 0 var(--spine-width)!important;flex-basis:var(--spine-width)!important;width:var(--spine-width)!important;min-width:var(--spine-width)!important;max-width:var(--spine-width)!important;box-sizing:border-box!important}@media (width<=700px){.real-bookshelf .real-shelf-row{height:280px!important;min-height:280px!important}}.real-bookshelf .real-shelf-row{justify-content:space-evenly!important}.real-bookshelf .real-shelf-row>.spine-book{min-width:0;overflow:visible}.real-bookshelf .real-shelf-row>.spine-book .spine-title{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0;flex:0 auto;max-width:100%;min-height:0;font-size:11px;line-height:1.15;display:block;max-height:115px!important;overflow:hidden!important}.real-bookshelf .real-shelf-row>.spine-book .spine-author{max-width:100%;max-height:48px;overflow:hidden}.spine-book{overflow:hidden}.spine-title{box-sizing:border-box;overflow-wrap:anywhere;max-width:100%;display:block;overflow:hidden}.real-bookshelf .real-shelf-row{justify-content:flex-start!important;gap:5px!important}.real-bookshelf .real-shelf-row:has(>.spine-book:only-child){justify-content:flex-start!important}.isbn-mode-tabs{background:#7382691a;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 10px;padding:5px;display:grid}.isbn-mode-tabs button{color:inherit;background:0 0;border:0;border-radius:9px;padding:12px 8px;font-size:13px;font-weight:600}.isbn-mode-tabs button.selected{background:var(--card);color:var(--green);box-shadow:0 2px 8px #00000017}.isbn-search-button{width:100%;margin-top:16px}.isbn-feedback{background:#7382691a;border-radius:9px;padding:12px;line-height:1.55;color:inherit!important;font-size:12px!important}.isbn-found-fields{gap:12px;margin-top:14px;display:grid}.isbn-found-fields label{gap:8px;font-size:11px;display:grid}.isbn-found-cover{object-fit:contain;border-radius:5px;max-width:110px;max-height:160px;margin:4px auto 0;display:block}@media (width<=700px){html,body,#root,.app{width:100%;min-width:0;max-width:100%}.app,.main-content,.library-section{min-width:0;max-width:100%}.main-content{box-sizing:border-box;width:100%!important;margin-left:0!important;margin-right:0!important}.library-toolbar,.section-heading,.book-view-switch,.stats-grid,.achievements-grid,.real-bookshelf{box-sizing:border-box;min-width:0;max-width:100%}.shelf-tabs{min-width:0;max-width:100%}.search-box,.rating-filter select{box-sizing:border-box;max-width:100%}.real-bookshelf{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.real-bookshelf .real-shelf-row{box-sizing:border-box;min-width:0;max-width:100%;justify-content:flex-start!important;gap:5px!important}.real-bookshelf .real-shelf-row>.spine-book{box-sizing:border-box}.book-grid,.book-card,.book-info{min-width:0;max-width:100%}html,body,#root{width:100%;max-width:100%;overflow-x:clip}.app,.main-content,.library-section{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.main-content{margin-left:0!important}.sidebar{box-sizing:border-box;overscroll-behavior-x:contain;width:100%!important;min-width:0!important;max-width:100vw!important;overflow-x:auto!important}.sidebar .nav-item{flex:none!important}.real-bookshelf{min-width:0;max-width:100%}}@media (width<=768px){html,body,#root{width:100%;max-width:100%;margin:0;padding:0;overflow-x:clip}.main-content{box-sizing:border-box;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}input,textarea,select{font-size:16px!important}}
