:root {
  --ink: #1e1b3a;
  --on-gold: #1e1b3a;
  --muted: #5b6478;
  --paper: #f7f8fc;
  --card: #fff;
  --line: #ececec;
  --soft: #f3f4f7;
  --brand: #5b4bcc;
  --brand-mid: #4f3fb8;
  --brand-deep: #3f348f;
  --brand-text: #3f348f;
  --lilac: #eeebfb;
  --gold: #e8c56a;
  --yellow: #5b4bcc;
  --yellow-2: #4f3fb8;
  --lime: #e8c56a;
  --teal: #4f3fb8;
  --cyan: #8b7ee8;
  --pink: #5b4bcc;
  --ok: #0f9f6e;
  --max: 1120px;
  --shadow: 6px 6px 0 #1e1b3a;
  /* عنوان الصفحة الموحّد — نفس المقاس في كل الموقع (مرجع: ماست صفحة الكتاب) */
  --title-size: clamp(1.25rem, 4vw, 1.85rem);
  --title-lh: 1.2;
  --title-mark: var(--gold);
  --title-mark-ink: var(--on-gold);
  --punch: #1e1b3a;
  --dots: #dcdcdc;
  --mast: #f4f3f0;
  --mast-brand: #f3f0fc;
  --mast-deep: #ebe6f8;
  --mast-mint: #eef8f3;
  --ok-bg: #e7f6ee;
  --mid-bg: #fff6dc;
  --warn-bg: #fdece6;
  --bad-bg: #fde8e8;
  --warn: #b45309;
  --bad: #b42318;
  --cream: #fffbe8;
  --gold-ink: #9a6b12;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3efff;
  --on-gold: #1e1b3a;
  --muted: #c9c4de;
  --paper: #12101c;
  --card: #1c1930;
  --line: #4a4370;
  --soft: #252145;
  --brand: #9a90f0;
  --brand-mid: #b4acf8;
  --brand-deep: #4a3db8;
  --brand-text: #d2ccff;
  --lilac: #2a2550;
  --gold: #e8c56a;
  --yellow: #5b4bcc;
  --yellow-2: #8b7ee8;
  --lime: #e8c56a;
  --teal: #8b7ee8;
  --cyan: #b4acf8;
  --pink: #9a90f0;
  --ok: #4adf9c;
  --shadow: 6px 6px 0 #0a0814;
  --punch: #0a0814;
  --dots: #2a2550;
  --mast: #1a1630;
  --mast-brand: #1a1633;
  --mast-deep: #16132a;
  --mast-mint: #14241c;
  --ok-bg: #163325;
  --mid-bg: #2a2412;
  --warn-bg: #3a2410;
  --bad-bg: #3a1418;
  --warn: #e8b86a;
  --bad: #f07171;
  --cream: #2a2412;
  --gold-ink: #e8b86a;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
}
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dots) 1px, transparent 1px);
  background-size: 18px 18px;
  font: 16px/1.6 "IBM Plex Sans Arabic", Tahoma, sans-serif;
}
h1,
h2,
h3 {
  font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.35em;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset: 8px;
  z-index: 40;
  background: var(--card);
  color: var(--ink);
  padding: 8px;
}
.sq-wrap {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

/* header */
.sq-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.sq-bar-in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  width: min(1240px, calc(100% - 28px));
  margin-inline: auto;
}
.sq-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.sq-bar .sq-brand {
  flex: 1;
}
.sq-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgb(91 75 204 / 0.18);
}
.sq-logo svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.sq-brand-name {
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
}
.sq-brand-name em {
  font-style: normal;
  display: inline-block;
  margin-inline-start: 0.15em;
  padding: 0.02em 0.34em 0.08em;
  border: 1px solid var(--line);
  border-radius: 0.34em;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 1.14em;
  line-height: 1.12;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-card);
}
.sq-bar .sq-brand-name {
  font-size: clamp(1.2rem, 5.4vw, 1.55rem);
  white-space: nowrap;
}
.sq-nav {
  display: none;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.sq-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}
.sq-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}
.sq-nav a[aria-current="page"] {
  background: var(--lime);
  color: var(--on-gold);
  text-decoration: none;
}
.sq-tools {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.sq-tool {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.sq-tool:hover,
.sq-tool-txt:hover {
  background: var(--soft);
}
.sq-theme .i-sun {
  display: none;
}
html[data-theme="dark"] .sq-theme .i-moon {
  display: none;
}
html[data-theme="dark"] .sq-theme .i-sun {
  display: block;
}
.sq-drawer-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.sq-tool-txt {
  display: none;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
}
.sq-icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.sq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 14px;
  cursor: pointer;
}
.sq-btn-fill {
  background: var(--brand);
  color: #fff;
}
.sq-btn-fill:hover {
  background: var(--brand-mid);
  color: #fff;
}
.sq-menu {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.sq-menu:hover {
  background: var(--soft);
}
@media (min-width: 960px) {
  .sq-menu {
    display: none;
  }
  .sq-nav {
    display: flex;
  }
  .sq-tool-txt {
    display: inline-flex;
  }
  .sq-brand {
    flex: 0 1 auto;
  }
  .sq-brand-name {
    font-size: 1.5rem;
    white-space: nowrap;
  }
}
@media (min-width: 960px) and (max-width: 1280px) {
  .sq-nav a {
    font-size: 13px;
    padding: 8px 8px;
  }
  .sq-brand-name {
    font-size: 1.28rem;
  }
}

.sq-drawer[hidden] {
  display: none;
}
.sq-drawer:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #1116;
}
.sq-drawer-sheet {
  background: var(--card);
  width: min(340px, 92vw);
  height: 100%;
  margin-inline-start: auto;
  padding: 18px 16px;
  overflow: auto;
}
.sq-drawer-close {
  display: block;
  border: 0;
  background: var(--soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 12px;
}
.sq-drawer-sheet a.sq-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
}
.sq-drawer-sheet a.sq-drawer-link[aria-current="page"] {
  background: var(--lime);
  color: var(--on-gold);
}

/* hero */
.sq-hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}
.sq-hero .sq-wrap {
  width: min(1240px, calc(100% - 36px));
  padding-inline: 2px 10px;
}
.sq-hero::before,
.sq-hero::after {
  content: "";
  position: absolute;
  border: 10px solid var(--lime);
  border-radius: 50%;
  pointer-events: none;
}
.sq-hero::before {
  width: 220px;
  height: 220px;
  bottom: -110px;
  inset-inline-start: -90px;
  opacity: 0.28;
}
.sq-hero::after {
  width: 150px;
  height: 150px;
  bottom: -70px;
  inset-inline-end: -60px;
  opacity: 0.2;
}
.sq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (min-width: 960px) {
  .sq-hero {
    padding: 36px 0 56px;
  }
  .sq-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr);
    gap: 36px;
    align-items: stretch;
  }
  .sq-hero-copy {
    padding-top: 6px;
    height: 100%;
    min-height: 100%;
  }
  .oz-index.oz-book {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .oz-index.oz-book .oz-book-shell {
    flex: 1 1 auto;
  }
}
.sq-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  width: 100%;
}
.sq-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
}
.sq-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18em;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: Cairo, sans-serif;
  font-size: clamp(1.7rem, 6.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.sq-hero-mark {
  display: inline-block;
  background: var(--title-mark);
  color: var(--title-mark-ink);
  padding: 0.06em 0.22em 0.1em;
  border-radius: 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.sq-hero-sub {
  color: var(--ink);
  white-space: nowrap;
}
.sq-hero-bits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 36rem;
}
.sq-hero-bits li {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}
.sq-hero-bits li:nth-child(1) {
  background: var(--lilac);
}
.sq-hero-bits li:nth-child(3) {
  background: var(--gold);
  color: var(--on-gold);
}
.sq-hero-copy .oz-search {
  width: 100%;
  max-width: 36rem;
  min-width: 0;
  margin-top: 0;
}
.oz-home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  width: 100%;
  max-width: 36rem;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(var(--gold) 0 4px, transparent 4px),
    var(--mast);
  box-shadow: var(--shadow-card);
}
.oz-home-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  min-height: 58px;
  padding: 12px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.oz-home-stats li:nth-child(odd) {
  border-inline-end: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}
.oz-home-stats li:nth-child(-n + 2) {
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}
.oz-home-stats em {
  position: absolute;
  top: 5px;
  inset-inline-start: 6px;
  font-style: normal;
  font-family: Cairo, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
}
.oz-home-stats-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 28%, transparent);
}
.oz-home-stats .i,
.oz-home-stats-ico .i {
  width: 12px;
  height: 12px;
  color: var(--on-gold);
}
.oz-home-stats b {
  font-family: Cairo, sans-serif;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--ink);
}
.oz-home-stats li > span:last-child {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--muted);
}
@media (min-width: 800px) {
  .oz-home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 0 0;
    border-width: 2.5px;
    border-radius: 22px;
    background:
      linear-gradient(var(--gold) 0 6px, transparent 6px),
      var(--mast);
    box-shadow: var(--shadow-card);
  }
  .oz-home-stats li {
    min-height: 108px;
    padding: 28px 6px 16px;
    gap: 6px;
  }
  .oz-home-stats em {
    top: 8px;
    inset-inline-start: 10px;
    font-size: 0.68rem;
  }
  .oz-home-stats-ico {
    width: 34px;
    height: 34px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
  }
  .oz-home-stats .i,
  .oz-home-stats-ico .i {
    width: 16px;
    height: 16px;
  }
  .oz-home-stats li > span:last-child {
    font-size: 0.72rem;
  }
  .oz-home-stats li:nth-child(odd),
  .oz-home-stats li:nth-child(-n + 2) {
    border: 0;
  }
  .oz-home-stats li:not(:last-child) {
    border-inline-end: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  }
  .oz-home-stats b {
    font-size: 1.7rem;
  }
}
@media (min-width: 960px) {
  .sq-hero-copy {
    gap: 16px;
  }
  .sq-hero-copy .oz-search {
    margin-top: 0;
  }
  .sq-hero-bits {
    gap: 12px;
    margin-top: 0;
  }
  .oz-home-stats {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    grid-auto-rows: 1fr;
  }
  .oz-home-stats li {
    min-height: 0;
    height: 100%;
    gap: 8px;
  }
  .oz-home-stats-ico {
    width: 40px;
    height: 40px;
  }
  .oz-home-stats-ico .i {
    width: 18px;
    height: 18px;
  }
  .sq-hero-title {
    font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  }
}
.sq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.sq-cta-row .sq-btn {
  min-height: 46px;
  padding: 10px 18px;
}
.sq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sq-pill {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
}

