:root{--text-primary: #25153f;--text-muted: #6c5a8b;--bg-page: #f6f2ff;--bg-page-accent: #fcf9ff;--surface: #ffffff;--surface-soft: #f4efff;--tile-surface: #fbf9ff;--border: #dccff1;--border-strong: #cbb7e8;--focus-ring: #8b5cf6;--button-text: #3b2464;--text-error: #b42318;--shadow-color: rgba(76, 29, 149, .18);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:var(--text-primary);background-color:var(--bg-page);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root[data-theme=dark]{--text-primary: #efe9ff;--text-muted: #b6a8d6;--bg-page: #1a1330;--bg-page-accent: #241a3f;--surface: #241a3f;--surface-soft: #2e2250;--tile-surface: #2e2250;--border: #4d3d72;--border-strong: #614c8c;--focus-ring: #a78bfa;--button-text: #efe9ff;--text-error: #ff8ca6;--shadow-color: rgba(0, 0, 0, .35)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:var(--text-primary);background:radial-gradient(circle at top,var(--bg-page-accent),var(--bg-page) 36%)}button{border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);padding:.45rem .9rem;cursor:pointer;font:inherit;font-weight:600;color:var(--button-text);transition:transform .12s ease,box-shadow .12s ease}button:hover:enabled{transform:translateY(-1px);box-shadow:0 4px 10px var(--shadow-color)}button:disabled{opacity:.65;cursor:not-allowed}input,select{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.5rem .6rem;font:inherit;color:inherit}textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);color:inherit}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}:root[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.15)}.app-root{--app-header-offset: 5.35rem;--app-footer-offset: 4.6rem;min-height:100vh}.app-shell{width:min(1120px,100%);margin:0 auto;padding:var(--app-header-offset) 1rem var(--app-footer-offset)}.app-footer-shell{position:fixed;left:0;right:0;bottom:0;z-index:20;width:100%;padding:0}.app-footer{width:100%;margin:0;padding:.65rem .85rem;display:flex;align-items:center;justify-content:space-between;gap:.9rem;flex-wrap:wrap;border-top:1px solid var(--border);border-radius:0;background:var(--surface);box-shadow:0 6px 18px #0f172a0f}.app-footer-text{margin:0;font-size:.82rem;color:var(--text-muted)}.app-footer-links{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap}.app-header-shell{position:fixed;left:0;right:0;top:0;z-index:20;width:100%;padding:0}.dashboard-content{width:100%;display:flex;flex-direction:column;gap:1rem}.card{border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 6px 18px #0f172a0f}.ad-slot{width:100%;min-height:96px;display:flex;flex-direction:column;justify-content:center;gap:.45rem;padding:.85rem;border:1px dashed color-mix(in srgb,var(--border) 78%,var(--text-muted));border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 92%,var(--background)) 0%,var(--surface) 100%)}.ad-slot-label{align-self:flex-start;color:var(--text-muted);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ad-slot--dashboard{margin:.1rem 0}.ad-slot--chapter{margin:.85rem 0 0}.app-header{width:100%;margin:0;padding:.65rem .85rem;display:flex;justify-content:space-between;align-items:center;gap:.9rem;flex-wrap:nowrap;border-bottom:1px solid var(--border);border-radius:0;background:var(--surface);box-shadow:0 6px 18px #0f172a0f}.app-header-left{display:flex;align-items:center;gap:.5rem;min-width:0}.app-header-center{flex:1;min-width:0;display:flex;justify-content:center}.app-header-reading-progress{width:min(260px,100%);display:flex;flex-direction:column;align-items:center;gap:.22rem}.app-header-reading-progress-value{color:var(--text-muted);font-size:.72rem;font-weight:800}.app-header-reading-progress-track{--chapter-read-progress: 0%;position:relative;width:100%;height:.42rem;border-radius:999px;background:color-mix(in srgb,var(--surface) 82%,var(--border));border:1px solid var(--border);overflow:hidden}.app-header-reading-progress-fill{position:absolute;left:0;top:0;bottom:0;width:var(--chapter-read-progress, 0%);border-radius:inherit;background:var(--text-muted)}.app-header-right{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;min-width:0}.app-logo-link{display:inline-flex;border-radius:10px;text-decoration:none}.app-logo-link:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.app-logo{width:176px;height:44px;display:block}.header-actions{display:flex;align-items:center;gap:.25rem}.header-admin-menu-wrap,.header-notifications-wrap{position:relative}.header-nav-btn{border:0;background:transparent;box-shadow:none;padding:.32rem .5rem;border-radius:8px;color:var(--text-primary);font-size:.88rem;font-weight:600}.header-nav-link{display:inline-flex;align-items:center;text-decoration:none}.header-admin-menu-trigger{display:inline-flex;align-items:center;gap:.35rem}.header-admin-menu{position:absolute;top:calc(100% + .3rem);right:0;z-index:8;min-width:160px;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.35rem;display:grid;gap:.2rem}.header-admin-menu-item{display:flex;align-items:center;text-decoration:none;color:var(--text-primary);font:inherit;font-size:.9rem;padding:.4rem .45rem;border-radius:8px}.header-admin-menu-item:hover{background:var(--surface-soft)}.header-notifications-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:2.15rem;min-height:2rem}.header-notifications-badge{position:absolute;top:.08rem;right:.08rem;min-width:1rem;height:1rem;padding:0 .22rem;border-radius:999px;background:#b42318;color:#fff;font-size:.64rem;font-weight:800;line-height:1rem;text-align:center}.header-notifications-menu{position:absolute;top:calc(100% + .3rem);right:0;z-index:8;width:min(24rem,calc(100vw - 1.5rem));max-height:26rem;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 18px 40px #0f172a24}.header-notifications-menu-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .9rem .65rem;border-bottom:1px solid var(--border)}.header-notifications-read-all{border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:.78rem;font-weight:700;padding:0}.header-notifications-read-all:disabled{opacity:.45}.header-notifications-list{display:grid;max-height:22rem;overflow-y:auto}.header-notification-item{border:0;border-radius:0;background:transparent;color:inherit;width:100%;text-align:left;display:grid;grid-template-columns:2.8rem minmax(0,1fr);align-items:start;gap:.72rem;padding:.82rem .9rem;border-bottom:1px solid color-mix(in srgb,var(--border) 75%,transparent)}.header-notification-item[data-has-cover=false]{grid-template-columns:minmax(0,1fr)}.header-notification-item:last-child{border-bottom:0}.header-notification-item[data-read-state=unread]{background:color-mix(in srgb,var(--surface-soft) 88%,#c2410c 12%)}.header-notification-item:hover{background:var(--surface-soft)}.header-notification-copy{display:grid;gap:.18rem}.header-notification-content{min-width:0;display:grid;gap:.34rem}.header-notification-cover{width:2.8rem;height:3.8rem;object-fit:cover;border-radius:.7rem;border:1px solid var(--border);background:var(--surface);box-shadow:0 10px 20px #0f172a14}.header-notification-title{font-size:.86rem;font-weight:800;color:var(--text-primary)}.header-notification-message{font-size:.8rem;line-height:1.4;color:var(--text-muted);overflow-wrap:anywhere}.header-notification-time{font-size:.72rem;color:var(--text-muted)}.header-notifications-empty{margin:0;padding:1rem .9rem 1.1rem;color:var(--text-muted);font-size:.84rem}.header-notifications-footer{border-top:1px solid var(--border);padding:.7rem .9rem .85rem}.header-notifications-view-all{color:var(--text-primary);text-decoration:none;font-size:.82rem;font-weight:700}.header-notifications-view-all:hover{text-decoration:underline}.notifications-page{display:grid;gap:1rem}.notifications-hero-header{align-items:flex-start}.notifications-hero-actions{display:grid;justify-items:end;gap:.35rem}.notifications-summary{margin:0;color:var(--text-muted);font-size:.88rem;font-weight:700}.notifications-panel{display:grid;gap:.85rem}.notifications-page-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.notifications-page-item{width:100%;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:inherit;text-align:left;display:grid;grid-template-columns:3.3rem minmax(0,1fr);align-items:start;gap:.9rem;padding:.9rem}.notifications-page-item[data-read-state=unread]{background:color-mix(in srgb,var(--surface-soft) 88%,#c2410c 12%)}.notifications-page-item[data-has-cover=false]{grid-template-columns:minmax(0,1fr)}.notifications-page-item:hover{background:var(--surface-soft)}.header-user{display:inline-flex;align-items:center;gap:.42rem;font-size:.86rem;font-weight:700;color:var(--text-primary);max-width:14rem}.header-user-avatar{width:1.45rem;height:1.45rem;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);object-fit:cover;flex-shrink:0}.header-user-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-user-link{text-decoration:none;border-radius:8px;padding:.24rem .45rem}.header-user-link:hover{background:var(--surface-soft)}.header-nav-btn:hover:enabled{transform:none;box-shadow:none;background:var(--surface-soft)}.header-publish-btn{border:1px solid var(--border);background:var(--surface-soft)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;white-space:nowrap}.header-controls{display:flex;align-items:center;gap:.4rem}.theme-toggle{width:2rem;height:2rem;min-width:2rem;display:inline-flex;align-items:center;justify-content:center;padding:0;font-size:1rem;line-height:1}.theme-toggle-icon{width:1.2rem;height:1.2rem;display:block}.app-header h1{margin:0;font-size:1.5rem;line-height:1.2}.section-card{padding:1rem}.section-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem}.section-header h2{margin:0;font-size:1.1rem}.muted-text{margin:.25rem 0 0;color:var(--text-muted);font-size:.95rem}.muted-inline-link{border:0;background:none;padding:0;margin:0;font:inherit;color:var(--text-primary);text-decoration:underline;cursor:pointer}.muted-inline-link:hover{color:var(--text-primary)}.api-url{margin:0;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);padding:.35rem .75rem;font-size:.85rem;color:var(--text-primary)}.header-health-dot{width:.72rem;height:.72rem;border-radius:999px;background:#16a34a;box-shadow:0 0 0 2px #dcfce7;display:inline-block;cursor:help}.books-layout{display:grid;grid-template-columns:minmax(140px,170px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:.75rem;margin-bottom:.8rem}.books-section,.discovery-banner-section,.details-page,.profile-page{width:calc(100% + 10rem);margin-inline:-5rem}.discovery-banner-header{margin-bottom:.75rem}.discovery-banner-marquee{overflow:hidden;width:100%}.discovery-banner-rail{--banner-rail-gap: .85rem;list-style:none;margin:0;padding:0 0 .35rem;display:flex;align-items:stretch;gap:var(--banner-rail-gap);width:max-content;animation:discovery-banner-marquee 34s linear infinite;will-change:transform}.discovery-banner-marquee:hover .discovery-banner-rail{animation-play-state:paused}.discovery-banner-rail>li{width:300px;min-width:250px}.banner-book-tile{width:100%}.banner-book-tile-link{display:block;text-decoration:none;color:inherit}.banner-book-tile .book-cover-wrap{margin-bottom:0;border-radius:12px}@keyframes discovery-banner-marquee{0%{transform:translate(0)}to{transform:translate(calc(-50% - (var(--banner-rail-gap) / 2)))}}.books-top-filters-wrap{grid-column:2;grid-row:1}.books-layout-left{grid-column:1;grid-row:1 / span 2;min-height:0;align-self:start}.books-results-panel{grid-column:2;grid-row:2;min-width:0;display:flex;flex-direction:column;gap:.75rem}.books-genres-filter{height:auto}.books-top-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;align-items:end}.field--sort{justify-self:end}.language-filter-row{display:flex;align-items:end;gap:.5rem}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600;color:var(--text-primary);position:relative}.field-label-wrap{display:inline-flex;align-items:center;gap:.4rem;width:fit-content}.field-required-mark{color:#b42318;font-weight:800}.field-info-btn{width:1rem;height:1rem;min-width:1rem;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:700;line-height:1;border:1px solid var(--border);background:var(--surface-soft);color:var(--text-muted);box-shadow:none}.field-info-btn:hover{background:var(--surface)}.field-info-tooltip{position:absolute;left:0;top:calc(100% + .35rem);z-index:12;max-width:18rem;padding:.45rem .6rem;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--surface-soft) 92%,black);color:var(--text-primary);font-size:.76rem;font-weight:500;line-height:1.4;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(.15rem);transition:opacity .14s ease,transform .14s ease,visibility .14s ease}.field-info-btn:hover+.field-info-tooltip,.field-info-btn:focus-visible+.field-info-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.field--genres{min-height:0}.genres-chip-list{display:flex;flex-wrap:wrap;gap:.45rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.5rem;min-height:3rem}.genres-chip-list--scroll{max-height:6rem;overflow-y:auto;align-content:flex-start}.genres-chip-list--column{flex-direction:column;flex-wrap:nowrap;align-items:stretch;max-height:60vh}.genre-chip{border:1px solid var(--border);background:var(--surface-soft);border-radius:999px;padding:.28rem .62rem;font-size:.8rem;line-height:1.2}.genre-chip--active{border-color:#8b5cf6;background:#efe7ff;color:#6d28d9}.field-hint{font-size:.78rem;color:var(--text-muted)}.field-hint--attention{display:inline-flex;align-items:center;width:fit-content;padding:.2rem .55rem;border:1px solid color-mix(in srgb,#c0841a 45%,var(--border));border-radius:999px;background:color-mix(in srgb,#c0841a 12%,transparent);color:color-mix(in srgb,#f4c15d 68%,var(--text-primary));font-weight:600}.field-hint--saved{display:inline-flex;align-items:center;width:fit-content;padding:.2rem .55rem;border:1px solid color-mix(in srgb,#4f9b6e 40%,var(--border));border-radius:999px;background:color-mix(in srgb,#4f9b6e 14%,transparent);color:color-mix(in srgb,#8ed1a8 62%,var(--text-primary));font-weight:600;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.filter-actions{display:flex;align-items:flex-end;gap:.5rem}.books-top-filters #search-input,.language-filter-row .filter-actions>button{height:calc(1.5em + 1rem + 2px)}.language-filter-row .filter-actions>button{font-size:.88rem;display:inline-flex;align-items:center;padding-block:0}.active-filters{margin:0 0 1rem;color:var(--text-muted);font-size:.92rem}.book-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.book-grid>li{display:flex}.books-load-more{margin-top:.75rem;display:flex;justify-content:center}.book-card{border:1px solid var(--border);border-radius:10px;background:var(--tile-surface);padding:.88rem;width:100%;height:100%}.book-card--interactive{transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;cursor:pointer}.book-card-main-link{display:block;text-decoration:none;color:inherit}.book-card--interactive:hover{transform:none;border-color:#8b5cf6;box-shadow:0 8px 16px #5b21b63d}.book-cover-wrap{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);overflow:hidden;margin-bottom:.5rem;aspect-ratio:3 / 4;position:relative}.book-cover-wrap:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ece3fb 25%,#f5efff,#ece3fb 75%);background-size:220% 100%;animation:cover-shimmer 1.3s infinite;transition:opacity .2s ease}.book-cover-wrap--loaded:before{opacity:0}.book-cover{width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .2s ease}.book-cover--loaded{opacity:1}@keyframes cover-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.book-card h3{margin:0 0 .42rem;font-size:1.02rem;line-height:1.3}.book-card p{margin:.16rem 0;display:flex;flex-direction:column;gap:.05rem;color:var(--text-primary);font-size:.9rem}.book-card p span{color:var(--text-muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.book-publisher-link{text-decoration:none;color:var(--focus-ring);font-weight:600}.book-publisher-link:hover{text-decoration:underline}.book-card-publisher{margin:0 0 .4rem;color:var(--text-muted);font-size:.9rem}.book-card .book-card-summary{margin:0 0 .5rem;color:var(--text-muted);font-size:.95rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;max-height:5.8em}.book-card-metrics{margin:.1rem 0 .45rem;display:flex;justify-content:center;align-items:flex-start;gap:1rem}.book-card-metrics .book-metric-indicator{min-width:2.3rem}.book-card-cover-area{position:relative;margin-bottom:.5rem}.book-card-cover-area .book-cover-wrap{margin-bottom:0}.book-card-title-link{display:block;text-decoration:none;color:inherit}.book-card-title-link:hover h3{text-decoration:underline}.book-favorite-heart-btn{position:absolute;top:.42rem;right:.42rem;z-index:2;width:2rem;height:2rem;min-width:2rem;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.02rem;line-height:1;color:#5b4a78;background:#ffffffd1;border:1px solid rgba(124,102,168,.38);box-shadow:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.book-favorite-heart-btn:hover:enabled{transform:none;box-shadow:none;background:#fffffff2}.book-favorite-heart-btn--active{color:#831843;background:#ec48996b;border-color:#db2777bf}.book-favorite-heart-btn--active:hover:enabled{background:#ec48998a}.book-favorite-heart-btn--inline{position:static}:root[data-theme=dark] .book-favorite-heart-btn{color:#f8fafcf2;background:#47556975;border-color:#94a3b88f}:root[data-theme=dark] .book-favorite-heart-btn:hover:enabled{background:#64748b85}:root[data-theme=dark] .book-favorite-heart-btn--active{color:#fff6fb;background:#ec48999e;border-color:#f472b6e6}:root[data-theme=dark] .book-favorite-heart-btn--active:hover:enabled{background:#ec4899b8}.book-card-actions{margin-top:.4rem;display:flex;justify-content:flex-start}.book-card-favorite-btn{padding-left:0}.book-card-genres-preview{margin-top:.45rem;display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}.book-card-genre-chip{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--text-primary);padding:.2rem .55rem;font-size:.78rem;font-weight:600;line-height:1.2}.book-card-genre-more{color:var(--text-primary);font-size:.9rem;font-weight:700}.book-card-genre-more-wrap{position:relative;display:inline-flex;align-items:center;cursor:default;outline:none}.book-card-genre-tooltip{position:absolute;left:50%;bottom:calc(100% + .45rem);transform:translate(-50%) translateY(.2rem);min-width:10rem;max-width:14rem;padding:.45rem .6rem;border-radius:10px;background:color-mix(in srgb,var(--surface-soft) 88%,black);border:1px solid var(--border);color:var(--text-primary);font-size:.78rem;font-weight:600;line-height:1.4;box-shadow:0 10px 24px #00000038;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .14s ease,transform .14s ease,visibility .14s ease;z-index:8;text-align:center}.book-card-genre-tooltip:after{content:"";position:absolute;left:50%;top:100%;width:.65rem;height:.65rem;background:inherit;border-right:1px solid var(--border);border-bottom:1px solid var(--border);transform:translate(-50%) rotate(45deg)}.book-card-genre-more-wrap:hover .book-card-genre-tooltip,.book-card-genre-more-wrap:focus-visible .book-card-genre-tooltip{opacity:1;visibility:visible;transform:translate(-50%) translateY(0)}.error{margin:0 0 .75rem;color:var(--text-error);font-weight:600;font-size:.92rem}.success{margin:0 0 .75rem;color:#15703e;font-weight:600;font-size:.92rem}.create-book-page{max-width:900px}.admin-banners-page,.admin-comment-reports-page{display:flex;flex-direction:column;gap:1rem}.admin-banners-hero,.admin-banner-editor,.admin-banner-list,.admin-comment-reports-hero,.admin-comment-reports-list{width:calc(100% + 10rem);margin-inline:-5rem}.admin-comment-reports-layout{width:calc(100% + 10rem);margin-inline:-5rem;align-items:start}.admin-comment-reports-layout .profile-nav,.admin-comment-reports-layout .profile-panel{min-width:0}.section-kicker{margin:0;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}.admin-comment-reports-stats{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.admin-comment-reports-stat{display:inline-flex;flex-direction:column;gap:.15rem;min-width:8rem;padding:.7rem .85rem;border-radius:12px;border:1px solid var(--border);background:var(--tile-surface);color:var(--text-primary);text-align:left;cursor:pointer;box-shadow:none}.admin-comment-reports-stat:hover{transform:none;box-shadow:none;border-color:#8f6aff59}.admin-comment-reports-stat--active{border-color:#8f6aff80;background:#8f6aff24;box-shadow:inset 0 0 0 1px #8f6aff24}.admin-comment-reports-stat strong{font-size:1.2rem}.admin-report-kind-switcher .admin-comment-reports-stat{position:relative;min-width:11rem}.admin-report-kind-dot{position:absolute;top:50%;right:.7rem;transform:translateY(-50%);width:.65rem;height:.65rem;border-radius:999px;background:#ef4444;box-shadow:0 0 0 .16rem var(--tile-surface);animation:admin-report-kind-dot-glow 1.8s ease-in-out infinite}@keyframes admin-report-kind-dot-glow{0%,to{box-shadow:0 0 0 .16rem var(--tile-surface),0 0 .3rem #ef4444a6,0 0 .8rem #ef44448c}50%{box-shadow:0 0 0 .16rem var(--tile-surface),0 0 .55rem #f87171f2,0 0 1.2rem #ef4444cc}}[data-theme=dark] .admin-report-kind-dot{animation-name:admin-report-kind-dot-glow-dark}@keyframes admin-report-kind-dot-glow-dark{0%,to{box-shadow:0 0 0 .16rem var(--tile-surface),0 0 .2rem #ef44448c,0 0 .55rem #ef444473}50%{box-shadow:0 0 0 .16rem var(--tile-surface),0 0 .4rem #f87171cc,0 0 .9rem #ef4444b3}}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.admin-comment-report-list-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.admin-comment-report-card{border:1px solid var(--border);border-radius:14px;background:var(--tile-surface);padding:1rem;display:flex;flex-direction:column;gap:.8rem}.admin-comment-report-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.admin-comment-report-card-top h3,.admin-comment-report-body h4{margin:0}.admin-comment-report-status{border-radius:999px;padding:.22rem .6rem;border:1px solid var(--border);background:var(--surface-soft);font-size:.75rem;font-weight:700;text-transform:capitalize}.admin-comment-report-status--open{border-color:color-mix(in srgb,#b54708 40%,var(--border));background:color-mix(in srgb,#b54708 12%,transparent)}.admin-comment-report-status--reviewed{border-color:var(--border);background:var(--surface-soft)}.admin-comment-report-status--dismissed{background:color-mix(in srgb,#2f6fed 12%,transparent);border-color:color-mix(in srgb,#2f6fed 40%,var(--border));color:#2257c7}.admin-comment-report-status--deleted{background:color-mix(in srgb,#b54708 12%,transparent);border-color:color-mix(in srgb,#b54708 40%,var(--border));color:#9a4b08}.admin-comment-report-status--banned{background:color-mix(in srgb,#b42318 14%,transparent);border-color:color-mix(in srgb,#b42318 48%,var(--border));color:#a61b13}.admin-comment-report-status--action{align-self:center}[data-theme=dark] .admin-comment-report-status--deleted{background:color-mix(in srgb,#f79009 18%,transparent);border-color:color-mix(in srgb,#f79009 52%,var(--border));color:#ffcc78}[data-theme=dark] .admin-comment-report-status--banned{background:color-mix(in srgb,#f04438 18%,transparent);border-color:color-mix(in srgb,#f04438 52%,var(--border));color:#ff9b95}.admin-comment-report-meta{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.admin-comment-report-meta div{display:flex;flex-direction:column;gap:.18rem}.admin-comment-report-meta dt{font-size:.76rem;font-weight:700;color:var(--text-secondary)}.admin-comment-report-meta dd{margin:0}.admin-comment-report-user-link{color:var(--link);text-decoration:none;font-weight:600}.admin-comment-report-user-link:hover{text-decoration:underline}.admin-comment-report-body{display:flex;flex-direction:column;gap:.45rem}.admin-comment-report-body p{margin:0}.admin-comment-report-counts{margin:.2rem 0 0}.admin-comment-report-filter-row{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 .9rem}.admin-comment-report-actions{display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-between;gap:1rem;width:100%}.admin-comment-report-actions-right{display:flex;align-items:center;gap:.65rem;margin-left:auto}.admin-comment-report-action{white-space:nowrap}.ghost-link.admin-comment-report-action--dismiss{background:color-mix(in srgb,#2f6fed 14%,var(--surface));border-color:color-mix(in srgb,#2f6fed 42%,var(--border));color:#2257c7}.ghost-link.admin-comment-report-action--ban{background:color-mix(in srgb,#b42318 16%,var(--surface));border-color:color-mix(in srgb,#b42318 48%,var(--border));color:#a61b13}.admin-banner-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.field--checkbox{justify-content:flex-end}.field--checkbox input{width:1.15rem;height:1.15rem}.admin-banner-form-actions{grid-column:1 / -1;display:flex;gap:.65rem}.admin-banner-list-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.admin-banner-card{border:1px solid var(--border);border-radius:12px;background:var(--tile-surface);padding:.9rem;display:flex;flex-direction:column;gap:.6rem;height:100%}.admin-banner-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.admin-banner-card-top h3{margin:0}.admin-banner-badge{border:1px solid var(--border);border-radius:999px;padding:.22rem .55rem;background:var(--surface-soft);font-size:.76rem;font-weight:700}.admin-banner-badge--active{border-color:color-mix(in srgb,#1f8f51 40%,var(--border));background:color-mix(in srgb,#1f8f51 12%,transparent)}.admin-banner-card-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:auto}.secondary-btn{background:var(--surface-soft)}.danger-btn{background:color-mix(in srgb,#b42318 12%,var(--surface));border-color:color-mix(in srgb,#b42318 40%,var(--border));color:var(--text-primary)}.create-book-hero{display:flex;flex-direction:column;gap:.35rem}.create-book-kicker{display:inline-flex;align-self:flex-start;padding:.14rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--focus-ring) 14%,transparent);border:1px solid color-mix(in srgb,var(--focus-ring) 35%,var(--border));color:var(--text-primary);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.create-book-hero h2,.create-book-hero h3{margin:0;font-size:clamp(1.45rem,2vw,1.85rem);line-height:1.1}.create-book-hero .muted-text{max-width:40rem;margin-top:0;font-size:.88rem;line-height:1.45}.auth-page{max-width:460px;margin:0 auto}.auth-header{align-items:flex-start}.auth-form{display:flex;flex-direction:column;gap:.8rem}.login-page{max-width:560px}.login-top-link{margin-bottom:1.1rem}.login-back-link{text-decoration:none;color:var(--text-primary);font-size:.95rem;font-weight:700}.login-back-link:hover{text-decoration:underline}.login-header{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.4rem}.login-header h2{margin:0;font-size:1.95rem}.login-form{gap:1rem}.login-primary-action{margin-top:.3rem}.login-submit-btn{width:100%;border-radius:999px;padding:.68rem 1rem;font-size:1.02rem}.login-secondary-actions{display:flex;justify-content:center;align-items:center;gap:.55rem;margin-top:.35rem}.login-secondary-link{text-decoration:none;font-size:.9rem;font-weight:700;color:var(--text-primary)}.login-secondary-link--muted{color:var(--text-muted);font-weight:600}.login-secondary-separator{color:var(--text-muted)}.auth-modal-overlay{position:fixed;inset:0;z-index:30;background:#0f172a75;display:flex;align-items:center;justify-content:center;padding:1rem}.auth-modal{width:min(560px,100%);max-height:calc(100vh - 2rem);overflow-y:auto;padding:1rem}.auth-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:.8rem}.auth-modal-header h2{margin:0;font-size:1.7rem}.auth-modal-close{border:0;background:transparent;box-shadow:none;color:var(--text-primary);font-size:1.45rem;line-height:1;padding:.2rem .45rem}.auth-modal-close:hover:enabled{transform:none;box-shadow:none;background:var(--surface-soft)}.auth-modal-switch{display:flex;gap:.45rem;margin-bottom:.85rem}.auth-mode-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);box-shadow:none;padding:.4rem .7rem;border-radius:8px;font-size:.88rem}.auth-mode-btn:hover:enabled{transform:none;box-shadow:none;background:var(--surface-soft)}.auth-mode-btn--active{border-color:var(--border-strong);background:var(--surface-soft)}.auth-modal-secondary-btn{border:0;background:transparent;box-shadow:none;color:var(--text-primary);font-size:.9rem;font-weight:700;padding:0}.auth-modal-secondary-btn:hover:enabled{transform:none;box-shadow:none;text-decoration:underline}.password-input-wrap{position:relative;display:flex;align-items:center}.password-input-wrap input{width:100%;padding-right:4.2rem}.password-toggle-btn{position:absolute;right:.45rem;border:0;background:transparent;box-shadow:none;color:var(--text-primary);font-size:.84rem;font-weight:700;padding:.2rem .3rem;border-radius:6px}.password-toggle-btn:hover:enabled{transform:none;box-shadow:none;background:var(--surface-soft)}.terms-consent{display:flex;align-items:flex-start;gap:.55rem;font-size:.86rem;line-height:1.4;color:var(--text-primary)}.terms-consent input{margin-top:.1rem}.terms-consent-link{color:var(--text-primary);font-weight:700;text-decoration:underline}.terms-consent-link:hover{opacity:.86}.auth-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.profile-page-header{align-items:center}.profile-page-header-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.danger-link{color:#b91c1c}.profile-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:.85rem;align-items:start}.profile-nav{border:1px solid var(--border);border-radius:10px;background:var(--tile-surface);padding:.5rem;display:flex;flex-direction:column;gap:.3rem;align-self:start;width:100%}.profile-nav-option{border:0;box-shadow:none;background:transparent;color:var(--text-primary);text-align:left;padding:.5rem .55rem;border-radius:8px;font-size:.9rem;font-weight:600}.profile-nav-option--with-count{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.profile-nav-count{min-width:1.8rem;padding:.08rem .45rem;border-radius:999px;background:#8f6aff1f;color:var(--text-secondary);font-size:.8rem;font-weight:700;text-align:center}.profile-nav-option:hover:enabled{transform:none;box-shadow:none;background:var(--surface-soft)}.profile-nav-option--active{background:var(--surface-soft);color:var(--text-primary);box-shadow:inset 0 0 0 1px #8f6aff73}.admin-comment-reports-layout .profile-nav-option--active{background:#8f6aff29;box-shadow:inset 3px 0 #8f6aff,inset 0 0 0 1px #8f6aff4d}.admin-comment-reports-layout .profile-nav-option--active .profile-nav-count{background:#8f6aff38;color:var(--text-primary)}.profile-content{width:100%;min-width:0;display:flex}.profile-panel{border:1px solid var(--border);border-radius:10px;background:var(--tile-surface);padding:.9rem;width:100%;min-width:0}.profile-panel h3{margin:0 0 .7rem;font-size:1rem}.profile-identity{display:flex;align-items:center;gap:.65rem;margin:0 0 .7rem}.profile-overview-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:1.35rem;row-gap:.6rem;margin:0 0 .9rem}.profile-overview-identity{display:grid;grid-template-rows:auto auto;align-content:start;gap:.6rem}.profile-overview-identity h3{margin:0;font-size:1rem}.profile-overview-achievements{flex:1 1 auto;min-width:0;align-self:start;padding-left:.2rem}.profile-overview-achievements .profile-achievements{margin-top:0;padding-top:0;border-top:0}.profile-overview-achievements .profile-achievements-header{margin-bottom:.6rem}.profile-overview-achievements .profile-achievements-header .muted-text{margin-top:.35rem}.profile-identity--feature{margin:0;flex:0 0 auto;align-self:start}.profile-avatar{width:3rem;height:3rem;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);object-fit:cover;flex-shrink:0}.profile-avatar--feature{width:6rem;height:6rem}.profile-form{display:flex;flex-direction:column;gap:.75rem}.field--toggle{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem}.field-toggle-copy{display:flex;flex-direction:column;gap:.2rem;flex:1 1 auto;min-width:0}.field--toggle input[type=checkbox]{width:1.05rem;height:1.05rem;accent-color:var(--accent);flex:0 0 auto}.profile-setting-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem}.profile-setting-row .field-toggle-copy{margin-right:auto}.switch-toggle{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}.switch-toggle-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.switch-toggle-track{width:3.25rem;height:1.9rem;border-radius:999px;background:color-mix(in srgb,var(--text-muted) 24%,var(--surface-soft));border:1px solid color-mix(in srgb,var(--text-muted) 30%,var(--border));padding:.14rem;display:inline-flex;align-items:center;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;box-shadow:inset 0 1px 2px #00000029;justify-content:space-between;overflow:hidden}.switch-toggle-thumb{width:1.5rem;height:1.5rem;border-radius:999px;background:#fff;box-shadow:0 2px 8px #0000003d;transition:transform .18s ease;position:absolute;left:.14rem;top:.14rem}.switch-toggle-icon{width:1rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;color:#ffffffeb;transition:opacity .18s ease,transform .18s ease,color .18s ease}.switch-toggle-icon--off{opacity:.9;transform:translate(0)}.switch-toggle-icon--on{opacity:.45;transform:translate(0)}.switch-toggle-input:checked+.switch-toggle-track{background:#39d64a;border-color:#2ebb40}.switch-toggle-input:checked+.switch-toggle-track .switch-toggle-icon--off{opacity:.35}.switch-toggle-input:checked+.switch-toggle-track .switch-toggle-icon--on{opacity:1}.switch-toggle-input:checked+.switch-toggle-track .switch-toggle-thumb{transform:translate(1.32rem)}.switch-toggle-input:focus-visible+.switch-toggle-track{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 28%,transparent)}.switch-toggle-input:disabled{cursor:not-allowed}.switch-toggle-input:disabled+.switch-toggle-track{opacity:.65}.profile-readonly-input{background:var(--surface-soft);border-color:var(--border);color:var(--text-muted)}.profile-readonly-input:disabled{opacity:1;-webkit-text-fill-color:var(--text-muted);cursor:not-allowed}.profile-public-link{margin-top:.35rem;font-size:.82rem;font-weight:600;color:var(--text-primary);text-decoration:none}.profile-public-link:hover{text-decoration:underline}.profile-form-actions{display:flex;justify-content:flex-end}.profile-achievements{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.book-content-badge{display:inline-flex;align-items:center;padding:.1rem .42rem;border-radius:999px;background:#7c3f00;border:1px solid #9a5a14;color:#fff3e0;font-size:.68rem;font-weight:700;letter-spacing:.02em;vertical-align:middle;box-shadow:0 0 0 1px #0000000f}.book-details-chip-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:0 0 .75rem}.book-status-chip{display:inline-flex;align-items:center;padding:.1rem .42rem;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.book-status-chip--ongoing{background:#334155;border:1px solid #475569;color:#e2e8f0}.book-status-chip--completed{background:#3f6212;border:1px solid #4d7c0f;color:#ecfccb}.book-status-chip--highlight{border-color:var(--focus-ring);box-shadow:0 0 0 2px color-mix(in srgb,var(--focus-ring) 18%,transparent)}.profile-achievements-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.profile-achievements-header h4{margin:0;font-size:.96rem}.profile-achievements-grid{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-start;position:relative}.achievement-grid-item{display:inline-flex;flex:0 0 auto;width:4.6rem;height:4.6rem;position:relative}.achievement-grid-item--expanded{z-index:3;width:4.6rem;height:4.6rem}.achievement-badge-btn{border:none;background:transparent;padding:0;border-radius:14px;display:inline-flex;width:4.6rem;height:4.6rem;text-align:left}.achievement-badge-btn--active{display:inline-flex;width:4.6rem}.achievement-badge-btn:hover .achievement-card-image-wrap--badge,.achievement-badge-btn--active .achievement-card-image-wrap--badge{border-color:var(--border);box-shadow:none}.achievement-badge-btn:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.achievement-card{border:1px solid var(--border);border-radius:12px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-soft) 70%,transparent),transparent 40%),var(--surface);padding:.35rem;min-height:0;width:4.6rem;height:4.6rem;max-width:4.6rem;overflow:hidden;display:flex;align-items:center;justify-content:center}.achievement-card--expanded{position:absolute;top:0;left:0;min-width:min(22rem,calc(100vw - 5rem));max-width:none;padding:.85rem;height:auto;width:min(32rem,calc(100vw - 5rem));border-color:var(--focus-ring);box-shadow:0 10px 28px #0f172a1a;display:block}.achievement-card-top{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:0}.achievement-card--expanded .achievement-card-top{justify-content:flex-start;gap:.75rem;margin-bottom:.65rem}.achievement-card-image-wrap{width:4rem;height:4rem;border-radius:12px;border:1px solid var(--border);background:var(--surface-soft);overflow:hidden;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.achievement-card-image-wrap--badge{width:4rem;height:4rem;border-radius:14px;transition:transform .15s ease}.achievement-badge-btn:hover .achievement-card-image-wrap--badge,.achievement-badge-btn--active .achievement-card-image-wrap--badge{transform:scale(1.02)}.achievement-badge-btn--active .achievement-card{border-color:var(--focus-ring);box-shadow:0 0 0 2px color-mix(in srgb,var(--focus-ring) 16%,transparent)}.achievement-card-image{width:100%;height:100%;display:block;object-fit:cover}.achievement-card-image-fallback{color:var(--text-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.achievement-card-headings{min-width:0}.achievement-card-headings--expandable{max-width:0;opacity:0;overflow:hidden;transform:translate(-.35rem);transition:max-width .24s ease,opacity .18s ease,transform .24s ease}.achievement-card--expanded .achievement-card-headings--expandable{max-width:20rem;opacity:1;transform:translate(0)}.achievement-card-kicker{margin:0 0 .18rem;color:var(--text-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.achievement-card h5{margin:0;font-size:.98rem;line-height:1.3}.achievement-card-description{margin:0 0 .7rem;color:var(--text-primary);line-height:1.45}.achievement-card-details{max-height:0;opacity:0;overflow:hidden;transform:translateY(-.35rem);transition:opacity .18s ease,transform .18s ease,margin-top .18s ease}.achievement-card-details--visible{max-height:18rem;opacity:1;transform:translateY(0);margin-top:.25rem}.achievement-card-meta{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.7rem}.achievement-meta-pill{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);padding:.18rem .5rem;color:var(--text-muted);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.achievement-card-facts{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.22rem .55rem;font-size:.84rem}.achievement-card-facts dt{margin:0;color:var(--text-muted);font-weight:700}.achievement-card-facts dd{margin:0;color:var(--text-primary)}.profile-books-wrap{max-height:70vh;overflow-y:auto;scrollbar-gutter:stable;padding-right:.2rem}.profile-books-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.profile-books-grid>li{display:flex}.terms-page{max-width:1040px}.terms-header{align-items:center}.terms-layout{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:1rem;align-items:start}.terms-index{position:sticky;top:.8rem;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:.7rem}.terms-index-title{margin:0;font-size:.82rem;font-weight:700;color:var(--text-primary)}.terms-index-list{margin:.55rem 0 0;padding:0;list-style:none;display:grid;gap:.35rem}.terms-index-list a{text-decoration:none;color:var(--text-primary);font-size:.8rem;line-height:1.35}.terms-index-list a:hover{text-decoration:underline}.terms-content{display:flex;flex-direction:column;gap:1rem}.terms-content p{margin:0;color:var(--text-primary);line-height:1.5}.terms-intro{font-size:.95rem;scroll-margin-top:.8rem}.terms-section{display:flex;flex-direction:column;gap:.45rem;border-top:1px solid var(--border);padding-top:.8rem;scroll-margin-top:.8rem}.terms-section h3{margin:0;font-size:.95rem;color:var(--text-primary)}.terms-section ul{margin:0;padding-left:1.1rem;display:grid;gap:.3rem}.terms-section li{color:var(--text-primary);line-height:1.45}.terms-note{margin-top:.3rem;font-size:.82rem;color:var(--text-muted)}.public-user-summary{display:flex;flex-direction:column;align-items:center;gap:.28rem;text-align:center}.page-not-available{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:22rem;text-align:center}.page-not-available h2,.page-not-available p{margin:0}.page-not-available-illustration{width:min(19rem,100%);aspect-ratio:320 / 220;background:center / contain no-repeat url(/not-found-illustration-light.svg);filter:drop-shadow(0 16px 30px rgba(0,0,0,.18))}[data-theme=dark] .page-not-available-illustration{background-image:url(/not-found-illustration.svg)}.public-user-name{margin:.2rem 0 0;font-size:.95rem;font-weight:700;color:var(--text-primary)}.public-user-username{margin:0;font-size:.84rem;color:var(--text-muted)}.create-book-header{align-items:flex-start}.create-book-header .ghost-link{margin-top:.2rem}.create-chapter-heading-row{display:inline-flex;align-items:center;gap:.45rem}.create-chapter-heading-row h2{margin:0}.create-chapter-info-wrap{position:relative;display:inline-flex}.create-chapter-info-btn{display:inline-flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--text-muted)}.create-chapter-info-btn svg{width:.95rem;height:.95rem;flex-shrink:0}.create-chapter-info-popover{position:absolute;top:calc(100% + .45rem);left:50%;z-index:10;width:max-content;max-width:15rem;transform:translate(-50%);padding:.45rem .6rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 12px 26px color-mix(in srgb,var(--shadow-color) 18%,transparent);font-size:.8rem;line-height:1.4;color:var(--text-primary)}.create-book-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.create-chapter-page{max-width:980px}.create-chapter-page--focus{max-width:1220px;padding-top:1.4rem}.create-chapter-notes-fab{position:fixed;top:calc(var(--app-header-offset) + 1.15rem);right:max(1rem,calc((100vw - min(1120px,100vw))/2 + 1rem));z-index:24;display:block}.create-chapter-notes-fab-btn{width:3.25rem;height:3.25rem;border:1px solid var(--border);border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,var(--surface-soft));color:var(--text-primary);box-shadow:0 16px 32px color-mix(in srgb,var(--shadow-color) 22%,transparent);display:inline-flex;align-items:center;justify-content:center}.create-chapter-notes-fab-btn svg{width:1.1rem;height:1.1rem;flex-shrink:0}.create-chapter-notes-panel{position:absolute;top:calc(100% + .7rem);right:0;width:min(22rem,calc(100vw - 6rem));border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 18px 38px color-mix(in srgb,var(--shadow-color) 24%,transparent);padding:.85rem;display:grid;gap:.6rem}.create-chapter-notes-panel-header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;font-size:.92rem;font-weight:700;color:var(--text-primary)}.create-chapter-notes-close-btn{width:1.9rem;height:1.9rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;padding:0;font-size:1rem;line-height:1}.create-chapter-notes-panel textarea{min-height:9rem}.create-chapter-focus-exit{display:flex;justify-content:flex-end;margin-bottom:.65rem}.create-chapter-focus-exit-btn{display:inline-flex;align-items:center;gap:.3rem;width:auto;max-width:fit-content;flex:0 0 auto;min-height:auto;padding:.18rem .46rem;border-radius:999px;font-size:.72rem;line-height:1.2}.create-chapter-focus-exit-btn svg{width:.74rem;height:.74rem}.create-chapter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.create-book-header--hidden,.create-chapter-note--hidden,.create-chapter-meta-field--hidden{display:none}.create-chapter-feedback--focus{margin-bottom:.4rem}.chapter-editor{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.chapter-editor-toolbar{display:flex;align-items:flex-end;gap:.4rem;flex-wrap:wrap;padding:.45rem;border-bottom:1px solid var(--border);background:var(--surface-soft)}.chapter-editor-group{display:flex;flex-direction:column;gap:.22rem}.chapter-editor-group-label{font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.chapter-editor-group-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.chapter-editor-btn{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:.28rem .5rem;font-size:.82rem;line-height:1}.chapter-editor-btn--scene-break{min-width:6.8rem}.chapter-editor-color{display:inline-flex;align-items:center;gap:.35rem;margin-left:auto;font-size:.78rem;color:var(--text-muted)}.chapter-editor-color input[type=color]{width:1.9rem;height:1.9rem;padding:0;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.chapter-editor-surface{min-height:14rem;padding:.75rem;color:var(--text-primary);line-height:1.6;outline:none}.create-chapter-page--focus .create-chapter-form{grid-template-columns:minmax(0,1fr);gap:1rem}.create-chapter-page--focus .field:not(.field--full){grid-column:1 / -1}.create-chapter-page--focus .chapter-editor{border-radius:14px}.create-chapter-page--focus .chapter-editor-toolbar{padding:.7rem .8rem}.create-chapter-page--focus .chapter-editor-surface{min-height:65vh;width:100%;max-width:none;margin:0;padding:1.4rem 1.2rem 2rem;font-size:1.02rem;line-height:1.82}.chapter-editor-surface:empty:before{content:attr(data-placeholder);color:var(--text-muted)}.chapter-editor-surface:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.field--full{grid-column:1 / -1}.create-book-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.6rem;font:inherit;color:inherit;resize:vertical}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:.75rem}.create-chapter-actions{gap:.55rem;flex-wrap:wrap;justify-content:space-between}.create-chapter-actions-left{display:inline-flex;align-items:center;gap:.75rem;margin-right:auto}.create-chapter-cancel-btn{margin-right:0}.create-chapter-cancel-btn.ghost-link{font-size:.86rem;font-weight:600;line-height:1.5}.create-chapter-delete-btn.ghost-link{font-size:.86rem;font-weight:600;line-height:1.5;color:color-mix(in srgb,#d27b7b 72%,var(--text-primary))}.create-chapter-draft-action-wrap{display:inline-flex;align-items:center;gap:.5rem}.create-chapter-info-popover--action{left:auto;right:0;transform:none}body.chapter-focus-mode-active .app-header-shell,body.chapter-focus-mode-active .app-footer-shell,body.chapter-focus-mode-active footer{opacity:.28}.chapter-action-btn{min-width:11.5rem;min-height:calc(1.5em + .9rem + 2px);padding:.45rem .9rem;font-size:1rem;font-weight:600;line-height:1.5;justify-content:center;display:inline-flex;align-items:center;box-sizing:border-box}.chapter-action-btn.ghost-link{min-width:auto;font-size:.86rem;font-weight:600;line-height:1.5}.form-actions--end{justify-content:flex-end}.ghost-link{text-decoration:none;color:var(--text-primary);border:1px solid var(--border);border-radius:8px;min-height:calc(1.5em + .9rem + 2px);padding:.45rem .9rem;font-size:.86rem;font-weight:600;background:var(--surface-soft);display:inline-flex;align-items:center;justify-content:center}.book-form-cancel-btn{font-size:1rem}.book-create-cancel-btn.ghost-link{font-size:.86rem;line-height:1.5;margin-right:auto}.book-create-submit-btn{min-width:auto}.book-edit-cancel-btn.ghost-link{font-size:.86rem;line-height:1.5}.book-edit-submit-btn{min-width:auto}.details-header{align-items:center}.details-header-actions{display:inline-flex;align-items:center;gap:.45rem}.details-share-menu-wrap{position:relative}.details-share-trigger{display:inline-flex;align-items:center;justify-content:center}.details-share-menu{position:absolute;top:calc(100% + .3rem);right:0;z-index:6;min-width:180px;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.35rem;display:grid;gap:.2rem}.details-share-menu-item{border:none;background:transparent;color:var(--text-primary);text-align:left;font:inherit;font-size:.9rem;padding:.4rem .45rem;border-radius:8px;display:flex;align-items:center;gap:.5rem}.details-share-menu-item-icon{width:1.2rem;height:1.2rem;display:inline-flex;align-items:center;justify-content:center;color:var(--text-primary);flex-shrink:0}.details-share-menu-item-icon img{width:1.2rem;height:1.2rem;display:block}.details-share-menu-item:hover:enabled{background:var(--surface-soft)}.details-share-menu-item:disabled{opacity:.6;cursor:not-allowed}.details-owner-actions{display:inline-flex;align-items:center;gap:.45rem}.details-action-icon-btn{width:2.15rem;min-width:2.15rem;height:2.15rem;padding:0;display:inline-flex;align-items:center;justify-content:center}.details-action-icon-btn--active{background:var(--surface)}.details-action-icon{width:1rem;height:1rem;display:block;flex-shrink:0}.edit-book-form{margin:.8rem 0 1rem}.edit-book-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.6rem;font:inherit;color:inherit;resize:vertical}.book-details-grid{display:grid;gap:1rem;grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.book-details-side{display:flex;flex-direction:column;gap:.65rem}.book-details-cover-wrap{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface-soft);aspect-ratio:3 / 4;transition:box-shadow .2s ease,border-color .2s ease}.book-details-cover-wrap--highlight{border-color:var(--focus-ring);box-shadow:0 0 0 2px var(--focus-ring)}.book-details-cover{width:100%;height:100%;object-fit:cover;display:block}.book-details-side-meta{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:.55rem .6rem;display:grid;gap:.35rem}.book-details-side-field{margin:0;color:var(--text-primary);white-space:pre-wrap}.book-details-side-field span{display:block;color:var(--text-muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.book-details-side-metric{display:inline-flex;align-items:center;gap:.38rem;margin-top:.18rem;color:var(--text-primary)}.book-details-side-metric span{display:inline;color:inherit;font-size:inherit;text-transform:none;letter-spacing:normal;font-weight:600}.book-details-side-field--highlight{background:var(--surface);border-radius:8px;padding:.22rem .35rem}.book-details-content h3{margin:0 0 .7rem;font-size:1.35rem}.book-details-title-row{margin:0 0 .45rem;display:flex;align-items:center;justify-content:flex-start;gap:.32rem}.book-details-title-row h3{margin:0}.book-details-title-row .book-favorite-heart-btn--inline{flex-shrink:0}.book-details-title-highlight{display:inline-block;background:var(--surface-soft);border-radius:8px;padding:.2rem .45rem;margin-left:-.45rem}.book-details-content p{margin:.4rem 0;color:var(--text-primary);white-space:pre-wrap}.details-field-highlight{background:var(--surface-soft);border-radius:8px;padding:.22rem .45rem;margin-left:-.45rem;margin-right:-.45rem}.book-details-content p span{display:block;color:var(--text-muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.book-engagement-metrics{margin:.6rem auto .5rem;width:100%;display:flex;justify-content:center;align-items:flex-start;gap:1.35rem}.book-metric-indicator{display:inline-flex;flex-direction:column;align-items:center;gap:.22rem;min-width:2.65rem;color:var(--text-muted)}.book-metric-icon{width:1.25rem;height:1.25rem;display:block}.book-metric-heart-icon{width:1.25rem;height:1.25rem;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:1.15rem;line-height:1}.book-metric-value{color:var(--text-muted);font-size:.82rem;font-weight:700;line-height:1}.book-chapters,.book-feedback{margin-top:1rem;border-top:1px solid var(--border);padding-top:.9rem}.book-feedback-header{margin-bottom:.55rem;display:flex;align-items:center;justify-content:space-between;gap:.8rem}.book-feedback-header h4{margin:0;font-size:1rem}.book-feedback-rating-indicator{display:inline-flex;flex-direction:column;align-items:center;gap:.12rem;color:var(--text-muted)}.book-feedback-rating-icon{width:1rem;height:1rem;display:block}.book-feedback-rating-value{color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1}.book-feedback-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem;margin-bottom:.9rem}.book-rating-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem;margin-bottom:.9rem;align-items:start}.book-rating-form .muted-text{margin:0;grid-column:1 / -1}.rating-stars-label{display:block;margin-bottom:.35rem;color:var(--text-muted);font-size:.8rem;font-weight:600}.rating-stars{display:flex;align-items:center;gap:.2rem}.rating-star-btn{border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-soft);color:var(--border-strong);font-size:1.45rem;line-height:1;padding:.15rem .24rem;cursor:pointer}.rating-star-btn:hover{color:var(--text-primary);border-color:var(--focus-ring)}.rating-star-btn--preview{color:var(--text-primary);border-color:var(--focus-ring);background:var(--surface)}.rating-star-btn--active{color:var(--focus-ring);border-color:var(--focus-ring);background:var(--surface)}.rating-star-btn:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.rating-star-btn:disabled{opacity:.55;cursor:not-allowed}.book-feedback-list{margin:0;padding:0;list-style:none;display:grid;gap:.7rem}.book-feedback-item{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:.65rem 2.9rem .65rem .75rem;position:relative;scroll-margin-top:calc(var(--app-header-offset) + 1rem);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.book-feedback-item[data-highlighted=true],.book-feedback-reply-item[data-highlighted=true]{border-color:color-mix(in srgb,var(--focus-ring) 72%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--focus-ring) 16%,transparent)}.book-feedback-item-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;color:var(--text-muted);font-size:.8rem}.comment-mention-link{color:var(--focus-ring);text-decoration:none;font-weight:600}.comment-mention-link:hover{text-decoration:underline}:root[data-theme=dark] .comment-mention-link{color:var(--text-primary)}.comment-author-avatar{width:1.9rem;height:1.9rem;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);object-fit:cover;flex-shrink:0}.book-feedback-item-rate{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-primary);font-weight:700;padding:.1rem .45rem}.book-feedback-item-text{margin:.42rem 0 0;color:var(--text-primary);white-space:pre-wrap;line-height:1.5}.book-feedback-item-text--deleted{font-style:italic;color:var(--text-muted)}.book-feedback-actions{margin-top:.5rem;display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.book-feedback-actions--end{justify-content:flex-end}.book-feedback-view-replies{margin-top:0}.comment-quick-actions{position:absolute;top:.42rem;right:.45rem;display:inline-flex;flex-direction:column-reverse;align-items:center;gap:.25rem}.comment-heart-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:999px;padding:.08rem .36rem;font:inherit;font-size:1rem;display:inline-flex;align-items:center}.comment-heart-btn--active{color:var(--focus-ring);border-color:var(--focus-ring)}.comment-heart-btn:disabled{opacity:.6;cursor:not-allowed}.comment-like-actions{display:inline-flex;flex-direction:column;align-items:center;gap:.12rem}.comment-like-count{color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1}.comment-actions-menu-wrap{position:relative}.comment-menu-trigger{border:none;background:transparent;color:var(--text-muted);font-size:1.15rem;line-height:1;padding:0}.comment-actions-menu{position:absolute;right:0;top:calc(100% + .3rem);z-index:5;min-width:180px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:none;padding:.35rem;display:grid;gap:.2rem}.comment-actions-menu-item{border:none;background:transparent;color:var(--text-primary);text-align:left;font:inherit;font-size:.92rem;padding:.4rem .45rem;border-radius:8px;text-decoration:none;display:flex;align-items:center;gap:.45rem}.comment-actions-menu-item-icon{width:1rem;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:.9rem;line-height:1;flex-shrink:0}.comment-actions-menu-item:hover{background:var(--surface-soft)}.comment-actions-menu-item:disabled{opacity:.6;cursor:not-allowed}.book-feedback-replies{margin-top:.65rem;padding-left:.8rem;border-left:2px solid var(--border);display:grid;gap:.55rem}.book-feedback-replies-list{margin:0;padding:0;list-style:none;display:grid;gap:.55rem}.book-feedback-reply-item{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.55rem 2.7rem .55rem .65rem;position:relative;scroll-margin-top:calc(var(--app-header-offset) + 1rem);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.book-feedback-reply-form{margin-top:.2rem}.book-feedback-reply-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.55rem;font:inherit;color:inherit;resize:vertical}.book-feedback-reply-form .comment-composer-input{border:0;border-radius:0;background:transparent;padding:.65rem .8rem .4rem}.book-feedback-edit-form{margin-top:.45rem;display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:.75rem}.book-feedback-edit-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.6rem;font:inherit;color:inherit;resize:vertical}.comment-emoji-picker{position:relative;display:inline-flex}.comment-emoji-trigger{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:999px;width:2.2rem;height:2.2rem;display:inline-flex;align-items:center;justify-content:center;padding:0}.comment-emoji-trigger:hover{background:var(--surface-soft);color:var(--text-primary)}.comment-emoji-popover{position:absolute;left:0;top:calc(100% + .4rem);z-index:10;box-shadow:0 18px 36px #0f172a1f}.comment-composer{display:grid;gap:0;border:1px solid var(--border);border-radius:24px;background:color-mix(in srgb,var(--surface) 86%,var(--surface-soft));padding:.35rem}.comment-composer--reply{border-radius:20px}.comment-composer:focus-within{border-color:var(--focus-ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus-ring) 16%,transparent)}.comment-composer-input{border:0;background:transparent;padding:.65rem .8rem .4rem;font:inherit;color:inherit;resize:none;overflow:hidden;min-height:4.4rem}.comment-composer--reply .comment-composer-input{min-height:3.2rem}.comment-composer-input:focus{outline:none}.comment-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:0 .25rem .1rem}.comment-composer-tools{display:flex;align-items:center;gap:.35rem}.comment-composer-send{border:0;background:transparent;color:var(--text-muted);width:2.3rem;height:2.3rem;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:999px}.comment-composer-send:hover:enabled{background:var(--surface-soft);color:var(--text-primary)}.book-chapters-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.55rem}.book-chapters h4{margin:0;font-size:1rem}.chapter-create-toggle{cursor:pointer}.complete-confirm-overlay{position:fixed;inset:0;z-index:30;background:#0f172a75;display:flex;align-items:center;justify-content:center;padding:1rem}.complete-confirm-modal{width:min(460px,100%);padding:1rem}.complete-confirm-modal h4{margin:0;font-size:1.1rem}.complete-confirm-modal .muted-text{margin-top:.35rem}.report-comment-form{display:grid;gap:.85rem;margin-top:.85rem}.complete-confirm-actions{margin-top:.85rem;display:flex;justify-content:flex-end;gap:.5rem}.chapter-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:.9rem}.chapter-create-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:.6rem;font:inherit;color:inherit;resize:vertical}.chapter-list{margin:0;padding:0;list-style:none;display:grid;gap:.7rem}.chapter-item{color:var(--text-primary);border:1px solid var(--border);border-radius:10px;background:var(--surface-soft)}.chapter-item h5{margin:0;font-size:.92rem}.chapter-item-title-row{display:inline-flex;align-items:center;gap:.45rem;flex-wrap:wrap}.chapter-item-title-row h5{margin:0}.chapter-item-date{color:var(--text-muted);font-size:.8rem;white-space:nowrap}.chapter-item-meta{display:inline-flex;align-items:center;gap:.45rem}.chapter-item-read-badge{display:inline-flex;align-items:center;padding:.1rem .45rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1.2}.chapter-item-locked-badge{display:inline-flex;align-items:center;gap:.28rem;padding:.1rem .45rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1.2}.chapter-item-draft-badge{display:inline-flex;align-items:center;padding:.1rem .45rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1.2}.chapter-item-link{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.65rem .75rem;border:0;background:transparent;text-decoration:none;color:var(--text-primary);flex:1;width:100%;text-align:left;font:inherit;cursor:pointer}.chapter-item-link:hover{background:#8b5cf614}.chapter-item-link:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.chapter-open-hint{color:var(--text-muted);font-size:.8rem;white-space:nowrap}.chapter-item-link--locked .chapter-open-hint{font-weight:700}.chapter-page{width:100%}.chapter-page-header{align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:.6rem}.chapter-page-links{display:flex;gap:.45rem;width:100%;align-items:center;flex-wrap:wrap}.chapter-next-link{margin-left:auto}.chapter-reading{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:1rem;display:flex;flex-direction:column;min-height:18rem}.chapter-reading-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.chapter-reading-headline{flex:1;min-width:0}.chapter-reading-share-wrap{margin-left:auto;flex-shrink:0;display:flex;align-items:center;gap:.65rem}.chapter-title{margin:.35rem 0 .8rem;font-size:1.25rem}.chapter-reading-metrics{display:flex;align-items:center;justify-content:center;width:100%;gap:1rem}.chapter-average-rating-indicator{margin-top:0}.chapter-reading-content{padding-right:0;margin-top:.4rem;padding-top:.85rem;border-top:1px solid var(--border)}.chapter-reading-rich-content{color:var(--text-primary);line-height:1.55}.chapter-reading-rich-content>*+*{margin-top:.85rem}.chapter-reading-rich-content p,.chapter-reading-rich-content ul,.chapter-reading-rich-content ol,.chapter-reading-rich-content blockquote,.chapter-reading-rich-content h1,.chapter-reading-rich-content h2,.chapter-reading-rich-content h3{margin:0}.chapter-reading-rich-content p,.chapter-reading-rich-content li,.chapter-reading-rich-content blockquote{white-space:normal}.chapter-reading-rich-content ul,.chapter-reading-rich-content ol{padding-left:1.1rem}.chapter-reading-rich-content blockquote{border-left:3px solid var(--border-strong);padding-left:.65rem;color:var(--text-muted)}.chapter-reading-nav{margin-top:.9rem;padding-top:.75rem;border-top:1px solid var(--border)}@media(max-width:760px){.chapter-reading-top{flex-wrap:wrap}.chapter-reading-header-progress{order:3;width:100%;flex:1 1 100%;align-items:stretch}.app-root{--app-header-offset: 8.35rem;--app-footer-offset: 5.4rem}.app-logo{width:160px;height:40px}.app-header{flex-wrap:wrap;gap:.6rem}.app-header-left,.app-header-right,.app-footer{width:100%}.app-header-right{justify-content:space-between;flex-wrap:wrap}.header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.header-controls{width:100%;justify-content:flex-start}.books-layout{grid-template-columns:1fr;grid-template-rows:auto;min-height:0}.books-top-filters-wrap,.books-layout-left,.books-results-panel{grid-column:1;grid-row:auto}.books-top-filters{grid-template-columns:1fr}.field--sort{justify-self:start}.language-filter-row{flex-direction:column;align-items:stretch}.book-grid,.discovery-banner-rail,.profile-books-grid,.admin-comment-report-list-grid,.terms-layout{grid-template-columns:1fr}.terms-index{position:static}.profile-layout{grid-template-columns:1fr}.profile-nav{width:100%}.profile-overview-row{grid-template-columns:1fr}.profile-overview-achievements{padding-left:0}.admin-comment-reports-hero,.admin-comment-reports-layout,.admin-comment-reports-list,.admin-banners-hero,.admin-banner-editor,.admin-banner-list{width:100%;margin-inline:0}.admin-comment-report-meta{grid-template-columns:1fr}.profile-avatar--feature{width:5rem;height:5rem}.create-book-form{grid-template-columns:1fr}.app-header-center,.app-header-right{width:100%;align-items:flex-start}.app-header-center{justify-content:flex-start}.header-controls{flex-wrap:wrap}.book-details-grid,.chapter-create-form,.book-feedback-form,.book-rating-form,.book-feedback-edit-form{grid-template-columns:1fr}.chapter-page-links{width:100%;justify-content:flex-start;flex-wrap:wrap}.chapter-reading-share-wrap{width:100%;justify-content:flex-end}}
