/* «العمق»: a trial look laid over the current design, never a replacement for it.
   Nothing here applies unless theme-init.js put `depth` on <html>, and it does that only in a browser that
   opened ?depth=on (and not on a weak phone or with «reduce motion»). main.css is not touched.
   First round: the front page only. The article page stays as it is. */

/* ── The room: a light source that follows the hour, and dust between the reader and the page ── */
html.depth body.home { isolation: isolate; }
.dz-sky, .dz-dust { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.dz-sky {
  background:
    radial-gradient(70vmax 48vmax at var(--dz-sx, 80%) -12%, var(--dz-light, rgb(201 162 39 / .16)), transparent 70%),
    radial-gradient(60vmax 44vmax at 0% 112%, var(--dz-low, rgb(215 20 26 / .07)), transparent 70%);
  transition: opacity 1.2s;
}
html[data-theme="light"] .dz-sky { opacity: .7; }
.dz-dust { width: 100%; height: 100%; }

/* ── Top story: the frame leans to the pointer, photo and words slide against each other ── */
html.depth .rotator .card--hero .card__media { transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.08); }
html.depth .rotator .card--hero .card__body { transform: translate3d(var(--dz-bx, 0), var(--dz-by, 0), 0); transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  html.depth .home-top { perspective: 1500px; }
  html.depth .rotator { transform: rotateX(var(--dz-rx, 0deg)) rotateY(var(--dz-ry, 0deg)); transition: transform .5s var(--ease-out), box-shadow .5s; will-change: transform; }
  html.depth .rotator.is-lit { box-shadow: 0 44px 70px -30px rgb(0 0 0 / .7); }
}
@media (hover: none) {
  html.depth .rotator .card--hero .card__media { transition: transform .25s linear; }
  html.depth .rotator .card--hero .card__body { transition: transform .25s linear; }
}

/* the light that crosses a surface under the pointer */
.dz-glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(460px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .2), transparent 62%); mix-blend-mode: soft-light; }
.is-lit > .dz-glare, .dz-tilt > .dz-glare { opacity: 1; }

/* ── Cards: lean toward the pointer; arrive from behind the page ── */
html.depth .card.dz-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) scale(1.015) !important;
  transition: transform .12s linear, box-shadow .3s !important; z-index: 2; box-shadow: 0 34px 54px -26px rgb(0 0 0 / .62); }
html.depth .card.dz-back { transition: transform .6s var(--ease-out), box-shadow .6s !important; }
html.depth .card.dz-tilt .card__body { transform: translate3d(var(--bx, 0), var(--by, 0), 0); transition: transform .12s linear; }
html.depth .card.dz-back .card__body { transition: transform .6s var(--ease-out); }
html.depth.js body.home .reveal.is-pre:not(.is-in):not(.is-first) { opacity: 0; transform: perspective(1100px) translate3d(0, 46px, -150px) rotateX(9deg); transform-origin: 50% 100%; }

/* ── «نبض الأحداث»: the list turns like a drum, the lines near an edge roll away ── */
html.depth .pulselist.dz-drum li { transform-origin: 50% 50%; will-change: transform, opacity; }

