/* V13 | Qur'an reading, audio player, sourced Tajweed annotations */
.quran-read-layout{max-width:1160px;padding-bottom:120px}.quran-reader-intro{background:linear-gradient(110deg,#053f33,#0a644e 86%);color:#fff;border-radius:24px;padding:27px 34px;position:relative;overflow:hidden;margin-bottom:19px}.quran-reader-intro::after{content:'۞';position:absolute;right:20px;top:-80px;font-family:var(--arabic);font-size:230px;color:#d6b676;opacity:.09;pointer-events:none}.quran-reader-intro .eyebrow{color:#e9c782;font-family:var(--arabic);font-size:20px;letter-spacing:0}.quran-reader-intro h2{font-size:clamp(23px,3vw,33px);margin:6px 0 8px;position:relative}.quran-reader-intro p{color:#d9e8dc;font-size:13px;line-height:1.65;max-width:680px;margin:0;position:relative}.reader-shell{border:1px solid #ebe4d5;border-radius:24px;background:#fffcf6;box-shadow:0 18px 36px #2b382619;overflow:hidden}.reader-config{display:grid;grid-template-columns:auto 1fr 1fr;gap:9px 16px;align-items:end;background:#f5f0e6;padding:20px 25px;border-bottom:1px solid #eae3d6}.reader-mode-toggle{display:flex;border-radius:12px;overflow:hidden;background:#e8e2d6;border:1px solid #e0d9c9;grid-row:1 / 3;align-self:center;padding:4px;gap:3px}.reader-mode-toggle button{background:transparent;color:#476b5b;border:0;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:700;white-space:nowrap}.reader-mode-toggle button.chosen{background:#075a47;color:white;box-shadow:0 3px 8px #002d241f}.quran-select-label{color:#466357;font-weight:700;font-size:11px;letter-spacing:.35px}.quran-choose,.quran-search{min-height:43px;border:1px solid #dfded3;border-radius:11px;background:#fffdf9;color:#213d33;padding:9px 12px;font-size:13px;width:100%;min-width:0;outline-offset:3px}.quran-choose{grid-column:2;grid-row:2}.quran-search{grid-column:3;grid-row:2}.reader-config .quran-select-label:nth-of-type(1){grid-column:2;grid-row:1}.reader-config .quran-select-label:nth-of-type(2){grid-column:3;grid-row:1}.quran-search-results{grid-column:3;max-height:280px;overflow:auto;border-radius:12px;border:1px solid #d9cda9;background:#fffdf8;padding:5px;box-shadow:0 13px 25px #213d221d;z-index:5}.quran-search-results[hidden]{display:none}.quran-search-results button{display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:9px 11px;text-align:left;width:100%;font-size:12px;color:#21493d}.quran-search-results button:hover{background:#e9f2e8}.quran-search-results button span{font:16px/1.7 var(--arabic)}.quran-search-results p{font-size:12px;padding:4px 12px}.reader-title{text-align:center;padding:25px 22px 20px;background:radial-gradient(ellipse at center,#fffbeb,#fffdf7 65%);border-bottom:1px solid #eee9df}.reader-title .eyebrow{color:#b6914d;font-size:10px;letter-spacing:1.6px}.reader-title h2{font:700 clamp(29px,3vw,37px)/1.2 var(--serif);margin:8px 0 4px}.reader-arabic-title{font:400 29px/1.7 var(--arabic);color:#00513d;margin:0}.reader-title>span{font-size:12px;color:#73887f}.quran-player{margin:22px 24px 14px;padding:21px 24px;border-radius:19px;background:linear-gradient(125deg,#053f35,#0b6550 82%,#044e3d);color:white;box-shadow:0 9px 19px #053e3222}.player-title{display:flex;align-items:center;gap:7px;font-size:14px}.player-title small{font-size:10px;font-weight:600;color:#e1c588;margin-left:auto}.player-selects{display:grid;grid-template-columns:1fr 130px;gap:12px;margin-top:15px}.player-selects label{font-size:10px;font-weight:700;color:#c3dfd0;display:grid;gap:5px}.player-selects select{background:#ffffff14;color:white;border:1px solid #ffffff42;border-radius:9px;padding:10px 12px;font-size:12px;min-width:0;max-width:100%;appearance:auto}.player-selects select option{background:#074735;color:white}.player-controls{display:flex;align-items:center;justify-content:center;gap:13px;margin:16px 0}.transport-light,.transport-repeat{background:#ffffff12;color:#e9f4eb;border:1px solid #ffffff32;display:grid;place-items:center;min-width:42px;min-height:42px;border-radius:50%}.transport-play{background:#e9c881;color:#053c31;border:none;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;box-shadow:0 5px 15px #001e162d}.transport-play .icon{width:23px;height:23px}.transport-repeat{border-radius:99px;display:flex;gap:6px;padding:0 12px;font-size:11px;margin-left:9px}.transport-repeat.on{background:#e4ba6d;color:#043a30}.player-progress-track{height:5px;border-radius:99px;background:#ffffff31;overflow:hidden}.player-progress-track>span{display:block;height:100%;background:#e6bf6e;width:0%;transition:width .15s linear}.player-foot{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font-size:10px;color:#deeadf}.player-foot #quran-play-status{color:#efcc88;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reading-options{margin:16px 24px;padding:17px 20px;border:1px solid #eee2cb;background:#fffdf8;border-radius:15px}.reading-options-head{display:flex;justify-content:space-between;align-items:center;gap:9px}.reading-options-head strong{display:flex;align-items:center;gap:8px;font-size:13px;color:#143e33}.reading-options-head small{color:#8e9389;font-size:10px}.reading-option-row{display:flex;align-items:center;gap:13px;margin:14px 0;flex-wrap:wrap}.reading-switch{background:#f0eee5;border:1px solid #e0dccd;color:#446052;border-radius:11px;padding:10px 13px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}.reading-switch.on{background:#e6f2e8;color:#066047;border-color:#b9d8c1}.font-size-label{font-size:11px;color:#536b5e;font-weight:700;margin-left:auto}.font-size-label output{color:#11674d}.reading-option-row input[type=range]{width:100px;accent-color:#0a7556}.tajweed-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tajweed-legend .legend-head{font-weight:800;font-size:10px;color:#756037;margin-right:4px}.tajweed-legend span:not(.legend-head){font-size:10px;color:#5b7066;display:inline-flex;align-items:center;gap:4px;border:1px solid #eee9df;border-radius:99px;padding:5px 7px;background:#fff}.tajweed-legend i{width:8px;height:8px;border-radius:50%}.tajweed-note{font-size:10px!important;color:#8b8d81!important;margin:10px 0 0!important;line-height:1.6}.reader-shell>.translation-choice{margin:0 24px 14px}.surah-status{margin:0 24px 14px;color:#758b80;font-size:11px;line-height:1.5}.quran-verses{padding:0 24px 16px;display:grid;gap:13px}.mushaf-ayah{background:#fffcf5;border:1px solid #e9e4d9;border-radius:17px;padding:20px 22px 15px;min-width:0;transition:background .25s,border-color .25s}.mushaf-ayah.is-playing{background:#f0f7ed;border-color:#91c9aa;box-shadow:inset 3px 0 #0e7455}.ayah-top{display:flex;align-items:center;gap:10px}.ayah-rosette{width:34px;height:34px;flex-shrink:0;background:#fff0d2;color:#7c622e;border:1px solid #e9cb8d;border-radius:12px;display:grid;place-items:center;font:700 14px var(--serif)}.ayah-label{font-size:11px;font-weight:700;color:#799386}.ayah-actions{display:flex;gap:5px;margin-left:auto}.ayah-icon{border:0;border-radius:10px;min-width:36px;height:35px;display:grid;place-items:center;color:#32614e;background:#edf2e9}.ayah-icon.selected,.ayah-icon.bookmarked{background:#09634e;color:#fff}.mushaf-arabic{font-family:var(--arabic);font-weight:400;line-height:2.15;direction:rtl;text-align:right;color:#12392f;margin:12px 4px 11px;word-break:normal;unicode-bidi:plaintext}.mushaf-ayah .translation-stack{margin:0 4px 10px;display:grid;gap:6px}.mushaf-ayah .urdu-translation{font-family:'Noto Nastaliq Urdu',serif;font-size:14px!important;line-height:2.55!important;text-align:right;direction:rtl;color:#315548}.mushaf-ayah .english-translation{font-size:13px!important;line-height:1.65!important;color:#61776c}.ayah-ref{font-size:11px;color:#927141;text-decoration:none}.quran-load-more{display:flex;margin:6px auto 17px;background:#f2f7ed;color:#0a5d48}.quran-loading-blank{text-align:center;padding:35px 13px;color:#577269}.quran-loading-blank .mushaf-placeholder{display:flex;justify-content:center;color:#c6a25c}.quran-loading-blank h3{font:700 23px var(--serif);margin:10px 0}.quran-loading-blank p{font-size:12px}.quran-source-footer{padding:17px 24px 25px;border-top:1px solid #eee5d7;background:#fcf7eb;color:#65766e;font-size:11px;line-height:1.65}.quran-source-footer strong{color:#255546;font-size:12px}.quran-source-footer a{color:#075f49;font-weight:700}.quran-source-footer p{margin:6px 0 4px}
.app-layout[data-theme=dark] .reader-shell,.app-layout[data-theme=dark] .mushaf-ayah,.app-layout[data-theme=dark] .reading-options{background:#1b352d;color:#e9f3eb;border-color:#3c6353}.app-layout[data-theme=dark] .reader-config,.app-layout[data-theme=dark] .reader-title,.app-layout[data-theme=dark] .quran-source-footer{background:#15382e;color:#d9e8d9;border-color:#3c6353}.app-layout[data-theme=dark] .reader-title h2,.app-layout[data-theme=dark] .reader-arabic-title,.app-layout[data-theme=dark] .mushaf-arabic,.app-layout[data-theme=dark] .reading-options-head strong{color:#f6e2b5}.app-layout[data-theme=dark] .quran-choose,.app-layout[data-theme=dark] .quran-search{background:#173f34;color:white;border-color:#477260}.app-layout[data-theme=dark] .reading-options .tajweed-note,.app-layout[data-theme=dark] .mushaf-ayah .urdu-translation,.app-layout[data-theme=dark] .mushaf-ayah .english-translation{color:#cfdfd6!important}
@media(max-width:740px){.quran-read-layout{padding:18px 13px 115px}.quran-reader-intro{padding:20px 21px;border-radius:19px}.quran-reader-intro h2{font-size:25px}.reader-shell{border-radius:18px}.reader-config{display:flex;flex-direction:column;align-items:stretch;padding:16px;gap:7px}.reader-mode-toggle{align-self:stretch;display:grid;grid-template-columns:1fr 1fr;grid-row:auto}.reader-mode-toggle button{padding:11px 7px}.reader-config .quran-select-label{font-size:10px}.quran-select-label:not(:first-of-type){margin-top:6px}.reader-title{padding:21px 12px 14px}.reader-title h2{font-size:30px}.quran-player{margin:14px 12px 10px;padding:17px 15px}.player-selects{grid-template-columns:minmax(0,1fr) 94px;gap:8px}.player-selects select{padding:9px 6px;font-size:11px}.reader-shell>.translation-choice{margin:0 12px 13px}.reading-options{margin:13px 12px;padding:14px}.reading-option-row{gap:9px}.reading-option-row .font-size-label{margin-left:0}.reading-option-row input[type=range]{flex:1 1 100px}.quran-verses{padding:0 11px 12px;gap:9px}.mushaf-ayah{padding:15px 14px}.mushaf-arabic{line-height:2.05;margin:12px 0}.ayah-actions{gap:3px}.ayah-icon{min-width:34px;height:33px}.quran-source-footer{padding:14px 17px 20px}.transport-repeat{padding:0 8px;margin-left:0}.surah-status{margin:0 15px 12px}.quran-search-results{max-height:220px}}
@media(max-width:370px){.player-controls{gap:6px}.transport-repeat{font-size:10px}.reader-title .reader-arabic-title{font-size:25px}.tajweed-legend{gap:5px}}
