@font-face { font-family: Thmanyah; src: url(../fonts/thmanyahsans-Regular.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Thmanyah; src: url(../fonts/thmanyahsans-Bold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Thmanyah; src: url(../fonts/thmanyahsans-Black.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
:root {
  --bg: #0b0b0d;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, .62);
  --faint: rgba(245, 245, 247, .38);
  --glass: rgba(255, 255, 255, .065);
  --glass-hi: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .1);
  --red: #c4223a;
  --red-deep: #7d1424;
  --blue: #3b9bff;
  --radius: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: Thmanyah, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The new identity (same as the lesson pages and the videos): one red */
  --brand: #E02A31; --brand-t: #F0383E; --card: #17171B; --card-line: #2A2A31;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

/* Blurred photo behind everything — only visible on wider screens */
.backdrop {
  position: fixed; inset: -60px;
  background: var(--bg) url("../assets/me-sm.webp") center 20% / cover no-repeat;
  filter: blur(60px) saturate(1.3) brightness(.4);
  opacity: 0;
  z-index: -1;
}

.page { position: relative; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(74svh, 700px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  z-index: -2;
  animation: settle 1.4s var(--ease) both;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(11,11,13,.35) 0%, transparent 18%),
    linear-gradient(to bottom, transparent 34%, rgba(11,11,13,.55) 54%, rgba(11,11,13,.92) 74%, var(--bg) 96%);
}

.topbar {
  position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline: 16px;
  display: flex; justify-content: space-between;
}
.glass-btn {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(20,20,24,.38);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.glass-btn:active { transform: scale(.94); }
.glass-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.identity { padding: 0 20px 8px; text-align: center; }
.name {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(32px, 9vw, 44px); font-weight: 700; line-height: 1.15;
  letter-spacing: -.01em;
}
html[lang="en"] .name { letter-spacing: -.03em; }
.verified { width: .62em; height: .62em; flex: none; }
.verified path:first-child { fill: var(--blue); }
.verified .tick { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.handle { margin: 4px 0 0; color: var(--faint); font-size: 14px; font-weight: 500; }
.bio { margin: 10px auto 0; max-width: 32ch; color: var(--muted); font-size: 16px; line-height: 1.6; }

.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .25s var(--ease), background .25s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { background: var(--glass-hi); }
.social:active { transform: scale(.92); }

/* ---------- Links ---------- */
.links { display: flex; flex-direction: column; gap: 12px; padding: 22px 16px 0; }

.card, .feature, .tile {
  position: relative;
  display: flex;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.card:hover, .feature:hover, .tile:hover { background: var(--glass-hi); border-color: rgba(255,255,255,.16); }
.card:active, .feature:active, .tile:active { transform: scale(.98); }
:is(.card, .feature, .tile):focus-visible, .social:focus-visible, .glass-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.ic {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.ic svg, .go svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.go {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--muted);
}
.go svg { width: 17px; height: 17px; }
html[dir="rtl"] .go svg { transform: scaleX(-1); }

.t { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.s { margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Standard row */
.card { align-items: center; gap: 14px; padding: 12px 14px; min-height: 72px; }
.card .txt { flex: 1; min-width: 0; }

/* Featured (pinned) */
.feature { flex-direction: column; overflow: hidden; padding: 0; }
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.05) 40%, rgba(196,34,58,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.feature .cover { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.feature .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(11,11,13,.55)); }
.feature .body { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; }
.feature .txt { flex: 1; min-width: 0; }
.feature .t { font-size: 18px; }
.pins { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(11,11,13,.5);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.chip svg { width: 13px; height: 13px; fill: currentColor; }
.chip.hot { background: var(--red); border-color: transparent; }

/* Tiles (two per row) */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.tile { flex-direction: column; justify-content: space-between; aspect-ratio: 1 / .92; padding: 16px; }
.tile .ic { width: 44px; height: 44px; }
.tile .bottom { display: flex; align-items: flex-end; gap: 8px; }
.tile .txt { flex: 1; min-width: 0; }
.tile .t { font-size: 15.5px; }
.tile.red { background: linear-gradient(160deg, var(--red), var(--red-deep)); border-color: rgba(255,255,255,.14); }
.tile.red .ic, .tile.red .go { background: rgba(255,255,255,.18); color: #fff; }
.tile.red .s { color: rgba(255,255,255,.75); }
.tiles .tile:only-child { aspect-ratio: auto; min-height: 120px; grid-column: 1 / -1; }

/* Gentle nudge every few seconds for links that ask for attention */
.shake { animation: nudge 5s ease-in-out 2s infinite; transform-origin: 50% 50%; }
@keyframes nudge {
  0%, 84%, 100% { transform: none; }
  86% { transform: rotate(-1.4deg) scale(1.01); }
  88% { transform: rotate(1.4deg) scale(1.01); }
  90% { transform: rotate(-1deg); }
  92% { transform: rotate(.8deg); }
  94% { transform: rotate(-.4deg); }
}
.shake:hover, .shake:active { animation-play-state: paused; }

.foot { margin-top: 30px; text-align: center; font-size: 12.5px; color: var(--faint); }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(30,30,34,.9); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 14px; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Entrance */
.rise { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 150ms); }
.rise.shake { animation: rise .7s var(--ease) both, nudge 5s ease-in-out 2.4s infinite; animation-delay: calc(var(--i, 0) * 60ms + 150ms), 2.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } }

/* ---------- Tablet portrait & small desktop: centred column ---------- */
@media (min-width: 640px) {
  .backdrop { opacity: 1; }
  body { background: transparent; }
  .page {
    max-width: 520px; margin: 32px auto;
    border-radius: 40px; overflow: hidden;
    background: rgba(11,11,13,.82);
    border: 1px solid var(--line);
    box-shadow: 0 40px 120px rgba(0,0,0,.5);
  }
  .hero { min-height: 640px; }
  .links { padding-inline: 22px; }
}

/* ---------- Tablet landscape & desktop: photo beside links ---------- */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .page {
    max-width: 1040px; margin: 0 auto; padding: 32px;
    min-height: 100svh;
    display: grid; grid-template-columns: minmax(360px, 440px) 1fr; gap: 28px; align-items: start;
    border-radius: 0; border: 0; background: none; box-shadow: none; overflow: visible;
  }
  .hero {
    position: sticky; top: 32px;
    height: calc(100svh - 64px); min-height: 560px; max-height: 820px;
    border-radius: 36px; border: 1px solid var(--line);
  }
  .links { padding: 0; align-self: center; }
  .foot { grid-column: 2; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Section headings ---------- */
.section {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 4px 0;
  font-size: 13px; font-weight: 600; color: var(--faint);
  letter-spacing: .02em;
}
.section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[lang="en"] .section { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* ---------- Group card (opens a sheet) ---------- */
.group {
  width: 100%; text-align: start; cursor: pointer;
  align-items: center; gap: 14px; padding: 14px 16px; min-height: 86px;
}
.group .txt { flex: 1; min-width: 0; }
.stack { position: relative; width: 92px; height: 58px; flex: none; }
.stack > * {
  position: absolute; top: 3px; width: 50px; height: 50px;
  border-radius: 14px; object-fit: cover;
  border: 2px solid #1a1a1e;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  transition: transform .45s var(--ease);
}
.stack > div { display: grid; place-items: center; background: #26262b; }
.stack > div svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stack > :nth-child(1) { inset-inline-start: 0; transform: rotate(-9deg); z-index: 1; }
.stack > :nth-child(2) { inset-inline-start: 21px; transform: rotate(0deg) translateY(-2px); z-index: 2; }
.stack > :nth-child(3) { inset-inline-start: 42px; transform: rotate(9deg); z-index: 3; }
.group:hover .stack > :nth-child(1) { transform: rotate(-15deg) translateX(-4px); }
.group:hover .stack > :nth-child(3) { transform: rotate(15deg) translateX(4px); }
html[dir="rtl"] .group:hover .stack > :nth-child(1) { transform: rotate(15deg) translateX(4px); }
html[dir="rtl"] .group:hover .stack > :nth-child(3) { transform: rotate(-15deg) translateX(-4px); }
.count { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.08); }
.group .go svg { transform: none; }
html[dir="rtl"] .group .go svg { transform: scaleX(-1); }
.group.is-open { visibility: hidden; }

/* ---------- Prompt card ---------- */
.prompt { flex-direction: column; overflow: hidden; }
.prompt .shot { aspect-ratio: 16 / 9; overflow: hidden; }
.prompt .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.prompt .p-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; }
.prompt .p-head .txt { flex: 1; min-width: 0; }
.p-text {
  position: relative;
  margin: 12px 16px 0; padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 14px; line-height: 1.7; color: rgba(245,245,247,.82);
  white-space: pre-wrap; overflow-wrap: anywhere;
  max-height: calc(1.7em * 3 + 24px); overflow: hidden;
  transition: max-height .5s var(--ease);
  cursor: pointer;
}
.p-text::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(22,22,26,.95));
  transition: opacity .3s;
}
.prompt.open .p-text { max-height: none; } /* long prompts (the game one is ~2,000 chars) show in full */
.prompt.open .p-text::after { opacity: 0; }
.p-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 14px; }
.more { border: 0; background: none; padding: 8px 4px; color: var(--muted); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.copy {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--text); color: #0b0b0d;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: transform .2s var(--ease), background .35s, color .35s;
}
.copy:active { transform: scale(.95); }
.copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy .i-check { display: none; }
.copy.done { background: #22c55e; color: #fff; }
.copy.done .i-copy { display: none; }
.copy.done .i-check { display: block; animation: pop .4s var(--ease); }
.copy.done span { animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.copy:focus-visible, .more:focus-visible, .group:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Sheet ---------- */
.layer { position: fixed; inset: 0; z-index: 50; }
.layer[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sheet {
  position: absolute; inset: 0;
  background: #111114;
  overflow: hidden;
  will-change: clip-path, transform;
}
.sheet-scroll { height: 100%; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.sheet-head { position: relative; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; touch-action: none; }
.sheet-cover { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgba(196,34,58,.35), transparent 70%), #16161a; }
.sheet-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.sheet-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,17,20,.3), transparent 30%, rgba(17,17,20,.7) 65%, #111114); }
.grabber { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255,255,255,.45); }
.sheet-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; padding: 0; width: 44px; }
.sheet-title { padding: 0 20px 6px; }
.sheet-title h2 { margin: 10px 0 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.sheet-title p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.sheet-items { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 0; }
.card .thumb { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }
.tile .thumb { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
/* The item a short link (de.fekrty.net/p/…) points at */
.flash { animation: flash 1.2s ease-in-out 2; }
@keyframes flash { 50% { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,255,.35); } }
.in { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms + 220ms); }

@media (min-width: 640px) {
  .sheet {
    top: 5vh; bottom: 5vh; left: 0; right: 0;
    width: min(560px, 92vw); margin-inline: auto;
    border-radius: 32px; border: 1px solid var(--line);
    box-shadow: 0 50px 140px rgba(0,0,0,.6);
  }
  .grabber { display: none; }
  .sheet-close { top: 14px; }
  .sheet-head { min-height: 280px; }
}
.card.prompt { padding: 0; gap: 0; align-items: stretch; }
.card.prompt:active { transform: none; }

/* ---------- Follower stats ---------- */
.stats {
  display: inline-flex; align-items: center;
  margin-top: 16px; padding: 8px 6px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .25s var(--ease), background .25s;
}
.stats[hidden] { display: none; }
.stats:hover { background: var(--glass-hi); }
.stats:active { transform: scale(.97); }
.stats:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.stats-brand { display: flex; align-items: center; margin-inline: 6px 4px; }
.stats-brand i {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1);
}
.stats-brand svg { width: 17px; height: 17px; fill: currentColor; }
/* Several platforms in the sum: small overlapping circles */
.stats-brand.many i { width: 28px; height: 28px; background: #26262b; box-shadow: 0 0 0 2px #141417; }
.stats-brand.many i + i { margin-inline-start: -7px; }
.stats-brand.many svg { width: 13px; height: 13px; }
.stat { display: flex; flex-direction: column; align-items: center; min-width: 68px; padding: 0 12px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font-size: 20px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat small { font-size: 12px; color: var(--muted); }
@media (max-width: 360px) { .stat { min-width: 0; padding: 0 9px; } .stat b { font-size: 18px; } }

/* Tap the box: one row per platform slides open underneath */
.stats-wrap { display: inline-flex; flex-direction: column; align-items: stretch; max-width: 100%; }
.stats[aria-expanded="true"] { background: var(--glass-hi); }
.stats-more {
  display: grid; grid-template-rows: 0fr;
  opacity: 0; transform: translateY(-6px);
  transition: grid-template-rows .32s var(--ease), opacity .25s, transform .32s var(--ease);
}
.stats-more.open { grid-template-rows: 1fr; opacity: 1; transform: none; }
.stats-more[hidden] { display: none; }
.sm-inner {
  overflow: hidden; min-height: 0;
  margin-top: 8px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.stats-more:not(.open) .sm-inner { margin-top: 0; border-color: transparent; }
.sm-row {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 12px; color: inherit; text-decoration: none;
  transition: background .2s;
}
.sm-row + .sm-row { border-top: 1px solid var(--line); }
a.sm-row:hover, a.sm-row:active { background: var(--glass-hi); }
.sm-row i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.sm-row i svg { width: 14px; height: 14px; fill: currentColor; }
.sm-name { flex: 1; min-width: 0; text-align: start; font-size: 14px; font-weight: 600; padding-inline-start: 6px; white-space: nowrap; }
.sm-n { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.sm-n b { font-size: 15px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; }
.sm-n small { font-size: 11px; color: var(--muted); }
.sm-go { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-inline-start: 4px; }
[dir="rtl"] .sm-go { transform: scaleX(-1); }
@media (max-width: 360px) { .sm-n { min-width: 44px; } .sm-n b { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .stats-more { transition: none; } }

/* ---------- Notes without actions ---------- */
.prompt.short .p-text { max-height: none; cursor: auto; }
.prompt.short .p-text::after { display: none; }
.p-pad { height: 16px; }

/* ---------- Image card ---------- */
.card.media { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: start; cursor: zoom-in; width: 100%; }
.media .shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.media .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.media:hover .shot img { transform: scale(1.03); }
.media .p-head { padding: 14px 16px 16px; }
.zoom {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(11,11,13,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.zoom svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- File card ---------- */
.ic.doc { position: relative; border-radius: 14px; }
.ic.doc em {
  position: absolute; bottom: -4px; inset-inline-end: -6px;
  padding: 1px 5px; border-radius: 6px;
  background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 700; font-style: normal; letter-spacing: .03em;
}
.go.dl { background: var(--text); color: #0b0b0d; }
.go.dl svg { transform: none !important; }
.file:hover .go.dl svg { animation: bob .8s var(--ease) infinite alternate; }
@keyframes bob { to { transform: translateY(2px) !important; } }

/* ---------- Viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px calc(24px + env(safe-area-inset-bottom)); cursor: zoom-out; }
.viewer[hidden] { display: none; }
.viewer-bg { position: absolute; inset: 0; background: rgba(5,5,7,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.viewer img { position: relative; max-width: min(100%, 900px); max-height: calc(100svh - 160px); border-radius: 18px; object-fit: contain; will-change: transform; }
.viewer-cap { position: relative; margin: 0; max-width: 560px; text-align: center; color: var(--muted); font-size: 14.5px; }
.viewer-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; padding: 0; width: 44px; z-index: 1; }

/* «New» marker: a red dot in the card's top corner (inline-end: left in Arabic, right in English)
   that gently fades in and out. The word stays inside for screen readers. */
.marks {
  position: absolute; top: 9px; inset-inline-end: 9px; z-index: 2;
  display: flex; align-items: center; gap: 6px; pointer-events: none;
}
.feature .marks { top: 12px; inset-inline-end: 12px; }
/* Link, group and file cards keep their arrow in that corner, so the marks ride on the top edge in a small capsule */
.card:not(.prompt):not(.media) > .marks {
  top: -9px; inset-inline-end: 16px; gap: 5px; padding: 3px 7px;
  border-radius: 999px; background: #141417; border: 1px solid rgba(255,255,255,.12);
}
.card:not(.prompt):not(.media) > .marks .pin-mark { width: 12px; height: 12px; }
.card:not(.prompt):not(.media) > .marks .pin-mark svg { width: 11px; height: 11px; }
.card:not(.prompt):not(.media) > .marks .new-tag { width: 8px; height: 8px; }
.pin-mark { display: grid; place-items: center; width: 14px; height: 14px; color: rgba(245,245,247,.75); }
.pin-mark svg { width: 13px; height: 13px; fill: currentColor; }
.pin-mark i, .new-tag { font-size: 0; }
.pin-mark i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.feature .pin-mark, .prompt .pin-mark, .media .pin-mark { width: 24px; height: 24px; border-radius: 50%; background: rgba(11,11,13,.5); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.new-tag {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: #ff3b55; color: transparent; overflow: hidden;
  animation: new-dot 2.4s ease-in-out infinite;
}
.feature .new-tag { width: 12px; height: 12px; box-shadow: 0 0 0 2px rgba(11,11,13,.45); }
.prompt .new-tag, .media .new-tag { width: 12px; height: 12px; box-shadow: 0 0 0 2px rgba(11,11,13,.45); }
.tile.red .pin-mark { color: #fff; }
.tile.red .new-tag { background: #fff; --dot-glow: rgba(255,255,255,.85); }
@keyframes new-dot {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--dot-glow, rgba(255,59,85,.9))); }
  50% { opacity: .3; filter: none; }
}
@media (prefers-reduced-motion: reduce) { .new-tag { animation: none; } }

/* ---------- Tools page (the sheet behind the «الأدوات والمواقع» card, also de.fekrty.net/tools) ---------- */
.tools-card .stack > img { background: #fff; }
.logo-wall {
  position: absolute; inset: -30% -20%;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  transform: rotate(-12deg); opacity: .32;
  animation: wall-drift 40s linear infinite alternate;
}
.logo-wall { align-content: start; }
.logo-wall img { width: 100%; height: auto; aspect-ratio: 1; align-self: start; object-fit: cover; border-radius: 22%; background: #fff; }
@keyframes wall-drift { to { transform: rotate(-12deg) translateY(-18%); } }

.tl-bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
  margin: -6px -16px 0; padding: 10px 16px 12px;
  background: linear-gradient(#111114 80%, rgba(17,17,20,0));
}
.tl-bar:empty { display: none; }
.tl-search {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.tl-search:focus-within { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.11); }
.tl-search svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.tl-search input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: none; color: var(--text);
  font: inherit; font-size: 16px;
}
.tl-search input::placeholder { color: var(--faint); }
.tl-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.tl-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.tl-filters::-webkit-scrollbar { display: none; }
.tl-filter {
  flex: none; height: 36px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); color: var(--muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.tl-filter:active { transform: scale(.95); }
.tl-filter[aria-pressed="true"] { background: var(--text); color: #0b0b0d; border-color: transparent; }
.tl-filter.free[aria-pressed="true"] { background: #22c55e; color: #fff; }
.tl-filter:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.tl-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.tl-none { margin: 30px 0; text-align: center; color: var(--muted); font-size: 15px; }

.tool .p-head { align-items: center; }
.tl-logo { width: 52px; height: 52px; flex: none; border-radius: 14px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.tl-where { margin-top: 1px; font-size: 12.5px; color: var(--faint); text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir="rtl"] .tl-where { text-align: end; }
.tl-sub { margin: 10px 16px 0; font-size: 14.5px; line-height: 1.6; color: rgba(245,245,247,.82); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 16px 0; }
.tl-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 10px;
  border-radius: 999px; background: rgba(255,255,255,.07);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.tl-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-chip svg.fill, .ic svg.fill, .stack svg.fill { fill: currentColor; stroke: none; }
.tl-chip b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-chip svg.fill { color: #f5c542; }
.tl-chip.kind svg.fill { color: inherit; }
.tl-chip.free { background: rgba(34,197,94,.15); color: #4ade80; }
.tool .p-text { margin-top: 12px; }
.p-text.code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; color: #b8f5c8; text-align: left; }

.tl-actions { display: flex; align-items: center; gap: 8px; padding: 14px 16px 16px; }
.tl-open {
  flex: 1; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--text); color: #0b0b0d;
  font-size: 14.5px; font-weight: 700; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.tl-open span { overflow: hidden; text-overflow: ellipsis; }
.tl-open svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .tl-open svg { transform: scaleX(-1); }
.tl-open:active, .tl-video:active { transform: scale(.95); }
.copy.ghost { flex: 1; min-width: 0; justify-content: center; height: 44px; padding: 0 14px; background: rgba(255,255,255,.1); color: var(--text); font-size: 14px; white-space: nowrap; }
.copy.ghost span { overflow: hidden; text-overflow: ellipsis; }
.copy.ghost.done { background: #22c55e; }
.tl-video {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1);
  transition: transform .2s var(--ease);
}
.tl-video svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:is(.tl-open, .tl-video):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 350px) { .tl-actions { flex-direction: column; } .tl-actions > * { width: 100%; flex: none; } }
@media (prefers-reduced-motion: reduce) { .logo-wall { animation: none; } }
a.tl-chip.lesson { background: rgba(196,34,58,.18); color: #ff8a9a; transition: background .2s; }
a.tl-chip.lesson:hover { background: rgba(196,34,58,.3); }
a.tl-chip.lesson svg { stroke-width: 2.2; }
.tl-actions > * { flex: 1 1 0; }

/* ---------- Lesson number box («اكتب رقم 27») ---------- */
.code { padding: 22px 16px 0; }
.code-form {
  display: flex; align-items: center; gap: 8px;
  height: 60px; padding: 6px; padding-inline-start: 18px;
  border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: border-color .2s, background .2s, box-shadow .25s;
}
.code-form:focus-within { border-color: rgba(255,255,255,.3); background: var(--glass-hi); }
.code.has-hit .code-form { border-color: rgba(59,155,255,.6); box-shadow: 0 0 0 4px rgba(59,155,255,.14); }
.code-field { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 8px; cursor: text; }
.code-hash { font-size: 22px; font-weight: 700; color: var(--faint); }
.code-field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: none; color: var(--text);
  font: inherit; font-size: 22px; font-weight: 700; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.code-field input::placeholder { color: var(--faint); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.code-go {
  flex: none; height: 100%; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--text); color: #0b0b0d;
  font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.code.has-hit .code-go { background: var(--blue); color: #fff; }
.code-go:active { transform: scale(.95); }
.code-go:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.code-msg { margin: 8px 18px 0; min-height: 20px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.code-msg:empty { min-height: 0; margin-top: 0; }
.code-msg.miss { color: #ff8a9b; }
.code-recent { display: flex; align-items: center; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.code-recent::-webkit-scrollbar { display: none; }
.code-recent-label { flex: none; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.code-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  max-width: 230px; height: 36px; padding: 0 13px 0 6px; padding-inline: 6px 13px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.code-chip:active { transform: scale(.95); }
.code-chip:hover { background: rgba(255,255,255,.1); }
.code-chip b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; }
.code-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.shake-x .code-form { animation: shake-x .4s var(--ease); }
@keyframes shake-x { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .shake-x .code-form { animation: none; } }

/* Data failed to load */
.load-fail { text-align: center; padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255,255,255,.8); }
.load-fail button { font: inherit; font-weight: 600; padding: 10px 22px; border-radius: 14px; border: 0; background: #fff; color: #0b0b0d; cursor: pointer; }

/* ================= Phase 2 (2026-11-28): number box with Shatwi, latest lessons, red accent ================= */
.code { position: relative; }
.code-guide { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 74px; margin-bottom: -2px; position: relative; }
.code-bubble { margin: 0 0 14px; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: #F5F2EC; color: #0D0D0F; font-weight: 700; font-size: 15px; line-height: 1.4; }
html[dir="rtl"] .code-bubble { border-radius: 16px 16px 16px 4px; }
.code-guide img { width: auto; height: 170px; align-self: flex-start; margin-top: -10px; margin-inline-end: 6px; clip-path: inset(0 0 calc(100% - 92px) 0); }
.code-form { position: relative; z-index: 1; background: var(--card) !important; border-color: var(--brand-t) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.code.has-hit .code-form { box-shadow: 0 0 0 4px rgba(224,42,49,.18); }
.code-go { background: var(--brand) !important; color: #fff !important; }
.code-go:focus-visible, .code-chip:focus-visible { outline-color: var(--brand-t); }
.code-recent:empty { display: none; }

.latest { padding: 26px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; }
.latest-head h2 { margin: 0; font-size: 22px; font-weight: 900; }
.latest-head a { color: var(--brand-t); font-size: 15px; font-weight: 600; }
.latest-big { display: block; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); transition: transform .25s var(--ease); }
.latest-big:active { transform: scale(.98); }
.lb-cover { position: relative; aspect-ratio: 16 / 8; background: #fff; }
.lb-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.lb-cover.tool { background: #F5F2EC; display: grid; place-items: center; }
.lb-cover.tool img.logo { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; }
.num-pill { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--brand); color: #fff; font-weight: 900; font-size: 18px; padding: 2px 12px; border-radius: 999px; }
.lb-new { position: absolute; top: 12px; inset-inline-end: 12px; background: #0D0D0F; color: #F5F2EC; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.lb-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.lb-body b { font-size: 19px; font-weight: 700; line-height: 1.4; }
.lb-body span { font-size: 14px; color: var(--muted); }
.latest-rows { display: flex; flex-direction: column; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.latest-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--card-line); font-size: 16px; }
.latest-row:first-child { border-top: 0; }
.latest-row b { min-width: 34px; font-weight: 900; font-size: 18px; color: var(--brand-t); font-variant-numeric: tabular-nums; }
.latest-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest-row small { font-size: 13px; color: var(--faint); }
@media (hover: hover) { .latest-row:hover { background: rgba(255,255,255,.04); } }
.new-tag { background: var(--brand) !important; }

/* Phones: the photo takes about half the first screen (it was three quarters), so the number box shows without scrolling */
@media (max-width: 639px) {
  .hero { min-height: min(56svh, 500px); }
  .bio { margin-top: 6px; }
  .socials { margin-top: 12px; }
  .code { padding-top: 8px; }
}

/* Desktop: photo column on the left spans every row; box, latest lessons, links and footer stack on the right */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .page { grid-auto-rows: min-content; row-gap: 0; }
  .hero { grid-column: 1; grid-row: 1 / span 5; }
  .code, .latest, .links, .foot { grid-column: 2; }
  .code { padding: 0; }
  .latest { padding: 26px 0 0; }
  .links { padding-top: 22px; align-self: start; }
}
@media (min-width: 640px) {
  .latest-big { display: grid; grid-template-columns: 220px 1fr; align-items: center; }
  .lb-cover { aspect-ratio: auto; height: 100%; min-height: 140px; }
}

/* ================= Mockup pass: solid cards like the mockup (no glass), mobile hero, text socials ================= */
.card, .feature, .tile { background: var(--card); border-color: var(--card-line); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 22px; }
.card:hover, .feature:hover, .tile:hover { background: #1D1D22; border-color: #3A3A42; }
.ic, .go, .count { background: #232329; }
.t { font-weight: 700; }
.feature::before { display: none; }
.tile.red { background: var(--brand); border-color: transparent; }
.chip.hot { background: var(--brand); }
.stack > * { border-color: var(--card); }
:is(.card, .feature, .tile):focus-visible, .social:focus-visible, .glass-btn:focus-visible, .stats:focus-visible { outline-color: var(--brand-t); }
@keyframes flash { 50% { border-color: var(--brand-t); box-shadow: 0 0 0 3px rgba(224,42,49,.3); } }
.section { margin: 24px 2px 2px; font-size: 21px; font-weight: 900; color: var(--text); letter-spacing: 0; }
.section::after { display: none; }
html[lang="en"] .section { text-transform: none; letter-spacing: 0; font-size: 21px; }

.latest-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.latest-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); }
.latest-card b { padding: 10px 12px 12px; font-size: 15px; line-height: 1.4; font-weight: 700; }
.lc-cover { position: relative; aspect-ratio: 4 / 3; background: #fff; }
.lc-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.lc-cover.tool { background: #F5F2EC; display: grid; place-items: center; }
.lc-cover.tool img.logo { width: 64px; height: 64px; border-radius: 16px; }
.lc-cover .num-pill { top: 8px; inset-inline-start: 8px; font-size: 15px; padding: 1px 10px; }

.foot-socials { display: none; }
@media (max-width: 639px) {
  .hero { min-height: min(50svh, 440px); }
  .identity { text-align: start; padding: 0 16px 4px; }
  .name { font-size: 32px; font-weight: 900; }
  .handle { display: none; }
  .bio { margin: 4px 0 0; max-width: none; font-size: 15px; color: #C9C6CF; }
  .hero .socials { display: none; }
  .stats { margin-top: 10px; padding: 4px 2px; background: rgba(13,13,15,.6); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stats-more { margin-inline: 0; }
  .foot-socials { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 26px 20px 0; }
  .foot-socials a { color: var(--muted); font-size: 14px; padding: 6px 0; }
}

/* ================= Mockup pass 2: hero line, idle hint, topics grid ================= */
.hero-line { display: none; }
.code-idle { display: flex; flex-direction: column; gap: 2px; margin: 10px 4px 0; font-size: 16px; }
.code-idle a { color: var(--text); font-weight: 700; }
.code-idle a.sub { color: var(--muted); font-weight: 400; font-size: 14px; }
.code-idle[hidden] { display: none; }
.latest .section { margin: 26px 2px 12px; }
.topics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.topic { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 12px; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.topic img, .topic i { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; display: block; background: #232329; margin-bottom: 8px; }
.topic b { padding: 0 12px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.topic small { padding: 0 12px; font-size: 13px; color: var(--muted); }
.topic .dot { position: absolute; top: 10px; inset-inline-end: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--card); }
.topic:hover { border-color: #3A3A42; }
.topic:focus-visible { outline: 2px solid var(--brand-t); outline-offset: 2px; }
@media (max-width: 639px) {
  .hero .bio, .hero .stats-wrap { display: none; }
  .hero-line { display: block; margin: 4px 0 0; font-size: 15px; color: #C9C6CF; }
  .hero-line b { color: var(--text); }
}
@media (max-width: 639px) { .hero { min-height: min(44svh, 380px); } }

/* ================= Desktop background: the new identity (night + one red glow), no blurred photo ================= */
@media (min-width: 640px) {
  body { background: #0D0D0F; }
  .backdrop {
    inset: 0; filter: none; opacity: 1;
    background:
      radial-gradient(60vw 50vh at 85% -10%, rgba(224,42,49,.20), transparent 70%),
      radial-gradient(45vw 40vh at 0% 110%, rgba(224,42,49,.10), transparent 70%),
      radial-gradient(rgba(245,242,236,.07) 1px, transparent 1.4px) 0 0 / 26px 26px,
      #0D0D0F;
  }
  .page { background: #111114; border: 1px solid #2A2A31; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.hl-nums { display: block; }
