/* L-1134 tutorial, stage 2 (tutintro.js): the five screens before the app. One thin ruled line on top (gold up to where you are), a text
   Skip in the corner, one ink button at the bottom, the ayah large in the middle in the app's own page 1 glyphs. Light or dark from
   taaj.css's tokens. A computer: two columns, words and button on one side, the ayah in a page frame on the other. */
@font-face{font-family:"tq-p1";src:url(/mushaf/v2/fonts/p1.woff2) format("woff2");font-display:block}
.ti{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);font-family:var(--ui);
  padding:max(10px,env(safe-area-inset-top)) 20px max(16px,env(safe-area-inset-bottom));box-sizing:border-box;overflow:auto;transition:opacity .35s ease}
.ti.ti-out{opacity:0;pointer-events:none}
.ti-top{flex:none}
.ti-rule{position:relative;height:2px;margin-top:6px;background:var(--line)}
.ti-rule i{position:absolute;inset-block:0;inset-inline-start:0;width:calc(100% * (var(--at) + 1) / var(--n));background:var(--gold);transition:width .3s ease}
.ti-corner{display:flex;justify-content:space-between;align-items:center;min-height:48px}
.ti-link{min-height:48px;padding:0 4px;border:0;background:none;font:inherit;font-size:15.5px;font-weight:500;color:var(--muted);cursor:pointer}
.ti-link:focus-visible,.ti-go:focus-visible,.ti-w:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
.ti-body{flex:1;display:flex;flex-direction:column;min-height:0}
.ti-text{padding-top:8px;text-align:start}
.ti-mark{margin:0 0 14px;direction:ltr;unicode-bidi:isolate;font-family:var(--display);font-size:34px;font-weight:700;letter-spacing:-1.2px;color:var(--ink)}
[dir=rtl] .ti-mark{text-align:right}
.ti-mark i{font-style:normal;color:var(--gold)}
.ti-h{margin:0;font-family:var(--display);font-size:25px;font-weight:600;line-height:1.3;letter-spacing:-.4px;text-wrap:balance}
[dir=rtl] .ti-h{letter-spacing:0;line-height:1.5}
.ti-p{margin:10px 0 0;font-size:16.5px;line-height:1.5;color:var(--muted)}
.ti-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px 0;min-height:180px}
.ti-ayah{font-family:"tq-p1";font-size:clamp(30px,9vw,56px);line-height:1.9;text-align:center;color:var(--ink);word-spacing:.05em}
.ti-w{transition:color .15s ease}
.ti-w.on{color:var(--gold-lo)}
:root[data-theme=dark] .ti-w.on{color:var(--gold)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .ti-w.on{color:var(--gold)}}
.ti-end{color:var(--gold-lo)}
.ti-nb{white-space:nowrap}
.ti-tap{cursor:pointer}
.ti-w.miss{color:var(--miss,#D92D20);text-decoration:underline wavy var(--miss,#D92D20);text-decoration-thickness:.05em;text-underline-offset:.28em;text-decoration-skip-ink:none;cursor:pointer}
.ti-ex{font-size:13px;font-weight:500;color:var(--muted);letter-spacing:.02em}
.ti-state{margin:0;min-height:24px;font-size:15px;color:var(--muted)}
.ti-state.ok{color:var(--ink);font-weight:600}
.ti-err:empty{display:none}
.ti-err{width:100%;max-width:420px}
.ti-err .mic-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:12px 12px 12px 14px;border-radius:16px;background:var(--card);color:var(--ink);text-align:start}
.ti-err .block-ic{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--miss,#D92D20) 12%,transparent);color:var(--miss,#D92D20)}
.ti-err .block-ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ti-err .mc-text{min-width:0;display:flex;flex-direction:column;gap:2px}
.ti-err .mc-text strong{font-size:15px;font-weight:600;line-height:1.35}
.ti-err .mc-text span{font-size:13px;line-height:1.35;color:var(--muted)}
.ti-err .block-go{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--ink);color:var(--bg);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ti-notice{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:460px}
.ti-priv{align-self:flex-start;margin-top:14px;padding:12px 0;color:var(--ink);font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.ti-foot{flex:none;display:flex;flex-direction:column;gap:6px;padding-top:8px}
.ti-go{min-height:54px;width:100%;border:0;border-radius:14px;background:var(--ink);color:var(--bg);font:inherit;font-size:17px;font-weight:600;cursor:pointer}
.ti-not{order:2;align-self:center}
/* a computer: two columns, as the first page has them */
.ti.ti-wide{padding:0 max(48px,calc((100vw - 1180px) / 2)) 40px}
.ti-wide .ti-top{padding-top:20px}
.ti-wide .ti-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:1fr auto;column-gap:72px;align-items:center}
.ti-wide .ti-text{grid-column:1;grid-row:1;align-self:end;padding:0 0 28px}
.ti-wide .ti-h{font-size:44px;line-height:1.15;letter-spacing:-1px}
[dir=rtl] .ti-wide .ti-h{line-height:1.4}
.ti-wide .ti-mark{font-size:44px}
.ti-wide .ti-p{font-size:18px}
.ti-wide .ti-stage{grid-column:2;grid-row:1 / span 2;align-self:stretch;margin:24px 0 0;padding:40px}
.ti-wide .ti-ayah{font-size:52px}
.ti-wide .ti-foot{grid-column:1;grid-row:2;align-self:start;align-items:flex-start;padding:0 0 24px}
.ti-wide .ti-go{width:auto;min-width:240px;padding:0 32px}
.ti-wide .ti-not{align-self:flex-start}
@media (prefers-reduced-motion:reduce){.ti,.ti-rule i,.ti-w{transition:none}}
.ti-notice-stage{display:none}
.ti-wide .ti-notice-stage{display:flex}
.ti-wide .ti-notice{grid-column:1;grid-row:1;align-self:end;flex:none;padding:0 0 28px}
/* PM L-1156: the welcome's method in three numbered lines (big gold numerals, a hairline between), the mic screen's mark, the last screen's
   three lines with the Ruled icons of the real controls. No boxes. */
.ti-fill{align-items:stretch}
.ti-steps,.ti-rows{list-style:none;margin:0;padding:0;width:100%;max-width:440px;align-self:center}
.ti-steps li,.ti-rows li{display:flex;align-items:center;gap:18px;padding:18px 2px;border-top:1px solid var(--line)}
.ti-steps li:last-child,.ti-rows li:last-child{border-bottom:1px solid var(--line)}
.ti-steps b{flex:none;min-width:30px;font-family:var(--display);font-size:36px;font-weight:600;line-height:1;color:var(--gold-lo);font-variant-numeric:tabular-nums}
.ti-steps span{font-size:19px;font-weight:600;line-height:1.35;letter-spacing:-.2px}
.ti-rows span:last-child{font-size:17px;line-height:1.45}
[dir=rtl] .ti-steps span,[dir=rtl] .ti-rows span:last-child{letter-spacing:0;line-height:1.6}
.ti-ic{flex:none;display:inline-grid;place-items:center;color:var(--gold-lo)}
.ti-ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ti-notice .ti-ic{display:block;margin-bottom:16px}
.ti-notice .ti-ic svg{width:32px;height:32px}
:root[data-theme=dark] :is(.ti-steps b,.ti-ic){color:var(--gold)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) :is(.ti-steps b,.ti-ic){color:var(--gold)}}
.ti-notice .ti-err{margin-top:12px}
.ti-wide .ti-fill{grid-row:1;align-self:end;justify-content:flex-end;min-height:0;margin:0;padding:0 0 28px 24px}
[dir=rtl] .ti-wide .ti-fill{padding:0 24px 28px 0}
.ti-wide .ti-steps li,.ti-wide .ti-rows li{padding:24px 2px}
.ti-wide .ti-steps span{font-size:22px}
.ti-wide .ti-rows span:last-child{font-size:19px}
.end-page .tour-s{color:var(--muted)}
