@font-face{font-family:Newsreader;src:url(/fonts/newsreader.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Newsreader;src:url(/fonts/newsreader-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;font-display:swap}@font-face{font-family:Inter;src:url(/fonts/inter.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/fonts/jetbrains-mono-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root,[data-theme=papel]{--bg: #FBF8F1;--surface: #F3EDE0;--surface-elevated: #FFFDF8;--border: #E2D7C3;--text: #2A241E;--muted: #6E6254;--accent: #9B4D2B;--accent-hover: #7D3B1E;--accent-soft: rgba(155, 77, 43, .12);--accent-text: #FFFDF8;--sage: #3B6E5C;--sage-soft: rgba(59, 110, 92, .12);--danger: #B43C3C;--shadow: 0 10px 30px rgba(42, 36, 30, .06)}[data-theme=meia-noite]{--bg: #0D1013;--surface: #151A1F;--surface-elevated: #1B2128;--border: #273038;--text: #ECE6DC;--muted: #98A0A8;--accent: #E2A35E;--accent-hover: #F0B675;--accent-soft: rgba(226, 163, 94, .14);--accent-text: #14110D;--sage: #58B899;--sage-soft: rgba(88, 184, 153, .14);--danger: #E06C6C;--shadow: 0 12px 32px rgba(0, 0, 0, .35)}[data-theme=bosque]{--bg: #081210;--surface: #0F1E1B;--surface-elevated: #142824;--border: #203A34;--text: #EDE6D8;--muted: #95ABA4;--accent: #F2A541;--accent-hover: #FFBA5E;--accent-soft: rgba(242, 165, 65, .14);--accent-text: #111510;--sage: #3DDCB0;--sage-soft: rgba(61, 220, 176, .14);--danger: #E67373;--shadow: 0 12px 32px rgba(0, 0, 0, .38)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;transition:background-color .25s ease,color .25s ease}h1,h2,h3,h4,.serif{font-family:Newsreader,Georgia,serif;letter-spacing:-.01em;line-height:1.2;margin:0}.mono{font-family:JetBrains Mono,monospace}button,input,textarea,select{font-family:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topbar-inner{max-width:1120px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.brand-name{font-family:Newsreader,Georgia,serif;font-size:1.35rem;font-weight:600}.brand-name em{color:var(--accent);font-style:italic}.nav-tabs{display:flex;align-items:center;gap:6px;background:var(--surface);padding:4px;border-radius:12px;border:1px solid var(--border)}.nav-tab{border:0;background:transparent;color:var(--muted);padding:8px 14px;border-radius:9px;font-size:.9rem;font-weight:500;display:inline-flex;align-items:center;gap:7px;transition:background-color .2s,color .2s}.nav-tab.active{background:var(--surface-elevated);color:var(--text);box-shadow:0 2px 6px #0000000f}.topbar-actions{display:flex;align-items:center;gap:10px}.theme-picker{display:inline-flex;align-items:center;gap:4px;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:3px}.theme-btn{border:0;background:transparent;color:var(--muted);padding:5px 10px;border-radius:999px;font-size:.78rem;font-weight:500}.theme-btn.active{background:var(--accent);color:var(--accent-text)}.demo-banner{background:var(--accent-soft);border-bottom:1px solid var(--border);padding:8px 20px;font-size:.85rem;color:var(--text);text-align:center}.main-content{max-width:1120px;width:100%;margin:0 auto;padding:28px 20px 64px;flex:1}.card{background:var(--surface-elevated);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.card-subtle{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.eyebrow{font-family:JetBrains Mono,monospace;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin:0 0 8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;border:1px solid transparent;padding:10px 16px;font-size:.9rem;font-weight:500;transition:background-color .2s,border-color .2s,transform .15s}.btn-primary{background:var(--accent);color:var(--accent-text)}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn-secondary:hover{border-color:var(--accent)}.btn-ghost{background:transparent;color:var(--muted);padding:7px 10px}.btn-ghost:hover{color:var(--text);background:var(--surface)}.btn-sm{padding:6px 12px;font-size:.82rem}.badge{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;font-weight:500;padding:4px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--border);color:var(--muted)}.badge-accent{background:var(--accent-soft);border-color:transparent;color:var(--accent)}.badge-sage{background:var(--sage-soft);border-color:transparent;color:var(--sage)}.input,.textarea,.select{width:100%;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:10px 12px;font-size:.92rem}.textarea{resize:vertical;min-height:88px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:.84rem;font-weight:500;color:var(--muted)}.book-cover{position:relative;border-radius:10px 14px 14px 10px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:16px 14px;color:#fffdf8;box-shadow:4px 8px 20px #00000029,inset 6px 0 #ffffff24;flex-shrink:0}.book-cover img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.book-cover-lg{width:150px;height:224px}.book-cover-md{width:96px;height:144px}.cover-title{font-family:Newsreader,Georgia,serif;font-size:1rem;font-weight:600;line-height:1.2}.cover-author{font-size:.74rem;opacity:.85}.spine-0{background:linear-gradient(145deg,#8b4327,#562313)}.spine-1{background:linear-gradient(145deg,#2f594c,#19352d)}.spine-2{background:linear-gradient(145deg,#3d4a6b,#21293e)}.spine-3{background:linear-gradient(145deg,#7c5a2c,#4a3416)}.spine-4{background:linear-gradient(145deg,#6a394c,#3d1d2b)}.spine-5{background:linear-gradient(145deg,#435449,#242e27)}.club-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.club-header h1{font-size:clamp(1.8rem,3vw,2.4rem)}.club-header p{margin:6px 0 0;color:var(--muted);max-width:60ch}.club-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-bottom:24px}.featured-read{display:flex;gap:22px;align-items:flex-start}.featured-read-body{flex:1;min-width:0}.featured-read-body h2{font-size:1.65rem;margin-bottom:4px}.featured-author{color:var(--muted);margin:0 0 12px;font-size:.95rem}.featured-synopsis{margin:0 0 18px;font-size:.92rem;color:var(--muted)}.progress-track{width:100%;height:8px;background:var(--surface);border-radius:999px;overflow:hidden;border:1px solid var(--border)}.progress-fill{height:100%;background:var(--accent);border-radius:999px;transition:width .25s ease}progress.progress-bar{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;height:8px;border:1px solid var(--border);border-radius:999px;background:var(--surface);overflow:hidden}progress.progress-bar::-webkit-progress-bar{background:var(--surface);border-radius:999px}progress.progress-bar::-webkit-progress-value{background:var(--accent);border-radius:999px}progress.progress-bar::-moz-progress-bar{background:var(--accent);border-radius:999px}.input-compact{width:110px}.select-compact{width:auto}.otp-input{text-align:center;font-size:1.5rem;letter-spacing:.28em;padding:12px}.bookshelf-wrapper{display:flex;flex-direction:column;gap:28px}.bookshelf-plank{position:relative;display:flex;align-items:flex-end;flex-wrap:wrap;gap:6px;padding:24px 20px 0;background:var(--surface);border:1px solid var(--border);border-radius:16px 16px 6px 6px;min-height:230px}.bookshelf-plank:after{content:"";display:block;width:calc(100% + 40px);height:14px;margin:0 -20px;background:linear-gradient(180deg,#78523059,#50341c80);border-top:1px solid var(--border);border-radius:0 0 6px 6px}.book-spine-btn{border:0;border-radius:5px 5px 2px 2px;color:#fffdf8;padding:12px 6px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-width:44px;max-width:68px;height:190px;box-shadow:-2px 0 6px #0000002e,inset 3px 0 #ffffff2e,inset -3px 0 #0003;transition:transform .18s ease,box-shadow .18s ease;position:relative}.book-spine-btn:hover{transform:translateY(-10px);box-shadow:-4px 10px 18px #00000047;z-index:2}.book-spine-thick{width:64px;height:205px}.book-spine-med{width:52px;height:192px}.book-spine-thin{width:42px;height:178px}.spine-text{writing-mode:vertical-rl;transform:rotate(180deg);font-family:Newsreader,Georgia,serif;font-size:.86rem;font-weight:600;max-height:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-vol{font-family:JetBrains Mono,monospace;font-size:.68rem;opacity:.85}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.filter-search{flex:1;min-width:200px}.chip-grid{display:flex;flex-wrap:wrap;gap:6px}.modal-lg{max-width:720px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pace-box{padding:12px 14px;border-radius:12px;background:var(--sage-soft);color:var(--sage);font-size:.88rem;font-weight:500}@media(max-width:680px){.grid-2,.grid-3{grid-template-columns:1fr}}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-head{text-align:center;font-size:.76rem;font-weight:600;color:var(--muted);padding-bottom:4px}.calendar-cell{min-height:76px;padding:6px;border-radius:10px;background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:4px;align-items:flex-start}.calendar-cell.empty{background:transparent;border-color:transparent}.calendar-cell.has-activity{border-color:var(--accent);background:var(--surface-elevated)}.calendar-cell.is-freeze{border-color:var(--sage);border-style:dashed;background:var(--sage-soft)}.stats-strip-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media(max-width:860px){.stats-strip-4{grid-template-columns:repeat(2,minmax(0,1fr))}}.calendar-day{font-size:.76rem;color:var(--muted)}.scanner-box{display:flex;flex-direction:column;gap:8px}.scanner-video{width:100%;max-height:280px;border-radius:12px;background:#000;object-fit:cover}.graph-wrap{width:100%;overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px}.graph-svg{width:100%;min-width:480px;height:auto;display:block}.graph-edge{stroke:var(--border);stroke-width:2}.graph-edge-label{fill:var(--muted);font-size:11px;font-family:Inter,sans-serif}.graph-node{fill:var(--accent);stroke:var(--surface-elevated);stroke-width:3}.graph-node-initial{fill:var(--accent-text);font-size:12px;font-weight:700;font-family:JetBrains Mono,monospace}.graph-node-label{fill:var(--text);font-size:12px;font-weight:500;font-family:Inter,sans-serif}.progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.85rem}.milestones{display:flex;flex-direction:column;gap:8px;margin-top:16px}.milestone-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--border);font-size:.84rem}.milestone-item.done{border-color:var(--sage);background:var(--sage-soft)}.member-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}.member-item{display:flex;flex-direction:column;gap:5px}.member-meta{display:flex;justify-content:space-between;font-size:.85rem}.discussion-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.chip{border:1px solid var(--border);background:var(--surface);color:var(--muted);padding:6px 12px;border-radius:999px;font-size:.82rem}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.discussion-list{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.discussion-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.discussion-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:.84rem}.spoiler-mask{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:10px;background:var(--bg);border:1px dashed var(--border);color:var(--muted);font-size:.86rem}.discussion-form{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--border)}.form-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.checkbox-label{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;color:var(--muted);cursor:pointer}.stats-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat-card{background:var(--surface-elevated);border:1px solid var(--border);border-radius:14px;padding:16px 18px}.stat-value{font-family:Newsreader,Georgia,serif;font-size:1.9rem;font-weight:600;color:var(--text)}.stat-label{font-size:.82rem;color:var(--muted)}.shelf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:18px}.book-card{background:var(--surface-elevated);border:1px solid var(--border);border-radius:16px;padding:18px;display:flex;gap:16px;box-shadow:var(--shadow);transition:transform .15s ease,border-color .2s ease}.book-card:hover{transform:translateY(-2px);border-color:var(--accent)}.book-card-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.book-card-info h3{font-size:1.2rem}.book-quote{font-family:Newsreader,Georgia,serif;font-style:italic;font-size:.88rem;color:var(--muted);border-left:2px solid var(--accent);padding-left:10px;margin:4px 0}.stars{display:inline-flex;gap:3px;color:var(--accent)}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{max-width:440px;width:100%}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0a0a0a8c;display:grid;place-items:center;padding:18px}.modal{background:var(--surface-elevated);border:1px solid var(--border);border-radius:18px;max-width:540px;width:100%;max-height:90vh;overflow-y:auto;padding:24px;box-shadow:var(--shadow)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.search-results{display:flex;flex-direction:column;gap:8px;margin-top:10px}.search-result-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:10px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--border)}.search-result-btn:hover{border-color:var(--accent)}.alert-error{padding:10px 12px;border-radius:10px;background:#b43c3c1f;color:var(--danger);font-size:.86rem}.stack-sm{display:flex;flex-direction:column;gap:12px}.stack-md{display:flex;flex-direction:column;gap:18px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.row-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:10px}@media(max-width:860px){.club-grid{grid-template-columns:1fr}.featured-read{flex-direction:column}.stats-strip{grid-template-columns:1fr}.topbar-inner{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.app-layout{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--bg)}.app-main-column{min-width:0;display:flex;flex-direction:column;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border);z-index:30}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 14px;border-bottom:1px solid var(--border)}.brand-btn{border:0;background:transparent;padding:0;text-align:left}.sidebar-close-btn{display:none}.sidebar-nav{flex:1;overflow-y:auto;padding:12px 10px 20px;display:flex;flex-direction:column;gap:12px}.sidebar-group{display:flex;flex-direction:column;gap:2px}.sidebar-group-toggle{display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;color:var(--muted);font-family:JetBrains Mono,monospace;font-size:.7rem;text-transform:uppercase;letter-spacing:.09em;padding:6px 10px;border-radius:8px}.sidebar-group-toggle:hover{color:var(--text)}.sidebar-group-items{display:flex;flex-direction:column;gap:2px}.sidebar-item{width:100%;border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:10px;font-size:.9rem;font-weight:500;text-align:left;transition:background-color .16s ease,color .16s ease}.sidebar-item:hover{background:var(--surface-elevated);color:var(--text)}.sidebar-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-item-left{display:inline-flex;align-items:center;gap:10px;min-width:0}.sidebar-item-left span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-badge{font-size:.72rem;padding:2px 7px;border-radius:999px;background:var(--surface-elevated);color:var(--muted);border:1px solid var(--border)}.sidebar-item.active .sidebar-badge{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-top:1px solid var(--border);background:var(--surface)}.sidebar-user{min-width:0;display:flex;flex-direction:column}.sidebar-user-name{font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-backdrop{display:none}.topbar-util{max-width:1200px;width:100%;margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.menu-toggle-btn{display:none}.topbar-search-btn{flex:1;max-width:440px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-elevated);color:var(--muted);font-size:.88rem;text-align:left;transition:border-color .16s ease,color .16s ease}.topbar-search-btn:hover{border-color:var(--accent);color:var(--text)}.topbar-search-placeholder{display:inline-flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbd{font-family:JetBrains Mono,monospace;font-size:.72rem;padding:2px 6px;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--muted)}.global-search-bar{display:flex;align-items:center;gap:10px;padding:4px 8px;border-bottom:1px solid var(--border)}.global-search-input{flex:1;border:0;background:transparent;font-size:.98rem;padding:8px 4px;outline:none}.global-search-hit{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;transition:border-color .16s ease,background-color .16s ease}.global-search-hit:hover{border-color:var(--accent);background:var(--surface-elevated)}.global-search-icon{color:var(--accent);display:inline-flex;align-items:center}.global-search-text{flex:1;min-width:0;display:flex;flex-direction:column}@media(max-width:960px){.app-layout{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:276px;transform:translate(-100%);transition:transform .22s ease;box-shadow:var(--shadow)}.sidebar.open{transform:translate(0)}.sidebar-close-btn,.menu-toggle-btn{display:inline-flex}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:25}.topbar-util{padding:10px 14px}.kbd{display:none}}.home-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card-btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:6px;text-align:left;transition:border-color .16s ease,transform .16s ease}.stat-card-btn:hover{border-color:var(--accent);transform:translateY(-1px)}.home-continue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-reading-card{display:grid;grid-template-columns:78px minmax(0,1fr);gap:14px;align-items:start}.home-reading-body{min-width:0}.book-cover-sm{width:78px;height:114px;font-size:.72rem;padding:8px}.home-activity-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:6px}.home-day-pill{aspect-ratio:1 / 1;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:grid;place-items:center;font-size:.72rem}.home-day-pill.read{background:var(--sage-soft);border-color:var(--sage);color:var(--sage);font-weight:700}@media(max-width:960px){.home-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-continue-grid{grid-template-columns:1fr}.home-activity-strip{grid-template-columns:repeat(7,minmax(0,1fr))}}.library-table-wrap{padding:0;overflow-x:auto}.library-table{width:100%;border-collapse:collapse;font-size:.88rem}.library-table th,.library-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}.library-table th{font-family:JetBrains Mono,monospace;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--surface)}.library-table-row{cursor:pointer;transition:background-color .14s ease}.library-table-row:hover{background:var(--surface)}.library-table-book{display:flex;align-items:center;gap:10px}.library-mini-cover{width:28px;height:40px;border-radius:5px;overflow:hidden;flex-shrink:0;display:inline-block;border:1px solid var(--border)}.library-mini-cover img{width:100%;height:100%;object-fit:cover;display:block}.saved-filter-pill{display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--accent);background:var(--accent-soft);overflow:hidden}.saved-filter-apply{border:0;background:transparent;color:var(--accent);font-size:.8rem;font-weight:600;padding:4px 10px}.saved-filter-remove{border:0;background:transparent;color:var(--muted);padding:4px 8px 4px 2px;display:inline-flex;align-items:center}.saved-filter-remove:hover{color:var(--danger)}.theme-card-active{border-color:var(--accent);background:var(--accent-soft)}.graph-node-group{cursor:pointer}.graph-node-active{stroke:var(--accent);stroke-width:3}html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}.auth-page{position:relative;overflow:hidden}.auth-card{position:relative;z-index:2}.ambient-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;display:block}.ambient-canvas-auth{z-index:1}.home-hero-banner{position:relative;overflow:hidden;border-radius:20px;border:1px solid var(--border);background:var(--surface-elevated);padding:24px 26px;box-shadow:var(--shadow)}.home-hero-banner>*:not(.ambient-canvas){position:relative;z-index:2}html,body{overflow-x:clip}.mobile-bottom-nav{display:none}@media(max-width:768px){.hide-mobile{display:none!important}.topbar-util{padding:10px 12px;gap:8px}.topbar-search-btn{padding:8px 10px;font-size:.84rem;min-width:0}.main-content{padding:16px 14px calc(84px + env(safe-area-inset-bottom,0px))}.card{padding:16px;border-radius:14px}.card-subtle{padding:13px;border-radius:12px}.home-hero-banner{padding:18px 16px;border-radius:16px}.club-header{flex-direction:column;align-items:flex-start;gap:12px}.club-header h1{font-size:1.55rem}.row-between{flex-wrap:wrap;gap:8px}.shelf-grid{grid-template-columns:1fr;gap:12px}.book-card{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:13px}.book-cover-md{width:82px;height:120px}.home-reading-card{grid-template-columns:68px minmax(0,1fr);gap:12px}.book-cover-sm{width:68px;height:100px}.stats-row,.stats-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px}.stat-value{font-size:1.45rem}.discussion-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.discussion-filters::-webkit-scrollbar{display:none}.discussion-filters .chip{flex-shrink:0}.filter-bar{gap:8px}.filter-search{min-width:100%}.select-compact,.input-compact{flex:1 1 130px;max-width:none}.featured-read,.club-grid{grid-template-columns:1fr}.modal-backdrop{padding:0;align-items:flex-end}.modal,.modal-wide,.modal-lg{width:100%;max-width:100%;max-height:92dvh;border-radius:20px 20px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom,0px))}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:22;display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface-elevated);border-top:1px solid var(--border);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 20px #00000014}.mobile-nav-btn{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 4px;border-radius:10px;font-size:.72rem;font-weight:500}.mobile-nav-btn.active{color:var(--accent);background:var(--accent-soft);font-weight:600}}@media(max-width:420px){.hide-xs{display:none}.home-kpi-grid{gap:10px}}.topbar-left{overflow:hidden}.topbar-actions{flex-shrink:0}@media(max-width:960px){.hide-mobile{display:none!important}.topbar-util{padding:10px 12px;gap:8px}.topbar-search-btn{max-width:none;padding:8px 10px;font-size:.84rem;min-width:0}}.book-cover-img{width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .28s ease}.book-cover-img.is-loaded{opacity:1}.book-cover-shimmer{position:relative;overflow:hidden}.book-cover-shimmer:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.22) 45%,transparent 70%);background-size:200% 100%;animation:coverShimmer 1.2s ease-in-out infinite}@keyframes coverShimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.modal-backdrop{overscroll-behavior:contain}.modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.bookshelf-plank-3d{display:flex;flex-wrap:wrap;align-items:flex-end;gap:22px 18px;padding:26px 22px 18px;perspective:1100px}.shelf-book-3d{position:relative;display:inline-flex;align-items:stretch;border:0;padding:0;background:transparent;width:auto;height:204px;transform-style:preserve-3d;transform:rotateY(-24deg);transition:transform .3s ease,filter .3s ease;filter:drop-shadow(6px 10px 10px rgba(0,0,0,.22))}.shelf-book-3d.book-spine-thick{height:214px}.shelf-book-3d.book-spine-med{height:202px}.shelf-book-3d.book-spine-thin{height:188px}.shelf-book-3d:hover,.shelf-book-3d:focus-visible{transform:translateY(-10px) rotateY(-8deg) scale(1.03);filter:drop-shadow(10px 16px 18px rgba(0,0,0,.32));z-index:4}.shelf-book-spine{width:34px;height:100%;border-radius:4px 0 0 4px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#fffdf8;box-shadow:inset -3px 0 6px #00000047,inset 2px 0 3px #ffffff24}.shelf-book-3d.book-spine-thick .shelf-book-spine{width:44px}.shelf-book-3d.book-spine-thin .shelf-book-spine{width:28px}.shelf-book-face{position:relative;width:118px;height:100%;border-radius:0 5px 5px 0;overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:inset 3px 0 6px #00000038}.shelf-book-face img{width:100%;height:100%;object-fit:cover;display:block}.shelf-book-face-fallback{padding:12px 10px;display:flex;flex-direction:column;gap:6px;text-align:left;color:#fffdf8;font-size:.78rem;line-height:1.25}.shelf-book-pages{width:7px;height:calc(100% - 8px);align-self:center;border-radius:0 3px 3px 0;background:repeating-linear-gradient(90deg,#f6f0e2,#f6f0e2 1px,#dcd2bc 1px,#dcd2bc 2px);box-shadow:inset 1px 0 2px #0000002e}.bookshelf-stack{display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 14px 16px;border-bottom:10px solid var(--border);border-radius:10px;background:var(--surface)}.book-stacked-btn{width:min(420px,100%);min-height:46px;border:0;border-radius:6px;padding:10px 16px;display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;gap:12px;color:#fffdf8;text-align:left;box-shadow:0 4px 10px #0000002e,inset 0 2px 3px #ffffff26;transition:transform .2s ease}.book-stacked-btn:hover{transform:translate(8px)}.book-stacked-band{width:4px;height:24px;border-radius:2px;background:#ffffff59}.book-stacked-title{font-family:Newsreader,Georgia,serif;font-weight:600;font-size:.96rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-stacked-author{font-size:.78rem;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.book-stacked-pages{font-size:.74rem;opacity:.8}@media(max-width:640px){.shelf-book-face{width:96px}.shelf-book-3d{height:174px}.shelf-book-3d.book-spine-thick{height:184px}.shelf-book-3d.book-spine-med{height:174px}.shelf-book-3d.book-spine-thin{height:162px}.book-stacked-author{display:none}}.wood-bookcase{background:linear-gradient(180deg,#211610,#1a110c);border:14px solid #2b1c14;border-radius:12px;box-shadow:0 18px 40px #00000052,inset 0 10px 26px #000000a6,inset 0 0 0 2px #3b271c;overflow:hidden;display:flex;flex-direction:column}.wood-shelf-row{position:relative;display:flex;flex-direction:column}.wood-shelf-books{display:flex;flex-wrap:wrap;align-items:flex-end;gap:3px;min-height:224px;padding:26px 20px 0;background:radial-gradient(ellipse at 50% 0%,rgba(255,224,178,.06),transparent 70%)}.wood-shelf-ledge{height:16px;width:100%;background:linear-gradient(180deg,#432c1f,#2c1c13 55%,#1d120c);box-shadow:0 8px 18px #0000008c,inset 0 2px 1px #ffe2be24}.wood-spine-btn{position:relative;border:0;padding:0;border-radius:3px 3px 0 0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fffdf8;box-shadow:2px 0 6px #0000008c,-1px 0 3px #0006;transition:transform .22s ease,box-shadow .22s ease}.wood-spine-btn.book-spine-thick{width:52px;height:204px}.wood-spine-btn.book-spine-med{width:44px;height:194px}.wood-spine-btn.book-spine-thin{width:36px;height:182px}.wood-spine-btn:hover,.wood-spine-btn:focus-visible{transform:translateY(-10px);box-shadow:0 12px 22px #000000a6;z-index:3}.wood-spine-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;filter:brightness(.62) saturate(1.15);pointer-events:none}.wood-spine-sheen{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,#0000007a,#fff3 18%,#ffffff0a 42%,#0000002e 78%,#0000008c);box-shadow:inset 0 3px #ffffff24,inset 0 -3px 4px #00000073}.wood-spine-content{position:relative;z-index:2;height:100%;width:100%;padding:10px 4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-shadow:0 1px 4px rgba(0,0,0,.9)}.wood-spine-top{font-family:JetBrains Mono,monospace;font-size:.65rem;font-weight:700;color:#ffe3b0}.wood-spine-title{writing-mode:vertical-rl;text-orientation:mixed;font-family:Newsreader,Georgia,serif;font-weight:700;font-size:.84rem;letter-spacing:.02em;max-height:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wood-spine-author{font-size:.58rem;text-transform:uppercase;letter-spacing:.06em;opacity:.9;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){.wood-bookcase{border-width:10px}.wood-shelf-books{padding:18px 12px 0;min-height:190px}.wood-spine-btn.book-spine-thick{width:44px;height:178px}.wood-spine-btn.book-spine-med{width:38px;height:168px}.wood-spine-btn.book-spine-thin{width:32px;height:158px}}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-card{display:flex;flex-direction:column;gap:6px}.book-stacked-btn{position:relative;overflow:hidden}.book-stacked-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55) saturate(1.15);pointer-events:none}.book-stacked-sheen{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,#fff3,#ffffff0a 30%,#0000002e 72%,#00000080)}.book-stacked-band,.book-stacked-title,.book-stacked-author,.book-stacked-pages{position:relative;z-index:2;text-shadow:0 1px 4px rgba(0,0,0,.85)}.landing-shell{min-height:100vh;background:var(--bg);color:var(--text)}.landing-hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:#17100c;color:#f7f1e5}.landing-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.landing-wall{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:space-between;background:#221610;opacity:1}.landing-wall-row{flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-height:190px}.landing-wall-books{display:flex;align-items:flex-end;justify-content:center;gap:4px;padding:18px 10px 0;overflow:hidden}.landing-wall-ledge{height:16px;width:100%;background:linear-gradient(180deg,#3c2619,#24160e 60%,#140c08);box-shadow:0 8px 18px #000000b3,inset 0 2px 1px #ffe0b91f}.landing-spine{position:relative;flex-shrink:0;border-radius:3px 3px 0 0;padding:10px 5px 8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#fffaf0eb;box-shadow:inset 4px 0 6px #ffffff24,inset -4px 0 8px #00000073,2px 0 6px #0000008c}.landing-spine-thick{width:54px;height:188px}.landing-spine-med{width:44px;height:174px}.landing-spine-thin{width:34px;height:160px}.landing-spine-title{writing-mode:vertical-rl;text-orientation:mixed;font-family:Newsreader,Georgia,serif;font-size:.78rem;font-weight:700;max-height:122px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.75)}.landing-spine-author{font-size:.52rem;text-transform:uppercase;letter-spacing:.06em;opacity:.8;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-rust{background:linear-gradient(155deg,#9c4a2b,#5e2715)}.sp-sage{background:linear-gradient(155deg,#3f6e5c,#214034)}.sp-ochre{background:linear-gradient(155deg,#b87e34,#6e4616)}.sp-wine{background:linear-gradient(155deg,#7d2e3d,#471520)}.sp-slate{background:linear-gradient(155deg,#4b5c6e,#26313d)}.sp-forest{background:linear-gradient(155deg,#2d593e,#163322)}.sp-gold{background:linear-gradient(155deg,#c79a44,#7c5b1c)}.sp-teal{background:linear-gradient(155deg,#2d6f73,#174044)}.sp-plum{background:linear-gradient(155deg,#6b4363,#3a2036)}.sp-crimson{background:linear-gradient(155deg,#a62b2b,#5c1313)}.sp-navy{background:linear-gradient(155deg,#2d3e66,#162038)}.sp-sand{background:linear-gradient(155deg,#b39b78,#735f43)}.sp-indigo{background:linear-gradient(155deg,#424273,#232345)}.sp-olive{background:linear-gradient(155deg,#626b39,#39401f)}.sp-charcoal{background:linear-gradient(155deg,#363331,#1b1918)}.landing-vignette{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#140c0894,#140c0838 34%,#140c089e 64%,#100a07e6)}.landing-nav{position:relative;z-index:4;max-width:1220px;width:100%;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.landing-brand-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:#fbf8f1;color:#231b15;text-decoration:none;font-family:Newsreader,Georgia,serif;font-weight:700;font-size:1.05rem;box-shadow:0 8px 24px #00000059}.landing-brand-pill em{color:#9b4d2b;font-style:italic}.landing-nav-pills{display:flex;align-items:center;gap:8px}.landing-pill{border:1px solid rgba(251,248,241,.25);background:#fbf8f1;color:#231b15;text-decoration:none;padding:9px 16px;border-radius:999px;font-size:.88rem;font-weight:600;transition:transform .18s ease,background-color .18s ease}.landing-pill:hover{transform:translateY(-1px)}.landing-pill-ghost{background:#140e0aa6;color:#fbf8f1;border-color:#fbf8f161;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.landing-pill-accent{background:#e8a87c;color:#23150e;border-color:#e8a87c}.landing-hero-inner{position:relative;z-index:4;max-width:1100px;width:100%;margin:auto auto 0;padding:40px 24px 64px;display:flex;flex-direction:column;gap:18px}.landing-eyebrow-pill{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 7px;border-radius:999px;background:#140e0ac7;border:1px solid rgba(251,248,241,.2);color:#f3eadc;font-size:.84rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.landing-badge-new{background:#e8a87c;color:#23150e;font-family:JetBrains Mono,monospace;font-size:.68rem;font-weight:700;padding:3px 8px;border-radius:999px}.landing-wordmark{font-family:Newsreader,Georgia,serif;font-size:clamp(4.4rem,15vw,10.5rem);font-weight:700;line-height:.92;letter-spacing:-.04em;color:#fbf6ec;text-shadow:0 18px 48px rgba(0,0,0,.6);margin:0}.landing-wordmark em{color:#e8a87c;font-style:italic}.landing-hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:24px;padding-top:8px}.landing-tagline{font-family:Newsreader,Georgia,serif;font-size:clamp(1.3rem,2.8vw,1.9rem);line-height:1.3;max-width:24ch;color:#f3eadc;margin:0}.landing-hero-ctas{display:flex;flex-wrap:wrap;gap:12px}.landing-cta-primary{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:14px 26px;background:#e8a87c;color:#23150e;font-size:.96rem;font-weight:700;box-shadow:0 12px 28px #00000059;transition:transform .18s ease,background-color .18s ease}.landing-cta-primary:hover{background:#f2bc96;transform:translateY(-2px)}.landing-cta-secondary{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(251,248,241,.45);border-radius:999px;padding:14px 24px;background:#140e0a99;color:#fbf8f1;font-size:.94rem;font-weight:600;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background-color .18s ease,transform .18s ease}.landing-cta-secondary:hover{background:#fbf8f124;transform:translateY(-2px)}.landing-section{padding:72px 24px}.landing-section-alt{background:var(--surface);border-block:1px solid var(--border)}.landing-container{max-width:1100px;margin:0 auto}.landing-section-head{max-width:660px;display:flex;flex-direction:column;gap:8px}.landing-section-head h2{font-size:clamp(1.8rem,3.6vw,2.6rem)}.landing-features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.landing-feature-icon{width:40px;height:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.landing-final-cta{align-items:flex-start;padding:36px}.landing-footer{border-top:1px solid var(--border);padding:24px}.auth-modal-wrap{width:min(460px,100%)}@media(max-width:900px){.landing-features-grid{grid-template-columns:1fr}.landing-nav{padding:14px 16px}.landing-hero-inner{padding:28px 16px 44px}.landing-section{padding:48px 16px}.landing-final-cta{padding:24px 18px}}.book-tiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:16px}.book-tile{display:flex;flex-direction:column;text-align:left;border:1px solid var(--border);border-radius:14px;background:var(--surface-elevated);overflow:hidden;padding:0;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.book-tile:hover,.book-tile:focus-visible{transform:translateY(-4px);border-color:var(--accent);box-shadow:var(--shadow)}.book-tile-top{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:var(--surface);border-bottom:1px solid var(--border)}.book-tile-status{display:inline-flex;align-items:center;gap:5px;font-family:JetBrains Mono,monospace;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.book-tile-status i{width:6px;height:6px;border-radius:50%;background:var(--muted)}.book-tile-status.tone-reading{color:var(--accent)}.book-tile-status.tone-reading i{background:var(--accent)}.book-tile-status.tone-read{color:var(--sage)}.book-tile-status.tone-read i{background:var(--sage)}.book-tile-status.tone-tbr i{background:#c58b32}.book-tile-status.tone-dnf{color:var(--danger)}.book-tile-status.tone-dnf i{background:var(--danger)}.book-tile-fav{color:var(--accent);display:inline-flex}.book-tile-cover{width:100%;aspect-ratio:2 / 3;overflow:hidden}.book-tile-cover .book-cover{width:100%;height:100%;border-radius:0;box-shadow:none}.book-tile-body{padding:10px 10px 12px;display:flex;flex-direction:column;gap:3px}.book-tile-title{font-family:Inter,system-ui,sans-serif;font-size:.86rem;font-weight:600;line-height:1.25;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-tile-author{font-size:.74rem;color:var(--muted);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-tile-stars{display:inline-flex;gap:2px;color:var(--accent);margin-top:3px}.book-tile-progress{margin-top:5px;display:flex;flex-direction:column;gap:3px;font-size:.68rem;color:var(--muted)}.book-tile-progress .progress-bar{height:4px}.sidebar-reading-wrap{padding:0 10px 10px}.sidebar-reading-card{width:100%;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px;background:#1b1613;color:#f4ece0;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;text-align:left;transition:transform .16s ease,border-color .16s ease}.sidebar-reading-card:hover{transform:translateY(-1px);border-color:var(--accent)}.sidebar-reading-thumb{width:38px;height:54px;border-radius:6px;overflow:hidden;display:block}.sidebar-reading-thumb img{width:100%;height:100%;object-fit:cover;display:block}.sidebar-reading-info{min-width:0;display:flex;flex-direction:column;gap:3px}.sidebar-reading-label{font-family:JetBrains Mono,monospace;font-size:.64rem;color:#e8a87c;text-transform:lowercase}.sidebar-reading-title{font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-reading-bar{width:100%;height:4px;border-radius:999px;accent-color:#e8a87c}.sidebar-reading-meta{font-size:.66rem;color:#b7aaa0}.shelves-room{background:linear-gradient(180deg,#1b1310,#140e0c);color:#f4ece0;border-radius:22px;padding:26px 24px 32px;border:1px solid #2e2019;box-shadow:0 18px 44px #00000040}.shelves-room-header{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:14px}.shelves-eyebrow{font-family:JetBrains Mono,monospace;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#e8a87c;margin:0}.shelves-room-title{font-family:Newsreader,Georgia,serif;font-size:clamp(2rem,4vw,2.8rem);color:#fbf6ec;line-height:1}.shelves-room-title em{color:#e8a87c;font-style:italic}.shelves-mode-pills{display:inline-flex;padding:4px;border-radius:999px;background:#271c17;border:1px solid #3a2a22;gap:4px}.shelves-pill{border:0;background:transparent;color:#c5b6a8;padding:7px 14px;border-radius:999px;font-size:.84rem;font-weight:600;display:inline-flex;align-items:center;gap:6px}.shelves-pill.active{background:#e8a87c;color:#21150e}.shelves-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.shelves-rows-col{min-width:0}.shelves-row-section{display:flex;flex-direction:column;gap:8px}.shelves-row-meta{font-family:JetBrains Mono,monospace;font-size:.76rem;color:#b7a89c}.shelves-row-meta strong{color:#fbf6ec}.shelves-plank-scroll{overflow-x:auto;padding-top:8px;scrollbar-width:thin}.shelves-plank-items{display:flex;align-items:flex-end;gap:4px;min-height:204px;padding:14px 12px 0;background:radial-gradient(ellipse at 50% 0%,rgba(255,224,178,.05),transparent 72%)}.shelves-plank-items.mode-covers{gap:12px}.shelf-cover-item{border:0;padding:0;background:transparent;flex-shrink:0;border-radius:6px 6px 0 0;overflow:hidden;box-shadow:0 8px 18px #0000008c;transition:transform .2s ease}.shelf-cover-item .book-cover{width:112px;height:168px;border-radius:6px 6px 0 0}.shelf-cover-item:hover,.shelf-cover-item.is-selected{transform:translateY(-10px);outline:2px solid #e8a87c}.wood-spine-btn.is-selected,.book-stacked-btn.is-selected{outline:2px solid #e8a87c;transform:translateY(-8px)}.shelves-stack-shelf{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 10px 10px;border-bottom:14px solid #382419;border-radius:8px}.shelves-empty{padding:40px 20px;text-align:center;align-items:center;color:#cbbdb0}.shelves-inspector{position:sticky;top:82px;background:#231814;border:1px solid #3a2921;border-radius:18px;padding:16px}.shelves-inspector-top{display:flex;align-items:center;justify-content:space-between}.shelves-close-btn{width:28px;height:28px;border-radius:999px;border:1px solid #49352b;background:transparent;color:#d6c8bc;display:grid;place-items:center}.spotlight-stage{position:relative;display:flex;flex-direction:column;align-items:center;padding:26px 16px 0;border-radius:14px;background:#170f0c;overflow:hidden}.spotlight-lamp{position:absolute;top:0;width:44px;height:12px;border-radius:0 0 22px 22px;background:linear-gradient(180deg,#523d31,#ffe4b5);box-shadow:0 6px 24px 6px #ffd4948c}.spotlight-cone{position:absolute;top:6px;width:220px;height:200px;background:radial-gradient(ellipse at 50% 0%,rgba(255,219,160,.28) 0%,rgba(255,219,160,.06) 58%,transparent 78%);pointer-events:none}.spotlight-book{position:relative;z-index:2;box-shadow:0 12px 26px #000000a6;border-radius:6px;overflow:hidden}.spotlight-book .book-cover{width:112px;height:168px}.spotlight-ledge{width:100%;height:12px;margin-top:4px;background:linear-gradient(180deg,#4b3123,#2a1a12);box-shadow:inset 0 2px 1px #ffe0b929}.shelves-inspector-title{text-align:center}.shelves-inspector-title h3{color:#fbf6ec;font-size:1.15rem}.shelves-inspector-title p{margin:2px 0 0;font-size:.82rem;color:#bfaea0}.shelves-progress-meta{font-size:.72rem;color:#bfaea0}.shelves-open-btn{width:100%}.shelves-synopsis{font-size:.8rem;line-height:1.5;color:#d3c4b7;margin:0}.shelves-meta-list{margin:0;display:flex;flex-direction:column;gap:6px;border-top:1px solid #35251e;padding-top:10px;font-size:.78rem}.shelves-meta-list>div{display:flex;justify-content:space-between;gap:8px}.shelves-meta-list dt{color:#9e8e81}.shelves-meta-list dd{margin:0;color:#f4ece0}.shelves-stars{display:inline-flex;gap:2px;color:#e8a87c}@media(max-width:960px){.shelves-stage-grid{grid-template-columns:1fr}.shelves-inspector{position:static}}@media(max-width:768px){.book-tiles-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.book-tile{border-radius:12px}.book-tile-top{padding:4px 6px}.book-tile-status{font-size:.56rem}.book-tile-body{padding:7px 7px 9px}.book-tile-title{font-size:.76rem}.book-tile-author{font-size:.66rem}.shelves-room{padding:18px 14px 24px;border-radius:18px}.shelf-cover-item .book-cover{width:96px;height:144px}.mobile-bottom-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(5,1fr);align-items:center;border-radius:999px;padding:6px 8px;border:1px solid var(--border);background:var(--surface-elevated);box-shadow:0 12px 32px #00000038}.mobile-nav-add{width:46px;height:46px;margin:0 auto;border:0;border-radius:999px;background:var(--text);color:var(--bg);display:grid;place-items:center;box-shadow:0 6px 16px #00000040}.mobile-nav-btn{border-radius:999px;padding:6px 2px;font-size:.66rem}}.landing-spine{overflow:hidden}.landing-spine-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;filter:brightness(.92) saturate(1.18);pointer-events:none}.landing-spine-title,.landing-spine-author{position:relative;z-index:2}.modal>*,.discussion-filters{flex-shrink:0}.sidebar-nav{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.sidebar-reading-wrap,.sidebar-footer{flex-shrink:0}.sidebar-logout-item{color:var(--danger)}@media(max-width:960px){.sidebar{top:0;bottom:0;height:auto;max-height:100dvh;overscroll-behavior:contain}.sidebar-footer{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}}.error-boundary-shell{padding:24px 16px;display:flex;justify-content:center}.error-boundary-card{max-width:520px;width:100%}