.sq-dash {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px 16px 12px;
}
.sq-dash-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.sq-dots {
  display: flex;
  gap: 5px;
}
.sq-dots i {
  width: 10px;
  height: 10px;
  background: var(--ink);
  display: block;
}
.sq-dots i:nth-child(2) {
  background: transparent;
  border: 1px solid var(--line);
}
.sq-dash-top span {
  margin: 0 auto;
}
.sq-dot-y {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border: 1px solid var(--line);
}
.sq-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.sq-kpi {
  border: 1px solid var(--line);
  padding: 12px 8px;
  text-align: center;
}
.sq-kpi b {
  display: block;
  font-size: 1.35rem;
  font-family: Cairo, sans-serif;
}
.sq-kpi small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.sq-kpi.is-y {
  background: var(--yellow);
  color: var(--on-gold);
}
.sq-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin: 8px 0 16px;
  padding: 0 4px;
}
.sq-bars i {
  flex: 1;
  background: var(--ink);
  display: block;
}
.sq-bars i.is-y {
  background: var(--yellow);
  border: 1px solid var(--line);
  box-sizing: border-box;
}
.sq-dash h3 {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.sq-recent {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sq-recent li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #eee;
  font-size: 13px;
  font-weight: 700;
}
.sq-recent a {
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sq-flag {
  font-size: 10px;
  font-weight: 800;
  border: 1px solid var(--line);
  padding: 1px 4px;
  margin-inline-end: 6px;
}

.sq-block {
  padding: 28px 0 40px;
}
.sq-block h2 {
  font-size: 1.6rem;
}
.sq-block p.sub,
.sq-page .sub {
  color: var(--muted);
  margin: 0 0 16px;
}
.sq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.sq-tabs button {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.sq-tabs button[aria-selected="true"] {
  background: var(--lime);
}
.sq-grades {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.sq-grade {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}
.sq-grade:hover {
  background: var(--lime);
}
.sq-grade small {
  color: var(--muted);
  font-weight: 700;
}

.sq-cards {
  display: grid;
  gap: 10px;
}
@media (min-width: 800px) {
  .sq-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sq-card {
  display: block;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  min-height: 120px;
}
.sq-card:hover {
  background: var(--cream);
}
.sq-card.is-y {
  box-shadow: var(--shadow-card);
}
.sq-card.is-teal {
  box-shadow: var(--shadow-card);
}
.sq-card.is-lime {
  box-shadow: var(--shadow-card);
}
.sq-card b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.sq-card span {
  color: var(--muted);
  font-size: 13px;
}

.sq-list {
  display: grid;
  gap: 8px;
}
.sq-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px 14px;
  text-decoration: none;
}
.sq-row:hover {
  box-shadow: var(--shadow-card);
}
.sq-row small {
  color: var(--muted);
  display: block;
  font-size: 12px;
}
.sq-chip {
  border: 1px solid var(--line);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  background: var(--card);
}
.sq-chip.is-y {
  background: var(--yellow);
  color: #fff;
}
.sq-chip.is-teal {
  background: var(--teal);
  color: #fff;
}
.sq-chip.is-lime {
  background: var(--lime);
  color: var(--on-gold);
}

.sq-page {
  padding: 28px 0 48px;
}
.sq-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.sq-crumbs a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sq-crumbs .i {
  width: 14px;
  height: 14px;
}
.sq-crumbs li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 6px;
}
.sq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}
.sq-filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-weight: 800;
  font-size: 13px;
  background: var(--card);
}
.sq-filters a.is-on {
  background: var(--lime);
}

.sq-doc {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sq-doc-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.sq-frame {
  width: 100%;
  min-height: 78vh;
  border: 0;
  background: var(--card);
}
.sq-file {
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 960px) {
  .sq-file {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
.sq-aside {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 14px;
  border-radius: 16px;
}
.sq-aside a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
}
.sq-aside a:last-child {
  border-bottom: 0;
}
.sq-aside-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.sq-page .oz-search {
  margin: 16px 0 22px;
  max-width: 640px;
}
.sq-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 16px 0;
}
.sq-form input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--card);
  color: var(--ink);
}
.sq-opts {
  display: grid;
  gap: 8px;
  max-width: 480px;
}
.sq-opts button {
  text-align: start;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}
.sq-opts button.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.sq-opts button.bad {
  opacity: 0.5;
}

.oz-share-wrap {
  margin-top: 10px;
  padding: 18px 0 8px;
  border-top: 2px dashed var(--line);
}
.oz-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.oz-share-l {
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-inline-end: 2px;
}
.oz-share a,
.oz-share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: inherit;
  font: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oz-share a:hover,
.oz-share button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.oz-share .i {
  width: 16px;
  height: 16px;
}
.oz-share .i-fill {
  stroke: none;
}
.oz-share button.is-done {
  background: var(--gold);
}
.sq-foot {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 46px 0 30px;
  border-top: 0;
  color: #eeebfb;
  background-color: #0a0814;
  background-image:
    radial-gradient(#ffffff18 1px, transparent 1px),
    linear-gradient(160deg, #2a2158, #0a0814 55%, #12101f);
  background-size: 18px 18px, auto;
}
.sq-foot a {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
.sq-foot .sq-brand-name {
  color: #fff;
}
.oz-note {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 20px;
  padding: 7px 10px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow-card);
}
.oz-note-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--on-gold);
  color: var(--gold);
}
.oz-note-ico .i {
  width: 16px;
  height: 16px;
}
.oz-note-clip {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to left, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.oz-note-track {
  display: flex;
  width: max-content;
  animation: oz-note-move 36s linear infinite;
}
.oz-note-track p {
  margin: 0;
  padding-inline-end: 3.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}
.oz-note-track a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.oz-note:hover .oz-note-track {
  animation-play-state: paused;
}
@keyframes oz-note-move {
  to {
    transform: translateX(50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oz-note-track {
    animation: none;
  }
  .oz-note-clip {
    overflow: auto;
  }
  .oz-note-track p[aria-hidden] {
    display: none;
  }
}
.oz-foot-zag {
  position: absolute;
  inset-inline-end: 18px;
  top: 72px;
  color: var(--gold);
  opacity: 0.85;
  pointer-events: none;
}
.oz-foot-zag svg {
  width: 52px;
  height: 18px;
}
.sq-foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: space-between;
  align-items: center;
}
.sq-foot-links,
.sq-foot-sec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sq-foot-links a,
.sq-foot-sec a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 2px solid #ffffff2e;
  border-radius: 999px;
  background: #ffffff12;
  color: #fff;
}
.sq-foot-links a:hover,
.sq-foot-sec a:hover {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--on-gold);
}
.sq-foot-copy {
  margin: 0;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c8c3e0;
}
.oz-top {
  position: fixed;
  left: 12px;
  bottom: 52px;
  z-index: 22;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.oz-top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.oz-top .i {
  width: 18px;
  height: 18px;
}
.sq-tag {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 20;
  background: var(--yellow);
  color: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}
svg.i {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* بحث + كارت الصفوف — بنفسجي البوابة الحية + ذهب */
.oz-search {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 560px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 6px;
  box-shadow: var(--shadow-card);
}
.oz-search svg {
  flex-shrink: 0;
  margin-inline-start: 6px;
  opacity: 0.7;
}
.oz-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  min-width: 0;
  padding: 8px 4px;
  font-weight: 600;
  text-overflow: ellipsis;
}
.oz-search button {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.oz-search button:hover {
  background: var(--brand-mid);
}

.oz-index {
  position: relative;
  background: var(--card);
  border: 4px solid var(--teal);
  border-radius: 28px;
  padding: 22px 20px 16px;
  box-shadow: var(--shadow-card);
}
.oz-tape {
  position: absolute;
  top: -12px;
  inset-inline-end: 18%;
  width: 72px;
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--pink) 0 8px,
    #fff 8px 14px
  );
  transform: rotate(-8deg);
  border-radius: 2px;
  opacity: 0.95;
}
.oz-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.oz-index-head h2 {
  font-size: 1.35rem;
  margin: 0;
}
.oz-pick {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
}
.oz-pick b {
  color: var(--ink);
  background: var(--lime);
  padding: 0.05em 0.3em;
  border-radius: 0.3em;
}
.oz-sticker {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.oz-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  background: var(--soft);
  border: 2px solid #e3e1ee;
  border-radius: 16px;
  padding: 4px;
  margin: 16px 0 8px;
  overflow-x: auto;
}
.oz-tabs button {
  flex: 1 1 0;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-family: Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 15.2px;
  line-height: 1.4;
  padding: 1px 6px;
  cursor: pointer;
  color: #6b6784;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.oz-tabs button:hover {
  color: var(--ink);
}
.oz-tabs button[aria-selected="true"] {
  background: var(--lime);
  color: #15132b;
  border-color: #15132b;
}
.oz-grades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 52px);
  gap: 0 18px;
  min-height: 156px;
  align-content: start;
}
.oz-grade {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 2px;
  border-bottom: 2px dashed #e3e1ee;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.oz-grade::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 5px;
  border: 2px solid #6b6784;
  background: var(--card);
  transition: background-color 0.2s, border-color 0.2s;
}
.oz-grade b {
  padding: 0 0.2em;
  border-radius: 0.3em;
  font-family: Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.5;
  white-space: nowrap;
  color: #15132b;
  background: linear-gradient(var(--lime), var(--lime)) 100% 50% / 0 100% no-repeat;
  transition: background-size 0.3s ease, color 0.2s;
}
.oz-grade small {
  margin-inline-start: auto;
  color: #6b6784;
  font-family: Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.oz-grade:hover b {
  background-size: 100% 100%;
  color: #15132b;
}
.oz-grade:hover::before {
  background: var(--pink);
  border-color: #15132b;
}
.oz-grade.is-on::before,
.oz-grade[aria-current="page"]::before {
  background: var(--lime);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px #fff;
}
.oz-grade.is-on b,
.oz-grade[aria-current="page"] b {
  background-size: 100% 100%;
}
.oz-index-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.oz-index.oz-book {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.oz-book-lead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}
.oz-book-lead span {
  font-family: Cairo, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.oz-book-shell {
  position: relative;
  padding: 12px 10px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px 6px 6px 16px;
  background:
    linear-gradient(165deg, #3a3270 0%, #1e1b3a 58%, #14111f 100%);
  box-shadow: var(--shadow-card);
}
.oz-book-ribbon {
  position: absolute;
  top: -8px;
  inset-inline-start: 50%;
  width: 18px;
  height: 46px;
  margin-inline-start: -9px;
  background: var(--gold);
  border: 1px solid var(--line);
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  z-index: 2;
  pointer-events: none;
}
.oz-book-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  min-height: 372px;
  border-radius: 10px 3px 3px 10px;
  background: #fbf6e8;
  color: #1e1b3a;
  perspective: 1400px;
  box-shadow:
    -4px 0 0 #efe6d0,
    -7px 0 0 #e4d8bc,
    -10px 0 0 #d6c9a8,
    -11px 0 0 #1e1b3a,
    inset 0 0 0 1px rgb(30 27 58 / 0.08);
}
.oz-book-gutter {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgb(30 27 58 / 0.2),
      rgb(255 255 255 / 0.28) 46%,
      rgb(30 27 58 / 0.28) 54%,
      rgb(30 27 58 / 0.08)
    );
  box-shadow: inset 0 0 14px rgb(30 27 58 / 0.12);
}
.oz-book-gutter::before,
.oz-book-gutter::after {
  content: "";
  position: absolute;
  inset-inline: 7px;
  height: 10px;
  border-radius: 99px;
  background: rgb(30 27 58 / 0.18);
}
.oz-book-gutter::before {
  top: 14px;
}
.oz-book-gutter::after {
  bottom: 14px;
}
.oz-book-page {
  min-width: 0;
  padding: 14px 12px 12px;
}
.oz-book-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #6d624c;
}
.oz-book-kicker span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e1b3a;
  color: #e8c56a;
  font-size: 0.72rem;
}
.oz-book-kicker b {
  color: #1e1b3a;
  font-size: 0.95rem;
}
.oz-chaps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oz-chap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 6px 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.72);
  color: #1e1b3a;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.oz-chap:hover {
  background: #fff;
  border-color: rgb(30 27 58 / 0.25);
}
.oz-chap[aria-selected="true"] {
  background: var(--gold);
  color: #1e1b3a;
  border-color: #1e1b3a;
  box-shadow: var(--shadow-card);
}
.oz-chap-n {
  flex: 0 0 auto;
  width: 26px;
  font-family: Cairo, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #8a7f68;
}
.oz-chap[aria-selected="true"] .oz-chap-n {
  color: #1e1b3a;
}
.oz-chap-t {
  flex: 1;
  min-width: 0;
  font-family: Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}
