.auth-modal-v2{max-width:420px!important;width:95%;padding:0!important;overflow:hidden!important}.reader-community{display:flex;flex-direction:column;gap:1.5rem}.community-header,.community-group-hero{display:flex;justify-content:space-between;gap:2rem;padding:1.75rem;border-radius:22px;background:linear-gradient(135deg,#fff,#fff7ed);border:1px solid #eadfd5}.community-header h2,.community-group-hero h2{margin:.25rem 0 .5rem;font-family:Georgia,serif;font-size:clamp(1.7rem,3vw,2.5rem);color:#321a17}.community-header p,.community-group-hero p{max-width:680px;margin:0;color:#6f625e;line-height:1.65}.community-header-actions,.community-group-actions{display:flex;align-items:center;align-content:flex-start;gap:.65rem;flex-wrap:wrap}.community-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.community-stats>div{display:flex;flex-direction:column;padding:1.1rem 1.25rem;background:#fff;border:1px solid #eadfd5;border-radius:16px}.community-stats strong{font-size:1.6rem;color:#991b1b}.community-stats span{font-size:.78rem;color:#766762;text-transform:uppercase;letter-spacing:.05em}.community-section>h3,.community-panel>h3{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;color:#35231f}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.community-card{display:flex;flex-direction:column;min-height:230px;padding:1.25rem;background:#fff;border:1px solid #e8ddd6;border-radius:18px;cursor:pointer;transition:.2s ease}.community-card:hover{transform:translateY(-2px);border-color:#c98e82;box-shadow:0 12px 30px #532a2314}.community-card-top,.community-card footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.78rem;color:#786a65}.community-card h3{margin:1rem 0 .45rem;font-size:1.15rem;color:#321f1b}.community-card p{margin:0;color:#756763;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.community-card footer{margin-top:auto;padding-top:1rem;border-top:1px solid #f0e7e2}.community-card footer span,.community-card footer button,.community-book-line{display:flex;align-items:center;gap:.35rem}.community-card footer button{border:0;background:none;color:#991b1b;font-weight:700;cursor:pointer}.community-pill{display:inline-flex;width:max-content;padding:.3rem .65rem;border-radius:999px;background:#f3e8ff;color:#6b21a8;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.community-book-line{margin-top:1rem;padding:.6rem .7rem;border-radius:10px;background:#faf5f2;color:#6b332b;font-size:.82rem}.community-back{align-self:flex-start;display:flex;align-items:center;gap:.4rem}.community-current-book{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:16px;background:#4c1d95;color:#fff}.community-current-book div{display:flex;flex-direction:column}.community-current-book span,.community-current-book small{opacity:.75}.community-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:1rem}.community-panel{padding:1.25rem;background:#fff;border:1px solid #e8ddd6;border-radius:18px}.community-posts{display:flex;flex-direction:column;gap:.75rem;max-height:480px;overflow-y:auto;padding-right:.25rem}.community-post{max-width:86%;padding:.8rem 1rem;border-radius:14px 14px 14px 3px;background:#f6f1ee}.community-post.mine{align-self:flex-end;border-radius:14px 14px 3px;background:#fee2e2}.community-post>div{display:flex;justify-content:space-between;gap:1rem}.community-post strong{font-size:.8rem;color:#7f1d1d}.community-post time{font-size:.68rem;color:#8b7c76}.community-post p{margin:.4rem 0 0;line-height:1.5;white-space:pre-wrap}.community-compose{display:flex;flex-direction:column;align-items:flex-end;gap:.65rem;margin-top:1rem}.community-compose textarea{width:100%;min-height:90px;resize:vertical;padding:.8rem;border:1px solid #d9cbc3;border-radius:12px;font:inherit}.community-member{display:flex;align-items:center;gap:.7rem;padding:.65rem 0;border-bottom:1px solid #f0e8e3}.community-member>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#7f1d1d;color:#fff;font-weight:800}.community-member div{display:flex;flex-direction:column}.community-member small,.community-muted{color:#84746e}.community-pending{padding:.55rem .8rem;border-radius:10px;background:#fef3c7;color:#92400e}.community-request{display:flex;align-items:center;justify-content:space-between;padding:.65rem 0;border-bottom:1px solid #eee}.community-request div{display:flex;gap:.5rem}.community-request button{border:0;border-radius:8px;padding:.4rem .65rem;cursor:pointer}.community-modal-backdrop{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:1rem;background:#1a1210b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.community-modal{width:min(660px,100%);max-height:90vh;overflow-y:auto;padding:1.5rem;background:#fff;border-radius:20px;box-shadow:0 25px 70px #00000047}.community-modal h3{margin:0 0 1.25rem;font-size:1.35rem}.community-modal label{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem;color:#4d3b36;font-size:.85rem;font-weight:700}.community-modal input,.community-modal textarea,.community-modal select{width:100%;padding:.75rem;border:1px solid #d9cbc3;border-radius:10px;background:#fff;font:inherit}.community-modal textarea{min-height:100px;resize:vertical}.community-modal fieldset{margin:0 0 1rem;padding:0;border:0}.community-modal legend{margin-bottom:.6rem;font-size:.85rem;font-weight:700}.community-interest-list{display:flex;flex-wrap:wrap;gap:.45rem}.community-interest-list button{padding:.45rem .7rem;border:1px solid #ddcec6;border-radius:999px;background:#fff;color:#5f4c46;cursor:pointer}.community-interest-list button.active{border-color:#991b1b;background:#991b1b;color:#fff}.community-modal .community-check input{width:auto}.community-modal-actions{display:flex;justify-content:flex-end;gap:.7rem;padding-top:.75rem}.community-modal-actions>button{padding:.7rem 1rem;border:0;border-radius:10px;cursor:pointer}.community-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}@media(max-width:800px){.community-header,.community-group-hero{flex-direction:column;padding:1.2rem}.community-header-actions,.community-group-actions{width:100%}.community-header-actions .btn,.community-group-actions .btn{flex:1}.community-grid,.community-detail-grid{grid-template-columns:1fr}.community-stats{grid-template-columns:1fr 1fr 1fr}.community-members{order:-1}.community-form-grid{grid-template-columns:1fr}}@media(max-width:520px){.community-stats,.community-grid{grid-template-columns:1fr}.community-modal{padding:1rem;border-radius:16px}.community-post{max-width:94%}}.auth-visual-side{background:linear-gradient(135deg,var(--mercury-red) 0%,#7F1D1D 100%);padding:2rem 1.5rem;text-align:center;color:#fff;position:relative;overflow:hidden}.auth-visual-side:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 50%);animation:authGlow 10s linear infinite}@keyframes authGlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-brand-logo{width:64px;height:64px;background:#ffffff26;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;position:relative;z-index:1;font-family:"Source Serif 4",serif;font-size:1.75rem;font-weight:700}.auth-brand-logo img{width:44px;height:44px;object-fit:contain}.auth-visual-side h2{font-family:"Source Serif 4",serif;font-size:1.5rem;font-weight:700;margin-bottom:.35rem;position:relative;z-index:1}.auth-visual-side p{opacity:.9;font-size:.9rem;position:relative;z-index:1}.auth-form-side{background:#fff;padding:1.75rem}html[data-theme=dark] .auth-form-side{background:#1f2937}.auth-form-v2{display:flex;flex-direction:column;gap:1.1rem}.auth-input-group label{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--warm-gray);margin-bottom:.4rem}.auth-input-wrapper{position:relative;display:flex;align-items:center}.auth-input-wrapper .input-icon{position:absolute;left:.85rem;color:var(--warm-gray);pointer-events:none;transition:color .2s}.auth-input-wrapper input{width:100%;padding:.8rem 1rem .8rem 2.5rem;border:2px solid var(--sand);font-size:.95rem;background:var(--soft-white);transition:all .2s;color:var(--charcoal);font-family:Inter,sans-serif}.auth-input-wrapper input:focus{border-color:var(--mercury-red);background:#fff;box-shadow:0 0 0 3px #b91c1c1a;outline:none}.auth-input-wrapper:focus-within .input-icon{color:var(--mercury-red)}.auth-input-wrapper input.error{border-color:#dc2626}.auth-input-hint{font-size:.75rem;color:var(--warm-gray);margin-top:.3rem}.auth-field-error{font-size:.8rem;color:#dc2626;margin-top:.3rem;display:flex;align-items:center;gap:.3rem}.auth-alert{padding:.8rem 1rem;font-size:.88rem;display:flex;align-items:center;gap:.5rem}.auth-alert.error{background:linear-gradient(135deg,#fef2f2,#fee2e2);color:#991b1b;border:1px solid #fecaca}.auth-alert.success{background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#166534;border:1px solid #bbf7d0}.auth-btn-submit{width:100%;padding:.9rem 1.5rem;border:none;font-size:1rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .3s;background:linear-gradient(135deg,var(--mercury-red),#dc2626);color:#fff;box-shadow:0 4px 15px #b91c1c4d;margin-top:.5rem;font-family:Inter,sans-serif}.auth-btn-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #b91c1c66}.auth-btn-submit:disabled{opacity:.6;cursor:not-allowed}.auth-btn-submit .btn-loader{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:0;animation:spin .8s linear infinite}.auth-footer{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--sand);text-align:center}.auth-footer p{font-size:.9rem;color:var(--warm-gray);margin-bottom:.4rem}.auth-footer-link{background:none;border:none;color:var(--mercury-red);font-weight:700;font-size:.9rem;cursor:pointer;padding:.3rem .5rem;transition:all .2s;font-family:Inter,sans-serif}.auth-footer-link:hover{background:#b91c1c14}.auth-redirect-v2{padding:3rem 2rem;text-align:center;background:#fff}html[data-theme=dark] .auth-redirect-v2{background:#1f2937}.auth-redirect-v2 .success-checkmark{width:72px;height:72px;background:linear-gradient(135deg,#059669,#10b981);border-radius:0;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;animation:successPop .5s cubic-bezier(.175,.885,.32,1.275)}.auth-redirect-v2 .success-checkmark svg{color:#fff;width:36px;height:36px}@keyframes successPop{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.auth-redirect-v2 h3{font-family:"Source Serif 4",serif;font-size:1.5rem;margin-bottom:.5rem;color:var(--charcoal)}.auth-redirect-v2 p{color:var(--warm-gray);margin-bottom:1.5rem}.redirect-progress{height:4px;background:var(--sand);overflow:hidden;max-width:200px;margin:0 auto}.redirect-progress-bar{height:100%;background:linear-gradient(90deg,var(--mercury-red),var(--gold));animation:redirectProgress 1.2s ease-out forwards}@keyframes redirectProgress{0%{width:0}to{width:100%}}.modal-content:has(.account-layout){max-width:920px!important;padding:0!important;overflow:hidden!important;max-height:88vh!important}.account-layout{display:flex;width:100%;height:88vh;overflow:hidden}.account-main{flex:1;padding:2rem;overflow-y:auto;background:var(--soft-white)}html[data-theme=dark] .account-main{background:#0f172a}.account-sidebar{width:260px;flex-shrink:0;background:linear-gradient(180deg,var(--mercury-red) 0%,#7F1D1D 100%);color:#fff;display:flex;flex-direction:column;overflow-y:auto}.sidebar-header{padding:2rem 1.5rem;text-align:center;border-bottom:1px solid rgba(255,255,255,.15)}.sidebar-avatar{width:72px;height:72px;background:#fff3;border-radius:0;display:flex;align-items:center;justify-content:center;font-family:"Source Serif 4",serif;font-size:1.75rem;font-weight:700;margin:0 auto 1rem;border:3px solid rgba(255,255,255,.3)}.sidebar-name{font-family:"Source Serif 4",serif;font-size:1.2rem;font-weight:700;margin-bottom:.25rem}.sidebar-email{font-size:.85rem;opacity:.8}.sidebar-stats{display:flex;justify-content:space-around;padding:1.25rem 1rem;border-bottom:1px solid rgba(255,255,255,.15)}.sidebar-stat{text-align:center}.sidebar-stat-value{font-size:1.5rem;font-weight:700;line-height:1}.sidebar-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;opacity:.75;margin-top:.25rem}.sidebar-nav{flex:1;padding:1rem;display:flex;flex-direction:column;gap:.5rem}.sidebar-nav-btn{display:flex;align-items:center;gap:.75rem;padding:.9rem 1rem;background:#ffffff1a;border:none;color:#fff;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;text-align:left;width:100%;font-family:Inter,sans-serif}.sidebar-nav-btn:hover{background:#fff3}.sidebar-nav-btn.active{background:#fff;color:var(--mercury-red);font-weight:700}.sidebar-logout{margin-top:auto;padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.15)}.sidebar-logout-btn{width:100%;padding:.75rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem;font-family:Inter,sans-serif}.sidebar-logout-btn:hover{background:#fff3}.account-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.account-title{font-family:"Source Serif 4",serif;font-size:1.5rem;font-weight:700;color:var(--charcoal)}.account-refresh{display:flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border:1px solid var(--sand);background:#fff;color:var(--warm-gray);font-size:.85rem;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif}.account-refresh:hover{border-color:var(--mercury-red);color:var(--mercury-red)}.account-alert{padding:.85rem 1rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem;font-size:.9rem}.account-alert.warning{background:linear-gradient(135deg,#fef2f2,#fee2e2);color:#991b1b;border:1px solid #fecaca}.account-alert button{margin-left:auto;background:none;border:none;color:inherit;font-weight:700;cursor:pointer;font-family:Inter,sans-serif}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.25rem;display:flex;align-items:center;gap:1rem;box-shadow:0 2px 8px #0000000a;transition:all .3s}html[data-theme=dark] .stat-card{background:#1e293b}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000014}.stat-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.red{background:#b91c1c1a;color:var(--mercury-red)}.stat-icon.green{background:#0596691a;color:#059669}.stat-icon.gold{background:#d977061a;color:var(--gold)}.stat-icon.blue{background:#3b82f61a;color:#3b82f6}.stat-info h4{font-size:1.5rem;font-weight:700;color:var(--charcoal);line-height:1;margin-bottom:.25rem}.stat-info span{font-size:.8rem;color:var(--warm-gray)}.orders-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:#fff;box-shadow:0 2px 8px #0000000a;overflow:hidden}html[data-theme=dark] .order-card{background:#1e293b}.order-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:var(--sand);gap:1rem;flex-wrap:wrap}html[data-theme=dark] .order-header{background:#ffffff0d}.order-ref{font-weight:700;color:var(--charcoal);font-size:.95rem}.order-date{font-size:.85rem;color:var(--warm-gray)}.order-status{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.75rem;font-weight:700;text-transform:uppercase}.order-status.completed{background:#0596691a;color:#059669}.order-status.pending{background:#f59e0b1a;color:#f59e0b}.order-status.failed{background:#dc26261a;color:#dc2626}.order-items{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.order-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:var(--soft-white)}html[data-theme=dark] .order-item{background:#ffffff0d}.order-item-cover{width:48px;height:64px;object-fit:cover;background:var(--sand);flex-shrink:0}.order-item-info{flex:1;min-width:0}.order-item-title{font-weight:600;color:var(--charcoal);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.order-item-title:hover{color:var(--mercury-red)}.order-item-author{font-size:.8rem;color:var(--warm-gray)}.order-item-format{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;color:var(--warm-gray);background:var(--sand);padding:.25rem .6rem}.order-item-price{font-weight:700;color:var(--charcoal);white-space:nowrap}.order-item-action{display:flex;align-items:center;gap:.3rem;padding:.4rem .75rem;border:none;background:var(--mercury-red);color:#fff;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif}.order-item-action:hover{background:var(--mercury-dark)}.order-footer{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.25rem;border-top:1px solid var(--sand)}html[data-theme=dark] .order-footer{border-top-color:#ffffff1a}.order-fees{font-size:.8rem;color:var(--warm-gray)}.order-total{font-size:1.1rem;font-weight:700;color:var(--charcoal)}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1.25rem}.library-card{background:#fff;overflow:hidden;box-shadow:0 2px 8px #0000000a;transition:all .3s;cursor:pointer}html[data-theme=dark] .library-card{background:#1e293b}.library-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #0000001f}.library-card-cover{width:100%;aspect-ratio:3/4;object-fit:cover;background:var(--sand)}.library-card-body{padding:1rem}.library-card-title{font-weight:600;font-size:.9rem;color:var(--charcoal);margin-bottom:.25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-card-author{font-size:.8rem;color:var(--warm-gray);margin-bottom:.75rem}.library-card-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.6rem;border:none;background:linear-gradient(135deg,var(--mercury-red),#dc2626);color:#fff;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif}.library-card-btn:hover{transform:scale(1.02);box-shadow:0 4px 12px #b91c1c4d}.profile-form{background:#fff;padding:2rem;box-shadow:0 2px 8px #0000000a}html[data-theme=dark] .profile-form{background:#1e293b}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.profile-save{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 2rem;border:none;background:linear-gradient(135deg,var(--mercury-red),#dc2626);color:#fff;font-size:.95rem;font-weight:700;cursor:pointer;transition:all .3s;margin-top:1.5rem;font-family:Inter,sans-serif}.profile-save:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px #b91c1c4d}.profile-save:disabled{opacity:.6;cursor:not-allowed}.empty-state{text-align:center;padding:3rem 2rem;background:#fff}html[data-theme=dark] .empty-state{background:#1e293b}.empty-icon{width:80px;height:80px;background:var(--sand);border-radius:0;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:var(--warm-gray)}html[data-theme=dark] .empty-icon{background:#ffffff1a}.empty-state h4{font-family:"Source Serif 4",serif;font-size:1.25rem;color:var(--charcoal);margin-bottom:.5rem}.empty-state p{color:var(--warm-gray);margin-bottom:1.5rem}.empty-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;background:linear-gradient(135deg,var(--mercury-red),#dc2626);color:#fff;font-weight:600;cursor:pointer;transition:all .2s;font-family:Inter,sans-serif}.empty-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #b91c1c40}.account-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem}.account-loader .spinner{width:32px;height:32px;border:3px solid var(--sand);border-top-color:var(--mercury-red);border-radius:0;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:768px){.account-layout{flex-direction:column-reverse;max-height:95vh}.account-sidebar{width:100%;flex-direction:row;flex-wrap:wrap;padding:0}.sidebar-header{width:100%;padding:1rem;display:flex;align-items:center;gap:1rem;text-align:left;border-bottom:none}.sidebar-avatar{width:48px;height:48px;font-size:1.25rem;margin:0}.sidebar-stats{width:100%;padding:.75rem;border-bottom:none}.sidebar-nav{width:100%;flex-direction:row;overflow-x:auto;padding:.5rem;gap:.5rem;-webkit-overflow-scrolling:touch}.sidebar-nav-btn{flex-shrink:0;padding:.5rem .75rem;font-size:.8rem}.sidebar-nav-btn span,.sidebar-logout{display:none}.account-main{padding:1.25rem}.account-title{font-size:1.25rem}.library-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:1rem}}.modal-overlay.active:has(.auth-modal-v2){overflow-y:auto;overscroll-behavior:contain}.auth-modal-v2{max-height:calc(100dvh - 2rem)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}@media(max-height:760px)and (min-width:769px){.modal-overlay.active:has(.auth-modal-v2){align-items:flex-start}.auth-visual-side{padding:1rem 1.25rem}.auth-brand-logo{width:48px;height:48px;margin-bottom:.5rem}.auth-brand-logo img{width:34px;height:34px}.auth-visual-side h2{font-size:1.3rem}.auth-form-side{padding:1.25rem 1.5rem}.auth-form-v2{gap:.8rem}}@media(max-width:768px){.modal-overlay.active:has(.auth-modal-v2),.modal-overlay.active:has(.account-modal-premium){align-items:flex-start;padding:.75rem}.auth-modal-v2{width:100%;max-height:calc(100dvh - 1.5rem)!important}.auth-visual-side{padding:1.15rem 3.5rem 1rem 1.1rem}.auth-brand-logo{width:46px;height:46px;margin-bottom:.45rem}.auth-brand-logo img{width:32px;height:32px}.auth-visual-side h2{font-size:1.25rem}.auth-form-side{padding:1.1rem}.auth-form-v2{gap:.85rem}.auth-input-wrapper input{min-height:48px;font-size:16px}.account-modal-premium{width:100%;max-width:100%!important;max-height:calc(100dvh - 1.5rem)!important;padding:.65rem!important}}@media(max-width:480px){.modal-overlay.active:has(.auth-modal-v2),.modal-overlay.active:has(.account-modal-premium){padding:0}.auth-modal-v2,.account-modal-premium{min-height:100dvh;max-height:100dvh!important}.auth-visual-side{padding-block:.9rem}.auth-form-side{padding:1rem}.account-dashboard-modern .account-overview-metrics-modern,.account-stats-premium{grid-template-columns:1fr 1fr}.order-card-header,.order-card-footer{align-items:flex-start;flex-direction:column;gap:.5rem}.order-item-row-premium{grid-template-columns:1fr;gap:.35rem}.account-library-grid{grid-template-columns:1fr}}.modal-overlay.active:has(.account-modal-premium){padding:1.25rem;background:#140a08c7;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.account-modal-premium{width:min(1440px,97vw)!important;max-width:1440px!important;height:min(900px,95dvh);max-height:95dvh!important;padding:0!important;border-radius:26px!important;background:#f5f1ed!important;overflow:auto!important;box-shadow:0 40px 120px #0000006b}.account-modal-premium>.modal-close{position:fixed;z-index:30;top:calc(2.25rem + env(safe-area-inset-top));right:calc(2.25rem + env(safe-area-inset-right));border:0;border-radius:12px;background:#fff;color:#38231e}.account-shell{display:flex!important;flex-direction:column;gap:0!important;max-width:none!important;padding:0!important;background:#f5f1ed}.account-hero{order:1;display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:1.5rem!important;min-height:230px!important;margin:0!important;padding:2rem 4.5rem 1.75rem 2rem!important;border:0!important;background:linear-gradient(125deg,#171b28,#25202a 58%,#55231e)!important;color:#fff}.account-hero-main{align-items:center!important}.account-avatar-lg{width:74px!important;height:74px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:20px!important;background:linear-gradient(145deg,#b21f24,#df681a)!important;font-size:1.8rem!important;box-shadow:0 14px 30px #00000040}.account-kicker{color:#f2ad6c!important;font-size:.65rem!important;letter-spacing:.14em!important}.account-hero-copy h2{margin:.25rem 0!important;color:#fff!important;font:700 clamp(1.8rem,3vw,3rem)/1.05 "Source Serif 4",serif!important;letter-spacing:-.035em}.account-hero-copy>p{max-width:620px!important;color:#ffffffad!important;font-size:.88rem!important}.account-identity-row{margin-top:.8rem!important}.account-identity-row span{color:#ffffffb8!important}.account-hero-side{align-self:stretch}.account-highlight-card{height:100%;padding:1.2rem!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:16px!important;background:#ffffff12!important;box-shadow:none!important}.account-highlight-label{color:#f0aa69!important}.account-highlight-card strong{color:#fff!important;font-size:1rem!important}.account-highlight-card p{color:#ffffff94!important;font-size:.75rem!important}.account-hero-action{margin-top:auto!important;border-color:#fff3!important;color:#fff!important;background:#ffffff0f!important}.verification-banner-premium{order:2;margin:1rem 2rem 0!important;border:0!important;border-radius:14px!important;background:#fff2cf!important}.account-tabs-premium{order:3;position:sticky;top:0;z-index:20;display:flex!important;gap:.35rem!important;margin:0!important;padding:.85rem 2rem!important;border:0!important;border-bottom:1px solid #e3d9d3!important;background:#fffffff0!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow-x:auto}.account-tab{flex:0 0 auto!important;min-height:42px!important;padding:.65rem 1rem!important;border:0!important;border-radius:10px!important;color:#6e5a53!important;font-size:.76rem!important}.account-tab.active{background:#281916!important;color:#fff!important;box-shadow:0 7px 18px #28191629!important}.account-stats-premium{order:4;grid-template-columns:repeat(3,1fr)!important;gap:.75rem!important;margin:1.5rem 2rem .75rem!important}.account-stat{display:grid!important;grid-template-columns:44px 1fr!important;grid-template-rows:auto auto!important;column-gap:.8rem!important;min-height:auto!important;padding:1rem!important;border:1px solid #e5dbd5!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}.account-stat:before{display:none!important}.account-stat-icon{grid-row:1/3;width:44px!important;height:44px!important;margin:0!important;border-radius:12px!important;background:#fff0e7!important}.account-stat-value{text-align:left!important;font:700 1.4rem "Source Serif 4",serif!important}.account-stat-label{text-align:left!important;font-size:.63rem!important}.account-reader-strip{order:5;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr)!important;gap:.75rem!important;margin:.75rem 2rem!important}.account-reader-progress-card,.account-reader-actions-card{border:0!important;border-radius:16px!important;box-shadow:none!important}.account-reader-progress-card{background:linear-gradient(120deg,#28202a,#54231e)!important}.account-reader-actions-card{background:#fff!important}.account-reader-action-btn{border-radius:10px!important}.account-tab-content{order:6;margin:0!important;padding:1.25rem 2rem 2.5rem!important}.account-overview-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;gap:1rem!important}.account-panel{border:1px solid #e4dad4!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important}.account-panel-primary,.account-panel-accent{background:#fff!important}.account-panel-head{padding-bottom:1rem!important;border-bottom:1px solid #eee5df}.account-panel-head h3{font:700 1.45rem "Source Serif 4",serif!important}.account-overview-metrics-modern{gap:.6rem!important}.account-mini-stat{padding:.8rem!important;border-radius:10px!important;background:#f7f3f0!important}.account-timeline-item{border-radius:12px!important;background:#faf8f6!important}.account-empty-soft,.account-empty{border:1px dashed #d9cbc4!important;border-radius:14px!important;background:#faf7f4!important}.account-featured-book-modern{border-radius:14px!important;background:#f7f2ee!important}.account-library-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;gap:1rem!important}.account-library-card,.order-card-premium{border:1px solid #e3d8d1!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}.account-library-cover{border-radius:9px!important;box-shadow:0 10px 22px #2f181224}.profile-form .form-group input{border-radius:11px!important;background:#faf8f6!important}.account-profile-layout{gap:1rem!important}@media(max-width:900px){.modal-overlay.active:has(.account-modal-premium){padding:0}.account-modal-premium{width:100%!important;height:100dvh;max-height:100dvh!important;border-radius:0!important}.account-hero{grid-template-columns:1fr!important;padding:1.5rem 3.7rem 1.5rem 1.25rem!important}.account-hero-side{display:none}.account-tabs-premium{padding:.7rem 1rem!important}.account-stats-premium{margin:1rem!important}.account-reader-strip{grid-template-columns:1fr!important;margin:.5rem 1rem!important}.account-tab-content{padding:1rem!important}.account-overview-grid{grid-template-columns:1fr!important}.account-modal-premium>.modal-close{top:1rem;right:1rem}}@media(max-width:560px){.account-hero-main{align-items:flex-start!important}.account-avatar-lg{width:52px!important;height:52px!important;border-radius:14px!important}.account-hero-copy h2{font-size:1.55rem!important}.account-identity-row{display:grid!important;gap:.35rem!important}.account-stats-premium{grid-template-columns:1fr!important}.account-reader-actions-card{grid-template-columns:1fr 1fr!important}.account-library-grid{grid-template-columns:1fr!important}.account-overview-metrics-modern{grid-template-columns:1fr 1fr!important}}.modal-overlay.active:has(.account-modal-premium){padding:0;background:#1c1718}.account-modal-premium{width:100vw!important;max-width:none!important;height:100dvh;max-height:100dvh!important;border-radius:0!important;background:#f6f4f1!important}.account-modal-premium>.modal-close{position:fixed;top:18px;right:22px;z-index:100;width:38px;height:38px}.account-shell{display:grid!important;grid-template-columns:270px minmax(0,1fr);align-items:start;min-height:100dvh;background:#f6f4f1!important}.member-sidebar{position:sticky;top:0;grid-column:1;grid-row:1/20;display:flex;flex-direction:column;height:100dvh;padding:1.4rem 1rem;background:#171a23;color:#fff;overflow-y:auto}.member-brand{display:flex;align-items:center;gap:.7rem;padding:.25rem .45rem 1.4rem;border-bottom:1px solid rgba(255,255,255,.08)}.member-brand>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#a61d23,#e36c1b);font:800 1.05rem "Source Serif 4",serif}.member-brand>div{display:flex;flex-direction:column}.member-brand strong{font:700 1rem "Source Serif 4",serif}.member-brand small{color:#8e94a3;font-size:.62rem;letter-spacing:.06em;text-transform:uppercase}.member-identity{display:flex;align-items:center;gap:.7rem;margin:1.25rem 0;padding:.8rem;border-radius:13px;background:#ffffff0e}.member-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#85332c;color:#fff;font-weight:800}.member-identity>div:last-child{display:flex;flex-direction:column;min-width:0}.member-identity strong{overflow:hidden;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.member-identity span{overflow:hidden;margin-top:.1rem;color:#8f96a5;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.member-nav{display:flex;flex-direction:column;gap:.3rem}.member-nav button{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;width:100%;min-height:46px;padding:.65rem .75rem;border:0;border-radius:11px;background:transparent;color:#aeb3bf;font:700 .75rem Inter,sans-serif;text-align:left;cursor:pointer;transition:.2s}.member-nav button:hover{background:#ffffff0e;color:#fff}.member-nav button.active{background:#fff;color:#242731;box-shadow:0 8px 22px #0000002e}.member-nav button b{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#ab2e28;color:#fff;font-size:.58rem}.member-reading-card{margin-top:auto;padding:1rem;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:linear-gradient(145deg,#a830273d,#ffffff09)}.member-reading-card>span{color:#e59d65;font-size:.58rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.member-reading-card strong{display:-webkit-box;margin:.55rem 0 .25rem;font:650 .9rem/1.3 "Source Serif 4",serif;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.member-reading-card small{color:#9298a6;font-size:.62rem}.member-reading-card button{display:flex;align-items:center;justify-content:center;gap:.4rem;width:100%;min-height:36px;margin-top:.85rem;border:0;border-radius:9px;background:#fff;color:#272a32;font-size:.67rem;font-weight:800;cursor:pointer}.member-logout{display:flex;align-items:center;gap:.5rem;margin-top:.7rem;padding:.7rem;border:0;background:none;color:#818895;font-size:.67rem;cursor:pointer}.account-shell>.account-hero,.account-shell>.account-stats-premium,.account-shell>.account-reader-strip,.account-shell>.account-tabs-premium{display:none!important}.account-shell>.verification-banner-premium,.account-shell>.account-loading,.account-shell>.account-tab-content{grid-column:2;width:min(1180px,calc(100% - 3rem));margin-left:auto!important;margin-right:auto!important}.account-shell>.verification-banner-premium{margin-top:1.25rem!important}.account-shell>.account-loading{padding:4rem 2rem}.account-shell>.account-tab-content{padding:2rem 0 3rem!important}.account-overview-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)!important;gap:1.25rem!important}.account-panel{padding:1.5rem!important;border:0!important;border-radius:20px!important;box-shadow:0 12px 36px #271d1b0f!important}.account-panel-primary{position:relative;overflow:hidden}.account-panel-primary:before{content:"Tableau de bord";display:block;margin-bottom:1.5rem;color:#91817b;font-size:.63rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.account-overview-metrics-modern{grid-template-columns:repeat(3,1fr)!important}.account-mini-stat{min-height:92px;padding:1rem!important;background:#f5f2ef!important}.account-mini-stat strong{font:700 1.25rem "Source Serif 4",serif!important}.account-featured-book-modern{padding:1rem!important;background:#f4f0ec!important}.account-library-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))!important}.orders-list-premium,.account-profile-layout{max-width:980px;margin:0 auto}.reader-community{max-width:1180px;margin:0 auto}@media(max-width:1000px){.account-shell{grid-template-columns:220px minmax(0,1fr)}.member-sidebar{padding:1rem .7rem}.account-shell>.verification-banner-premium,.account-shell>.account-loading,.account-shell>.account-tab-content{width:calc(100% - 2rem)}.account-overview-grid{grid-template-columns:1fr!important}}@media(max-width:720px){.account-shell{display:block!important;padding-bottom:78px}.member-sidebar{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:1fr auto;height:auto;min-height:68px;padding:.65rem 3.8rem .65rem .75rem;overflow:visible}.member-brand{padding:0;border:0}.member-brand small,.member-identity,.member-reading-card,.member-logout{display:none}.member-nav{position:fixed;right:0;bottom:0;left:0;z-index:80;display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:.4rem max(.35rem,env(safe-area-inset-right)) calc(.4rem + env(safe-area-inset-bottom)) max(.35rem,env(safe-area-inset-left));border-top:1px solid #e2e3e6;background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.member-nav button{display:flex;flex-direction:column;justify-content:center;gap:.2rem;min-height:54px;padding:.25rem;border-radius:9px;color:#777c85;text-align:center}.member-nav button.active{background:#f1e9e5;color:#8e2d28;box-shadow:none}.member-nav button span{font-size:.54rem}.member-nav button b{position:absolute;margin:-32px 0 0 25px}.account-modal-premium>.modal-close{top:14px;right:14px}.account-shell>.verification-banner-premium,.account-shell>.account-loading,.account-shell>.account-tab-content{width:calc(100% - 1.5rem);margin-right:.75rem!important;margin-left:.75rem!important}.account-shell>.account-tab-content{padding:1rem 0 2rem!important}.account-overview-metrics-modern{grid-template-columns:1fr 1fr!important}.account-library-grid{grid-template-columns:1fr!important}.account-panel{padding:1rem!important;border-radius:15px!important}}.account-shell{display:flex!important;align-items:stretch!important;min-height:100dvh}.member-sidebar{position:fixed!important;inset:0 auto 0 0!important;z-index:60!important;width:270px!important;height:100dvh!important;flex:0 0 270px!important}.member-workspace{width:calc(100% - 270px);min-height:100dvh;margin-left:270px;background:#f6f4f1;overflow-x:hidden}.member-workspace>.account-hero,.member-workspace>.account-stats-premium,.member-workspace>.account-reader-strip,.member-workspace>.account-tabs-premium{display:none!important}.member-workspace>.verification-banner-premium,.member-workspace>.account-loading,.member-workspace>.account-tab-content{width:min(1180px,calc(100% - 3rem));margin-right:auto!important;margin-left:auto!important}.member-workspace>.verification-banner-premium{margin-top:1.25rem!important}.member-workspace>.account-tab-content{padding:2rem 0 3rem!important}.member-nav{position:static!important;width:100%!important}.member-nav button{width:100%!important;max-width:none!important}@media(max-width:1000px)and (min-width:721px){.member-sidebar{width:220px!important;flex-basis:220px!important}.member-workspace{width:calc(100% - 220px);margin-left:220px}.member-workspace>.verification-banner-premium,.member-workspace>.account-loading,.member-workspace>.account-tab-content{width:calc(100% - 2rem)}}@media(max-width:720px){.account-shell{display:block!important;padding-bottom:76px}.member-sidebar{position:sticky!important;inset:0 auto auto!important;width:100%!important;height:68px!important;padding:.65rem 3.8rem .65rem .75rem!important;background:#171a23!important;overflow:visible!important}.member-workspace{width:100%;min-height:calc(100dvh - 68px);margin-left:0}.member-sidebar .member-nav{position:fixed!important;right:0!important;bottom:0!important;left:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;padding:.4rem .35rem calc(.4rem + env(safe-area-inset-bottom))!important;background:#fffffff7!important}.member-sidebar .member-nav button{width:100%!important}.member-workspace>.verification-banner-premium,.member-workspace>.account-loading,.member-workspace>.account-tab-content{width:calc(100% - 1.5rem);margin-right:.75rem!important;margin-left:.75rem!important}.member-workspace>.account-tab-content{padding:1rem 0 2rem!important}}.member-sidebar{border-right:1px solid #e5ddd7;background:#fbfaf8!important;color:#292421!important;box-shadow:8px 0 28px #2d201b09}.member-brand{border-bottom-color:#e8e0db}.member-brand strong{color:#292421}.member-brand small{color:#91857f}.member-identity{border:1px solid #e8dfda;background:#f3eee9}.member-avatar{background:#a4312b}.member-identity strong{color:#302a27}.member-identity span{color:#8b7e78}.member-nav button{color:#716762}.member-nav button:hover{background:#f3ece7;color:#332b28}.member-nav button.active{background:#922d29;color:#fff;box-shadow:0 8px 22px #922d2929}.member-nav button.active svg{color:#fff}.member-nav button b{background:#fff;color:#922d29}.member-reading-card{border-color:#e5d7cf;background:linear-gradient(145deg,#fff3eb,#f6ece7);color:#332925}.member-reading-card>span{color:#a74633}.member-reading-card small{color:#877872}.member-reading-card button{border:1px solid #dfd2cb;background:#fff;color:#332b28}.member-logout{color:#857a75}.member-logout:hover{color:#9f302b}.modal-overlay.active:has(.account-modal-premium){background:#ebe6e1}@media(max-width:720px){.member-sidebar{background:#fbfaf8!important}.member-sidebar .member-nav button.active{background:#f0e5e0;color:#922d29}.member-brand>span{box-shadow:0 6px 16px #922d2926}}@media(max-width:720px){.modal-overlay.active:has(.account-modal-premium){display:block!important;overflow-y:auto!important}.account-modal-premium{display:block!important;width:100%!important;min-height:100dvh!important;height:auto!important;max-height:none!important;overflow:visible!important}.account-shell{display:block!important;min-height:100dvh!important;padding:0 0 calc(76px + env(safe-area-inset-bottom))!important}.member-sidebar{position:sticky!important;inset:0 auto auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;height:68px!important;min-height:68px!important;padding:.65rem 3.8rem .65rem .75rem!important;overflow:visible!important}.member-workspace{display:block!important;width:100%!important;min-height:calc(100dvh - 68px)!important;margin:0!important;overflow:visible!important}.member-sidebar .member-nav{position:fixed!important;inset:auto 0 0!important;z-index:100!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;width:100%!important;height:auto!important;min-height:70px!important;margin:0!important;padding:.4rem .35rem calc(.4rem + env(safe-area-inset-bottom))!important}.member-sidebar .member-nav button,.member-sidebar .member-nav button.active{align-self:stretch!important;min-height:54px!important;height:54px!important;margin:0!important}.member-workspace>.account-tab-content,.member-workspace>.account-loading,.member-workspace>.verification-banner-premium{display:block!important;width:calc(100% - 1.5rem)!important;margin-right:.75rem!important;margin-left:.75rem!important}}.reader-community{display:flex;flex-direction:column;gap:1.25rem;color:#302824}.community-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:end;overflow:hidden;padding:2.2rem;border:0;border-radius:24px;background:linear-gradient(125deg,#2d211e,#512722 68%,#9b352c);color:#fff;box-shadow:0 18px 48px #46211b21}.community-header:after{content:"M";position:absolute;right:29%;bottom:-3.4rem;color:#ffffff0b;font:800 12rem/1 "Source Serif 4",serif;pointer-events:none}.community-header .account-panel-kicker{color:#f4ac73}.community-header h2{max-width:720px;margin:.45rem 0 .55rem;color:#fff;font:700 clamp(2rem,4vw,3.5rem)/1.02 "Source Serif 4",serif;letter-spacing:-.04em}.community-header p{max-width:680px;margin:0;color:#ffffffb3;font-size:.92rem;line-height:1.7}.community-header-actions{position:relative;z-index:1;display:flex;gap:.65rem}.community-header-actions .btn{min-height:44px;border-radius:11px}.community-header-actions .btn-outline{border-color:#ffffff4d!important;background:#ffffff14!important;color:#fff!important}.community-how{display:grid;grid-template-columns:260px minmax(0,1fr);gap:1.5rem;padding:1.4rem;border:1px solid #e6dcd5;border-radius:20px;background:#fff}.community-how-heading{padding:.25rem .5rem}.community-how-heading>span{color:#a3332d;font-size:.64rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.community-how-heading h3{margin:.55rem 0 0;font:700 1.25rem/1.2 "Source Serif 4",serif}.community-how ol{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin:0;padding:0;list-style:none}.community-how li{display:flex;gap:.75rem;min-height:94px;padding:1rem;border-radius:14px;background:#f7f2ee}.community-how li>b{color:#b63831;font:700 1.15rem "Source Serif 4",serif}.community-how li span{display:flex;flex-direction:column;gap:.3rem}.community-how li strong{font-size:.76rem}.community-how li small{color:#81736d;font-size:.68rem;line-height:1.5}.community-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.community-stats>div{display:flex;align-items:baseline;gap:.65rem;padding:1rem 1.2rem;border:1px solid #e7ddd7;border-radius:14px;background:#fff}.community-stats strong{color:#9c302b;font:700 1.55rem "Source Serif 4",serif}.community-stats span{color:#776b65;font-size:.7rem;font-weight:750;text-transform:uppercase}.community-section>h3{margin:.35rem 0 .85rem;font:700 1.35rem "Source Serif 4",serif}.community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.community-card{position:relative;display:flex;flex-direction:column;min-height:285px;padding:1.25rem;border:1px solid #e4d9d2;border-radius:18px;background:#fff;box-shadow:0 10px 30px #30211b0b;cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}.community-card:hover{transform:translateY(-3px);border-color:#cfb9ae;box-shadow:0 16px 38px #30211b17}.community-card-top{display:flex;align-items:center;justify-content:space-between;color:#8a7c75;font-size:.65rem}.community-card-top>span:last-child{display:flex;align-items:center;gap:.3rem}.community-pill{display:inline-flex;width:max-content;padding:.34rem .55rem;border-radius:999px;background:#f2e4de;color:#98332e;font-size:.6rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.community-card h3{margin:1rem 0 .45rem;font:700 1.35rem/1.2 "Source Serif 4",serif}.community-card>p{display:-webkit-box;margin:0;color:#786b65;font-size:.75rem;line-height:1.6;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.community-book-line{display:flex;align-items:center;gap:.65rem;margin-top:1rem;padding:.75rem;border-radius:11px;background:#f8f3ef;color:#9b332d}.community-book-line span{display:flex;min-width:0;flex-direction:column;font-size:.72rem;font-weight:750}.community-book-line small{margin-bottom:.12rem;color:#988881;font-size:.55rem;font-weight:750;text-transform:uppercase}.community-card footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:1rem;border-top:1px solid #eee5df}.community-card footer>span{display:flex;align-items:center;gap:.35rem;color:#80736c;font-size:.68rem}.community-card footer button{display:flex;align-items:center;gap:.35rem;padding:.55rem .75rem;border:0;border-radius:9px;background:#302522;color:#fff;font-size:.65rem;font-weight:800;cursor:pointer}.community-card footer .community-card-join{background:#a62f29}.community-card footer em{color:#a56a24;font-size:.65rem;font-style:normal;font-weight:750}.community-back{width:max-content}.community-group-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:end;padding:2rem;border-radius:22px;background:linear-gradient(130deg,#fff,#f7ece6);box-shadow:0 12px 36px #311f1a0e}.community-group-hero h2{margin:.7rem 0 .4rem;font:700 clamp(1.8rem,4vw,3rem)/1.05 "Source Serif 4",serif}.community-group-hero p{max-width:700px;color:#746761;font-size:.82rem;line-height:1.7}.community-group-actions{display:flex;align-items:center;gap:.7rem}.community-group-actions>span{display:flex;align-items:center;gap:.35rem;color:#776a64;font-size:.7rem}.community-current-book{display:flex;align-items:center;gap:1rem;padding:1.15rem 1.25rem;border-radius:16px;background:#2e2421;color:#fff}.community-current-book>svg{color:#edaa70}.community-current-book>div{display:flex;min-width:0;flex:1;flex-direction:column}.community-current-book span{color:#dca16e;font-size:.57rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.community-current-book strong{margin:.2rem 0;font:700 1rem "Source Serif 4",serif}.community-current-book small{color:#b8aca7}.community-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:1rem}.community-panel{padding:1.25rem;border:1px solid #e5dbd5;border-radius:18px;background:#fff}.community-panel>h3{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;font:700 1.1rem "Source Serif 4",serif}.community-posts{display:flex;max-height:520px;flex-direction:column;gap:.7rem;overflow-y:auto;padding-right:.25rem}.community-post{position:relative;padding:1rem;border-radius:13px;background:#f7f3f0}.community-post.mine{background:#f3e7e1}.community-post-head{display:flex;align-items:center;gap:.6rem}.community-post-avatar{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#352824;color:#fff;font-size:.7rem;font-weight:800}.community-post-head>div{display:flex;flex-direction:column}.community-post-head strong{font-size:.72rem}.community-post-head time{margin-top:.12rem;color:#9a8c85;font-size:.57rem}.community-post>p{margin:.75rem 0 .4rem;color:#544843;font-size:.76rem;line-height:1.65;white-space:pre-wrap}.community-reply{padding:0;border:0;background:none;color:#a3332d;font-size:.64rem;font-weight:800;cursor:pointer}.community-conversation-empty{display:grid;place-items:center;min-height:230px;padding:2rem;border:1px dashed #ddcec6;border-radius:14px;color:#9b8d86;text-align:center}.community-conversation-empty strong{margin-top:.7rem;color:#403633}.community-conversation-empty p{max-width:360px;margin:.25rem 0;font-size:.72rem;line-height:1.5}.community-compose{margin-top:1rem;padding:1rem;border:1px solid #dfd4ce;border-radius:14px;background:#fff}.community-compose textarea{width:100%;min-height:100px;padding:0;border:0;outline:0;resize:vertical;background:transparent;color:#302824;font:400 .78rem/1.6 Inter,sans-serif}.community-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.75rem;border-top:1px solid #eee6e1}.community-compose-footer>span{color:#998b84;font-size:.59rem}.community-replying{display:flex;align-items:center;gap:.3rem;margin-bottom:.7rem;padding:.55rem .65rem;border-radius:8px;background:#f5ece7;color:#7b6d66;font-size:.64rem}.community-replying button{display:grid;margin-left:auto;padding:0;border:0;background:none;cursor:pointer}.community-join-callout{display:flex;align-items:center;gap:.8rem;margin-top:1rem;padding:1rem;border-radius:13px;background:#f6ede8}.community-join-callout>div{display:flex;flex:1;flex-direction:column}.community-join-callout strong{font-size:.72rem}.community-join-callout span{margin-top:.2rem;color:#80716b;font-size:.65rem}.community-members{height:max-content}.community-member{display:flex;align-items:center;gap:.65rem;padding:.65rem 0;border-bottom:1px solid #eee7e2}.community-member:last-child{border:0}.community-member>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#f0e4de;color:#98332d;font-size:.7rem;font-weight:800}.community-member>div{display:flex;flex-direction:column}.community-member strong{font-size:.7rem}.community-member small{margin-top:.15rem;color:#948780;font-size:.57rem}.community-request{display:flex;align-items:center;justify-content:space-between;padding:.7rem;border-radius:10px;background:#f7f2ee}.community-request button{margin-left:.4rem;padding:.4rem .6rem;border:0;border-radius:7px;cursor:pointer}.community-modal-backdrop{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:1rem;background:#2319168f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.community-modal{width:min(620px,100%);max-height:calc(100dvh - 2rem);overflow-y:auto;padding:1.5rem;border-radius:20px;background:#fff;box-shadow:0 28px 80px #00000040}.community-modal h3{margin:0 0 1.2rem;font:700 1.5rem "Source Serif 4",serif}.community-modal>label,.community-modal fieldset{display:flex;flex-direction:column;gap:.4rem;margin:.8rem 0;border:0;color:#5c4f49;font-size:.68rem;font-weight:750}.community-modal input,.community-modal textarea,.community-modal select{width:100%;min-height:45px;padding:.7rem .8rem;border:1px solid #ded3cd;border-radius:10px;background:#faf8f6;font:400 16px Inter,sans-serif}.community-modal textarea{min-height:110px;resize:vertical}.community-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 .8rem}.community-interest-list{display:flex;flex-wrap:wrap;gap:.4rem}.community-interest-list button{padding:.45rem .65rem;border:1px solid #dfd4cd;border-radius:999px;background:#fff;color:#675953;font-size:.63rem;cursor:pointer}.community-interest-list button.active{border-color:#9f302b;background:#9f302b;color:#fff}.community-modal .community-check{flex-direction:row;align-items:center}.community-check input{width:18px;min-height:18px}.community-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.2rem;padding-top:1rem;border-top:1px solid #eee5df}.community-modal-actions>button:first-child{border:0;background:none;color:#766963;cursor:pointer}.modal-overlay.active:has(.receipt-preview-modal){z-index:200;background:#1c1918d1}.receipt-preview-modal{display:flex!important;width:min(980px,94vw)!important;max-width:980px!important;height:min(900px,92dvh);max-height:92dvh!important;flex-direction:column;overflow:hidden!important;border-radius:16px!important;background:#fff!important}.receipt-preview-body{display:flex;min-height:0;flex:1;flex-direction:column;padding:1.25rem}.receipt-preview-body h3{display:flex;align-items:baseline;gap:.55rem;margin:0 0 .8rem;font:700 1.35rem "Source Serif 4",serif}.receipt-preview-body h3 span{color:#968780;font:600 .68rem Inter,sans-serif}.receipt-preview-frame{width:100%;min-height:0;flex:1;border:1px solid #ddd;border-radius:8px;background:#eee}.receipt-preview-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:.8rem}.receipt-paper{width:min(680px,100%);min-height:0;margin:auto;padding:1.5rem 2rem;overflow-y:auto;border:1px solid #ddd;border-top:4px solid #a82323;background:#fff;color:#232323;box-shadow:0 8px 30px #00000014;font:400 .75rem/1.5 Inter,sans-serif}.receipt-paper-header{display:flex;align-items:center;flex-direction:column;padding-bottom:1rem;text-align:center}.receipt-paper-header img{width:48px;height:48px;object-fit:cover;border-radius:50%}.receipt-paper-header strong{margin-top:.45rem;font-size:.95rem}.receipt-paper-header small{color:#777}.receipt-paper-title{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.receipt-paper-title span{color:#777}.receipt-paper-meta{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:1.2rem 0}.receipt-paper-meta section{display:flex;flex-direction:column;gap:.15rem}.receipt-paper-meta section>b{margin-bottom:.35rem;font-size:.65rem}.receipt-paper-meta section>span{color:#666}.receipt-paper-table{width:100%;border-collapse:collapse}.receipt-paper-table th{padding:.6rem;background:#f3f3f3;color:#666;font-size:.62rem;text-align:left}.receipt-paper-table th:nth-child(3),.receipt-paper-table td:nth-child(3){text-align:center}.receipt-paper-table th:last-child,.receipt-paper-table td:last-child{text-align:right}.receipt-paper-table td{padding:.7rem .6rem;border-bottom:1px solid #ddd}.receipt-paper-table td:first-child{font-weight:700}.receipt-paper-total{display:flex;width:min(300px,100%);margin:1rem 0 1rem auto;flex-direction:column}.receipt-paper-total>span,.receipt-paper-total>strong{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0}.receipt-paper-total>strong{margin-top:.3rem;padding-top:.65rem;border-top:1px solid #333;font-size:.82rem}.receipt-paper footer{margin-top:2rem;padding-top:.8rem;border-top:1px solid #ddd;color:#777;font-size:.65rem}@media(max-width:900px){.community-header{grid-template-columns:1fr;align-items:start}.community-header-actions{justify-content:flex-start}.community-how{grid-template-columns:1fr}.community-how ol{grid-template-columns:1fr 1fr 1fr}.community-detail-grid{grid-template-columns:1fr}.community-members{display:grid;grid-template-columns:repeat(2,1fr);gap:0 1rem}.community-members>h3{grid-column:1/-1}}@media(max-width:640px){.reader-community{gap:.85rem}.community-header{padding:1.3rem;border-radius:17px}.community-header h2{font-size:2rem}.community-header-actions{display:grid;width:100%;grid-template-columns:1fr}.community-header-actions .btn{width:100%}.community-how{padding:1rem;border-radius:15px}.community-how ol{grid-template-columns:1fr}.community-how li{min-height:auto}.community-stats{grid-template-columns:1fr}.community-stats>div{padding:.7rem 1rem}.community-grid{grid-template-columns:1fr}.community-card{min-height:260px}.community-group-hero{grid-template-columns:1fr;padding:1.25rem}.community-group-actions{align-items:flex-start;flex-direction:column}.community-current-book{align-items:flex-start;flex-wrap:wrap}.community-current-book .btn{width:100%}.community-panel{padding:1rem}.community-members{grid-template-columns:1fr}.community-compose-footer,.community-join-callout{align-items:flex-start;flex-direction:column}.community-form-grid{grid-template-columns:1fr}.community-modal{height:100dvh;max-height:100dvh;border-radius:0}.receipt-preview-modal{width:100vw!important;height:100dvh;max-height:100dvh!important;border-radius:0!important}.receipt-preview-body{padding:.8rem}.receipt-preview-body h3{padding-right:2.5rem;flex-direction:column}.receipt-paper{padding:1rem}.receipt-paper-meta{grid-template-columns:1fr;gap:1rem}.receipt-paper-table th:nth-child(2),.receipt-paper-table td:nth-child(2){display:none}.receipt-preview-actions .btn{min-height:42px}.modal-overlay.active:has(.receipt-preview-modal){padding:0}}
