@font-face{font-family:AmiriQuran;src:url('assets/AmiriQuran.ttf?v=1.003') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraMarksA;src:url('assets/KurraMarksA.ttf?v=1') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraMarksI;src:url('assets/KurraMarksI.otf?v=1') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraMarksS;src:url('assets/KurraMarksS.ttf?v=1') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraMarksH;src:url('assets/KurraMarksH.ttf?v=1') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:KurraAbay;src:url('assets/KuranKerimFontAbay.ttf?v=1') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraIndoPak;src:url('assets/DigitalKhattIndoPak.otf?v=1') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraUthmanicHafs;src:url('assets/KFGQPCUthmanicHafs.otf?v=1') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraScheherazade;src:url('assets/ScheherazadeNew-Regular.ttf?v=1') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:KurraHayratPrototype;src:url('assets/HayratStylePrototype-Regular.ttf?v=4') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:KurraRedHatDisplay;src:url('assets/RedHatDisplay-Italic-VariableFont_wght.ttf?v=1') format('truetype');font-weight:300 900;font-style:italic;font-display:swap}
.mushaf-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:12px 0;padding:14px;border:1px solid #a7d0ba;border-radius:8px;background:#eaf6ef;color:#075a3b;text-align:left;font:700 16px system-ui,sans-serif;cursor:pointer}
.mushaf-entry span:last-child{font-size:24px}
.home.mushaf-home{padding:0 0 90px;background:#f5f8f5}
.mushaf-screen{min-width:0}
.mushaf-ayah-tail{white-space:nowrap}
.mushaf-paper .mushaf-section-marker{display:none}
.mushaf-text-line{display:block;white-space:nowrap;text-align:right}
.mushaf-line-inner{display:inline-block;transform-origin:right center}
.mushaf-layout-measure{position:absolute;visibility:hidden;white-space:nowrap;pointer-events:none}
.mushaf-layout-measure>span{display:inline-block}
.mushaf-screen[data-mushaf-font=indopak] .mushaf-indopak-fallback,.mushaf-screen[data-mushaf-font=abay] .mushaf-abay-fallback,.mushaf-screen[data-mushaf-font=hafs] .mushaf-hafs-fallback{font-family:AmiriQuran,serif}
.mushaf-screen[data-mushaf-colored=true][data-mushaf-font=indopak] .mushaf-indopak-fallback,.mushaf-screen[data-mushaf-colored=true][data-mushaf-font=abay] .mushaf-abay-fallback,.mushaf-screen[data-mushaf-colored=true][data-mushaf-font=hafs] .mushaf-hafs-fallback,.mushaf-screen[data-mushaf-colored=true][data-mushaf-font=hafs] .mushaf-color-fallback,.mushaf-screen[data-mushaf-colored=true][data-mushaf-font=abay] .mushaf-color-fallback{font-family:KurraMarksA,AmiriQuran,serif}
.mushaf-controls .mushaf-mark-control{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:8px 0}
.mushaf-controls .mushaf-mark-control input{width:18px;height:18px;margin:0;accent-color:#c01c79}
.mushaf-header{display:flex;align-items:center;gap:12px;padding:18px 16px;background:#075a3b;color:#fff;border-bottom:3px solid #d8bd49}
.mushaf-header h2{margin:0;font-size:21px;line-height:1.3}
.mushaf-header button{width:38px;height:38px;flex:0 0 38px;border:1px solid #ffffff40;border-radius:6px;background:#ffffff16;color:#fff;font-size:23px}
.mushaf-toolbar{padding:12px;background:#fff;border-bottom:1px solid #dce9e1;display:grid;gap:10px}
.mushaf-quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.mushaf-quick-actions button{min-width:0;min-height:58px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #d6e4db;border-radius:12px;background:#f7faf8;color:#075a3b;font:600 10px/1.15 system-ui,sans-serif;cursor:pointer}
.mushaf-quick-actions button span{text-align:center;white-space:normal}
.mushaf-quick-actions button:hover,.mushaf-quick-actions button:focus-visible,.mushaf-quick-actions button[aria-expanded=true]{background:#e8f4ed;border-color:#95c5a9}
.mushaf-quick-actions button:disabled{opacity:.5;cursor:default}
.mushaf-place-panel{padding:10px;border:1px solid #cbded2;border-radius:10px;background:#f5faf6;color:#17352b;font:13px system-ui,sans-serif}
.mushaf-place-panel[hidden]{display:none}
.mushaf-place-panel>div{display:flex;gap:8px;margin-top:8px}
.mushaf-place-panel button{flex:1;min-height:40px;padding:6px;border:1px solid #a7d0ba;border-radius:8px;background:#fff;color:#075a3b;font:600 12px system-ui,sans-serif;cursor:pointer}
.mushaf-place-panel button:disabled{opacity:.5;cursor:default}
.mushaf-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mushaf-actions button{height:40px;min-width:40px;padding:0 10px;border:1px solid #cbded2;border-radius:6px;background:#f0f7f2;color:#075a3b;font-size:16px;font-weight:700;cursor:pointer}
.mushaf-actions .mushaf-read{background:#f6df83;border-color:#d4ba55;flex:1}
.mushaf-actions .mushaf-read[aria-pressed=true]{background:#d8efdf;border-color:#6aae87}
.mushaf-actions button:disabled{opacity:.45;cursor:default}
.mushaf-actions small{font-size:12px;color:#587467}
.mushaf-navigation{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}
.mushaf-navigation label,.mushaf-controls label{display:block;font-size:12px;font-weight:700;color:#436250;min-width:0}
.mushaf-navigation input,.mushaf-navigation select,.mushaf-controls select{display:block;width:100%;min-width:0;height:40px;margin-top:5px;border:1px solid #cbded2;border-radius:6px;padding:0 8px;background:#fff;color:#17352b;font-size:14px}
.mushaf-navigation .mushaf-page-select{display:flex;gap:4px}
.mushaf-page-select button{margin-top:5px;border:0;border-radius:6px;background:#075a3b;color:#fff;width:34px;flex:0 0 34px;font-size:20px}
.mushaf-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.mushaf-meal-font-control{grid-column:1/-1}
.home.mushaf-immersive{--mushaf-paper-color:#fffae3;--mushaf-frame-color:#8a713c;--mushaf-surround-color:#f2f0e7;position:fixed;inset:0;z-index:110;width:100%;height:100dvh;padding:0;background:var(--mushaf-surround-color);overflow:hidden;overscroll-behavior:none}
.mushaf-immersive .mushaf-screen{height:100%;background:var(--mushaf-surround-color);overflow:hidden}
.mushaf-immersive .mushaf-content{height:100%;min-height:0;padding:calc(58px + env(safe-area-inset-top)) 6px var(--mushaf-bottom-space,176px);transform-origin:center;touch-action:pinch-zoom;overflow:hidden}
.mushaf-immersive .mushaf-content.is-dragging{will-change:transform;user-select:none}
.mushaf-immersive .mushaf-paper{max-width:1000px;margin:0 auto;height:100%;min-height:0;box-sizing:border-box;padding:12px 10px;border:5px double var(--mushaf-frame-color);border-radius:0;background:var(--mushaf-paper-color);box-shadow:0 2px 12px #5c472012}
.mushaf-immersive .mushaf-paper h3{border:0;padding:0;font-size:var(--mushaf-heading-size,25px);margin-bottom:10px;line-height:1.6}
.mushaf-immersive .mushaf-paper p{line-height:1.85}
.mushaf-immersive .mushaf-paper .mushaf-bismillah{font-size:var(--mushaf-size)}
.mushaf-immersive .mushaf-page-footer{font-size:12px;line-height:1.4;margin-top:10px}
.mushaf-immersive .mushaf-page-footer{color:#7c6b35}
.mushaf-turn-snapshot{position:fixed;inset:0;z-index:120;height:100%;overflow:hidden;background:var(--mushaf-surround-color,#f2f0e7);pointer-events:none;will-change:transform;transform-origin:center}
.mushaf-screen.is-turning .mushaf-content{background:var(--mushaf-surround-color,#f2f0e7);will-change:transform;pointer-events:none}
.mushaf-immersive .mushaf-content[aria-busy=true]::after{content:'Sayfa yükleniyor…';position:fixed;top:10px;left:12px;padding:6px 10px;background:#ffffffd9;color:#436250;font:12px system-ui;z-index:4;pointer-events:none}
.mushaf-reader-menu,.mushaf-reader-bottom{position:fixed;left:0;right:0;z-index:130;background:#fffffff2;backdrop-filter:blur(14px);box-shadow:0 5px 20px #17352b15}
.mushaf-reader-menu{top:calc(52px + env(safe-area-inset-top));max-height:calc(75dvh - 52px);overflow-y:auto;overscroll-behavior:contain}
.mushaf-reader-menu .mushaf-header{padding-right:64px}
.mushaf-reader-menu .mushaf-toolbar,.mushaf-reader-menu .mushaf-audio{max-width:1000px;margin:auto}
.mushaf-reader-bottom{bottom:var(--mushaf-nav-height,78px);max-height:40dvh;overflow-y:auto;border-top:1px solid #dce9e1;box-shadow:0 -5px 20px #17352b15}
.mushaf-reader-menu[hidden],.mushaf-reader-bottom[hidden]{display:none}
.mushaf-reader-toggles{position:fixed;top:0;left:0;right:0;z-index:150;box-sizing:border-box;height:calc(52px + env(safe-area-inset-top));padding:calc(4px + env(safe-area-inset-top)) 6px 4px;display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:4px;background:#fffef3f5;border-bottom:1px solid #d8cda6}
.mushaf-reader-toggles>button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #cbded2;border-radius:9px;background:#f1f8f3;color:#075a3b;font:19px system-ui;cursor:pointer}
.mushaf-reader-toggles .mushaf-quick-actions{min-width:0;gap:2px}
.mushaf-reader-toggles .mushaf-quick-actions button{min-height:40px;padding:2px 0;gap:0;border-radius:7px;background:transparent;border-color:transparent;font-size:8px;white-space:nowrap}
.mushaf-reader-toggles .mushaf-quick-actions svg{width:17px;height:17px}
.mushaf-reader-toggles .mushaf-quick-actions button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mushaf-reader-toggles button:hover,.mushaf-reader-toggles button:focus-visible{background:#eaf6efe6;color:#075a3b}
.mushaf-reader-toggles .mushaf-fullscreen-toggle{font-size:18px}
.home.mushaf-immersive.mushaf-fullscreen .bottom-nav,.mushaf-fullscreen .mushaf-reader-bottom{display:none}
.mushaf-immersive.mushaf-fullscreen .mushaf-content{padding-bottom:calc(6px + env(safe-area-inset-bottom))}
.mushaf-footer-toggle{bottom:calc(8px + env(safe-area-inset-bottom))}
.reader-footer-open .mushaf-footer-toggle{bottom:calc(88px + env(safe-area-inset-bottom))}
.home.mushaf-immersive .bottom-nav{z-index:140;opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){.home.mushaf-immersive .bottom-nav,.mushaf-reader-toggles button{transition:none}}
.mushaf-content{padding:14px;min-height:300px}
.mushaf-paper{background:#fffef3;border:1px solid #d9d1a7;border-radius:6px;padding:22px 16px;color:#14291d;box-shadow:0 3px 15px #17352b0c}
.mushaf-paper h3{font-family:var(--mushaf-font),AmiriQuran,serif;font-size:25px;font-weight:400;text-align:center;line-height:1.8;margin:0 0 14px;border-bottom:1px solid #cbd8b9;padding-bottom:8px}
.mushaf-paper p{font-family:var(--mushaf-reading-font,var(--mushaf-font)),AmiriQuran,serif;color:#171b18;font-size:var(--mushaf-size);font-weight:400;line-height:2.1;letter-spacing:0;word-spacing:normal;text-align:right;direction:rtl;margin:0;overflow-wrap:break-word}
.mushaf-paper .mushaf-bismillah{text-align:center;margin:10px 0;font-size:27px}
.mushaf-paper .mushaf-ayah-number{display:inline-flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;vertical-align:middle;background:url('assets/mushaf-ayah-rosette.svg?v=1') center/contain no-repeat;white-space:nowrap;color:#fff;line-height:1;direction:rtl}
.mushaf-ayah-number>span{font:600 .52em/1 Arial,sans-serif;letter-spacing:0}
.mushaf-page-footer{display:block;text-align:center;font-size:15px;margin-top:20px;color:#667251}
.mushaf-slider{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:3px 10px;direction:rtl}
.mushaf-slider input{width:100%;accent-color:#075a3b}
.mushaf-slider button{width:36px;height:34px;border:1px solid #cbded2;border-radius:6px;background:#eaf6ef;color:#075a3b;font-size:20px}
.mushaf-caption{text-align:center;padding:0 8px 5px;color:#436250;font-size:11px;line-height:1.3;min-height:0}
.mushaf-error{padding:30px 12px;text-align:center;color:#a13737;line-height:1.5}
.mushaf-error button{display:block;margin:12px auto;padding:10px 16px;background:#075a3b;color:#fff;border:0;border-radius:6px}
.mushaf-loading{padding:60px 12px;text-align:center;color:#587467}
.mushaf-screen button:focus-visible,.mushaf-screen input:focus-visible,.mushaf-screen select:focus-visible{outline:2px solid #b9911b;outline-offset:2px}
@media(min-width:700px){.mushaf-paper{padding:28px}.mushaf-toolbar{padding:14px 20px}}
.mushaf-settings summary{cursor:pointer;color:#436250;font-size:14px;padding:6px 0}
.mushaf-settings[open] .mushaf-actions{margin:10px 0}
.mushaf-audio{padding:10px 14px;background:#eaf5ef;border-bottom:1px solid #cbded2}
.mushaf-audio-top{display:grid;grid-template-columns:minmax(0,1fr) 44px 58px;gap:8px;align-items:end}
.mushaf-audio label{font-size:12px;color:#436250;font-weight:700}
.mushaf-audio select{display:block;width:100%;min-width:0;height:38px;margin-top:4px;border:1px solid #cbded2;border-radius:6px;background:#fff;color:#17352b;font-size:14px}
.mushaf-play{height:38px;border:0;border-radius:6px;background:#075a3b;color:#fff;font-size:20px;cursor:pointer}
.mushaf-play:disabled{opacity:.45;cursor:default}
.mushaf-audio audio{display:block;width:100%;height:36px;margin-top:8px}
.mushaf-audio audio[hidden]{display:none}
.mushaf-audio-status{margin:4px 0 0;font-size:13px;color:#436250;min-height:18px}
.mushaf-paper .is-playing{background:#d9edcc;border-radius:3px}
.mushaf-meal{height:38px;border:1px solid #a7d0ba;border-radius:6px;background:#fff;color:#075a3b;font-size:14px;font-weight:700;cursor:pointer}
.mushaf-meal:disabled{opacity:.45}
.mushaf-meal-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(560px,100%);max-width:100%;max-height:80dvh;box-sizing:border-box;padding:0;border:1px solid #cbded2;border-radius:8px 8px 0 0;color:#17352b;background:#fff}
.mushaf-meal-dialog::backdrop{background:#092f2470}
.mushaf-meal-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#eaf5ef;position:sticky;top:0}
.mushaf-meal-dialog h2{margin:0;font-size:18px}
.mushaf-meal-dialog small{font-size:12px;color:#436250}
.mushaf-meal-dialog header button{width:36px;height:36px;flex-shrink:0;border:1px solid #cbded2;background:#fff;color:#075a3b;border-radius:6px;font-size:24px;cursor:pointer}
.mushaf-meal-body{padding:0 18px 18px;font-size:16px;line-height:1.7}
.mushaf-meal-body article{padding:14px 0;border-bottom:1px solid #e2ece6}
.mushaf-meal-body h3{margin:0;font-size:14px;color:#075a3b}
.mushaf-meal-body p{margin:6px 0 0;font-family:var(--mushaf-meal-font,system-ui),sans-serif;font-style:var(--mushaf-meal-style,normal)}
.mushaf-paper [data-ayah]{cursor:pointer}
.mushaf-paper [data-ayah]:focus-visible{outline:2px solid #075a3b;outline-offset:3px;border-radius:3px}
.mushaf-paper [data-ayah].has-note{text-decoration:underline dotted #40855b;text-underline-offset:6px}
.mushaf-note-arabic{margin:0;padding:16px 18px;background:#f7faf5;font-family:AmiriQuran,serif;font-size:25px;line-height:1.9}
.mushaf-note-form{padding:0 18px 20px;font-size:15px;color:#17352b}
.mushaf-note-form>label{display:block;font-weight:700}
.mushaf-note-form textarea{display:block;width:100%;box-sizing:border-box;min-height:100px;margin-top:8px;padding:10px;border:1px solid #cbded2;border-radius:6px;background:#fff;font:400 16px/1.5 system-ui,sans-serif;resize:vertical;color:#17352b}
.mushaf-note-options{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0;font-size:14px}
.mushaf-note-options label{display:flex;align-items:center;gap:5px}
.mushaf-note-options input{accent-color:#075a3b;width:18px;height:18px}
.mushaf-note-form>button{width:100%;min-height:44px;border:0;border-radius:6px;background:#075a3b;color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.mushaf-note-status{margin:8px 0 0;font-size:14px;color:#075a3b}