.oz-chap-c {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a7f68;
}
.oz-chap[aria-selected="true"] .oz-chap-c {
  color: #1e1b3a;
}
.oz-book-leaf {
  position: relative;
  overflow: hidden;
  transform-origin: right center;
}
.oz-book-leaf::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 18px 18px;
  border-color: transparent transparent #cfc3a4 #efe6d0;
  pointer-events: none;
}
.oz-book .oz-grades {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 300px;
  align-content: start;
}
.oz-book .oz-grade {
  min-height: 46px;
  padding: 7px 10px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #1e1b3a;
  box-shadow: var(--shadow-card);
}
.oz-book .oz-grade::before {
  display: none;
}
.oz-book .oz-grade-n {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1e1b3a;
  color: #e8c56a;
  font-family: Cairo, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}
.oz-book .oz-grade-t {
  flex: 1;
  min-width: 0;
}
.oz-book .oz-grade b {
  padding: 0;
  background: none;
  color: #1e1b3a;
  font-size: 0.98rem;
  white-space: nowrap;
}
.oz-book .oz-grade small {
  display: none;
}
.oz-book .oz-grade-go {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #3f348f;
}
.oz-book .oz-grade:hover {
  background: var(--gold);
  color: #1e1b3a;
}
.oz-book .oz-grade:hover b {
  background: none;
  color: #1e1b3a;
}
.oz-book .oz-grade.is-on,
.oz-book .oz-grade[aria-current="page"] {
  background: var(--gold);
  box-shadow: var(--shadow-card);
}
.oz-book-leaf.is-turn {
  animation: oz-leaf-turn 0.52s ease;
}
@keyframes oz-leaf-turn {
  0% {
    transform: rotateY(0);
  }
  42% {
    transform: rotateY(-86deg);
  }
  43% {
    transform: rotateY(86deg);
  }
  100% {
    transform: rotateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oz-chap,
  .oz-book-leaf,
  .oz-book .oz-grade {
    transition: none;
    animation: none;
  }
}
.oz-book .oz-index-note {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 640px) {
  .sq-hero {
    overflow: visible;
    padding: 22px 0 28px;
  }
  .sq-hero::before,
  .sq-hero::after {
    display: none;
  }
  .sq-hero .sq-wrap {
    width: min(1240px, calc(100% - 24px));
    padding-inline: 0;
  }
  .sq-hero-copy .oz-search {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    padding: 8px;
    box-shadow: var(--shadow-card);
  }
  .sq-hero-copy .oz-search svg {
    margin-inline-start: 2px;
    align-self: center;
  }
  .sq-hero-copy .oz-search button {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 16px;
  }
  .oz-index {
    padding: 16px 12px 12px;
    border-width: 3px;
    box-shadow: var(--shadow-card);
  }
  .oz-index.oz-book {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .oz-book-lead {
    margin-bottom: 8px;
  }
  .oz-book-shell {
    padding: 10px 8px 12px 12px;
    border-radius: 14px 6px 6px 14px;
    box-shadow: var(--shadow-card);
  }
  .oz-book-spread {
    grid-template-columns: 1fr;
    grid-template-rows: auto 10px auto;
    min-height: 0;
    border-radius: 10px 8px 8px 10px;
    box-shadow:
      0 4px 0 #efe6d0,
      0 7px 0 #e4d8bc,
      0 8px 0 var(--ink);
  }
  .oz-book-gutter {
    background: linear-gradient(#d8ccb0, #f7f1e4);
  }
  .oz-book-gutter::before,
  .oz-book-gutter::after {
    display: none;
  }
  .oz-book-page {
    padding: 12px 10px 10px;
  }
  .oz-chaps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .oz-chap:first-child {
    grid-column: 1 / -1;
  }
  .oz-chap {
    min-height: 46px;
  }
  .oz-book-leaf {
    transform-origin: top center;
  }
  .oz-book .oz-grades {
    min-height: 0;
  }
  .oz-book .oz-grade b {
    white-space: normal;
  }
  .oz-sticker {
    font-size: 11px;
    padding: 5px 8px;
  }
  .oz-grades {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 52px);
    min-height: 312px;
  }
  .oz-tabs {
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .oz-tabs::-webkit-scrollbar {
    display: none;
  }
  .oz-tabs button {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .oz-search {
    box-shadow: var(--shadow-card);
  }
  .oz-grade b,
  .oz-grade small {
    white-space: normal;
  }
}

/* جولة «اختار تبدأ منين» — نفس أسلوب ألو أستاذ.
   مش .gt لوحدها: كروت الصفوف في الرئيسية كمان class="gt" وكانت بتاخد pointer-events:none فمش بتفتح. */
body > .gt[role="dialog"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 40;
  --gt-ink: #ff4f9a;
}
.gt-note {
  pointer-events: auto;
  position: absolute;
  box-sizing: border-box;
  width: max-content;
  max-width: min(260px, calc(100vw - 24px));
  padding: 12px 14px 10px;
  border-radius: 14px 18px 12px 16px;
  background: #fffbe8;
  color: #1d1a35;
  box-shadow: 0 14px 30px -14px #000000a6, 0 0 0 1px #1d1a3514;
  rotate: -1.5deg;
  animation: gtNote 0.35s ease-out both;
}
.gt.still .gt-note {
  animation: none;
}
@keyframes gtNote {
  0% {
    opacity: 0;
    scale: 0.9;
  }
}
.gt-ink {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px #0000004d);
}
.gt-ink path {
  fill: none;
  stroke: var(--gt-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: gtDraw 0.5s ease-out forwards;
}
.gt-ink .gt-ring {
  stroke-width: 3.4;
}
.gt-ink .gt-arrow,
.gt-ink .gt-head {
  stroke-width: 2.8;
}
.gt.still .gt-ink path {
  animation: none;
  stroke-dashoffset: 0;
}
@keyframes gtDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.gt-note b {
  display: block;
  width: fit-content;
  font: 800 1.15rem / 1.5 Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  background: linear-gradient(#ffd23a99, #ffd23a99) 0 88% / 100% 0.38em no-repeat;
  padding-inline: 0.1em;
}
.gt-note small {
  display: block;
  margin-top: 4px;
  color: #55526e;
  font-size: 0.82rem;
  line-height: 1.6;
}
.gt-f {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.gt-dots {
  display: inline-flex;
  gap: 4px;
}
.gt-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d1a3533;
}
.gt-dots i.on {
  width: 16px;
  border-radius: 6px;
  background: #ff4f9a;
}
.gt-skip {
  margin-inline-start: auto;
  min-height: 32px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: #55526e;
  font-size: 0.82rem;
  cursor: pointer;
}
.gt-nv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-end: auto;
  min-height: 32px;
  color: #55526e;
  font-size: 0.78rem;
  cursor: pointer;
}
.gt-nv input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #ff4f9a;
}
.gt-go {
  min-height: 34px;
  padding: 4px 16px;
  border: 0;
  border-radius: 999px;
  background: #1d1a35;
  color: #fff;
  font: 700 0.85rem / 1.4 Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  cursor: pointer;
}

.sq-nodes,
.sq-sec-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 800px) {
  .sq-sec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.oz-natiga {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  min-height: 76px;
  padding: 10px 10px 10px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--ok-bg);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 11px,
    color-mix(in srgb, var(--card) 40%, transparent) 11px 22px
  );
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oz-natiga:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.oz-natiga-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  border: 1px solid var(--line);
}
.oz-natiga-ico .i {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.oz-natiga-copy {
  flex: 1;
  min-width: 0;
}
.oz-natiga-copy b {
  display: block;
  font-family: Cairo, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.oz-natiga-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}
.oz-natiga-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}
.oz-natiga-go .i {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}
@media (max-width: 640px) {
  .oz-natiga {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "ico copy"
      "go go";
    align-items: start;
    column-gap: 10px;
    row-gap: 10px;
    border-radius: 22px;
    padding: 14px 12px;
  }
  .oz-natiga-ico {
    grid-area: ico;
    align-self: start;
    width: 56px;
    height: 56px;
  }
  .oz-natiga-ico .i {
    width: 26px;
    height: 26px;
  }
  .oz-natiga-copy {
    grid-area: copy;
    flex-basis: auto;
  }
  .oz-natiga-copy b {
    font-size: 1.42rem;
    line-height: 1.18;
  }
  .oz-natiga-copy small {
    font-size: 0.86rem;
  }
  .oz-natiga-go {
    grid-area: go;
    justify-self: end;
    margin: 0;
  }
}
.oz-news {
  width: 100%;
  margin: 8px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 28px;
  box-shadow: var(--shadow-card);
}
.oz-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px dashed #e3e1ee;
}
.oz-news-meta time {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.oz-counts {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}
.oz-count {
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.oz-count-label {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}
.oz-count-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}
.oz-count-bits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.oz-count-bits span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--lilac);
}
.oz-count-bits b {
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.oz-count-bits small {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted);
}
.oz-count-done {
  margin: 0;
  font-weight: 800;
}
.oz-count.is-done .oz-count-bits {
  display: none;
}
.oz-news-body {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink);
}
.oz-news-body > * {
  margin: 0;
}
.oz-news-body > * + * {
  margin-top: 0.9em;
}
.oz-news-body h2,
.oz-news-body h3,
.oz-news-body h4 {
  font-family: Cairo, "IBM Plex Sans Arabic", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink);
}
.oz-news-body h2 {
  font-size: 1.42rem;
  margin-top: 1.45em;
  padding-bottom: 0.28em;
  border-bottom: 3px solid var(--gold);
}
.oz-news-body h3 {
  font-size: 1.18rem;
  margin-top: 1.25em;
  color: var(--brand-text);
}
.oz-news-body h4 {
  font-size: 1.05rem;
  margin-top: 1.1em;
}
.oz-news-body ul,
.oz-news-body ol {
  padding: 0;
  margin-top: 0.7em;
}
.oz-news-body li {
  margin: 0.38em 0;
  padding-inline-start: 0.2em;
}
.oz-news-body ul {
  list-style: none;
}
.oz-news-body ul li {
  position: relative;
  padding-inline-start: 1.45em;
}
.oz-news-body ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--brand);
}
.oz-news-body ol {
  padding-inline-start: 1.7em;
}
.oz-news-body ol li::marker {
  color: var(--brand);
  font-family: Cairo, sans-serif;
  font-weight: 800;
}
.oz-news-body blockquote {
  margin: 1.15em 0 0;
  padding: 14px 18px;
  border-inline-start: 5px solid var(--gold);
  background: var(--lilac);
  border-start-end-radius: 16px;
  border-end-end-radius: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.oz-news-body a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 3px;
}
.oz-news-body a:hover {
  color: var(--brand-text);
}
.oz-news-body strong,
.oz-news-body b {
  font-weight: 800;
}
.oz-news-body em,
.oz-news-body i {
  font-style: italic;
}
.oz-news-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.oz-news-body hr {
  border: 0;
  border-top: 2px dashed var(--line);
  margin: 1.4em 0 0;
}
.oz-news-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.oz-news-body th,
.oz-news-body td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: start;
  vertical-align: top;
}
.oz-news-body th {
  background: var(--lilac);
  font-family: Cairo, sans-serif;
  font-weight: 800;
}
.oz-news-body td {
  background: var(--card);
}
.oz-news-back {
  margin: 22px 0 0;
}
.oz-namazeg-pair {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}
@media (min-width: 800px) {
  .oz-namazeg-pair {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.oz-namazeg-col {
  min-width: 0;
  scroll-margin-top: 92px;
}
.sq-node.is-hal {
  background: var(--ok-bg);
}
.sq-node.is-hal .sq-num {
  background: var(--ok);
  color: #fff;
}
.oz-term-block {
  margin: 10px 0 8px;
}
.oz-term-pair {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow);
}
@media (min-width: 720px) {
  .oz-term-pair {
    grid-template-columns: 1fr 1fr;
  }
}
.oz-term-card {
  min-height: 92px;
  padding: 16px 16px;
  box-shadow: var(--shadow-card);
}
.oz-term-card .sq-num {
  width: 48px;
  height: 48px;
  background: var(--gold);
  font-size: 1rem;
}
.oz-term-card b {
  font-size: 1.08rem;
  line-height: 1.35;
}
.oz-term-card:hover {
  background: var(--lilac);
  box-shadow: var(--shadow-card);
}
.oz-term-pair .sq-node.is-on {
  background: var(--punch);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.oz-term-pair .sq-node.is-on small {
  color: var(--gold);
}
.oz-term-pair .sq-node.is-on .sq-num {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-term-pair .sq-node.is-on .sq-chip {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-stage-row {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}
@media (min-width: 900px) {
  .oz-stage-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .oz-stage-row > .sq-node.is-bak {
    grid-column: 1 / -1;
  }
}
.oz-stage-row .sq-node.is-bak {
  background: var(--lilac);
}
.oz-stage-row .sq-node.is-bak .sq-num {
  background: var(--brand);
  color: #fff;
}
.oz-stage-row .sq-node.is-on {
  background: var(--cream);
  box-shadow: var(--shadow-card);
}
.oz-stage-row .sq-node.is-bak.is-on {
  background: var(--lilac);
  box-shadow: var(--shadow-card);
}
button.sq-node {
  appearance: none;
  font: inherit;
  width: 100%;
  text-align: start;
  cursor: pointer;
}
.oz-kutub-grade {
  margin: 10px 0 28px;
}
.oz-kutub-grade.is-wait {
  margin: 10px 0;
}
.oz-stage-block {
  scroll-margin-top: 92px;
  padding-top: 4px;
}
.oz-stage-block.is-on .sq-files-h {
  color: var(--ink);
}
.sq-node.is-on .sq-chip {
  background: var(--lime);
  color: var(--on-gold);
}
.oz-urgent {
  border-bottom: 1px solid var(--line);
  background: var(--brand);
  color: #fff;
}
.oz-urgent-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 6px;
}
.oz-urgent-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: Cairo, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.oz-urgent-mark .i {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.oz-urgent-clip {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to left, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.oz-urgent-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: oz-urgent-run 28s linear infinite;
}
.oz-urgent-set {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-inline-end: 22px;
}
.oz-urgent-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.3;
}
.oz-urgent-item em {
  font-style: normal;
  padding: 2px 7px;
  border: 1.5px solid color-mix(in srgb, #fff 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 16%, transparent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}
html[data-theme="dark"] .oz-urgent {
  background: #2a2550;
  color: var(--ink);
}
html[data-theme="dark"] .oz-urgent-item em {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}
.oz-urgent-item:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.oz-urgent:hover .oz-urgent-track {
  animation-play-state: paused;
}
@keyframes oz-urgent-run {
  to {
    transform: translateX(50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oz-urgent-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    gap: 10px 16px;
  }
  .oz-urgent-set[aria-hidden] {
    display: none;
  }
  .oz-urgent-clip {
    overflow: visible;
    mask-image: none;
  }
  .oz-urgent-item {
    white-space: normal;
  }
}
body:has(.oz-urgent) .oz-mast {
  margin-top: 0;
}
.oz-mast {
  position: relative;
  overflow: hidden;
  margin: 4px 0 22px;
  padding: 22px 0 24px;
  background-color: var(--mast);
  background-image: radial-gradient(var(--dots) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 1px solid var(--line);
}
.oz-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, color-mix(in srgb, var(--gold) 18%, transparent), transparent 58%);
  pointer-events: none;
}
.oz-mast .sq-hero-mark {
  background: var(--title-mark);
  color: var(--title-mark-ink);
}
.oz-mast.is-brand {
  background-color: var(--mast-brand);
}
.oz-mast.is-brand::before {
  background: linear-gradient(to left, color-mix(in srgb, var(--brand) 26%, transparent), transparent 58%);
}
.oz-mast.is-brand .oz-mast-deco {
  color: var(--brand);
}
.oz-mast.is-deep {
  background-color: var(--mast-deep);
}
.oz-mast.is-deep::before {
  background: linear-gradient(to left, color-mix(in srgb, var(--brand-deep) 34%, transparent), transparent 58%);
}
.oz-mast.is-deep .oz-mast-deco {
  color: var(--brand-mid);
}
.oz-mast.is-mint {
  background-color: var(--mast-mint);
}
.oz-mast.is-mint::before {
  background: linear-gradient(to left, color-mix(in srgb, var(--ok) 28%, transparent), transparent 58%);
}
.oz-mast.is-mint .oz-mast-deco {
  color: var(--ok);
}
/* توحيد شريط العنوان: نفس البيج بتاع المرجع في كل الأقسام */
.oz-mast.is-brand,
.oz-mast.is-deep,
.oz-mast.is-mint {
  background-color: var(--mast);
}
.oz-mast.is-brand::before,
.oz-mast.is-deep::before,
.oz-mast.is-mint::before {
  background: linear-gradient(to left, color-mix(in srgb, var(--gold) 18%, transparent), transparent 58%);
}
.oz-mast.is-brand .oz-mast-deco,
.oz-mast.is-deep .oz-mast-deco,
.oz-mast.is-mint .oz-mast-deco {
  color: var(--teal);
}
.oz-mast-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.oz-mast-copy {
  min-width: 0;
  flex: 1;
}
.oz-mast-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
}
.oz-mast-back:hover {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-mast-back .i {
  width: 14px;
  height: 14px;
}
.oz-bits {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.oz-bits li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 800;
  white-space: nowrap;
}
.oz-bits li + li {
  border-inline-start: 2px solid var(--line);
}
.oz-bits b {
  font-family: Cairo, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}
.oz-bits span {
  color: var(--muted);
  font-size: 0.75rem;
}
.oz-mast-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.oz-mast-title .sq-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.oz-mast h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--title-size);
  line-height: var(--title-lh);
  letter-spacing: -0.03em;
  min-width: 0;
}
.oz-mast h1 small {
  font-size: 0.72em;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.oz-mast .sq-hero-mark {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.oz-mast-deco {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.oz-mast-zag {
  width: 44px;
  height: 16px;
}
.oz-mast-spark {
  color: var(--gold);
  margin-inline-start: 10px;
}
.oz-mast-spark .i {
  width: 18px;
  height: 18px;
}
@media (max-width: 559px) {
  .oz-mast {
    padding: 16px 0 18px;
  }
  .oz-mast-title .sq-logo {
    width: 40px;
    height: 40px;
  }
  .oz-mast-deco {
    display: none;
  }
  .oz-mast-in.has-bits {
    flex-direction: column;
    align-items: stretch;
  }
  .oz-bits {
    width: 100%;
    justify-content: space-around;
  }
  .oz-bits li {
    flex: 1;
    justify-content: center;
    padding: 8px 8px;
  }
}
.oz-tree {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 960px) {
  .oz-tree {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .oz-tree-side {
    order: 0;
  }
  .oz-tree-main {
    order: 0;
  }
}
.oz-tree-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 14px 12px;
  box-shadow: var(--shadow-card);
}
.oz-tree-side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.oz-tree-side-head .sq-logo {
  width: 40px;
  height: 40px;
}
.oz-tree-side-head b {
  display: block;
  font-size: 1.02rem;
}
.oz-tree-side-head a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.oz-tree-side-head a:hover {
  color: var(--ink);
}
.oz-tree-nav {
  display: grid;
  gap: 2px;
}
.oz-tree-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 8px;
  border-radius: 12px;
}
.oz-tree-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.oz-tree-nav a:hover,
.oz-tree-nav a[aria-current="page"] {
  background: var(--cream);
}
.oz-head {
  margin: 0 0 20px;
}
.oz-head .oz-tree-h {
  margin-bottom: 8px;
}
.oz-head .sub {
  margin: 0;
  font-weight: 700;
}
.oz-tree-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 14px;
}
.oz-tree-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pink);
  border: 1px solid var(--line);
}
.oz-tree-h {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  text-align: start;
}
.oz-stgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.oz-stgrid.is-stack {
  flex-direction: column;
  flex-wrap: nowrap;
}
.oz-stgrid.is-stack .oz-stcard {
  flex: none;
  width: 100%;
  max-width: none;
}
.oz-stcard {
  flex: 1 1 220px;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 14px 14px 12px;
  text-decoration: none;
  color: inherit;
  min-height: 84px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oz-stcard:hover {
  transform: translateY(-2px);
}
.oz-stcard:hover .oz-stcard-num {
  transform: scale(1.08);
}
.oz-stcard.is-wait {
  cursor: default;
}
.oz-stcard.is-y {
  box-shadow: var(--shadow-card);
}
.oz-stcard.is-pink {
  box-shadow: var(--shadow-card);
}
.oz-stcard.is-teal {
  box-shadow: var(--shadow-card);
}
.oz-stcard.is-lime {
  box-shadow: var(--shadow-card);
}
.oz-stcard-num {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
  font-family: Cairo, sans-serif;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.oz-stcard.is-y .oz-stcard-num {
  background: var(--yellow);
  color: #fff;
}
.oz-stcard.is-pink .oz-stcard-num {
  background: var(--pink);
  color: #fff;
}
.oz-stcard.is-teal .oz-stcard-num {
  background: var(--teal);
  color: #fff;
}
.oz-stcard.is-lime .oz-stcard-num {
  background: var(--lime);
  color: var(--on-gold);
}
.oz-stcard.is-cert {
  box-shadow: var(--shadow-card);
}
.oz-stcard.is-cert .oz-stcard-num {
  background: var(--brand-deep);
  color: #fff;
}
.oz-stcard-body {
  flex: 1;
  min-width: 0;
}
.oz-stcard-body b {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
}
.oz-stcard-body small {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}
.oz-stcard-chip {
  flex-shrink: 0;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
@media (max-width: 959px) {
  .oz-stcard {
    max-width: none;
    flex-basis: 100%;
  }
}
.sq-node {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px 14px;
  text-decoration: none;
  border-radius: 16px;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sq-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.oz-namazeg-list {
  display: grid;
  gap: 12px;
}
.sq-node.is-wait {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}
.sq-node.is-wait:hover {
  transform: none;
  box-shadow: none;
}
.sq-node b {
  display: block;
}
.sq-node small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.sq-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 13px;
}
.sq-num.is-y {
  background: var(--yellow);
  color: #fff;
}
.sq-num.is-teal {
  background: var(--teal);
  color: #fff;
}
.sq-files-h {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}
.oz-term-block + .sq-files-h {
  margin-top: 22px;
}
.sq-empty {
  border: 2px dashed #ccc;
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}
.sq-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 10px;
}
.oz-file-lead {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52rem;
}
.oz-file-lead a {
  color: var(--ink);
  font-weight: 800;
}
.oz-file-acts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}
.oz-file-act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 86px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.oz-file-act .i {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
}
.oz-file-act b {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}
.oz-file-act small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}
.oz-file-act.is-main,
.oz-file-act.is-done {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-file-act.is-main small,
.oz-file-act.is-done small {
  color: var(--on-gold);
}
.oz-file-act:hover {
  background: var(--lilac);
}
.oz-file-act.is-main:hover {
  background: var(--gold);
}
.oz-file-quiz {
  margin: 28px 0 8px;
  scroll-margin-top: 84px;
}
.oz-file-quiz-head {
  margin-bottom: 12px;
}
.oz-file-quiz-head h2 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
}
.oz-file-quiz-head p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.oz-file-quiz-more {
  margin: 14px 0 0;
  font-weight: 800;
}
.oz-file-quiz-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.oz-file-quiz-more .i {
  width: 16px;
  height: 16px;
}
@media (max-width: 640px) {
  .oz-file-acts {
    grid-template-columns: 1fr 1fr;
  }
  .oz-file-act {
    min-height: 78px;
    padding: 8px 10px;
  }
}
.sq-file-head {
  margin-bottom: 16px;
}
.sq-page.sq-file-page h1 {
  max-width: none;
  font-size: var(--title-size);
  line-height: var(--title-lh);
  letter-spacing: -0.03em;
}
.sq-doc-bar .sq-btn {
  border-radius: 999px;
  padding-inline: 14px;
}
.sq-doc-bar .i {
  width: 16px;
  height: 16px;
}
.sq-daily {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 22px;
  box-shadow: var(--shadow-card);
}
.oz-daily-block {
  padding-bottom: 48px;
}
.oz-daily {
  position: relative;
  display: grid;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) {
  .oz-daily {
    grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 28px;
    padding: 28px 32px 28px 28px;
  }
}
.oz-daily-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.oz-daily-num {
  min-width: 46px;
  height: 46px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #fff;
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 14px;
}
.oz-daily-side h2 {
  margin: 4px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.35;
}
.oz-daily-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  opacity: 0.72;
  font-weight: 700;
  font-size: 13px;
}
.oz-daily-date .i {
  width: 15px;
  height: 15px;
}
.oz-daily-hint {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  max-width: 26ch;
}
.oz-daily-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  text-decoration: none;
  color: var(--on-gold);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  background: var(--gold);
}
.oz-daily-more .i {
  width: 16px;
  height: 16px;
}
.oz-daily-more:hover {
  background: var(--cream);
  color: var(--on-gold);
}
.oz-daily-main {
  position: relative;
  min-width: 0;
  padding-top: 8px;
}
.oz-daily-q {
  position: absolute;
  top: -36px;
  left: -8px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  border-radius: 16px 16px 16px 6px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-card);
  z-index: 1;
}
@media (min-width: 900px) {
  .oz-daily-q {
    top: -18px;
    left: -22px;
  }
}
.oz-daily-main h3 {
  margin: 12px 0 18px;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.oz-daily-opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) {
  .oz-daily-opts {
    grid-template-columns: 1fr 1fr;
  }
}
.oz-daily-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: start;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}
.oz-daily-opt .l {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.oz-daily-opt:hover {
  background: var(--cream);
}
.oz-daily-opt.ok {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}
.oz-daily-opt.bad {
  opacity: 0.45;
}
.oz-daily-out {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-weight: 800;
  color: var(--ok);
}
.oz-quiz-list {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.oz-quiz-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 16px 16px;
}
.oz-quiz-card h3 {
  margin: 8px 0 14px;
  font-size: 1.12rem;
  line-height: 1.45;
}
.oz-quiz-cat {
  display: inline-block;
  background: var(--lime);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
@media (max-width: 559px) {
  .oz-daily {
    padding-top: 36px;
    box-shadow: 0 8px 0 var(--yellow);
  }
  .oz-daily-q {
    top: -18px;
    left: 12px;
  }
  .oz-daily-hint {
    max-width: none;
  }
  .oz-daily-main {
    order: -1;
  }
}
.sq-aside h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.sq-doc {
  border-radius: 16px;
}
.sq-doc-bar {
  align-items: center;
}
/* —— صفحة الخطأ: تجاوب موبايل / تابلت / دسك توب —— */
.sq-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.oz-miss {
  padding: 20px 0 40px;
  overflow-x: clip;
}
.oz-miss-wrap {
  display: grid;
  gap: 28px;
  min-width: 0;
}
.oz-miss-wrap > * {
  min-width: 0;
}
.oz-miss-card {
  text-align: center;
  padding: 26px 16px 20px;
}
.oz-miss-card .oz-tape {
  inset-inline-end: auto;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
}
.oz-miss-card .oz-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.35;
}
.oz-miss-card .oz-sticker .i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--pink);
}
.oz-miss-num {
  margin: 12px 0 0;
  font-family: Cairo, "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(3.6rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 5px 0 var(--pink);
}
.oz-miss-card h1 {
  margin: 14px 0 0;
  font-size: clamp(1.2rem, 4.2vw, 2rem);
  color: var(--ink);
  line-height: 1.35;
  text-wrap: balance;
}
.oz-miss-lead {
  max-width: 38rem;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
}
.oz-miss-search {
  max-width: 34rem;
  margin: 20px auto 0;
  width: 100%;
}
.oz-miss-go-short {
  display: none;
}
.oz-miss-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.oz-miss-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}
.oz-miss-pill .i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.oz-miss-pill:hover {
  background: var(--yellow);
}
.oz-miss-pill.is-brand {
  background: var(--lime);
  box-shadow: var(--shadow-card);
}
.oz-miss-grades-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.oz-miss-grades-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  min-width: 0;
}
.oz-miss-grades-head a {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 4px;
}
.oz-miss-grades-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.7;
}
.oz-miss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
.oz-miss-grid .sq-node {
  min-width: 0;
}
.oz-miss-grid .sq-node span:last-child {
  min-width: 0;
}
.oz-miss-grid .sq-node b,
.oz-miss-grid .sq-node small {
  overflow-wrap: anywhere;
}

