:root {
  color-scheme: light;
  --surface: #fcf9f2;
  --surface-2: #f6f3ec;
  --surface-3: #efe9dd;
  --white: #ffffff;
  --primary: #173313;
  --primary-2: #2d4a27;
  --primary-3: #486640;
  --gold: #775a19;
  --gold-2: #d4af37;
  --gold-3: #e9c176;
  --ink: #1c1c18;
  --muted: #57534e;
  --muted-2: #73796f;
  --line: rgba(45, 74, 39, 0.16);
  --line-strong: rgba(119, 90, 25, 0.28);
  --danger: #ba1a1a;
  --danger-bg: #fff1ef;
  --success-bg: #eef6ea;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 44px -24px rgba(45, 74, 39, 0.35);
  --shadow-soft: 0 8px 24px -16px rgba(45, 74, 39, 0.3);
  --max: 1040px;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", "Arabic Typesetting", "Segoe UI", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(252, 249, 242, 0) 70%),
    var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(119, 90, 25, 0.09) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.35;
  z-index: -1;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 249, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: var(--gold-3);
  font-family: var(--font-ar);
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(233, 193, 118, 0.28), var(--shadow-soft);
}
.brand-text { min-width: 0; }
.brand-text strong {
  display: block;
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.25;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  display: block;
  margin-top: 1px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  flex: 0 0 auto;
}
.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 5px rgba(45, 74, 39, 0.14);
}
.lang-switch button:focus-visible,
.btn:focus-visible,
.option:focus-visible,
.matn-card:focus-visible,
.bottom-nav a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 112px;
}
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 36px 36px 22px 22px;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 232, 0.98) 58%, rgba(239, 230, 212, 0.98) 100%);
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.8;
}
.hero::after {
  content: "۞";
  position: absolute;
  inset-inline-end: -28px;
  bottom: -70px;
  font-family: var(--font-ar);
  font-size: clamp(180px, 26vw, 310px);
  line-height: 1;
  color: rgba(119, 90, 25, 0.06);
  pointer-events: none;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold-2);
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 13ch;
  margin-bottom: 12px;
  font-family: var(--font-ar);
  font-size: clamp(32px, 6.4vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.hero p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(13.5px, 2vw, 16px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(23, 51, 19, 0.7);
}
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line-strong);
  color: var(--primary);
}
.btn-ghost:hover { background: var(--white); }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.stat {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.64);
}
.stat strong {
  display: block;
  font-family: var(--font-ar);
  font-size: 22px;
  line-height: 1.2;
  color: var(--primary);
}
.stat span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- sections ---------- */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 14px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-ar);
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.25;
  color: var(--primary);
}
.section-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted-2);
  font-size: 12px;
}
.level-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}
.level-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.level-strip strong {
  color: var(--primary);
  font-family: var(--font-ar);
  font-size: 17px;
}

/* ---------- matn cards ---------- */
.matn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.matn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
a.matn-card:hover {
  transform: translateY(-2px);
  border-color: rgba(119, 90, 25, 0.42);
  box-shadow: var(--shadow);
}
.matn-card::after {
  content: "۞";
  position: absolute;
  inset-inline-end: -16px;
  bottom: -30px;
  font-family: var(--font-ar);
  font-size: 120px;
  line-height: 1;
  color: rgba(119, 90, 25, 0.055);
  pointer-events: none;
}
.matn-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.matn-num {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--gold);
  font-family: var(--font-ar);
  font-size: 18px;
  font-weight: 700;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: var(--surface-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge.available {
  border-color: rgba(72, 102, 64, 0.35);
  color: var(--primary-3);
  background: var(--success-bg);
}
.matn-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-ar);
  font-size: 23px;
  line-height: 1.35;
  color: var(--primary);
}
.matn-card .sub {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.matn-card .desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.matn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
}
.matn-meta b {
  color: var(--primary);
  font-weight: 800;
}
.matn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

/* ---------- about ---------- */
.about {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}
.about h2 {
  margin: 0 0 8px;
  font-family: var(--font-ar);
  font-size: 21px;
  color: var(--primary);
}
.about p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.about .source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
}

