/* TLQ Living v90 - scenic reflection card and fullscreen Qur'an story */
#main .tlq84-home-verse.tlq90-home-verse{position:relative;isolation:isolate;display:flex;align-items:stretch;overflow:hidden;min-height:340px;margin:13px 0 28px;padding:0;cursor:pointer;border:0;border-radius:29px;background:#173c38;box-shadow:0 19px 39px #143f372e,0 3px 10px #12382120;color:#fff}
#main .tlq90-home-verse .tlq90-home-image{position:absolute;inset:0;z-index:-3;background-image:url('/assets/tlq-verse-mountain-v90.jpg');background-size:cover;background-position:center 42%;transition:transform .65s ease}
#main .tlq90-home-verse .tlq90-home-gradient{position:absolute;inset:0;z-index:-2;background:linear-gradient(105deg,#09362fdc 0%,#0b3d32a4 53%,#0d3e3351 100%),linear-gradient(0deg,#0d352cba,transparent 61%)}
#main .tlq90-home-verse:hover .tlq90-home-image{transform:scale(1.045)}
#main .tlq90-home-content{display:flex;flex-direction:column;min-height:340px;width:100%;padding:clamp(25px,6vw,40px);justify-content:space-between}
#main .tlq90-home-kicker{color:#e7e9dd;font-size:11px;font-weight:850;letter-spacing:.16em;text-shadow:0 2px 5px #14352a80}
#main .tlq90-home-content h2{color:#fff;font-size:clamp(29px,6.8vw,46px);letter-spacing:-.04em;line-height:1.21;font-weight:900;max-width:630px;margin:35px 0 45px;text-shadow:0 3px 16px #092c2473}
#main .tlq90-home-foot{display:flex;align-items:center;gap:12px}
#main .tlq90-home-reficon{display:grid;place-items:center;width:50px;height:50px;border:2px solid #fff8;background:#ffffffcf;box-shadow:0 3px 16px #0002;border-radius:50%;color:#145b4a;flex-shrink:0}
#main .tlq90-home-foot>div{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
#main .tlq90-home-foot strong{color:#fff;font-size:15px;font-weight:900}
#main .tlq90-home-foot small{color:#ddeee4;font-size:12px}
#main .tlq90-home-arrow{width:43px;height:43px;display:grid;place-items:center;color:#fff;flex-shrink:0}
#main .tlq90-home-verse:focus-visible{outline:3px solid #ebd08b;outline-offset:3px}
body.tlq90-story-open{overflow:hidden!important}
.tlq90-story{position:fixed;inset:0;z-index:7000;color:#fff;background:#132c44;overflow:hidden}
.tlq90-story-backdrop{position:absolute;inset:0;z-index:0;background-image:var(--tlq90-story-image,url('/assets/tlq-verse-madinah-v90.jpg'));background-size:cover;background-position:center 58%;filter:saturate(.83);transition:background-image .25s}
.tlq90-story-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#112846df 0%,#0e2a48bb 31%,#0d2949a1 53%,#0c2947bb 80%,#0b283fe0 100%)}
.tlq90-story-shell{position:relative;z-index:2;max-width:850px;margin:auto;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;padding:calc(env(safe-area-inset-top) + 19px) clamp(20px,4vw,35px) calc(env(safe-area-inset-bottom) + 15px);box-sizing:border-box}
.tlq90-story-top{min-width:0}
.tlq90-story-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 0 20px}
.tlq90-story-progress>button{position:relative;border:0;border-radius:5px;padding:0;background:#ffffff58;height:3px;overflow:hidden;display:block}
.tlq90-story-progress>button span{position:absolute;left:0;top:0;bottom:0;width:0;background:#fff;border-radius:5px}
.tlq90-story-heading{display:flex;align-items:center;gap:13px}
.tlq90-story-mini-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;color:#d7e4e9}
.tlq90-story-heading>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.tlq90-story-heading strong{color:#f5f5f0;font-size:14px;font-weight:850}
.tlq90-story-heading small{color:#d5dfec;font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tlq90-story-heading>button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:0;background:#e9f5ff4b;color:#f6fafb}
.tlq90-story-mid{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff59 transparent;display:flex;flex-direction:column;align-items:center;justify-content:safe center;min-height:0;padding:20px 3px 26px}
.tlq90-story-text{max-width:610px;width:100%;display:flex;flex-direction:column;align-items:center;gap:15px;margin:auto;text-align:center}
.tlq90-story-intro{font-size:10px;font-weight:900;letter-spacing:.19em;color:#d7e6f0}
.tlq90-story-text h2{font-size:clamp(24px,6vw,33px);font-weight:750;color:#fff;letter-spacing:-.045em;line-height:1.25;text-shadow:0 1px 12px #0008;margin:0 0 7px}
.tlq90-story-text>p{color:#dce8f0;font-size:12px;line-height:1.65;max-width:485px;margin:0}
.tlq90-story-arabic{width:100%;margin:17px 0 0;direction:rtl;text-align:center;unicode-bidi:plaintext;font-family:'Noto Naskh Arabic','Amiri','Traditional Arabic',Georgia,serif;font-size:clamp(24px,6.1vw,37px);font-weight:450;color:#fff;line-height:2.05;text-shadow:0 2px 17px #071a3280;overflow-wrap:break-word}
.tlq90-story-translation{font-size:clamp(14px,3.7vw,17px);line-height:1.85;color:#e5eaf1;text-shadow:0 1px 10px #071a3280;max-width:570px;margin-top:2px}
.tlq90-story-ref{font-size:14px;font-weight:800;color:#f1f2ed;margin:13px 0 0;align-self:flex-end}
.tlq90-story-bottom{margin-top:0}
.tlq90-story-actions{display:flex;gap:22px;justify-content:center;align-items:center;margin:0 0 15px}
.tlq90-story-actions>button{display:grid;place-items:center;border:0;background:#ffffff16;color:#fff;width:43px;height:43px;border-radius:50%}
.tlq90-story-actions>button[aria-pressed="true"]{background:#eacb8e;color:#173e4a}
.tlq90-story-actions>button:disabled{opacity:.42;cursor:not-allowed}
.tlq90-story-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tlq90-story-navigation button,.tlq90-story-navigation a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:7px 11px;border-radius:12px;font-size:11px;font-weight:800;text-decoration:none;border:1px solid #ffffff65;background:#ffffff17;color:#fff}
.tlq90-story-navigation a{background:#fff3de;color:#17473e!important;border-color:#fff3de;font-weight:900;flex:1}
.tlq90-story-navigation button:disabled{opacity:.35;cursor:default}
.tlq90-story-credit{display:block;text-align:center;font-size:9px;color:#d8e4eaab;margin-top:13px;line-height:1.6}
.tlq90-retry{background:#fff4e2;border:0;color:#164536;padding:13px 18px;border-radius:11px;font-weight:900}
@media(max-width:410px){
 #main .tlq90-home-content{padding:24px 20px}
 #main .tlq90-home-content h2{font-size:30px;margin:23px 0 34px}
 #main .tlq90-home-foot strong{font-size:13px}
 .tlq90-story-shell{padding-left:18px;padding-right:18px}
 .tlq90-story-progress{margin-bottom:15px}
 .tlq90-story-text{gap:10px}
 .tlq90-story-arabic{font-size:clamp(24px,6.2vw,30px);line-height:1.85;margin:8px 0 0}
 .tlq90-story-translation{font-size:14px;line-height:1.73}
 .tlq90-story-navigation{gap:5px}
 .tlq90-story-navigation button,.tlq90-story-navigation a{font-size:10px;padding:6px 8px}
}
@media(max-height:720px){
 .tlq90-story-mid{padding:9px 3px}
 .tlq90-story-progress{margin-bottom:10px}
 .tlq90-story-arabic{font-size:24px;line-height:1.75}
 .tlq90-story-translation{font-size:13px;line-height:1.6}
 .tlq90-story-actions{margin-bottom:8px}
 .tlq90-story-credit{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){#main .tlq90-home-verse .tlq90-home-image,.tlq90-story-backdrop{transition:none!important}}