@media (max-width: 639px) {
  .oz-miss-card {
    padding: 22px 14px 18px;
  }
  .oz-miss-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    border-radius: 22px;
    padding: 10px;
    box-shadow: var(--shadow-card);
  }
  .oz-miss-search svg {
    margin-inline-start: 4px;
    align-self: center;
  }
  .oz-miss-search button {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 16px;
  }
  .oz-miss-go-full {
    display: none;
  }
  .oz-miss-go-short {
    display: inline;
  }
  .oz-miss-pills {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .oz-miss-pill {
    width: 100%;
  }
  .oz-miss-pill.is-brand {
    box-shadow: var(--shadow-card);
  }
}

@media (min-width: 640px) {
  .oz-miss {
    padding: 28px 0 48px;
  }
  .oz-miss-card {
    padding: 32px 24px 24px;
  }
  .oz-miss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 960px) {
  .oz-miss {
    padding: 48px 0 64px;
  }
  .oz-miss-wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 36px;
    align-items: start;
  }
  .oz-miss-card {
    text-align: start;
    padding: 36px 32px 28px;
  }
  .oz-miss-card .oz-tape {
    left: auto;
    inset-inline-end: 16%;
    transform: rotate(-8deg);
  }
  .oz-miss-lead,
  .oz-miss-search {
    margin-inline: 0;
    max-width: none;
  }
  .oz-miss-pills {
    justify-content: flex-start;
  }
  .oz-miss-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .oz-miss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* المصادر — نفس الماست والكروت بتاعة باقي الموقع */
