/* ================= LexoKuran — dizajni ================= */
@font-face {
  font-family: 'Hafs';
  src: url('../assets/fonts/UthmanicHafs_V22.ttf') format('truetype');
  font-display: swap;
}

:root {
  --brand: #138340;
  --brand-2: #0d6a33;
  --brand-3: #1fae58;
  --brand-soft: rgba(19, 131, 64, .12);
  --gold: #c9a24a;
  --gold-soft: rgba(201, 162, 74, .16);

  --bg: #eef5f0;
  --bg-2: #f8fbf9;
  --ink: #0c1f14;
  --ink-2: #2c4436;
  --muted: #64786c;
  --line: rgba(12, 31, 20, .08);

  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .85);
  --glass-shadow: 0 1px 2px rgba(13, 70, 38, .04), 0 8px 24px -16px rgba(13, 70, 38, .18);
  --blur: saturate(170%) blur(22px);

  --blob-1: rgba(19, 131, 64, .30);
  --blob-2: rgba(201, 162, 74, .22);
  --blob-3: rgba(31, 174, 88, .18);
  --pattern-op: .05;

  --radius: 24px;
  --radius-sm: 16px;
  --ar-size: 30px;
  --tr-size: 17px;
  --tabbar-h: 78px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  --ph1: url('../assets/photos/1.jpg');
  --ph2: url('../assets/photos/2.jpg');
  --ph3: url('../assets/photos/3.jpg');
  --ph4: url('../assets/photos/4.jpg');
  --ph5: url('../assets/photos/5.jpg');
  --ph6: url('../assets/photos/6.jpg');
  --ph7: url('../assets/photos/7.jpg');
  --ph8: url('../assets/photos/8.jpg');
  --ph9: url('../assets/photos/9.jpg');
  --ph10: url('../assets/photos/10.jpg');

  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand: #1fae58;
  --brand-2: #138340;
  --brand-3: #3ccf78;
  --brand-soft: rgba(31, 174, 88, .16);
  --gold: #d9b65f;
  --gold-soft: rgba(217, 182, 95, .14);

  --bg: #050e09;
  --bg-2: #0a1710;
  --ink: #e9f4ed;
  --ink-2: #c3d6ca;
  --muted: #86a091;
  --line: rgba(255, 255, 255, .07);

  --glass: rgba(18, 38, 27, .55);
  --glass-2: rgba(22, 46, 33, .78);
  --glass-line: rgba(255, 255, 255, .09);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 8px 24px -16px rgba(0, 0, 0, .6);

  --blob-1: rgba(19, 131, 64, .38);
  --blob-2: rgba(201, 162, 74, .14);
  --blob-3: rgba(14, 90, 60, .35);
  --pattern-op: .06;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { flex: none; display: block; }