/* ── «أسبوع بالأرقام»: solid columns, thick number plates, and the panel stands up as it enters ── */
html.depth .numsbar__week a i { position: relative; border-radius: 1px; margin-inline-end: 5px; }
html.depth .numsbar__week a i::before, html.depth .numsbar__week a i::after { content: ""; position: absolute; background: inherit; }
html.depth .numsbar__week a i::before { left: 0; right: 0; top: -5px; height: 5px; transform: skewX(-45deg); transform-origin: 0 100%; filter: brightness(1.45); }
html.depth .numsbar__week a i::after { top: 0; bottom: 0; left: 100%; width: 5px; transform: skewY(-45deg); transform-origin: 0 0; filter: brightness(.55); }
html.depth .numsbar__stats a { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 5px 0 -1px color-mix(in srgb, var(--c) 45%, #000), 0 20px 26px -14px rgb(0 0 0 / .7); }
html.depth .numsbar__stats a:hover, html.depth .numsbar__stats a:focus-visible { box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 8px 0 -1px color-mix(in srgb, var(--c) 55%, #000), 0 26px 34px -14px var(--c); }
html.depth .numsbar__stats b { text-shadow: 0 1px 0 rgb(0 0 0 / .35), 0 3px 0 rgb(0 0 0 / .25), 0 10px 18px rgb(0 0 0 / .45); }

/* «الأكثر قراءة»: numerals with thickness */
html.depth .most__n { color: var(--gold); -webkit-text-stroke: 0;
  text-shadow: 1px 1px 0 #9a7b1c, 2px 2px 0 #8a6e19, 3px 3px 0 #7a6116, 4px 4px 0 #6a5413, 6px 8px 12px rgb(0 0 0 / .35); }

@supports (animation-timeline: view()) {
  html.depth .numsbar__in { animation: dz-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; transform-origin: 50% 100%; }
  html.depth .home-top { animation: dz-recede linear both; animation-timeline: view(); animation-range: exit 15% exit 100%; transform-origin: 50% 100%; }
}
@keyframes dz-rise { from { transform: perspective(1300px) rotateX(16deg) scale(.93); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes dz-recede { to { transform: scale(.95); opacity: .5; } }

/* ── A breaking line arrived: one sweep of light across the page ── */
.dz-flash { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgb(255 70 70 / .26) 50%, transparent 65%) 120% 0 / 300% 100% no-repeat; }
html.dz-breaking .dz-flash { animation: dz-sweep 1.5s ease-out 1; }
@keyframes dz-sweep { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 0; background-position: -60% 0; } }
html.depth .pulsedot.dz-ping { animation: dz-ping 1.2s ease-out 1; }
@keyframes dz-ping { 0% { box-shadow: 0 0 0 0 rgb(255 77 79 / .8); } 100% { box-shadow: 0 0 0 16px rgb(255 77 79 / 0); } }

/* ── Top stories change like a scene: pieces of the old photo fly, fold or open over the next story ── */
.dz-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.dz-piece { position: absolute; background-color: #0b0b0d; background-repeat: no-repeat; backface-visibility: hidden; will-change: transform, opacity;
  animation: dz-piece .8s cubic-bezier(.55, 0, .25, 1) both; }
@keyframes dz-piece { to { transform: var(--to); opacity: var(--o, 0); } }
.dz-sheen { position: absolute; inset: -20% -60%; background: linear-gradient(100deg, transparent 42%, rgb(255 255 255 / .34) 50%, transparent 58%); mix-blend-mode: soft-light;
  animation: dz-sheen .9s ease-out both; }
@keyframes dz-sheen { from { transform: translateX(45%); } to { transform: translateX(-45%); } }
html.depth .rotator.dz-fxing .rotator__slide { transition: none !important; }
/* the headline stands up word by word, after the pieces have cleared */
html.depth .card--hero .card__title .w { overflow: visible; perspective: 520px; }
html.depth .rotator__slide.is-active .card--hero .card__title .w > span { animation: dz-word .8s var(--ease-out) both; animation-delay: calc(.42s + var(--i, 0) * .05s); transform-origin: 50% 100%; }
@keyframes dz-word { from { opacity: 0; transform: rotateX(-86deg) translateY(38%); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* ── Between pages: the seal turns in the middle, then the next page opens out of it ── */
.dz-nav { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden;
  background: radial-gradient(closest-side, rgb(11 13 16 / .8), rgb(11 13 16 / .5)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: opacity .16s, visibility 0s .16s; }
.dz-nav.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .14s; }
.dz-seal { position: relative; width: 132px; aspect-ratio: 1; transform: scale(.55); transition: transform .3s cubic-bezier(.2, .9, .25, 1.35); }
.dz-nav.is-on .dz-seal { transform: none; }
.dz-seal i, .dz-logo { position: absolute; border-radius: 50%; }
.dz-ring { inset: 0; background: conic-gradient(from 0deg, #d7141a 0 16%, transparent 16% 25%, #f3f1ea 25% 41%, transparent 41% 50%, #007a3d 50% 66%, transparent 66% 75%, #e8b13a 75% 91%, transparent 91%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  filter: drop-shadow(0 0 10px rgb(232 177 58 / .45)); }
.dz-dash { inset: 9%; border: 1.5px dashed rgb(243 241 234 / .4); }
.dz-wave { inset: 14%; border: 1.5px solid rgb(232 177 58 / .65); opacity: 0; }
.dz-logo { inset: 16%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #fff 0 58%, #f1ede2 100%);
  box-shadow: 0 14px 34px rgb(0 0 0 / .6), 0 0 0 3px rgb(232 177 58 / .9), 0 0 0 6px rgb(11 13 16 / .9), 0 0 28px rgb(232 177 58 / .35); }
.dz-logo img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; }
.dz-logo::after { content: ""; position: absolute; inset: -10%; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .95) 50%, transparent 60%); transform: translateX(120%); mix-blend-mode: soft-light; }
.dz-nav.is-on .dz-ring { animation: dz-spin .85s linear infinite; }
.dz-nav.is-on .dz-dash { animation: dz-spin 2.6s linear infinite reverse; }
.dz-nav.is-on .dz-wave { animation: dz-wave 1s ease-out infinite; }
.dz-nav.is-on .dz-wave + .dz-wave { animation-delay: .5s; }
.dz-nav.is-on .dz-logo { animation: dz-beat .85s ease-in-out infinite; }
.dz-nav.is-on .dz-logo::after { animation: dz-shine 1.1s ease-in-out infinite; }
@keyframes dz-spin { to { transform: rotate(360deg); } }
@keyframes dz-wave { 0% { transform: scale(.72); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes dz-beat { 50% { transform: scale(1.06); } }
@keyframes dz-shine { 0%, 20% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }
html.depth::view-transition-old(root) { animation: dz-vt-old .5s ease both; }
html.depth::view-transition-new(root) { animation: dz-iris .5s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes dz-vt-old { to { filter: brightness(.55); transform: scale(1.03); } }
@keyframes dz-iris { from { clip-path: circle(60px at 50% 50%); } to { clip-path: circle(130vmax at 50% 50%); } }

/* ══ «بالأرقام»: a hall of record. Gold on ink, numbers with weight, and everything arrives. Screen only: the printed
   report stays the plain one. ══ */
@media screen {
  /* the header: a lit stage, a title cast in metal, and the great total in a turning ring */
  html.depth .bn-head { padding-block: clamp(26px, 3.6vw, 44px); background:
      radial-gradient(60% 120% at 12% 50%, rgb(201 162 39 / .2), transparent 62%),
      radial-gradient(120% 140% at 85% 0%, #2a1d10 0%, var(--bn-ink) 55%), var(--bn-ink);
    box-shadow: inset 0 -3px 0 rgb(201 162 39 / .18), inset 0 1px 0 rgb(232 207 122 / .25); }
  html.depth .bn-head::after { animation: dz-net 40s linear infinite; }
  @keyframes dz-net { to { background-position: 52px 104px; } }
  html.depth .bn-head .wrap { min-height: 132px; align-content: center; padding-inline-end: 168px; }
  html.depth .bn-head h1 { font-size: clamp(38px, 5.4vw, 66px); padding-block: .08em;
    background: linear-gradient(100deg, #fff 0%, var(--bn-gold-2) 28%, #fff 46%, var(--bn-gold) 62%, var(--bn-gold-2) 82%, #fff 100%) 0 0 / 260% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #8a6d17) drop-shadow(0 4px 0 #5c480f) drop-shadow(0 14px 18px rgb(0 0 0 / .55));
    animation: dz-metal 6s ease-in-out infinite, dz-title .9s var(--ease-out) both; }
  @keyframes dz-metal { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
  @keyframes dz-title { from { opacity: 0; transform: perspective(700px) rotateX(-70deg) translateY(30px); } to { opacity: 1; transform: none; } }
  html.depth .bn-kicker, html.depth .bn-period { animation: dz-up .8s var(--ease-out) both .25s; }
  html.depth .bn-period { animation-delay: .4s; box-shadow: inset 0 1px 0 rgb(232 207 122 / .25), 0 10px 24px -14px #000; }
  @keyframes dz-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .dz-bn-total { position: absolute; inset-inline-end: clamp(16px, 2.4vw, 30px); top: 50%; width: 148px; aspect-ratio: 1; margin-top: -74px; display: grid; place-items: center;
    animation: dz-seal-in 1s cubic-bezier(.2, .9, .25, 1.2) both .15s; }
  @keyframes dz-seal-in { from { opacity: 0; transform: scale(.5) rotate(-40deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
  .dz-bn-total i { position: absolute; border-radius: 50%; }
  .dz-bn-ring { inset: 0; background: conic-gradient(from 0deg, #d7141a 0 16%, transparent 16% 25%, #f3f1ea 25% 41%, transparent 41% 50%, #007a3d 50% 66%, transparent 66% 75%, #e8b13a 75% 91%, transparent 91%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: dz-spin 14s linear infinite; filter: drop-shadow(0 0 10px rgb(232 177 58 / .4)); }
  .dz-bn-dash { inset: 8%; border: 1.5px dashed rgb(232 207 122 / .45); animation: dz-spin 30s linear infinite reverse; }
  .dz-bn-halo { inset: 14%; background: radial-gradient(closest-side, rgb(201 162 39 / .3), rgb(201 162 39 / .06) 62%, transparent 74%); animation: dz-breathe 4.2s ease-in-out infinite; }
  @keyframes dz-breathe { 50% { transform: scale(1.14); opacity: .7; } }
  .dz-bn-num { position: relative; display: grid; justify-items: center; gap: 0; text-align: center; }
  .dz-bn-num b { font: 900 40px/1 var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
    background: linear-gradient(180deg, #fff 25%, var(--bn-gold-2) 110%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #7a6116) drop-shadow(0 8px 10px rgb(0 0 0 / .6)); }
  .dz-bn-num small { max-width: 92px; margin-top: 4px; font: 700 11.5px/1.35 var(--head); color: var(--bn-cream); opacity: .85; }

  /* the six numbers: plates with thickness, arriving one after another */
  html.depth .bn-tiles { perspective: 1400px; }
  html.depth .bn-tile { border-radius: 14px; padding: 18px 20px 16px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 6px 0 -1px color-mix(in srgb, var(--c, var(--bn-gold)) 60%, #000), 0 26px 34px -18px rgb(0 0 0 / .5);
    animation: dz-plate .9s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 85ms + .15s); transition: box-shadow .3s; }
  html[data-theme="dark"].depth .bn-tile { box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), 0 6px 0 -1px color-mix(in srgb, var(--c, var(--bn-gold)) 60%, #000), 0 26px 34px -18px #000; }
  html.depth .bn-tile:nth-child(2) { --k: 1; } html.depth .bn-tile:nth-child(3) { --k: 2; } html.depth .bn-tile:nth-child(4) { --k: 3; }
  html.depth .bn-tile:nth-child(5) { --k: 4; } html.depth .bn-tile:nth-child(6) { --k: 5; } html.depth .bn-tile:nth-child(n+7) { --k: 6; }
  @keyframes dz-plate { from { opacity: 0; transform: perspective(900px) translate3d(0, 44px, -170px) rotateX(-26deg); } to { opacity: 1; transform: none; } }
  html.depth .bn-tile::before { width: 6px; inset-block: 12px; box-shadow: 0 0 14px var(--c, var(--bn-gold)); }
  html.depth .bn-tile::after { inset-inline: 0; height: 100%; opacity: 1; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--bn-gold), transparent) top / 70% 2px no-repeat,
      radial-gradient(120% 90% at 0% 100%, color-mix(in srgb, var(--c, var(--bn-gold)) 16%, transparent), transparent 60%); }
  html.depth .bn-tile b { font-size: clamp(34px, 4vw, 50px); text-shadow: 0 1px 0 rgb(255 255 255 / .35), 0 10px 18px color-mix(in srgb, var(--c, #000) 35%, transparent); }
  html[data-theme="dark"].depth .bn-tile b { text-shadow: 0 2px 0 rgb(0 0 0 / .5), 0 10px 20px color-mix(in srgb, var(--c, #000) 55%, transparent); }
  html.depth .bn-tile.dz-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) scale(1.02) !important;
    transition: transform .12s linear, box-shadow .3s !important; z-index: 2;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 9px 0 -1px color-mix(in srgb, var(--c, var(--bn-gold)) 70%, #000), 0 40px 46px -22px color-mix(in srgb, var(--c, #000) 60%, #000); }
  html.depth .bn-tile.dz-back { transition: transform .6s var(--ease-out), box-shadow .6s !important; }

  /* cards: a fine gold edge, a light under the pointer, and they stand up when reached */
  html.depth .bn-card { --mx: -999px; --my: -999px; border-radius: 16px; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), box-shadow .4s; transform-origin: 50% 100%;
    box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 30px 44px -30px rgb(0 0 0 / .45); }
  html.depth .bn-card:not(.bn-insights) { border-color: transparent;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--bn-gold) 13%, transparent), transparent 62%) padding-box,
      linear-gradient(var(--card), var(--card)) padding-box,
      linear-gradient(135deg, var(--bn-gold-2), color-mix(in srgb, var(--bn-gold) 18%, var(--line)) 28%, color-mix(in srgb, var(--bn-gold) 18%, var(--line)) 72%, var(--bn-gold)) border-box; }
  html.depth .bn-card.dz-pre:not(.dz-in) { opacity: 0; transform: perspective(1200px) translate3d(0, 50px, -120px) rotateX(10deg); }
  html.depth .bn-card h2::before { box-shadow: 0 0 10px var(--bn-gold); animation: dz-gem 3.2s ease-in-out infinite; }
  @keyframes dz-gem { 50% { transform: rotate(225deg) scale(1.25); } }

  /* the day columns: solid, and rising one after another */
  html.depth .bn-chart .bn-bar { transform-box: fill-box; transform-origin: 50% 100%; }
  html.depth .bn-chart.dz-in .bn-bar, html.depth .bn-chart:not(.dz-pre) .bn-bar { animation: dz-grow .95s cubic-bezier(.2, .9, .25, 1.08) both; animation-delay: calc(var(--i, 0) * 55ms + .15s); }
  html.depth .bn-chart.dz-pre:not(.dz-in) .bn-bar { transform: scaleY(0); }
  @keyframes dz-grow { from { transform: scaleY(0); } to { transform: none; } }
  .dz-face { pointer-events: none; }
  .dz-face--s { filter: brightness(.58); }
  .dz-face--t { filter: brightness(1.38); }
  html.depth .bn-bar:hover rect:not(.bn-hit), html.depth .bn-bar:hover .dz-face--t { filter: brightness(1.22); }

  /* the measuring bars: thicker, glazed, filling when their card arrives */
  html.depth .bn-places li i, html.depth .bn-bars li i { height: 9px; border-radius: 6px; box-shadow: inset 0 1px 2px rgb(0 0 0 / .22); }
  html.depth .bn-bars--big li i { height: 14px; }
  html.depth .bn-places li i::after, html.depth .bn-bars li i::after { border-radius: 6px; box-shadow: inset 0 2px 0 rgb(255 255 255 / .38), inset 0 -2px 0 rgb(0 0 0 / .2), 0 0 10px color-mix(in srgb, var(--c, var(--bn-gold)) 45%, transparent);
    transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
  html.depth .bn-card.dz-pre:not(.dz-in) li i::after { width: 0; }
  html.depth .bn-card li:nth-child(2) i::after { transition-delay: .06s; } html.depth .bn-card li:nth-child(3) i::after { transition-delay: .12s; }
  html.depth .bn-card li:nth-child(4) i::after { transition-delay: .18s; } html.depth .bn-card li:nth-child(5) i::after { transition-delay: .24s; }
  html.depth .bn-card li:nth-child(6) i::after { transition-delay: .3s; } html.depth .bn-card li:nth-child(n+7) i::after { transition-delay: .36s; }
  html.depth .bn-places li b, html.depth .bn-bars li b { font-size: 16.5px; }

  /* «ماذا تقول الأرقام»: the lines come in one by one */
  html.depth .bn-insights { box-shadow: inset 0 1px 0 rgb(232 207 122 / .3), 0 34px 50px -30px #000; }
  html.depth .bn-insights li { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  html.depth .bn-insights.dz-pre:not(.dz-in) li { opacity: 0; transform: translateX(26px); }
  html.depth .bn-insights li:nth-child(2) { transition-delay: .12s; } html.depth .bn-insights li:nth-child(3) { transition-delay: .24s; }
  html.depth .bn-insights li:nth-child(4) { transition-delay: .36s; } html.depth .bn-insights li:nth-child(n+5) { transition-delay: .48s; }
  html.depth .bn-insights li::before { box-shadow: 0 0 10px var(--bn-gold); }

  /* the maps: cut from a thick sheet; a governorate lifts under the pointer */
  html.depth .pm-fig svg { filter: drop-shadow(0 4px 0 color-mix(in srgb, var(--bn-gold-3) 70%, #000)) drop-shadow(0 18px 16px rgb(0 0 0 / .3)); }
  html.depth .pm-gov path, html.depth .pm-area path { transition: transform .3s var(--ease-out), filter .3s; }
  html.depth .pm-gov:hover path, html.depth .pm-area:hover path { transform: translateY(-3px); filter: brightness(1.14) drop-shadow(0 6px 6px rgb(0 0 0 / .35)); }
  @media (hover: hover) and (pointer: fine) {
    html.depth .pm-fig svg { transform: perspective(1000px) rotateX(var(--mrx, 10deg)) rotateY(var(--mry, 0deg)); transform-origin: 50% 60%; transition: transform .45s var(--ease-out); }
  }

  /* figures quoted from official bodies, and the table of events */
  html.depth .bn-reports li { transition: transform .3s var(--ease-out), box-shadow .3s; }
  html.depth .bn-reports li:hover { transform: translateX(-4px); box-shadow: 0 16px 26px -18px rgb(0 0 0 / .5); }
  html.depth .bn-reports li b { background: linear-gradient(100deg, var(--bn-gold-3), var(--bn-gold) 40%, var(--bn-gold-2) 50%, var(--bn-gold) 60%, var(--bn-gold-3)) 0 0 / 240% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: dz-metal 7s ease-in-out infinite; }
  html.depth .bn-tr:not(.bn-th) { transition: background .25s, padding .25s; border-radius: 8px; }
  html.depth .bn-tr:not(.bn-th):hover { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--bn-gold) 12%, transparent)); padding-inline-start: 10px; }

  @media (max-width: 760px) {
    html.depth .bn-head .wrap { min-height: 0; padding-inline-end: 0; }
    .dz-bn-total { width: 84px; margin-top: 0; top: -6px; }
    .dz-bn-num b { font-size: 23px; }
    .dz-bn-num small { display: none; }
    html.depth .bn-head--slim .bn-kicker { margin-inline-end: 92px; }
    html.depth .bn-head--slim h1 { margin-inline-end: 92px; }
  }
}
body.dz-room { isolation: isolate; }

/* ══ The front page in the same hand as «بالأرقام»: weight, metal, a ring that keeps time, and everything arrives.
   Each section keeps its own colour (--sc): the thickness and the glow take it, gold is only the fine edge. ══ */
@property --dz-p { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media screen {
  /* the reading bar at the very top */
  html.depth .progress span { background: linear-gradient(90deg, #007a3d, #f3f1ea 35%, #e8b13a 65%, #d7141a); box-shadow: 0 0 12px rgb(232 177 58 / .75); }

  /* the top of the page arrives as a stage: the frame, the two plates, then the pulse lines */
  html.depth .rotator { animation: dz-stage 1s var(--ease-out) backwards; }
  @keyframes dz-stage { from { opacity: 0; transform: perspective(1400px) rotateX(9deg) translateY(34px) scale(.94); } }
  html.depth .rotator::after { box-shadow: inset 0 0 0 1px rgb(232 207 122 / .38), inset 0 0 70px rgb(0 0 0 / .32); }
  html.depth .top-side .card--side { animation: dz-plate .9s var(--ease-out) backwards .2s;
    box-shadow: inset 0 -4px 0 var(--sc), 0 6px 0 -1px color-mix(in srgb, var(--sc) 55%, #000), 0 28px 36px -18px rgb(0 0 0 / .6); }
  html.depth .top-side .card--side + .card--side { animation-delay: .34s; }

  /* the slide's number in a ring that fills while the story is on, and holds while the reader does */
  .dz-rot { position: absolute; z-index: 4; top: 18px; inset-inline-end: 18px; width: 64px; aspect-ratio: 1; display: grid; place-items: center; align-content: center; border-radius: 50%; pointer-events: none;
    color: #fff; background: rgb(9 9 11 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 12px 26px -10px #000, inset 0 0 0 1px rgb(255 255 255 / .12); }
  .dz-rot i { position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(#e8cf7a var(--dz-p), rgb(255 255 255 / .16) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    filter: drop-shadow(0 0 6px rgb(232 177 58 / .6)); }
  .dz-rot.is-run i { animation: dz-ringfill var(--rot-dur, 7s) linear forwards; }
  .rotator.is-paused .dz-rot i { animation-play-state: paused; }
  @keyframes dz-ringfill { to { --dz-p: 360deg; } }
  .dz-rot b { font: 900 21px/1 var(--head); font-variant-numeric: tabular-nums; }
  .dz-rot.is-run b { animation: dz-tick .5s var(--ease-out); }
  @keyframes dz-tick { from { opacity: 0; transform: translateY(8px) scale(.7); } }
  .dz-rot small { margin-top: 3px; font: 700 10px/1 var(--head); opacity: .7; font-variant-numeric: tabular-nums; }

  /* «نبض الأحداث»: a fine edge, the live dot inside a turning ring, the lines coming in one by one */
  html.depth .brief--pulse { border-color: rgb(232 207 122 / .34); box-shadow: inset 0 1px 0 rgb(232 207 122 / .22), 0 6px 0 -1px #2a0a0c, 0 30px 40px -22px #000; animation: dz-plate .9s var(--ease-out) backwards .3s; }
  html.depth .pulsehead__t .pulsedot { position: relative; margin-inline: 7px 9px; }
  html.depth .pulsehead__t .pulsedot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; animation: dz-spin 3.2s linear infinite;
    background: conic-gradient(#d7141a 0 20%, transparent 20% 33%, #f3f1ea 33% 53%, transparent 53% 66%, #0f9d58 66% 86%, transparent 86%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); }
  html.depth .brief--pulse .pulselist li { animation: dz-line .6s var(--ease-out) backwards; animation-delay: calc(var(--n, 9) * 55ms + .5s); }
  html.depth .pulselist li:nth-child(1) { --n: 0; } html.depth .pulselist li:nth-child(2) { --n: 1; } html.depth .pulselist li:nth-child(3) { --n: 2; }
  html.depth .pulselist li:nth-child(4) { --n: 3; } html.depth .pulselist li:nth-child(5) { --n: 4; } html.depth .pulselist li:nth-child(6) { --n: 5; }
  html.depth .pulselist li:nth-child(7) { --n: 6; } html.depth .pulselist li:nth-child(8) { --n: 7; } html.depth .pulselist li:nth-child(9) { --n: 8; }
  @keyframes dz-line { from { opacity: 0; transform: translateX(22px); } }
  html.depth .pulselist time { text-shadow: 0 0 10px color-mix(in srgb, var(--pc) 70%, transparent); }

  /* «أسبوع بالأرقام» on the front page: its word in metal */
  html.depth .numsbar__head h2 b { background: linear-gradient(100deg, #e8cf7a 0%, #fff 30%, #c9a227 55%, #e8cf7a 80%, #fff 100%) 0 0 / 260% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: dz-metal 6s ease-in-out infinite; filter: drop-shadow(0 2px 0 #7a6116) drop-shadow(0 8px 12px rgb(0 0 0 / .5)); }

  /* section titles: a gem, the title lit in the section's colour, and a line with a light running along it */
  html.depth .sec-head__title { display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(100deg, var(--text) 0%, var(--text) 38%, var(--sc, var(--red)) 50%, var(--text) 62%, var(--text) 100%) 0 0 / 280% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: dz-metal 8s ease-in-out infinite; }
  html.depth .sec-head__title::before, html.depth body.skin-wall .sec-head__title::before { content: ""; display: block; position: static; flex: none; width: 11px; height: 11px; border-radius: 2px;
    background: linear-gradient(135deg, #e8cf7a, #c9a227 55%, #8a6d17); transform: rotate(45deg); box-shadow: 0 0 12px rgb(201 162 39 / .8); animation: dz-gem 3.2s ease-in-out infinite; }
  html.depth .sec-head.is-in .sec-head__title::before { animation: dz-gem 3.2s ease-in-out infinite; }
  html.depth .sec-head::after, html.depth body.skin-wall .sec-head::after { height: 2px; opacity: 1;
    background: linear-gradient(90deg, transparent 0 40%, rgb(255 255 255 / .9) 50%, transparent 60% 100%) 220% 0 / 45% 100% no-repeat,
      linear-gradient(270deg, var(--sc, var(--red)), #c9a227 28%, color-mix(in srgb, var(--line) 80%, transparent) 70%, transparent);
    animation: dz-run 5.5s ease-in-out infinite; }
  @keyframes dz-run { 0%, 35% { background-position: 220% 0, 0 0; } 100% { background-position: -120% 0, 0 0; } }
  html.depth .block--strip .sec-head__title { background-image: linear-gradient(100deg, #fff 0%, #fff 38%, #e8cf7a 50%, #fff 62%, #fff 100%); }

  /* the files («تحت المجهر», «تحقيقات»): a title cast in metal, the seal's ring behind it, the lead file in a thick frame */
  html.depth .block--invest { --dz-a: #e8cf7a; --dz-a2: #8a6d17; }
  html.depth .block--lens { --dz-a: #7fe3dd; --dz-a2: #0e6b70; }
  html.depth .invest__head { position: relative; }
  html.depth .invest__head h2 { justify-self: start; padding-block: .06em;
    background: linear-gradient(100deg, #fff 0%, var(--dz-a) 30%, #fff 48%, var(--dz-a) 66%, #fff 100%) 0 0 / 260% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: dz-metal 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 0 var(--dz-a2)) drop-shadow(0 4px 0 rgb(0 0 0 / .45)) drop-shadow(0 16px 20px rgb(0 0 0 / .55)); }
  html.depth .invest__head::after { content: ""; position: absolute; z-index: -1; inset-inline-end: 6%; top: 50%; width: clamp(150px, 20vw, 250px); aspect-ratio: 1; margin-top: calc(clamp(150px, 20vw, 250px) / -2); border-radius: 50%; opacity: .5; pointer-events: none;
    background: conic-gradient(from 0deg, #d7141a 0 16%, transparent 16% 25%, #f3f1ea 25% 41%, transparent 41% 50%, #0f9d58 50% 66%, transparent 66% 75%, var(--dz-a) 75% 91%, transparent 91%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: dz-spin 26s linear infinite; }
  html.depth .invest__grid .card--lead { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dz-a) 65%, transparent), 0 7px 0 -1px color-mix(in srgb, var(--dz-a2) 80%, #000), 0 36px 46px -24px #000; }
  html.depth .invest__grid .card--file { padding-inline: 10px; border-radius: 10px; transition: background .3s, transform .3s var(--ease-out); }
  html.depth .invest__grid .card--file:hover { background: color-mix(in srgb, var(--dz-a) 9%, transparent); transform: translateX(-5px); }
  html.depth .invest__grid .card--file .card__kickers::before { text-shadow: 0 0 12px var(--dz-a); }
  html.depth .lens__branches a { transition: transform .3s var(--ease-out), box-shadow .3s, background .25s, color .25s; }
  html.depth .lens__branches a:hover { transform: translateY(-3px); box-shadow: inset 4px 0 0 var(--sc, var(--lx)), 0 14px 22px -12px #000; }

  /* story cards: plates with thickness in their section's colour */
  html.depth .card--poster, html.depth .card--poster:nth-child(n) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 6px 0 -1px color-mix(in srgb, var(--sc, #c9a227) 55%, #000), 0 28px 36px -20px rgb(0 0 0 / .5); }
  html.depth .card--tile, html.depth .card--lead:not(.invest__grid .card--lead) { box-shadow: 0 6px 0 -1px color-mix(in srgb, var(--sc, #c9a227) 55%, #000), 0 28px 36px -20px rgb(0 0 0 / .55); }
  html.depth .card--poster::after { content: ""; position: absolute; inset: 0 14% auto; height: 2px; border-radius: 2px; pointer-events: none; background: linear-gradient(90deg, transparent, #e8cf7a, transparent); opacity: .7; }

  /* «الأكثر قراءة»: six plates, the first three in gold, silver and bronze */
  html.depth .most { gap: 18px 22px; }
  html.depth .most__item { --mn: #c9a227; --m1: #9a7b1c; --m2: #6a5413; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px;
    background: linear-gradient(var(--card), var(--card)) padding-box,
      linear-gradient(135deg, #e8cf7a, color-mix(in srgb, #c9a227 18%, var(--line)) 30%, color-mix(in srgb, #c9a227 18%, var(--line)) 70%, #c9a227) border-box;
    box-shadow: 0 5px 0 -1px color-mix(in srgb, var(--mn) 50%, #000), 0 24px 32px -20px rgb(0 0 0 / .5); }
  html.depth .most__item:nth-child(2) { --mn: #c3c8d0; --m1: #8d929c; --m2: #5c606a; }
  html.depth .most__item:nth-child(3) { --mn: #cf8a4f; --m1: #96602f; --m2: #5f3a18; }
  html.depth .most__item.is-in { transition: opacity .8s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s; }
  html.depth .most__item.is-in:hover { transform: translateY(-5px); box-shadow: 0 9px 0 -1px color-mix(in srgb, var(--mn) 60%, #000), 0 34px 40px -22px color-mix(in srgb, var(--mn) 45%, #000); }
  html.depth .most__n { color: var(--mn); text-shadow: 1px 1px 0 var(--m1), 2px 2px 0 var(--m1), 3px 3px 0 var(--m2), 4px 4px 0 var(--m2), 6px 8px 12px rgb(0 0 0 / .35); }
  html.depth .most__item:hover .most__n { color: var(--mn); }

  @media (max-width: 760px) {
    .dz-rot { top: 12px; inset-inline-end: 12px; width: 50px; }
    .dz-rot b { font-size: 17px; }
    .dz-rot small { font-size: 9px; }
    html.depth .invest__head::after { opacity: .3; inset-inline-end: 0; }      /* never past the screen edge: that slides the phone sideways */
  }
}

@media print { .dz-sky, .dz-dust, .dz-flash, .dz-nav, .dz-fx, .dz-bn-total, .dz-face { display: none; } }

/* An announcement with a video is open over the page (promo.js → html.pnn-ad-hold): every loop behind it rests until
   it closes, so a phone has room to play the video (owner 2026-11-18: picture and sound stopped on the home page only).
   The announcement draws in its own Shadow DOM, which these rules do not reach. */
html.pnn-ad-hold *, html.pnn-ad-hold *::before, html.pnn-ad-hold *::after { animation-play-state: paused !important; }