.oz-src-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
}
.oz-src-sec-lead {
  margin: 0 0 16px;
  max-width: 40rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.92rem;
}
.oz-src-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.oz-src-stats li {
  display: flex;
  flex-direction: column;
  min-width: 72px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.oz-src-stats b {
  font-family: Cairo, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
}
.oz-src-stats span {
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 4px;
  color: var(--muted);
}
.oz-src-card {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.oz-src-card h2 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
}
.oz-src-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
}
.oz-src-avatar.is-gold {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-src-avatar.is-lg {
  width: 72px;
  height: 72px;
  font-size: 1.85rem;
  border-radius: 22px;
}
.oz-src-wiz {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  margin-bottom: 28px;
}
.oz-src-wiz:hover {
  transform: translateY(-2px);
}
.oz-src-wiz-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oz-src-wiz-body small {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.75rem;
}
.oz-src-wiz-body b {
  font-size: 1.2rem;
  line-height: 1.25;
}
.oz-src-wiz-body span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.5;
}
.oz-src-wiz-go {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-weight: 800;
  white-space: nowrap;
}
.oz-src-wiz-go em {
  font-style: normal;
  background: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
}
.oz-src-people {
  display: grid;
  gap: 12px;
}
.oz-src-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}
.oz-src-person:hover {
  transform: translateY(-2px);
}
.oz-src-person-body {
  min-width: 0;
}
.oz-src-person-body b {
  display: block;
  font-size: 1.08rem;
  line-height: 1.3;
}
.oz-src-person-body small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
}
.oz-src-tag {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--lilac);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
}
.oz-src-n {
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
  background: var(--gold);
  color: var(--on-gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.oz-src-desk-id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.oz-src-role {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.92rem;
}
.oz-src-bio,
.oz-src-details {
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
}
.oz-src-details {
  color: var(--ink);
}
.oz-src-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}
.oz-src-grades span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--lilac);
}
.oz-src-card .oz-bits {
  margin: 0;
  align-self: start;
}
.oz-src-lessons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 22px;
}
.oz-src-lesson {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: start;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.oz-src-lesson:hover,
.oz-src-lesson.is-on {
  background: var(--lilac);
  box-shadow: var(--shadow-card);
}
.oz-src-lesson b {
  font-size: 1.02rem;
  line-height: 1.3;
}
.oz-src-lesson small {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}
.oz-src-lesson-sub {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.oz-src-lesson em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--ink);
}
.oz-src-board {
  scroll-margin-top: 88px;
}
.oz-src-board-head .sq-files-h {
  margin-top: 8px;
}
.oz-src-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.oz-src-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}
.oz-src-tab span {
  background: var(--lilac);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 0.75rem;
}
.oz-src-tab.is-on {
  background: var(--gold);
}
.oz-src-files {
  display: grid;
  gap: 10px;
}
.oz-src-file[hidden] {
  display: none !important;
}
.oz-src-file .sq-num {
  background: var(--lilac);
}
.oz-src-file .sq-num .i {
  width: 18px;
  height: 18px;
}
.oz-src-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 639px) {
  .oz-src-wiz {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .oz-src-wiz-go {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .oz-src-desk-id {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .oz-src-avatar.is-lg {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
}
@media (min-width: 720px) {
  .oz-src-people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oz-src-lessons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oz-src-card {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: start;
    padding: 22px 20px;
  }
}
@media (min-width: 960px) {
  .oz-src-lessons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oz-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 14px 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
}
.oz-place a,
.oz-place span {
  color: var(--ink);
  text-decoration: none;
}
.oz-place a {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.oz-place a:hover {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-place-sep {
  color: var(--muted);
  font-weight: 800;
}
.sq-aside a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
.sq-aside a .sq-chip {
  font-size: 11px;
}
.oz-next {
  margin: 28px 0 8px;
}
.oz-next-list,
.oz-subj-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.oz-next-card,
.oz-subj {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
}
.oz-next-card:hover,
.oz-subj:hover {
  background: var(--lilac);
}
.oz-next-card b,
.oz-subj b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.35;
}
.oz-next-card .sq-chip {
  grid-row: span 1;
}
.oz-next-links {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  grid-template-columns: 1fr;
}
.oz-next-links-end {
  margin-top: 22px;
}
.oz-next-go {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
}
.oz-next-go:hover {
  background: var(--gold);
}
.oz-next-go .i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.oz-next-go span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.oz-next-go b {
  font-size: 0.92rem;
}
.oz-next-go small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.oz-subj {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}
.oz-subj-n {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: Cairo, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}
.oz-subj-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oz-subj-body small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}
.oz-subj-chip {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
}
.oz-faq {
  padding: 8px 0 28px;
}
.oz-faq h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.oz-faq-lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.oz-faq-list {
  display: grid;
  gap: 8px;
}
.oz-faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 0;
}
.oz-faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  padding: 12px 14px;
  padding-inline-end: 44px;
  position: relative;
}
.oz-faq-list summary::-webkit-details-marker {
  display: none;
}
.oz-faq-list summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 12px;
  top: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  border: 1px solid var(--line);
  font-weight: 900;
  line-height: 1;
}
.oz-faq-list details[open] summary::after {
  content: "–";
}
.oz-faq-list details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 720px) {
  .oz-next-list,
  .oz-subj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oz-next-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .oz-subj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .oz-next-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oz-taq-main {
  margin-top: 4px;
  padding: 16px 16px;
  box-shadow: var(--shadow-card);
}
a.oz-taq-main:hover {
  box-shadow: var(--shadow-card);
}
div.oz-taq-main:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}
.oz-taq-view {
  display: grid;
  gap: 12px;
}
.oz-taq-acts {
  margin: 0;
}
.oz-taq-doc {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}
.oz-taq-doc .sq-frame {
  min-height: min(58vh, 640px);
}
.oz-taq-doc-bar {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--lilac);
}
@media (max-width: 959px) {
  .sq-page.oz-file-page .oz-taq-doc {
    grid-template-rows: minmax(0, 1fr);
    min-height: min(78dvh, 780px);
  }
  .sq-page.oz-file-page .oz-taq-doc-bar {
    display: none;
  }
  .sq-page.oz-file-page .oz-taq-doc .sq-frame {
    min-height: min(78dvh, 780px);
    height: min(78dvh, 780px);
  }
}
.oz-taq-doc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}
.oz-taq-doc-btn.is-main {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow-card);
}
.oz-taq-doc-btn:hover {
  background: var(--ink);
  color: var(--gold);
}
.oz-taq-doc-btn.is-main:hover,
.oz-taq-doc-btn.is-on {
  background: var(--ink);
  color: var(--gold);
  box-shadow: var(--shadow-card);
}
.oz-taq-doc-btn .i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-width: 2;
}
.oz-taq-doc-btn .oz-taq-ico-collapse,
.oz-taq-doc-btn .oz-taq-doc-off {
  display: none;
}
.oz-taq-doc-btn.is-on .oz-taq-ico-expand,
.oz-taq-doc-btn.is-on .oz-taq-doc-on {
  display: none;
}
.oz-taq-doc-btn.is-on .oz-taq-ico-collapse,
.oz-taq-doc-btn.is-on .oz-taq-doc-off {
  display: block;
}
.oz-taq-doc:fullscreen,
.oz-taq-doc:-webkit-full-screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: var(--card);
  grid-template-rows: auto 1fr;
}
.oz-taq-doc:fullscreen .sq-frame,
.oz-taq-doc:-webkit-full-screen .sq-frame {
  min-height: 0;
  height: 100%;
}
.oz-taq-board {
  display: grid;
  gap: 12px;
  align-items: start;
}
.oz-taq-meta {
  display: grid;
  gap: 12px;
  order: -1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 960px) {
  .oz-taq-board {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
  }
  .oz-taq-meta {
    order: 0;
  }
  .oz-taq-doc .sq-frame {
    min-height: 0;
    height: 100%;
  }
  .sq-page.oz-file-page {
    padding-top: 8px;
  }
  .sq-page.oz-file-page .oz-mast {
    margin: 0 0 8px;
    padding: 10px 0 12px;
  }
  .sq-page.oz-file-page .oz-taq-board {
    height: auto;
    max-height: none;
    min-height: 0;
    align-items: start;
    overflow: visible;
  }
  .sq-page.oz-file-page .oz-taq-meta {
    display: grid;
    align-self: start;
  }
  .sq-page.oz-file-page .oz-taq-doc {
    height: var(--file-board-h, auto);
    max-height: none;
    min-height: 0;
    overflow: hidden;
    align-self: start;
  }
  .sq-page.oz-file-page .oz-taq-doc .sq-frame {
    min-height: 0;
    height: 100%;
    max-height: 100%;
  }
}
.sq-page.oz-file-page .oz-file-lead {
  margin: 10px 0 16px;
  max-width: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--ink);
}
.sq-page.oz-file-page .oz-file-lead p {
  margin: 0 0 0.45em;
}
.sq-page.oz-file-page .oz-file-lead p:last-child {
  margin: 0;
}
.sq-page.oz-file-page .oz-seo {
  margin-top: 28px;
}
.oz-talk.is-rate {
  margin: 4px 0 0;
}
.oz-talk.is-rate .oz-talk-rate {
  padding: 14px 16px 16px;
}
.oz-talk.is-rate .oz-talk-rate-row {
  gap: 12px;
}
.oz-talk.is-rate .oz-talk-votes {
  width: 100%;
}
@media (min-width: 720px) {
  .oz-talk.is-rate .oz-talk-rate-head {
    margin-bottom: 12px;
  }
  .oz-talk.is-rate .oz-talk-votes {
    flex-wrap: nowrap;
  }
}
.oz-taq-meta h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.oz-taq-dl {
  margin: 0 0 14px;
  padding: 0;
}
.oz-taq-dl p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.oz-taq-meta .oz-file-acts {
  grid-template-columns: 1fr;
  margin: 0;
}
.oz-taq-meta .oz-file-act {
  min-height: 0;
  padding: 8px 10px;
}
.oz-taq-meta > .oz-file-act b {
  text-wrap: pretty;
}
.oz-taq-spec-wrap {
  margin: 0;
}
.oz-taq-spec-wrap h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}
.oz-taq-spec-wrap h3 .i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.2;
}
.oz-taq-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  background: var(--card);
  overflow: hidden;
}
.oz-taq-spec > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px 11px;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  background: var(--card);
}
.oz-taq-spec > div:nth-child(2n) {
  border-inline-end: 0;
  background: var(--soft);
}
.oz-taq-spec > div.is-full {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 10px;
  border-inline-end: 0;
  background: var(--card);
}
.oz-taq-spec > div.is-full:nth-child(2n) {
  background: var(--soft);
}
.oz-taq-spec > div.is-full dt {
  margin: 0;
}
.oz-taq-spec > div.is-full dd {
  text-align: end;
}
.oz-taq-spec > div:last-child {
  border-bottom: 0;
}
.oz-taq-spec dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.oz-taq-spec dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  text-wrap: pretty;
}
.oz-taq-how,
.oz-taq-more {
  margin: 8px 0 6px;
}
.oz-taq-how .sq-node:hover,
.oz-taq-view .oz-taq-how .sq-node:hover {
  transform: none;
  box-shadow: none;
}

