.offline-banner{position:fixed;top:0;left:0;right:0;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff;padding:.75rem 1rem;z-index:9999;box-shadow:0 2px 8px #00000026;animation:slideDown .3s ease-out}.offline-content{display:flex;align-items:center;gap:.75rem;max-width:1200px;margin:0 auto}.offline-icon{font-size:1.5rem;animation:pulse 2s infinite}.offline-text strong{display:block;font-size:.9375rem;font-weight:600;margin-bottom:.125rem}.offline-text p{font-size:.8125rem;margin:0;opacity:.9}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.toast-message.success{background:linear-gradient(135deg,#4caf50,#45a049)}.toast-message.error{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.skeleton{animation:pulse 1.5s ease-in-out infinite;pointer-events:none}.skeleton-image{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-line{height:12px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px;margin-bottom:.5rem}.skeleton-title{width:80%;height:16px}.skeleton-subtitle{width:60%;height:12px}[data-theme=dark] .skeleton-image,[data-theme=dark] .skeleton-line{background:linear-gradient(90deg,#2d2d2d 25%,#3d3d3d,#2d2d2d 75%);background-size:200% 100%}.empty-state-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;min-height:300px}.empty-illustration-wrapper{margin-bottom:1.5rem;animation:floatAnimation 3s ease-in-out infinite}@keyframes floatAnimation{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.empty-illustration{width:200px;height:200px}.empty-title{font-size:1.25rem;font-weight:700;color:#333;margin-bottom:.5rem}[data-theme=dark] .empty-title{color:#e0e0e0}.empty-message{color:#666;font-size:.9375rem;line-height:1.6;margin-bottom:1.5rem;max-width:300px}[data-theme=dark] .empty-message{color:#999}.empty-action{padding:.875rem 2rem;background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;border:none;border-radius:24px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s}.empty-action:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff6b9d66}.empty-action:active{transform:translateY(0)}.onboarding-overlay{position:fixed;inset:0;background:linear-gradient(135deg,#667eea,#764ba2);z-index:1000;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s}.onboarding-content{text-align:center;padding:2rem;max-width:400px;color:#fff}.onboarding-skip{background:#fff3;border:none;color:#fff;padding:.5rem 1rem;border-radius:20px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;float:left;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.onboarding-illustration{margin:3rem 0}.onboarding-icon{width:120px;height:120px;border-radius:30px;display:flex;align-items:center;justify-content:center;font-size:4rem;margin:0 auto;box-shadow:0 20px 40px #0000004d;animation:floatAnimation 3s ease-in-out infinite}.onboarding-title{font-size:2rem;font-weight:700;margin-bottom:1rem}.onboarding-description{font-size:1.125rem;line-height:1.8;opacity:.9;margin-bottom:2rem}.onboarding-dots{display:flex;gap:.5rem;justify-content:center;margin-bottom:2rem}.onboarding-dot{width:8px;height:8px;border-radius:50%;transition:all .3s}.onboarding-dot.active{width:24px;border-radius:4px}.onboarding-btn{width:100%;padding:1.125rem;border:none;border-radius:16px;color:#fff;font-family:Vazir,sans-serif;font-weight:700;font-size:1.125rem;cursor:pointer;box-shadow:0 8px 24px #0000004d;transition:all .2s}.onboarding-btn:active{transform:scale(.98)}.install-prompt-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:flex-end;justify-content:center;z-index:9999;padding:0;animation:fadeIn .3s ease}.install-prompt{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:500px;padding:1.5rem;position:relative;animation:slideUp .5s cubic-bezier(.16,1,.3,1);box-shadow:0 -8px 32px #0003;margin-bottom:0}.share-button-pointer{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:10000;display:flex;flex-direction:column;align-items:center;pointer-events:none;animation:floatPointer 2s ease-in-out infinite}@keyframes floatPointer{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(-15px)}}.pointer-spotlight{position:absolute;bottom:-30px;left:50%;transform:translate(-50%);width:80px;height:80px;background:radial-gradient(circle,rgba(255,107,157,.4) 0%,transparent 70%);border-radius:50%;animation:pulseSpotlight 2s ease-in-out infinite}@keyframes pulseSpotlight{0%,to{transform:translate(-50%) scale(1);opacity:.8}50%{transform:translate(-50%) scale(1.3);opacity:.4}}.pointer-arrow{filter:drop-shadow(0 4px 12px rgba(255,107,157,.6));animation:bounceArrow 1.5s ease-in-out infinite}@keyframes bounceArrow{0%,to{transform:translateY(0)}50%{transform:translateY(10px)}}.pointer-text{margin-top:.5rem;background:linear-gradient(135deg,#ff6b9d,#ff8fa3);color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:700;font-size:.9rem;box-shadow:0 4px 12px #ff6b9d66;animation:wiggle 1s ease-in-out infinite;white-space:nowrap}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}.close-btn{position:absolute;top:1rem;left:1rem;background:#f5f5f5;border:none;width:36px;height:36px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.16,1,.3,1);color:#666;z-index:10}.close-btn:hover{background:#e0e0e0;transform:rotate(90deg) scale(1.1)}.close-btn:active{transform:rotate(90deg) scale(.95)}.prompt-header{text-align:center;margin-bottom:1.5rem;padding-top:.5rem}.prompt-icon{font-size:3.5rem;margin-bottom:.5rem;animation:scaleIn .6s cubic-bezier(.16,1,.3,1);display:inline-block}@keyframes scaleIn{0%{transform:scale(0) rotate(-180deg)}to{transform:scale(1) rotate(0)}}.prompt-header h3{font-size:1.6rem;font-weight:800;background:linear-gradient(135deg,#ff6b9d,#ff8fa3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:.5rem 0}.prompt-header p{color:#666;font-size:.95rem;margin:0;line-height:1.5}.install-steps{display:flex;flex-direction:column;gap:1rem;margin:1.5rem 0}.step{display:flex;gap:1rem;align-items:flex-start;padding:1.2rem;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:16px;transition:all .3s cubic-bezier(.16,1,.3,1);border:2px solid transparent;position:relative;overflow:hidden}.step:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#ff6b9d1a,#ff8fa31a);opacity:0;transition:opacity .3s}.step:hover:before{opacity:1}.step:hover{transform:translate(-4px);border-color:#ff6b9d4d;box-shadow:0 4px 12px #ff6b9d26}.step-highlight{background:linear-gradient(135deg,#fff5f7,#fff);border:2px solid rgba(255,107,157,.3);box-shadow:0 4px 16px #ff6b9d33;animation:highlightPulse 2s ease-in-out infinite}@keyframes highlightPulse{0%,to{box-shadow:0 4px 16px #ff6b9d33}50%{box-shadow:0 6px 20px #ff6b9d59}}.step-number{background:linear-gradient(135deg,#ff6b9d,#ff8fa3);color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0;box-shadow:0 4px 12px #ff6b9d4d;font-size:1.1rem}.step-number.pulse{animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 4px 12px #ff6b9d4d}50%{transform:scale(1.1);box-shadow:0 6px 16px #ff6b9d80}}.step-content{display:flex;align-items:center;gap:.75rem;flex:1;font-size:.95rem;color:#333;line-height:1.5}.share-icon-step,.home-icon,.check-icon{font-size:1.5rem;display:inline-flex;align-items:center;flex-shrink:0}.share-icon-step svg,.home-icon svg{filter:drop-shadow(0 2px 4px rgba(0,122,255,.2))}.highlight-text{color:#007aff;font-weight:700;background:#007aff1a;padding:.2rem .5rem;border-radius:6px}.prompt-footer{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #eee}.feature-badges{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.badge{background:linear-gradient(135deg,#f0f7ff,#e6f2ff);color:#06c;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;border:1px solid rgba(0,102,204,.2);display:inline-flex;align-items:center;gap:.25rem}.install-btn{width:100%;padding:1.2rem;background:linear-gradient(135deg,#ff6b9d,#ff8fa3);color:#fff;border:none;border-radius:16px;font-size:1.15rem;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.75rem;transition:all .3s cubic-bezier(.16,1,.3,1);box-shadow:0 6px 20px #e91e6359;position:relative;overflow:hidden}.install-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.2),transparent);opacity:0;transition:opacity .3s}.install-btn:hover:before{opacity:1}.install-btn:hover{transform:translateY(-3px);box-shadow:0 8px 24px #e91e6373}.install-btn:active{transform:translateY(-1px)}.features{display:flex;justify-content:space-around;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #eee}.feature{font-size:.85rem;color:#666;font-weight:500}.keyboard-shortcuts{display:flex;flex-direction:column;gap:1rem;margin:1.5rem 0}.shortcut{display:flex;align-items:center;gap:1rem;padding:1.2rem;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:16px;justify-content:space-between;transition:all .3s;border:2px solid transparent}.shortcut:hover{border-color:#ff6b9d4d;transform:translate(-4px)}.shortcut div{display:flex;gap:.5rem;align-items:center}.shortcut kbd{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:.5rem 1rem;border-radius:8px;font-family:SF Mono,Monaco,monospace;font-size:1rem;font-weight:600;box-shadow:0 4px 8px #0003,inset 0 -2px #0000004d;min-width:45px;text-align:center}.shortcut span{color:#666;font-size:.9rem;font-weight:500}.or-divider{text-align:center;color:#999;font-size:.9rem;font-weight:600;margin:1.5rem 0;position:relative}.or-divider:before,.or-divider:after{content:"";position:absolute;top:50%;width:35%;height:2px;background:linear-gradient(to right,transparent,#ddd,transparent)}.or-divider:before{left:0}.or-divider:after{right:0}.manual-steps{text-align:center;padding:1.2rem;background:linear-gradient(135deg,#fff5e6,#fff);border-radius:16px;border:2px solid rgba(255,193,7,.3)}.manual-steps p{color:#f57c00;font-weight:600;margin:0;font-size:1rem}@media (min-width: 768px){.install-prompt-overlay{align-items:center;padding:2rem}.install-prompt{border-radius:24px;margin-bottom:0;animation:scaleInBounce .5s cubic-bezier(.16,1,.3,1)}@keyframes scaleInBounce{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}.share-button-pointer{display:none}}[dir=rtl] .step:hover,[dir=rtl] .shortcut:hover{transform:translate(4px)}@media (prefers-color-scheme: dark){.install-prompt{background:#1c1c1e;color:#fff}.step{background:linear-gradient(135deg,#2c2c2e,#1c1c1e)}.prompt-header p,.step-content,.feature,.shortcut span{color:#ebebf5}.close-btn{background:#2c2c2e;color:#ebebf5}.close-btn:hover{background:#3a3a3c}}.bottom-nav-modern{position:fixed;bottom:0;left:0;width:100vw;padding:12px 16px 20px;z-index:1000;direction:rtl}.nav-container{margin:0 auto;max-width:380px;width:calc(100% - 32px);display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:20px;padding:8px;box-shadow:0 8px 32px #0000001a}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;border:none;background:none;cursor:pointer;padding:8px;border-radius:14px;transition:all .3s ease;font-family:Shabnam,Vazir,sans-serif}.nav-item:active{transform:scale(.92)}.icon-wrapper{position:relative;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.icon{font-size:22px;position:relative;z-index:2;transition:transform .4s cubic-bezier(.34,1.56,.64,1);filter:grayscale(.5) brightness(.9)}.nav-item.active .icon{transform:scale(1.15);filter:grayscale(0) brightness(1.1)}.active-bg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:12px;opacity:.15;z-index:1}.label{font-size:11px;font-weight:600;color:#999;transition:all .3s ease;font-family:Shabnam,Vazir,sans-serif}.nav-item.active .label{font-weight:700}[data-theme=dark] .nav-container{background:#1e1e1ef2}[data-theme=dark] .label{color:#666}.download-btn-container{width:100%;margin:1rem 0}.download-btn{width:100%;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;font-family:Vazir,sans-serif;transition:opacity .3s}.download-btn:hover{opacity:.9}.download-btn:disabled{opacity:.7;cursor:not-allowed}.progress-bar{margin-top:.5rem;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.downloaded-box{display:flex;gap:.5rem;align-items:center}.check-badge{flex:1;padding:1rem;background:#e8f5e9;color:#2e7d32;border-radius:12px;font-weight:600;text-align:center}.delete-btn{padding:1rem;background:#f44336;color:#fff;border:none;border-radius:12px;cursor:pointer;font-size:1.25rem;min-width:50px;transition:opacity .3s}.delete-btn:hover{opacity:.9}.selection-menu{position:fixed;background:#fff;border-radius:12px;padding:.5rem;display:flex;gap:.5rem;box-shadow:0 4px 20px #00000026;z-index:1000;animation:popIn .2s}[data-theme=dark] .selection-menu{background:#2d2d2d}@keyframes popIn{0%{opacity:0;transform:translate(-50%,-100%) scale(.8)}to{opacity:1;transform:translate(-50%,-100%) scale(1)}}.selection-btn{background:transparent;border:none;font-size:1.5rem;cursor:pointer;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s}.selection-btn:hover{background:#0000000d}.selection-btn:active{transform:scale(.9)}.highlight{padding:2px 0;border-radius:2px;cursor:pointer}.highlight-yellow{background:#fff59d}.highlight-green{background:#c8e6c9}.highlight-blue{background:#bbdefb}[data-theme=dark] .highlight-yellow{background:#9e9d24}[data-theme=dark] .highlight-green{background:#558b2f}[data-theme=dark] .highlight-blue{background:#1976d2}.bottom-sheet-overlay{position:fixed;inset:0;background:#00000080;z-index:9998;animation:fadeIn .3s ease-out}.bottom-sheet{position:fixed;bottom:0;left:0;right:0;background:var(--bg-primary);border-radius:20px 20px 0 0;max-height:85vh;overflow-y:auto;z-index:9999;animation:slideUp .3s ease-out;box-shadow:0 -4px 24px #00000026}.sheet-handle{width:40px;height:4px;background:#ddd;border-radius:2px;margin:.75rem auto .5rem}.sheet-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color)}.sheet-header h3{margin:0;font-size:1.125rem;font-weight:600}.sheet-close{background:none;border:none;font-size:1.5rem;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.sheet-close:hover{background:var(--hover-bg)}.sheet-content{padding:1rem 1.5rem 2rem}.sheet-label{display:block;font-weight:600;margin-bottom:.75rem;color:var(--text-primary);font-size:.9375rem}.font-selector-sheet{display:flex;gap:.5rem;flex-wrap:wrap}.font-chip{padding:.5rem 1rem;border:2px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;cursor:pointer;font-size:.9375rem;transition:all .2s}.font-chip:hover{border-color:var(--primary-color)}.font-chip.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.size-control-sheet button{width:40px;height:40px;border:2px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.size-control-sheet button:hover{border-color:var(--primary-color);color:var(--primary-color)}.size-control-sheet input[type=range]{flex:1}.range-full{width:100%;height:6px;border-radius:3px;background:var(--border-color);outline:none;-webkit-appearance:none}.range-full::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:var(--primary-color);cursor:pointer;box-shadow:0 2px 4px #0003}.range-full::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--primary-color);cursor:pointer;border:none;box-shadow:0 2px 4px #0003}.margin-selector button,.align-selector button{flex:1;padding:.625rem;border:2px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;font-size:.9375rem;cursor:pointer;transition:all .2s;font-family:Vazir,sans-serif}.margin-selector button:hover,.align-selector button:hover{border-color:var(--primary-color)}.margin-selector button.active,.align-selector button.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.speed-labels{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.8125rem;color:var(--text-secondary)}.theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.theme-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem;border-radius:8px;transition:background .2s}.theme-option:hover,.theme-option.active{background:var(--hover-bg)}.theme-preview{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:600;border:2px solid transparent;transition:all .2s}.theme-option.active .theme-preview{border-color:var(--primary-color);transform:scale(1.1)}.theme-name{font-size:.75rem;color:var(--text-secondary);text-align:center}.auto-scroll-indicator{position:fixed;top:4.5rem;left:50%;transform:translate(-50%);z-index:999;animation:slideDown .3s ease-out}.indicator-content{background:#000000d9;color:#fff;padding:.75rem 1.25rem;border-radius:24px;display:flex;align-items:center;gap:.75rem;box-shadow:0 4px 16px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.indicator-icon{font-size:1.125rem;animation:pulse 1.5s infinite}.indicator-text{font-size:.9375rem;font-weight:500}.indicator-stop-btn{background:#fff3;border:none;color:#fff;padding:.375rem .875rem;border-radius:12px;font-size:.875rem;cursor:pointer;transition:background .2s;font-family:Vazir,sans-serif}.indicator-stop-btn:hover{background:#ffffff4d}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.progress-percentage{font-size:.875rem;color:var(--text-secondary);font-weight:600}.reader-action-btn.active-bookmark,.reader-action-btn.active-scroll{background:var(--primary-color);color:#fff}[data-theme=dark] .bottom-sheet{background:var(--bg-primary);box-shadow:0 -4px 24px #00000080}[data-theme=dark] .sheet-handle{background:#555}[data-theme=dark] .font-chip,[data-theme=dark] .size-control-sheet button,[data-theme=dark] .margin-selector button,[data-theme=dark] .align-selector button{background:var(--bg-secondary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .range-full{background:var(--border-color)}.drawer-overlay{position:fixed;inset:0;background:#00000080;z-index:9998;animation:fadeIn .3s ease-out}.side-drawer{position:fixed;top:0;right:0;bottom:0;width:85%;max-width:320px;background:var(--bg-primary);z-index:9999;display:flex;flex-direction:column;animation:slideInRight .3s ease-out;box-shadow:-4px 0 24px #00000026}.drawer-header{position:relative;padding:1.5rem;border-bottom:1px solid var(--border-color)}.drawer-close{position:absolute;top:1rem;left:1rem;width:32px;height:32px;border:none;background:var(--bg-secondary);border-radius:8px;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:var(--text-primary)}.drawer-close:hover{background:var(--hover-bg);transform:rotate(90deg)}.drawer-user{display:flex;align-items:center;gap:1rem;margin-top:2rem}.drawer-avatar{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;color:#fff;box-shadow:0 4px 12px #00000026}.drawer-user-info h3{margin:0 0 .25rem;font-size:1.125rem;font-weight:600;color:var(--text-primary)}.drawer-user-info p{margin:0;font-size:.875rem;color:var(--text-secondary)}.drawer-menu{flex:1;overflow-y:auto;padding:1rem 0}.drawer-menu-item{width:100%;display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;border:none;background:none;cursor:pointer;transition:all .2s;font-family:Vazir,sans-serif;font-size:1rem;color:var(--text-primary);border-right:3px solid transparent}.drawer-menu-item:hover{background:var(--hover-bg)}.drawer-menu-item.active{background:var(--hover-bg);border-right-color:var(--primary-color)}.drawer-item-icon{font-size:1.5rem;width:32px;display:flex;align-items:center;justify-content:center}.drawer-item-label{flex:1;font-weight:500;text-align:right}.drawer-item-arrow{font-size:1.25rem;color:var(--text-secondary);transition:transform .2s}.drawer-menu-item:hover .drawer-item-arrow{transform:translate(-4px)}.drawer-footer{padding:1.5rem;border-top:1px solid var(--border-color)}.drawer-version{text-align:center;color:var(--text-secondary);font-size:.875rem;margin-bottom:.75rem;font-family:Vazir,sans-serif}.drawer-links{display:flex;justify-content:center;gap:1rem}.drawer-links a{color:var(--primary-color);text-decoration:none;font-size:.875rem;font-weight:500;transition:opacity .2s;font-family:Vazir,sans-serif}.drawer-links a:hover{opacity:.8}.drawer-menu::-webkit-scrollbar{width:6px}.drawer-menu::-webkit-scrollbar-track{background:transparent}.drawer-menu::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.drawer-menu::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}[data-theme=dark] .side-drawer{background:var(--bg-primary);box-shadow:-4px 0 24px #00000080}[data-theme=dark] .drawer-close{background:var(--bg-secondary)}[data-theme=dark] .drawer-close:hover{background:var(--hover-bg)}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Regular.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Bold.woff2) format("woff2");font-weight:700;font-display:swap}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Medium.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Vazir;src:url(../fonts/Vazir.woff2) format("woff2");font-weight:500;font-display:swap}:root{--primary: #e91e63;--secondary: #ff6b6b;--bg-primary: #f5f5f5;--bg-secondary: #ffffff;--text-primary: #333333;--text-secondary: #666666;--border: #e0e0e0;--shadow: rgba(0, 0, 0, .08);--card-bg: #d8f3f0;--pink-gradient-start: #ff8fa3;--pink-gradient-end: #ff6b9d}[data-theme=dark]{--bg-primary: #1a1a1a;--bg-secondary: #2d2d2d;--text-primary: #e0e0e0;--text-secondary: #b0b0b0;--border: #404040;--shadow: rgba(0, 0, 0, .3);--card-bg: #2d2d2d}.loading-overlay{position:fixed;inset:0;background:#000000b3;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s}.loading-spinner{width:60px;height:60px;border:4px solid rgba(255,255,255,.3);border-top-color:#ff8fa3;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-overlay p{margin-top:1.5rem;color:#fff;font-size:1.125rem;font-weight:600}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{font-family:Vazir,-apple-system,sans-serif;direction:rtl;background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased}.app{max-width:600px;margin:0 auto;background:var(--bg-primary);min-height:100vh}.header{position:sticky;top:0;z-index:100;background:#fff;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0000000d}[data-theme=dark] .header{background:#2d2d2d;color:#e0e0e0}.header h1{font-size:1.5rem;font-weight:700;color:#000;font-family:Pacifico,cursive}[data-theme=dark] .header h1{color:#e0e0e0}.icon-btn{background:transparent;border:none;color:#333;font-size:1.5rem;width:40px;height:40px;border-radius:8px;cursor:pointer;transition:all .2s}[data-theme=dark] .icon-btn{color:#e0e0e0}.content{padding:1rem;padding-bottom:100px}.home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.home-header h2{font-size:1rem;color:#999;font-weight:400}.grid-toggle{display:flex;gap:.5rem}.grid-toggle button{padding:.5rem 1rem;border:2px solid #e0e0e0;background:#fff;border-radius:10px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s}.grid-toggle button.active{background:#ff8fa3;color:#fff;border-color:#ff8fa3}[data-theme=dark] .grid-toggle button{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.novels-grid{display:grid;gap:1rem}.novel-card{border-radius:20px;overflow:hidden;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:transform .2s}.novel-card:active{transform:scale(.98)}[data-theme=dark] .novel-card{background:#2d2d2d}.novel-image{position:relative;height:160px;overflow:hidden;border-radius:16px;margin:8px 8px 0}.novel-image img{width:100%;height:100%;object-fit:cover}.fav-btn{position:absolute;bottom:8px;right:8px;background:#fff;border:none;width:36px;height:36px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #00000026}.novel-info{padding:12px}.novel-info h3{font-size:1rem;font-weight:700;color:#000;margin-bottom:4px}[data-theme=dark] .novel-info h3{color:#e0e0e0}.novel-stats{display:flex;align-items:center;gap:8px;font-size:clamp(.75rem,2.5vw,.875rem);color:#8f9195;flex-wrap:wrap}@media (max-width: 360px){.novel-stats{font-size:.75rem;gap:6px}}.novel-detail-page{min-height:100vh;background:var(--bg-primary);padding-bottom:2rem}.close-btn-page{position:fixed;bottom:80px;left:20px;background:#ff5c5c;border:none;width:48px;height:48px;border-radius:50%;font-size:1.5rem;color:#fff;cursor:pointer;z-index:100;box-shadow:0 4px 12px #ff5c5c66;transition:transform .2s}.close-btn-page:active{transform:scale(.95)}.detail-header{padding:1.5rem;display:flex;gap:1rem;align-items:flex-start}.detail-header img{width:100px;height:140px;border-radius:16px;object-fit:cover;box-shadow:0 4px 12px #00000026}.detail-header .info{flex:1}.detail-header h2{font-size:1.375rem;margin-bottom:8px;font-weight:700;color:var(--text-primary)}.detail-header p{color:#666;font-size:.875rem;margin-bottom:12px}.reading-badge{display:inline-block;background:#ff6b9d26;color:#ff6b9d;padding:6px 16px;border-radius:16px;font-size:.875rem;font-weight:600}.detail-content{padding:0 1.5rem 1.5rem}.detail-content .summary{background:#f5f5f5;padding:1rem;border-radius:16px;color:#666;line-height:1.6;text-align:justify;margin-bottom:1.5rem}[data-theme=dark] .detail-content .summary{background:#2d2d2d;color:#b0b0b0}.detail-actions{display:flex;gap:.75rem;margin-bottom:1.5rem}.action-btn{flex:1;padding:1rem;border:2px solid transparent;border-radius:16px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s}.action-btn:active{transform:scale(.96)}.action-btn.primary{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;border-color:transparent}.action-btn.secondary{background:transparent;color:#ff6b9d;border-color:#ff6b9d}.action-btn.secondary-active{background:linear-gradient(135deg,#ffe0e6,#ffd6e0);color:#e91e63;border-color:#ff6b9d}[data-theme=dark] .action-btn.secondary{color:#ff8fa3;border-color:#ff8fa3}[data-theme=dark] .action-btn.secondary-active{background:#ff6b9d33;color:#ff8fa3}.detail-stats{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:#fff;border-radius:16px;margin-bottom:1rem;box-shadow:0 2px 8px #0000000d}[data-theme=dark] .detail-stats{background:#2d2d2d}.stat-item{display:flex;align-items:center;gap:8px;font-size:.9375rem;cursor:pointer;transition:transform .2s}.stat-item:active{transform:scale(.95)}.stat-item.like{color:#ff6b9d}.chapters-list{display:flex;flex-direction:column;gap:.75rem}.chapter-item{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);border-radius:20px;padding:1rem 1.25rem;cursor:pointer;transition:transform .2s;display:flex;align-items:center;gap:1rem}.chapter-item:active{transform:scale(.98)}.chapter-item.locked{opacity:.6}.chapter-item.has-bookmark{border-right:4px solid #e94ba9;background:linear-gradient(-10deg,#ff8fa3,#e0527f,transparent 100%)}.chapter-item.has-bookmark .chapter-icon{color:#ff6b6b}.bookmark-indicator{font-size:.75rem;color:#ff6b6b;font-weight:400}.chapter-icon{background:#fff;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#ff8fa3}.chapter-info{flex:1;color:#fff}.chapter-title{font-weight:600;font-size:1rem;margin-bottom:4px}.chapter-meta{font-size:.875rem;opacity:.9}.reader-page-full{min-height:100vh;display:flex;flex-direction:column;background:var(--bg-primary, #ffffff);color:var(--text-primary, #333333);padding-bottom:0}[data-theme=dark] .reader-page-full{background:#1a1a1a;color:#e0e0e0}.reader-header-sticky{position:sticky;top:0;z-index:100;background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 8px #0000000d}[data-theme=dark] .reader-header-sticky{background:#2d2d2df2;border-bottom-color:#404040;color:#e0e0e0}.reader-header-left,.reader-header-right{display:flex;gap:.25rem}.reader-action-btn{background:transparent;border:none;color:#333;width:44px;height:44px;border-radius:12px;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.reader-action-btn:hover{background:#0000000d}[data-theme=dark] .reader-action-btn{color:#e0e0e0}[data-theme=dark] .reader-action-btn:hover{background:#ffffff1a}.reader-action-btn.active-bookmark,[data-theme=dark] .reader-action-btn.active-bookmark{color:gold}.reader-action-btn.active-scroll{background:#4caf50;color:#fff;border-radius:8px}.reader-content,.text-content,.reader-content-full{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none}.reader-content-full.auto-scrolling{user-select:none;-webkit-user-select:none}.reader-content{max-width:750px;margin:0 auto;padding:0 1.25rem;color:inherit}[data-theme=dark] .reader-content{color:#e0e0e0!important}@media (min-width: 768px){.reader-content{user-select:none;-webkit-user-select:none;border-radius:8px;padding:2rem 2.5rem;box-shadow:0 2px 20px #0000001a}.reader-page-full{background:var(--bg-primary)}[data-theme=dark] .reader-page-full{background:#1a1a1a}[data-theme=dark] .reader-content{background:#2d2d2d}}.reader-content h1{font-size:1.25rem;margin-bottom:2rem;text-align:center;font-weight:700;color:inherit}[data-theme=dark] .reader-content h1{color:#fff!important}.text-content{white-space:pre-wrap;word-wrap:break-word;font-family:inherit;line-height:inherit;text-align:inherit;color:inherit}[data-theme=dark] .text-content{color:#e0e0e0!important}.reader-footer-sticky{position:sticky;bottom:0;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #e0e0e0;padding:.75rem 1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;box-shadow:0 -2px 10px #0000000d;z-index:100;margin-top:auto;flex-shrink:0}[data-theme=dark] .reader-footer-sticky{background:#2d2d2df2;border-top-color:#404040}.reader-footer-sticky button{flex:1;max-width:140px;padding:.75rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:14px;font-family:Shabnam,Vazir,sans-serif;font-weight:600;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .3s ease}.reader-footer-sticky button:first-child{background:linear-gradient(135deg,#f093fb,#f5576c)}.reader-footer-sticky button:active{transform:scale(.95)}.reader-footer-sticky button:disabled{opacity:.3;cursor:not-allowed;background:#ccc}.progress-percentage{font-size:.85rem;font-weight:700;color:#667eea;font-family:Shabnam,Vazir,sans-serif;min-width:50px;text-align:center}[data-theme=dark] .progress-percentage{color:#8b9aff}.settings-menu-overlay{position:fixed;inset:0;background:#00000080;z-index:700;display:flex;align-items:flex-end;animation:fadeIn .3s}.settings-menu{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:500px;margin:0 auto;padding:1.5rem;animation:slideUp .3s;max-height:65vh;overflow-y:auto}[data-theme=dark] .settings-menu{background:#2d2d2d}.settings-handle{width:40px;height:4px;background:#d0d0d0;border-radius:2px;margin:0 auto 1.5rem;cursor:pointer}.font-selector{display:flex;gap:.75rem;margin-bottom:1.5rem;overflow-x:auto;padding-bottom:.5rem}.font-selector::-webkit-scrollbar{display:none}.font-btn{padding:.75rem 1.5rem;border:2px solid #e0e0e0;background:#fff;border-radius:14px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0}.font-btn.active{background:#ff8fa3;color:#fff;border-color:#ff8fa3}.size-control{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-bottom:1.5rem}.size-display{font-size:1.5rem;font-weight:700;min-width:80px;text-align:center;background:#f5f5f5;padding:.75rem;border-radius:12px}.size-btn{background:#fff;border:2px solid #e0e0e0;width:48px;height:48px;border-radius:12px;font-size:1.25rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.size-btn:active{transform:scale(.95);background:#f5f5f5}.align-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.align-btn{padding:1rem;border:2px solid #e0e0e0;background:#fff;border-radius:12px;cursor:pointer;font-size:.75rem;line-height:1.2;transition:all .2s;display:flex;align-items:center;justify-content:center;min-height:60px}.align-btn.active{background:#ff8fa3;color:#fff;border-color:#ff8fa3}[data-theme=dark] .align-btn{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.theme-colors{display:flex;gap:1rem;justify-content:center}.theme-color{width:56px;height:56px;border-radius:16px;cursor:pointer;border:3px solid transparent;transition:all .2s;box-shadow:0 2px 8px #0000001a}.theme-color.active{border-color:#ff8fa3;transform:scale(1.15);box-shadow:0 4px 16px #ff8fa366}.overlay{position:fixed;inset:0;background:#00000080;z-index:200;animation:fadeIn .3s}.side-menu{position:fixed;top:0;right:0;height:100vh;width:min(85vw,320px);background:#fff;z-index:300;box-shadow:-5px 0 30px #0003;animation:slideInRight .3s;overflow-y:auto}.menu-header{padding:1.5rem;background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;display:flex;align-items:center;justify-content:space-between}.menu-header h2{font-size:1.5rem;font-weight:700}.menu-header button{background:#fff3;border:none;color:#fff;font-size:1.75rem;cursor:pointer;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.side-menu nav{padding:1.5rem}.side-menu nav button{width:100%;padding:1rem 1.25rem;background:#fff;border:1px solid #e0e0e0;text-align:right;font-size:1rem;font-family:Vazir,sans-serif;border-radius:12px;margin-bottom:.75rem;cursor:pointer;transition:all .3s;display:flex;align-items:center;gap:.75rem;color:#333}.side-menu nav button:hover{background:#ff8fa3;color:#fff;border-color:#ff8fa3;transform:translate(-5px)}.menu-divider{height:1px;background:#e0e0e0;margin:1rem 0}.modal-overlay{position:fixed;inset:0;background:#0006;z-index:500;display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn .2s}.activation-dialog{background:#fff;border-radius:24px;max-width:450px;width:100%;padding:2.5rem 2rem;text-align:center;animation:slideUp .3s;position:relative}[data-theme=dark] .activation-dialog{background:#2d2d2d}.close-btn-dialog{position:absolute;top:1rem;left:1rem;background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:#666}[data-theme=dark] .close-btn-dialog{color:#e0e0e0}.activation-dialog h2{font-size:1.375rem;margin-bottom:1.5rem;color:#000;font-weight:700}[data-theme=dark] .activation-dialog h2{color:#e0e0e0}.activation-dialog p{color:#666;margin-bottom:1rem;line-height:1.6;text-align:justify}[data-theme=dark] .activation-dialog p{color:#b0b0b0}.activation-btn{width:100%;padding:1.125rem;background:linear-gradient(135deg,#42a5f5,#1e88e5);color:#fff;border:none;border-radius:16px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem;cursor:pointer;margin-top:1rem;transition:transform .2s}.activation-btn:active{transform:scale(.98)}.plans-page-new{padding:0;max-width:600px;margin:0 auto;min-height:100vh;padding-bottom:2rem}.plans-header{padding:1.5rem;text-align:center}.plans-header h2{font-size:1.25rem;font-weight:700;margin-bottom:1rem}.contact-badge{background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:.5rem 1rem;display:inline-flex;align-items:center;gap:.5rem}.contact-badge span{font-size:1.25rem}.contact-badge input{background:#fff3;border:none;border-radius:50%;font-family:Vazir,sans-serif;font-size:.9375rem;font-weight:600;outline:none;width:180px;text-align:center}.contact-badge input::placeholder{color:#ffffffb3}.plans-grid{padding:1rem;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.plan-card-beautiful{position:relative;border-radius:20px;padding:1.5rem 1rem;text-align:center;cursor:pointer;transition:all .3s;color:#fff;min-height:180px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 4px 12px #00000026}.plan-card-beautiful:active{transform:scale(.96)}.plan-card-beautiful.selected{transform:scale(1.05);box-shadow:0 8px 24px #0000004d}.plan-card-check{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:50%;background:#ffffff4d;display:flex;align-items:center;justify-content:center;transition:all .2s}.plan-card-beautiful.selected .plan-card-check{background:#fff}.plan-card-check span{color:#4caf50;font-weight:700;font-size:1.125rem}.plan-card-beautiful h3{font-size:1.125rem;font-weight:700;margin-bottom:.75rem;line-height:1.3}.plan-card-price{background:#0003;border-radius:12px;padding:.5rem 1rem;margin:.5rem 0;display:inline-block}.plan-card-price .amount{font-size:1.5rem;font-weight:700;margin-left:.25rem}.plan-card-price .currency{font-size:.875rem;opacity:.9}.plan-card-gift{font-size:.8125rem;opacity:.95;margin-top:.5rem;font-weight:600}.plan-card-desc{font-size:.75rem;opacity:.85;margin-top:.5rem;line-height:1.3}.payment-btn-beautiful{width:calc(100% - 2rem);margin:1.5rem 1rem 1rem;padding:1.125rem;background:#fff;border:none;border-radius:16px;font-family:Vazir,sans-serif;font-weight:700;font-size:1.125rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #00000026}button.payment-btn-beautiful[style]{color:inherit;background:inherit}.payment-btn-beautiful:active{transform:scale(.98)}.payment-btn-beautiful:disabled{opacity:.5;background:#ffffff80;cursor:not-allowed;color:#4a90e2}.recovery-btn-beautiful{width:calc(100% - 1rem);padding:.6rem;background:#eff3fa;color:#4a90e2;border:none;border-radius:36px;font-family:Vazir,sans-serif;font-weight:500;font-size:.9rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #00000026}.recovery-btn-beautiful:active{transform:scale(.98)}.recovery-btn-beautiful:disabled{opacity:.5;background:#ffffff80;cursor:not-allowed}.plans-note{text-align:right;padding:1.125rem;border:2px solid #eef792;background:#f7f8e6;border-radius:10px;font-family:Vazir,sans-serif;font-size:.8125rem;line-height:1.6;padding:.2 1.4rem}[data-theme=dark] .plans-note{background:#f4ca6a1a;color:#e0e0e0;border:1px solid rgba(255,255,255,.2)}.font-selector-settings,.align-selector{display:flex;gap:.5rem}.font-selector-settings button,.align-selector button{flex:1;padding:.75rem;border:2px solid #e0e0e0;background:#fff;border-radius:10px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s;font-size:.9375rem}.font-selector-settings button.active,.align-selector button.active{background:#ff8fa3;color:#fff;border-color:#ff8fa3}[data-theme=dark] .font-selector-settings button,[data-theme=dark] .align-selector button{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.empty-subs{text-align:center;padding:3rem 2rem;color:#999}.empty-subs p{font-size:1.125rem}.plans-page{padding:1rem 1.25rem 6rem;max-width:600px;margin:0 auto}.contact-input-top{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem;background:#fff;padding:1rem;border-radius:16px;box-shadow:0 2px 8px #0000000d}[data-theme=dark] .contact-input-top{background:#2d2d2d}.contact-input-top input{flex:1;border:none;font-size:1.125rem;font-family:Vazir,sans-serif;text-align:center;background:transparent}.edit-icon{background:transparent;border:none;font-size:1.25rem;cursor:pointer}.plans-table{background:#4a9fd8;border-radius:20px;padding:1.5rem;margin-bottom:1.5rem;color:#fff}.table-header{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:.5rem;margin-bottom:1rem;font-weight:600;text-align:center}.table-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:.5rem;padding:.75rem 0;border-top:1px solid rgba(255,255,255,.2);text-align:center}.row-label{text-align:right;font-weight:500}.check-mark{font-size:1.25rem;font-weight:700}.check-mark.green{color:#4caf50}.check-mark.red{color:#f44336}.info-text{text-align:center;color:#666;font-size:.875rem;line-height:1.6;margin-bottom:2rem}.plans-list{display:flex;flex-direction:column;gap:1rem}.plan-card-ios{padding:1.5rem;border-radius:20px;color:#fff;cursor:pointer;transition:transform .2s;text-align:center}.plan-card-ios:active{transform:scale(.98)}.plan-price{font-size:1.75rem;font-weight:700;background:#0003;display:inline-block;padding:.5rem 1.5rem;border-radius:12px;margin-bottom:1rem}.plan-card-ios h3{font-size:1.25rem;margin-bottom:.5rem;font-weight:700}.plan-gift{font-size:.875rem;opacity:.9;margin-bottom:.5rem}.plan-description{font-size:.875rem;opacity:.9;line-height:1.4}.loading-plans{text-align:center;padding:3rem 2rem;color:#999;font-size:1.125rem}.subscriptions-page{padding:1rem 1rem 2rem;max-width:600px;margin:0 auto}.purchases-scroll-container{margin-bottom:1.5rem}.purchases-scroll-container h3{font-size:1.125rem;margin-bottom:1rem;font-weight:700;padding:0 .25rem}.purchases-list-scroll{display:flex;gap:1rem;overflow-x:auto;padding:.5rem .25rem 1rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.purchases-list-scroll::-webkit-scrollbar{height:6px}.purchases-list-scroll::-webkit-scrollbar-track{background:#f0f0f0;border-radius:3px}.purchases-list-scroll::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:3px}.purchase-card{flex:0 0 280px;background:#fff;border-radius:16px;padding:1.25rem;border-left:4px solid #ccc;box-shadow:0 2px 8px #0000001a;scroll-snap-align:start}[data-theme=dark] .purchase-card{background:#2d2d2d}.purchase-card.active{border-left-color:#4caf50;background:linear-gradient(135deg,#e8f5e9,#f1f8e9)}[data-theme=dark] .purchase-card.active{background:linear-gradient(135deg,#2e4a2e,#3a4a2e)}.purchase-card.expired{border-left-color:#f44336}.purchase-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e0e0e0}.purchase-card-header h4{font-size:1rem;font-weight:700;color:#000}[data-theme=dark] .purchase-card-header h4{color:#e0e0e0}.purchase-price{background:#ff9800;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.purchase-card-body{display:flex;flex-direction:column;gap:.75rem}.purchase-info-row{display:flex;justify-content:space-between;font-size:.875rem}.purchase-info-row .label{color:#666;font-weight:500}.purchase-info-row .value{color:#000;font-weight:600;text-align:left}[data-theme=dark] .purchase-info-row .value{color:#e0e0e0}.purchase-status{background:#fff3e0;padding:.75rem;border-radius:8px;font-size:.8125rem;line-height:1.4;margin-top:.5rem}.purchase-status.status-active{background:#e8f5e9;color:#2e7d32}.purchase-status.status-expired{background:#ffebee;color:#c62828}[data-theme=dark] .purchase-status{background:#3d3d3d}.input-group-new label{display:block;font-size:.9375rem;font-weight:600;color:#333;margin-bottom:.5rem;text-align:right}.code-style{font-size:1.5rem!important;letter-spacing:.5rem!important;text-align:center!important;font-weight:700!important;font-family:Courier New,monospace!important}.subscription-summary-fixed{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-radius:20px;padding:1.5rem;margin-bottom:1.5rem;text-align:center}[data-theme=dark] .subscription-summary-fixed{background:linear-gradient(135deg,#1e3a5f,#2a4a6f)}.summary-icon{font-size:3rem;margin-bottom:1rem}.summary-text{background:#fff;border-radius:12px;padding:1rem;margin-bottom:1rem}[data-theme=dark] .summary-text{background:#2d2d2d}.summary-text p{color:#333;line-height:1.6;font-size:.9375rem;text-align:justify}[data-theme=dark] .summary-text p{color:#e0e0e0}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1rem}.stat-box{background:#fff;border-radius:12px;padding:.75rem;display:flex;flex-direction:column;gap:.25rem}[data-theme=dark] .stat-box{background:#2d2d2d}.stat-label{font-size:.75rem;color:#666}[data-theme=dark] .stat-label{color:#b0b0b0}.stat-value{font-size:1.25rem;font-weight:700;color:#1976d2}.status-badge{width:100%;padding:.875rem;border:none;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem}.status-badge-card{position:absolute;top:8px;left:8px;padding:.375rem .75rem;border-radius:16px;font-size:.75rem;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 8px #00000026;z-index:2}.status-badge.active{background:#4caf50;color:#fff}.status-badge.expired{background:#f44336;color:#fff}.buy-new-btn{width:100%;padding:1.125rem;background:linear-gradient(135deg,#42a5f5,#1e88e5);color:#fff;border:none;border-radius:16px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s}.buy-new-btn:active{transform:scale(.98)}.settings-page-new{padding:1rem 1rem 6rem;max-width:600px;margin:0 auto;background:var(--bg-primary)}.settings-group{margin-bottom:2rem}.settings-group-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.settings-group-icon{font-size:1.5rem}.settings-group-header h3{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin:0}.settings-card-modern{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #00000014}[data-theme=dark] .settings-card-modern{background:#2d2d2d}.settings-option{padding:1.25rem}.settings-option label{display:block;font-weight:600;font-size:.9375rem;color:var(--text-primary);margin-bottom:.75rem}.theme-selector-modern,.grid-selector{display:flex;gap:.5rem}.theme-selector-modern button,.grid-selector button{flex:1;padding:.75rem;border:2px solid #e0e0e0;background:#fff;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.theme-selector-modern button.active,.grid-selector button.active{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;border-color:#ff8fa3}[data-theme=dark] .theme-selector-modern button,[data-theme=dark] .grid-selector button{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.font-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.font-grid button{padding:.875rem;border:2px solid #e0e0e0;background:#fff;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s;font-size:1rem}.font-grid button.active{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;border-color:#ff8fa3}[data-theme=dark] .font-grid button{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.slider-control{display:flex;align-items:center;gap:1rem}.slider-control button{width:40px;height:40px;border-radius:10px;border:2px solid #e0e0e0;background:#fff;font-size:1.25rem;font-weight:700;cursor:pointer;transition:all .2s}.slider-control button:active{transform:scale(.95)}.slider-control input[type=range]{flex:1;height:6px;border-radius:3px;background:#e0e0e0;outline:none;-webkit-appearance:none}.slider-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#ff8fa3,#ff6b9d);cursor:pointer}.theme-colors-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.theme-color-btn{padding:.75rem;border:2px solid transparent;border-radius:10px;font-family:Vazir,sans-serif;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.theme-color-btn.active{border-color:#4caf50;transform:scale(1.05);box-shadow:0 4px 12px #4caf504d}.modern-input{width:100%;padding:.875rem 1rem;border:2px solid #e0e0e0;border-radius:12px;font-family:Vazir,sans-serif;font-size:1rem;transition:all .2s;background:#fff}.modern-input:focus{outline:none;border-color:#ff8fa3}.modern-input:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .modern-input{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.checking-text{text-align:center;color:#666;font-size:.875rem;margin-top:.5rem}.subscription-badge{margin-top:1rem;background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-radius:16px;padding:1rem;display:flex;align-items:center;gap:1rem}.subscription-badge.active{border-left:4px solid #4caf50}.badge-icon{font-size:2rem}.badge-content h4{font-size:1rem;font-weight:700;color:#2e7d32;margin-bottom:.25rem}.badge-content p{font-size:.875rem;color:#66bb6a}.about-content{padding:.5rem 0}.about-content p{margin-bottom:.5rem;color:var(--text-secondary);line-height:1.6}.about-content strong{color:var(--text-primary);font-weight:600}.settings-page{padding:1rem 1.25rem 6rem;max-width:600px;margin:0 auto}.settings-page h2{font-size:1.75rem;margin-bottom:1.5rem;font-weight:700}.settings-section{margin-bottom:2rem}.settings-section h3{font-size:1.125rem;margin-bottom:1rem;color:#666;font-weight:600}.settings-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 2px 8px #0000000d}[data-theme=dark] .settings-card{background:#2d2d2d}.settings-card label{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.25rem}.settings-card label:last-child{margin-bottom:0}.settings-card label>span{font-weight:600;color:#333}[data-theme=dark] .settings-card label>span{color:#e0e0e0}.theme-selector{display:flex;gap:.75rem}.theme-selector button{flex:1;padding:1rem;border:2px solid #e0e0e0;background:#fff;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s}.theme-selector button.active{background:#ff8fa3;color:#fff;border-color:#ff8fa3}[data-theme=dark] .theme-selector button{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.settings-card-ios{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000d}[data-theme=dark] .settings-card-ios{background:#2d2d2d}.settings-item{display:flex;align-items:center;gap:1rem;padding:1rem;cursor:pointer;transition:background .2s}.settings-item:active{background:#f5f5f5}.settings-item-icon{font-size:1.5rem;width:40px;text-align:center}.settings-item-content{flex:1}.settings-item-content h4{font-size:1rem;margin-bottom:.25rem;color:#000;font-weight:600}[data-theme=dark] .settings-item-content h4{color:#e0e0e0}.settings-item-content p{font-size:.875rem;color:#999}.settings-item-arrow{font-size:1.5rem;color:#999}.settings-divider{height:1px;background:#e0e0e0;margin:0 1rem}.subscription-status{display:flex;align-items:center;gap:1rem;padding:1rem;background:#e8f5e9;border-radius:16px;border-left:4px solid #4caf50}.status-icon{font-size:2rem}.status-content h4{font-size:1rem;margin-bottom:.25rem;color:#2e7d32;font-weight:700}.status-content p{font-size:.875rem;color:#66bb6a}.favorites-page,.recent-page{padding:1rem 1.25rem 6rem}.favorites-page h2,.recent-page h2{font-size:1.75rem;margin-bottom:1.5rem;font-weight:700;font-family:Shabnam,Vazir,sans-serif}.empty-state{text-align:center;padding:4rem 2rem;color:#999}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state p{font-size:1.125rem}.recent-list,.chapters-recent-list{display:flex;flex-direction:column;gap:1rem}.recent-card,.chapter-recent-card{display:flex;gap:1rem;background:#fff;padding:1rem;border-radius:16px;cursor:pointer;transition:transform .2s;box-shadow:0 2px 8px #0000000d}.recent-card:active,.chapter-recent-card:active{transform:scale(.98)}[data-theme=dark] .recent-card,[data-theme=dark] .chapter-recent-card{background:#2d2d2d}.recent-card img{width:80px;height:110px;border-radius:12px;object-fit:cover}.recent-card-info,.chapter-recent-info{flex:1}.recent-card-info h3,.chapter-recent-info h3{font-size:1.125rem;margin-bottom:.5rem;font-weight:700}[data-theme=dark] .recent-card-info h3,[data-theme=dark] .chapter-recent-info h3{color:#e0e0e0}.recent-card-info p,.chapter-recent-info p{color:#666;font-size:.9375rem;margin-bottom:.5rem}.chapters-count,.read-count{display:inline-block;background:#e3f2fd;color:#1976d2;padding:.25rem .75rem;border-radius:12px;font-size:.8125rem;font-weight:600}.chapter-icon-large{font-size:2.5rem;width:60px;text-align:center}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);max-width:600px;width:100%;background:#fff;border-top:1px solid #e0e0e0;display:flex;justify-content:space-around;padding:.5rem 0 env(safe-area-inset-bottom);z-index:100}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;color:#999;font-size:.75rem;font-family:Vazir,sans-serif;cursor:pointer;padding:.5rem 1.25rem;transition:color .2s}.bottom-nav button span:first-child{font-size:1.5rem}.bottom-nav button.active{color:#4caf50}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}@media (max-width: 600px){.home-header h2{font-size:.875rem}.novel-info h3{font-size:.9375rem}.reader-content{padding:0 1rem}.settings-page,.favorites-page,.recent-page{padding:1rem 1rem 6rem}}@media (max-width: 480px){.reader-header-right{gap:0}.reader-action-btn{width:40px;height:40px;font-size:1.125rem}.font-selector{flex-wrap:nowrap;overflow-x:auto}}@media (min-width: 768px){.reader-page-full{background:#e8e8e8}.settings-menu{max-width:450px}}.settings-menu::-webkit-scrollbar,.subscriptions-modal::-webkit-scrollbar{width:6px}.settings-menu::-webkit-scrollbar-track,.subscriptions-modal::-webkit-scrollbar-track{background:transparent}.settings-menu::-webkit-scrollbar-thumb,.subscriptions-modal::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.settings-menu::-webkit-scrollbar-thumb:hover,.subscriptions-modal::-webkit-scrollbar-thumb:hover{background:#0000004d}[data-theme=dark] .settings-menu::-webkit-scrollbar-thumb,[data-theme=dark] .subscriptions-modal::-webkit-scrollbar-thumb{background:#fff3}.search-overlay{position:fixed;inset:0;background:var(--bg-primary);z-index:900;display:flex;flex-direction:column;animation:fadeIn .2s}.search-header{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fff;border-bottom:1px solid #e0e0e0;position:sticky;top:0;z-index:10}[data-theme=dark] .search-header{background:#2d2d2d;border-bottom-color:#404040}.search-back{background:transparent;border:none;font-size:1.5rem;color:#333;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.search-back:hover{background:#0000000d}[data-theme=dark] .search-back{color:#e0e0e0}.search-input{flex:1;border:none;background:#f5f5f5;padding:.75rem 1rem;border-radius:12px;font-size:1rem;font-family:Vazir,sans-serif;outline:none;transition:all .2s}.search-input:focus{background:#ebebeb}[data-theme=dark] .search-input{background:#3d3d3d;color:#e0e0e0}[data-theme=dark] .search-input:focus{background:#4d4d4d}.search-input::placeholder{color:#999}.search-clear{background:transparent;border:none;color:#666;font-size:1.25rem;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.search-clear:hover{background:#0000000d}.search-results{flex:1;overflow-y:auto;padding:1rem}.search-empty{text-align:center;padding:4rem 2rem;color:#999}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.search-count{padding:.5rem .25rem;color:#666;font-size:.875rem;margin-bottom:.75rem;font-weight:600}[data-theme=dark] .search-count{color:#999}.home-actions{display:flex;align-items:center;gap:.75rem}.search-btn-icon{background:transparent;border:2px solid #e0e0e0;font-size:1.25rem;width:40px;height:40px;border-radius:10px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.search-btn-icon:hover{background:#f5f5f5;border-color:#ff8fa3}.search-btn-icon:active{transform:scale(.95)}[data-theme=dark] .search-btn-icon{border-color:#4d4d4d;color:#e0e0e0}[data-theme=dark] .search-btn-icon:hover{background:#3d3d3d}.reading-progress-bar{position:fixed;top:0;left:0;right:0;height:4px;background:#0000001a;z-index:1001}[data-theme=dark] .reading-progress-bar{background:#ffffff1a}.reading-progress-fill{height:100%;background:linear-gradient(90deg,#ff8fa3,#ff6b9d);transition:width .1s ease-out;box-shadow:0 0 10px #ff6b9d80}.rating-container{display:flex;gap:.25rem;margin-top:.75rem}.star-btn{background:transparent;border:none;font-size:1.5rem;color:gold;cursor:pointer;transition:all .2s;padding:0}.star-btn:not(.active){color:#ddd}.star-btn:hover{transform:scale(1.2)}.star-btn:active{transform:scale(.9)}[data-theme=dark] .star-btn:not(.active){color:#666}.toast-message{position:fixed;bottom:100px;left:50%;transform:translate(-50%);background:#000c;color:#fff;padding:.75rem 1.5rem;border-radius:24px;font-size:.875rem;font-weight:600;z-index:9999;animation:toastIn .3s,toastOut .3s 1.7s;pointer-events:none}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%)}}@keyframes toastOut{to{opacity:0;transform:translate(-50%,-20px)}}.toggle-switch{display:flex;align-items:center;gap:1rem}.toggle-switch input[type=checkbox]{display:none}.toggle-label{position:relative;width:52px;height:28px;background:#e0e0e0;border-radius:14px;cursor:pointer;transition:all .3s}.toggle-slider{position:absolute;top:2px;left:2px;width:24px;height:24px;background:#fff;border-radius:50%;transition:all .3s;box-shadow:0 2px 4px #0003}.toggle-switch input:checked+.toggle-label{background:linear-gradient(135deg,#ff8fa3,#ff6b9d)}.toggle-switch input:checked+.toggle-label .toggle-slider{transform:translate(24px)}.toggle-text{font-size:.875rem;color:#666;font-weight:600}[data-theme=dark] .toggle-label{background:#3d3d3d}[data-theme=dark] .toggle-text{color:#999}.pull-refresh-indicator{position:fixed;top:0;left:50%;transform:translate(-50%);text-align:center;padding:1rem;z-index:100;transition:opacity .2s}.refresh-spinner{font-size:2rem;margin-bottom:.5rem;animation:bounce .6s infinite}.pull-refresh-indicator p{font-size:.875rem;color:#666;font-weight:600}.theme-radio-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}.theme-radio-option{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f5f5f5;border:2px solid transparent;border-radius:12px;cursor:pointer;transition:all .2s}.theme-radio-option:hover{background:#ebebeb}.theme-radio-option.active{background:linear-gradient(135deg,#ffe0e6,#ffd6e0);border-color:#ff6b9d}[data-theme=dark] .theme-radio-option{background:#3d3d3d}[data-theme=dark] .theme-radio-option:hover{background:#4d4d4d}[data-theme=dark] .theme-radio-option.active{background:#ff6b9d33;border-color:#ff8fa3}.radio-circle{width:24px;height:24px;border:2px solid #ccc;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.theme-radio-option.active .radio-circle{border-color:#ff6b9d}.radio-dot{width:12px;height:12px;background:#ff6b9d;border-radius:50%;animation:radioPop .2s}@keyframes radioPop{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.radio-icon{font-size:1.5rem}.radio-label{flex:1;font-weight:600;color:#333}[data-theme=dark] .radio-label{color:#e0e0e0}[data-theme=dark] .radio-circle{border-color:#666}[data-theme=dark] .theme-radio-option.active .radio-circle{border-color:#ff8fa3}[data-theme=dark] .radio-dot{background:#ff8fa3}.theme-hint{margin-top:.75rem;font-size:.8125rem;color:#666;line-height:1.5;padding:.75rem;background:#ff98001a;border-radius:8px;border-right:3px solid #ff9800}[data-theme=dark] .theme-hint{color:#999;background:#ff980026}.recovery-dialog{background:#fff;border-radius:24px;max-width:450px;width:100%;padding:2rem;animation:slideUp .3s;position:relative}[data-theme=dark] .recovery-dialog{background:#2d2d2d}.recovery-header{text-align:center;margin-bottom:2rem}.recovery-icon{font-size:4rem;margin-bottom:1rem}.recovery-header h2{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:#000}[data-theme=dark] .recovery-header h2{color:#e0e0e0}.recovery-subtitle{color:#666;font-size:.9375rem;line-height:1.6}[data-theme=dark] .recovery-subtitle{color:#999}.recovery-step{display:flex;flex-direction:column;gap:1rem}.recovery-label{font-weight:600;color:#333;font-size:.9375rem}[data-theme=dark] .recovery-label{color:#e0e0e0}.recovery-input{width:100%;padding:1rem;border:2px solid #e0e0e0;border-radius:12px;font-size:1.125rem;font-family:Vazir,sans-serif;text-align:center;transition:all .2s}.recovery-input:focus{outline:none;border-color:#ff8fa3}.recovery-input.code-input{font-size:1.5rem;letter-spacing:.5rem;font-weight:700}[data-theme=dark] .recovery-input{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.recovery-hint{font-size:.8125rem;color:#666;text-align:center;line-height:1.5}[data-theme=dark] .recovery-hint{color:#999}.recovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.5rem}.recovery-btn{padding:1rem;border:none;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s}.recovery-btn:active{transform:scale(.98)}.recovery-btn:disabled{opacity:.5;cursor:not-allowed}.recovery-btn.primary{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff}.recovery-btn.secondary{background:#f5f5f5;color:#666}[data-theme=dark] .recovery-btn.secondary{background:#3d3d3d;color:#e0e0e0}.novel-card.glass{background:#ffffffb3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a}[data-theme=dark] .novel-card.glass{background:#2d2d2db3;border:1px solid rgba(255,255,255,.1)}.detail-header.glass{background:#fffc;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:1.5rem;margin:1rem}.fab-overlay{position:fixed;inset:0;background:#0000004d;z-index:499;animation:fadeIn .2s}.fab-container{position:fixed;bottom:110px;left:20px;z-index:500}.fab-main{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#ff8fa3,#ff6b9d);border:none;color:#fff;font-size:2rem;font-weight:300;cursor:pointer;box-shadow:0 4px 16px #ff6b9d66;transition:all .3s;display:flex;align-items:center;justify-content:center}.fab-main:active{transform:scale(.9)}.fab-main span{transition:transform .3s;display:inline-block}.fab-main span.rotate{transform:rotate(45deg)}.fab-menu{position:absolute;bottom:70px;left:0;display:flex;flex-direction:column;gap:.75rem;animation:fabSlideUp .3s}@keyframes fabSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.fab-menu-item{display:flex;align-items:center;gap:.75rem;background:#fff;border:none;padding:.75rem 1rem;border-radius:28px;cursor:pointer;box-shadow:0 2px 12px #00000026;transition:all .2s;min-width:140px}.fab-menu-item:hover{transform:translate(-5px);box-shadow:0 4px 16px #0003}[data-theme=dark] .fab-menu-item{background:#2d2d2d}.fab-icon{font-size:1.5rem}.fab-label{font-family:Vazir,sans-serif;font-weight:600;color:#333;font-size:.9375rem}[data-theme=dark] .fab-label{color:#e0e0e0}.modal-overlay-new{position:fixed;inset:0;background:#0009;z-index:500;display:flex;align-items:center;justify-content:center;padding:1rem;animation:fadeIn .3s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.recovery-dialog-new{background:#fff;border-radius:24px;max-width:480px;width:100%;padding:2rem;animation:slideUpBounce .4s cubic-bezier(.34,1.56,.64,1);position:relative;box-shadow:0 20px 60px #0000004d}@keyframes slideUpBounce{0%{opacity:0;transform:translateY(40px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}[data-theme=dark] .recovery-dialog-new{background:#2d2d2d}.close-btn-dialog-new{position:absolute;top:1rem;left:1rem;background:#f5f5f5;border:none;width:36px;height:36px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#666}.close-btn-dialog-new:hover{background:#e0e0e0;transform:rotate(90deg)}[data-theme=dark] .close-btn-dialog-new{background:#3d3d3d;color:#e0e0e0}.recovery-steps{display:flex;align-items:center;justify-content:center;margin-bottom:2rem;padding:0 1rem}.step-indicator{display:flex;flex-direction:column;align-items:center;gap:.5rem;opacity:.4;transition:all .3s}.step-indicator.active{opacity:1}.step-circle{width:36px;height:36px;border-radius:50%;background:#e0e0e0;display:flex;align-items:center;justify-content:center;font-weight:700;color:#666;transition:all .3s}.step-indicator.active .step-circle{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff;transform:scale(1.1)}.step-indicator span{font-size:.75rem;font-weight:600;color:#999}.step-indicator.active span{color:#333}[data-theme=dark] .step-indicator.active span{color:#e0e0e0}.step-line{width:60px;height:2px;background:#e0e0e0;margin:0 .5rem;transition:all .3s}.step-line.active{background:linear-gradient(90deg,#ff8fa3,#ff6b9d)}.recovery-content-new{text-align:center}.recovery-icon-new{font-size:4rem;animation:bounce 2s infinite}.recovery-content-new h2{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:#000}[data-theme=dark] .recovery-content-new h2{color:#e0e0e0}.recovery-desc{color:#666;font-size:.9375rem;line-height:1.6;margin-bottom:1.5rem}[data-theme=dark] .recovery-desc{color:#999}.input-group-new{text-align:right;margin-bottom:1.5rem}.input-group-new label{display:block;font-weight:600;font-size:.875rem;margin-bottom:.5rem;color:#333}[data-theme=dark] .input-group-new label{color:#e0e0e0}.input-modern{width:100%;padding:1rem;border:2px solid #e0e0e0;border-radius:12px;font-size:1rem;font-family:Vazir,sans-serif;text-align:center;transition:all .2s}.input-modern:focus{outline:none;border-color:#ff8fa3;box-shadow:0 0 0 4px #ff8fa31a}.input-modern.code-style{font-size:1.75rem;letter-spacing:.75rem;font-weight:700}[data-theme=dark] .input-modern{background:#3d3d3d;border-color:#4d4d4d;color:#e0e0e0}.btn-modern{width:100%;padding:1rem;border:none;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.btn-modern:active{transform:scale(.98)}.btn-modern:disabled{opacity:.5;cursor:not-allowed}.btn-modern.primary{background:linear-gradient(135deg,#ff8fa3,#ff6b9d);color:#fff}.btn-modern.primary:hover:not(:disabled){box-shadow:0 4px 16px #ff6b9d66}.btn-modern.secondary{background:#f5f5f5;color:#666}[data-theme=dark] .btn-modern.secondary{background:#3d3d3d;color:#e0e0e0}.btn-group-new{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.subs-empty-state .empty-icon-large{font-size:5rem;margin-bottom:1.5rem;animation:bounce 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.subscriptions-view-ios{min-height:100vh;background:#f2f2f7;padding:1.5rem;padding-bottom:100px}[data-theme=dark] .subscriptions-view-ios{background:none}.subs-empty-state{text-align:center;padding:3rem 1rem}.empty-icon-large{font-size:5rem;margin-bottom:1.5rem}.subs-empty-state h2{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;color:#000}.subs-empty-state p{color:#8e8e93;line-height:1.6;font-size:.9375rem}.subs-input-section{margin:2rem 0}.subs-input-section label{display:block;font-weight:600;font-size:.875rem;margin-bottom:.5rem;color:#000}.subs-input-ios{width:100%;padding:16px;background:#fff;border:1px solid #e5e5ea;border-radius:12px;font-size:1.125rem;font-family:Vazir,sans-serif;text-align:center;transition:all .2s}.subs-input-ios:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a}.subs-input-ios.code-input-style{font-size:2rem;letter-spacing:1rem;font-weight:700}.subs-btn-primary{width:100%;padding:16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-family:Vazir,sans-serif;font-weight:700;font-size:1.125rem;cursor:pointer;margin-bottom:12px;transition:all .2s}.subs-btn-primary:active{transform:scale(.98)}.subs-btn-primary:disabled{opacity:.5;cursor:not-allowed}.subs-btn-secondary{width:100%;padding:16px;color:#667eea;border:2px solid #667eea;border-radius:12px;font-family:Vazir,sans-serif;font-weight:700;font-size:1.125rem;cursor:pointer;transition:all .2s}[data-theme=dark] .subs-btn-secondary{background:#ffffff1a;color:#e0e0e0;border:1px solid rgba(255,255,255,.2)}.subs-code-header{text-align:center;margin-bottom:2rem}.code-icon{font-size:4rem;margin-bottom:1rem}.subs-code-header h2{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.subs-code-header p{color:#8e8e93;font-size:.9375rem}.bottom-sheet-overlay{position:fixed;inset:0;background:#00000080;z-index:700;display:flex;align-items:flex-end;animation:fadeIn .3s}.bottom-sheet{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:600px;margin:0 auto;max-height:80vh;overflow-y:auto;animation:slideUpSheet .3s cubic-bezier(.32,.72,0,1)}@keyframes slideUpSheet{0%{transform:translateY(100%)}to{transform:translateY(0)}}[data-theme=dark] .bottom-sheet{background:#2d2d2d}.sheet-handle{width:40px;height:4px;background:#d0d0d0;border-radius:2px;margin:.75rem auto}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e0e0e0}[data-theme=dark] .sheet-header{border-bottom-color:#404040}.sheet-header h3{font-size:1.125rem;font-weight:700;color:#000}[data-theme=dark] .sheet-header h3{color:#e0e0e0}.sheet-close{background:transparent;border:none;font-size:1.5rem;color:#666;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.sheet-close:hover{background:#0000000d}.sheet-content{padding:1.5rem}.sheet-section{margin-bottom:1.5rem}.sheet-section:last-child{margin-bottom:0}.sheet-label{display:block;font-weight:600;font-size:.9375rem;margin-bottom:.75rem;color:#333}[data-theme=dark] .sheet-label{color:#e0e0e0}.font-selector-sheet{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem}.font-chip{padding:.625rem 1.25rem;background:#f5f5f5;border:2px solid transparent;border-radius:20px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s}.font-chip.active{background:linear-gradient(135deg,#ffe0e6,#ffd6e0);border-color:#ff6b9d;color:#e91e63}[data-theme=dark] .font-chip{background:#3d3d3d;color:#e0e0e0}.size-control-sheet{display:flex;align-items:center;gap:1rem}.size-control-sheet button{width:44px;height:44px;background:#f5f5f5;border:none;border-radius:12px;font-size:1.125rem;font-weight:700;cursor:pointer;transition:all .2s}.size-control-sheet button:active{transform:scale(.9)}.size-control-sheet input{flex:1}.range-full{width:100%;height:6px;border-radius:3px;background:#e0e0e0;outline:none;-webkit-appearance:none}.range-full::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#ff8fa3,#ff6b9d);cursor:pointer}.margin-selector,.align-selector{display:flex;gap:.5rem}.margin-selector button,.align-selector button{flex:1;padding:.75rem;background:#f5f5f5;border:2px solid transparent;border-radius:12px;font-family:Vazir,sans-serif;font-weight:600;cursor:pointer;transition:all .2s}.margin-selector button.active,.align-selector button.active{background:linear-gradient(135deg,#ffe0e6,#ffd6e0);border-color:#ff6b9d;color:#e91e63}.theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.75rem}.theme-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem;background:#f5f5f5;border:2px solid transparent;border-radius:12px;cursor:pointer;transition:all .2s}.theme-option:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.theme-option.active{background:linear-gradient(135deg,#ffe0e6,#ffd6e0);border-color:#ff6b9d}[data-theme=dark] .theme-option{background:#3d3d3d}[data-theme=dark] .theme-option.active{background:linear-gradient(135deg,#4a1942,#6b2d5c);border-color:#ff6b9d}.theme-preview{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;box-shadow:0 2px 8px #0000001a;transition:all .2s}.theme-option:hover .theme-preview{transform:scale(1.1)}.theme-name{font-size:.8125rem;font-weight:600;color:#666;text-align:center}.theme-option.active .theme-name{color:#e91e63}[data-theme=dark] .theme-name{color:#b0b0b0}[data-theme=dark] .theme-option.active .theme-name{color:#ff8fa3}.reader-action-btn.active{background:linear-gradient(135deg,#ff6b9d,#c2185b);color:#fff;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{box-shadow:0 0 #ff6b9db3}50%{box-shadow:0 0 0 10px #ff6b9d00}}.scroll-icon{display:inline-block;font-size:1.25rem}.scroll-icon.play{animation:bounce 1s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.auto-scroll-indicator{position:fixed;top:80px;left:50%;transform:translate(-50%);background:#000c;color:#fff;padding:10px 20px;border-radius:20px;z-index:1000;animation:slideDown .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@keyframes slideDown{0%{opacity:0;transform:translate(-50%) translateY(-20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.indicator-content{background:#000000e6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.75rem 1.5rem;border-radius:24px;display:flex;align-items:center;gap:.75rem;box-shadow:0 4px 20px #0000004d}.indicator-icon{font-size:1.25rem;animation:rotate 2s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.indicator-text{color:#fff;font-size:.9375rem;font-weight:600}.indicator-stop-btn{background:#f44;color:#fff;border:none;padding:5px 15px;border-radius:10px;margin-right:10px;cursor:pointer}.active-scroll{background:#4caf50!important;color:#fff!important}.speed-labels{display:flex;justify-content:space-between;font-size:.8125rem;color:#999;margin-top:.5rem}.payment-result-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;padding:2rem;text-align:center}.result-animation{margin-bottom:2rem}.success-checkmark{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:3.5rem;font-weight:700;animation:scaleIn .5s cubic-bezier(.34,1.56,.64,1);box-shadow:0 8px 24px #667eea66}.failed-icon{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#f5576c,#f093fb);color:#fff;display:flex;align-items:center;justify-content:center;font-size:3.5rem;font-weight:700;animation:shake .5s;box-shadow:0 8px 24px #f5576c66}.payment-result-page h2{font-size:1.75rem;margin-bottom:1rem;color:var(--text-primary)}.result-message{color:var(--text-secondary);font-size:1rem;margin-bottom:1.5rem;line-height:1.6}.redirect-notice{display:flex;align-items:center;gap:.75rem;color:var(--text-secondary);font-style:italic;margin-top:1rem}.retry-btn{margin-top:1.5rem;padding:.875rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s}.retry-btn:hover{transform:translateY(-2px)}@keyframes scaleIn{0%{transform:scale(0) rotate(-180deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.settings-warning{background:#fff3e0;border:1px solid #ffb74d;border-radius:8px;padding:1rem;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.settings-warning span{font-size:1.25rem}.settings-warning p{margin:0;color:#e65100;font-size:.875rem}.offline-text{color:#f44336;font-size:.8125rem;margin-top:.5rem}.checking-text{color:#2196f3;font-size:.8125rem;margin-top:.5rem}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Regular.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Bold.woff2) format("woff2");font-weight:700;font-display:swap}@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Medium.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Vazir;src:url(../fonts/Vazir.woff2) format("woff2");font-weight:500;font-display:swap}body{margin:0;font-family:Vazir,-apple-system,sans-serif;direction:rtl}*{box-sizing:border-box}
