  @font-face { font-family: 'Thmanyah'; font-weight: 400; font-display: swap; src: url('/fonts/thmanyah-regular.woff') format('woff'); }
  @font-face { font-family: 'Thmanyah'; font-weight: 700; font-display: swap; src: url('/fonts/thmanyah-bold.woff') format('woff'); }

  :root {
    --paper: #F7F3EA; --card: #FCFAF5; --ink: #1D1A17; --muted: #5E554B; --line: rgba(29,26,23,.16);
    --red: #D23A2B; --red-ink: #FFFFFF; --tape: #D8C49B; --shadow: rgba(29,26,23,.16);
    --tex: url('/img/paper.jpg'); --tex-op: 1;
  }
  :root[data-theme="dark"] {
    --paper: #1A1714; --card: #24201C; --ink: #F3ECDF; --muted: #B8AC9C; --line: rgba(243,236,223,.14);
    --red: #E04A3A; --tape: #8C7A55; --shadow: rgba(0,0,0,.45); --tex-op: .06;
  }

  * { box-sizing: border-box; margin: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
  body { background: var(--paper); color: var(--ink); font: 400 17px/1.8 'Changa', system-ui, sans-serif; overflow-x: hidden; }
  body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--tex) center/cover; opacity: var(--tex-op); pointer-events: none; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
  .h2, h1, .ep-title, .brand b { font-family: 'Thmanyah', 'Changa', serif; font-weight: 700; }

  /* شريط فوق */
  .top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { width: 36px; height: 36px; border-radius: 50%; }
  .brand b { font-size: 20px; white-space: nowrap; }
  .top nav { display: flex; gap: 4px; margin-inline-start: auto; }
  .top nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 10px; border-radius: 6px; color: var(--muted); }
  .top nav a:hover { color: var(--ink); background: var(--line); }
  .theme { border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
  .theme svg { width: 18px; height: 18px; }
  @media (max-width: 720px) { .top nav { display: none; } .top-social { margin-inline-start: auto; } .top .wrap { gap: 8px; } }
  @media (max-width: 340px) { .brand b { display: none; } }

  /* أول الصفحة */
  .hero { padding: 56px 0 40px; text-align: center; }
  .hero { padding-top: 36px; }
  .hero .logo { width: min(340px, 72%); height: auto; max-height: 40vh; object-fit: contain; margin: 0 auto 8px; filter: drop-shadow(0 10px 14px rgba(40,25,10,.22)); }
  .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tagline { font-family: 'Thmanyah', serif; font-weight: 700; font-size: clamp(26px, 5vw, 38px); color: var(--red); line-height: 1.4; }
  .hero p.lead { max-width: 560px; margin: 10px auto 0; }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
  .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 11px 22px; border-radius: 8px; border: 2px solid var(--ink); background: var(--card); box-shadow: 4px 4px 0 var(--shadow); transition: transform .15s, box-shadow .15s; }
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
  .btn.red { background: var(--red); border-color: var(--red); color: var(--red-ink); }
  .btn svg { width: 20px; height: 20px; flex: none; }

  /* الأقسام */
  .block { padding: 44px 0; }
  .h2 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.3; display: flex; align-items: center; gap: 12px; }
  .h2::before { content: ""; width: 36px; height: 6px; background: var(--red); flex: none; }
  .lead { color: var(--muted); margin-top: 6px; }
  .empty { margin-top: 18px; color: var(--muted); }

  /* الحلقات: تحت بعض، وأحدث ملف بلون وبادج */
  .rows { display: grid; gap: 14px; margin-top: 22px; }
  .row { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; text-decoration: none; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 10px; box-shadow: 4px 4px 0 var(--shadow); transition: transform .15s, box-shadow .15s; }
  .row:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
  .row[hidden] { display: none; }
  .row.latest { background: color-mix(in srgb, var(--red) 9%, var(--card)); border-color: var(--red); box-shadow: 4px 4px 0 color-mix(in srgb, var(--red) 35%, transparent); }
  .thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; background: #000; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--red); box-shadow: 0 3px 10px rgba(0,0,0,.35); }
  .play::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-38%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
  .info { display: block; min-width: 0; }
  .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
  .badge { font-size: 13px; font-weight: 600; line-height: 1.6; padding: 0 9px; border-radius: 4px; border: 1.5px solid var(--line); color: var(--muted); }
  .badge.new { background: var(--red); border-color: var(--red); color: var(--red-ink); }
  .row-title { display: block; font-family: 'Thmanyah', 'Changa', serif; font-weight: 700; font-size: 20px; line-height: 1.5; }
  .row-date { display: block; font-size: 14px; color: var(--muted); }
  @media (max-width: 600px) { .row { grid-template-columns: 128px 1fr; gap: 12px; padding: 8px; } .row-title { font-size: 16px; } .play { width: 30px; height: 30px; } .play::after { border-width: 6px 0 6px 10px; } }
  .more { margin-top: 20px; }

  /* صفحة كل الملفات */
  .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .filters button { font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; padding: 6px 16px; border-radius: 6px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); }
  .filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .page-head { padding: 40px 0 0; }

  /* المواعيد */
  .times { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
  .time { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 22px 20px 18px; box-shadow: 4px 4px 0 var(--shadow); }
  .time small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; }
  .time b { display: block; font-family: 'Thmanyah', serif; font-size: 28px; line-height: 1.4; color: var(--red); margin: 4px 0; }
  .time span { color: var(--muted); font-size: 15px; }

  /* القصاصات */
  .shorts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 14px; overflow-x: auto; padding: 4px 4px 14px; margin-top: 18px; scroll-snap-type: x mandatory; }
  .short { scroll-snap-align: start; text-decoration: none; }
  .short img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); background: #000; }
  .short span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 8px; }

  /* عن القناة */
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 18px; }
  .about p { margin-bottom: 12px; }
  .about .sign { font-family: 'Thmanyah', serif; font-weight: 700; font-size: 22px; color: var(--red); }
  /* رسمة الأرشيف: ملفات ورا بعض، وصفحات بتتقلب */
  .art { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.02; margin: 30px auto 0; }
  .folder { position: absolute; inset: 14% 4% 6% 4%; background: var(--card); border: 2px solid var(--ink); border-radius: 0 8px 8px 8px; box-shadow: 4px 4px 0 var(--shadow); }
  .folder span { position: absolute; bottom: 100%; inset-inline-start: var(--x, -2px); inset-inline-end: var(--e, auto); background: inherit; border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 0 12px; font-size: 13px; font-weight: 600; line-height: 1.8; color: var(--red); white-space: nowrap; }
  .fd3 { transform: translate(-4px, -42px) rotate(-4deg); --x: auto; --e: -2px; background: color-mix(in srgb, var(--tape) 30%, var(--card)); }
  .fd2 { transform: translate(10px, -28px) rotate(3deg); --x: 50%; background: color-mix(in srgb, var(--tape) 20%, var(--card)); }
  .fd1 { transform: translate(-6px, -14px) rotate(-2deg); --x: 25%; background: color-mix(in srgb, var(--tape) 10%, var(--card)); }
  .fd0 { --x: -2px; }
  .book { position: absolute; inset: 20% 10% 10% 10%; perspective: 1400px; }
  .page { position: absolute; inset: 0; background: #FFFDF8; color: #1D1A17; border: 1.5px solid rgba(29,26,23,.35); border-radius: 3px; padding: 18px 20px; box-shadow: 0 2px 6px rgba(29,26,23,.12); transform-origin: right center; transition: transform 1.05s cubic-bezier(.5,.05,.3,1), opacity .35s ease .75s; backface-visibility: hidden; overflow: hidden; }
  .page:nth-child(2) { transform: rotate(1.2deg); } .page:nth-child(3) { transform: rotate(-1deg); } .page:nth-child(4) { transform: rotate(.6deg); }
  .page.turn { transform: rotateY(-178deg); opacity: 0; box-shadow: -14px 4px 18px rgba(29,26,23,.25); }
  .page.reset { transition: none; }
  .pg-no { display: inline-block; font-size: 13px; font-weight: 700; color: #D23A2B; border: 1.5px solid #D23A2B; border-radius: 3px; padding: 0 8px; }
  .page b { display: block; font-family: 'Thmanyah', serif; font-size: clamp(24px, 4vw, 32px); line-height: 1.35; margin-top: 10px; }
  /* شخبطة بدل الكلام: سطور متموجة زي خط الإيد */
  .scribble { display: block; height: 52%; margin-top: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 140' preserveAspectRatio='none'%3E%3Cpath d='M298 12 q-3.1 -3.1 -6.2 0 q-3.3 2.2 -6.5 0 q-3.8 3.4 -7.6 0 q-2.4 -4.2 -4.8 0 q-2.8 4.6 -5.6 0 q-3.3 -4.6 -6.5 0 q-3.5 4.0 -7.0 0 q-2.3 4.9 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 4.0 -5.6 0 M158.5 127.7 q-2.9 3.1 -5.8 0 q-3.1 3.4 -6.2 0 q-2.7 2.6 -5.4 0 q-3.8 -4.1 -7.7 0 q-2.8 3.9 -5.7 0 M119.9 126.7' fill='none' stroke='%231D1A17' stroke-opacity='.5' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
  .page:nth-child(even) .scribble { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 140' preserveAspectRatio='none'%3E%3Cpath d='M298 12 q-3.7 -4.3 -7.4 0 q-3.0 3.8 -6.0 0 q-3.6 3.4 -7.2 0 q-2.2 2.9 -4.4 0 q-3.1 4.7 -6.2 0 q-3.2 -3.2 -6.4 0 q-3.3 3.8 -6.6 0 q-3.2 4.5 -6.5 0 q-2.1 2.6 -4.2 0 q-3.2 -4.3 -6.4 0 q-2.9 4.5 -5.8 0 M218.9 11.6 q-3.3 -3.4 -6.6 0 q-2.8 3.7 -5.6 0 q-3.4 2.9 -6.8 0 q-3.0 2.1 -6.1 0 q-2.8 -4.5 -5.6 0 M181.1 12.9 q-2.4 4.8 -4.9 0 q-2.9 -4.9 -5.9 0 q-2.8 3.7 -5.7 0 q-3.6 2.8 -7.1 0 q-2.6 -2.0 -5.2 0 M145.4 11.3 q-2.0 -3.4 -4.0 0 q-2.4 -3.7 -4.7 0 q-3.0 5.0 -6.0 0 q-2.8 -3.2 -5.7 0 q-2.8 -2.6 -5.7 0 q-3.7 -4.9 -7.5 0 q-4.0 2.1 -8.0 0 M93.8 13.0 q-3.3 2.3 -6.6 0 q-2.4 -2.8 -4.9 0 q-3.7 3.2 -7.3 0 q-2.2 3.7 -4.4 0 q-2.0 -3.1 -4.1 0 q-2.3 3.8 -4.5 0 q-3.7 2.5 -7.5 0 q-2.6 2.7 -5.2 0 q-3.5 2.5 -6.9 0 q-3.4 -3.2 -6.7 0 q-3.2 3.3 -6.4 0 q-2.2 -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3.5 -6.8 0 q-2.6 -2.4 -5.1 0 q-3.3 3.0 -6.6 0 q-2.6 -3.3 -5.3 0 q-2.9 -4.4 -5.8 0 q-2.9 2.7 -5.8 0 q-2.2 4.5 -4.3 0 q-2.7 -3.2 -5.5 0 q-3.6 -4.2 -7.2 0 M219.7 127.1 q-3.1 -2.5 -6.3 0 q-3.8 2.8 -7.5 0 q-2.4 2.2 -4.9 0 q-3.1 -4.9 -6.3 0 q-2.1 3.6 -4.3 0 q-2.7 2.8 -5.3 0 q-3.8 2.3 -7.6 0 q-2.2 -4.4 -4.4 0 q-2.5 -2.7 -5.0 0 q-3.5 -3.2 -7.1 0 q-3.6 3.0 -7.2 0 M143.9 127.0 q-3.4 -4.7 -6.8 0 q-3.5 -5.0 -7.0 0 q-3.7 4.4 -7.4 0 q-3.8 4.9 -7.6 0 M104.1 126.7' fill='none' stroke='%231D1A17' stroke-opacity='.5' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .clip { position: absolute; top: 15%; inset-inline-end: 22%; width: 16px; height: 56px; border: 3px solid #8A8178; border-radius: 9px; z-index: 20; }
  @media (max-width: 720px) { .about { grid-template-columns: 1fr; gap: 40px; } .art { width: min(100%, 360px); } }
  .lists { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
  .list { text-decoration: none; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 14px 16px; box-shadow: 4px 4px 0 var(--shadow); }
  .list b { display: block; } .list span { color: var(--muted); font-size: 15px; }

  /* المنصات */
  .socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
  .social { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 14px 16px; box-shadow: 4px 4px 0 var(--shadow); transition: transform .15s, box-shadow .15s; }
  .social:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
  .social svg { width: 30px; height: 30px; flex: none; color: var(--red); }
  .social b { display: block; font-size: 17px; line-height: 1.4; }
  .social span { display: block; font-size: 14px; color: var(--muted); direction: ltr; text-align: right; }

  /* التواصل */
  .form { position: relative; display: grid; gap: 18px; max-width: 680px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 34px 24px 26px; margin-top: 26px; box-shadow: 6px 6px 0 var(--shadow); }
  .form::before { content: ""; position: absolute; top: -14px; inset-inline-start: 40px; width: 120px; height: 28px; background: var(--tape); opacity: .85; transform: rotate(-4deg); }
  .field > span small { font-weight: 400; color: var(--muted); }
  .field { display: grid; }
  .field[hidden] { display: none; }
  .field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 12px; width: 100%; }
  .field textarea { resize: vertical; min-height: 140px; }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent); }
  .field [aria-invalid="true"] { border-color: var(--red); }
  .hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
  .send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .send .btn { cursor: pointer; font-family: inherit; min-width: 130px; justify-content: center; }
  .send .btn:disabled { opacity: .6; cursor: wait; }
  .status { font-weight: 500; }
  .status.ok { color: #2E7D32; } .status.err { color: var(--red); }
  .done { text-align: center; padding: 20px 0; }
  .done b { display: block; font-family: 'Thmanyah', serif; font-size: 26px; color: var(--red); }
  .mail { direction: ltr; unicode-bidi: isolate; }

  /* لينكات القناة في الشريط اللي فوق */
  .top-social { display: flex; gap: 2px; }
  .top-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); }
  .top-social a:hover { color: var(--red); background: var(--line); }
  .top-social svg { width: 18px; height: 18px; }

  /* الفوتر */
  .foot { margin-top: 40px; border-top: 2px solid var(--ink); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--muted); font-size: 15px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
  .foot-logo { display: inline-block; }
  .foot-logo img { width: 100px; height: auto; }
  @media (max-width: 720px) { .foot-logo img { width: 85px; } }
  .foot-tag { font-family: 'Thmanyah', serif; font-weight: 700; font-size: 20px; color: var(--red); margin-top: 6px; }
  .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-col b { color: var(--ink); font-size: 16px; margin-bottom: 4px; }
  .foot-col a { text-decoration: none; }
  .foot-col a:hover { color: var(--red); }
  .foot-social { margin-inline-start: -8px !important; }
  .foot-time { margin-top: 8px; line-height: 1.7; }
  .foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 28px; font-size: 14px; }
  .foot-bottom a { text-decoration: none; } .foot-bottom a:hover { color: var(--red); }
  @media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
  a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

  /* قسم التواصل في نص الصفحة */
  #contact .wrap { text-align: center; }
  #contact .h2 { justify-content: center; }
  #contact .form { margin-inline: auto; text-align: start; }

  /* لون كل منصة الأصلي لما الماوس يقف عليها */
  a[href*="youtube.com"] { --brand: #FF0000; }
  a[href*="tiktok.com"] { --brand: #000000; }
  a[href*="instagram.com"] { --brand: #E4405F; }
  a[href*="facebook.com"] { --brand: #1877F2; }
  :root[data-theme="dark"] a[href*="tiktok.com"] { --brand: #25F4EE; }
  .top-social a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
  .social svg { transition: color .15s; }
  .social:hover { border-color: var(--brand); box-shadow: 6px 6px 0 color-mix(in srgb, var(--brand) 35%, transparent); }
  .social:hover svg { color: var(--brand); }
