@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 900;font-display:swap}
@font-face{font-family:Literata;src:url('../fonts/Literata-Medium.woff2') format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:Literata;src:url('../fonts/Literata-Bold.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{--ink:#033049;--green:#2ee081;--green-dark:#20bc68;--muted:#66757d;--soft:#f1f6f4;--line:#dce5e1;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#182c35;font-family:Literata,Georgia,serif}.lang-fa{font-family:Vazirmatn,Tahoma,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{font:inherit}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);box-shadow:0 2px 16px rgba(3,48,73,.08)}.nav-shell{max-width:var(--max);height:68px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.brand img{width:132px;height:auto}.nav-actions{display:flex;align-items:center;gap:22px}.nav-login,.language-switch{display:flex;align-items:center;gap:7px;font-weight:600}.nav-login svg,.language-switch svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-login-disabled{opacity:.55;cursor:not-allowed}.language-switch{color:#087ca7}.hero{position:relative;overflow:hidden;padding:35px 0 18px;background:radial-gradient(circle at 75% 30%,#e6f8ff 0,transparent 30%),#fff}.hero-shell{max-width:var(--max);margin:auto;padding:30px 28px;display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}.hero-copy{display:flex;flex-direction:column;align-items:flex-start}.eyebrow{color:#19ad68;font-weight:700;font-size:18px;margin:0 0 22px}.spark{color:#ffbd31;font-size:24px}.hero h1{color:var(--ink);font-size:clamp(42px,5vw,72px);line-height:1.13;margin:0 0 25px;font-weight:800;letter-spacing:-1.5px}.lang-fa .hero h1{letter-spacing:0;font-size:clamp(38px,5vw,66px)}.hero h1 strong{color:var(--green);font-size:1.12em}.hero-lead{font-size:20px;line-height:1.9;color:#64737a;max-width:650px;margin:0 0 28px}.hero-lead mark{background:transparent;padding:2px 6px;border-radius:999px}.mark-yellow{background:#fff3ad!important}.mark-blue{background:#d8f1ff!important}.mark-red{background:#ffdfe0!important}.primary-cta{display:inline-flex;justify-content:center;min-width:260px;padding:13px 28px;border-radius:10px;background:var(--green);color:var(--ink);font-weight:800;transition:.2s}.primary-cta:hover{background:var(--green-dark);transform:translateY(-1px)}.hero-stats{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:38px;padding-top:26px;border-top:1px solid #e1e7e5}.hero-stats div{text-align:center;display:grid;gap:5px}.stat-icon{font-size:28px;color:#23ca76}.hero-stats b{font-size:22px}.hero-stats small{color:#68777d;font-size:13px}.hero-art{position:relative}.hero-art img{width:100%;filter:drop-shadow(0 22px 30px rgba(3,48,73,.09))}.section-shell{max-width:var(--max);margin:auto;padding:58px 28px}.section-heading{text-align:center;max-width:920px;margin:0 auto 34px}.section-heading.compact{margin-bottom:24px}.section-heading p{color:#15a966;font-weight:800;margin:0 0 8px}.section-heading h2{font-size:clamp(28px,3.5vw,45px);line-height:1.35;margin:0;color:#21353d}.catalog-section{background:linear-gradient(180deg,#fff,#f7fbf9)}.category-strip{display:flex;gap:10px;overflow:auto;padding:7px 2px 16px;scrollbar-width:thin}.category-chip{white-space:nowrap;display:flex;align-items:center;gap:8px;padding:10px 14px;border:2px solid var(--soft);background:var(--soft);border-radius:9px;color:#415158;transition:.2s}.category-chip:hover,.category-chip.active{border-color:var(--green);background:#c9f7dd;color:#113b2b}.category-icon{display:inline-flex;width:20px;height:20px}.category-icon svg{max-width:100%;max-height:100%}.category-icon-dot{border-radius:50%;background:linear-gradient(135deg,#2ee081,#087ca7);box-shadow:inset 0 0 0 4px rgba(255,255,255,.65)}.book-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;margin-top:18px}.book-card{min-width:0}.book-cover-wrap{position:relative;aspect-ratio:2/3;border-radius:14px;overflow:hidden;background:#e8efec;box-shadow:0 8px 24px rgba(3,48,73,.11)}.book-cover{width:100%;height:100%;object-fit:cover}.book-cover.placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#0c4d5a,#2ee081);color:white;font-weight:800;font-size:18px}.audio-badge{position:absolute;bottom:8px;inset-inline-end:8px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#087ca7;font-weight:900}.book-meta{padding-top:12px}.book-meta h3{font-size:15px;line-height:1.55;margin:0;color:#1b3038;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-meta p{font-size:12px;color:#758188;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.migration-note{text-align:center;color:#829087;font-size:13px;margin:28px 0 0}.catalog-empty{max-width:760px;margin:20px auto 0;padding:22px;border:1px dashed #b7ccc3;border-radius:18px;background:#fff;display:flex;gap:18px;align-items:center}.catalog-empty img{width:70px}.catalog-empty h3{margin:0 0 6px}.catalog-empty p{margin:0;color:#68777d;line-height:1.8}.learn-section{background:#fff}.learn-slider{max-width:1180px;margin:auto;overflow:hidden}.slides-track{display:flex;transition:transform .65s cubic-bezier(.2,.7,.2,1)}.learn-card{flex:0 0 100%;min-height:470px;border-radius:26px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center}.tone-blue{background:#dcecff}.tone-violet{background:#eee9ff}.tone-sand{background:#fff1cf}.learn-image{padding:30px 45px;display:grid;place-items:center}.learn-image img{max-height:390px;object-fit:contain}.learn-copy{padding:48px}.learn-copy h3{font-size:clamp(28px,3.5vw,44px);line-height:1.35;margin:0 0 16px;color:#1c3039}.learn-copy p{font-size:18px;line-height:1.8;color:#56686f}.slider-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:18px 0}.slider-controls>button{border:0;background:#edf3f1;border-radius:50%;width:42px;height:42px;font-size:27px;cursor:pointer;color:#34505a}.slider-dots{display:flex;gap:8px}.slider-dots button{border:0;width:8px;height:8px;padding:0;border-radius:50%;background:#bccac5;cursor:pointer}.slider-dots button.active{width:24px;border-radius:8px;background:#2bcf79}.faq-section{padding:25px 0 65px}.faq-shell{max-width:900px;margin:auto;padding:0 24px}.faq-shell>h2{text-align:center;font-size:34px;margin:0 0 25px}.lang-fa .faq-shell>h2{text-align:right}.faq-item{border-bottom:1px solid #d9e2df}.faq-question{width:100%;border:0;background:#fff;color:#08334a;padding:23px 5px;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:start;font-weight:700;font-size:18px;cursor:pointer}.faq-question:hover{color:#137eb0}.faq-chevron{font-size:28px;transition:transform .25s}.faq-answer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}.faq-answer p{overflow:hidden;margin:0;color:#69777e;line-height:1.9}.faq-item.open .faq-answer{grid-template-rows:1fr}.faq-item.open .faq-answer p{padding:0 5px 22px}.faq-item.open .faq-chevron{transform:rotate(180deg)}.site-footer{background:#f4f8f6;border-top:1px solid #d9e2df;padding:50px 24px 24px}.footer-shell{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:50px}.footer-brand img{width:145px}.footer-brand p{font-size:18px;font-weight:700;line-height:1.55}.footer-column{display:flex;flex-direction:column;gap:11px}.footer-column h3{font-size:17px;margin:0 0 5px}.footer-column a:hover{color:#1cb86c}.muted{color:#84908c}.footer-bottom{max-width:var(--max);margin:40px auto 0;border-top:1px solid #d3deda;padding-top:18px;display:flex;justify-content:space-between;align-items:center;color:#76847e;font-size:13px}.socials{display:flex;gap:10px}.socials span{width:28px;height:28px;border-radius:50%;overflow:hidden}.socials img{width:100%;height:100%;object-fit:cover}
@media(max-width:1050px){.hero-shell{grid-template-columns:1fr;gap:25px}.hero-copy{text-align:center;align-items:center}.hero-art{max-width:650px;margin:auto}.book-grid{grid-template-columns:repeat(4,1fr)}.footer-shell{grid-template-columns:repeat(2,1fr)}.learn-card{min-height:420px}}
@media(max-width:720px){.nav-shell{padding:0 16px}.brand img{width:112px}.nav-actions{gap:13px}.hero{padding-top:8px}.hero-shell{padding:25px 18px}.hero-art{display:none}.hero h1{font-size:38px}.lang-fa .hero h1{font-size:38px}.hero-lead{font-size:17px}.primary-cta{width:100%}.hero-stats{grid-template-columns:repeat(2,1fr)}.section-shell{padding:45px 17px}.book-grid{grid-template-columns:repeat(2,1fr);gap:16px}.learn-card{grid-template-columns:1fr;min-height:0}.learn-image{padding:24px 35px 0}.learn-image img{max-height:260px}.learn-copy{padding:25px}.learn-copy h3{font-size:27px}.learn-copy p{font-size:16px}.footer-shell{grid-template-columns:1fr;gap:28px}.footer-bottom{align-items:flex-start;gap:15px;flex-direction:column}.catalog-empty{align-items:flex-start}.catalog-empty img{width:54px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.slides-track,.faq-answer,.faq-chevron,.primary-cta{transition:none!important}}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:32px 18px;background:radial-gradient(circle at 15% 10%,#e2fff0 0,transparent 28%),radial-gradient(circle at 85% 90%,#e2f4ff 0,transparent 30%),#f8fbfa}.auth-card{width:min(100%,440px);background:#fff;border:1px solid #e0e9e5;border-radius:24px;padding:34px;box-shadow:0 24px 70px rgba(3,48,73,.10);text-align:center}.auth-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:800;margin-bottom:18px}.auth-brand img{width:62px;height:62px;object-fit:contain}.auth-card h1{margin:0;color:var(--ink);font-size:30px}.auth-subtitle,.auth-help{color:#697980;line-height:1.8;margin:10px 0 22px}.auth-help{font-size:14px;margin-top:-12px}.auth-form{text-align:start;display:grid;gap:12px}.auth-form label,.auth-security-label{font-size:14px;font-weight:700;color:#344d57}.auth-input,.otp-input{width:100%;border:1.5px solid #d8e4df;border-radius:12px;background:#f5f8f7;color:#16343f;padding:13px 15px;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.auth-input:focus,.otp-input:focus{border-color:var(--green-dark);box-shadow:0 0 0 4px rgba(46,224,129,.14)}.otp-input{text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:30px;letter-spacing:.42em;padding-inline-start:calc(15px + .42em)}.auth-submit{margin-top:6px;border:0;border-radius:12px;padding:13px 18px;background:var(--green);color:var(--ink);font-weight:800;cursor:pointer;transition:.18s}.auth-submit:hover{background:var(--green-dark);transform:translateY(-1px)}.auth-alert{border-radius:12px;padding:11px 13px;margin:16px 0;text-align:start;font-size:14px;line-height:1.7}.auth-alert-error{background:#fff0f0;border:1px solid #ffcaca;color:#a12d2d}.auth-alert-success{background:#ecfff4;border:1px solid #bcebcf;color:#1c7645}.auth-footer-links,.otp-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;font-size:14px;color:#148d59}.auth-footer-links a:hover,.otp-actions a:hover{text-decoration:underline}.auth-link-button{border:0;background:transparent;padding:0;color:#148d59;font:inherit;cursor:pointer}.auth-link-button:disabled{color:#82928b;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-card altcha-widget{--altcha-max-width:100%;width:100%}
@media(max-width:520px){.auth-card{padding:27px 20px;border-radius:18px}.auth-card h1{font-size:26px}}
.nav-logout-form{margin:0}.nav-button{border:0;background:transparent;padding:0;cursor:pointer}.nav-user{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#60727a;font-size:13px}

/* Logged-in SSR application shell (For You / Explore). */
.app-shell{min-height:100vh;background:#fff;color:#1f3037}.app-sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:220px;background:#f8faf9;border-inline-end:1px solid #edf1ef;z-index:80;padding:16px 10px;display:flex;flex-direction:column;overflow-y:auto}.app-sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:0 12px 10px}.app-sidebar-brand img{width:142px}.app-sidebar-close{display:none;border:0;background:transparent;font-size:34px;color:#60716b;cursor:pointer}.app-nav{display:flex;flex-direction:column;gap:4px;margin-top:9px}.app-nav-item{min-height:44px;border-inline-start:4px solid transparent;border-radius:7px;display:flex;align-items:center;gap:13px;padding:9px 12px;color:#25393f;font-size:14px;transition:background .15s,color .15s,border-color .15s}.app-nav-item svg,.app-logout svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.app-nav-item:hover{color:#1877cc;background:#f2f7fa}.app-nav-item.active{color:#126fc1;border-inline-start-color:#268be2;background:#f3f8fc;font-weight:700}.app-nav-item.disabled{opacity:.45;cursor:not-allowed}.app-nav-divider{height:1px;background:#e1e8e5;margin:9px 10px}.app-sidebar-account{margin-top:auto;padding:14px 8px 3px;border-top:1px solid #e1e8e5}.app-user-chip{display:flex;align-items:center;gap:10px;padding:6px 4px 12px}.app-user-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#dff7e9;color:#10864e;font-weight:800}.app-user-copy{min-width:0;display:flex;flex-direction:column;line-height:1.35}.app-user-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}.app-user-copy small{font-size:11px;color:#7d8b87;direction:ltr;text-align:start}.app-sidebar-account form{margin:0}.app-logout{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:12px;padding:9px 7px;color:#a14a4a;cursor:pointer;border-radius:7px}.app-logout:hover{background:#fff0f0}.app-main-wrap{min-height:100vh;margin-inline-start:220px;display:flex;flex-direction:column}.app-content{width:min(100%,1180px);margin:0 auto;padding:24px 34px 60px}.app-mobile-header{display:none}.app-desktop-search-row{height:72px;border-bottom:1px solid #eef1f0;display:flex;justify-content:flex-end;align-items:center;padding:0 42px}.app-search{position:relative;width:min(100%,390px)}.app-search svg{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);width:19px;height:19px;fill:none;stroke:#7d8c87;stroke-width:1.8;stroke-linecap:round}.app-search input{width:100%;border:1px solid #e0e7e4;background:#f1f6f4;border-radius:9px;padding:10px 42px 10px 13px;color:#53635f;font:inherit;outline:none}.lang-fa .app-search input{padding:10px 13px 10px 42px}.app-search input:focus{border-color:#9bcdb0;box-shadow:0 0 0 3px rgba(46,224,129,.11)}.app-page-head{padding:13px 0 5px}.app-page-head .eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px;display:block}.lang-fa .app-page-head .eyebrow{text-transform:none;letter-spacing:0}.app-page-head h1{margin:0;color:#1c2d34;font-size:clamp(25px,3vw,37px);line-height:1.35}.app-page-head>p{color:#6c7b78;line-height:1.8;max-width:760px;margin:10px 0 0}.daily-free-section{margin:24px 0 48px}.daily-free-label{display:flex;gap:7px;align-items:center;color:#786223;font-weight:800;font-size:13px;margin-bottom:10px}.daily-free-label span{color:#e7aa20}.daily-free-card{max-width:720px;min-height:185px;background:linear-gradient(135deg,#fff5d8,#fff0c7);border:1px solid #f3dfaa;border-radius:18px;padding:22px;display:flex;justify-content:space-between;gap:22px;box-shadow:0 10px 28px rgba(107,83,28,.08);transition:transform .18s,box-shadow .18s}.daily-free-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(107,83,28,.13)}.daily-free-copy{display:flex;flex:1;gap:20px;align-items:stretch}.daily-free-copy>p{margin:0;max-width:250px;color:#6e623e;line-height:1.8;font-size:13px}.daily-free-meta{border-inline-start:1px solid #dfcf9f;padding-inline-start:18px;display:flex;flex-direction:column;justify-content:center;min-width:0}.daily-free-meta h2{font-size:20px;margin:0 0 6px;color:#2b3132}.daily-free-meta span{color:#6b6e67;font-size:13px}.daily-free-meta strong{font-size:12px;margin-top:12px;color:#2b493c}.daily-free-card>img{width:112px;aspect-ratio:2/3;object-fit:cover;border-radius:9px;box-shadow:0 7px 18px rgba(82,62,17,.2);background:#fff}.daily-free-empty{max-width:720px;border:1px dashed #d8d1b8;border-radius:18px;padding:18px;background:#fffbef;display:flex;align-items:center;gap:16px}.daily-free-empty img{width:52px;height:52px;object-fit:contain}.daily-free-empty strong{display:block;color:#5f583f}.daily-free-empty p{margin:5px 0 0;color:#8a8164;font-size:13px;line-height:1.7}.discovery-section{margin:0 0 50px}.discovery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:21px}.discovery-heading h2{font-size:21px;color:#25353b;margin:0 0 5px}.discovery-heading p{color:#7b8985;margin:0;font-size:14px}.scroller-controls{display:flex;gap:8px}.scroller-controls button{width:36px;height:36px;border-radius:50%;border:1px solid #e0e7e4;background:#f7faf9;color:#3178b5;cursor:pointer;font-size:26px;line-height:1}.scroller-controls button:hover{background:#edf5f2}.book-scroller,.collection-scroller{display:flex;gap:26px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding:2px 3px 14px;overscroll-behavior-inline:contain}.discover-book-card{flex:0 0 166px;min-width:0;scroll-snap-align:start}.discover-cover-wrap{position:relative;width:154px;aspect-ratio:2/3;border-radius:9px;overflow:hidden;background:#edf2f0;box-shadow:0 7px 18px rgba(16,43,53,.1)}.discover-cover-wrap img{width:100%;height:100%;object-fit:cover}.audio-pill{position:absolute;inset-inline-end:6px;bottom:6px;background:rgba(255,255,255,.94);color:#1f6650;font-size:10px;padding:4px 7px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.09)}.discover-book-copy{padding:10px 3px 0}.discover-book-copy h3{font-size:14px;line-height:1.55;margin:0 0 4px;color:#25353b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-author{font-size:12px!important;color:#6d7a77!important;margin:0 0 5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-subtitle{font-size:11.5px!important;line-height:1.55!important;color:#8a9692!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-rating{display:inline-block;margin-top:6px;color:#bf861b;font-size:11px}.collection-scroller{gap:24px}.discover-collection-card{flex:0 0 190px;scroll-snap-align:start}.collection-art{height:172px;border-radius:12px;background:linear-gradient(135deg,#e7f4ef,#eef6ff);position:relative;display:grid;place-items:center;overflow:hidden;margin-bottom:10px}.collection-art img{width:105px;height:138px;object-fit:cover;border-radius:7px;position:relative;z-index:2;box-shadow:0 7px 18px rgba(16,43,53,.16);background:#fff}.collection-stack{position:absolute;width:105px;height:138px;border-radius:7px;background:#fff;transform:translate(12px,-7px) rotate(5deg);box-shadow:0 5px 12px rgba(16,43,53,.08)}.lang-fa .collection-stack{transform:translate(-12px,-7px) rotate(-5deg)}.discover-collection-card h3{font-size:14px;line-height:1.5;margin:0;color:#27383e}.discover-collection-card>p{font-size:11.5px;line-height:1.55;color:#7a8885;margin:5px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.collection-count{font-size:11px;color:#79928a}.category-chip-grid{display:flex;flex-wrap:wrap;gap:10px}.categories-section .category-chip{cursor:default}.categories-section .category-chip:hover{background:var(--soft);border-color:var(--soft);color:#415158}.category-icon svg{width:100%;height:100%}.search-results-section{padding:18px;border-radius:16px;background:#f8fbfa;border:1px solid #edf1ef}.search-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.search-result-card{display:flex;gap:13px;padding:11px;background:#fff;border:1px solid #e7edeb;border-radius:11px;min-width:0}.search-result-card:hover{border-color:#b9d8c6}.search-result-card img{width:72px;height:96px;object-fit:cover;border-radius:6px;background:#edf1ef;flex:0 0 auto}.search-result-card div{min-width:0}.search-result-card h3{font-size:14px;margin:2px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-result-card p{font-size:12px;color:#6d7b77;margin:0 0 5px}.search-result-card small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#8c9794;line-height:1.45}.app-empty-state{min-height:110px;border:1px dashed #dce5e1;border-radius:13px;background:#fbfdfc;display:flex;align-items:center;justify-content:center;gap:10px;color:#82908b}.app-empty-state span{font-size:25px}.app-empty-state p{margin:0}.app-footer{margin-top:auto;border-top:1px solid #edf1ef;padding:18px 34px;color:#87938f;font-size:12px;display:flex;justify-content:space-between}.app-footer a{color:#167ba7;font-weight:700}.app-menu-overlay{display:none}
@media(max-width:900px){.app-sidebar{width:190px}.app-main-wrap{margin-inline-start:190px}.app-content{padding-inline:25px}.search-result-grid{grid-template-columns:1fr}.daily-free-copy{flex-direction:column;gap:9px}.daily-free-meta{border-inline-start:0;padding-inline-start:0}.daily-free-copy>p{max-width:none}}
@media(max-width:720px){.app-sidebar{width:min(82vw,310px);transform:translateX(-105%);transition:transform .22s ease;box-shadow:0 14px 35px rgba(0,0,0,.16)}html[dir=rtl] .app-sidebar{transform:translateX(105%)}.app-shell.menu-open .app-sidebar{transform:translateX(0)}.app-sidebar-close{display:block}.app-main-wrap{margin-inline-start:0}.app-mobile-header{height:68px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:60;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid #edf1ef;padding:0 13px}.app-mobile-brand{width:43px;flex:0 0 auto}.app-mobile-brand img{width:43px;height:43px;object-fit:contain}.app-search-mobile{flex:1}.app-search-mobile input{font-size:12px;padding-block:9px}.app-menu-button{width:37px;border:0;background:transparent;display:grid;gap:5px;padding:7px;cursor:pointer}.app-menu-button span{height:2px;background:#445751;border-radius:2px}.app-desktop-search-row{display:none}.app-content{padding:24px 17px 48px}.app-page-head{padding-top:3px}.app-page-head h1{font-size:27px}.daily-free-section{margin-top:19px}.daily-free-card{padding:15px;min-height:160px}.daily-free-card>img{width:92px;height:auto;align-self:center}.daily-free-copy>p{font-size:12px}.daily-free-meta h2{font-size:17px}.discovery-section{margin-bottom:38px}.discovery-heading{align-items:center}.discovery-heading h2{font-size:18px}.discovery-heading p{font-size:12px}.scroller-controls{display:none}.book-scroller,.collection-scroller{margin-inline:-17px;padding-inline:17px;gap:18px}.discover-book-card{flex-basis:145px}.discover-cover-wrap{width:138px}.discover-collection-card{flex-basis:170px}.category-chip-grid{flex-wrap:nowrap;overflow-x:auto;margin-inline:-17px;padding:0 17px 9px}.category-chip-grid .category-chip{flex:0 0 auto;font-size:13px}.app-footer{padding-inline:17px}.app-menu-overlay{position:fixed;inset:0;z-index:70;border:0;background:rgba(16,30,34,.35);cursor:pointer}.app-shell.menu-open .app-menu-overlay{display:block}}
@media(max-width:480px){.daily-free-card{gap:12px}.daily-free-card>img{width:80px}.discover-book-card{flex-basis:132px}.discover-cover-wrap{width:126px}.search-result-card img{width:60px;height:82px}}
.book-detail-page{padding:12px 0 45px}.book-detail-grid{display:grid;grid-template-columns:minmax(210px,300px) minmax(0,1fr);gap:44px;align-items:start}.book-detail-cover{position:sticky;top:95px}.book-detail-cover img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:12px;background:#edf2f0;box-shadow:0 16px 35px rgba(12,42,52,.16)}.book-detail-copy .eyebrow{display:block;font-size:12px;margin:4px 0 9px}.book-detail-copy h1{font-size:clamp(28px,4vw,45px);line-height:1.25;color:#22343b;margin:0}.book-detail-copy h2{font-size:16px;color:#53635f;margin:14px 0}.book-detail-subtitle{font-size:17px;color:#6f7c79;line-height:1.8;margin:0 0 22px}.book-detail-stats{border-block:1px solid #e7ecea;padding:16px 0;display:flex;flex-wrap:wrap;gap:14px 24px;color:#52635e;font-size:13px}.book-detail-stats span{display:flex;align-items:center;gap:5px}.book-detail-stats small{color:#88938f}.book-detail-actions{margin:23px 0 27px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.book-detail-actions button,.book-detail-actions .book-read-action{min-width:150px;border:0;border-radius:9px;padding:11px 17px;background:#163b50;color:#fff;font-weight:700;text-align:center}.book-detail-actions button{opacity:.46;cursor:not-allowed}.book-detail-actions .book-read-action{opacity:1;cursor:pointer}.book-detail-actions .book-read-action:hover{background:#0e2e40}.book-detail-actions>span{flex-basis:100%;font-size:11px;color:#8a9692}.book-detail-categories h3{font-size:15px;margin:0 0 11px;color:#31443f}.book-detail-categories .category-chip{cursor:default;font-size:12px;padding:8px 11px}.book-detail-sections{max-width:850px;margin:42px 0 28px}.book-detail-sections section{margin-bottom:32px}.book-detail-sections h2{font-size:20px;color:#263940;margin:0 0 11px}.book-detail-sections p{white-space:pre-line;color:#65736f;line-height:2;margin:0}.book-detail-not-found{min-height:55vh;display:grid;place-items:center;align-content:center;text-align:center;gap:13px}.book-detail-not-found img{width:78px}.book-detail-not-found h1{font-size:22px;color:#52635e;margin:0}.book-detail-not-found a{color:#16885b;font-weight:700}
@media(max-width:800px){.book-detail-grid{grid-template-columns:220px minmax(0,1fr);gap:27px}.book-detail-cover{position:static}.book-detail-copy h1{font-size:30px}}
@media(max-width:600px){.book-detail-grid{grid-template-columns:1fr}.book-detail-cover{width:min(68vw,260px);margin:0 auto}.book-detail-copy{text-align:start}.book-detail-copy h1{font-size:27px}.book-detail-actions button{flex:1}.book-detail-stats{gap:12px 17px}.book-detail-sections{margin-top:25px}}
/* Category, topic, and collection discovery */
.taxonomy-index-head{max-width:760px}.taxonomy-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}.taxonomy-category-card{min-height:92px;border:1px solid #e2ebe7;border-radius:14px;background:#f8fbfa;padding:18px;display:flex;align-items:center;gap:13px;color:#284039;transition:.18s ease}.taxonomy-category-card:hover{border-color:#8fd7b2;transform:translateY(-2px);box-shadow:0 8px 20px rgba(24,74,57,.07)}.taxonomy-category-card .category-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto}.taxonomy-category-card strong{flex:1;line-height:1.55}.taxonomy-category-card>span:last-child{color:#2a8f68;font-size:20px}.taxonomy-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#7a8a85;margin:0 0 24px}.taxonomy-breadcrumb a{color:#167ba7;font-weight:700}.taxonomy-hero{display:flex;align-items:flex-start;gap:18px;margin-bottom:36px;padding:24px;border-radius:18px;background:linear-gradient(135deg,#f0faf5,#f6fbff);border:1px solid #e6efeb}.taxonomy-hero-icon{width:58px;height:58px;border-radius:14px;background:#fff;display:grid;place-items:center;flex:0 0 auto;box-shadow:0 6px 18px rgba(21,62,49,.07)}.taxonomy-hero-icon svg{width:34px;height:34px}.taxonomy-hero h1,.taxonomy-topic-head h1{font-size:32px;line-height:1.35;margin:2px 0 8px;color:#263b42}.taxonomy-hero p,.taxonomy-topic-head p{margin:0;color:#6d7d78;line-height:1.9}.taxonomy-topics-section{margin-bottom:38px}.taxonomy-topic-list{display:flex;flex-wrap:wrap;gap:10px}.taxonomy-topic-list a{background:#f1f6f4;border:1px solid #f1f6f4;color:#24463b;padding:10px 14px;border-radius:9px;font-size:13px}.taxonomy-topic-list a:hover{border-color:#6ed09c;background:#f7fbf9}.taxonomy-topic-head{margin-bottom:25px}.taxonomy-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.taxonomy-book-card{display:flex;gap:15px;border:1px solid #e6ece9;border-radius:13px;padding:12px;background:#fff;min-width:0}.taxonomy-book-card:hover{border-color:#afd7c2;box-shadow:0 7px 18px rgba(21,62,49,.05)}.taxonomy-book-card>img{width:92px;height:128px;object-fit:cover;border-radius:8px;background:#edf2f0;flex:0 0 auto}.taxonomy-book-card>div{min-width:0}.taxonomy-book-card h3{font-size:15px;margin:3px 0 5px;line-height:1.55;color:#25373e}.taxonomy-book-card p{font-size:12px;margin:0 0 5px;color:#697975}.taxonomy-book-card small{font-size:11px;line-height:1.55;color:#87928f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.taxonomy-book-meta{display:flex;gap:12px;margin-top:10px;font-size:11px;color:#6c8178}.pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin:34px 0 5px;flex-wrap:wrap}.pagination a{min-width:36px;height:36px;padding:0 10px;border:1px solid #dfe7e3;border-radius:8px;display:grid;place-items:center;font-size:12px;background:#fff}.pagination a:hover,.pagination a.active{border-color:#38be7e;background:#eaf9f1;color:#126642}.collection-detail-hero{position:relative;display:grid;grid-template-columns:250px minmax(0,1fr);gap:42px;align-items:center;padding:38px;border-radius:21px;background:#fef3d7;margin-bottom:38px;overflow:hidden}.collection-detail-art{position:relative;display:grid;place-items:center;min-height:270px}.collection-detail-art img{position:relative;z-index:2;width:180px;height:230px;object-fit:cover;border-radius:11px;background:#fff;box-shadow:0 15px 30px rgba(91,72,28,.17)}.collection-detail-art>span{position:absolute;width:180px;height:230px;border-radius:11px;background:#fff;transform:translate(17px,-10px) rotate(5deg);box-shadow:0 8px 20px rgba(91,72,28,.10)}.lang-fa .collection-detail-art>span{transform:translate(-17px,-10px) rotate(-5deg)}.collection-detail-copy h1{font-size:34px;line-height:1.35;color:#27383e;margin:3px 0 12px}.collection-lead{font-size:16px;color:#66726f;line-height:1.85;max-width:740px}.collection-detail-meta{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0;color:#4a6359;font-size:13px}.collection-detail-copy button{border:0;border-radius:9px;padding:11px 16px;background:#5ce080;color:#14372b;font-weight:700;opacity:.55;cursor:not-allowed}.collection-about-section,.collection-description,.collection-books-section{margin:0 0 38px}.collection-about-section h2,.collection-books-section h2{font-size:20px;color:#283b42;margin:0 0 15px}.collection-description{max-width:900px}.collection-description p{white-space:pre-line;color:#63736e;line-height:2;margin:0}.collection-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.collection-book-card{min-width:0}.collection-book-card>img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:9px;background:#edf2f0;box-shadow:0 7px 18px rgba(16,43,53,.09)}.collection-book-card h3{font-size:14px;line-height:1.55;margin:10px 0 4px;color:#27383e}.collection-book-card p{font-size:11.5px;color:#6d7a77;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-book-card small{font-size:11px;color:#87938f;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.collection-book-card>div{display:flex;gap:11px;margin-top:7px;color:#6e817a;font-size:10.5px}.categories-section .category-chip{cursor:pointer}.categories-section .category-chip:hover,.book-detail-categories .category-chip:hover{border-color:#6ed09c;color:#1f7657}.discover-collection-card{color:inherit}
@media(max-width:1000px){.taxonomy-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-detail-hero{grid-template-columns:210px minmax(0,1fr);gap:28px;padding:28px}.collection-detail-art img,.collection-detail-art>span{width:155px;height:205px}}
@media(max-width:720px){.taxonomy-category-grid{grid-template-columns:1fr}.taxonomy-hero{padding:18px}.taxonomy-hero h1,.taxonomy-topic-head h1{font-size:26px}.taxonomy-book-grid{grid-template-columns:1fr}.collection-detail-hero{grid-template-columns:1fr;text-align:start;padding:22px}.collection-detail-art{min-height:230px}.collection-detail-copy h1{font-size:27px}.collection-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.collection-detail-art img,.collection-detail-art>span{width:145px;height:195px}}
.book-detail-categories .category-chip{cursor:pointer}

/* SSR book reader */
.reader-shell{--reader-bg:#fff;--reader-fg:#26373d;--reader-muted:#74817d;--reader-panel:#f7faf8;--reader-border:#e2e9e6;--reader-mark:#ffe18b;min-height:100vh;background:var(--reader-bg);color:var(--reader-fg);transition:background .2s,color .2s}.reader-theme-sepia{--reader-bg:#f7f0df;--reader-fg:#443d31;--reader-muted:#786f60;--reader-panel:#efe5cf;--reader-border:#ddd0b5;--reader-mark:#f4cf69}.reader-theme-dark{--reader-bg:#182126;--reader-fg:#e7eceb;--reader-muted:#9da9a6;--reader-panel:#222d32;--reader-border:#344248;--reader-mark:#8b6a17}.reader-topbar{position:sticky;top:0;z-index:90;height:68px;background:color-mix(in srgb,var(--reader-bg) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--reader-border);display:flex;align-items:center;gap:20px;padding:0 24px}.reader-back{display:flex;align-items:center;gap:9px;min-width:0;max-width:36%;color:inherit}.reader-back>span:first-child{font-size:22px}.reader-back>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:700}.reader-progress-wrap{display:flex;align-items:center;gap:9px;margin-inline:auto;min-width:160px}.reader-progress-wrap>span{font-size:11px;color:var(--reader-muted);min-width:32px}.reader-progress{height:5px;width:150px;background:var(--reader-border);border-radius:99px;overflow:hidden}.reader-progress span{display:block;height:100%;background:#42c982;border-radius:inherit;transition:width .25s}.reader-tools{display:flex;align-items:center;gap:9px}.reader-tools button,.reader-tools select,.reader-chapters button,.reader-section-nav button{border:1px solid var(--reader-border);background:var(--reader-panel);color:var(--reader-fg);border-radius:8px;padding:8px 10px;font:inherit;cursor:pointer}.reader-font-controls{display:flex}.reader-font-controls button{border-radius:0;margin-inline-start:-1px;min-width:34px}.reader-font-controls button:first-child{border-start-start-radius:8px;border-end-start-radius:8px}.reader-font-controls button:last-child{border-start-end-radius:8px;border-end-end-radius:8px}.reader-font-controls button.active{background:#dff7e9;color:#116c43;border-color:#8edbb4}.reader-tools select{outline:none}.reader-chapters{position:fixed;z-index:110;inset-block:0;inset-inline-start:0;width:min(390px,88vw);background:var(--reader-bg);border-inline-end:1px solid var(--reader-border);box-shadow:0 20px 45px rgba(0,0,0,.16);transform:translateX(-105%);transition:transform .22s ease;overflow:auto;padding:18px}.lang-fa .reader-chapters{transform:translateX(105%)}.reader-shell.chapters-open .reader-chapters{transform:translateX(0)}.reader-chapters-head{display:flex;align-items:center;justify-content:space-between;padding:5px 4px 15px;border-bottom:1px solid var(--reader-border)}.reader-chapters-head button{border:0;background:transparent;font-size:27px;padding:2px 8px}.reader-chapters nav{display:flex;flex-direction:column}.reader-chapters nav button{border:0;border-bottom:1px solid var(--reader-border);border-radius:0;background:transparent;text-align:start;display:grid;grid-template-columns:45px 1fr;gap:13px;align-items:center;padding:18px 7px}.reader-chapters nav button span{color:#30956a;font-weight:800;font-size:12px}.reader-chapters nav button strong{font-size:13px;line-height:1.55}.reader-overlay{display:none;position:fixed;inset:0;z-index:105;border:0;background:rgba(9,26,31,.38)}.reader-shell.chapters-open .reader-overlay{display:block}.reader-main{width:100%;padding:0 20px 120px}.reader-article{width:min(100%,820px);margin:0 auto;font-size:18px;line-height:2.05;transition:font-size .15s}.reader-article.reader-font-small{font-size:16px}.reader-article.reader-font-medium{font-size:18px}.reader-article.reader-font-large{font-size:21px}.reader-section{padding:76px 0 36px;scroll-margin-top:78px}.reader-section+.reader-section{border-top:1px solid var(--reader-border)}.reader-section-kicker{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--reader-muted);margin-bottom:8px}.lang-fa .reader-section-kicker{letter-spacing:0;text-transform:none}.reader-section h2{font-family:Literata,Vazirmatn,serif;font-size:1.65em;line-height:1.45;margin:0 0 28px;color:inherit}.reader-paragraph{margin:0 0 25px;white-space:pre-line;user-select:text;-webkit-user-select:text}.reader-highlight{background:var(--reader-mark);color:inherit;border-radius:2px;padding:0 1px;cursor:pointer}.reader-section-nav{display:flex;justify-content:space-between;gap:12px;margin-top:42px}.reader-section-nav button{min-width:120px}.reader-primary-action{padding:48px 0 80px}.reader-primary-action>button{border:0;border-radius:9px;background:#113a50;color:#fff;font:inherit;font-weight:800;padding:12px 28px;cursor:pointer}.reader-primary-action>button:disabled{opacity:.62;cursor:default}.reader-selection-menu,.reader-highlight-menu{position:fixed;z-index:140;display:flex;gap:5px;padding:6px;background:#fff;color:#22343b;border:1px solid #e1e7e4;border-radius:9px;box-shadow:0 9px 28px rgba(0,0,0,.18)}.reader-selection-menu[hidden],.reader-highlight-menu[hidden]{display:none}.reader-selection-menu button,.reader-highlight-menu button{border:0;border-radius:6px;padding:7px 10px;background:#f1f5f3;color:inherit;font:inherit;font-size:12px;cursor:pointer}.reader-selection-menu button:first-child{background:#ffd96a}.reader-highlight-menu button:first-child{background:#ffe4e2;color:#a1443e}.reader-toast{position:fixed;z-index:150;inset-inline-end:20px;bottom:20px;background:#20363d;color:#fff;padding:10px 14px;border-radius:8px;font-size:12px;box-shadow:0 8px 26px rgba(0,0,0,.2)}.reader-toast[hidden]{display:none}.reader-empty-intro,.reader-not-found{min-height:60vh;display:grid;place-items:center;align-content:center;text-align:center;gap:14px}.reader-not-found img{width:80px}.reader-not-found h1{font-size:22px;margin:0}.reader-not-found a{color:#18835b;font-weight:800}.reader-theme-dark .reader-selection-menu,.reader-theme-dark .reader-highlight-menu{background:#26343a;color:#eef3f1;border-color:#415158}.reader-theme-dark .reader-selection-menu button,.reader-theme-dark .reader-highlight-menu button{background:#35434a}.reader-theme-dark .reader-selection-menu button:first-child{background:#94721d}.reader-theme-dark .reader-highlight-menu button:first-child{background:#5f3230;color:#ffd8d5}
@media(max-width:760px){.reader-topbar{height:auto;min-height:68px;padding:8px 12px;gap:8px;flex-wrap:wrap}.reader-back{max-width:55%;order:1}.reader-progress-wrap{order:2;margin-inline-start:auto;min-width:105px}.reader-progress{width:80px}.reader-tools{order:3;width:100%;justify-content:space-between;padding-top:6px;border-top:1px solid var(--reader-border)}.reader-tools>button{flex:1}.reader-main{padding-inline:17px}.reader-article{font-size:17px}.reader-section{padding-top:52px;scroll-margin-top:125px}.reader-section h2{font-size:1.45em}.reader-font-controls button{padding-inline:8px}.reader-tools select{max-width:105px}.reader-selection-menu,.reader-highlight-menu{max-width:calc(100vw - 20px)}}

/* v1.12: authenticated My Library */
.library-page-head{margin-bottom:34px}.library-section{margin:0 0 48px}.library-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.library-section-head h2{font-size:21px;color:#25353b;margin:0 0 5px}.library-section-head p{margin:0;color:#7b8985;font-size:13px}.library-section-head>a{display:inline-flex;align-items:center;gap:7px;color:#167ba7;font-weight:700;font-size:13px;white-space:nowrap}.lang-fa .library-section-head>a span{transform:scaleX(-1)}.library-list-head{margin-bottom:13px}.library-list-summary{margin:0 0 20px;color:#71817c;font-size:13px}.pagination-gap{min-width:28px;height:36px;display:grid;place-items:center;color:#82908c}
@media(max-width:720px){.library-page-head{margin-bottom:28px}.library-section{margin-bottom:38px}.library-section-head{align-items:center}.library-section-head h2{font-size:18px}.library-section-head p{font-size:12px}}

/* v1.13 Highlights */
.highlights-page-head{margin-bottom:30px}.highlights-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.highlights-title-row>div{max-width:720px}.highlights-title-icon{width:56px;height:56px;border-radius:14px;background:#f1f6f4;display:grid;place-items:center;flex:0 0 auto}.highlights-title-icon svg{width:30px;height:30px;fill:none;stroke:#294b42;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.highlights-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 22px}.highlight-book-card{display:flex;flex-direction:column;min-width:0;color:inherit}.highlight-book-card>img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px;background:#edf2f0;box-shadow:0 8px 20px rgba(16,43,53,.09);transition:transform .18s ease,box-shadow .18s ease}.highlight-book-card:hover>img{transform:translateY(-3px);box-shadow:0 12px 26px rgba(16,43,53,.14)}.highlight-book-card h2{font-size:14px;line-height:1.55;margin:10px 0 4px;color:#27383e}.highlight-book-card p{font-size:11.5px;color:#6d7a77;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.highlight-book-card small{font-size:11px;color:#87938f;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.highlights-empty{min-height:260px}.highlights-empty>div{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.highlights-empty strong{color:#334741}.highlights-empty a{margin-top:5px;color:#167ba7;font-weight:700;font-size:12px}.highlight-detail-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:48px;align-items:start}.highlight-book-summary{position:sticky;top:28px;text-align:center}.highlight-book-summary>img{width:180px;aspect-ratio:2/3;object-fit:cover;border-radius:10px;background:#edf2f0;box-shadow:0 10px 24px rgba(16,43,53,.12)}.highlight-book-summary h1{font-size:18px;line-height:1.55;margin:16px 0 5px;color:#27383e}.highlight-book-summary>p{margin:0;color:#75827f;font-size:12px}.highlight-book-actions{display:grid;gap:8px;margin-top:18px}.highlight-book-actions a{min-height:40px;border-radius:8px;display:grid;place-items:center;font-size:12px;font-weight:800}.highlight-primary-link{background:#246bf1;color:#fff}.highlight-secondary-link{border:1px solid #dfe7e3;color:#31554a;background:#fff}.highlight-detail-content{min-width:0}.highlight-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #e7edeb}.highlight-detail-head h2{font-size:25px;margin:4px 0 5px;color:#283b42}.highlight-detail-head p{font-size:12px;color:#81908b;margin:0}.highlight-copy-all,.highlight-note button{border:0;background:transparent;color:#167ba7;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.highlight-copy-all{padding:9px 11px;border-radius:8px;background:#f1f8fb}.highlight-copy-all svg,.highlight-note button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.highlight-copy-all.copied,.highlight-note button.copied{color:#18714f;background:#e9f8f0}.highlight-book-description{margin:22px 0 0;color:#6e7c78;font-size:13px;line-height:1.85;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.highlight-list{display:grid;gap:16px;margin-top:25px}.highlight-note{background:#f4f8f6;border-inline-start:4px solid #cddbd5;padding:18px 19px;border-radius:4px 10px 10px 4px}.lang-fa .highlight-note{border-radius:10px 4px 4px 10px}.highlight-note blockquote{margin:0;color:#33433f;line-height:1.95;font-size:14px}.highlight-note-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:#8a9692;font-size:10.5px}.highlight-note button{padding:5px 7px;border-radius:6px}.highlight-note button.copied{background:#e4f5ec}
@media(max-width:1000px){.highlights-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.highlight-detail-layout{grid-template-columns:190px minmax(0,1fr);gap:32px}.highlight-book-summary>img{width:155px}}
@media(max-width:720px){.highlights-title-icon{width:48px;height:48px}.highlights-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.highlight-detail-layout{grid-template-columns:1fr;gap:30px}.highlight-book-summary{position:static;display:grid;grid-template-columns:105px minmax(0,1fr);gap:14px;text-align:start;align-items:start}.highlight-book-summary>img{width:105px;grid-row:1/4}.highlight-book-summary h1{margin:2px 0 4px;font-size:17px}.highlight-book-actions{grid-column:2;margin-top:5px;grid-template-columns:1fr 1fr}.highlight-detail-head{align-items:center}.highlight-detail-head h2{font-size:21px}.highlight-copy-all{padding:8px}.highlight-note{padding:15px}.highlight-note blockquote{font-size:13.5px}}

/* Highlights UI v1.13.1 --------------------------------------------------- */
.highlights-page-head{max-width:760px;margin-bottom:36px}.highlights-page-head>p{font-size:14px}.highlights-empty-card{width:min(100%,660px);min-height:220px;margin:54px auto 0;padding:34px 36px;border:1px solid #e3ebe7;border-radius:18px;background:linear-gradient(145deg,#fbfdfc,#f6faf8);display:flex;align-items:center;gap:20px;box-shadow:0 10px 30px rgba(19,55,45,.04)}.highlights-empty-icon{width:56px;height:56px;flex:0 0 56px;border-radius:16px;background:#e7f7ee;color:#168354;display:grid;place-items:center}.highlights-empty-icon svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor}.highlights-empty-copy{min-width:0}.highlights-empty-copy strong{display:block;color:#273b34;font-size:17px;line-height:1.6;margin:0 0 5px}.highlights-empty-copy p{color:#76847f;font-size:13px;line-height:1.8;margin:0;max-width:490px}.highlights-empty-copy a{display:inline-flex;align-items:center;min-height:38px;margin-top:15px;padding:7px 14px;border-radius:8px;background:#fff;border:1px solid #d7e6df;color:#167a55;font-size:12px;font-weight:800;transition:background .15s,border-color .15s}.highlights-empty-copy a:hover{background:#edf8f2;border-color:#badcca}.highlights-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}.highlight-book-card{display:block;min-width:0;color:inherit}.highlight-book-cover{position:relative;width:100%;aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:#edf2f0;box-shadow:0 8px 22px rgba(16,43,53,.09);transition:transform .18s ease,box-shadow .18s ease}.highlight-book-cover>img{width:100%;height:100%;object-fit:cover}.highlight-book-card:hover .highlight-book-cover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(16,43,53,.14)}.highlight-book-count-badge{position:absolute;inset-inline-end:9px;bottom:9px;width:31px;height:31px;border-radius:9px;background:rgba(255,255,255,.94);color:#197b58;display:grid;place-items:center;box-shadow:0 4px 12px rgba(18,52,43,.12);backdrop-filter:blur(5px)}.highlight-book-count-badge svg{display:block}.highlight-book-copy{padding:11px 3px 0}.highlight-book-copy h2{font-size:14px;line-height:1.6;margin:0 0 4px;color:#27383e}.highlight-book-copy p{font-size:11.5px;color:#6d7a77;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.highlight-book-copy small{font-size:11px;color:#87938f;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.highlight-detail-layout{max-width:1040px;margin:24px auto 0;display:grid;grid-template-columns:240px minmax(0,1fr);gap:42px;align-items:start}.highlight-book-summary{position:sticky;top:24px;padding:18px;border:1px solid #e5ece9;border-radius:16px;background:#fafcfb;text-align:start}.highlight-summary-cover{width:154px;margin:0 auto;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#edf2f0;box-shadow:0 9px 24px rgba(16,43,53,.12)}.highlight-summary-cover img{width:100%;height:100%;object-fit:cover}.highlight-summary-copy{text-align:center}.highlight-summary-copy h1{font-size:17px;line-height:1.6;margin:16px 0 5px;color:#27383e}.highlight-summary-copy p{margin:0;color:#75827f;font-size:11.5px;line-height:1.55}.highlight-book-actions{display:grid;gap:8px;margin-top:17px}.highlight-book-actions a{min-height:39px;border-radius:8px;display:grid;place-items:center;padding:7px 10px;font-size:11.5px;font-weight:800}.highlight-primary-link{background:#1d7e5a;color:#fff}.highlight-primary-link:hover{background:#176c4d}.highlight-secondary-link{border:1px solid #dce7e2;color:#31554a;background:#fff}.highlight-secondary-link:hover{background:#f2f7f5}.highlight-detail-content{min-width:0}.highlight-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 0 19px;border-bottom:1px solid #e7edeb}.highlight-detail-head .eyebrow{font-size:11px;margin:0 0 4px}.highlight-detail-head h2{font-size:25px;line-height:1.45;margin:0 0 4px;color:#283b42}.highlight-detail-head p{font-size:12px;color:#81908b;margin:0}.highlight-copy-all,.highlight-note-actions button{border:0;color:#167b5a;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11.5px;font-weight:800}.highlight-copy-all{min-height:38px;padding:8px 12px;border-radius:8px;background:#edf7f2}.highlight-copy-all svg,.highlight-note-actions button svg{display:block;flex:0 0 auto}.highlight-copy-all:hover{background:#e2f2ea}.highlight-copy-all.copied,.highlight-note-actions button.copied{color:#146943;background:#dff4e8}.highlight-list{display:grid;gap:14px;margin-top:22px}.highlight-note{position:relative;background:#fff;border:1px solid #e5ece9;border-radius:13px;padding:18px 19px 14px;box-shadow:0 5px 18px rgba(20,53,44,.035)}.highlight-note-topline{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#84918d;font-size:10.5px}.highlight-note-index{width:23px;height:23px;border-radius:7px;background:#edf7f2;color:#197452;display:grid;place-items:center;font-size:10px;font-weight:800}.highlight-note-section{font-weight:700;color:#65746f}.highlight-note-topline time{margin-inline-start:auto;direction:ltr}.highlight-note blockquote{margin:0;padding:0;border:0;color:#31433d;line-height:2;font-size:14px;white-space:pre-line}.highlight-note-actions{display:flex;justify-content:flex-end;margin-top:12px;padding-top:10px;border-top:1px solid #f0f3f2}.highlight-note-actions button{min-height:31px;padding:5px 9px;border-radius:7px;background:transparent}.highlight-note-actions button:hover{background:#f0f7f4}.taxonomy-breadcrumb+.highlights-empty-card{margin-top:42px}
@media(max-width:1000px){.highlights-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.highlight-detail-layout{grid-template-columns:210px minmax(0,1fr);gap:28px}.highlight-book-summary{padding:15px}.highlight-summary-cover{width:140px}}
@media(max-width:720px){.highlights-page-head{margin-bottom:26px}.highlights-empty-card{margin-top:30px;min-height:0;padding:24px 20px;align-items:flex-start}.highlights-empty-icon{width:48px;height:48px;flex-basis:48px;border-radius:13px}.highlights-empty-icon svg{width:23px;height:23px}.highlights-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px}.highlight-detail-layout{grid-template-columns:1fr;gap:24px;margin-top:17px}.highlight-book-summary{position:static;display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px 14px;align-items:start;text-align:start;padding:14px}.highlight-summary-cover{width:92px;grid-row:1/3;margin:0}.highlight-summary-copy{text-align:start}.highlight-summary-copy h1{margin:1px 0 4px;font-size:16px}.highlight-book-actions{grid-column:2;margin-top:1px;grid-template-columns:1fr 1fr}.highlight-book-actions a{min-height:36px;font-size:10.5px}.highlight-detail-head{align-items:center}.highlight-detail-head h2{font-size:21px}.highlight-copy-all{padding:8px 10px}.highlight-note{padding:15px 14px 12px}.highlight-note blockquote{font-size:13.5px}.highlight-note-topline{flex-wrap:wrap}.highlight-note-topline time{margin-inline-start:0}}
@media(max-width:460px){.highlights-empty-card{flex-direction:column;gap:14px}.highlights-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap-inline:12px}.highlight-book-actions{grid-template-columns:1fr}.highlight-detail-head{align-items:flex-start;flex-direction:column}.highlight-copy-all{align-self:flex-start}.highlight-note-topline time{width:100%}}

/* Account settings v1.14 --------------------------------------------------- */
.settings-page-head{max-width:760px;margin-bottom:30px}.settings-page-head>p{font-size:14px}.settings-notice{width:min(100%,780px);min-height:45px;margin:0 0 22px;padding:10px 14px;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:700}.settings-notice svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.settings-notice.success{background:#ebf8f1;border:1px solid #cdebdc;color:#176b4a}.settings-notice.error{background:#fff3f2;border:1px solid #f1d1ce;color:#a44740}.settings-layout{max-width:980px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(310px,.92fr);gap:22px;align-items:start}.settings-side-stack{display:grid;gap:18px}.settings-card{border:1px solid #e3eae7;border-radius:16px;background:#fff;padding:22px;box-shadow:0 7px 24px rgba(18,51,42,.035)}.settings-profile-card{padding:26px}.settings-card-head{display:flex;align-items:flex-start;gap:13px;padding-bottom:20px;border-bottom:1px solid #edf1ef}.settings-card-head.compact{padding-bottom:16px}.settings-card-head h2,.settings-session-card h2{font-size:17px;line-height:1.55;color:#273a40;margin:0 0 3px}.settings-card-head p,.settings-session-card p{font-size:11.5px;line-height:1.7;color:#82908b;margin:0}.settings-card-icon{width:40px;height:40px;flex:0 0 40px;border-radius:11px;background:#eef8f3;color:#197653;display:grid;place-items:center}.settings-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.settings-form{display:grid;gap:9px;margin-top:22px}.settings-form label{font-size:12px;font-weight:800;color:#3b4c47}.settings-form input{width:100%;height:44px;border:1px solid #d9e3df;border-radius:9px;background:#fbfdfc;padding:0 12px;color:#263b42;font:inherit;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}.settings-form input:focus{background:#fff;border-color:#7bcba3;box-shadow:0 0 0 3px rgba(46,224,129,.11)}.settings-form small{color:#8b9692;font-size:10.5px;line-height:1.7}.settings-primary-button{justify-self:start;min-height:40px;margin-top:9px;padding:8px 17px;border:0;border-radius:8px;background:#1b7d59;color:#fff;font-size:12px;font-weight:800;cursor:pointer;transition:background .15s,transform .15s}.settings-primary-button:hover{background:#176b4d;transform:translateY(-1px)}.language-choice{display:grid;gap:9px;margin-top:16px}.language-option{width:100%;min-height:57px;border:1px solid #e1e9e6;border-radius:10px;background:#fbfdfc;padding:9px 11px;display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;color:#344842;text-align:start;cursor:pointer;transition:border-color .15s,background .15s}.language-option:hover{background:#f6faf8;border-color:#cadbd4}.language-option.active{background:#edf8f2;border-color:#b9dfca}.language-code{width:36px;height:36px;border-radius:9px;background:#fff;border:1px solid #e1e8e5;display:grid;place-items:center;font:800 10px/1 Literata,Georgia,serif;color:#2a7660}.language-option strong{display:block;font-size:12px;line-height:1.45}.language-option small{display:block;color:#8c9793;font-size:9.5px;margin-top:2px}.language-check{width:18px;height:18px;fill:none;stroke:#168253;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.account-facts{margin:15px 0 0;display:grid}.account-facts>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;border-bottom:1px solid #f0f3f2}.account-facts>div:last-child{border-bottom:0}.account-facts dt{font-size:11px;color:#7d8a86}.account-facts dd{margin:0;text-align:end;font-size:11.5px;color:#33463f;font-weight:700}.plan-pill{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:999px;background:#e9f8f0;color:#176d4c;font-size:10px}.settings-session-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fcfdfd}.settings-session-card>div{min-width:0}.settings-session-card form{flex:0 0 auto}.settings-logout-button{min-height:38px;padding:7px 12px;border:1px solid #ead8d6;border-radius:8px;background:#fff;color:#a84a42;display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}.settings-logout-button:hover{background:#fff5f4;border-color:#e6c8c4}.settings-logout-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.settings-layout{grid-template-columns:1fr;max-width:760px}.settings-side-stack{grid-template-columns:1fr 1fr}.settings-session-card{grid-column:1/-1}}
@media(max-width:620px){.settings-page-head{margin-bottom:24px}.settings-card,.settings-profile-card{padding:18px}.settings-side-stack{grid-template-columns:1fr}.settings-session-card{grid-column:auto;align-items:flex-start;flex-direction:column}.settings-primary-button{width:100%;justify-self:stretch}.settings-logout-button{width:100%;justify-content:center}.settings-session-card form{width:100%}.account-facts>div{align-items:flex-start;padding:10px 0;min-height:0}.account-facts dd{max-width:58%;overflow-wrap:anywhere}}

/* Help + public secondary pages v1.15 ------------------------------------ */
.secondary-public-main{min-height:calc(100vh - 68px);padding:54px 24px 76px;background:linear-gradient(180deg,#fbfdfc 0,#fff 240px)}.secondary-public-shell,.rules-shell{width:min(100%,1080px);margin:0 auto}.help-page-app{max-width:1080px}.help-hero{max-width:760px;margin-bottom:31px}.help-hero .eyebrow,.help-section-head .eyebrow,.help-contact-card .eyebrow,.secondary-hero .eyebrow,.rules-head .eyebrow{display:block;margin:0 0 8px;font-size:11px;letter-spacing:.02em}.help-hero h1,.secondary-hero h1,.rules-head h1{margin:0;color:#20343b;font-size:clamp(30px,4vw,48px);line-height:1.28;letter-spacing:-.03em}.lang-fa .help-hero h1,.lang-fa .secondary-hero h1,.lang-fa .rules-head h1{letter-spacing:0}.help-hero>p,.secondary-hero-copy>p,.rules-head>p{max-width:720px;margin:12px 0 0;color:#687a74;font-size:14px;line-height:1.95}.help-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:48px}.help-quick-card{min-height:92px;border:1px solid #e2ebe7;border-radius:14px;background:#fff;padding:15px 16px;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:12px;box-shadow:0 5px 18px rgba(16,50,40,.025);transition:border-color .16s,box-shadow .16s,transform .16s}.help-quick-card:hover{border-color:#9ad9b8;box-shadow:0 9px 24px rgba(19,77,57,.06);transform:translateY(-1px)}.help-quick-icon{width:42px;height:42px;border-radius:11px;background:#ecf8f2;color:#197555;display:grid;place-items:center}.help-quick-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.help-quick-copy{min-width:0;display:block}.help-quick-copy strong{display:block;color:#294039;font-size:13px;line-height:1.5}.help-quick-copy small{display:block;margin-top:3px;color:#84918d;font-size:10.5px;line-height:1.65}.help-card-arrow{font-size:20px;color:#85a299;direction:ltr}.lang-fa .help-card-arrow{transform:scaleX(-1)}.help-faq{max-width:900px;margin-bottom:42px}.help-section-head{margin-bottom:17px}.help-section-head h2{font-size:24px;line-height:1.45;color:#293d43;margin:0}.help-section-head>p{color:#778680;line-height:1.8}.help-faq-list{border-top:1px solid #e2e9e6}.help-faq-item{border-bottom:1px solid #e2e9e6}.help-faq-item summary{list-style:none;cursor:pointer;min-height:59px;padding:13px 3px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#2d443c;font-size:13px;font-weight:800}.help-faq-item summary::-webkit-details-marker{display:none}.help-faq-plus{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#f0f6f3;color:#4b6d61;font-size:18px;font-weight:400;transition:transform .16s,background .16s}.help-faq-item[open] .help-faq-plus{transform:rotate(45deg);background:#e5f5ed;color:#15734e}.help-faq-item p{margin:0;padding:0 3px 17px;max-width:800px;color:#6d7c77;font-size:12px;line-height:1.95}.help-contact-card{scroll-margin-top:88px;max-width:900px;border:1px solid #dcebe4;border-radius:16px;background:linear-gradient(135deg,#f0faf5,#f7fbff);padding:20px 22px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:15px;align-items:center}.help-contact-icon{width:48px;height:48px;border-radius:13px;background:#fff;color:#187554;display:grid;place-items:center;box-shadow:0 5px 14px rgba(25,84,63,.06)}.help-contact-icon svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.help-contact-card h2{font-size:17px;margin:0 0 4px;color:#293d43}.help-contact-card p{font-size:11.5px;line-height:1.75;color:#71817b;margin:0}.help-contact-action{min-height:39px;border-radius:9px;padding:8px 13px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d5e5de;color:#176f51;font-size:11.5px;font-weight:800;direction:ltr}.help-contact-action:hover{border-color:#8fcfb0;background:#fbfffd}
.secondary-hero{width:min(100%,1120px);margin:0 auto 34px;border:1px solid #e3ebe8;border-radius:24px;background:linear-gradient(135deg,#f1faf5,#eef8fc);padding:42px 46px;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.7fr);gap:36px;align-items:center;overflow:hidden}.secondary-hero-copy{max-width:650px}.secondary-hero-copy>p{font-size:15px}.secondary-primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:43px;margin-top:20px;padding:9px 17px;border-radius:9px;background:#1c7d59;color:#fff;font-size:12px;font-weight:800}.secondary-primary-action:hover{background:#176c4d}.about-hero-art{min-height:250px;display:grid;place-items:center;position:relative}.about-hero-art:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(46,224,129,.17);filter:blur(2px)}.about-hero-art img{position:relative;z-index:1;width:min(100%,360px);max-height:260px;object-fit:contain}.about-story-grid,.about-values{width:min(100%,1080px);margin:0 auto}.about-story-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:16px;margin-bottom:54px}.about-story-card{border:1px solid #e3eae7;border-radius:17px;background:#fff;padding:26px;box-shadow:0 7px 24px rgba(18,51,42,.03)}.about-story-main{background:#fff}.about-story-card h2{font-size:24px;line-height:1.5;color:#263b42;margin:3px 0 9px}.about-story-card h3{font-size:16px;line-height:1.55;color:#2a3e44;margin:7px 0}.about-story-card p{margin:0;color:#6c7c76;font-size:12.5px;line-height:2}.about-card-number{display:block;font:800 52px/1 Literata,Georgia,serif;color:#29bd75;letter-spacing:-.05em}.about-values .help-section-head{max-width:680px;margin-bottom:22px}.about-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.about-value-card{min-height:190px;border-radius:16px;background:#f7faf9;border:1px solid #e4ebe8;padding:23px}.about-value-card>span{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e8f6ef;color:#197454;font:800 10px/1 Literata,Georgia,serif}.about-value-card h3{font-size:16px;color:#293f46;margin:21px 0 7px}.about-value-card p{font-size:12px;line-height:1.9;color:#74817d;margin:0}
.rules-shell{max-width:900px}.rules-head{max-width:760px;margin-bottom:33px}.rules-content{border-top:1px solid #e1e8e5}.rules-section{display:grid;grid-template-columns:44px minmax(0,1fr);gap:17px;padding:24px 0;border-bottom:1px solid #e6ece9}.rules-section-number{width:35px;height:35px;border-radius:9px;background:#edf7f2;color:#1a7755;display:grid;place-items:center;font:800 10px/1 Literata,Georgia,serif}.rules-section h2{font-size:16px;line-height:1.55;color:#2b4147;margin:3px 0 7px}.rules-section p{font-size:12.5px;line-height:2;color:#6c7b76;margin:0}.rules-contact{margin-top:28px;border-radius:14px;background:#f2f8f5;border:1px solid #e0ebe5;padding:20px}.rules-contact strong{display:block;font-size:14px;color:#2b413a}.rules-contact p{font-size:11.5px;color:#71807b;line-height:1.8;margin:5px 0 10px}.rules-contact a{font-size:12px;font-weight:800;color:#177653;direction:ltr;display:inline-block}.footer-shell-compact{grid-template-columns:1.5fr repeat(3,1fr)}
@media(max-width:860px){.secondary-public-main{padding:38px 20px 60px}.secondary-hero{grid-template-columns:1fr;padding:32px}.about-hero-art{min-height:180px}.about-hero-art:before{width:200px;height:200px}.about-hero-art img{max-height:210px}.about-story-grid{grid-template-columns:1fr}.about-value-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.help-quick-grid{grid-template-columns:1fr}.help-contact-card{grid-template-columns:44px minmax(0,1fr)}.help-contact-icon{width:44px;height:44px}.help-contact-action{grid-column:1/-1;width:100%}.secondary-public-main{padding-inline:16px}.secondary-hero{padding:25px 20px;border-radius:18px}.secondary-hero h1,.help-hero h1,.rules-head h1{font-size:31px}.about-value-grid{grid-template-columns:1fr}.rules-section{grid-template-columns:36px minmax(0,1fr);gap:12px}.rules-section-number{width:32px;height:32px}.help-page-app .help-quick-grid{grid-template-columns:1fr}}
@media(max-width:460px){.help-quick-card{grid-template-columns:38px minmax(0,1fr) 18px;padding:13px}.help-quick-icon{width:38px;height:38px}.help-faq-item summary{font-size:12px}.help-contact-card{padding:17px}.about-story-card,.about-value-card{padding:20px}.about-card-number{font-size:44px}}
@media(prefers-reduced-motion:reduce){.help-quick-card,.help-faq-plus{transition:none!important}}

/* v1.16 — audio listening experience */
.book-detail-actions .book-listen-action{min-width:150px;border:0;border-radius:9px;padding:11px 17px;background:#1bb66f;color:#0d3327;font-weight:800;text-align:center;cursor:pointer}.book-detail-actions .book-listen-action:hover{background:#16a764;transform:translateY(-1px)}
.reader-has-audio .reader-main{padding-bottom:190px}.reader-audio-player{--audio-progress:0%;position:fixed;z-index:100;inset-inline:0;bottom:0;background:#0c3348;color:#fff;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 -10px 30px rgba(7,28,39,.18);padding:10px 22px 13px}.reader-audio-player.reader-audio-attention{animation:readerAudioAttention 1.1s ease-out 1}.reader-audio-player audio{display:none}.reader-audio-progress-row{max-width:1180px;margin:0 auto 8px;display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:11px;align-items:center;font:500 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#d5e5ea;direction:ltr}.reader-audio-progress-row input[type=range]{width:100%;height:4px;accent-color:#5fe18e;cursor:pointer}.reader-audio-controls{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;gap:24px}.reader-audio-book{min-width:0;display:flex;align-items:center;gap:11px}.reader-audio-book img{width:42px;height:52px;object-fit:cover;border-radius:5px;background:#e8efec;flex:0 0 auto}.reader-audio-book>div{min-width:0;display:grid;gap:3px}.reader-audio-book strong,.reader-audio-book span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-audio-book strong{font-size:12px}.reader-audio-book span{font-size:10px;color:#afc5cd}.reader-audio-primary{display:flex;align-items:center;justify-content:center;gap:13px}.reader-audio-player button{display:grid;place-items:center;border:0;background:transparent;color:#fff;padding:7px;border-radius:999px;cursor:pointer}.reader-audio-player button:hover{background:rgba(255,255,255,.1)}.reader-audio-player button:disabled{opacity:.45;cursor:not-allowed}.reader-audio-player button svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.reader-audio-player button svg text{font:700 6.5px/1 sans-serif;fill:currentColor;stroke:none}.reader-audio-player .reader-audio-play{width:46px;height:46px;background:#fff;color:#0c3348;padding:0}.reader-audio-player .reader-audio-play:hover{background:#dff8e8}.reader-audio-play .audio-icon-play,.reader-audio-play .audio-icon-pause{fill:currentColor;stroke:none}.reader-audio-play .audio-icon-pause{display:none}.reader-audio-player.is-playing .audio-icon-play{display:none}.reader-audio-player.is-playing .audio-icon-pause{display:block}.reader-audio-options{justify-self:end;display:flex;align-items:center;gap:8px}.reader-audio-options label{display:flex;align-items:center;gap:7px;font-size:10px;color:#b9ccd3}.reader-audio-options select{border:1px solid rgba(255,255,255,.2);border-radius:7px;background:#143f53;color:#fff;padding:6px 8px;font:inherit;outline:none}.reader-audio-options .audio-icon-muted{display:none}.reader-audio-player.is-muted .audio-icon-volume{display:none}.reader-audio-player.is-muted .audio-icon-muted{display:block}.reader-audio-error{max-width:1180px;margin:8px auto 0;padding:7px 10px;border-radius:7px;background:#6b2f33;color:#ffe5e6;text-align:center;font-size:11px}.reader-audio-error[hidden]{display:none}@keyframes readerAudioAttention{0%,100%{box-shadow:0 -10px 30px rgba(7,28,39,.18)}35%{box-shadow:0 -12px 34px rgba(49,215,120,.45)}}
.reader-theme-dark .reader-audio-player{background:#0b2735}.reader-theme-sepia .reader-audio-player{background:#463f33}
@media(max-width:760px){.reader-has-audio .reader-main{padding-bottom:205px}.reader-audio-player{padding:9px 12px 12px}.reader-audio-progress-row{grid-template-columns:42px minmax(0,1fr) 42px;gap:7px;margin-bottom:7px;font-size:9px}.reader-audio-controls{grid-template-columns:minmax(0,1fr) auto;gap:10px}.reader-audio-book img{width:34px;height:43px}.reader-audio-book strong{font-size:11px}.reader-audio-book span{font-size:9px}.reader-audio-primary{gap:7px;grid-row:1;grid-column:2}.reader-audio-player .reader-audio-play{width:42px;height:42px}.reader-audio-primary button:not(.reader-audio-play){padding:5px}.reader-audio-options{grid-column:1/-1;width:100%;justify-content:space-between;border-top:1px solid rgba(255,255,255,.1);padding-top:7px}.reader-audio-options label>span{display:none}.reader-audio-options select{padding:4px 6px}.reader-audio-error{font-size:10px;margin-top:6px}}
@media(max-width:420px){.reader-audio-book span{display:none}.reader-audio-book img{display:none}.reader-audio-primary{gap:3px}.reader-audio-controls{gap:5px}}

/* Reader v2 — mirrors the proven React study UX while keeping SSR and progressive enhancement. */
.reader-shell{--reader-bg:#fff;--reader-fg:#182a31;--reader-muted:#7d8b90;--reader-panel:#f7f9f8;--reader-border:#e2e8e5;--reader-accent:#0b6fc2;--reader-green:#39c978;--reader-mark:#ffd96a;--reader-sidebar-width:300px;--reader-sidebar-collapsed:72px;min-height:100vh;max-width:100%;overflow-x:clip;background:var(--reader-bg);color:var(--reader-fg);transition:background .2s,color .2s}
.reader-theme-sepia{--reader-bg:#fef3d7;--reader-fg:#263238;--reader-muted:#756e60;--reader-panel:#f7eac8;--reader-border:#e0d2ad;--reader-accent:#196ea5;--reader-mark:#f2ca61}
.reader-theme-dark{--reader-bg:#062330;--reader-fg:#f2f6f7;--reader-muted:#a9bbc1;--reader-panel:#0c3040;--reader-border:#284754;--reader-accent:#5ce080;--reader-mark:#8b6a17}
.reader-icon{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.reader-mobile-bar,.reader-mobile-menu,.reader-mobile-overlay{display:none}
.reader-sidebar{position:fixed;z-index:82;inset-block:0;inset-inline-start:0;width:var(--reader-sidebar-width);background:var(--reader-bg);border-inline-end:1px solid var(--reader-border);transition:width .35s ease,background .2s,color .2s;overflow:visible}
.reader-has-audio .reader-sidebar{bottom:106px}
.reader-sidebar-inner{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:22px 18px 18px;overflow-y:auto;overflow-x:hidden}
.reader-sidebar-logo{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-height:54px}
.reader-sidebar-logo img{width:52px;height:52px;object-fit:contain;flex:0 0 auto}
.reader-sidebar-logo span{font:800 21px/1.1 Arial,sans-serif;color:#0d3952;white-space:nowrap}.reader-theme-dark .reader-sidebar-logo span{color:#eaf6fa}
.reader-sidebar-progress{margin:34px 2px 0;padding:12px 12px 13px;border:1px solid var(--reader-border);border-radius:10px;background:var(--reader-panel)}
.reader-sidebar-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--reader-muted);margin-bottom:9px}.reader-sidebar-progress strong{color:var(--reader-fg);font-size:11px}
.reader-progress{height:4px;width:100%;background:var(--reader-border);border-radius:99px;overflow:hidden}.reader-progress span{display:block;height:100%;background:var(--reader-green);border-radius:inherit;transition:width .25s}
.reader-sidebar-actions{display:flex;flex-direction:column;gap:8px;margin-top:42px}.reader-sidebar-actions>button,.reader-mobile-menu button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.reader-sidebar-actions>button{width:100%;display:flex;align-items:center;gap:13px;padding:10px 8px;border-radius:8px;text-align:start;min-height:43px;font-size:14px}.reader-sidebar-actions>button:hover,.reader-sidebar-nav a:hover{color:var(--reader-accent);background:color-mix(in srgb,var(--reader-panel) 82%,transparent)}
.reader-sidebar-actions>button:disabled,.reader-mobile-menu button:disabled{opacity:.38;cursor:not-allowed}.reader-sidebar-actions>button:disabled:hover{color:inherit;background:transparent}
.reader-aa{font:600 20px/1 Georgia,serif;letter-spacing:-2px;min-width:23px;text-align:center}.reader-settings-chevron{margin-inline-start:auto;transition:transform .2s}.reader-sidebar.settings-open .reader-settings-chevron{transform:rotate(180deg)}
.reader-text-settings{margin:3px 8px 0;padding:15px 10px 12px;border-top:1px solid var(--reader-border);display:grid;gap:18px}.reader-text-settings[hidden]{display:none}
.reader-setting-row{display:grid;gap:9px}.reader-setting-row>span{font-size:11px;color:var(--reader-muted)}
.reader-font-controls{display:flex;gap:10px;align-items:center}.reader-font-controls button{display:grid;place-items:center;border:2px solid var(--reader-border);background:var(--reader-bg);color:var(--reader-fg);border-radius:6px;width:37px;height:34px;font-family:Georgia,serif;cursor:pointer}.reader-font-controls button:nth-child(1){font-size:12px}.reader-font-controls button:nth-child(2){font-size:15px}.reader-font-controls button:nth-child(3){font-size:18px}.reader-font-controls button.active{border-color:#2495df;box-shadow:0 0 0 1px #2495df inset}
.reader-theme-controls{display:flex;align-items:center;gap:14px}.reader-theme-dot{width:31px;height:31px;border-radius:50%;border:2px solid var(--reader-border);cursor:pointer;box-shadow:0 0 0 2px transparent}.reader-theme-dot.active{border-color:#2495df;box-shadow:0 0 0 1px #2495df}.reader-theme-dot-light{background:#fff}.reader-theme-dot-sepia{background:#fef3d7}.reader-theme-dot-dark{background:#062330}
.reader-reset-settings{border:0;background:transparent;color:var(--reader-accent);text-decoration:underline;font:inherit;font-size:11px;cursor:pointer;padding:0;width:max-content}
.reader-sidebar-nav{display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--reader-border);padding-top:14px}.reader-sidebar-nav a{display:flex;align-items:center;gap:13px;min-height:40px;padding:8px;border-radius:8px;color:inherit;text-decoration:none;font-size:13px}
.reader-sidebar-toggle{position:fixed;z-index:84;top:92px;inset-inline-start:calc(var(--reader-sidebar-width) - 12px);width:25px;height:25px;display:grid;place-items:center;padding:0;border:1px solid var(--reader-border);border-radius:50%;background:var(--reader-bg);color:var(--reader-muted);cursor:pointer;transition:inset-inline-start .35s ease,transform .35s ease,background .2s}.lang-fa .reader-sidebar-toggle .reader-icon{transform:scaleX(-1)}
.reader-shell.sidebar-collapsed .reader-sidebar{width:var(--reader-sidebar-collapsed)}.reader-shell.sidebar-collapsed .reader-sidebar-toggle{inset-inline-start:calc(var(--reader-sidebar-collapsed) - 12px)}.reader-shell.sidebar-collapsed .reader-sidebar-toggle .reader-icon{transform:rotate(180deg)}.lang-fa .reader-shell.sidebar-collapsed .reader-sidebar-toggle .reader-icon{transform:scaleX(-1) rotate(180deg)}
.reader-shell.sidebar-collapsed .reader-sidebar-inner{padding-inline:11px}.reader-shell.sidebar-collapsed .reader-sidebar-logo{justify-content:center}.reader-shell.sidebar-collapsed .reader-sidebar-logo img{width:38px;height:38px}.reader-shell.sidebar-collapsed .reader-sidebar-logo span,.reader-shell.sidebar-collapsed .reader-sidebar-progress,.reader-shell.sidebar-collapsed .reader-sidebar-actions button>span:not(.reader-aa),.reader-shell.sidebar-collapsed .reader-settings-chevron,.reader-shell.sidebar-collapsed .reader-text-settings,.reader-shell.sidebar-collapsed .reader-sidebar-nav a>span{display:none}.reader-shell.sidebar-collapsed .reader-sidebar-actions{margin-top:54px;align-items:center}.reader-shell.sidebar-collapsed .reader-sidebar-actions>button,.reader-shell.sidebar-collapsed .reader-sidebar-nav a{justify-content:center;padding-inline:4px}.reader-shell.sidebar-collapsed .reader-aa{font-size:18px;letter-spacing:-2px}
.reader-main{width:auto;min-width:0;min-height:100vh;margin-inline-start:var(--reader-sidebar-width);padding:0 34px 150px;transition:margin-inline-start .35s ease;background:var(--reader-bg)}.reader-shell.sidebar-collapsed .reader-main{margin-inline-start:var(--reader-sidebar-collapsed)}.reader-has-audio .reader-main{padding-bottom:220px}
.reader-article{width:min(100%,900px);margin:0 auto;font-size:18px;line-height:2;transition:font-size .15s}.reader-article.reader-font-small{font-size:15px}.reader-article.reader-font-medium{font-size:18px}.reader-article.reader-font-large{font-size:21px}
.reader-back-link{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding-top:38px;margin-bottom:78px;color:#2589cf;text-decoration:none;font-size:14px}.reader-back-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lang-fa .reader-back-link .reader-icon{transform:scaleX(-1)}
.reader-section{padding:0 0 50px;scroll-margin-top:28px}.reader-section+.reader-section{border-top:0;padding-top:48px}.reader-section-kicker{font-size:12px;color:var(--reader-muted);font-style:italic;margin-bottom:9px;letter-spacing:.02em}.lang-fa .reader-section-kicker{font-style:normal;letter-spacing:0}.reader-section h2{font-family:Vazirmatn,Arial,sans-serif;font-size:1.65em;line-height:1.35;margin:0 0 21px;font-weight:800;color:inherit}.lang-en .reader-section h2{font-family:Literata,Georgia,serif}.reader-paragraph{margin:0 0 24px;white-space:pre-line;user-select:text;-webkit-user-select:text;line-height:2.02}.lang-en .reader-paragraph{line-height:1.9}
.reader-highlight{background:var(--reader-mark);color:inherit;border-radius:2px;padding:0 1px;cursor:pointer}
.reader-primary-action{padding:20px 0 96px}.reader-primary-action>button{display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;min-width:220px;border:0;border-radius:6px;background:#09314b;color:#fff;font:inherit;font-weight:700;padding:11px 32px;cursor:pointer;transition:background .15s}.reader-primary-action>button:hover{background:#0b4a6e}.reader-primary-action>button:disabled{opacity:.8;cursor:default}.lang-fa .reader-primary-action>button .reader-icon{transform:scaleX(-1)}.reader-finish-action{padding-top:34px}.reader-finish-action>button{min-width:190px}
.reader-empty-intro{min-height:35vh;display:grid;place-items:center;text-align:center;color:var(--reader-muted)}
.reader-chapters{position:fixed;z-index:120;inset-block:0;inset-inline-start:0;width:min(383px,92vw);background:var(--reader-bg);color:var(--reader-fg);border-inline-end:1px solid var(--reader-border);box-shadow:0 14px 42px rgba(0,0,0,.14);transform:translateX(-105%);transition:transform .23s ease;overflow:auto;padding:0}.lang-fa .reader-chapters{transform:translateX(105%)}.reader-shell.chapters-open .reader-chapters{transform:translateX(0)}
.reader-chapters-head{padding:18px 20px 16px}.reader-chapters-head>button{display:grid;place-items:center;border:0;background:transparent;color:inherit;padding:5px;cursor:pointer;margin-bottom:25px}.lang-fa .reader-chapters-head>button .reader-icon{transform:scaleX(-1)}.reader-chapters-head>div{display:flex;align-items:center;gap:9px;font-size:13px}.reader-chapters nav{display:flex;flex-direction:column;padding:0 16px 28px}.reader-chapters nav button{position:relative;width:100%;display:grid;grid-template-columns:64px minmax(0,1fr) 24px;align-items:center;gap:13px;border:0;border-bottom:1px solid var(--reader-border);border-radius:0;background:transparent;color:inherit;text-align:start;padding:24px 5px;font:inherit;cursor:pointer}.reader-chapters nav button:hover,.reader-chapters nav button.active{color:var(--reader-accent)}.reader-chapter-number{font-size:16px;font-weight:800;color:var(--reader-muted)}.reader-chapters nav button strong{font-size:13px;line-height:1.6;font-weight:600}.lang-fa .reader-chapter-arrow{transform:scaleX(-1)}
.reader-overlay{display:none;position:fixed;inset:0;z-index:115;border:0;background:rgba(8,26,33,.38);backdrop-filter:blur(1px)}.reader-shell.chapters-open .reader-overlay{display:block}
.reader-selection-menu,.reader-highlight-menu{position:fixed;z-index:150;display:flex;gap:5px;padding:6px;background:#fff;color:#22343b;border:1px solid #e1e7e4;border-radius:9px;box-shadow:0 9px 28px rgba(0,0,0,.18)}.reader-selection-menu[hidden],.reader-highlight-menu[hidden]{display:none}.reader-selection-menu button,.reader-highlight-menu button{border:0;border-radius:6px;padding:7px 10px;background:#f1f5f3;color:inherit;font:inherit;font-size:12px;cursor:pointer}.reader-selection-menu button:first-child{background:#ffd96a}.reader-highlight-menu button:first-child{background:#ffe4e2;color:#a1443e}.reader-theme-dark .reader-selection-menu,.reader-theme-dark .reader-highlight-menu{background:#26343a;color:#eef3f1;border-color:#415158}.reader-theme-dark .reader-selection-menu button,.reader-theme-dark .reader-highlight-menu button{background:#35434a}.reader-theme-dark .reader-selection-menu button:first-child{background:#94721d}.reader-theme-dark .reader-highlight-menu button:first-child{background:#5f3230;color:#ffd8d5}
.reader-toast{position:fixed;z-index:160;inset-inline-end:20px;bottom:20px;background:#20363d;color:#fff;padding:10px 14px;border-radius:8px;font-size:12px;box-shadow:0 8px 26px rgba(0,0,0,.2)}.reader-has-audio .reader-toast{bottom:128px}.reader-toast[hidden]{display:none}
.reader-not-found{min-height:70vh;display:grid;place-items:center;align-content:center;text-align:center;gap:14px}.reader-not-found img{width:74px;height:74px;object-fit:contain}.reader-not-found h1{font-size:22px;margin:0}.reader-not-found a{color:#18835b;font-weight:800}

@media(max-width:840px){
  .reader-sidebar,.reader-sidebar-toggle{display:none}.reader-main,.reader-shell.sidebar-collapsed .reader-main{margin-inline-start:0;padding:0 20px 145px}.reader-has-audio .reader-main{padding-bottom:215px}
  .reader-mobile-bar{position:fixed;z-index:100;inset-block-start:0;inset-inline:0;height:58px;display:flex;align-items:center;padding:0 14px;background:color-mix(in srgb,var(--reader-bg) 96%,transparent);border-bottom:1px solid var(--reader-border);backdrop-filter:blur(10px)}.reader-mobile-menu-button{display:grid;place-items:center;border:0;background:transparent;color:var(--reader-fg);padding:5px;cursor:pointer}.reader-icon-close{display:none}.reader-shell.mobile-menu-open .reader-icon-menu{display:none}.reader-shell.mobile-menu-open .reader-icon-close{display:block}.reader-mobile-title{min-width:0;max-width:65vw;margin-inline-start:auto;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--reader-muted)}
  .reader-mobile-menu{display:block;position:fixed;z-index:99;inset-block:58px 0;inset-inline-start:0;width:min(82vw,310px);background:var(--reader-bg);color:var(--reader-fg);border-inline-end:1px solid var(--reader-border);box-shadow:0 14px 35px rgba(0,0,0,.16);transform:translateX(-105%);pointer-events:none;transition:transform .24s ease}.lang-fa .reader-mobile-menu{transform:translateX(105%)}.reader-shell.mobile-menu-open .reader-mobile-menu{transform:translateX(0);pointer-events:auto}.reader-mobile-menu-inner{height:100%;display:flex;flex-direction:column;padding:24px 22px 34px;overflow-y:auto;overflow-x:hidden}.reader-mobile-menu-inner>button:first-child{display:flex;align-items:center;gap:12px;padding:8px 0 22px;font-size:15px;border-bottom:1px solid var(--reader-border);text-align:start}.reader-mobile-settings-title{display:flex;align-items:center;gap:10px;margin-top:24px;font-size:14px}.reader-mobile-settings-grid{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 0}.reader-mobile-menu .reader-reset-settings{margin-bottom:24px}.reader-mobile-menu nav{margin-top:auto;border-top:1px solid var(--reader-border);padding-top:18px;display:grid;gap:10px}.reader-mobile-menu nav a{color:inherit;text-decoration:none;padding:9px 0;font-size:14px}.reader-mobile-overlay{display:block;position:fixed;z-index:98;inset:58px 0 0;border:0;padding:0;background:rgba(8,26,33,.34);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .2s ease;cursor:pointer}.reader-shell.mobile-menu-open .reader-mobile-overlay{opacity:1;pointer-events:auto}
  .reader-back-link{padding-top:87px;margin-bottom:60px}.reader-article{font-size:17px;max-width:760px}.reader-section{scroll-margin-top:78px;padding-bottom:44px}.reader-section+.reader-section{padding-top:38px}.reader-section h2{font-size:1.52em}.reader-paragraph{line-height:2}.reader-primary-action{padding-bottom:74px}.reader-primary-action>button{min-width:200px;padding-inline:28px}
  .reader-chapters{top:58px;height:calc(100vh - 58px);width:100%;max-width:none}.reader-chapters-head{padding-top:12px}.reader-overlay{top:58px}
}
@media(max-width:520px){.reader-main{padding-inline:17px}.reader-back-link{margin-bottom:48px}.reader-back-link span{max-width:72vw}.reader-article{font-size:16.5px}.reader-section h2{font-size:1.4em;line-height:1.45}.reader-paragraph{margin-bottom:21px}.reader-primary-action>button{width:100%;min-width:0}.reader-theme-controls{gap:10px}.reader-font-controls{gap:7px}}

/* v1.17 — Dazzle product repositioning + mobile-first foundation */
html,body{max-width:100%;overflow-x:clip}
:root{--dazzle-blue:#0b6fc2;--dazzle-deep:#10384a;--dazzle-green:#29d67c;--dazzle-yellow:#ffd15a;--dazzle-soft:#f3faf7;--dazzle-soft-blue:#edf6fc}
.dazzle-brand{display:inline-flex;align-items:center;gap:9px;color:var(--dazzle-deep);font-weight:900;letter-spacing:-.03em}.dazzle-brand img{width:38px;height:38px;object-fit:contain;flex:0 0 auto}.dazzle-brand>span{font:800 25px/1 Literata,Georgia,serif}.lang-fa .dazzle-brand>span{font-family:Literata,Georgia,serif}.brand.dazzle-brand{gap:8px}.site-header{box-shadow:none;border-bottom:1px solid rgba(16,56,74,.08)}.nav-shell{height:72px}.nav-login,.language-switch{min-height:44px}.language-switch{padding-inline:4px}

.learning-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfefd 60%,#f7fbfa 100%);border-bottom:1px solid #edf2ef}.learning-hero-glow{position:absolute;width:620px;height:620px;border-radius:50%;inset-inline-end:-190px;top:-250px;background:radial-gradient(circle,rgba(41,214,124,.18),rgba(11,111,194,.08) 42%,transparent 70%);pointer-events:none}.learning-hero-shell{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:72px 28px 76px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:72px;align-items:center}.learning-hero-copy{min-width:0}.learning-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#15865a;font-size:14px;font-weight:800}.learning-eyebrow span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e9f9f0;color:#16a965}.learning-hero h1{max-width:760px;margin:0;color:#173746;font-size:clamp(42px,5vw,69px);line-height:1.16;letter-spacing:-.045em}.lang-fa .learning-hero h1{font-size:clamp(38px,5vw,62px);letter-spacing:0;line-height:1.38}.learning-hero h1 em{font-style:normal;color:var(--dazzle-blue);background:linear-gradient(transparent 68%,rgba(255,209,90,.48) 0)}.learning-hero-lead{max-width:690px;margin:23px 0 0;color:#63757c;font-size:18px;line-height:1.95}.lang-fa .learning-hero-lead{line-height:2.05}.learning-hero-actions{display:flex;align-items:center;gap:14px;margin-top:30px}.learning-primary-cta,.learning-secondary-cta{min-height:49px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800}.learning-primary-cta{padding:0 25px;background:var(--dazzle-deep);color:#fff;box-shadow:0 10px 24px rgba(16,56,74,.13)}.learning-primary-cta:hover{background:#0b2e3d;transform:translateY(-1px)}.learning-secondary-cta{padding:0 14px;color:#27607a}.learning-secondary-cta:hover{background:#f0f6f8}.learning-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:38px}.learning-proof-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;padding:13px;border:1px solid #e5eeea;border-radius:14px;background:rgba(255,255,255,.78)}.learning-proof-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf7f1;color:#167452;font:800 12px/1 Literata,Georgia,serif}.learning-proof-item strong{display:block;color:#273f49;font-size:13px;margin:1px 0 3px}.learning-proof-item small{display:block;color:#78878b;font-size:10.5px;line-height:1.65}
.learning-hero-demo{position:relative;min-width:0;padding:36px 24px}.demo-device{position:relative;z-index:2;width:min(100%,420px);margin:0 auto;padding:14px;border-radius:34px;background:#15394a;box-shadow:0 30px 70px rgba(15,52,68,.22);transform:rotate(1.5deg)}.lang-fa .demo-device{transform:rotate(-1.5deg)}.demo-device-top{height:38px;padding:0 8px 9px;display:flex;justify-content:space-between;align-items:center;color:#dcebef;font:700 11px/1 Literata,Georgia,serif}.demo-device-top>span:first-child{width:8px;height:8px;border-radius:50%;background:#49d88a}.demo-reading-card{background:#fff;border-radius:23px;padding:28px 25px 26px;color:#263a43;min-height:365px}.demo-reading-card small{color:#1c9063;font-weight:800}.demo-reading-card h2{font-size:25px;line-height:1.3;margin:16px 0 24px;color:#143849}.demo-reading-card p{font:500 15px/1.95 Literata,Georgia,serif;margin:0 0 18px}.demo-reading-card mark{background:#ffe58e;color:inherit;padding:1px 2px}.demo-listen-card{margin-top:10px;background:#0e2e3d;border:1px solid rgba(255,255,255,.12);border-radius:17px;color:#fff;padding:12px;display:grid;grid-template-columns:42px minmax(0,1fr) 34px;gap:11px;align-items:center}.demo-listen-card button{width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#123b4e}.demo-listen-card div{min-width:0}.demo-listen-card strong{display:block;font-size:10px;margin-bottom:7px}.demo-listen-card span{display:block;height:4px;background:#315365;border-radius:999px;overflow:hidden}.demo-listen-card i{display:block;height:100%;background:#4cdb8c;border-radius:999px}.demo-listen-card small{font:700 10px/1 Literata,Georgia,serif;text-align:center}.demo-float{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;border:1px solid #e0ebe6;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(23,58,72,.11);border-radius:14px;padding:10px 13px;color:#35515c;font-size:11px;font-weight:700}.demo-float b{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:#e7f8ef;color:#137551}.demo-float-read{inset-inline-start:2px;top:90px}.demo-float-listen{inset-inline-end:-2px;bottom:98px}.demo-float-listen b{background:#e9f4fb;color:#136fa7}

.learning-catalog-heading{max-width:830px}.learning-catalog-heading>span{display:block;max-width:720px;margin:10px auto 0;color:#75837f;font-size:14px;line-height:1.8}.learning-book-card{display:block;transition:transform .16s ease}.learning-book-card:hover{transform:translateY(-3px)}.learning-book-card:focus-visible{outline:3px solid rgba(11,111,194,.25);outline-offset:5px;border-radius:12px}.learning-catalog-empty img{width:52px;height:52px}.catalog-section{background:linear-gradient(180deg,#f7fbfa,#fff)}

.learning-loop-section{background:#fff}.learning-loop-shell{padding-top:76px;padding-bottom:86px}.learning-loop-heading{max-width:780px;margin-bottom:30px}.learning-loop-heading>p,.learning-loop-eyebrow{margin:0 0 8px;color:#15865a;font-weight:800;font-size:13px}.learning-loop-heading h2{margin:0;color:#203b47;font-size:clamp(29px,4vw,45px);line-height:1.35}.learning-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.learning-step-card{position:relative;min-height:235px;border:1px solid #e4ece8;border-radius:20px;background:#fbfdfc;padding:25px;overflow:hidden}.learning-step-card>span{display:inline-block;color:#0d77b7;font:800 13px/1 Literata,Georgia,serif;letter-spacing:.05em}.learning-step-card h3{margin:46px 0 10px;color:#253d47;font-size:20px;line-height:1.5}.learning-step-card p{margin:0;color:#70817f;font-size:13px;line-height:1.9}.learning-step-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;inset-inline-end:-45px;top:-45px;background:rgba(41,214,124,.08)}.learning-mobile-callout{margin-top:72px;border:1px solid #dfeae5;border-radius:28px;background:linear-gradient(135deg,#eefaf4,#eef6fb);padding:40px 46px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:52px;align-items:center}.learning-phone-mark{width:190px;height:330px;margin:auto;border:8px solid #15394a;border-radius:34px;background:#fff;box-shadow:0 20px 45px rgba(18,57,72,.13);padding:16px;display:flex;flex-direction:column;align-items:center}.learning-phone-speaker{width:54px;height:5px;background:#d7e0dd;border-radius:999px}.learning-phone-mark>div{margin-top:82px;display:grid;place-items:center;gap:8px}.learning-phone-mark img{width:56px;height:56px}.learning-phone-mark strong{font:800 22px/1 Literata,Georgia,serif;color:#173c4d}.learning-phone-mark p{margin:auto 0 14px;color:#7b8c91;font:700 10px/1.5 Literata,Georgia,serif;text-align:center}.learning-mobile-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff;color:#176d4f;font:800 10px/1 Literata,Georgia,serif;border:1px solid #dceae4;margin-bottom:18px}.learning-mobile-callout h2{font-size:clamp(27px,3vw,39px);line-height:1.4;color:#213b47;margin:0 0 12px}.learning-mobile-callout>div:last-child>p:last-child{max-width:720px;color:#6b7e7e;line-height:1.95;margin:0}

.footer-brand .dazzle-brand-footer{margin-bottom:14px}.footer-brand .dazzle-brand-footer>span{font-size:25px}.footer-bottom{justify-content:flex-start}.footer-bottom p{margin:0}.site-footer{background:#f6faf8}.footer-column a{min-height:34px;display:flex;align-items:center}

.app-sidebar-brand.dazzle-brand>span{font-size:21px}.app-sidebar-brand.dazzle-brand img{width:34px;height:34px}.app-mobile-brand.dazzle-brand{width:auto;gap:6px}.app-mobile-brand.dazzle-brand img{width:34px;height:34px}.app-mobile-brand.dazzle-brand>span{font-size:18px}.auth-brand.dazzle-brand{justify-content:center}.auth-brand.dazzle-brand>span{font-size:26px}.reader-sidebar-logo img{border-radius:10px}.reader-sidebar-logo span{font-family:Literata,Georgia,serif;font-weight:800;letter-spacing:-.02em}

.app-required-page{min-height:100vh;padding:28px 18px;display:grid;place-items:center;background:radial-gradient(circle at 20% 15%,#eafaf2,transparent 28%),radial-gradient(circle at 85% 80%,#edf6fc,transparent 30%),#f9fbfa}.app-required-card{width:min(100%,610px);padding:36px;border:1px solid #e0eae5;border-radius:24px;background:#fff;box-shadow:0 18px 52px rgba(20,58,73,.08)}.app-required-kicker{display:block;margin-top:30px;color:#19805a;font-size:12px;font-weight:800}.app-required-card h1{font-size:clamp(27px,5vw,42px);line-height:1.4;margin:9px 0 13px;color:#203d49}.app-required-card p{color:#6b7b7c;line-height:2;margin:0}.app-required-back{display:inline-flex;margin-top:24px;min-height:44px;align-items:center;padding:0 16px;border-radius:10px;background:#173d4d;color:#fff;font-size:13px;font-weight:800}

@media(max-width:980px){.learning-hero-shell{grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:36px;padding-top:58px}.learning-proof-grid{grid-template-columns:1fr}.learning-proof-item{grid-template-columns:34px minmax(0,1fr)}.learning-step-card h3{margin-top:32px}.learning-mobile-callout{grid-template-columns:190px minmax(0,1fr);gap:34px;padding-inline:32px}.learning-phone-mark{width:165px;height:292px}}
@media(max-width:760px){
  .site-header{position:sticky}.nav-shell{height:64px;padding:0 15px}.brand.dazzle-brand img{width:34px;height:34px}.brand.dazzle-brand>span{font-size:21px}.nav-actions{gap:8px}.nav-login,.language-switch{font-size:12px}.nav-login svg{display:none}.language-switch{min-width:40px;justify-content:center}.language-switch svg{display:none}.nav-user{display:none}
  .learning-hero-shell{display:flex;flex-direction:column;padding:42px 17px 54px;gap:32px}.learning-hero-copy{width:100%}.learning-eyebrow{font-size:12px}.learning-hero h1,.lang-fa .learning-hero h1{font-size:clamp(34px,10vw,48px);line-height:1.4}.lang-en .learning-hero h1{line-height:1.2}.learning-hero-lead{font-size:15px;line-height:1.95;margin-top:17px}.learning-hero-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:24px}.learning-primary-cta,.learning-secondary-cta{width:100%;min-height:50px}.learning-proof-grid{margin-top:25px}.learning-proof-item{padding:11px;background:#fff}.learning-hero-demo{width:100%;padding:8px 8px 18px}.demo-device{width:min(100%,390px);transform:none!important;border-radius:28px;padding:10px}.demo-reading-card{min-height:310px;padding:22px 19px;border-radius:20px}.demo-reading-card h2{font-size:21px;margin:12px 0 18px}.demo-reading-card p{font-size:13px;line-height:1.85}.demo-float{display:none}.demo-listen-card{grid-template-columns:38px minmax(0,1fr) 30px}.demo-listen-card button{width:38px;height:38px}
  .section-shell{padding-inline:17px}.learning-catalog-heading{text-align:start}.learning-catalog-heading>span{margin-inline:0}.learning-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.book-cover-wrap{border-radius:11px}.book-meta h3{font-size:14px}
  .learning-loop-shell{padding-top:54px;padding-bottom:58px}.learning-step-grid{grid-template-columns:1fr}.learning-step-card{min-height:0;padding:21px}.learning-step-card h3{margin:28px 0 8px;font-size:18px}.learning-mobile-callout{margin-top:42px;grid-template-columns:1fr;padding:28px 21px;gap:25px}.learning-phone-mark{width:150px;height:264px;border-width:6px;border-radius:29px}.learning-phone-mark>div{margin-top:61px}.learning-phone-mark img{width:48px;height:48px}.learning-mobile-callout h2{font-size:28px}.learning-mobile-callout>div:last-child>p:last-child{font-size:13px}
  .footer-shell{grid-template-columns:1fr}.site-footer{padding-inline:17px}.footer-column a{min-height:40px}
  .app-mobile-header{gap:8px}.app-mobile-brand.dazzle-brand>span{display:none}.app-mobile-brand.dazzle-brand{width:36px;flex:0 0 36px}.app-search-mobile{min-width:0}.app-sidebar{padding-bottom:max(16px,env(safe-area-inset-bottom))}.app-content{padding-bottom:max(48px,calc(env(safe-area-inset-bottom) + 28px))}.app-nav-item,.app-logout{min-height:48px}.app-sidebar-close{width:44px;height:44px}.app-menu-button{min-width:44px;min-height:44px}
  .book-detail-actions .book-read-action,.book-detail-actions .book-listen-action,.book-detail-actions button{min-height:48px}
}
@media(max-width:420px){.learning-hero-shell{padding-top:34px}.learning-hero h1,.lang-fa .learning-hero h1{font-size:33px}.learning-proof-item small{font-size:10px}.learning-book-grid{gap:16px 12px}.learning-mobile-callout{border-radius:20px}.app-required-card{padding:26px 21px}.nav-login span{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.learning-primary-cta,.learning-book-card{transition:none!important}}
.about-dazzle-art:before{background:linear-gradient(135deg,rgba(41,214,124,.18),rgba(11,111,194,.14))}.about-dazzle-mark{position:relative;z-index:2;display:grid;place-items:center;gap:8px;padding:28px 34px;border:1px solid #e1ebe7;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 14px 36px rgba(20,61,76,.09)}.about-dazzle-mark img{width:72px!important;height:72px!important}.about-dazzle-mark strong{font:800 29px/1 Literata,Georgia,serif;color:#173d4d}.about-dazzle-mark span{font:700 10px/1.3 Literata,Georgia,serif;color:#759097}.about-card-number{letter-spacing:-.08em}


/* v1.17.1 landing polish: phone proportions + in-place topic catalog */
.learning-hero-demo{display:grid;place-items:center;justify-self:center;width:min(100%,390px);padding:24px 34px}
.demo-device{width:min(100%,316px);padding:12px;border-radius:38px;transform:rotate(1.25deg)}
.lang-fa .demo-device{transform:rotate(-1.25deg)}
.demo-reading-card{min-height:408px;padding:30px 23px 25px;border-radius:27px}
.demo-reading-card h2{font-size:23px;margin:18px 0 28px}
.demo-reading-card p{font-size:14px;line-height:2.05;margin-bottom:21px}
.demo-float-read{inset-inline-start:0;top:100px}.demo-float-listen{inset-inline-end:0;bottom:105px}
.catalog-results{min-height:250px;transition:opacity .16s ease}
.catalog-loading .catalog-results{opacity:.45;pointer-events:none}
.category-strip .category-chip{cursor:pointer;white-space:nowrap}
.category-strip{scrollbar-width:none;overscroll-behavior-inline:contain}
.category-strip::-webkit-scrollbar{display:none}
.learning-catalog-empty{margin-top:26px}
@media(max-width:980px){.learning-hero-demo{width:min(100%,350px);padding-inline:24px}.demo-device{width:min(100%,292px)}.demo-reading-card{min-height:380px}}
@media(max-width:760px){.learning-hero-demo{width:100%;padding:4px 18px 18px}.demo-device{width:min(78vw,286px);border-radius:34px}.demo-reading-card{min-height:360px;padding:25px 20px 23px}.demo-reading-card h2{font-size:20px}.demo-reading-card p{font-size:12.5px;line-height:1.95}.catalog-results{min-height:220px}}

/* v1.17.2 public, indexable book detail */
.public-book-main{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:52px 0 76px}.public-book-main .book-detail-page{padding-top:0}.public-book-main .discovery-section{margin-top:54px}
@media(max-width:760px){.public-book-main{width:min(100% - 28px,680px);padding:28px 0 54px}.public-book-main .discovery-section{margin-top:38px}}

/* v1.17.3 — content-language separation + usable topic rail */
.category-strip-shell{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;align-items:center}
.category-strip{min-width:0;scroll-snap-type:x proximity;scroll-behavior:smooth}
.category-strip .category-chip{scroll-snap-align:center}
.category-strip-control{width:40px;height:40px;border:1px solid #dbe7e2;border-radius:50%;background:#fff;color:#24414c;display:grid;place-items:center;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(19,58,49,.06);transition:border-color .16s,transform .16s,background .16s}
.category-strip-control:hover{border-color:#8bd3ae;background:#f5fcf8;transform:translateY(-1px)}
.category-strip-control span{display:block;transform:translateY(-1px)}
.lang-fa .category-strip-control{direction:ltr}
.book-content-language{margin:24px 0 18px;padding:13px 14px;border:1px solid #dfeae5;border-radius:13px;background:#f8fbfa;display:flex;align-items:center;justify-content:space-between;gap:18px}
.book-content-language-copy{display:grid;gap:3px}.book-content-language-copy strong{font-size:12.5px;color:#263e46}.book-content-language-copy small{font-size:10.5px;line-height:1.6;color:#788984}
.book-content-language-options,.reader-content-language-options{display:flex;gap:5px;padding:4px;border-radius:10px;background:#eaf2ef}
.book-content-language-options a,.reader-content-language-options a{min-height:35px;min-width:72px;padding:7px 11px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#5d7169;direction:ltr}
.book-content-language-options a.active,.reader-content-language-options a.active{background:#fff;color:#126f4c;box-shadow:0 2px 8px rgba(24,74,58,.08)}
.reader-content-language{display:grid;gap:8px;padding:12px 0 17px;border-bottom:1px solid var(--reader-border)}
.reader-content-language>span,.reader-mobile-language>span{font-size:11px;color:var(--reader-muted);font-weight:700}
.reader-content-language-options{width:100%}.reader-content-language-options a{flex:1;color:var(--reader-muted)}
.reader-mobile-language{display:grid;gap:9px;padding:4px 0 15px}
.reader-article[dir="ltr"]{text-align:left;font-family:Literata,Georgia,serif}
.reader-article[dir="rtl"]{text-align:right;font-family:Vazirmatn,Tahoma,sans-serif}
.reader-article[dir="ltr"] .reader-section h2{font-family:Literata,Georgia,serif}
.reader-article[dir="rtl"] .reader-section h2{font-family:Vazirmatn,Tahoma,sans-serif}
@media(max-width:760px){.category-strip-shell{grid-template-columns:minmax(0,1fr)}.category-strip-control{display:none}.category-strip{padding-inline:4px}.book-content-language{align-items:flex-start;flex-direction:column}.book-content-language-options{width:100%}.book-content-language-options a{flex:1;min-height:42px}}

/* v1.17.4 — UI locale and saved/highlight content language are independent */
.content-language-filter{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px;padding:12px 14px;border:1px solid #e1eae6;border-radius:13px;background:#fafcfb}
.content-language-filter-copy{display:grid;gap:2px;min-width:0}.content-language-filter-copy strong{font-size:12.5px;color:#2c423b}.content-language-filter-copy small{font-size:10.5px;line-height:1.55;color:#82908c}
.content-language-filter-options{display:flex;gap:5px;padding:4px;border-radius:10px;background:#edf3f0;flex:0 0 auto}.content-language-filter-options a{min-height:34px;padding:7px 12px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#64766f;font-size:10.5px;font-weight:800;white-space:nowrap}.content-language-filter-options a.active{background:#fff;color:#13734f;box-shadow:0 2px 8px rgba(24,74,58,.08)}
.taxonomy-book-cover-wrap{position:relative;width:92px;height:128px;flex:0 0 92px;border-radius:8px;overflow:hidden;background:#edf2f0}.taxonomy-book-cover-wrap>img{width:100%;height:100%;object-fit:cover;display:block}
.content-language-badge{position:absolute;inset-inline-start:7px;top:7px;min-width:28px;height:23px;padding:0 7px;border-radius:7px;background:rgba(255,255,255,.94);color:#176e50;display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;font-weight:900;letter-spacing:.04em;direction:ltr;box-shadow:0 3px 9px rgba(15,54,41,.12);backdrop-filter:blur(5px)}
.highlight-language-badge{z-index:2}.highlight-book-count-badge{width:auto;min-width:31px;padding:0 7px;gap:4px;display:flex}.highlight-book-count-badge b{font-size:9px;line-height:1;direction:ltr}
.highlight-summary-cover{position:relative}.highlight-detail-language-badge{z-index:2}
.highlight-language-switch{display:flex;gap:5px;margin-top:14px;padding:4px;border-radius:9px;background:#edf3f0}.highlight-language-switch a{flex:1;min-height:32px;border-radius:6px;display:grid;place-items:center;font-size:10px;font-weight:900;color:#697a74;direction:ltr}.highlight-language-switch a.active{background:#fff;color:#126f4c;box-shadow:0 2px 7px rgba(24,74,58,.08)}
.highlight-detail-content[dir="ltr"] .highlight-note blockquote,.highlight-detail-content[dir="ltr"] .highlight-note-section{text-align:left}.highlight-detail-content[dir="rtl"] .highlight-note blockquote,.highlight-detail-content[dir="rtl"] .highlight-note-section{text-align:right}
@media(max-width:720px){.content-language-filter{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:20px;padding:11px 12px}.content-language-filter-options{width:100%}.content-language-filter-options a{flex:1;min-height:40px;padding-inline:7px}.content-language-filter-copy small{font-size:10px}.taxonomy-book-cover-wrap{width:82px;height:116px;flex-basis:82px}}
@media(max-width:420px){.content-language-filter-options a{font-size:9.5px}.content-language-filter-copy small{display:none}}


/* v1.18 — mobile-first WebView hardening: dynamic viewport + safe areas. */
:root{--app-mobile-header-height:68px;--reader-mobile-bar-height:58px}
.app-shell,.app-main-wrap,.reader-shell,.auth-page,.app-required-page{min-height:100vh;min-height:100dvh}
@media(max-width:720px){
  .app-mobile-header{height:auto;min-height:calc(var(--app-mobile-header-height) + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-inline:max(13px,env(safe-area-inset-left)) max(13px,env(safe-area-inset-right))}
  .app-sidebar{min-height:100vh;min-height:100dvh;padding-top:max(16px,env(safe-area-inset-top));padding-inline-start:max(10px,env(safe-area-inset-left));padding-inline-end:max(10px,env(safe-area-inset-right))}
  .app-menu-overlay{min-height:100vh;min-height:100dvh}
}
@media(max-width:840px){
  .reader-mobile-bar{height:calc(var(--reader-mobile-bar-height) + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-inline-start:max(14px,env(safe-area-inset-left));padding-inline-end:max(14px,env(safe-area-inset-right))}
  .reader-mobile-menu{inset-block-start:calc(var(--reader-mobile-bar-height) + env(safe-area-inset-top));min-height:calc(100vh - var(--reader-mobile-bar-height) - env(safe-area-inset-top));min-height:calc(100dvh - var(--reader-mobile-bar-height) - env(safe-area-inset-top))}
  .reader-mobile-menu-inner{padding-bottom:calc(34px + env(safe-area-inset-bottom));padding-inline-start:max(22px,env(safe-area-inset-left));padding-inline-end:max(22px,env(safe-area-inset-right))}
  .reader-mobile-overlay{inset-block-start:calc(var(--reader-mobile-bar-height) + env(safe-area-inset-top))}
  .reader-back-link{padding-top:calc(87px + env(safe-area-inset-top))}
  .reader-chapters{top:calc(var(--reader-mobile-bar-height) + env(safe-area-inset-top));height:calc(100vh - var(--reader-mobile-bar-height) - env(safe-area-inset-top));height:calc(100dvh - var(--reader-mobile-bar-height) - env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom)}
  .reader-overlay{top:calc(var(--reader-mobile-bar-height) + env(safe-area-inset-top))}
}
@media(max-width:760px){
  .reader-has-audio .reader-main{padding-bottom:calc(205px + env(safe-area-inset-bottom))}
  .reader-audio-player{padding-bottom:max(12px,calc(12px + env(safe-area-inset-bottom)));padding-inline-start:max(12px,env(safe-area-inset-left));padding-inline-end:max(12px,env(safe-area-inset-right))}
  .reader-has-audio .reader-toast{bottom:calc(128px + env(safe-area-inset-bottom))}
}
@media(max-width:520px){
  .reader-main{padding-inline-start:max(17px,env(safe-area-inset-left));padding-inline-end:max(17px,env(safe-area-inset-right))}
}

/* v1.18 — mobile interaction hardening for primary WebView controls. */
@media(max-width:840px){
  .reader-mobile-menu-button,.reader-chapters-head>button{min-width:44px;min-height:44px}
  .reader-mobile-menu .reader-font-controls button{width:44px;height:44px}
  .reader-mobile-menu .reader-theme-dot{width:44px;height:44px}
  .reader-mobile-menu .reader-reset-settings,.reader-mobile-menu nav a{min-height:44px;display:flex;align-items:center}
  .reader-mobile-language .reader-content-language-options a{min-height:44px}
  .reader-selection-menu button,.reader-highlight-menu button{min-height:44px;padding-inline:12px}
}
@media(max-width:760px){
  .app-search-mobile input{min-height:44px}
  .book-content-language-options a,.content-language-filter-options a{min-height:44px}
  .reader-audio-player button{min-width:44px;min-height:44px}
  .reader-audio-options select{min-height:44px}
  .reader-audio-progress-row input[type=range]{height:28px;touch-action:pan-x}
}

/* v1.18.1 — persistent mobile primary navigation and P1 mobile UX polish. */
:root{--app-bottom-nav-height:64px}
.app-bottom-nav{display:none}
@media(max-width:720px){
  .app-bottom-nav{position:fixed;z-index:65;inset-inline:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:calc(var(--app-bottom-nav-height) + env(safe-area-inset-bottom));padding:6px max(6px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px,env(safe-area-inset-left));border-top:1px solid #dfe8e4;background:rgba(255,255,255,.97);box-shadow:0 -8px 28px rgba(18,54,66,.08);backdrop-filter:blur(14px)}
  .app-bottom-nav-item{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 2px;border-radius:10px;color:#70807b;font-size:10px;font-weight:700;line-height:1.2;text-align:center;transition:color .15s,background .15s}
  .app-bottom-nav-item svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .app-bottom-nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .app-bottom-nav-item.active{color:#126fc1;background:#f0f7fc}
  .app-content{padding-bottom:calc(var(--app-bottom-nav-height) + env(safe-area-inset-bottom) + 34px)}
  .app-footer{margin-bottom:calc(var(--app-bottom-nav-height) + env(safe-area-inset-bottom));padding-bottom:18px}
  .daily-free-meta{order:-1}
}
@media(max-width:600px){
  .book-detail-actions{display:grid;grid-template-columns:1fr;align-items:stretch}
  .book-detail-actions .book-read-action,.book-detail-actions .book-listen-action,.book-detail-actions button{width:100%;min-width:0;display:flex;align-items:center;justify-content:center;padding-inline:16px}
  .book-detail-actions>span{line-height:1.65;padding-inline:2px}
}
@media(max-width:840px){
  .reader-mobile-bar{gap:8px}
  .reader-mobile-title{flex:1;max-width:none;margin-inline-start:0}
  .reader-mobile-chapters-button{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:9px;background:transparent;color:var(--reader-fg);padding:5px;cursor:pointer}
  .reader-mobile-chapters-button:disabled{opacity:.35;cursor:not-allowed}
  .reader-mobile-chapters-button:not(:disabled):active{background:var(--reader-panel)}
}
@media(prefers-reduced-motion:reduce){.app-bottom-nav-item{transition:none}}

/* v1.19 — versioned Terms of Use. */
.terms-head{position:relative}.terms-head-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.terms-head-row .eyebrow{margin:0}.terms-version-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #dbe8e2;border-radius:999px;background:#f7fbf9;color:#6f7e78;font-size:10.5px;font-weight:700;white-space:nowrap}.terms-version-pill b{color:#187554;font-size:11px}.terms-published-meta{display:flex;align-items:center;gap:7px;margin-top:14px;color:#7a8883;font-size:11px}.terms-published-meta svg{width:15px;height:15px;fill:none;stroke:#37856a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.terms-published-meta time{font-weight:700;color:#52655e}.terms-document{border-top:1px solid #e1e8e5}.terms-document h2{position:relative;margin:0;padding:25px 0 7px;font-size:16px;line-height:1.6;color:#2b4147}.terms-document h2:not(:first-child){border-top:1px solid #e6ece9;margin-top:13px}.terms-document h3{margin:22px 0 6px;font-size:14px;color:#304940}.terms-document p,.terms-document li{font-size:12.5px;line-height:2;color:#6c7b76}.terms-document p{margin:0 0 10px}.terms-document ul,.terms-document ol{margin:8px 0 16px;padding-inline-start:24px}.terms-document li+li{margin-top:5px}.terms-document blockquote{margin:16px 0;padding:12px 15px;border-inline-start:3px solid #86c7aa;background:#f5faf7;border-radius:8px;color:#60736b}.terms-document a{color:#177653;font-weight:700;text-decoration:underline;text-underline-offset:3px}.terms-document hr{border:0;border-top:1px solid #e3ebe7;margin:22px 0}.terms-document table{width:100%;border-collapse:collapse;margin:16px 0;font-size:12px}.terms-document th,.terms-document td{border:1px solid #dfe8e4;padding:9px 10px;text-align:start}.terms-document th{background:#f4f8f6;color:#365147}.terms-document code{direction:ltr;display:inline-block;background:#eef4f1;border-radius:5px;padding:1px 5px;font-size:11px}.terms-document pre{direction:ltr;text-align:left;overflow:auto;padding:13px;border-radius:9px;background:#263238;color:#edf5f2;font-size:11px;line-height:1.7}
@media(max-width:700px){.terms-head-row{align-items:flex-start;flex-direction:column}.terms-version-pill{align-self:flex-start}.terms-document h2{padding-top:22px}.terms-document p,.terms-document li{font-size:12px}.terms-document table{display:block;overflow-x:auto}}

/* v1.19 — post-OTP terms consent. */
.terms-consent-page{padding-block:26px}.terms-consent-card{width:min(100%,680px);text-align:start;padding:30px}.terms-consent-card .auth-brand{display:flex;width:max-content;margin-inline:auto}.terms-consent-heading{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:start}.terms-consent-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#edf8f2;color:#187554}.terms-consent-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.terms-consent-kicker{display:block;color:#18825b;font-size:11px;font-weight:900;margin-bottom:3px}.terms-consent-heading h1{font-size:23px;text-align:start}.terms-consent-heading p{margin:6px 0 0;color:#6e7d78;font-size:12.5px;line-height:1.85}.terms-consent-version{margin-top:18px;padding:12px 14px;border:1px solid #e0e9e5;border-radius:12px;background:#f8fbfa;display:flex;align-items:center;justify-content:space-between;gap:14px}.terms-consent-version div{min-width:0}.terms-consent-version small{display:block;color:#84918c;font-size:9.5px;font-weight:800;margin-bottom:3px}.terms-consent-version strong{display:block;color:#2a4147;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.terms-consent-version>span{flex:0 0 auto;padding:5px 8px;border-radius:7px;background:#eaf5ef;color:#187554;font-size:10.5px;font-weight:900}.terms-consent-preview{max-height:270px;overflow:auto;margin-top:12px;padding:14px 16px;border:1px solid #e0e8e5;border-radius:12px;background:#fff;outline:none;scrollbar-width:thin}.terms-consent-preview:focus{border-color:#83c7a8;box-shadow:0 0 0 3px rgba(46,224,129,.10)}.terms-consent-preview h2{font-size:13px;color:#30484f;margin:15px 0 5px}.terms-consent-preview h2:first-child{margin-top:0}.terms-consent-preview h3{font-size:12px;color:#30484f;margin:13px 0 4px}.terms-consent-preview p,.terms-consent-preview li{font-size:10.8px;line-height:1.95;color:#71807b}.terms-consent-preview p{margin:0 0 7px}.terms-consent-preview ul,.terms-consent-preview ol{padding-inline-start:20px;margin:6px 0 10px}.terms-consent-preview a{color:#177653;text-decoration:underline}.terms-consent-form{display:grid;gap:13px;margin-top:15px}.terms-consent-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start;padding:12px 13px;border-radius:11px;background:#f5faf7;border:1px solid #dce9e3;color:#586a63;font-size:11.5px;line-height:1.9;cursor:pointer}.terms-consent-check input{width:17px;height:17px;margin-top:3px;accent-color:#22b96d}.terms-consent-check a{color:#177653;font-weight:900;text-decoration:underline;text-underline-offset:3px}.terms-consent-note{text-align:center;color:#8a9691;font-size:10px;line-height:1.8;margin:11px 0 0}.terms-consent-card .auth-submit{width:100%;margin-top:0}
@media(max-width:520px){.terms-consent-page{padding:0;background:#fff}.terms-consent-card{min-height:100dvh;width:100%;border:0;border-radius:0;box-shadow:none;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}.terms-consent-heading{grid-template-columns:38px minmax(0,1fr)}.terms-consent-icon{width:38px;height:38px;border-radius:11px}.terms-consent-heading h1{font-size:20px}.terms-consent-preview{max-height:34dvh}}

/* Contact / public support */
.contact-page{padding-top:48px}.contact-shell{width:min(100%,1120px);margin:0 auto}.contact-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:34px;align-items:center;padding:38px 42px;border:1px solid #dfeae6;border-radius:24px;background:linear-gradient(135deg,#f3fbf6 0%,#f7fbfd 58%,#eef7fb 100%);box-shadow:0 12px 38px rgba(22,63,52,.045)}.contact-hero:after{content:"";position:absolute;width:310px;height:310px;border-radius:50%;inset-inline-end:-130px;top:-165px;background:radial-gradient(circle,rgba(41,214,124,.2),rgba(11,111,194,.08) 52%,transparent 72%);pointer-events:none}.contact-hero-copy{position:relative;z-index:1}.contact-hero h1{max-width:720px;margin:6px 0 10px;color:#173746;font-size:clamp(34px,4.2vw,52px);line-height:1.35;letter-spacing:-.035em}.lang-fa .contact-hero h1{letter-spacing:0;line-height:1.5}.contact-hero-copy>p{max-width:720px;margin:0;color:#65777b;font-size:14px;line-height:2}.contact-trust-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.contact-trust-chip{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:6px 10px;border:1px solid rgba(30,126,88,.12);border-radius:999px;background:rgba(255,255,255,.78);color:#3e6457;font-size:10.5px;font-weight:800}.contact-trust-chip svg{width:15px;height:15px;fill:none;stroke:#1c8b61;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contact-hero-mark{position:relative;z-index:1;justify-self:center;display:grid;place-items:center;gap:12px;width:min(100%,260px);min-height:195px;padding:24px;border:1px solid rgba(213,229,223,.9);border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 18px 42px rgba(24,68,57,.07);backdrop-filter:blur(4px)}.contact-hero-icon{width:76px;height:76px;border-radius:21px;display:grid;place-items:center;background:linear-gradient(145deg,#e4f7ed,#edf6fb);color:#187654;box-shadow:inset 0 0 0 1px rgba(34,128,92,.09)}.contact-hero-icon svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contact-hero-mark>span{font:800 13px/1.2 Literata,Georgia,serif;color:#35545d;direction:ltr}.contact-layout{display:grid;grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr);gap:18px;margin-top:18px}.contact-aside,.contact-form-card{border:1px solid #e1e9e6;border-radius:20px;background:#fff;box-shadow:0 9px 28px rgba(16,56,46,.035)}.contact-aside{padding:27px}.contact-aside-head h2,.contact-form-head h2{margin:5px 0 7px;color:#263e47;font-size:20px;line-height:1.55}.contact-aside-head p,.contact-form-head p{margin:0;color:#75827e;font-size:11.5px;line-height:1.9}.contact-guide-list{display:grid;gap:4px;margin-top:22px}.contact-guide-item{display:grid;grid-template-columns:35px minmax(0,1fr);gap:11px;padding:15px 0;border-top:1px solid #edf1ef}.contact-guide-number{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#edf7f2;color:#1a7755;font:800 9px/1 Literata,Georgia,serif}.contact-guide-item strong{display:block;color:#334b52;font-size:12px}.contact-guide-item p{margin:4px 0 0;color:#7a8883;font-size:10.5px;line-height:1.8}.contact-alt-channel{margin-top:18px;padding:16px;border:1px solid #dfeae5;border-radius:13px;background:#f5faf7}.contact-alt-channel span{display:block;color:#7b8884;font-size:10px;font-weight:700}.contact-alt-channel a{display:inline-block;margin-top:5px;color:#157551;font-size:12px;font-weight:900;direction:ltr}.contact-form-card{padding:28px}.contact-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #edf1ef}.contact-form-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border-radius:9px;background:#edf7f2;color:#176f51;font-size:9.5px;font-weight:900}.contact-form{display:grid;gap:18px;margin-top:22px}.contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.contact-field{display:grid;gap:7px}.contact-field label{color:#354d53;font-size:11px;font-weight:900}.contact-field input,.contact-field textarea{width:100%;border:1px solid #dce6e2;border-radius:11px;background:#fbfdfc;color:#2b4148;font:inherit;font-size:12px;outline:0;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.contact-field input{min-height:45px;padding:10px 12px}.contact-field textarea{min-height:170px;padding:13px;line-height:1.9;resize:vertical}.contact-field input:focus,.contact-field textarea:focus{border-color:#68b894;background:#fff;box-shadow:0 0 0 3px rgba(41,181,112,.1)}.contact-field input::placeholder,.contact-field textarea::placeholder{color:#a6b1ad}.contact-field small,.contact-label-row span{color:#98a39f;font-size:9.5px;line-height:1.6}.contact-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.contact-security{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:15px 16px;border:1px solid #e1e9e6;border-radius:13px;background:#f8fbfa}.contact-security-copy strong{display:block;color:#40565c;font-size:10.5px}.contact-security-copy span{display:block;margin-top:3px;color:#85918d;font-size:9.5px;line-height:1.7}.contact-security altcha-widget{display:block;max-width:100%}.contact-submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:3px}.contact-submit-row p{max-width:470px;margin:0;color:#929d99;font-size:9.5px;line-height:1.8}.contact-submit-row p a{color:#24775b;font-weight:800}.contact-submit{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:11px;padding:10px 18px;background:#153d4c;color:#fff;font:inherit;font-size:11.5px;font-weight:900;cursor:pointer;box-shadow:0 9px 22px rgba(15,55,72,.13);transition:background .16s ease,transform .16s ease}.contact-submit:hover{background:#0d3342;transform:translateY(-1px)}.contact-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.lang-fa .contact-submit svg{transform:scaleX(-1)}.contact-alert{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start;margin-top:19px;padding:13px 14px;border-radius:12px}.contact-alert-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.contact-alert-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contact-alert strong{display:block;font-size:11.5px}.contact-alert p{margin:3px 0 0;font-size:10.5px;line-height:1.8}.contact-alert-success{border:1px solid #cde9da;background:#f0faf5;color:#2d6c51}.contact-alert-success .contact-alert-icon{background:#dff3e8;color:#168052}.contact-alert-error{border:1px solid #f0d6d3;background:#fff7f6;color:#8b4943}.contact-alert-error .contact-alert-icon{background:#f9e7e4;color:#b54d43}
@media(max-width:860px){.contact-page{padding-top:34px}.contact-hero{grid-template-columns:1fr;padding:31px}.contact-hero-mark{display:none}.contact-layout{grid-template-columns:1fr}.contact-aside{order:2}.contact-form-card{order:1}}
@media(max-width:640px){.contact-page{padding:24px 15px 54px}.contact-hero{padding:24px 19px;border-radius:18px}.contact-hero h1{font-size:31px}.contact-trust-row{display:grid;grid-template-columns:1fr}.contact-trust-chip{border-radius:10px;justify-content:flex-start}.contact-form-card,.contact-aside{padding:20px;border-radius:17px}.contact-form-head{display:grid;gap:10px}.contact-form-badge{width:max-content}.contact-form-grid{grid-template-columns:1fr}.contact-security{grid-template-columns:1fr}.contact-submit-row{display:grid;gap:12px}.contact-submit{width:100%}.contact-submit-row p{order:2;text-align:center}.contact-field textarea{min-height:150px}}