h1, h2, h3, .display { font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; margin: 0; }
.ar { font-family: 'Hafs', 'Amiri Quran', serif; direction: rtl; font-feature-settings: 'liga' 1, 'calt' 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Sfondi i gjallë ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop .blob { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 26s ease-in-out infinite alternate; }
.backdrop .b1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -22vmax; background: var(--blob-1); }
.backdrop .b2 { width: 46vmax; height: 46vmax; right: -16vmax; top: 18vh; background: var(--blob-2); animation-delay: -8s; }
.backdrop .b3 { width: 52vmax; height: 52vmax; left: 10vw; bottom: -30vmax; background: var(--blob-3); animation-delay: -16s; }
.backdrop .pattern {
  position: absolute; inset: 0; opacity: var(--pattern-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23138340' stroke-width='1.2'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Cpath d='M17.4 17.4h45.2v45.2H17.4z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .backdrop .blob { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
.card { padding: 18px; }
.aotd, .khatm-card, .profile-card { isolation: isolate; }

/* ---------- Struktura ---------- */
#app { min-height: 100%; }
.view {
  max-width: 640px; margin: 0 auto;
  padding: calc(14px + var(--safe-t)) 16px 20px;
  animation: viewIn .45s cubic-bezier(.2, .8, .2, 1);
}
.view.full { padding-bottom: 24px; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.stack > *, .home-cols > * { min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; letter-spacing: .02em; }
.center { text-align: center; }
.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 10px 4px 2px; }

/* ---------- Kreu i faqes (topbar) ---------- */
.topbar { display: flex; align-items: center; gap: 12px; padding: 4px 2px 14px; }
.topbar .logo { height: 30px; width: auto; }
.topbar h1 { font-size: 24px; font-weight: 800; }
.logo-light { display: block; } .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .15s ease, background .2s;
}
.icon-btn:active { transform: scale(.92); }
.icon-btn.on { background: var(--brand); color: #fff; border-color: transparent; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 15px;

}

/* ---------- Butonat ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 16px; font-weight: 700; font-size: 15px;
  background: var(--brand); color: #fff;
  box-shadow: none;
  transition: transform .15s ease, filter .2s;
}
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.06); }
.btn.block { width: 100%; }
.btn.ghost { background: var(--glass); color: var(--ink); box-shadow: none; border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn.sm { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; }
.btn.danger { background: linear-gradient(135deg, #d14343, #a72f2f); box-shadow: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); font-weight: 600; font-size: 13.5px; white-space: nowrap;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .15s;
}
.chip:active { transform: scale(.95); }
.chip .ar { font-size: 17px; line-height: 1; color: var(--brand); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; margin: 0 -16px; padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }

/* Segmentet */
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.seg button { flex: 1; height: 38px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: all .25s ease; white-space: nowrap; padding: 0 10px; }
.seg button.on { background: var(--brand); color: #fff; }

/* ---------- Inputet ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); padding-left: 4px; }
.input {
  height: 54px; border-radius: 16px; padding: 0 18px; width: 100%; font-size: 16px;
  background: var(--glass-2); border: 1.5px solid var(--glass-line); outline: none; transition: border .2s, box-shadow .2s;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type="range"] { width: 100%; accent-color: var(--brand); }

/* ---------- Login ---------- */
.auth {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px calc(24px + var(--safe-b));
  position: relative; isolation: isolate;
}
.auth::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 18, 10, .35), rgba(4, 18, 10, .78)), var(--ph8) center/cover, radial-gradient(circle at 30% 20%, #1c7a45, #06150c 70%);
}
:root:not([data-theme="dark"]) .auth::before {
  background: linear-gradient(180deg, rgba(238, 245, 240, .25), rgba(238, 245, 240, .85)), var(--ph2) center/cover, radial-gradient(circle at 30% 20%, #cfe9d8, #eef5f0 70%);
}
.auth-card { width: 100%; max-width: 420px; padding: 30px 24px 24px; animation: rise .7s cubic-bezier(.2, .8, .2, 1); }
.auth-card .logo-v { width: 210px; margin: 0 auto 6px; }
.auth-card h1 { font-size: 26px; font-weight: 800; text-align: center; }
.auth-card p.lead { text-align: center; color: var(--muted); margin: 6px 0 22px; }
.profiles { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.profile-chip { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-line); font-weight: 600; font-size: 14px; }
.profile-chip .avatar { width: 30px; height: 30px; font-size: 12px; box-shadow: none; }
.lang-top { position: absolute; top: calc(14px + var(--safe-t)); right: 16px; }
.err { color: #d14343; font-size: 13px; font-weight: 600; min-height: 18px; text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 20px; }
.lang-opt { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--glass-2); border: 1.5px solid var(--glass-line); font-weight: 700; text-align: left; transition: all .2s; }
.lang-opt .flag { font-size: 22px; line-height: 1; }
.lang-opt.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px var(--brand-soft); }

/* ---------- Intro: Esselamu Alejkum ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff;
  background: linear-gradient(180deg, rgba(5, 25, 14, .55), rgba(5, 25, 14, .9)), var(--ph6) center/cover, radial-gradient(circle at 50% 30%, #1d8a4b, #04110a 70%);
  animation: fadeIn .5s ease;
}
.intro.out { animation: fadeOut .6s ease forwards; }
.intro .salam-ar { font-family: 'Hafs', serif; font-size: clamp(40px, 11vw, 64px); line-height: 1.6; color: #e8cf8a; opacity: 0; animation: up .9s .15s ease forwards; }
.intro h1 { font-size: clamp(30px, 8vw, 46px); font-weight: 800; opacity: 0; animation: up .9s .5s ease forwards; }
.intro h1 span { display: block; color: #8ff0b6; }
.intro p { opacity: 0; animation: up .9s .9s ease forwards; color: rgba(255, 255, 255, .8); }
.intro img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 10px; opacity: 0; animation: up .9s ease forwards; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .4)); background: #fff; border-radius: 50%; padding: 6px; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Kreu (Home) ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 20px 20px; color: #fff; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(6, 30, 17, .05) 0%, rgba(6, 30, 17, .78) 100%), var(--ph2) center 35%/cover, linear-gradient(135deg, #138340, #0a4d27);
  box-shadow: 0 10px 30px -22px rgba(19, 131, 64, .7);
}
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, rgba(4, 16, 9, .1) 0%, rgba(4, 16, 9, .85) 100%), var(--ph6) center/cover, linear-gradient(135deg, #0f5e30, #04150b); }
.hero .hijri { position: absolute; top: 16px; left: 18px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .22); }
.hero .salam { font-size: 14px; font-weight: 700; color: #a9f2c6; letter-spacing: .02em; }
.hero h2 { font-size: 30px; font-weight: 800; line-height: 1.1; margin: 2px 0 4px; }
.hero p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; }

.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app-tile { display: grid; justify-items: center; gap: 7px; padding: 14px 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-align: center; transition: transform .15s; }
.app-tile:active { transform: scale(.93); }
.app-tile .app-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .2s, color .2s; }
.app-tile:hover .app-ic { background: var(--brand); color: #fff; }

.continue { display: flex; gap: 14px; align-items: center; padding: 16px; }
.continue .num {
  width: 58px; height: 58px; border-radius: 18px; flex: none; display: grid; place-items: center; color: #fff;
  background: var(--brand); font-weight: 800; font-size: 18px; position: relative;
}
.continue .num small { position: absolute; bottom: 5px; font-size: 9px; font-weight: 700; opacity: .8; }
.continue h3 { font-size: 17px; font-weight: 800; }
.continue .ar { font-size: 22px; color: var(--brand); line-height: 1.2; }
.bar { height: 7px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-3)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ring-card { display: flex; align-items: center; gap: 12px; padding: 14px; }
.ring { position: relative; width: 62px; height: 62px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.ring-card h4 { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ring-card b { font-size: 20px; font-weight: 800; display: block; line-height: 1.2; }
.flame { color: #f08a4b; }

.aotd { position: relative; overflow: hidden; padding: 20px 18px 16px; }
.aotd::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .16; background: var(--ph3) right center/cover; }
:root[data-theme="dark"] .aotd::before { opacity: .22; }
.aotd .ar { font-size: 26px; line-height: 2; text-align: center; color: var(--ink); }
.aotd .trn { text-align: center; color: var(--ink-2); font-size: 15px; margin: 6px 0 12px; font-style: italic; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .03em; }
.badge.green { background: var(--brand-soft); color: var(--brand); }

/* ---------- Indeksi: suret / xhuzet ---------- */
.index-hero { border-radius: 26px; padding: 20px; color: #fff; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(5, 25, 14, .15), rgba(5, 25, 14, .82)), var(--ph10) center/cover, linear-gradient(135deg, #138340, #0a4d27); }
.index-hero h1 { font-size: 26px; font-weight: 800; }
.list { display: grid; gap: 10px; }
.s-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; text-align: left; width: 100%; transition: transform .15s; }
.s-item:active { transform: scale(.98); }
.s-num { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--brand); position: relative; }
.s-num::before { content: ''; position: absolute; inset: 5px; border: 2px solid var(--brand); border-radius: 10px; transform: rotate(45deg); opacity: .5; }
.s-item h3 { font-size: 16px; font-weight: 800; }
.s-item .meta { font-size: 12.5px; color: var(--muted); }
.s-item .ar-name { font-family: 'Hafs', serif; font-size: 24px; color: var(--brand); line-height: 1.2; }
.s-item.playing { outline: 2px solid var(--brand); }
.juz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.juz-card { padding: 16px; text-align: left; position: relative; overflow: hidden; }
.juz-card .n { font-size: 30px; font-weight: 800; color: var(--brand); font-family: 'Raleway', sans-serif; line-height: 1; }
.juz-card .bar { margin-top: 10px; height: 5px; }
.page-jump { display: flex; gap: 10px; }
.page-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.page-grid button { height: 40px; border-radius: 12px; font-weight: 700; font-size: 13px; background: var(--glass); border: 1px solid var(--glass-line); }
.page-grid button.read { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.page-grid button.cur { background: var(--brand); color: #fff; }

/* ---------- Lexuesi ---------- */
.reader-top {
  position: sticky; top: 0; z-index: 20; margin: 0 -16px; padding: calc(10px + var(--safe-t)) 16px 10px;
  background: linear-gradient(var(--bg) 40%, transparent); transition: transform .35s ease, opacity .35s;
}
.reader-top .bar-wrap { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 20px; }
.reader-top .title { flex: 1; min-width: 0; text-align: center; }
.reader-top .title b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-top .title span { font-size: 12px; color: var(--muted); font-weight: 600; }
.reader-top .icon-btn { width: 40px; height: 40px; border-radius: 13px; background: transparent; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.reader-top .icon-btn.on { background: var(--brand); }
.reader-tools { margin-top: 10px; display: grid; gap: 10px; }
.focus .reader-top { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.focus .reader-foot { opacity: 0; pointer-events: none; }

.mushaf { padding: 26px 18px 18px; position: relative; }
.mushaf::before { content: ''; position: absolute; inset: 7px; border: 1.5px solid var(--gold-soft); border-radius: 18px; pointer-events: none; }
.mushaf::after { content: ''; position: absolute; inset: 11px; border: 1px solid var(--gold-soft); border-radius: 15px; pointer-events: none; }
.mushaf .page-anim { animation: pageIn .45s cubic-bezier(.2, .8, .2, 1); }
.mushaf .page-anim.from-left { animation-name: pageInL; }
@keyframes pageIn { from { opacity: 0; transform: translateX(-26px); } }
@keyframes pageInL { from { opacity: 0; transform: translateX(26px); } }

.surah-head {
  margin: 8px 0 18px; padding: 14px 16px; border-radius: 18px; text-align: center; position: relative;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft)); border: 1px solid var(--gold-soft);
}
.surah-head .ar { font-size: 30px; color: var(--brand); line-height: 1.5; }
.surah-head .meta { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.surah-head h3 { font-size: 16px; font-weight: 800; }
.bism { font-family: 'Hafs', serif; text-align: center; font-size: calc(var(--ar-size) * .95); line-height: 2; margin: 0 0 8px; color: var(--ink); }

.ar-flow { font-family: 'Hafs', serif; direction: rtl; text-align: justify; text-align-last: center; font-size: var(--ar-size); line-height: 2.15; color: var(--ink); word-spacing: 2px; }
.ar-flow .v { cursor: pointer; border-radius: 10px; padding: 2px 1px; transition: background .25s; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ar-flow .v:hover { background: var(--brand-soft); }
.v.now, .ar-flow .v.now { background: rgba(201, 162, 74, .26) !important; }
.v.sel { background: var(--brand-soft); }
.v.bm .num-ar { color: var(--gold); }

.verse-list { display: grid; gap: 4px; }
.verse { padding: 16px 6px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 16px; transition: background .25s; }
.verse:last-child { border-bottom: 0; }
.verse .vhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.verse .vkey { font-size: 11.5px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.verse .vbm { color: var(--gold); }
.verse .ar { font-size: var(--ar-size); line-height: 2.1; text-align: right; color: var(--ink); }
.verse .tr { font-size: var(--tr-size); line-height: 1.65; color: var(--ink-2); margin-top: 6px; }
.verse.only-tr .tr { margin-top: 0; color: var(--ink); }
.verse.only-tr .tr b { color: var(--brand); font-weight: 800; margin-right: 4px; }

.reader-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; transition: opacity .3s; }
.reader-foot .pinfo { flex: 1; text-align: center; font-weight: 800; font-size: 14px; }
.reader-foot .pinfo small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; }
.loading-page { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { height: 18px; border-radius: 9px; background: linear-gradient(90deg, var(--brand-soft), transparent, var(--brand-soft)); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin: 12px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Fleta e veprimeve ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .35); animation: fadeIn .25s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; max-width: 560px; margin: 0 auto;
  padding: 10px 16px calc(18px + var(--safe-b)); border-radius: 28px 28px 0 0; background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); border-bottom: 0;
  animation: sheetUp .35s cubic-bezier(.2, .8, .2, 1); max-height: 86vh; overflow: auto;
}
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 12px; background: var(--muted); opacity: .35; }
.sheet .ar { font-size: 24px; line-height: 2; text-align: center; }
.sheet-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.sheet-actions button { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 12px; font-weight: 700; text-align: center; }
.sheet-actions button svg { color: var(--brand); }
@keyframes sheetUp { from { transform: translateY(100%); } }

/* ---------- Kërkimi ---------- */
.search-box { position: relative; }
.search-box .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .input { padding-left: 48px; height: 56px; border-radius: 18px; }
.result { padding: 14px 16px; text-align: left; width: 100%; display: block; }
.result .ar { font-size: 22px; line-height: 1.9; text-align: right; }
.result p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
mark { background: rgba(201, 162, 74, .35); color: inherit; border-radius: 4px; padding: 0 2px; }

/* ---------- Statistikat ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 16px; }
.stat .k { font-size: 12.5px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.stat .k svg { color: var(--brand); }
.stat .v { font-size: 28px; font-weight: 800; font-family: 'Raleway', sans-serif; line-height: 1.15; margin-top: 4px; }
.stat .v small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 3px; }
.chart { padding: 18px 14px 12px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-size: 10px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .d { aspect-ratio: 1; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.cal .d.l1 { background: rgba(19, 131, 64, .32); color: var(--ink); }
.cal .d.l2 { background: rgba(19, 131, 64, .58); color: #fff; }
.cal .d.l3 { background: var(--brand); color: #fff; }
.cal .d.today { outline: 2px solid var(--gold); }
.cal .d.empty { background: transparent; }
.cal .h { font-size: 10.5px; text-align: center; color: var(--muted); font-weight: 700; }
.khatm-card { display: flex; align-items: center; gap: 18px; padding: 18px; position: relative; overflow: hidden; }
.khatm-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .12; background: var(--ph9) center/cover; }
.juz-map { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.juz-map div { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: var(--brand-soft); color: var(--muted); position: relative; overflow: hidden; }
.juz-map div i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--brand); opacity: .85; }
.juz-map div span { position: relative; }
.juz-map div.full { color: #fff; }

/* ---------- Cilësimet ---------- */
.set-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .lbl { flex: 1; font-weight: 700; font-size: 14.5px; }
.set-row .lbl small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.switch { width: 50px; height: 30px; border-radius: 99px; background: var(--line); position: relative; transition: background .25s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s; }
.switch.on { background: var(--brand); }
.switch.on::after { transform: translateX(20px); }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 18px; position: relative; overflow: hidden; }
.profile-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .14; background: var(--ph5) right center/cover; }
.profile-card .avatar { width: 58px; height: 58px; font-size: 20px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 18px; }
.stepper b { min-width: 34px; text-align: center; }