.oz-like {
  padding: 6px 0 22px;
}
.oz-like-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.oz-like-kicker {
  margin: 0 0 2px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}
.oz-like-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.oz-like-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
}
.oz-like-all .i {
  width: 16px;
  height: 16px;
}
.oz-like-all:hover {
  color: var(--brand);
}
.oz-like-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.oz-like-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
}
.oz-like-card:hover {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-like-card:hover .oz-like-body small,
.oz-like-card:hover .oz-like-tag {
  color: var(--on-gold);
}
.oz-like-n {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: Cairo, sans-serif;
  font-weight: 800;
}
.oz-like-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.oz-like-tag {
  width: fit-content;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.7rem;
  font-weight: 800;
}
.oz-like-body b {
  font-size: 0.95rem;
  line-height: 1.35;
}
.oz-like-body small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 720px) {
  .oz-like-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oz-topdl {
  background: linear-gradient(180deg, var(--card) 0, transparent 48px);
}
.oz-topdl-kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}
.oz-topdl h2 {
  margin: 0 0 6px;
}
.oz-topdl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  gap: 8px;
}
.oz-topdl-list li {
  min-width: 0;
}
.oz-topdl-list li:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
}
.oz-topdl-list li:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1;
}
.oz-topdl-list li:nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 2;
}
.oz-topdl-list li:nth-child(4) {
  grid-column: 4 / 7;
  grid-row: 3;
}
.oz-topdl-list li:nth-child(5) {
  grid-column: 1 / 7;
  grid-row: 4;
}
.oz-topdl-list li:nth-child(6) {
  grid-column: 1 / 7;
  grid-row: 5;
}
.oz-topdl-list li:nth-child(7) {
  grid-column: 1 / 7;
  grid-row: 6;
}
.oz-topdl-list li:nth-child(1),
.oz-topdl-list li:nth-child(1) .oz-topdl-card {
  height: 100%;
}
.oz-topdl-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 6px 8px;
  align-items: center;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
}
.oz-topdl-card > .oz-topdl-shot {
  grid-column: 1;
  grid-row: 1 / -1;
}
.oz-topdl-card > .oz-topdl-body {
  grid-column: 2;
  grid-row: 1;
}
.oz-topdl-card > .oz-topdl-n {
  grid-column: 2;
  grid-row: 2;
  align-items: flex-start;
}
.oz-topdl-card:hover {
  background: var(--lilac);
}
.oz-topdl-shot {
  position: relative;
  display: block;
  width: 56px;
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  flex-shrink: 0;
  z-index: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.oz-topdl-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transform-origin: top center;
  transition: transform 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .oz-topdl-card:hover .oz-topdl-shot {
    z-index: 2;
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-card);
  }
  .oz-topdl-card:hover .oz-topdl-shot img {
    transform: scale(1.14);
  }
  .oz-topdl-card.is-1:hover .oz-topdl-shot {
    transform: translateY(-3px) scale(1.025);
    box-shadow: var(--shadow-card);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oz-topdl-shot,
  .oz-topdl-shot img {
    transition: none;
  }
  .oz-topdl-card:hover .oz-topdl-shot,
  .oz-topdl-card:hover .oz-topdl-shot img {
    transform: none;
    box-shadow: none;
  }
}
.oz-topdl-rank {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  font-family: Cairo, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}
.oz-topdl-card.is-1 {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(132px, 1fr) auto auto;
  align-items: stretch;
  gap: 8px;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow);
  padding: 8px;
}
.oz-topdl-card.is-1:hover {
  background: var(--gold);
}
.oz-topdl-card.is-1 .oz-topdl-shot {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 132px;
  border-radius: 14px;
}
.oz-topdl-card.is-1 .oz-topdl-body {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  padding: 0 2px;
}
.oz-topdl-card.is-1 .oz-topdl-n {
  grid-column: 1;
  grid-row: 3;
}
.oz-topdl-card.is-1 .oz-topdl-rank {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.05rem;
}
.oz-topdl-card.is-2 .oz-topdl-rank {
  background: var(--lilac);
}
.oz-topdl-card.is-3 .oz-topdl-rank {
  background: var(--cream);
}
.oz-topdl-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.oz-topdl-card.is-1 .oz-topdl-body b {
  flex: 1;
  display: block;
  overflow: visible;
  font-family: Alexandria, Cairo, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.oz-topdl-tag {
  max-width: 100%;
  width: fit-content;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.68rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.oz-topdl-list li:nth-child(n+2):nth-child(-n+4) .oz-topdl-tag,
.oz-topdl-list li:nth-child(n+5) .oz-topdl-tag {
  display: none;
}
.oz-topdl-card.is-1 .oz-topdl-tag {
  display: inline-flex;
  background: var(--card);
}
.oz-topdl-body b {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow: visible;
  overflow-wrap: break-word;
}
.oz-topdl-n {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  flex-shrink: 0;
}
.oz-topdl-n .i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.oz-topdl-card.is-1 .oz-topdl-n {
  align-self: start;
  background: var(--card);
  color: var(--ink);
}
.oz-topdl-n b {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.oz-topdl-n span {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 720px) {
  .oz-topdl-list {
    gap: 10px;
  }
  .oz-topdl-list li:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 4;
  }
  .oz-topdl-list li:nth-child(6) {
    grid-column: 3 / 5;
    grid-row: 4;
  }
  .oz-topdl-list li:nth-child(7) {
    grid-column: 5 / 7;
    grid-row: 4;
  }
  .oz-topdl-card {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-items: start;
    overflow: visible;
    padding: 10px;
  }
  .oz-topdl-shot {
    width: 88px;
    height: 118px;
  }
  .oz-topdl-list li:nth-child(n+2):nth-child(-n+4) .oz-topdl-tag {
    display: inline-flex;
  }
  .oz-topdl-card.is-1 {
    grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px;
  }
  .oz-topdl-card.is-1 .oz-topdl-shot {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    min-height: 240px;
  }
  .oz-topdl-card.is-1 .oz-topdl-body {
    grid-column: 2;
    grid-row: 1;
    padding: 6px 2px 0 0;
    gap: 8px;
  }
  .oz-topdl-card.is-1 .oz-topdl-n {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
  .oz-topdl-card.is-1 .oz-topdl-rank {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
  .oz-topdl-body b {
    font-size: 0.92rem;
  }
  .oz-topdl-card.is-1 .oz-topdl-body b {
    display: block;
    font-size: 1.35rem;
    line-height: 1.4;
    overflow: visible;
  }
  .oz-topdl-n {
    padding: 5px 12px 5px 9px;
  }
  .oz-topdl-n .i {
    width: 16px;
    height: 16px;
  }
  .oz-topdl-n b {
    font-size: 0.95rem;
  }
  .oz-topdl-n span {
    font-size: 0.72rem;
  }
}
.oz-topdl-empty {
  margin-top: 4px;
}
.oz-topdl-empty:hover {
  transform: none;
  box-shadow: none;
}
.oz-taq-cover {
  margin: 14px 0 0;
}
.oz-taq-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.oz-taq-cover figcaption {
  margin: 8px 2px 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  line-height: 1.45;
}
.oz-taq-hero {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.oz-taq-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: var(--card);
}
.oz-taq-hero figcaption {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}
.oz-taq-article {
  display: grid;
  gap: 14px;
}
.oz-taq-prose {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink);
}
.oz-seo {
  margin: 2px 0 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.oz-seo-head {
  margin: 0;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--gold);
  color: var(--on-gold);
}
.oz-seo-head .oz-like-kicker {
  margin: 0 0 2px;
  color: var(--on-gold);
  opacity: 0.78;
}
.oz-seo-head h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--on-gold);
}
.sq-page.oz-file-page .oz-seo {
  margin: 18px 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.sq-page.oz-file-page .oz-seo-head {
  padding: 0 0 10px;
  border-bottom: 3px solid var(--gold);
  background: transparent;
  color: var(--ink);
}
.sq-page.oz-file-page .oz-seo-head h2 {
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--ink);
}
.sq-page.oz-file-page .oz-seo-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}
.sq-page.oz-file-page .oz-seo-body {
  padding: 16px 0 8px;
}
.sq-page.oz-file-page .oz-taq-spec-wrap h3 {
  background: var(--soft);
  color: var(--ink);
}
.sq-page.oz-file-page .oz-taq-spec-wrap h3 .i {
  stroke: var(--ink);
}
.oz-seo-body {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 18px 16px 20px;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--ink);
}
.oz-seo-body h2,
.oz-seo-body h3 {
  margin: 1.35em 0 0.55em;
  padding-bottom: 0.28em;
  border-bottom: 3px solid var(--gold);
  font-family: Cairo, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}
