/* Meaning (meaning.js): a plain link, and a bottom sheet over any screen (the .set-sheet kind, in body, above the lesson's bars). */
.mean-link{flex:none;align-self:center;min-height:32px;padding:0 2px;border:0;background:none;color:var(--accent-text);font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mean-link:focus-visible,.mean-step:focus-visible,.mean-t:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:12px}
/* lesson: at the trailing end of the top card's line, above the guide's caption, which keeps clear of it */
.lesson-card>.mean-link{position:absolute;z-index:4;inset-inline-end:10px;top:50%;translate:0 -50%;padding:0 4px}
.lesson-card:has(>.mean-link) .card-text,.lesson-card:has(>.mean-link)>.caption.top-cap{padding-inline-end:84px}
/* home: its own short row at the top of the bar, centred just above Recite and Memorise; the lines that sit above the bar (the
   hint, Resume, the page arrows) move up with it, so nothing overlaps */
.practice-screen .practice-bar:has(>.mean-link){flex-wrap:wrap;row-gap:2px}
.practice-bar>.mean-link{order:-1;position:relative;min-height:16px;line-height:16px;margin:-8px auto 0;padding:0 12px}    /* the bar grows by 10px only: the hint above it must stay off the page's last line */
.practice-bar>.mean-link::after{content:'';position:absolute;inset:-10px -4px -2px}    /* a finger sized target without a taller bar */
.practice-bar>.mean-br{order:-1;flex:0 0 100%;height:0}
.practice-screen.bare .practice-bar>:is(.mean-link,.mean-br),.practice-bar:has(>.mic-card)>:is(.mean-link,.mean-br){display:none}
/* with ayat chosen: a plain link beside More in the chosen ayat bar */
.ayah-bar .pc-head:has(>.mean-link){grid-template-columns:1fr auto auto auto;grid-template-areas:"n k m x" "w w w w"}
.ayah-bar .pc-head>.mean-link{grid-area:k;min-height:44px;margin:-10px 0;padding:0 8px;font-size:13.5px}
.sheet-scrim.mean-sc{z-index:50}
.sheet.set-sheet.mean-sheet{z-index:51;display:flex;flex-direction:column;height:60%;max-height:none;overflow:hidden;padding-bottom:0;touch-action:pan-y}
.sheet.set-sheet.mean-sheet.full{height:calc(100% - max(12px,env(safe-area-inset-top)))}
.mean-head{flex:none;gap:2px;touch-action:none;cursor:grab}
.mean-head h2{flex:1;min-width:0;margin:0;text-align:center;font-size:19px}
.mean-step{flex:none;display:grid;place-items:center;width:40px;height:44px;padding:0;border:0;background:none;color:var(--ink);cursor:pointer}
.mean-step svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mean-step:disabled{color:var(--edge);cursor:default}
.mean-prev svg{transform:scaleX(-1)}
html[dir=rtl] .mean-prev svg.dir{transform:none}
html[dir=rtl] .mean-next svg{transform:scaleX(-1)}
.mean-texts{flex:none;display:flex;gap:20px;padding:0 4px 8px}
.mean-texts[hidden]{display:none}
.mean-t{padding:6px 0;border:0;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.mean-t.on{color:var(--ink);box-shadow:inset 0 -1.5px 0 var(--gold)}
.mean-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 4px max(18px,env(safe-area-inset-bottom))}
.mean-words{text-align:start}
.mean-text{margin:0;font-size:16px;line-height:1.6;color:var(--ink);white-space:pre-line}
.mean-notes{margin:14px 0 0;font-size:13.5px;line-height:1.55;color:var(--muted);white-space:pre-line}
.mean-ar .mean-text{font-family:AmiriQuran,'IBM Plex Sans Arabic',serif;font-size:19px;line-height:1.9}
.mean-ar .mean-notes{font-size:15px;line-height:1.75}
.mean-group{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted)}
.mean-credit{margin:18px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.mean-none{margin:8px 0;font-size:15px;line-height:1.5;color:var(--muted)}