/* ---------- Shiriti i poshtëm ---------- */
.tabbar {
  position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); max-width: 520px; margin: 0 auto;
  height: 70px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; padding: 0 4px; border-radius: 24px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.tabbar.hide { transform: translateY(140%); }
/* Çdo buton: ikona sipër në një "kapsulë", emri poshtë — të gjithë në të njëjtën linjë */
.tab { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); transition: color .2s; }
.tab-ic { width: 52px; height: 32px; border-radius: 999px; display: grid; place-items: center; transition: background .25s, transform .2s; }
.tab:active .tab-ic { transform: scale(.9); }
.tab .lbl { max-width: 100%; padding: 0 2px; font-size: 10.5px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab.on { color: var(--brand); }
.tab.on .tab-ic { background: var(--brand-soft); }
/* "Lexo" në mes: kapsulë e gjelbër, brenda shiritit */
.tab.main { color: var(--brand); }
.tab.main .tab-ic { width: 58px; height: 32px; color: #fff; background: var(--brand); }
.tab.main.on .tab-ic { background: var(--brand); }

/* ---------- Mini luajtësi ---------- */
.mini {
  position: fixed; z-index: 49; left: 12px; right: 12px; max-width: 520px; margin: 0 auto;
  bottom: calc(90px + var(--safe-b)); padding: 10px 10px 10px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 10px; animation: rise .4s ease;
  transition: bottom .35s cubic-bezier(.2, .8, .2, 1);
}
.mini.low { bottom: calc(12px + var(--safe-b)); }
.mini .disc { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 13px; }
.mini.is-playing .disc { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px var(--brand-soft); } }
.mini b { font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .sub { font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .prog { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 9px; background: var(--brand-soft); overflow: hidden; cursor: pointer; }
.mini .prog i { display: block; height: 100%; background: var(--brand); width: 0; }
.mini .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
.mini .icon-btn.play { background: var(--brand); color: #fff; border: 0; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 4px; }
.eq i { width: 3px; background: var(--brand); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ---------- Njoftimet ---------- */
.toast {
  position: fixed; left: 50%; top: calc(16px + var(--safe-t)); transform: translateX(-50%); z-index: 120;
  padding: 12px 18px; border-radius: 16px; font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center;
  animation: toastIn .35s ease; max-width: calc(100% - 32px);
}
.toast svg { color: var(--brand); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 130; }

.empty { padding: 34px 20px; text-align: center; color: var(--muted); }
.empty .ic { margin: 0 auto 10px; color: var(--brand); opacity: .6; }

.hero-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; width: max-content; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }

/* ---------- Sidebar (vetëm desktop) ---------- */
.sidebar { display: none; }

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --tabbar-h: 0px; --side-w: 264px; }
  .tabbar { display: none; }

  .sidebar {
    position: fixed; z-index: 50; top: 16px; bottom: 16px; left: 16px; width: var(--side-w);
    display: flex; flex-direction: column; gap: 6px; padding: 22px 14px 14px; overflow-y: auto;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s;
  }
  .sidebar.hide { transform: translateX(-120%); opacity: 0; pointer-events: none; }
  .sb-logo { padding: 0 10px 14px; }
  .sb-logo img { height: 34px; width: auto; }
  .sb-read {
    display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 18px; color: #fff;
    background: var(--brand);
    transition: transform .2s, box-shadow .2s;
  }
  .sb-read:hover { background: var(--brand-2); }
  .sb-read-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); flex: none; }
  .sb-read b { display: block; font-size: 14px; }
  .sb-read small { display: block; font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-nav { display: grid; gap: 2px; }
  .sb-item { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 13px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
  .sb-item:hover { background: var(--brand-soft); color: var(--brand); }
  .sb-item.on { background: var(--brand-soft); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
  .sb-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); }
  .sb-user .avatar { width: 38px; height: 38px; font-size: 13px; }
  .sb-user b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-user small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
  .sb-user .icon-btn { width: 36px; height: 36px; border-radius: 11px; }

  /* Përmbajtja qendërzohet në hapësirën djathtas sidebar-it */
  body.has-sidebar .view {
    --area: calc(100vw - var(--side-w) - 32px);
    max-width: none; width: min(1120px, var(--area) - 48px);
    margin-left: calc(var(--side-w) + 32px + (var(--area) - min(1120px, var(--area) - 48px)) / 2);
    margin-right: 0; padding: 28px 0 60px;
  }
  body.has-sidebar .view.full { width: min(880px, var(--area) - 48px); margin-left: calc(var(--side-w) + 32px + (var(--area) - min(880px, var(--area) - 48px)) / 2); }
  body:not(.has-sidebar) .view.full { max-width: 880px; padding-top: 24px; }

  /* Kreu */
  .home .topbar { display: none; }
  .home .apps { display: none; }
  .hero { min-height: 300px; padding: 34px 36px; border-radius: 32px; }
  .hero h2 { font-size: 44px; }
  .hero .salam { font-size: 16px; }
  .hero p { font-size: 16px; }
  .hero .hijri { top: 24px; left: 34px; }
  .home-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
  /* Qasja e shpejtë: në desktop qëndron brenda kolonës së vet dhe kalon në rreshta, pa rrëshqitje anash */
  .home .chips { margin: 0; padding: 2px 0 0; flex-wrap: wrap; overflow: visible; }
  .continue { padding: 20px; }
  .continue .num { width: 68px; height: 68px; font-size: 22px; }
  .continue h3 { font-size: 20px; }
  .aotd { padding: 26px 24px 20px; }
  .aotd .ar { font-size: 30px; }

  /* Faqet e tjera */
  .index-hero { min-height: 180px; padding: 28px 30px; border-radius: 30px; }
  .index-hero h1 { font-size: 34px; }
  .s-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-item:hover, .juz-card:hover, .result:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(13, 70, 38, .35); }
  .s-item, .juz-card, .result { transition: transform .2s, box-shadow .2s; }
  .juz-grid { grid-template-columns: repeat(4, 1fr); }
  .page-grid { grid-template-columns: repeat(12, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .search-box, #res { max-width: 860px; }
  .topbar h1 { font-size: 30px; }

  /* Lexuesi */
  .reader-top { margin: 0; padding: 12px 0 12px; }
  .reader-tools { max-width: 420px; margin: 10px auto 0; }
  .mushaf { padding: 44px 48px 36px; border-radius: 30px; }
  .mushaf::before { inset: 10px; border-radius: 24px; }
  .mushaf::after { inset: 15px; border-radius: 20px; }
  .reader-foot { max-width: 520px; margin: 20px auto 0; }

  /* Luajtësi */
  .mini, .mini.low { bottom: 20px; left: calc(var(--side-w) + 48px); right: 32px; max-width: 760px; margin: 0 auto; }
  body:not(.has-sidebar) .mini { left: 32px; }

  /* Hyrja */
  .auth-card { max-width: 460px; padding: 38px 34px 30px; }
}
@media (min-width: 1500px) {
  .s-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .juz-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .view { max-width: 720px; }
  .s-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .juz-grid { grid-template-columns: repeat(3, 1fr); }
  .page-grid { grid-template-columns: repeat(10, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 370px) {
  .apps { gap: 6px; } .app-tile { font-size: 11px; } .app-tile .app-ic { width: 44px; height: 44px; }
  .hero h2 { font-size: 26px; }
}

/* ---------- Ora, njoftimi, fjalëkalimi ---------- */
.hero-top { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero .hijri, .hero .clock { position: static; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .22); }
.hero .clock b { font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: .02em; }
.announce { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-left: 3px solid var(--gold); }
.announce svg { color: var(--gold); margin-top: 2px; }
.announce p { margin: 0; font-weight: 600; white-space: pre-line; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.pw-eye:hover { color: var(--brand); background: var(--brand-soft); }
.auth-card .duo { gap: 10px; }

/* ---------- Paneli i adminit ---------- */
.h3 { font-size: 15px; font-weight: 800; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpis .v { font-size: 26px; }
.small-kpis .v { font-size: 19px; }
.admin-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.legend { display: flex; gap: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.hbars { display: grid; gap: 10px; margin-top: 12px; }
.hbar { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.hbar b { text-align: right; }
.juz-heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 12px; }
.juz-heat div { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: var(--muted); background: color-mix(in srgb, var(--brand) calc(var(--a) * 100%), var(--brand-soft)); }
.juz-heat div.hi { color: #fff; }
.u-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; width: 100%; text-align: left; }
.u-row b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-row small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-meta { text-align: right; flex: none; }
.avatar.sm { width: 38px; height: 38px; font-size: 13px; }
.badge.red { background: rgba(209, 67, 67, .14); color: #d14343; }
.badge.tiny { font-size: 10px; padding: 2px 7px; vertical-align: 1px; }
.admin-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-tools .search-box { min-width: 220px; }
.admin-tools .input, .admin-tools .btn { height: 52px; }
.mini-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-bottom: 4px; }
.mini-days div { padding: 8px; border-radius: 12px; background: var(--brand-soft); font-size: 11px; display: grid; }
.mini-days b { font-size: 13px; color: var(--brand); }
.mini-days small { color: var(--muted); }
textarea.input { font: inherit; }
code { font-size: 12px; background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; color: var(--brand); }
@media (max-width: 600px) { .hide-sm { display: none; } }
@media (min-width: 1024px) {
  .hero-top { top: 24px; left: 34px; right: 34px; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .small-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { max-width: 720px; }
}

.seo-fallback { max-width: 640px; margin: 0 auto; padding: 48px 20px; color: var(--muted); }
.seo-fallback h1 { font-size: 24px; color: var(--ink); }

/* Paraqitja si në Google */
.serp { margin-top: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e5e7eb; font-family: Arial, sans-serif; }
.serp small { display: block; color: #202124; font-size: 13px; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp b { display: block; color: #1a0dab; font-size: 19px; font-weight: 400; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp p { margin: 4px 0 0; color: #4d5156; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }

/* Fundi i faqes — Kreativzy */
.credit { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 16px calc(var(--tabbar-h) + 34px + var(--safe-b)); }
.credit a { color: var(--brand); font-weight: 800; text-decoration: none; }
.credit a:hover { text-decoration: underline; }
body.no-tabs .credit { padding-bottom: calc(24px + var(--safe-b)); }
.auth { min-height: calc(100dvh - 40px); }
/* Butoni "Koha Namazit" në kreu */
.hero a.prayer { color: #fff; text-decoration: none; transition: background .2s; }
.hero a.prayer:hover { background: rgba(255, 255, 255, .28); }
@media (min-width: 1024px) {
  body.has-sidebar .credit { padding-left: calc(var(--side-w) + 48px); padding-bottom: 28px; }
  .credit { padding-bottom: 28px; }
}

/* Paneli i adminit: 4 skeda në telefon */
.admin .seg button { padding: 0 4px; font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Ora te ekrani i përshëndetjes */
.intro-clock { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; letter-spacing: .02em; }