/* ---------- reader ---------- */
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 18px;
}
.page-head .eyebrow {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.page-head h1 {
  margin: 0;
  font-family: var(--font-ar);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  color: var(--primary);
}
.page-head .sub {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}
.progress-block {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.progress-label b { color: var(--primary); }
.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-3);
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #6f8f5f);
  transition: width 0.25s ease;
}
.reader-card {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.reader-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.reader-card-head .section-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reader-card-head .section-index b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--primary);
  font-family: var(--font-ar);
  font-size: 13px;
}
.reader-card-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-ar);
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.4;
  color: var(--primary);
}
.reader-card-head .kind {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blocks { padding-top: 4px; }
.block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.block:last-child { border-bottom: 0; }
.block .ar {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-ar);
  font-size: clamp(21px, 3.6vw, 30px);
  line-height: 2;
  text-align: start;
  white-space: pre-line;
}
.block .translation {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}
.block-verse {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-inline-start: 3px solid var(--gold-2);
  border-radius: 4px 16px 16px 4px;
  background: linear-gradient(135deg, var(--surface-2), rgba(255, 255, 255, 0.9));
}
[dir="rtl"] .block-verse { border-radius: 16px 4px 4px 16px; }
.block-verse .ar { font-size: clamp(20px, 3.4vw, 27px); }
.verse-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.verse-top span {
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.verse-top b {
  padding: 3px 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 800;
}
.reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.reader-actions .group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reader-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- quiz ---------- */
.quiz-shell {
  max-width: 760px;
  margin: 0 auto;
}
.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.quiz-top .tag {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quiz-top .score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}
.quiz-card {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.quiz-question {
  margin: 0 0 18px;
  font-family: var(--font-ar);
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.55;
  color: var(--primary);
}
.quiz-help {
  margin: -8px 0 16px;
  color: var(--muted-2);
  font-size: 11px;
}
.options {
  display: grid;
  gap: 9px;
}
.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: start;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.option:hover { border-color: rgba(119, 90, 25, 0.45); background: var(--surface-2); }
.option:active { transform: scale(0.995); }
.option:disabled { cursor: default; transform: none; }
.option .letter {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-3);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.option .label {
  padding-top: 3px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}
.option.correct {
  border-color: var(--primary-3);
  background: var(--success-bg);
}
.option.correct .letter { background: var(--primary); color: #fff; }
.option.wrong {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.option.wrong .letter { background: var(--danger); color: #fff; }
.feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
}
.feedback strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 12px;
}
.feedback p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.result {
  text-align: center;
  padding: 8px 0 4px;
}
.result .medal {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold-3);
  border-radius: 26px;
  background: linear-gradient(145deg, var(--surface-2), #fff);
  color: var(--gold);
  font-family: var(--font-ar);
  font-size: 38px;
  box-shadow: var(--shadow-soft);
}
.result h2 {
  margin: 0 0 6px;
  font-family: var(--font-ar);
  font-size: 30px;
  color: var(--primary);
}
.result .score-big {
  margin: 6px 0 2px;
  color: var(--primary);
  font-family: var(--font-ar);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
}
.result .score-big small { font-size: 18px; color: var(--muted-2); }
.result p {
  max-width: 46ch;
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 12.5px;
}
.result .best {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

/* ---------- bottom nav ---------- */
.bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(252, 249, 242, 0.95);
  backdrop-filter: blur(16px);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 82px;
  padding: 7px 12px;
  border-radius: 12px;
  color: var(--muted-2);
  text-decoration: none;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.bottom-nav a .ico {
  font-size: 18px;
  line-height: 1;
  font-family: var(--font-ar);
}
.bottom-nav a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px -10px rgba(23, 51, 19, 0.8);
}
.bottom-nav a:not([aria-current="page"]):hover { background: var(--surface-2); color: var(--primary); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  main { padding: 16px 14px 104px; }
  .topbar-inner { padding: 9px 14px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 8.5px; }
  .hero { border-radius: 28px 28px 18px 18px; padding: 22px 18px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .stat { padding: 9px 10px; }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 9px; }
  .matn-grid { grid-template-columns: 1fr; }
  .matn-card { min-height: 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 24px; }
  .page-head { flex-direction: column; }
  .reader-card { padding: 18px 15px; }
  .reader-card-head { flex-direction: column; }
  .reader-actions { flex-direction: column; align-items: stretch; }
  .reader-actions .group { width: 100%; }
  .reader-actions .btn { flex: 1; }
  .quiz-card { padding: 18px 15px; }
  .bottom-nav a { min-width: 70px; padding: 6px 8px; }
}
@media (min-width: 900px) {
  .hero { padding: 48px 52px; }
  .matn-grid { gap: 16px; }
}
