/* Match the application surface through the status area, setup, and launch. */
html[data-athkarz-theme=light] { --entry-surface:#f1f0e9; --entry-ink:#18362b; --entry-gold:#775428; --entry-halo:#e0d3a452; }
html[data-athkarz-theme=evening] { --entry-surface:#ecebe3; --entry-ink:#18362b; --entry-gold:#765225; --entry-halo:#dcc49359; }
html[data-athkarz-theme=dark] { --entry-surface:#081b17; --entry-ink:#f7e8c4; --entry-gold:#e8bd79; --entry-halo:#4b8d6a46; }
html[data-entry=app] { background:var(--entry-surface,#f1f0e9); }
html[data-entry=app] body { background:var(--entry-surface,#f1f0e9); }
html[data-entry=app] { --safe-top:var(--sat); }
html[data-entry=app] .app-content { inset-block-start:var(--safe-top);padding-block-start:14px; }
html[data-entry=app] .setup { inset-block-start:var(--safe-top); }
.entry-splash { position:fixed;inset:0;z-index:1000;display:grid;place-items:center;
  color:var(--entry-ink,#18362b);background:var(--entry-surface,#f1f0e9);transition:opacity .34s cubic-bezier(.2,.75,.3,1); }
.entry-splash.entry-dismissed { opacity:0;pointer-events:none; }
.splash-center { position:relative;isolation:isolate;display:grid;justify-items:center;gap:6px;
  animation:splash-arrive .62s cubic-bezier(.22,.77,.27,1) both;text-align:center;padding:16px; }
.splash-center img { border-radius:23px;box-shadow:0 12px 35px #10322747; }
.splash-title { font-family:system-ui,sans-serif;font-size:40px;line-height:1.05;letter-spacing:-.07em;font-weight:750; }
.splash-title span,.splash-ar { color:var(--entry-gold,#775428); }
.splash-ar { font-family:'Athkarz Quran',serif;font-size:30px;line-height:1.12; }
.splash-ring { position:absolute;z-index:-1;top:56px;left:50%;width:275px;height:275px;border:1px solid var(--entry-halo);
  border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,var(--entry-halo),transparent 66%);
  animation:splash-halo .85s cubic-bezier(.21,.67,.22,1) both; }
@keyframes splash-arrive { from { opacity:0;transform:translateY(11px) scale(.9); } to { opacity:1;transform:none; } }
@keyframes splash-halo { from { opacity:0;transform:translate(-50%,-50%) scale(.74); } to { opacity:1;transform:translate(-50%,-50%) scale(1); } }

html:not([data-entry=app]) body { position:static;overflow:auto;min-height:100dvh;height:auto;background:#081b17;color:#f6edda; }
html:not([data-entry=app]) { height:auto;overflow:auto;background:#081b17; }
#install-screen { --entry-warm:#f1d39a;--entry-muted:#c3d6cb;--entry-outline:#a9c6b84d;position:relative;isolation:isolate;
  min-height:100dvh;padding:calc(var(--sat) + 21px) max(18px,env(safe-area-inset-left),env(safe-area-inset-right))
  calc(var(--sab) + 24px);background:radial-gradient(ellipse at 75% -5%,#23534460,transparent 52%),#081b17; }
#install-screen::before { content:"";position:absolute;z-index:-1;inset:0 0 auto;height:min(76dvh,590px);
  background:linear-gradient(180deg,#061a168a 0%,#061a16a3 43%,#081b17 100%),url(medina-dusk.webp) center 57%/cover; }
.entry-mast,.install-layout,.entry-help,.entry-recovery,#entry-message { max-width:940px;margin-inline:auto; }
.entry-mast { display:flex;align-items:center;gap:9px;font:750 24px/1 system-ui,sans-serif;letter-spacing:-.07em;
  padding-block-end:17px; }
.entry-mast>img { border-radius:11px;box-shadow:0 5px 17px #020e09a0; }
.entry-period { color:var(--entry-warm); }
.entry-mast button { margin-inline-start:auto; }
#install-screen button { color:#fbf2df;border:1px solid var(--entry-outline);background:#132f28ba;border-radius:13px;
  min-height:44px;padding:8px 12px;font:650 14px/1.25 system-ui,sans-serif; }
#install-screen button:focus-visible,.app-tour button:focus-visible { outline:2px solid #e9bb6f;outline-offset:3px; }
.install-layout { display:grid;align-items:center;gap:18px;max-width:940px; }
.install-copy { padding:13px 2px 2px; }
.install-copy p { color:var(--entry-muted);margin:8px 0 0;max-width:34ch;line-height:1.45; }
.install-copy p.entry-ar { margin:0;color:var(--entry-warm);font:400 32px/1.15 'Athkarz Quran',serif; }
#install-title { color:#fff8e7;margin:7px 0 8px;font:400 clamp(37px,8.2vw,67px)/1.02 Georgia,serif;letter-spacing:-.048em;max-width:12ch; }
#install-screen[dir=rtl] #install-title { font-family:'Athkarz Quran',serif;line-height:1.25;letter-spacing:0; }
.install-copy p.entry-platform { color:#e4d8bc;font-size:14px; }
#install-screen #entry-native-install { display:block;color:#122b20;background:#edcc91;border-color:#f2dbb2;margin:13px 0 0; }
.install-guide { min-width:0;border:1px solid var(--entry-outline);background:linear-gradient(146deg,#b6dfc61a 0%,#102d25db 67%),#102b24a8;
  border-radius:24px;overflow:hidden;box-shadow:0 16px 46px #010e0a75,inset 0 1px #f6ffe42e; }
.install-illustration { min-height:154px;position:relative;overflow:hidden;display:grid;place-items:center;isolation:isolate;
  background:radial-gradient(ellipse at 50% 57%,#4b896a75,#102e267d 57%,transparent); }
.install-illustration>img { border-radius:20px;box-shadow:0 9px 23px #041610; }
.entry-orbit { position:absolute;left:50%;top:53%;width:169px;aspect-ratio:1;border-radius:50%;border:1px solid #d4e5b44a;
  z-index:-1;transform:translate(-50%,-50%) scaleY(.67) rotate(-19deg); }
.entry-orbit.outer { width:min(100%,243px);border-color:#d4e5b428; }
.entry-art-panel { position:relative;display:grid;place-items:center;gap:4px;min-width:145px;padding:12px 13px;border-radius:23px;
  border:1px solid #e3ecbb64;background:linear-gradient(144deg,#dce9c432,#6c96734f 50%,#0b2b268a);backdrop-filter:blur(11px);
  box-shadow:0 17px 36px #031a13a3,inset 0 1px #f6ffe345;color:#fff2d4;font-size:13px;font-weight:680; }
.entry-art-symbol { display:grid;place-items:center;min-height:52px; }
.entry-art-symbol svg { width:37px;height:37px;color:var(--entry-warm); }
.entry-art-symbol img { border-radius:15px;width:54px;height:54px; }
.entry-spark { position:absolute;left:calc(50% + 82px);top:25%;width:6px;height:6px;border-radius:50%;background:#ffe4ac;box-shadow:0 0 13px 2px #efcb85a3; }
.install-step { padding:4px 15px 0;min-height:114px; }
.install-step h2 { margin:0;color:#fff5df;font:400 clamp(25px,6vw,35px)/1.13 Georgia,serif;letter-spacing:-.027em; }
.install-step p { color:var(--entry-muted);margin:5px 0 0;line-height:1.38;font-size:14px; }
.install-controls { display:grid;grid-template-columns:1fr auto 1fr;gap:5px;align-items:center;padding:3px 12px 12px; }
.install-controls #entry-back { grid-column:1;justify-self:start; }
.install-controls #entry-next { grid-column:3;justify-self:end;background:#edcc91;color:#112a21;border-color:#f3dba6; }
.entry-indicators { display:flex;gap:0;align-items:center; }
#install-screen .entry-indicators button { width:31px;min-height:44px;display:grid;place-items:center;border:0;background:none;padding:0; }
.entry-indicators button span { height:6px;width:6px;border-radius:50%;background:#bdc6ad79; }
.entry-indicators button[aria-current=step] span { width:17px;border-radius:5px;background:#ecc889; }
.entry-help,.entry-recovery,#entry-message { color:var(--entry-muted);font-size:13px;line-height:1.42; }
.entry-help:not(:empty),.entry-recovery { margin-block-start:13px; }
.entry-recovery { border-color:var(--entry-outline); }
.entry-recovery summary { min-height:44px;display:flex;align-items:center; }
.entry-recovery p { color:inherit; }
#entry-message:empty,.entry-help:empty { display:none; }
@media(min-width:700px) {
  #install-screen { padding-inline:35px; }
  .install-layout { grid-template-columns:1fr .89fr;gap:35px;padding-top:8vh; }
  .install-illustration { min-height:220px; }
  .install-step { padding-inline:21px; }
}
@media(max-width:360px) {
  #install-screen { padding-inline:13px; }
  .install-illustration { min-height:125px; }
  .entry-mast { padding-block-end:9px; }
}

.app-tour { max-width:min(92vw,442px);width:100%;max-height:calc(100dvh - var(--sat) - var(--sab) - 20px);
  border:1px solid var(--line);border-radius:24px;padding:0;color:var(--ink);background:var(--card);box-shadow:0 22px 60px #0518128a;
  overflow:auto; }
.app-tour::backdrop { background:#071d16a8;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px); }
.app-tour[open] { animation:tour-reveal .33s cubic-bezier(.22,.78,.28,1) both; }
@keyframes tour-reveal { from { opacity:0;transform:translateY(14px) scale(.96); } to { opacity:1;transform:none; } }
.tour-scene { display:grid;place-items:center;isolation:isolate;position:relative;min-height:165px;color:#fff4db;
  background:linear-gradient(90deg,#082c239e,#08231d68),url(medina-dusk.webp) center 56%/cover; }
.tour-scene[data-tour-art=read] { background-image:linear-gradient(90deg,#082c239e,#08231d68),url(makkah-dusk.webp); }
.tour-art-card { width:min(74%,238px);display:grid;grid-template-columns:35px 1fr;gap:3px 9px;
  padding:13px;border-radius:18px;border:1px solid #eef6d967;background:#18382cc4;backdrop-filter:blur(10px);
  box-shadow:0 12px 23px #03180fad,inset 0 1px #fff5;animation:tour-reveal .44s cubic-bezier(.22,.78,.28,1) both; }
.tour-icon { display:grid;place-items:center;grid-row:span 2;border-radius:10px;background:#d0e2af2a;color:#ffe2a2; }
.tour-icon svg { width:21px;height:21px; }
.tour-art-card small { color:#e4dbbb;font-size:11px; }
.tour-art-progress { grid-column:1/-1;height:4px;background:#e7f1d446;border-radius:9px;margin-block-start:5px; }
.tour-art-progress i { display:block;height:100%;width:58%;background:#f7d995;border-radius:9px; }
.tour-copy { padding:16px; }
.tour-copy h2 { margin:0;font-family:Georgia,serif;outline:none; }
.tour-copy p { color:var(--muted);margin:7px 0;line-height:1.5;font-size:14px; }
.tour-progress { display:flex;gap:5px;margin:12px 0 8px; }
.tour-progress i { width:6px;height:6px;border-radius:6px;background:var(--line); }
.tour-progress .active { width:18px;background:var(--green); }
.tour-actions { display:flex;gap:5px;flex-wrap:wrap;justify-content:end; }
.tour-actions button { min-height:44px;padding-inline:9px;font-size:14px; }
.app-tour-replay { margin-block:10px; }
@media(prefers-reduced-motion:reduce) {
  .entry-splash,.splash-center,.splash-ring,.app-tour[open],.tour-art-card { animation:none!important;transition:none!important; }
}

/* Reader controls stay with the Arabic text when the page scrolls. */
.quran-reader .reader-toolbar {z-index:6;gap:5px;min-height:55px;}
.quran-reader .reader-toolbar .reader-quiet {margin-inline-start:0;}
.quran-reader .reader-toolbar .glass-icon {height:42px;min-height:42px;width:42px;flex:none;}
.quran-reader .reader-toolbar select {margin-inline-start:auto;}
.quran-player {position:sticky;top:59px;z-index:5;margin:6px 0 10px;padding:7px 8px 6px;border-radius:16px;
  color:var(--ink);background:var(--glass);border:1px solid var(--edition-edge);box-shadow:0 6px 18px #09231921;
  backdrop-filter:blur(19px) saturate(140%);-webkit-backdrop-filter:blur(19px) saturate(140%);}
.quran-player-main {display:grid;grid-template-columns:44px minmax(0,1fr) 44px 57px;gap:5px;align-items:center;}
.quran-player-main :is(button,select) {min-height:43px;margin:0;}
.quran-player-main button {display:grid;place-items:center;width:44px;padding:0;}
.quran-player-main .recitation-play {color:#fff9ec;background:#1b5948;border:1px solid #b0d7bb62;}
body.dark .quran-player-main .recitation-play {background:#a9d6bb;color:#102c20;}
.quran-player-main .recitation-repeat[aria-pressed=true] {color:var(--green);background:color-mix(in srgb,var(--green) 16%,var(--card));}
.quran-player-main select {font-size:12px;padding:3px 5px;min-height:30px;width:100%;}
.quran-player-description {min-width:0;}
.quran-player-description select {font-weight:700;background:none;border:0;padding-inline-start:4px;}
#quranPlaybackStatus {display:block;color:var(--muted);font-size:11px;line-height:1.25;padding-inline:4px;}
#quranAudioProgress {display:block;width:100%;height:3px;border:0;margin-top:6px;appearance:none;background:var(--line);border-radius:6px;overflow:hidden;accent-color:var(--green);}
#quranAudioProgress::-webkit-progress-bar {background:var(--line);}
#quranAudioProgress::-webkit-progress-value {background:var(--green);}
#quranAudioProgress::-moz-progress-bar {background:var(--green);}
.quran-reading-options {display:flex;flex-wrap:wrap;gap:4px;}
.quran-reading-options button {min-height:44px;font-size:13px;padding:4px 9px;}
.quran-reading-options button[aria-pressed=true] {background:color-mix(in srgb,var(--green) 14%,var(--card));color:var(--green);}
.quran-reader .ayah {position:relative;scroll-margin-top:131px;transition:background .21s;}
.quran-reader .ayah-tools .ayah-play {width:41px;padding:0;}
.quran-reader .ayah-playing {background:color-mix(in srgb,var(--green) 9%,var(--card));}
.quran-reader .ayah-playing::before {content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--green);}
[dir=rtl] .quran-reader .ayah-playing::before {inset:0 0 0 auto;}
.quran-reader .ayah-playing .ayah-play {color:var(--green);background:color-mix(in srgb,var(--green) 16%,var(--card));}
.ayah-transliteration {font:500 calc(15px * var(--reading-scale))/1.65 system-ui,sans-serif;color:var(--muted);
  margin:8px 0;user-select:text;-webkit-user-select:text;}
.quran-quiet :is(.quran-reading-options,.ayah-jump,.ayah-place,.ayah-tools button[aria-label="Bookmark ayah"],.ayah-tools button[aria-label="احفظ الآية"],.ayah-transliteration,.ayah-meaning,.reader-credit,#quranType) {display:none;}
.quran-quiet .quran-title {margin-block:12px;}
.quran-quiet .quran-title .ar {font-size:40px;}
.quran-search-row {display:flex;align-items:stretch;gap:6px;margin-bottom:10px;}
.quran-search-row input {margin:0;min-width:0;}
.quran-search-row button {flex:none;font-size:13px;padding-inline:9px;}
.edition-mast-actions {display:flex;align-items:center;gap:5px;}
.app-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.reader-toolbar .athkarz-quick-find,.reader .toolbar .athkarz-quick-find {flex:none;min-height:42px;padding:7px;}
.ayah-finder {width:min(100% - 24px,500px);max-width:none;max-height:calc(100dvh - var(--sat) - var(--sab) - 24px);
  background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:22px;padding:16px;overflow:auto;
  box-shadow:0 18px 60px #06201883;}
.ayah-finder[open] {animation:tour-reveal .27s cubic-bezier(.22,.78,.28,1) both;}
.ayah-finder::backdrop {background:#041a159e;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);}
.finder-header {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.finder-header h2 {margin:0;font:400 clamp(27px,6vw,37px)/1.15 Georgia,serif;letter-spacing:-.03em;}
.finder-header button {border-radius:50%;font-size:24px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;}
.finder-form {display:flex;align-items:end;gap:8px;margin:9px 0;}
.finder-form .field {flex:1;min-width:0;margin:0;}
.finder-form button {min-height:46px;}
.ayah-finder input {min-height:46px;font-size:16px;}
.finder-mic {display:inline-flex;align-items:center;gap:6px;margin:4px 0;}
.finder-mic[aria-pressed=true] {background:#713b32;color:#fff9ea;}
.finder-privacy,.finder-status {font-size:13px;color:var(--muted);display:block;margin:5px 0;}
.finder-results {display:grid;gap:6px;}
.finder-results .finder-result {display:grid;gap:3px;justify-items:stretch;text-align:start;border-radius:13px;
  background:color-mix(in srgb,var(--green) 5%,var(--card));padding:8px 10px;min-height:47px;}
.finder-result strong {color:var(--green);font-size:14px;}
.finder-result span[lang=ar] {display:block;text-align:right;max-height:8.1em;overflow:hidden;
  font-family:'Athkarz Quran',serif;font-size:25px;line-height:1.6;}
.finder-result small {color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
@media(max-width:360px) {
  .reader-toolbar button:not(.glass-icon) {font-size:12px;padding-inline:6px;}
  .quran-player-main {grid-template-columns:44px minmax(0,1fr) 44px 48px;gap:4px;}
}
@media(prefers-reduced-motion:reduce) {.ayah-finder[open] {animation:none;}}
html[data-entry=app] {color-scheme:light;}
html[data-entry=app][data-athkarz-theme=dark] {color-scheme:dark;}
.quran-reading-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.quran-reading-options button {padding-inline:4px;line-height:1.2;}
.quran-reader .quran-title {margin:16px 0 11px;}
.quran-reader .quran-title small {display:block;margin-top:3px;}
.quran-reader .ayah-jump {margin:4px 0 13px;align-items:center;}
.quran-reader .ayah-jump .field {display:flex;align-items:center;max-width:none;gap:7px;}
.quran-reader .ayah-jump .field input {width:min(75px,22vw);margin:0;}
@media(max-width:360px) {
  .quran-reading-options button {font-size:12px;}
  .quran-reader .quran-title .ar {font-size:39px;}
}

.entry-version {max-width:940px;margin:14px auto 0;color:#abbbaf;font-size:12px;}
.app-release {color:var(--muted);font-size:13px;margin:8px 0 16px;}
.family-segments {margin:10px 0 13px;}
.family-fields {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.family-fields .field {min-width:0;}
.family-goal .app-progress,.family-parent .app-progress {margin:10px 0;}
.family-goal button+button {margin-inline-start:4px;}
.family-code,.family-form textarea {overflow-wrap:anywhere;}
#familyCode {font:14px/1.45 ui-monospace,monospace;}
#familyFeedback {color:var(--muted);font-size:13px;}
#familyFeedback:empty {display:none;}
.family-parent h3 {margin:5px 0 1px;}
@media(max-width:375px) {
  .personal-segments {gap:3px;}
  .personal-segments button {min-width:0;padding-inline:5px;font-size:12px;}
}

/* ---------- Browser entry, build 11: device-aware install page ---------- */
#install-screen.entry2{position:relative;display:block;min-height:100dvh;margin:0;padding:0;max-width:none;overflow:hidden;background:#f5f0e4;color:#18201d;font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;isolation:isolate}
#install-screen.entry2::before,#install-screen.entry2::after{content:none}
.sky.entry2-scene{position:absolute;inset:0 0 auto 0;top:0;left:0;width:100%;height:430px;translate:none;z-index:-1}
.entry2-scene .sky-skyline{bottom:26px}
.entry2-scene .sky-fade{height:120px;background:linear-gradient(180deg,#0000,#f5f0e4 78%)}
.entry2-top{display:flex;align-items:center;gap:10px;padding:max(16px,var(--sat)) 20px 0;color:#fff8e6}
.entry2-top img{border-radius:9px}
.entry2-top span{font-size:24px;font-weight:700;letter-spacing:-.06em}
.entry2-top i{color:#d5b06c;font-style:normal}
.entry2-top button{margin-inline-start:auto;min-height:38px;padding:6px 14px;border-radius:99px;border:1px solid #fff4dc55;background:#0b241d59;color:#fffaf0;font-size:14px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.entry2-hero{padding:26px 22px 0;min-height:268px;color:#fffaf0;text-shadow:0 1px 14px #0009;max-width:560px}
.entry2-hero p[lang=ar]{margin:0;font:400 34px/1.3 'Athkarz Quran',serif;color:#ffe9b0}
.entry2-hero h1{margin:6px 0 10px;font:500 clamp(28px,7.6vw,38px)/1.12 Georgia,serif;letter-spacing:-.025em;max-width:13em}
.entry2-hero p{margin:0;font-size:16px;max-width:22em;opacity:.95}
.entry2-sheet{position:relative;margin:0 auto;padding:0 18px calc(34px + var(--sab));max-width:560px}
.entry2-ask{margin:0 4px 14px;font:500 24px/1.2 Georgia,serif;letter-spacing:-.02em}
.entry2-choose{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.entry2-choose button{display:grid;justify-items:center;gap:14px;padding:26px 10px 20px;border-radius:24px;border:1px solid #a7804d59;background:#fffdf7;color:#286d57;box-shadow:0 1px 0 #a7804d1a,0 12px 26px #10231d14;font:inherit}
.entry2-choose svg{width:62px;height:108px}
.entry2-choose strong{font-size:17px;color:#18201d;letter-spacing:-.02em}
.entry2-for{display:flex;align-items:center;gap:10px;margin:0 2px 12px;font-size:15px;font-weight:650}
.entry2-for span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #a7804d59;background:#fffdf7;color:#286d57}
.entry2-for svg{width:13px;height:22px}
.entry2-for button{margin-inline-start:auto;min-height:36px;padding:4px 12px;border:0;background:none;color:#286d57;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a7804d77}
.entry2-install{display:block;width:100%;min-height:58px;margin:0 0 10px;border:0;border-radius:18px;background:#286d57;color:#fff;font:650 18px/1 inherit;box-shadow:0 12px 24px #286d5740}
.entry2-or{margin:0 4px 10px;font-size:14px;color:#5d665f}
.entry2-steps{list-style:none;margin:0;padding:2px 16px;counter-reset:step;border-radius:22px;border:1px solid #a7804d42;background:#fffdf7;box-shadow:0 1px 0 #a7804d1a,0 10px 24px #10231d0d}
.entry2-steps li{counter-increment:step;display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #e3dac6}
.entry2-steps li:last-child{border-bottom:0}
.entry2-steps h3{margin:0 0 3px;font-size:17px;letter-spacing:-.02em;line-height:1.25}
.entry2-steps h3::before{content:counter(step) ". ";color:#a7804d;font-family:Georgia,serif}
[dir=rtl] .entry2-steps h3::before{content:counter(step,arabic-indic) ". "}
.entry2-steps p{margin:0;font-size:14.5px;color:#5d665f;line-height:1.45}
.entry2-art{width:104px;height:58px}
.entry2-art .soft{fill:#f1ebdc;stroke:#e3dac6}.entry2-art .dim{fill:#d8cfb9}.entry2-art .pick{fill:#286d5718;stroke:#286d5766}
.entry2-art .hot{stroke:#286d57;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.entry2-art .hot.fill{fill:#286d57;stroke:none}
.entry2-art .pick,.entry2-art .hot{animation:entry2-pulse 2.4s ease-in-out infinite}
@keyframes entry2-pulse{0%,100%{opacity:1}50%{opacity:.45}}
.entry2-inside{margin:26px 4px 0}
.entry2-inside h2,.entry2-done h2{margin:0 0 8px;font:500 21px/1.2 Georgia,serif}
.entry2-inside ul{list-style:none;margin:0;padding:0}
.entry2-inside li{position:relative;padding:9px 0 9px 26px;font-size:15.5px;border-bottom:1px solid #e3dac6}
[dir=rtl] .entry2-inside li{padding:9px 26px 9px 0}
.entry2-inside li:last-child{border-bottom:0}
.entry2-inside li::before{content:"";position:absolute;inset-inline-start:0;top:14px;width:14px;height:14px;background:#a7804d;-webkit-mask:var(--girih-mask) center/14px 14px;mask:var(--girih-mask) center/14px 14px}
.entry2-done{padding:22px 20px;border-radius:22px;border:1px solid #a7804d42;background:#fffdf7}
.entry2-done p{margin:0;color:#5d665f}
.entry2-move{margin:22px 4px 0;font-size:14.5px}
.entry2-move summary{min-height:40px;font-weight:650;color:#286d57}
.entry2-move button{min-height:44px;padding:8px 16px;border-radius:13px;border:1px solid #a7804d59;background:#fffdf7;color:#286d57;font:inherit;font-weight:650}
.entry2-version{margin:26px 4px 0;font-size:12.5px;color:#8a8f86}
@media(prefers-reduced-motion:reduce){.entry2-art .pick,.entry2-art .hot{animation:none}}
/* Win over the older install-screen button styles, and keep the arcade clear of the headline */
.sky.entry2-scene{height:480px}
.entry2-hero{min-height:404px}
#install-screen.entry2 .entry2-choose button{background:#fffdf7;color:#286d57;border:1px solid #a7804d59;border-radius:24px;min-height:0;width:auto;box-shadow:0 1px 0 #a7804d1a,0 12px 26px #10231d14}
#install-screen.entry2 .entry2-choose strong{color:#18201d}
#install-screen.entry2 .entry2-for button{background:none;border:0;box-shadow:none;color:#286d57;width:auto;min-height:36px;padding:4px 12px;border-radius:0}
#install-screen.entry2 .entry2-top button{background:#0b241d59;border:1px solid #fff4dc55;color:#fffaf0;width:auto;box-shadow:none}
#install-screen.entry2 .entry2-install{background:#286d57;color:#fff;border:0;width:100%}
#install-screen.entry2 .entry2-move button{background:#fffdf7;color:#286d57;border:1px solid #a7804d59;width:auto}

/* ---------- Build 14: launch, the mark opens like a book ---------- */
#intro.entry-splash{background:#10231D;color:#F5F0E4}
.launch{display:grid;justify-items:center;gap:20px;padding:16px;transition:transform .36s cubic-bezier(.3,0,.2,1)}
.entry-splash.entry-dismissed .launch{transform:translateY(-16px) scale(1.05)}
.launch-mark{width:122px;height:122px;overflow:visible}
.launch-names{width:min(66vw,262px);height:auto;overflow:visible}
.lm-leaf{fill:#F5F0E4;transform-box:view-box;transform-origin:50px 62px;animation:lm-open .6s .16s cubic-bezier(.2,1.3,.32,1) both}
.lm-arch{fill:none;stroke:#F5F0E4;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:lm-draw .5s .5s cubic-bezier(.4,0,.2,1) both}
.lm-spine{fill:none;stroke:#A7804D;stroke-width:1.6;stroke-linecap:round;transform-box:view-box;transform-origin:50px 70px;animation:lm-spine .62s ease-out both}
.ln-rule{fill:none;stroke:#A7804D;stroke-width:1.5;transform-box:fill-box;transform-origin:50% 50%;animation:ln-rule .34s .74s cubic-bezier(.2,.8,.2,1) both}
.ln-latin,.ln-arabic{fill:#F5F0E4;animation:ln-slide .5s .86s cubic-bezier(.2,.8,.2,1) both}
.ln-latin{--from:26px}.ln-arabic{--from:-26px}
@keyframes lm-open{from{transform:scaleX(.02);opacity:0}to{transform:none;opacity:1}}
@keyframes lm-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes lm-spine{0%{transform:scaleY(0);opacity:1}40%{transform:none;opacity:1}100%{transform:none;opacity:0}}
@keyframes ln-rule{from{transform:scaleY(0)}to{transform:none}}
@keyframes ln-slide{from{transform:translateX(var(--from));opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.launch *{animation:none!important}.lm-spine{opacity:0}}
/* Lockup placements */
.brand-lockup{display:block;height:34px;width:auto}
.entry2-top .brand-lockup{height:32px}

/* Install page scrolling. The page itself is the only thing that scrolls here. Its <main> also matched the app's
   scroller rules (overflow + overscroll-behavior:contain) and <body> kept overscroll-behavior:none; current Android
   Chrome stops a swipe at a box like that even when it has nothing to scroll, so the page would not move. */
html:not([data-entry=app]) body{overflow:visible;overscroll-behavior:auto}
#install-screen .entry2-sheet{overflow:visible;overscroll-behavior:auto}
#install-screen.entry2{overflow:clip}

/* ---------- Build 26: the install gate as a short guided sequence ----------
   Paper, the real Home Screen icon, the name, a brass rule, then numbered steps with the one to do now
   highlighted. Steps arrive one after another. The markup comes from entry.js and is unchanged; desktop still
   goes straight to the app (entry-paint.js). Light/dark follows the phone. Art slot: --install-icon-art. */
#install-screen.entry2{--ig-paper:#F4EFE4;--ig-raised:#FBF8F1;--ig-ink:#14231D;--ig-soft:#58625C;--ig-hair:#E2D9C6;
  --ig-jade:#2A6B55;--ig-brass:#A7804D;--ig-brass-tint:#EDE1C8;--ig-sage:#DCDFCB;--install-icon-art:url(icon-512.png);
  background:var(--ig-paper);color:var(--ig-ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
@media(prefers-color-scheme:dark){#install-screen.entry2{--ig-paper:#0F1E19;--ig-raised:#172A23;--ig-ink:#F2ECDF;--ig-soft:#AEB6AD;--ig-hair:#2A3D35;
  --ig-jade:#8FCDB4;--ig-brass:#CFA968;--ig-brass-tint:#2B2A1E;--ig-sage:#24372F}
  html:not([data-entry=app]){background:#0F1E19}}
html:not([data-entry=app]){background:#F4EFE4}
#install-screen.entry2 .sky.entry2-scene{display:none}
#install-screen.entry2 .entry2-top{justify-content:flex-end;min-height:44px;padding:max(12px,var(--sat)) 16px 0;color:var(--ig-ink)}
#install-screen.entry2 .entry2-top .brand-lockup{display:none}
#install-screen.entry2 .entry2-top button{min-height:44px;padding:0 14px;border:1px solid var(--ig-hair);border-radius:999px;background:var(--ig-raised);color:var(--ig-ink);font-size:15px;backdrop-filter:none;-webkit-backdrop-filter:none}
#install-screen.entry2 .entry2-hero{display:flex;flex-direction:column;align-items:center;min-height:0;max-width:560px;margin:0 auto;padding:6px 24px 4px;color:var(--ig-ink);text-shadow:none;text-align:center}
.entry2-hero::before{content:"";width:clamp(96px,28vw,124px);aspect-ratio:1;border-radius:24%;background:var(--install-icon-art) center/cover;box-shadow:0 1px 0 #ffffff80 inset,0 18px 40px #10231d38,0 3px 8px #10231d24}
#install-screen.entry2 .entry2-hero p[lang=ar]{order:1;margin:2px 0 0;font:400 22px/1.4 'Athkarz Quran',serif;color:var(--ig-brass)}
.entry2-hero p[lang=ar]::before{content:"Athkarz";display:block;margin:20px 0 -2px;font:600 clamp(44px,13vw,56px)/1.05 ui-serif,'New York','Iowan Old Style',Georgia,serif;letter-spacing:-.01em;color:var(--ig-ink)}
#install-screen.entry2 .entry2-hero h1{order:2;max-width:15em;margin:0;padding-top:18px;font:600 clamp(23px,6.6vw,28px)/1.2 ui-serif,'New York','Iowan Old Style',Georgia,serif;letter-spacing:-.01em}
#install-screen.entry2 .entry2-hero h1::before{content:"";display:block;width:64px;height:2px;margin:0 auto 18px;border-radius:2px;background:var(--ig-brass)}
#install-screen.entry2[dir=rtl] .entry2-hero h1{font-family:'Noto Naskh Arabic','Geeza Pro',serif;letter-spacing:0;line-height:1.45}
#install-screen.entry2 .entry2-hero>p:last-child{order:3;margin:8px 0 0;max-width:24em;font-size:15.5px;color:var(--ig-soft);opacity:1}
#install-screen.entry2 .entry2-sheet{max-width:520px;padding:22px 18px calc(30px + var(--sab))}
#install-screen.entry2 .entry2-ask{margin:0 0 14px;text-align:center;font:600 22px/1.25 ui-serif,'New York',Georgia,serif;color:var(--ig-ink)}
#install-screen.entry2 .entry2-choose button{border:1px solid var(--ig-hair);border-radius:24px;background:var(--ig-raised);color:var(--ig-jade);box-shadow:0 10px 26px #10231d12}
#install-screen.entry2 .entry2-choose strong{color:var(--ig-ink)}
#install-screen.entry2 .entry2-for{justify-content:center;margin:0 0 12px;color:var(--ig-soft);font-weight:600}
#install-screen.entry2 .entry2-for span{border-color:var(--ig-hair);background:var(--ig-raised);color:var(--ig-jade)}
#install-screen.entry2 .entry2-for button{min-height:44px;margin-inline-start:0;color:var(--ig-jade);text-decoration-color:var(--ig-brass)}
#install-screen.entry2 .entry2-install{min-height:56px;border-radius:999px;background:var(--ig-jade);color:var(--ig-paper);font:600 18px ui-serif,'New York',Georgia,serif;box-shadow:0 12px 26px #2a6b5533}
#install-screen.entry2 .entry2-or{text-align:center;color:var(--ig-soft)}
/* Steps: one card each, number in a disc, the drawing at the end; the first is the one to do now */
#install-screen.entry2 .entry2-steps{display:grid;gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#install-screen.entry2 .entry2-steps li{grid-template-columns:44px minmax(0,1fr) 76px;gap:14px;padding:16px 16px;border:1px solid var(--ig-hair);border-radius:24px;background:var(--ig-raised);box-shadow:0 8px 22px #10231d0d}
#install-screen.entry2 .entry2-steps li:last-child{border-bottom:1px solid var(--ig-hair)}
#install-screen.entry2 .entry2-steps li::before{content:counter(step);grid-column:1;grid-row:1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ig-sage);color:var(--ig-ink);font:600 21px/1 ui-serif,'New York',Georgia,serif}
#install-screen.entry2[dir=rtl] .entry2-steps li::before{content:counter(step,arabic-indic)}
#install-screen.entry2 .entry2-steps li>div{grid-column:2;grid-row:1}
#install-screen.entry2 .entry2-steps li>.entry2-art{grid-column:3;grid-row:1;width:76px;height:43px}
#install-screen.entry2 .entry2-steps h3{margin:0 0 2px;font:600 18.5px/1.25 ui-serif,'New York','Iowan Old Style',Georgia,serif;letter-spacing:-.005em;color:var(--ig-ink)}
#install-screen.entry2[dir=rtl] .entry2-steps h3{font-family:'Noto Naskh Arabic','Geeza Pro',serif}
#install-screen.entry2 .entry2-steps h3::before{content:none}
#install-screen.entry2 .entry2-steps p{font-size:14px;color:var(--ig-soft)}
#install-screen.entry2 .entry2-steps li:first-child{border:1.5px solid var(--ig-brass);background:linear-gradient(180deg,var(--ig-raised),var(--ig-brass-tint));box-shadow:0 12px 28px #a7804d26}
#install-screen.entry2 .entry2-steps li:first-child::before{background:var(--ig-brass);color:#FBF8F1}
#install-screen.entry2 .entry2-steps li:not(:first-child) .entry2-art :is(.pick,.hot){animation:none}
.entry2-art .soft{fill:color-mix(in srgb,var(--ig-paper) 70%,var(--ig-hair));stroke:var(--ig-hair)}
.entry2-art .dim{fill:var(--ig-hair)}
.entry2-art .hot{stroke:var(--ig-jade)}.entry2-art .hot.fill{fill:var(--ig-jade)}
.entry2-art .pick{fill:color-mix(in srgb,var(--ig-jade) 12%,transparent);stroke:color-mix(in srgb,var(--ig-jade) 45%,transparent)}
#install-screen.entry2 .entry2-inside{margin:28px 4px 0}
#install-screen.entry2 .entry2-inside h2,#install-screen.entry2 .entry2-done h2{font:600 20px/1.2 ui-serif,'New York',Georgia,serif;color:var(--ig-ink)}
#install-screen.entry2 .entry2-inside li{border-bottom-color:var(--ig-hair);color:var(--ig-ink)}
#install-screen.entry2 .entry2-inside li::before{background:var(--ig-brass)}
#install-screen.entry2 .entry2-done{border-color:var(--ig-brass);background:var(--ig-raised)}
#install-screen.entry2 :is(.entry2-done p,.entry2-version){color:var(--ig-soft)}
#install-screen.entry2 .entry2-move summary,#install-screen.entry2 .entry2-move button{color:var(--ig-jade)}
#install-screen.entry2 .entry2-move button{min-height:44px;border-color:var(--ig-hair);background:var(--ig-raised)}
#install-screen.entry2 :is(button,summary):focus-visible{outline:2px solid var(--ig-jade);outline-offset:3px}
/* The sequence: icon, name, rule and line, then each step in turn */
@media(prefers-reduced-motion:no-preference){
  .entry2-hero::before{animation:ig-icon .7s cubic-bezier(.2,.9,.25,1.15) both}
  #install-screen.entry2 .entry2-hero>*{animation:ig-rise .6s .18s cubic-bezier(.2,.8,.2,1) both}
  #install-screen.entry2 .entry2-hero h1{animation-delay:.3s}
  #install-screen.entry2 .entry2-hero h1::before{animation:ig-rule .6s .42s cubic-bezier(.2,.8,.2,1) both}
  #install-screen.entry2 .entry2-hero>p:last-child{animation-delay:.42s}
  #install-screen.entry2 :is(.entry2-steps li,.entry2-choose button,.entry2-ask,.entry2-for){animation:ig-rise .55s .55s cubic-bezier(.2,.8,.2,1) both}
  #install-screen.entry2 :is(.entry2-steps li:nth-child(2),.entry2-choose button+button){animation-delay:.68s}
  #install-screen.entry2 .entry2-steps li:nth-child(3){animation-delay:.81s}
  #install-screen.entry2 .entry2-steps li:nth-child(4){animation-delay:.94s}
}
@keyframes ig-icon{from{opacity:0;transform:scale(.82)}}
@keyframes ig-rise{from{opacity:0;transform:translateY(14px)}}
@keyframes ig-rule{from{transform:scaleX(0)}}
@media(max-width:360px){#install-screen.entry2 .entry2-steps li{grid-template-columns:40px minmax(0,1fr);padding:14px}#install-screen.entry2 .entry2-steps li::before{width:40px;height:40px}#install-screen.entry2 .entry2-steps li>.entry2-art{display:none}}