.oz-seo-body h2:first-child,
.oz-seo-body h3:first-child {
  margin-top: 0;
}
.oz-seo-body h3 {
  font-size: 1.05rem;
  border-bottom-width: 2px;
}
.oz-seo-body p {
  margin: 0 0 0.85em;
}
.oz-seo-body p:last-child {
  margin-bottom: 0;
}
.oz-seo-body ul,
.oz-seo-body ol {
  margin: 0 0 1em;
  padding: 0;
  counter-reset: seo-item;
  display: grid;
  gap: 8px;
}
.oz-seo-body ol {
  padding-inline-start: 0;
}
.oz-seo-body li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  font-weight: 800;
  line-height: 1.5;
  counter-increment: seo-item;
}
.oz-seo-body li::before {
  content: counter(seo-item, decimal-leading-zero);
  flex: 0 0 auto;
  min-width: 2.1em;
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-family: Cairo, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transform-origin: center;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.oz-seo.is-ready .oz-seo-body li::before {
  opacity: 0;
  transform: scale(0.45) rotate(-16deg);
}
.oz-seo.is-in .oz-seo-body li::before {
  animation: oz-seo-num 0.52s cubic-bezier(0.22, 1.18, 0.32, 1) both;
  animation-delay: calc(var(--seo-n, 0) * 55ms);
}
@keyframes oz-seo-num {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-16deg);
  }
  62% {
    opacity: 1;
    transform: scale(1.16) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
.oz-seo.is-in .oz-seo-body li:hover::before {
  background: var(--gold);
  color: var(--on-gold);
  transform: scale(1.12);
  box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .oz-seo-body li::before {
  color: var(--ink);
  background: var(--brand);
}
html[data-theme="dark"] .oz-seo.is-in .oz-seo-body li:hover::before {
  color: var(--on-gold);
  background: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .oz-seo.is-ready .oz-seo-body li::before,
  .oz-seo.is-in .oz-seo-body li::before {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
.oz-taq-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}
.oz-taq-tools .oz-file-act {
  min-height: 0;
  padding: 8px 10px;
}
@media (max-width: 959px) {
  .sq-page.oz-file-page .oz-taq-meta {
    display: contents;
  }
  .sq-page.oz-file-page .oz-taq-spec-wrap {
    order: -2;
  }
  .sq-page.oz-file-page .oz-taq-meta > .oz-file-act {
    order: -1;
  }
  .sq-page.oz-file-page .oz-taq-tools,
  .sq-page.oz-file-page .oz-taq-meta .oz-taq-tools {
    order: 2;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .oz-taq-tools .oz-file-act {
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
    text-align: center;
    border-radius: 12px;
  }
  .oz-taq-tools .oz-file-act .i {
    width: 16px;
    height: 16px;
    margin: 0;
  }
  .oz-taq-tools .oz-file-act small {
    display: none;
  }
  .oz-taq-tools .oz-file-act b {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .oz-taq-tools .oz-file-act.is-main b,
  .oz-taq-tools .oz-file-act.is-copy b {
    font-size: 0;
  }
  .oz-taq-tools .oz-file-act.is-main b::after,
  .oz-taq-tools .oz-file-act.is-copy b::after {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
  }
  .oz-taq-tools .oz-file-act.is-main b::after {
    content: "تحميل الملف";
  }
  .oz-taq-tools .oz-file-act.is-copy b::after {
    content: "نسخ";
  }
}
.oz-taq-also {
  margin: 8px 0 4px;
}
.oz-taq-also-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.oz-taq-also-head h2 {
  margin: 0;
  font-size: 1.12rem;
}
.oz-taq-also-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .oz-taq-also-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .oz-taq-also-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.oz-riddle {
  margin-top: 18px;
  box-shadow: var(--shadow-card);
}
.oz-riddle .oz-daily-num {
  background: var(--gold);
  color: var(--on-gold);
}
.oz-riddle-q {
  position: static;
  margin: 0 0 10px;
  background: var(--gold) !important;
  color: var(--on-gold) !important;
}
.oz-riddle-q .i {
  width: 26px;
  height: 26px;
}
.oz-riddle-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}
.oz-riddle-hint .i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--brand);
}
.oz-riddle-open {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font: inherit;
  font-weight: 800;
  padding: 10px 18px;
  box-shadow: var(--shadow-card);
}
.oz-riddle-open:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-card);
}
.oz-riddle-open[hidden],
.oz-riddle-open.is-off {
  display: none;
}
.oz-riddle-out {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--lilac);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
}
.oz-riddle-out[hidden] {
  display: none !important;
}

