@font-face{font-family:Jakarta;src:url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:NotoArabic;src:url('/fonts/noto-sans-arabic-arabic-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Warsh;src:url('/fonts/warsh-v21.ttf') format('truetype');font-display:swap}
:root{--blue:#3563d9;--blue-deep:#122e61;--ink:#172744;--muted:#64748b;--line:#e1e7f1;--ice:#f2f5fc;--white:#fff;--radius:24px;--arabic:NotoArabic,serif;--shadow:0 12px 40px #12356b08;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--ice);color:var(--ink);font-family:Jakarta,Arial,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2}h1{font-size:36px;letter-spacing:-1.4px;font-weight:750}h2{font-size:21px;letter-spacing:-.55px;font-weight:750}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled,input:disabled{cursor:not-allowed;opacity:.45}[hidden]{display:none!important}svg{width:22px;height:22px;flex:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5d89ff;outline-offset:4px}button,a{touch-action:manipulation}button{transition:background .18s,color .18s,transform .15s}button:active:not(:disabled),.button:active{transform:scale(.96)}a{transition:color .18s,background .18s}button[aria-pressed=true]{color:var(--blue);background:#e7efff}input[type=range]{accent-color:var(--blue);padding:0;min-height:24px;cursor:pointer}
.skip-link{position:fixed;left:20px;top:-100px;z-index:1000;background:white;padding:12px 20px;border-radius:8px}.skip-link:focus{top:12px}.boot{padding:10vw;max-width:800px}.boot a{display:inline-block;margin-top:24px;color:var(--blue)}.boot h1{margin-bottom:16px}
.app-header{height:86px;background:#ffffffed;border-bottom:1px solid var(--line)}.header-inner{max-width:1280px;height:100%;padding:0 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:18px;letter-spacing:-.7px;font-weight:750}.brand img{width:38px;height:38px}.brand-and{color:var(--blue);font-weight:500}.desktop-nav{display:flex;height:100%;gap:26px}.desktop-nav a{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);border-bottom:3px solid transparent;padding:3px 0 0}.desktop-nav svg{width:19px;height:19px}.desktop-nav a:hover,.desktop-nav a[aria-current]{color:var(--blue)}.desktop-nav a[aria-current]{border-bottom-color:var(--blue);font-weight:750}.icon-button{border:0;background:transparent;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;flex:none}.icon-button:hover{background:#e6edfa;color:var(--blue)}.settings-link{border:1px solid var(--line)}.settings-link[aria-current]{background:var(--blue);color:white}.bottom-nav{display:none}
.workspace{max-width:1280px;margin:auto;padding:36px 40px 24px}.home-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.home-heading p{color:var(--muted);margin-bottom:6px}.greeting-ar{font-family:var(--arabic);font-size:30px;color:var(--blue);padding-right:8px}.daily-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.prayer-hero{min-height:350px;position:relative;background:linear-gradient(90deg,#10346bee,#12387376),url('/media/courtyard-blue.png') 58% 48%/cover;border-radius:var(--radius);color:white;overflow:hidden;padding:26px 30px;display:flex;flex-direction:column;justify-content:space-between;grid-column:1}.hero-top,.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.hero-location{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600}.hero-location svg:last-child{width:14px}.hero-clock{font-variant-numeric:tabular-nums;font-size:17px;letter-spacing:1px}.hero-clock span{font-size:11px;opacity:.7;margin-left:4px}.next-label{font-size:13px;color:inherit;opacity:.83;margin-bottom:6px}.next-title{display:flex;align-items:baseline;gap:15px}.next-title h2{font-size:40px;letter-spacing:-1.4px}.next-title>span{font-family:var(--arabic);font-size:27px;opacity:.8}.next-at{display:flex;align-items:center;gap:14px;margin-top:2px}.next-at time{font-size:34px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.next-at>span{font-size:12px;opacity:.85}.countdown-block{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:13px}.countdown-block svg{width:16px;height:16px}.countdown-block strong{font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:.5px;font-weight:600}.date{text-transform:capitalize;font-size:12px;font-weight:650}.hijri{font-size:10px;opacity:.72;margin-top:2px}.silent-label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;opacity:.75}.silent-label svg{width:15px;height:15px}
.schedule-panel{grid-column:2;grid-row:1/span 2;background:var(--white);padding:27px 25px 18px;border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading p{font-size:12px;color:var(--muted);margin-bottom:5px}.prayer-grid{display:grid;gap:7px}.schedule-panel .prayer-grid{flex:1;grid-template-rows:repeat(6,minmax(62px,1fr))}.prayer-cell{display:flex;align-items:center;gap:14px;padding:13px 16px;border-radius:14px;position:relative}.prayer-symbol{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--muted);background:var(--ice);border-radius:12px}.prayer-symbol svg{width:21px;height:21px}.prayer-labels{display:flex;flex-direction:column;flex:1}.prayer-name{font-size:15px;font-weight:650}.prayer-ar{font-family:var(--arabic);font-size:12px;color:var(--muted);text-align:left;line-height:1.6}.prayer-values{text-align:right;display:flex;flex-direction:column}.prayer-values time{font-size:23px;font-weight:700;letter-spacing:-.6px;font-variant-numeric:tabular-nums;line-height:1.3}.iqama-time{font-size:10px;line-height:1.6;color:var(--muted)}.iqama-time:empty{display:none}.prayer-cell.solar{background:#f7f9fd;color:#667589}.solar .prayer-values time{font-size:20px;font-weight:550}.upcoming{background:var(--blue);color:white;box-shadow:0 5px 14px #3563d921}.upcoming .prayer-ar,.upcoming .iqama-time{color:#e2ecff}.upcoming .prayer-symbol{color:white;background:#ffffff1a}.schedule-location{font-size:11px;color:var(--muted);text-align:center;margin-top:15px}.schedule-error{background:#fff0e8;color:#873816;font-size:13px;padding:12px 16px;border-radius:10px}
.resume-panel{grid-column:1;grid-row:2;background:#e6edfd;border-radius:var(--radius);min-height:250px;padding:26px 30px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px}.resume-copy{position:relative;z-index:1}.section-icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;color:var(--blue);background:#ffffff9c;margin-bottom:14px}.resume-copy p{font-size:12px;color:var(--muted);margin-bottom:5px}.resume-copy h2{font-size:25px;margin-bottom:6px}.resume-copy>span:not(.section-icon){font-size:11px;color:#587099;display:block}.resume-copy .section-icon{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 18px;border:1px solid transparent;border-radius:12px;background:var(--blue);color:#fff;font-size:13px;font-weight:650;min-height:46px;transition:background .18s,transform .15s}.button:hover{background:#254ebb}.button svg{width:17px;height:17px}.resume-copy .button{margin-top:24px}.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:#e8efff;color:var(--blue)}.book-object{width:135px;height:190px;flex:none;border-radius:5px 13px 13px 5px;background:#254b93;box-shadow:5px 4px 0 #f9fbff,9px 7px 0 #c4d0e6,16px 20px 32px #17336922;transform:rotate(9deg);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#eef5ff;border:5px solid #3761a7}.book-object:before{content:'';position:absolute;inset:7px;border:1px solid #91acd7}.book-object:after{content:'';position:absolute;inset:14px;border:1px solid #91acd755}.book-object>span{font-family:var(--arabic);font-size:18px;max-width:90px;text-align:center;line-height:1.9;position:relative;z-index:1}.book-object b{font-size:8px;letter-spacing:3px;margin-top:16px;font-weight:500}.book-decoration{position:absolute;width:85px;height:85px;border:1px solid #91acd755;transform:rotate(45deg)}.book-object i{position:absolute;bottom:-20px;width:11px;height:24px;background:#789bd1;right:24px;clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)}
.qibla-card{grid-column:1;display:flex;align-items:center;gap:25px;border-radius:var(--radius);background:white;padding:24px 30px;min-height:170px;box-shadow:var(--shadow)}.qibla-card:hover{background:#f9fbff}.qibla-card p{font-size:12px;color:var(--muted);margin-bottom:5px}.qibla-card h2{font-size:21px}.qibla-card h2 strong{color:var(--blue);font-weight:600;margin-left:12px}.qibla-card>div>span{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:12px}.qibla-card>div>span svg{width:15px}.mini-compass{width:110px;height:110px;position:relative;flex:none;color:#c0cee4}.mini-compass>svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1}.mini-compass>span{position:absolute;top:-3px;left:50%;transform:translateX(-50%);font-size:9px;color:var(--blue);font-weight:700}.mini-needle{position:absolute;inset:22px;transform-origin:center}.mini-needle:before,.qibla-needle:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#4c77e5 50%,#3563d9 50%);clip-path:polygon(50% 0,65% 52%,50% 100%,35% 52%)}.mini-needle:after{content:'';position:absolute;inset:28px;border-radius:50%;background:white}.tv-invite{display:flex;flex-direction:column;justify-content:center;gap:6px;border-radius:var(--radius);background:#dfe9fc;padding:24px 28px;position:relative}.tv-invite:hover{background:#d5e2fb}.tv-invite .section-icon{margin:0 0 5px;width:35px;height:35px;background:transparent;justify-content:start}.tv-invite h2{font-size:19px}.tv-invite p{font-size:12px;color:#526b92;margin-top:5px;padding-right:26px}.tv-invite>.icon-button{position:absolute;right:22px;top:24px;background:#ffffff80;color:var(--blue);width:35px;height:35px}.board-footer{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:10px;margin-top:18px}.app-footer{max-width:1280px;padding:10px 40px 26px;margin:auto;display:flex;justify-content:space-between;gap:24px;font-size:11px;color:var(--muted)}.app-footer div{display:flex;gap:20px}.app-footer a:hover{color:var(--blue)}
.page-heading{margin:0 0 32px}.page-heading>p:first-child{font-size:13px;color:var(--blue);margin-bottom:8px;display:flex;align-items:center;gap:6px}.page-heading>p:first-child svg{width:16px}.page-heading>p:last-child{color:var(--muted);max-width:650px;margin-top:14px}.page-heading h1 br{display:none}.settings-form{max-width:900px}.settings-form fieldset{border:0;border-radius:20px;background:white;box-shadow:var(--shadow);padding:26px;margin:0 0 20px}.settings-form legend{float:left;width:100%;font-size:19px;font-weight:700;margin:0 0 22px}.settings-form legend+.form-grid,.settings-form legend+.field-help{clear:both}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label,.pair-controller label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650}input:not([type=range]):not([type=checkbox]),select{border:1px solid #d4ddeb;background:#fff;border-radius:9px;padding:11px 12px;min-height:44px;max-width:100%;color:var(--ink)}input:hover,select:hover{border-color:#819bcc}input:focus,select:focus{border-color:var(--blue)}.field-help{font-size:12px;color:var(--muted);line-height:1.8;margin-top:16px}.offset-head,.offset-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:center;padding:10px 0}.offset-head{font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);margin-top:16px}.offset-row{border-bottom:1px solid #f0f3f8;font-size:13px}.offset-row:last-child{border:0}.offset-row input{width:100%}.offset-row>span:last-child{color:var(--muted);font-size:12px}.form-actions{display:flex;align-items:center;gap:22px;margin:25px 0}.form-actions>a{font-size:12px;color:var(--muted)}.form-error{color:#a2322e}#custom-angles{margin-top:20px}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pair-controller,.screen-explainer,.device-list{background:white;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}.pair-controller h2{margin-bottom:22px}.pair-controller form{display:flex;flex-direction:column;gap:14px}#pair-code{font-size:28px;letter-spacing:8px;max-width:100%;text-transform:uppercase;background:var(--ice);text-align:center;height:74px}.text-link{color:var(--blue);font-size:12px;text-decoration:underline;text-underline-offset:4px}.pair-controller>.text-link{display:inline-block;margin-top:20px}#pair-status{font-size:13px}.screen-explainer{background:#e3ecfd;display:flex;flex-direction:column;align-items:start;justify-content:center}.screen-illustration{width:75px;height:75px;border-radius:18px;background:#ffffff88;display:flex;align-items:center;justify-content:center;color:var(--blue);margin-bottom:25px}.screen-illustration svg{width:46px;height:46px}.screen-explainer p{color:#526b92;margin:12px 0 24px;max-width:390px}.device-list{margin-top:24px}.device-list h2{margin-bottom:16px}.device-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.device-row:last-child{border:0}.device-row>div{display:flex;flex-direction:column;gap:4px}.device-row span{font-size:12px;color:var(--muted)}.text-button{border:0;background:none;color:var(--blue);padding:12px;font-size:12px;border-radius:8px}.text-button:hover{background:#e9effc}
.qibla-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:26px;align-items:stretch}.compass-panel{background:white;border-radius:var(--radius);padding:40px;text-align:center}.large-compass{position:relative;width:min(320px,100%);aspect-ratio:1;margin:auto;color:var(--muted)}.compass-rings{position:absolute;inset:10%;border:1px solid #d7e1f1;border-radius:50%;box-shadow:0 0 0 14px #f2f6ff,0 0 0 15px #d7e1f1}.compass-rings:before{content:'';position:absolute;inset:17px;border:1px dashed #bbcae3;border-radius:50%}.large-compass>span{position:absolute;font-size:14px;font-weight:650}.north{top:0;left:50%;transform:translateX(-50%);color:var(--blue)}.south{bottom:0;left:50%;transform:translateX(-50%)}.east{right:0;top:50%;transform:translateY(-50%)}.west{left:0;top:50%;transform:translateY(-50%)}.qibla-needle{position:absolute;inset:16%;transform-origin:center}.qibla-needle:before{clip-path:polygon(50% 0,63% 58%,50% 50%,37% 58%)}.qibla-needle:after{content:'';position:absolute;inset:0;background:#bfd0f4;clip-path:polygon(50% 100%,63% 42%,50% 50%,37% 42%)}.compass-center{position:absolute;inset:42%;display:flex;align-items:center;justify-content:center;border-radius:50%;background:white;box-shadow:0 3px 15px #122e611a;color:var(--blue)}.qibla-bearing{display:flex;flex-direction:column;margin-top:28px}.qibla-bearing strong{font-size:45px;letter-spacing:-2px;color:var(--blue);line-height:1.3}.qibla-bearing small{font-size:26px}.qibla-bearing>span{font-size:12px;color:var(--muted)}.qibla-instructions{padding:40px;background:#e5edfd;border-radius:var(--radius)}.qibla-instructions h2{font-size:27px;max-width:290px}.qibla-instructions>p{color:#536b90;margin:17px 0;font-size:13px}.location-summary{display:flex;flex-direction:column;margin:28px 0;padding:20px 0;border-block:1px solid #ccd9ef}.location-summary span{font-size:12px;color:var(--muted)}.location-summary strong{font-size:20px;margin:5px 0}.qibla-instructions .field-help{font-size:11px}.prose{max-width:850px;margin:0 auto;background:white;border-radius:var(--radius);padding:40px}.prose>p:first-child{color:var(--blue);font-size:12px}.prose h1{margin:10px 0 30px}.prose h2{margin:30px 0 13px}.prose p{margin:13px 0;color:#53627b;font-size:14px;line-height:1.9}.prose a{color:var(--blue);text-decoration:underline}
.reader-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.reader-header p{font-size:12px;color:var(--muted);margin-bottom:6px}.reader-modes{display:flex;background:#e2e8f3;padding:4px;border-radius:11px}.reader-modes button{border:0;background:transparent;color:#5d6d88;padding:8px 22px;border-radius:8px;font-size:12px;font-weight:650;min-height:38px}.reader-modes button[aria-pressed=true]{background:white;color:var(--blue);box-shadow:0 2px 6px #193b7610}.reader-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:26px;align-items:start}.reader-library{background:white;border-radius:20px;padding:22px 16px;position:sticky;top:24px}.library-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 4px 20px}.library-heading h2{font-size:16px}.library-heading>span{font-size:10px;color:var(--muted)}.search-box{display:flex;align-items:center;background:var(--ice);border-radius:9px;padding:0 10px;gap:6px;margin-bottom:17px;color:#778ba7}.search-box svg{width:18px}.search-box input:not([type=range]){border:0;background:transparent;width:100%;min-width:0;padding:9px 0;font-size:12px;min-height:42px}.surah-list{display:flex;flex-direction:column;gap:5px}.surah-item{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:10px;padding:12px 9px;min-height:65px;width:100%}.surah-item:hover{background:#f0f4fc}.surah-item[aria-pressed=true]{background:#e9f0ff;color:var(--blue)}.surah-number{font-size:11px;font-variant-numeric:tabular-nums;color:#6f85ac;min-width:23px;text-align:center}.surah-name{flex:1;display:flex;flex-direction:column;min-width:0}.surah-name strong{font-size:13px;font-weight:650}.surah-name>span{font-family:var(--arabic);font-size:12px;line-height:1.8;text-align:left;color:#7b8aa2}.surah-item>svg{width:15px;height:15px;color:#7697db}.library-note{font-size:11px;color:var(--muted);padding:18px 8px 0;margin-top:15px;border-top:1px solid var(--line);line-height:1.8}#search-empty{padding:15px 0;text-align:center;font-size:12px}.reading-area{min-width:0}.reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 12px;background:white;border-radius:14px;margin-bottom:14px}.page-navigation,.reading-tools{display:flex;align-items:center;gap:4px;min-width:0}.page-choice{font-size:0;min-width:0}.page-choice select{font-size:12px;border:0;padding:9px 8px;max-width:225px;background:transparent;font-weight:650}.reader-toolbar .icon-button{width:36px;height:40px}.reader-toolbar .icon-button svg{width:18px}.zoom-control{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.zoom-control input{width:65px}.mushaf-panel{background:#fff;border-radius:20px;padding:20px 26px;box-shadow:0 8px 28px #143c6f09;border:1px solid #e0e6ef;overflow:auto}.mushaf-page{max-width:600px;margin:0 auto;min-width:0}.mushaf-image{display:block;height:auto;max-width:none;min-width:80%;margin:0 auto}.quran-text{font-family:Warsh,serif;font-size:2.3rem;line-height:2.4;text-align:justify;min-height:430px;padding:20px 5px;overflow-wrap:anywhere;color:#101820}.reader-note{font-size:11px;text-align:center;color:var(--muted);margin:17px 0}.reader-note a{text-decoration:underline;text-underline-offset:3px}#bookmark-status{font-size:11px;color:var(--blue);text-align:right;margin:0 4px}#bookmark-status:not(:empty){margin-bottom:10px}body[data-page="/lecture"] .app-footer{padding-bottom:150px}.audio-player{position:fixed;bottom:0;left:0;width:100%;z-index:30;display:grid;grid-template-columns:minmax(210px,1fr) minmax(240px,430px) minmax(140px,1fr);align-items:center;gap:30px;background:#fff;border-top:1px solid #dce5f3;box-shadow:0 -8px 35px #183b780b;padding:15px max(32px,calc((100vw - 1180px)/2));min-height:112px}.player-track{display:flex;align-items:center;gap:13px;min-width:0}.reciter-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:#e7efff;color:var(--blue);flex:none}.player-track>div{display:flex;flex-direction:column;min-width:0}.player-track strong{font-size:14px;font-weight:750}.player-track>div>span{font-size:11px;color:var(--muted);margin-top:4px}.player-center{display:flex;flex-direction:column;align-items:center;gap:4px}.playback-buttons{display:flex;align-items:center;justify-content:center;gap:20px}.play-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:0;background:var(--blue);color:white;box-shadow:0 5px 16px #3563d92a}.play-button:hover{background:#2349b4}.play-button svg{width:23px;height:23px}.seek-control{display:flex;align-items:center;gap:10px;width:100%;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.seek-control input{width:100%;height:20px}.seek-control span{min-width:28px;text-align:center}.repeat-button{justify-self:end;width:auto;gap:8px;padding:0 14px;font-size:12px}.repeat-button svg{width:18px;height:18px}.audio-player audio{display:none}
.tv{background:var(--blue-deep);color:white;min-height:100dvh}.tv:before{content:'';position:fixed;inset:0;background:linear-gradient(90deg,#092a5ee6 0%,#0b2f63c9 45%,#102d5e60 100%),linear-gradient(0deg,#082651e8 0%,transparent 65%),url('/media/courtyard-blue.png') center/cover;z-index:-1}.tv-board{height:100dvh;min-height:630px;padding:24px 4vw 20px;display:grid;grid-template-rows:auto auto 1fr auto auto;row-gap:22px}.tv-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.tv .brand{font-size:16px;color:#fff}.tv .brand img{width:34px;height:34px}.tv .brand-and{color:#b4cdff}.tv-actions{display:flex;align-items:center;gap:12px}.tv .icon-button,.tv .text-button{color:#e5eeff;background:#ffffff0e}.tv .icon-button:hover,.tv .text-button:hover{background:#ffffff29}.tv .text-button{padding:10px 15px}.tv-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.tv-place h1{font-size:clamp(30px,3.5vw,66px);letter-spacing:-1.5px;font-weight:600}.tv-place p{font-size:clamp(12px,1.1vw,20px);color:#c1d3f0;margin-top:5px}.tv .date-block{text-align:right}.tv .date{font-size:clamp(14px,1.4vw,27px);font-weight:500}.tv .hijri{font-size:clamp(10px,.95vw,18px);margin-top:4px;color:#ccdbf2}.tv-main{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:5vw}.tv-clock{align-self:center;min-width:0}.clock-reading{display:flex;align-items:baseline;gap:13px;font-variant-numeric:tabular-nums;line-height:1;font-size:clamp(105px,14vw,290px);font-weight:550;letter-spacing:-.045em}.clock-reading #clock-seconds{font-size:.26em;letter-spacing:-.02em;color:#b9cdf0;font-weight:400}.tv-clock-caption{display:flex;align-items:center;gap:9px;font-size:clamp(12px,1.15vw,20px);color:#bacfeb;margin:18px 0 0 9px}.tv-clock-caption svg{width:18px;height:18px}.tv-next{padding:24px 30px;border-radius:22px;background:#154379bd;border:1px solid #8aadcf44;box-shadow:0 10px 30px #06235120}.tv .next-label{font-size:clamp(13px,1.3vw,22px);color:#e4efff;opacity:1;margin-bottom:12px}.tv .next-title{gap:20px}.tv .next-title h2{font-size:clamp(32px,3.6vw,64px);letter-spacing:-1px;font-weight:650}.tv .next-title>span{font-size:clamp(24px,2.5vw,48px)}.tv .next-at time{font-size:clamp(28px,2.8vw,54px);font-weight:450;color:#e1edff}.tv .next-at>span{font-size:14px}.tv .countdown-block{margin-top:18px;padding-top:14px;border-top:1px solid #ffffff26;font-size:clamp(12px,1vw,19px);color:#bfd4f5}.tv .countdown-block strong{font-size:clamp(21px,2vw,38px);color:white;font-weight:550}.tv-schedule-label{font-size:clamp(12px,1.05vw,20px);color:#c6d8f4;margin-bottom:13px}.tv .prayer-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.tv .prayer-cell{min-height:clamp(138px,15vh,200px);padding:18px 14px;display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;background:#ffffff0d;border:1px solid #afc5e833;border-radius:15px}.tv .prayer-symbol{display:none}.tv .prayer-labels{flex:none;align-items:center}.tv .prayer-name{font-size:clamp(16px,1.6vw,29px);font-weight:550}.tv .prayer-ar{font-size:clamp(12px,1.2vw,22px);line-height:1.8;color:#b4cbea}.tv .prayer-values{text-align:center}.tv .prayer-values time{font-size:clamp(26px,3.1vw,59px);letter-spacing:-1px;font-weight:600}.tv .iqama-time{font-size:clamp(9px,.8vw,15px);color:#bed1ee}.tv .prayer-cell.solar{background:#ffffff05;color:#bacbe3}.tv .solar .prayer-values time{font-weight:400}.tv .prayer-cell.upcoming{background:#fff;color:var(--blue-deep);border-color:white;box-shadow:0 8px 35px #041a3c30;transform:translateY(-3px)}.tv .upcoming .prayer-ar,.tv .upcoming .iqama-time{color:#56749e}.tv .board-footer{font-size:clamp(9px,.8vw,15px);color:#afc7e9;margin:0}.tv .schedule-error:not([hidden]){grid-row:auto}.tv-board:has(.schedule-error:not([hidden])){height:auto}
.pair-screen{min-height:100dvh;padding:40px 6vw;display:flex;flex-direction:column;justify-content:space-between;gap:40px}.pair-layout{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:8vw;max-width:1250px;margin:auto;width:100%}.pair-layout h1{font-size:clamp(32px,4vw,65px);margin:14px 0 24px;line-height:1.13}.pair-layout p{color:#cadcf7;font-size:16px;max-width:570px}.pair-code{font-size:clamp(45px,6vw,90px);letter-spacing:10px;display:block;margin:20px 0;font-variant-numeric:tabular-nums}.qr-wrap{background:white;padding:30px;border-radius:25px;display:flex;flex-direction:column;align-items:center;gap:15px;box-shadow:0 15px 60px #061d4433}.qr-wrap p{font-size:14px;color:var(--ink);text-align:center}.qr-wrap p:first-child{font-weight:700}.pair-screen footer{font-size:12px;color:#aac3e6}.pair-screen #new-code{margin-top:20px}
#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:var(--blue-deep);color:white;padding:13px 22px;border-radius:12px;box-shadow:0 8px 30px #0a254633;max-width:min(90vw,560px);z-index:100;font-size:13px;text-align:center;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}body[data-page="/lecture"] #toast{bottom:125px}
@keyframes enter{from{transform:translateY(8px);opacity:.5}to{transform:translateY(0);opacity:1}}.daily-layout>*,.reader-layout,.qibla-layout,.control-grid{animation:enter .32s both}.daily-layout>:nth-child(2){animation-delay:.04s}.daily-layout>:nth-child(3){animation-delay:.08s}.daily-layout>:nth-child(4){animation-delay:.12s}.daily-layout>:nth-child(5){animation-delay:.16s}
@media(min-width:1550px){.tv-board{padding-top:35px;padding-bottom:28px;row-gap:28px}.tv-next{padding:36px 44px}.tv .prayer-cell{padding:22px}.tv .brand{font-size:22px}.tv .brand img{width:42px;height:42px}}
@media(max-width:1050px){.desktop-nav{gap:18px}.desktop-nav a{font-size:12px}.desktop-nav svg{display:none}.header-inner{padding:0 28px}.workspace{padding:30px 28px 22px}.app-footer{padding-inline:28px}.daily-layout{grid-template-columns:1.15fr 1fr;gap:18px}.prayer-hero{padding:24px;min-height:340px}.schedule-panel{padding:24px 16px 16px}.resume-panel{padding:26px 24px}.book-object{width:110px;height:160px}.book-object>span{font-size:16px}.resume-copy .button{font-size:11px;padding:12px}.resume-copy h2{font-size:22px}.qibla-card{gap:16px;padding:24px}.mini-compass{width:90px;height:90px}.mini-needle{inset:18px}.mini-needle:after{inset:24px}.reader-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}.reader-toolbar{flex-wrap:wrap;justify-content:center;gap:0}.reading-tools{margin-left:auto}.zoom-control{font-size:0}.zoom-control input{width:55px}.page-choice select{max-width:190px}.audio-player{gap:20px;padding-inline:28px}.tv-board{min-height:600px}.tv-next{padding:20px}.tv .prayer-grid{gap:8px}.tv .prayer-cell{padding:15px 8px}.tv-main{gap:3vw}}
@media(max-width:760px){body{font-size:13px}.app-header{height:70px;border:0;background:var(--ice)}.header-inner{padding:0 22px;gap:12px}.brand{font-size:17px}.brand img{width:34px;height:34px}.desktop-nav{display:none}.settings-link{border:0;background:white;width:39px;height:39px;border-radius:11px}.workspace{padding:15px 20px 24px}.home-heading{margin-bottom:23px}.home-heading h1{font-size:29px;letter-spacing:-1px}.home-heading p{font-size:12px;margin-bottom:4px}.greeting-ar{font-size:23px;padding:0}h1{font-size:29px;letter-spacing:-1px}.bottom-nav{display:flex;position:fixed;left:0;bottom:0;width:100%;height:calc(72px + env(safe-area-inset-bottom));padding:7px 12px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5eaf4;box-shadow:0 -4px 25px #19366a05;z-index:40;justify-content:space-around;align-items:stretch}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:9px;color:#748199;min-width:54px;position:relative}.bottom-nav svg{width:22px;height:22px}.bottom-nav a[aria-current]{color:var(--blue);font-weight:750}.bottom-nav a[aria-current]:before{content:'';position:absolute;top:-7px;width:24px;height:3px;background:var(--blue);border-radius:0 0 3px 3px}.daily-layout{display:flex;flex-direction:column;gap:18px}.prayer-hero{order:0;min-height:342px;border-radius:22px;padding:23px 24px;background-position:60% center}.prayer-hero .next-title h2{font-size:39px}.next-title>span{font-size:25px}.hero-clock{font-size:15px}.hero-bottom{gap:7px}.hero-bottom .date{font-size:11px}.hero-bottom .hijri{font-size:8px}.silent-label{font-size:8px;gap:3px}.silent-label svg{width:12px}.hero-location{font-size:13px}.resume-panel{order:1;min-height:223px;padding:24px;border-radius:22px;gap:8px}.resume-copy h2{font-size:23px}.resume-copy .button{margin-top:20px;font-size:11px;padding:11px 13px;min-height:42px}.book-object{width:104px;height:153px;margin-right:7px}.book-object>span{font-size:16px}.book-object b{font-size:6px}.book-decoration{width:63px;height:63px}.schedule-panel{order:2;padding:25px 18px 16px;border-radius:22px}.schedule-panel .prayer-grid{grid-template-rows:repeat(6,minmax(67px,1fr))}.section-heading{margin:0 6px 18px}.section-heading h2{font-size:20px}.prayer-cell{padding:12px 15px;gap:13px}.prayer-values time{font-size:23px}.qibla-card{order:3;min-height:156px;border-radius:22px;padding:24px;gap:23px}.qibla-card h2{font-size:20px}.qibla-card h2 strong{font-size:18px;margin-left:8px}.tv-invite{order:4;min-height:173px;border-radius:22px;padding:24px}.tv-invite h2{font-size:21px}.tv-invite p{font-size:12px}.board-footer{font-size:9px;flex-direction:column;gap:4px;margin:20px 4px 0}.app-footer{padding:2px 24px calc(99px + env(safe-area-inset-bottom));font-size:10px;flex-direction:column;gap:10px}.app-footer div{gap:18px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading>p:last-child{font-size:12px}.form-grid{grid-template-columns:1fr;gap:17px}.settings-form fieldset{padding:23px 20px}.settings-form legend{font-size:18px}.offset-head,.offset-row{gap:10px;grid-template-columns:.8fr 1fr 1fr}.offset-head{font-size:9px}.offset-row{font-size:12px}.offset-row input{min-width:0;padding:8px!important}.form-actions{align-items:stretch;flex-direction:column;gap:16px}.form-actions>a{text-align:center}.control-grid{grid-template-columns:1fr;gap:18px}.pair-controller,.screen-explainer,.device-list{padding:25px}.pair-controller h2,.screen-explainer h2,.device-list h2{font-size:21px}.device-row{align-items:start}.device-row .text-button{padding:8px}.qibla-layout{grid-template-columns:1fr;gap:18px}.compass-panel{padding:30px 22px}.large-compass{max-width:280px}.qibla-instructions{padding:28px}.qibla-instructions h2{font-size:26px}.prose{padding:25px 22px}.prose h1{font-size:27px}.prose p{font-size:13px}
.reader-header{margin-bottom:20px;gap:12px}.reader-header h1{font-size:30px}.reader-header p{font-size:10px}.reader-modes button{padding:7px 12px;font-size:11px;min-height:34px}.reader-layout{grid-template-columns:1fr;gap:18px}.reader-library{position:static;padding:17px;border-radius:17px}.library-heading{margin-bottom:13px}.search-box{margin-bottom:10px}.surah-list{display:grid;grid-template-columns:1fr 1fr;gap:5px}.surah-item{padding:9px 6px;min-height:53px;gap:8px}.surah-name strong{font-size:11px}.surah-name>span{font-size:11px}.surah-number{font-size:10px;min-width:20px}.surah-item>svg{display:none}.library-note{font-size:10px;margin-top:10px;padding:10px 4px 0}.reader-toolbar{padding:6px;gap:4px;justify-content:space-between}.reader-toolbar .icon-button{width:32px}.page-choice select{font-size:11px;max-width:175px;padding:7px 3px;min-height:40px}.reading-tools{margin-left:0}.zoom-control input{width:42px}.mushaf-panel{padding:12px 6px;border-radius:16px}.quran-text{padding:14px 12px;line-height:2.3}.audio-player{bottom:calc(72px + env(safe-area-inset-bottom));min-height:114px;padding:11px 20px 8px;gap:3px 12px;grid-template-columns:minmax(0,1fr) auto;align-items:center}.player-track{gap:9px;align-self:start;margin-top:5px}.reciter-icon{width:35px;height:35px;border-radius:10px}.reciter-icon svg{width:19px}.player-track strong{font-size:12px}.player-track>div>span{font-size:9px;margin-top:2px}.player-center{display:contents}.playback-buttons{gap:3px;justify-self:end}.playback-buttons .icon-button{width:31px;height:36px}.playback-buttons .icon-button svg{width:17px}.play-button{width:38px;height:38px}.play-button svg{width:20px}.seek-control{grid-column:1/span 2;grid-row:2;width:100%;padding-right:36px;font-size:9px;gap:5px}.repeat-button{grid-column:2;grid-row:2;width:31px;height:27px;padding:0;align-self:center}.repeat-button>span{display:none}.repeat-button svg{width:16px;height:16px}body[data-page="/lecture"] .app-footer{padding-bottom:calc(216px + env(safe-area-inset-bottom))}body[data-page="/lecture"] #toast{bottom:calc(199px + env(safe-area-inset-bottom))}#toast{bottom:calc(89px + env(safe-area-inset-bottom));font-size:12px;width:max-content;max-width:88vw}
.tv-board{height:auto;min-height:100dvh;padding:22px;gap:24px}.tv-top .brand{font-size:13px}.tv-top .brand img{width:29px;height:29px}.tv .tv-actions{gap:5px}.tv .text-button{font-size:10px;padding:8px}.tv .icon-button{width:35px;height:35px}.tv-heading{align-items:start}.tv-place h1{font-size:30px}.tv-place p{font-size:10px}.tv .date{font-size:10px;max-width:150px}.tv .hijri{font-size:8px;max-width:150px}.tv-main{grid-template-columns:1fr;gap:25px}.clock-reading{font-size:23vw;justify-content:center;gap:10px}.tv-clock-caption{justify-content:center;margin:12px 0 0;font-size:11px}.tv-next{padding:20px 24px}.tv .next-title h2{font-size:36px}.tv .next-title>span{font-size:26px}.tv .next-at time{font-size:30px}.tv .countdown-block strong{font-size:24px}.tv .prayer-grid{grid-template-columns:repeat(3,1fr);gap:10px}.tv .prayer-cell{min-height:124px;padding:12px 8px;gap:4px}.tv .prayer-name{font-size:16px}.tv .prayer-ar{font-size:12px}.tv .prayer-values time{font-size:27px}.tv .board-footer{font-size:9px;flex-direction:column;gap:5px}.pair-screen{padding:25px;gap:30px}.pair-layout{grid-template-columns:1fr;gap:30px}.pair-layout h1{font-size:34px}.pair-layout p{font-size:13px}.pair-code{font-size:42px;letter-spacing:8px}.qr-wrap{padding:25px}.pair-screen footer{font-size:10px}}
@media(max-width:370px){.workspace{padding-inline:14px}.header-inner{padding-inline:16px}.prayer-hero{padding:21px}.hero-bottom .silent-label{display:none}.resume-panel{padding:21px}.book-object{width:85px;height:133px;margin-right:0}.resume-copy .button{font-size:10px;gap:4px;padding:10px}.qibla-card{gap:14px;padding:20px}.mini-compass{width:80px;height:80px}.qibla-card h2 strong{font-size:16px}.reader-toolbar{flex-wrap:wrap}.reading-tools{margin-left:auto}.player-track>div>span{font-size:8px}.reciter-icon{display:none}.playback-buttons{gap:2px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


.library-toggle{display:none}
@media(min-width:761px) and (max-height:800px){
 .tv-board{row-gap:15px;padding-top:20px;padding-bottom:18px}
 .tv-next{padding:19px 26px}
 .tv .next-label{margin-bottom:8px}
 .tv .countdown-block{margin-top:12px;padding-top:10px}
 .tv .prayer-cell{padding-block:14px;gap:6px}
}
@media(max-width:760px){
 .library-toggle{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;padding:0;min-height:27px;text-align:left;color:var(--blue);font-size:12px;font-weight:650}
 .library-toggle>span{flex:1}.library-toggle>svg{width:18px;height:18px}.library-toggle>svg:last-child{width:15px;transform:rotate(90deg)}
 .library-toggle[aria-expanded=true]>svg:last-child{transform:rotate(-90deg)}
 .reader-library.collapsed #library-content{display:none}
 .reader-library:not(.collapsed) #library-content{margin-top:20px}
}

.control-grid>*{min-width:0}
#pair-code{min-width:0;width:100%}
.settings-form fieldset{min-width:0}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid label{min-width:0}
body[data-page="/salat"] .resume-panel{display:none}
body[data-page="/salat"] .schedule-panel{grid-row:1}
body[data-page="/salat"] .prayer-hero{min-height:540px}
body[data-page="/salat"] .prayer-hero .next-title h2{font-size:52px}
body[data-page="/salat"] .prayer-hero .next-at time{font-size:44px}
@media(max-width:760px){
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .control-grid{grid-template-columns:minmax(0,1fr)}
 body[data-page="/salat"] .prayer-hero{min-height:342px}
 body[data-page="/salat"] .prayer-hero .next-title h2{font-size:39px}
 body[data-page="/salat"] .prayer-hero .next-at time{font-size:34px}
}

body[data-page="/salat"] .greeting-ar{display:none}
.surah-name>span{color:var(--muted)}
@media(max-width:760px){
 .hero-bottom .hijri{font-size:10px;max-width:250px}
 .hero-bottom .silent-label{display:none}
 .bottom-nav a{font-size:10px}
}

/* Lecteur complet : navigation et conservation locale. */
.library-scroll{max-height:440px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.bookmarks-details,.offline-details{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.bookmarks-details summary,.offline-details summary{font-size:12px;font-weight:650;cursor:pointer;padding:5px 2px}
.bookmarks-details summary span{color:var(--blue);margin-left:8px}
.bookmark-item,.verse-result{display:flex;flex-direction:column;gap:3px;text-align:left;width:100%;border:0;border-radius:8px;padding:10px;background:transparent}
.bookmark-item:hover,.verse-result:hover{background:var(--ice)}
.bookmark-item strong,.verse-result strong{font-size:12px;font-weight:650}
.bookmark-item span,.verse-result span{font-size:10px;color:var(--muted)}
#bookmark-list{max-height:250px;overflow:auto;margin-top:8px}
#bookmark-list>p,.offline-details>p{font-size:11px;color:var(--muted);margin:10px 0;line-height:1.7}
.offline-details .button{font-size:11px;min-height:40px;padding:9px 11px;width:100%}
.offline-details .text-button{padding:8px 2px;font-size:10px}
.offline-details progress{width:100%;height:6px;accent-color:var(--blue);margin:8px 0}
#verse-results{margin-top:12px;border-top:1px solid var(--line);padding-top:15px}
#verse-results h3{font-size:13px}
#verse-result-count{font-size:10px;color:var(--muted);margin:7px 0}
.page-number-label{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}
.page-number-label input:not([type=range]){width:65px;min-width:0;padding:5px 4px;min-height:36px;text-align:center;font-size:13px;font-weight:650;background:var(--ice);border:0}
.page-number-label>span{font-size:10px;color:var(--muted)}
.juz-choice{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.juz-choice select{min-height:36px;font-size:12px;padding:5px 3px;border:0;background:var(--ice)}
.reading-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 4px;color:var(--muted);font-size:12px}
.reading-context strong{font-weight:650;color:var(--ink)}
.reading-context>span{white-space:nowrap;font-size:10px}
.page-bottom-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.page-bottom-navigation .button{font-size:11px;padding:10px 12px;min-height:42px}
.page-bottom-navigation>span{font-size:11px;color:var(--muted);white-space:nowrap}
.page-load-error{padding:40px 20px;text-align:center;color:var(--muted)}
.page-load-error p{margin-bottom:20px;font-size:13px}
.verse-found{background:#e5edff;border-radius:5px;outline:2px solid #aac4ff;outline-offset:5px}
.player-options{display:flex;justify-self:end;gap:4px}
.player-options .repeat-button{padding:0 9px;font-size:11px}
#audio-status:not(:empty){color:var(--blue);font-size:10px}
@media(min-width:761px){.reader-library{position:sticky;top:16px}.reader-toolbar{gap:5px}.zoom-control{font-size:0}}
@media(max-width:1050px) and (min-width:761px){.player-options .repeat-button>span{display:none}.player-options .repeat-button{width:38px;padding:0}}
@media(max-width:760px){
 .library-scroll{max-height:330px}.surah-list{grid-template-columns:1fr 1fr}
 .reader-toolbar{gap:6px;justify-content:space-between;flex-wrap:wrap}
 .page-number-label{font-size:10px;gap:3px}.page-number-label input:not([type=range]){width:53px;font-size:12px}
 .page-navigation .icon-button{width:26px}.juz-choice{font-size:10px;gap:3px}
 .juz-choice select{font-size:11px;max-width:47px}
 .reading-tools{margin-left:auto}.reading-tools .icon-button{width:29px}
 .page-bottom-navigation{gap:6px}.page-bottom-navigation .button{padding:9px;font-size:10px;gap:5px}.page-bottom-navigation .button svg{width:13px}
 .page-bottom-navigation>span{font-size:9px}
 .player-options{grid-column:2;grid-row:2;gap:2px}
 .player-options .repeat-button{width:25px;height:27px;padding:0}
 .seek-control{padding-right:57px}.reading-context{font-size:11px;margin:14px 3px}
 .surah-name strong{overflow-wrap:anywhere}
}


.access-page{min-height:100dvh;max-width:600px;margin:auto;padding:40px 24px;display:flex;flex-direction:column;gap:60px}.access-card h1{font-size:clamp(2rem,6vw,3rem);line-height:1.1;letter-spacing:-.04em}.access-card p{line-height:1.7;color:var(--muted,#66738a)}.access-card form{display:grid;gap:16px;margin-top:32px}.access-card input{width:100%;padding:16px;font:inherit;border:1px solid #c9d5ec;border-radius:12px;background:white}.access-page .app-footer{margin-top:auto;padding:20px 0;gap:20px}.quran-text .surah-heading{font-family:NotoArabic,sans-serif;font-size:.5em;color:#3563d9;padding:18px 0;border-bottom:1px solid #dce3f0;margin:20px 0;line-height:1.5}.legal-links{display:flex;gap:16px;font-size:11px}.legal-links a{color:inherit}

@media(min-width:761px){.reader-library{max-height:calc(100dvh - 155px);overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.library-scroll{max-height:min(360px,38dvh)}}

.tv-download{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.tv-download h3{font-size:17px;margin-bottom:12px}.tv-download .field-help{font-size:11px;margin-top:16px}.tv-download .text-link{display:inline-block;margin-top:12px}

.tv-home{grid-column:1/-1;min-height:125px}.sunna-tools{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.sunna-tools input{flex:1;min-width:180px}.sunna-tools input,.sunna-tools select{border:1px solid var(--line);background:white;border-radius:10px;padding:13px}.sunna-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.sunna-tabs button{border:0;background:none;padding:13px 0;color:var(--muted);border-bottom:3px solid transparent}.sunna-tabs button[aria-pressed=true]{border-color:var(--blue);color:var(--blue);font-weight:750;background:none}.sunna-list{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.sunna-entry{background:white;border-radius:20px;padding:26px;min-width:0}.sunna-entry header{display:flex;gap:16px;justify-content:space-between;align-items:center}.sunna-entry h2{font-size:19px}.sunna-entry header p,.sunna-meta,.sunna-disclaimer{font-size:12px;color:var(--muted)}.sunna-arabic{font-family:var(--arabic);font-size:28px;line-height:2.3;text-align:right;margin:24px 0;overflow-wrap:anywhere}.sunna-entry footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.sunna-entry footer a{color:var(--blue);font-size:12px;text-decoration:underline;text-underline-offset:3px}.sunna-actions{display:flex;gap:8px;align-items:center}.sunna-counter{background:var(--blue);color:white;border:0;border-radius:12px;min-width:105px;padding:12px 16px;font-variant-numeric:tabular-nums}.sunna-entry details{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.sunna-entry summary{cursor:pointer;font-size:12px;color:var(--muted);padding:5px 0}.sunna-context{font-family:var(--arabic);font-size:19px;line-height:2.2;margin-top:18px;overflow-wrap:anywhere}.sunna-empty{padding:35px 0}.sunna-disclaimer{max-width:700px;margin-bottom:24px}.sunna-result-count{font-size:12px;color:var(--muted);margin-bottom:15px}.sunna-favorite[aria-pressed=true]{background:#e6edfd}.sunna-entry button:disabled{opacity:.7}.sunna-tools .button[aria-pressed=true]{color:white;background:var(--blue-deep)}@media(max-width:760px){.sunna-list{grid-template-columns:1fr;gap:16px}.sunna-entry{padding:23px 20px}.sunna-arabic{font-size:26px}.sunna-tabs{gap:22px}.sunna-tabs button{font-size:13px}.sunna-tools{gap:8px}.sunna-tools input{width:100%;flex-basis:100%}.sunna-tools select{flex:1;min-width:0}.sunna-tools .button{font-size:12px;padding:10px}.tv-home{order:5}.sunna-entry h2{font-size:18px}}

.update-ready{position:fixed;bottom:100px;left:5%;right:5%;padding:16px 20px;border-radius:14px;z-index:999;background:#122e61;color:white;box-shadow:0 8px 40px #122e6130;display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:13px}.update-ready .button{white-space:nowrap}@media(max-width:760px){.update-ready{bottom:calc(200px + env(safe-area-inset-bottom));font-size:11px;flex-direction:column;gap:10px}}

.prose a.button{color:#fff;text-decoration:none}

.settings-preview{max-width:900px;background:#e5edfd;border-radius:20px;padding:22px 26px;margin:0 0 20px}.settings-preview h2{font-size:17px;margin-bottom:14px}.preview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.preview-grid>div{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:12px;padding:12px}.preview-grid span{font-size:11px;color:var(--muted)}.preview-grid time{font-size:20px;font-weight:700;letter-spacing:-.5px}.settings-preview .field-help{margin-top:12px}
.place-search{position:relative}.place-search>label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.place-row{display:flex;gap:12px}.place-row input{flex:1;min-width:0}.city-results{list-style:none;margin:8px 0 0;padding:6px;border:1px solid #d4ddeb;border-radius:12px;background:#fff;max-height:320px;overflow:auto}.city-results button{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;background:none;text-align:left;padding:12px;border-radius:8px;font-size:14px;color:var(--ink)}.city-results button:hover,.city-results button:focus{background:#e9effc}.city-results button span{font-size:12px;color:var(--muted)}.city-results .empty{padding:12px;font-size:12px;color:var(--muted)}.place-current{display:flex;flex-direction:column;gap:4px;margin:18px 0}.place-current span{font-size:12px;color:var(--muted)}.place-current strong{font-size:16px}.advanced summary{cursor:pointer;font-size:12px;color:var(--blue);padding:8px 0}.advanced .form-grid{margin-top:14px}
@media(max-width:760px){.preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.place-row{flex-direction:column}}

.consent{flex-direction:row!important;align-items:flex-start;white-space:normal!important;font-weight:400!important;font-size:13px!important;opacity:1}.consent input{width:auto;margin:3px 8px 0 0;flex:none}.consent span{display:block}