.oz-talk {
  display: grid;
  gap: 18px;
  margin: 22px 0 8px;
}
.oz-talk-rate,
.oz-talk-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-card);
}
.oz-talk-rate {
  text-align: center;
  padding: 22px 16px 20px;
}
.oz-talk-box {
  box-shadow: var(--shadow-card);
  text-align: start;
}
.oz-talk-rate-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.oz-talk-box-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.oz-talk-rate-head h2,
.oz-talk-box-head h2 {
  margin: 0;
  font-size: 1.08rem;
}
.oz-talk-face,
.oz-talk-flag {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--on-gold);
  border: 1px solid var(--line);
}
.oz-talk-flag {
  background: var(--brand);
  color: #fff;
}
.oz-talk-face .i,
.oz-talk-flag .i {
  width: 20px;
  height: 20px;
}
.oz-talk-count {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-gold);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
}
.oz-talk-rate-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.oz-talk-avg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  width: min(100%, 420px);
  background: var(--lilac);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.oz-talk-avg[hidden] {
  display: none !important;
}
.oz-talk-avg.is-good {
  background: var(--ok-bg);
}
.oz-talk-avg.is-mid {
  background: var(--cream);
}
.oz-talk-avg b {
  display: inline-flex;
  align-items: center;
  width: max-content;
  background: var(--ok-bg);
  color: var(--ok);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
}
.oz-talk-avg.is-mid b {
  background: var(--card);
  color: var(--ink);
}
.oz-talk-avg span,
.oz-talk-avg small {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.oz-talk-avg em {
  font-style: normal;
  color: var(--ink);
}
.oz-talk-votes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media (min-width: 720px) {
  .oz-talk-votes {
    flex-wrap: nowrap;
  }
}
.oz-talk-vote {
  appearance: none;
  cursor: pointer;
  width: 92px;
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.oz-talk-vote b {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.oz-talk-vote-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.oz-talk-vote-ico .i {
  width: 18px;
  height: 18px;
}
.oz-talk-vote.is-great .oz-talk-vote-ico {
  background: var(--ok-bg);
  color: var(--ok);
}
.oz-talk-vote.is-good .oz-talk-vote-ico {
  background: var(--lilac);
  color: var(--brand);
}
.oz-talk-vote.is-ok .oz-talk-vote-ico {
  background: var(--cream);
  color: var(--gold-ink);
}
.oz-talk-vote.is-weak .oz-talk-vote-ico {
  background: var(--warn-bg);
  color: var(--warn);
}
.oz-talk-vote.is-bad .oz-talk-vote-ico {
  background: var(--bad-bg);
  color: var(--bad);
}
.oz-talk-vote:hover,
.oz-talk-vote.is-on {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  background: var(--gold);
  color: var(--on-gold);
}
.oz-talk-vote.is-on {
  background: var(--gold);
}
.oz-talk-thanks {
  margin: 12px 0 0;
  font-weight: 800;
  color: var(--ok);
  font-size: 14px;
  text-align: center;
}
.oz-talk-form {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
}
.oz-talk-name {
  width: min(220px, 100%);
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  text-align: start;
  background: var(--card);
  color: var(--ink);
}
.oz-talk-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 8px;
  background: var(--card);
}
.oz-talk-field textarea {
  flex: 1;
  resize: none;
  border: 0;
  outline: none;
  min-height: 40px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
  background: transparent;
  color: var(--ink);
  text-align: start;
}
.oz-talk-field button {
  appearance: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
}
.oz-talk-field button .i {
  width: 18px;
  height: 18px;
}
.oz-talk-err {
  margin: 0;
  color: #b42318;
  font-weight: 700;
  font-size: 13px;
}
.oz-talk-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 28px 12px 20px;
}
.oz-talk-empty[hidden],
.oz-talk-thanks[hidden] {
  display: none !important;
}
.oz-talk-empty-ico {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--brand);
  margin-bottom: 4px;
}
.oz-talk-empty-ico .i {
  width: 32px;
  height: 32px;
}
.oz-talk-empty b {
  font-size: 1.05rem;
}
.oz-talk-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.oz-talk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.oz-talk-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  text-align: start;
}
.oz-talk-who {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  color: var(--brand);
  margin-bottom: 4px;
}
.oz-talk-list p {
  margin: 0;
  font-weight: 700;
  line-height: 1.55;
}

.oz-ping {
  position: fixed;
  z-index: 40;
  inset-inline-start: 16px;
  bottom: 18px;
  width: min(360px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px 12px 14px 14px;
  box-shadow: var(--shadow-card);
  animation: oz-ping-in 0.45s ease;
}
.oz-ping[hidden] {
  display: none;
}
.oz-ping-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-bg);
}
.oz-ping-body {
  min-width: 0;
}
.oz-ping-kicker {
  margin: 0 0 2px;
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
}
.oz-ping-body b {
  display: block;
  font-size: 0.98rem;
  line-height: 1.4;
}
.oz-ping-body p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}
.oz-ping-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  background: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
}
.oz-ping-go .i {
  width: 14px;
  height: 14px;
}
.oz-ping-tag {
  align-self: start;
  background: var(--lilac);
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
}
.oz-ping-x {
  appearance: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  padding: 0;
}
.oz-ping-x .i {
  width: 14px;
  height: 14px;
}
@keyframes oz-ping-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 559px) {
  .oz-riddle {
    box-shadow: 0 8px 0 var(--gold);
  }
  .oz-talk-vote {
    width: calc(33.33% - 7px);
    min-height: 78px;
  }
  .oz-ping {
    inset-inline-start: 10px;
    inset-inline-end: 10px;
    width: auto;
    bottom: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 10px 10px 10px 12px;
  }
  .oz-ping-tag {
    display: none;
  }
  .oz-ping-body p {
    display: none;
  }
  .oz-ping-body b {
    font-size: 0.9rem;
  }
}

/* AdSense slots — نفس سلوك gate: مفيش مساحة محفوظة ولا صندوق فاضي ولا ليبل «إعلان» */
.ad-slot{
  margin:14px auto;
  text-align:center;
  max-width:100%;
  overflow:hidden;
}
.ad-slot ins{max-width:100%}

/* قوائم الناف المنسدلة */
.sq-drop{position:relative}
.sq-drop>summary{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  font-size:14px;
  color:var(--muted);
  padding:8px 14px;
  border-radius:999px;
  white-space:nowrap;
  line-height:1.2;
}
.sq-drop>summary::-webkit-details-marker{display:none}
.sq-drop>summary::after{content:'▾';margin-inline-start:4px;font-size:.8em}
.sq-drop>summary:hover{color:var(--ink);background:var(--soft)}
.sq-drop>summary[aria-current="page"]{background:var(--lime);color:var(--on-gold)}
.sq-drop[open]>summary{color:var(--ink);background:var(--soft)}
.sq-drop-panel{
  position:absolute;
  top:calc(100% + 6px);
  inset-inline-start:0;
  min-width:190px;
  background:var(--card, #fff);
  border:1px solid var(--line, #e3e6ee);
  border-radius:14px;
  box-shadow:0 14px 34px rgba(15,23,42,.14);
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:2px;
  z-index:60;
}
.sq-drop-panel a{
  padding:9px 12px;
  border-radius:9px;
  font-size:13.5px;
  font-weight:700;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
}
.sq-drop-panel a:hover{background:var(--soft)}
@media (min-width: 960px) and (max-width: 1280px) {
  .sq-drop>summary{font-size:13px;padding:8px 8px}
}

/* ---------- المراحل: بطاقات ---------- */
.oz-stage-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 6px 0; }
@media (min-width: 760px) { .oz-stage-grid { grid-template-columns: 1fr 1fr; } }
.oz-stage-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px; align-items: center; padding: 18px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-card); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.oz-stage-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.oz-stage-card.is-bak { box-shadow: var(--shadow-card); }
.oz-stage-card.is-bak:hover { box-shadow: var(--shadow-card); }
.oz-stage-card .n {
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--gold); color: var(--on-gold);
  font-family: Cairo, sans-serif; font-weight: 800; font-size: 1.1rem;
}
.oz-stage-card b { display: block; font-size: 1.18rem; line-height: 1.3; }
.oz-stage-card small { display: block; color: var(--muted); font-weight: 700; font-size: .84rem; margin-top: 2px; }
.oz-stage-card .go { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .8rem; color: var(--brand); white-space: nowrap; }
.oz-stage-card .go .i { width: 14px; height: 14px; }

/* ---------- الصفوف ---------- */
.oz-grades-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .oz-grades-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .oz-grades-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oz-grade-card {
  display: flex; flex-direction: column; gap: 4px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); text-decoration: none; color: inherit;
  transition: transform .18s ease, background-color .18s ease;
}
.oz-grade-card:hover { transform: translateY(-2px); background: var(--lilac); }
.oz-grade-card.is-wait { opacity: .62; border-style: dashed; box-shadow: none; cursor: default; }
.oz-grade-card.is-wait:hover { transform: none; background: var(--card); }
.oz-grade-card b { font-size: 1.08rem; }
.oz-grade-card small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.oz-grade-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.oz-grade-card .sq-chip { font-size: .68rem; padding: 2px 8px; }

/* ---------- الصف: تقييمات قصاد كتب ---------- */
.oz-pairs { display: grid; gap: 10px; margin-bottom: 8px; }
.oz-pair {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px; align-items: center; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.oz-pair .name { font-weight: 800; min-width: 0; }
.oz-pair .name small { display: block; color: var(--muted); font-weight: 700; font-size: .76rem; margin-top: 2px; }
.oz-pair a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 800; font-size: .84rem; text-decoration: none; color: inherit;
  background: var(--card); box-shadow: var(--shadow-card); white-space: nowrap;
}
.oz-pair a .i { width: 16px; height: 16px; }
.oz-pair a:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.oz-pair a.is-eval { background: var(--gold); color: var(--on-gold); }
.oz-pair a.is-book { background: var(--lilac); }
.oz-pair .wait { font-size: .78rem; font-weight: 800; color: var(--muted); }
@media (max-width: 640px) {
  .oz-pair { grid-template-columns: 1fr; }
  .oz-pair a, .oz-pair .wait { justify-self: start; }
}

/* ---------- كروت التعبئة (فزورة/ثقف نفسك) ---------- */
.oz-fill { padding: 10px 0 36px; }
.oz-fill-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .oz-fill-grid { grid-template-columns: 1fr 1fr; } }
.oz-fill-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 18px 16px; box-shadow: var(--shadow-card);
}
.oz-fill-card.is-gold { background: var(--cream); box-shadow: var(--shadow-card); }
.oz-fill-kicker { margin: 0 0 6px; font-weight: 800; font-size: .76rem; letter-spacing: .02em; color: var(--muted); }
.oz-fill-card h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.5; }
.oz-fill-note { margin: 0 0 12px; color: var(--muted); font-weight: 700; font-size: .85rem; line-height: 1.6; }
.oz-fill .oz-daily-opts { grid-template-columns: 1fr; }
.oz-fill .oz-riddle-open { margin-top: 2px; }

/* ---------- اقتراحات (الأكثر تحميلًا) ---------- */
.oz-suggest { padding: 6px 0 30px; }
.oz-suggest-list { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .oz-suggest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ---------- بحث: هل تقصد + اختصارات ---------- */
.oz-didyoumean { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; padding: 12px 14px; border: 1px dashed var(--line-soft); border-radius: 16px; background: var(--cream); }
.oz-didyoumean b { font-weight: 800; }
.oz-didyoumean small { color: var(--muted); font-weight: 700; }
.oz-didyoumean .sq-chip, .oz-search-quick .sq-chip { text-decoration: none; }
.oz-search-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
