/* The article and show page styles, moved out of _includes/post-layout.njk so the ~2,900 pages share one cached
   copy instead of 63 KB inline each (INCIDENTS #311). Edit the styles here. */
  :root{
    --bg: #faf7f0; --card: #ffffff; --ink: #1e2530; --muted: #6c7383; --line: #ece6d8;
    --teal: #0e9594; --teal-soft: #e3f5f3; --coral: #ff6f59; --coral-soft: #ffece8;
    --gold: #f2a53c; --gold-soft: #fdf1de; --violet: #7c6ee8; --violet-soft: #efecfd;
    --nostalgia: #0284c7; --nostalgia-soft: #e0f2fe;
  }
  html.arw-dark{
    --bg:#0d0f13; --card:#171a20; --ink:#eef1f6; --muted:#9aa2b0; --line:rgba(255,255,255,.1);
    --teal:#1cb5b3; --teal-soft:rgba(28,181,179,.15); --coral:#ff8570; --coral-soft:rgba(255,133,112,.15);
    --gold:#f4b352; --gold-soft:rgba(244,179,82,.15); --violet:#9a8ff0; --violet-soft:rgba(154,143,240,.15);
    --nostalgia: #38bdf8; --nostalgia-soft: rgba(56,189,248,.15);
  }
  *{box-sizing:border-box; margin:0; padding:0; -webkit-text-size-adjust:100%; text-size-adjust:100%;}
  html{ scroll-behavior:smooth; background-color:var(--bg); -webkit-text-size-adjust:100%; -moz-text-size-adjust:100%; text-size-adjust:100%; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; }
  body{ background:var(--bg); color:var(--ink); font-family:'Tajawal',sans-serif; line-height:1.75; transition:background-color .3s ease, color .3s ease; -webkit-text-size-adjust:100%; -moz-text-size-adjust:100%; text-size-adjust:100%; }

  /* 120Hz Tactile Active Feedback & Hardware Acceleration */
  .show-card, .news-card, .fed-card, .btn, .qn, .navlink, .tag-pill, .tag-card, .server-tab, .dl-btn, .ep-pill, .season-tab, .ep-nav-btn {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .show-card:active, .news-card:active, .fed-card:active, .btn:active, .qn:active, .tag-pill:active, .tag-card:active, .social-row a:active, .ep-pill:active, .season-tab:active, .ep-nav-btn:active {
    transform: scale(0.97) translateY(0) !important;
    transition: transform 0.08s ease !important;
  }
  h1,h2,h3,.brand{ font-family:'Cairo',sans-serif; font-weight:900; }
  header{ position:sticky; top:0; z-index:999; background:var(--bg); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); transition:background-color .3s ease, border-color .3s ease; }
  header.header-hidden{ transform:none !important; }
  .nav{ max-width:1440px; margin:0 auto; padding:15px 20px; display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; gap:16px;}
  .brand{ font-weight:900; font-size:22px; text-decoration:none; color:var(--ink); white-space:nowrap; transition:transform 0.25s ease; display:inline-flex; align-items:center; gap:9px; flex-shrink:0; }
  .brand img.brand-logo{ width:40px; height:40px; object-fit:contain; border-radius:10px; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.25)); transition:transform 0.3s ease; }
  .brand:hover img.brand-logo{ transform:rotate(-6deg) scale(1.08); }
  .brand:hover{ transform:scale(1.04); }
  .brand span{ color:var(--teal); transition:color 0.25s ease; }
  .nav ul{ list-style:none; display:flex; align-items:center; gap:5px; flex-wrap:nowrap; white-space:nowrap; flex-shrink:0; }
  .nav ul li{ display:inline-flex; align-items:center; }
  .nav a.navlink, #navMenu a.navlink{ color:var(--ink); text-decoration:none; font-weight:700; font-size:15px; padding:9px 15px; border-radius:999px; transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1); position:relative; border:1px solid transparent; }
  .nav a.navlink:hover{ background:var(--teal-soft); color:var(--teal); transform:translateY(-2px); }
  .nav a.navlink.active, #navMenu a.navlink.active{ background:#1e2530 !important; color:#fff !important; border-color:#1e2530 !important; box-shadow:0 4px 12px rgba(30,37,48,0.25) !important; }
  .nav a.navlink.support-btn, #navMenu a.navlink.support-btn{ display:inline-flex; align-items:center; gap:7px; background:linear-gradient(-135deg, var(--coral), var(--gold)); color:#fff !important; border:none; padding:9px 17px; font-size:15px; box-shadow:0 4px 14px rgba(255,111,89,0.35); animation:support-pulse 2.6s ease-in-out infinite; }
  .nav a.navlink.support-btn:hover{ background:linear-gradient(-135deg, var(--gold), var(--coral)); color:#fff !important; transform:translateY(-2px) scale(1.04); box-shadow:0 8px 20px rgba(255,111,89,0.45); animation-play-state:paused; }
  .nav a.navlink.support-btn svg{ flex-shrink:0; width:17px; height:17px; }
  @keyframes support-pulse{ 0%,100%{ box-shadow:0 4px 14px rgba(255,111,89,0.35); } 50%{ box-shadow:0 4px 22px rgba(255,111,89,0.65); } }
  html.arw-dark .nav a.navlink.active, html.arw-dark #navMenu a.navlink.active{ background:#fff !important; color:#1e2530 !important; border-color:#fff !important; box-shadow:0 4px 12px rgba(255,255,255,0.2) !important; }
  .nav-dropdown{ position:relative; display:inline-flex; align-items:center; }
  .dropdown-menu{ display:flex !important; flex-direction:column; gap:4px !important; position:absolute; top:calc(100% + 6px); right:50%; left:auto; transform:translateX(50%) translateY(-6px) scale(0.97); min-width:185px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:8px; box-shadow:0 16px 36px -12px rgba(0,0,0,.25); list-style:none; opacity:0; visibility:hidden; transition:all 0.22s cubic-bezier(0.16,1,0.3,1); z-index:60; transform-origin:top center; pointer-events:none; }
  .dropdown-menu::before{ content:''; position:absolute; top:-14px; right:0; left:0; height:14px; background:transparent; display:block; }
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu{ opacity:1; visibility:visible; transform:translateX(50%) translateY(0) scale(1); pointer-events:auto; }
  .dropdown-menu li{ list-style:none; width:100%; margin:0; padding:0; }
  .dropdown-menu a.drop-item{ display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; padding:10px 14px; border-radius:10px; color:var(--ink); text-decoration:none; font-weight:800; font-size:14.5px; border:1px solid transparent; transition:all 0.2s cubic-bezier(0.16,1,0.3,1); }
  .drop-dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; transition:transform 0.2s ease; }
  .drop-item:hover .drop-dot{ transform:scale(1.4); }

  .drop-wwe .drop-dot{ background:#c73b2c; }
  .drop-wwe:hover, .drop-wwe.active{ background:rgba(199,59,44,.12) !important; color:#c73b2c !important; border-color:rgba(199,59,44,.25) !important; transform:translateX(3px); }

  .drop-aew .drop-dot{ background:#d4a017; }
  .drop-aew:hover, .drop-aew.active{ background:rgba(212,160,23,.15) !important; color:#b58509 !important; border-color:rgba(212,160,23,.3) !important; transform:translateX(3px); }

  .drop-tna .drop-dot{ background:#8a5fe0; }
  .drop-tna:hover, .drop-tna.active{ background:rgba(138,95,224,.14) !important; color:#7c42d6 !important; border-color:rgba(138,95,224,.28) !important; transform:translateX(3px); }

  .drop-roh .drop-dot{ background:#3866c7; }
  .drop-roh:hover, .drop-roh.active{ background:rgba(44,102,199,.14) !important; color:#2358b5 !important; border-color:rgba(44,102,199,.28) !important; transform:translateX(3px); }

  .drop-mma .drop-dot{ background:#e07a2c; }
  .drop-mma:hover, .drop-mma.active{ background:rgba(224,122,44,.14) !important; color:#c45b10 !important; border-color:rgba(224,122,44,.28) !important; transform:translateX(3px); }

  .drop-indie .drop-dot{ background:#1f8a72; }
  .drop-indie:hover, .drop-indie.active{ background:rgba(31,138,114,.14) !important; color:#0f705b !important; border-color:rgba(31,138,114,.28) !important; transform:translateX(3px); }

  html.arw-dark .drop-wwe:hover, html.arw-dark .drop-wwe.active{ background:rgba(225,75,60,.2) !important; color:#ff6b5b !important; border-color:rgba(225,75,60,.35) !important; }
  html.arw-dark .drop-aew:hover, html.arw-dark .drop-aew.active{ background:rgba(240,195,60,.2) !important; color:#f4b352 !important; border-color:rgba(240,195,60,.35) !important; }
  html.arw-dark .drop-tna:hover, html.arw-dark .drop-tna.active{ background:rgba(155,109,240,.2) !important; color:#b18cff !important; border-color:rgba(155,109,240,.35) !important; }
  html.arw-dark .drop-roh:hover, html.arw-dark .drop-roh.active{ background:rgba(70,130,240,.2) !important; color:#60a5fa !important; border-color:rgba(70,130,240,.35) !important; }
  html.arw-dark .drop-mma:hover, html.arw-dark .drop-mma.active{ background:rgba(240,140,60,.2) !important; color:#ff9d5c !important; border-color:rgba(240,140,60,.35) !important; }
  html.arw-dark .drop-indie:hover, html.arw-dark .drop-indie.active{ background:rgba(40,180,150,.2) !important; color:#34d399 !important; border-color:rgba(40,180,150,.35) !important; }
  .site-search{ flex:0 1 400px; width:400px; max-width:460px; min-width:260px; display:flex; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:5px 14px 5px 6px; transition:all 0.3s cubic-bezier(0.16,1,0.3,1); }
  .site-search:focus-within{ border-color:var(--teal); box-shadow:0 0 0 4px var(--teal-soft), 0 8px 24px -8px rgba(14,149,148,0.25); transform:translateY(-1px); }
  .site-search input{ flex:1; border:none; outline:none; background:transparent; font-family:'Tajawal',sans-serif; font-size:14.5px; color:var(--ink); padding:6px 4px; }
  .site-search input::placeholder{ color:var(--muted); font-size:14px; }
  .site-search button{ border:none; background:var(--teal); color:#fff; width:36px; height:36px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background-color 0.2s ease; }
  .site-search button svg{ width:17px; height:17px; }
  .site-search button:hover{ transform:scale(1.12) rotate(-8deg); background:#0b7c7b; }
  .site-search button:active{ transform:scale(0.95); }
  .theme-toggle{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--card); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; transition:all 0.35s cubic-bezier(0.34,1.56,0.64,1); }
  .theme-toggle:hover{ transform:rotate(-45deg) scale(1.1); border-color:var(--teal); color:var(--teal); }
  .theme-toggle:active{ transform:rotate(-180deg) scale(0.9); }
  .theme-toggle svg{ display:block; transition:transform 0.3s ease; }
  .theme-toggle .icon-sun{ display:none; }
  html.arw-dark .theme-toggle .icon-moon{ display:none; }
  html.arw-dark .theme-toggle .icon-sun{ display:block; }
  .telegram-btn{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--card); color:var(--ink); display:flex; align-items:center; justify-content:center; text-decoration:none; flex-shrink:0; transition:all 0.35s cubic-bezier(0.34,1.56,0.64,1); }
  .telegram-btn:hover{ transform:scale(1.1); border-color:var(--teal); color:var(--teal); }
  .utility-row{ display:inline-flex; align-items:center; gap:8px; flex-shrink:0; }
  .utility-row .support-btn{ order:1; }
  .utility-row .theme-toggle{ order:2; }
  .utility-row .telegram-btn{ order:3; }
  .telegram-btn:active{ transform:scale(0.92); }
  .page-head{ padding:56px 24px 36px; text-align:center; border-bottom:1px solid var(--line); }
  .page-head h1{ font-size:clamp(26px,4vw,36px); margin-bottom:8px; }
  .page-head p{ color:var(--muted); font-size:14.5px; }
  section.content{ padding:40px 24px 70px; }
  .wrap{ max-width:1180px; margin:0 auto; }
  .grid-12{ display:grid; grid-template-columns:repeat(12,1fr); gap:20px; }
  .grid-12 > *{ grid-column:span 3; }
  @media (max-width:900px){ .grid-12 > *{ grid-column:span 6; } }
  @media (max-width:560px){ .grid-12 > *{ grid-column:span 6; } }

  footer{ padding:40px 24px; text-align:center; color:var(--muted); font-size:13px; border-top:1px solid var(--line); }
  .footer-nav{ display:flex; justify-content:center; flex-wrap:wrap; gap:10px 18px; margin:18px 0 14px; font-weight:700; font-size:14.5px; }
  .footer-nav a{ color:var(--ink); text-decoration:none; transition:color 0.2s ease, transform 0.2s ease; }
  .footer-nav a:hover{ color:var(--teal) !important; transform:translateY(-1px); }
  .footer-nav a.support-link{ color:var(--coral); }
  .footer-nav a.support-link:hover{ color:var(--coral) !important; }

  .social-row{ display:flex; justify-content:center; gap:12px; margin-bottom:16px; }
  .social-row a{ width:38px; height:38px; border-radius:50%; background:var(--card); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink); transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
  .social-row a:hover{ background:var(--teal); color:#fff; border-color:var(--teal); transform:translateY(-4px) scale(1.12); box-shadow:0 8px 16px rgba(14,149,148,0.3); }

  /* Hero Section Animations & Background Banner */
  .hero{ position:relative; padding:130px 24px 90px; text-align:center; overflow:hidden; background: radial-gradient(circle at 50% 15%, rgba(14,149,148,.22) 0%, transparent 65%), radial-gradient(circle at 85% 10%, rgba(242,165,60,.16) 0%, transparent 55%), linear-gradient(-180deg, rgba(13,15,19,.96) 0%, var(--bg) 100%); }
  .hero-inner{ position:relative; max-width:1050px; margin:0 auto; }
  
  @keyframes shimmer {
    0% { background-position: 300% 0; }
    100% { background-position: -100% 0; }
  }
  @keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  .eyebrow{ display:inline-flex; align-items:center; gap:8px; background:linear-gradient(-90deg, rgba(255,255,255,.12), rgba(255,255,255,.28), rgba(255,255,255,.12)); background-size:200% 100%; animation:shimmer 4s infinite linear, floatSlow 3s ease-in-out infinite; color:#fff; backdrop-filter:blur(6px); font-weight:700; font-size:13px; padding:8px 18px; border-radius:999px; margin-bottom:26px; border:1px solid rgba(255,255,255,0.25); box-shadow:0 8px 20px rgba(0,0,0,0.2); }
  .hero h1.hero-title, .hero h1{ font-size:clamp(24px,3.6vw,36px); font-weight:800; line-height:1.24; margin-bottom:18px; letter-spacing:-.5px; color:#fff; text-shadow:0 4px 24px rgba(0,0,0,.4); }
  .hero h1.news-hero-title { font-size:clamp(19px,2.6vw,28px) !important; font-weight:800 !important; line-height:1.35 !important; color:#ffffff !important; max-width:980px; margin:0 auto 18px !important; text-shadow:0 3px 18px rgba(0,0,0,.5); }
  .hero h1 .u, .hero h1.hero-title .u{ color:var(--gold); display:block; margin-top:10px; font-size:inherit; font-weight:inherit; }
  .hero p{ color:rgba(255,255,255,.88); font-size:17.5px; max-width:540px; margin:0 auto 32px; text-shadow:0 2px 12px rgba(0,0,0,.35); }
  .cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
  .btn{ padding:14px 28px; border-radius:12px; font-weight:700; font-size:15px; text-decoration:none; display:inline-block; transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
  .btn-ghost{ background:var(--card); color:var(--ink); border:1px solid var(--line); box-shadow:0 4px 12px rgba(0,0,0,0.08); }
  .btn-ghost:hover{ transform:translateY(-4px) scale(1.03); border-color:var(--teal); color:var(--teal); box-shadow:0 12px 24px rgba(14,149,148,0.25); }
  .btn-ghost:active{ transform:translateY(-1px) scale(0.98); }
  
  .quicknav{ position:relative; max-width:900px; margin:44px auto 0; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
  .qn{ display:flex; align-items:center; gap:10px; background:var(--card); border:1px solid var(--line); padding:12px 20px; border-radius:14px; text-decoration:none; color:var(--ink); font-weight:700; font-size:14px; transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); box-shadow:0 4px 12px rgba(0,0,0,0.05); }
  .qn:hover{ transform:translateY(-4px) scale(1.03); box-shadow:0 14px 28px -10px rgba(0,0,0,.18); border-color:var(--teal); }
  .qn .dot{ width:10px; height:10px; border-radius:50%; display:inline-block; transition:transform 0.3s ease; }
  .qn:hover .dot{ transform:scale(1.4); }

  .post-wrap{ max-width:820px; margin:0 auto; padding:48px 24px 80px; }
  /* show, recap and nostalgia pages get a wider column (992px of content), so the player is big and every box under
     it keeps the same width; news and the rest of the site keep their own sizes (owner, 2026-10-06) */
  .post-wrap.is-watch{ max-width:1040px; }
  .back-link{ display:inline-flex; align-items:center; gap:6px; color:var(--muted); text-decoration:none; font-weight:700; font-size:14px; margin-bottom:24px; transition:all 0.25s ease; }
  .back-link:hover{ color:var(--teal); transform:translateX(-4px); }
  .post-fed{ display:inline-block; background:var(--gold-soft); color:var(--gold); font-weight:800; font-size:12.5px; padding:5px 14px; border-radius:999px; transition:transform 0.2s ease; }
  .post-fed:hover{ transform:scale(1.05); }
  .post-type-badge{ display:inline-block; font-weight:800; font-size:12.5px; padding:5px 14px; border-radius:999px; transition:transform 0.2s ease; }
  .post-type-badge:hover{ transform:scale(1.05); }
  .kind-show{ background:var(--gold-soft); color:#b45309; }
  html.arw-dark .kind-show{ background:var(--gold-soft); color:var(--gold); }
  .kind-program{ background:var(--teal-soft); color:var(--teal); }
  .kind-series{ background:rgba(37,99,235,0.12); color:#1d4ed8; }
  html.arw-dark .kind-series{ background:rgba(59,130,246,0.18); color:#60a5fa; }
  .post-meta-bar{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
  .post-meta-tag{ display:inline-flex; align-items:center; line-height:1; font-size:12px; font-weight:700; padding:4px 12px; border-radius:999px; background:var(--card); border:1px solid var(--line); color:var(--muted); }
  .post-ep-name{ display:inline-flex; align-items:center; font-size:12px; font-weight:800; padding:4px 12px; border-radius:999px; background:var(--teal-soft); color:var(--teal); }
  .post-wrap h1{ font-size:clamp(19px,2.4vw,25px); margin-bottom:12px; line-height:1.35; font-family:'Cairo',sans-serif; font-weight:800; }
  .post-wrap h2{ font-size:clamp(19px,2.4vw,25px); margin-bottom:18px; line-height:1.35; font-family:'Cairo',sans-serif; font-weight:800; }
  .post-sub-title{ font-size:15px; font-weight:800; color:var(--gold); margin-bottom:16px; display:inline-block; }
  .post-desc{ font-size:15.5px; line-height:1.75; color:var(--ink); margin-bottom:24px; padding:16px 20px; background:var(--card); border-radius:12px; border:1px solid var(--line); border-inline-start:4px solid var(--teal); box-shadow:0 4px 12px -8px rgba(0,0,0,0.06); }
  .player-toolbar{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; margin-bottom:16px; }

  /* ═══ «غرفة التحكم»: one card at the page's column width, in the same style as the download box under it —
     the servers listed on the right, the player on the left (owner, 2026-10-06) ═══ */
  .watch-deck{ position:relative; container-type:inline-size; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px 20px 16px; margin-bottom:28px; box-shadow:0 6px 20px -10px rgba(0,0,0,0.08); }
  .wd-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
  .wd-head h3{ font-size:16px; margin:0; }
  /* «.watch-deck .wd-head» outranks the landscape-phone rules in features.css (.post-layout .player-actions …) */
  .watch-deck .wd-head .wd-acts{ display:flex !important; gap:2px !important; width:auto !important; margin:0 !important; flex-wrap:nowrap !important; justify-content:flex-end !important; }
  .watch-deck .wd-acts .player-action-btn{ background:none !important; border:0 !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; color:var(--muted) !important; font-size:13px !important; font-weight:700; padding:6px 9px !important; min-height:0 !important; width:auto !important; border-radius:8px; gap:6px; transform:none !important; }
  .watch-deck .wd-acts .player-action-btn:hover{ color:var(--teal) !important; background:var(--teal-soft) !important; }
  .watch-deck .wd-acts .player-action-btn.is-active{ color:var(--teal) !important; background:var(--teal-soft) !important; }
  .wd-body{ display:grid; grid-template-columns:clamp(180px, 25%, 240px) minmax(0,1fr); gap:16px; }
  .watch-deck.is-single .wd-body{ grid-template-columns:minmax(0,1fr); }
  /* the list is exactly as tall as the player: the six rows share its height, more than six scroll inside */
  .wd-side{ position:relative; min-width:0; }
  .wd-list{ position:absolute; inset:0; display:flex; flex-direction:column; overflow-y:auto; border:1px solid var(--line); border-radius:12px; scrollbar-width:thin; }
  .srv-row{ position:relative; flex:1 1 0; min-height:44px; display:flex; align-items:center; gap:10px; padding:0 10px 0 12px; text-align:left; font-family:inherit; color:var(--ink); background:none; border:0; border-bottom:1px solid var(--line); cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; transition:background .15s ease; }
  .srv-row:last-child{ border-bottom:0; }
  .srv-row:hover{ background:var(--bg); }
  .srv-row:focus-visible{ outline:2px solid var(--teal); outline-offset:-2px; }
  .srv-num{ flex:none; width:16px; text-align:center; font-family:'Cairo',sans-serif; font-weight:800; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; }
  .srv-name{ flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.35; }
  .srv-name b{ font-size:14.5px; font-weight:800; white-space:nowrap; }
  /* multi-quality servers (OK.ru, StreamHG) — INCIDENTS #289 */
  .srv-mq{ font-size:11.5px; font-weight:700; color:#b46d06; white-space:nowrap; }
  html.arw-dark .srv-mq{ color:var(--gold); }
  .srv-row.active{ background:var(--teal-soft); }
  .srv-row.active::before{ content:""; position:absolute; top:8px; bottom:8px; left:0; width:3px; border-radius:0 3px 3px 0; background:var(--teal); }
  .srv-row.active .srv-num, .srv-row.active .srv-name b{ color:var(--teal); }
  /* the active row says where the player is: ready (before the press) → starting → playing */
  .srv-state{ display:none; flex:none; font-size:11.5px; font-weight:700; color:var(--teal); white-space:nowrap; }
  .srv-row.active .srv-state{ display:inline; }
  .srv-state > span{ display:none; }
  .srv-row.active .s-on{ display:inline; }
  .watch-deck.is-idle .srv-row.active .s-on, .watch-deck.is-loading .srv-row.active .s-on{ display:none; }
  .watch-deck.is-idle .srv-row.active .s-ready{ display:inline; color:var(--muted); }
  .watch-deck.is-loading .srv-row.active .s-load{ display:inline; }
  .watch-deck .video-embed-container{ min-width:0; }
  .watch-deck .video-embed{ margin:0 !important; border-radius:12px !important; border:0 !important; box-shadow:none !important; }
  .wd-note{ display:flex; align-items:flex-start; gap:8px; margin:14px 0 0; padding-top:12px; border-top:1px solid var(--line); font-size:13.5px; font-weight:600; line-height:1.7; color:var(--ink); }
  .wd-note svg{ flex:none; width:16px; height:16px; margin-top:4px; color:var(--coral); }
  .wd-note b{ color:var(--coral); font-weight:800; }
  /* the show's picture with a play button until the viewer presses it */
  .wd-poster{ position:absolute; inset:0; z-index:6; display:block; width:100%; height:100%; padding:0; margin:0; border:0; border-radius:inherit; background:#0d1015; cursor:pointer; overflow:hidden; -webkit-tap-highlight-color:transparent; transition:opacity .3s ease, visibility .3s ease; }
  .wd-poster img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .wd-poster::after{ content:""; position:absolute; inset:0; background:rgba(0,0,0,.25); transition:background .2s ease; }
  .wd-poster:hover::after{ background:rgba(0,0,0,.15); }
  .wd-play{ position:absolute; z-index:2; inset:0; margin:auto; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:#fff; color:#1e2530; box-shadow:0 6px 18px rgba(0,0,0,.35); transition:transform .2s ease; }
  .wd-play svg{ width:24px; height:24px; margin-right:4px; }
  .wd-poster:hover .wd-play{ transform:scale(1.06); }
  .wd-poster:focus-visible{ outline:none; }
  .wd-poster:focus-visible .wd-play{ outline:3px solid var(--teal); outline-offset:3px; }
  .watch-deck:not(.is-idle) .wd-poster{ opacity:0; visibility:hidden; pointer-events:none; }

  /* narrow box (phone): the player on top and the six servers under it, three to a row, like the download cards */
  @container (max-width:600px){
    .wd-body{ grid-template-columns:minmax(0,1fr); gap:10px; }
    .wd-side{ order:2; }
    .wd-list{ position:static; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; border:0; border-radius:0; overflow:visible; }
    .srv-row, .srv-row:last-child{ min-height:48px; justify-content:center; padding:6px; border:1px solid var(--line); border-radius:10px; }
    .srv-num, .srv-state{ display:none !important; }
    .srv-name{ flex:none; align-items:center; }
    .srv-name b{ font-size:13.5px; }
    .srv-mq{ font-size:10.5px; }
    .srv-row.active{ border-color:var(--teal); }
    .srv-row.active::before{ display:none; }
    .watch-deck .wd-acts .action-text, .watch-deck .wd-acts .player-fs-btn > span{ display:none; }
    .watch-deck .wd-acts .player-action-btn{ padding:8px !important; }
    .watch-deck .wd-acts .player-action-btn svg{ width:17px; height:17px; }
    .wd-note{ font-size:12.5px; }
  }
  @media (max-width:680px){ .wd-head{ margin-bottom:10px; } .wd-head h3{ font-size:14.5px; } }
  /* the smallest phones (320px): two to a row so every name stays whole */
  @container (max-width:300px){
    .wd-list{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  }

  /* «العضوية المميزة» on a show page (owner 2026-10-14, assets/post-player.js): a premium member's own servers lead the
     list with the crown; everyone else gets one line saying they exist; a show dated later waits behind a lock */
  .srv-row.is-prem .srv-num{ width:18px; color:#c77c00; }
  .srv-row.is-prem .srv-num svg{ width:15px; height:15px; display:block; margin:auto; }
  .srv-row.is-prem .srv-name b{ color:#a86400; }
  .srv-row.is-prem .srv-mq{ color:var(--muted); }
  html.arw-dark .srv-row.is-prem .srv-num, html.arw-dark .srv-row.is-prem .srv-name b{ color:var(--gold); }
  .srv-row.is-prem.active{ background:rgba(242,165,60,.13); }
  .srv-row.is-prem.active::before{ background:#e09a12; }
  .wd-prem{ display:flex; align-items:center; gap:12px; margin:14px 0 0; padding:11px 14px; border-radius:12px; text-decoration:none; color:var(--ink); background:linear-gradient(-135deg, rgba(255,210,90,.16), rgba(224,154,18,.08)); border:1px solid rgba(224,154,18,.35); transition:border-color .2s ease, background .2s ease; }
  .wd-prem[hidden]{ display:none; }
  .wd-prem:hover{ border-color:#e09a12; background:linear-gradient(-135deg, rgba(255,210,90,.26), rgba(224,154,18,.12)); }
  .wd-prem-ic{ flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; }
  .wd-prem-ic svg{ width:17px; height:17px; }
  .wd-prem-tx{ flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.45; }
  .wd-prem-tx b{ font:800 14px 'Cairo',sans-serif; }
  .wd-prem-tx small{ font-size:12.5px; color:var(--muted); font-weight:600; }
  .wd-prem-go{ flex:none; padding:7px 16px; border-radius:999px; background:#1e2530; color:#fff; font:800 13px 'Cairo',sans-serif; }
  html.arw-dark .wd-prem-go{ background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; }
  .wd-early{ display:inline-flex; align-items:center; gap:4px; margin-inline-start:8px; padding:2px 9px; border-radius:999px; vertical-align:2px; background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; font:900 11.5px 'Cairo',sans-serif; }
  .wd-early svg{ width:12px; height:12px; }
  /* «العرض قبل الجميع» (owner 2026-10-29: «العدّاد الكبير»): the lock over the poster, its clock ticking each second */
  .wd-lock{ position:absolute; inset:0; z-index:8; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:20px; text-align:center; color:#fff; border-radius:inherit; background:radial-gradient(120% 90% at 50% 0%, rgba(224,154,18,.22), transparent 60%), linear-gradient(-180deg, rgba(13,16,21,.70), rgba(13,16,21,.93)); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
  .wd-lock-tag{ display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:999px; background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; font:900 12px 'Cairo',sans-serif; }
  .wd-lock-tag svg{ width:13px; height:13px; }
  .wd-lock-t{ font:900 clamp(18px, 2.8vw, 24px)/1.5 'Cairo',sans-serif; text-wrap:balance; }
  .wd-lock-s{ max-width:560px; font-size:14.5px; font-weight:600; line-height:1.7; color:rgba(255,255,255,.8); text-wrap:balance; }
  .wd-clock{ display:flex; align-items:center; gap:10px; direction:rtl; margin:2px 0; }
  .wd-clock[hidden], .wd-u[hidden], .wd-clock i[hidden]{ display:none; }
  .wd-u{ min-width:78px; padding:10px 8px 8px; border-radius:16px; background:rgba(255,255,255,.07); border:1px solid rgba(255,210,90,.35); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
  .wd-u b{ display:block; font:900 34px/1 'Cairo',sans-serif; color:#ffd25a; font-variant-numeric:tabular-nums; }
  .wd-u small{ display:block; margin-top:6px; font-size:12px; font-weight:700; color:rgba(255,255,255,.7); }
  .wd-clock i{ font:normal 900 28px 'Cairo',sans-serif; color:rgba(255,210,90,.6); margin-top:-14px; }
  .wd-lock-acts{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px 16px; margin-top:4px; }
  .wd-lock-btn{ display:inline-flex; align-items:center; gap:8px; height:46px; padding:0 26px; border-radius:999px; background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; font:900 15px 'Cairo',sans-serif; text-decoration:none; box-shadow:0 12px 26px -10px rgba(224,154,18,.85); }
  .wd-lock-btn svg{ width:18px; height:18px; }
  .wd-lock-btn:hover{ filter:brightness(1.06); }
  .wd-lock-in{ color:#fff; font-size:13.5px; font-weight:700; text-decoration:underline; text-underline-offset:3px; opacity:.9; }
  .watch-deck.is-locked .wd-play, .watch-deck.is-locked .wd-prem{ display:none; }
  .watch-deck.is-locked .wd-poster{ cursor:default; }
  .quality-btn[data-tier="prem"] .quality-icon{ background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; }
  .quality-btn[data-tier="prem"]{ background:linear-gradient(-155deg, var(--card), rgba(255,210,90,.18)); }
  .quality-btn[data-tier="prem"]:hover{ border-color:#e09a12; box-shadow:0 12px 28px -10px rgba(224,154,18,.4); }
  @container (max-width:600px){
    .srv-row.is-prem .srv-name b{ font-size:12.5px; }
    .wd-prem{ margin-top:10px; padding:10px 12px; gap:10px; }
    .wd-prem-tx small{ display:none; }
    /* a phone: the lock is taller than the 16:9 box, so the box grows to it */
    .watch-deck.is-locked .video-embed{ aspect-ratio:auto; min-height:56.25cqw; }
    .wd-lock{ position:relative; inset:auto; width:100%; min-height:inherit; padding:22px 14px; }
    .wd-clock{ gap:6px; }
    .wd-clock i{ display:none; }
    .wd-u{ min-width:62px; padding:8px 6px 6px; }
    .wd-u b{ font-size:26px; }
    .wd-lock-s{ font-size:13px; }
  }

  .server-single-label{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--muted); padding:8px 16px; background:var(--card); border:1px solid var(--line); border-radius:999px; user-select:none; margin:0 auto; }
  .server-pulse-dot{ width:8px; height:8px; border-radius:50%; background:#10b981; box-shadow:0 0 0 0 rgba(16,185,129,0.7); animation:pulseDot 2s infinite; flex-shrink:0; }
  @keyframes pulseDot{ 0%{ box-shadow:0 0 0 0 rgba(16,185,129,0.7); } 70%{ box-shadow:0 0 0 7px rgba(16,185,129,0); } 100%{ box-shadow:0 0 0 0 rgba(16,185,129,0); } }

  .player-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    width:100%;
    margin-top:2px;
  }
  .player-action-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    background:var(--card);
    border:1px solid var(--line);
    color:var(--ink);
    font-family:inherit;
    font-size:12.5px;
    font-weight:700;
    line-height:1;
    padding:8px 16px;
    border-radius:999px;
    cursor:pointer;
    user-select:none;
    box-shadow:0 2px 6px -2px rgba(0,0,0,0.06);
    transition:all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color:transparent;
  }
  .player-action-btn:hover{
    color:var(--teal);
    border-color:var(--teal);
    background:var(--card);
    transform:translateY(-2px);
    box-shadow:0 6px 16px -4px rgba(14,149,148,0.22);
  }
  .player-action-btn:active{
    transform:scale(0.96) translateY(0);
    box-shadow:0 1px 4px rgba(0,0,0,0.08);
  }
  .player-action-btn:disabled{
    opacity:0.8;
    cursor:wait;
    pointer-events:none;
  }
  .player-action-btn.active{
    background:var(--teal) !important;
    color:#fff !important;
    border-color:var(--teal) !important;
    box-shadow:0 4px 14px rgba(14,149,148,0.35) !important;
  }
  .player-action-btn svg{ flex-shrink:0; }

  .reload-icon-wrap{ display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
  .reload-svg{ flex-shrink:0; transition:transform 0.3s ease; }
  .reload-svg.is-spinning{ animation:playerSpin 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  @keyframes playerSpin{ from{ transform:rotate(0deg); } to{ transform:rotate(-360deg); } }

  html.arw-dark .player-action-btn{
    background:rgba(255,255,255,0.04);
    border-color:rgba(255,255,255,0.12);
    color:#e2e8f0;
    box-shadow:0 4px 14px -4px rgba(0,0,0,0.4);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }
  html.arw-dark .player-action-btn:hover{
    background:rgba(14,149,148,0.12);
    border-color:rgba(14,149,148,0.5);
    color:#2dd4bf;
    box-shadow:0 6px 20px -4px rgba(14,149,148,0.35);
  }

  .video-embed-container{ position:relative; width:100%; }
  .video-embed{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    background:#080c10;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:28px;
    box-shadow:0 14px 40px -10px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.15);
    border:1px solid rgba(255,255,255,0.08);
    transition:box-shadow 0.35s ease, border-color 0.35s ease;
  }
  @supports not (aspect-ratio: 16/9){ .video-embed{ padding-top:56.25%; } }
  .video-embed iframe, .video-embed video{ position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:contain; background:#000; z-index:1; }

  /* Smooth Loading Shimmer & State Indicator */
  .video-loader{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    background:radial-gradient(circle at center, #151b23 0%, #07090d 100%);
    z-index:5;
    opacity:1;
    visibility:visible;
    transition:opacity 0.35s ease, visibility 0.35s ease;
    pointer-events:auto;
    padding:20px;
    text-align:center;
  }
  .video-loader.is-hidden{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  .video-loader-spinner{
    width:42px;
    height:42px;
    border-radius:50%;
    border:3px solid rgba(47, 199, 184, 0.15);
    border-top-color:#2fc7b8;
    animation:loaderSpin 0.8s linear infinite;
    box-shadow:0 0 16px rgba(47, 199, 184, 0.25);
  }
  @keyframes loaderSpin{ to{ transform:rotate(-360deg); } }
  .video-loader-status{
    font-family:'Cairo', sans-serif;
    font-size:13px;
    font-weight:700;
    color:rgba(255, 255, 255, 0.9);
  }
  .video-loader-progress{ width:min(240px,62%); height:3px; border-radius:999px; background:rgba(255,255,255,.1); overflow:hidden; }
  .video-loader-progress span{ display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(-90deg,#2fc7b8,#7be0d6); box-shadow:0 0 10px rgba(47,199,184,.55); transition:width .6s cubic-bezier(.22,.8,.3,1); }
  .video-loader-fallback{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    margin-top:4px;
    font-size:12px;
    color:rgba(255, 255, 255, 0.65);
  }
  .loader-switch-srv-btn{
    background:rgba(47, 199, 184, 0.15);
    border:1px solid #2fc7b8;
    color:#2fc7b8;
    padding:5px 14px;
    border-radius:999px;
    font-size:11.5px;
    font-weight:700;
    font-family:inherit;
    cursor:pointer;
    transition:all 0.2s ease;
  }
  .loader-switch-srv-btn:hover{
    background:#2fc7b8;
    color:#04201d;
  }


  @media (max-width:640px){
    .player-toolbar{ gap:10px; }
    .server-single-label{ font-size:12px; padding:7px 12px; }
    .player-actions{ gap:6px; }
    .player-action-btn{ font-size:11.5px; padding:7px 12px; gap:5px; }
  }
  @media (max-width:420px){
    .player-toolbar{ justify-content:center; }
    .server-tabs{ justify-content:center; }
    .player-actions{ justify-content:center; }
  }

  

  /* Fullscreen native engine resets (Prevents black screen across all browsers) */
  .video-embed:fullscreen,
  .video-embed:-webkit-full-screen,
  .video-embed:-moz-full-screen,
  .video-embed:-ms-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    padding-top: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: #000 !important;
    z-index: 2147483647 !important;
  }
  .video-embed:fullscreen iframe,
  .video-embed:-webkit-full-screen iframe,
  .video-embed:-moz-full-screen iframe,
  .video-embed:-ms-fullscreen iframe,
  .video-embed:fullscreen video,
  .video-embed:-webkit-full-screen video,
  .video-embed:-moz-full-screen video,
  .video-embed:-ms-fullscreen video {
    position: absolute !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border: 0 !important;
    background: #000 !important;
  }
  .post-cover{ width:100%; border-radius:16px; margin-bottom:28px; display:block; box-shadow:0 12px 28px -12px rgba(0,0,0,0.25); }
  .download-links{ background:var(--card); border:1px solid var(--line); border-radius:16px; padding:20px 22px; margin-bottom:28px; box-shadow:0 6px 20px -10px rgba(0,0,0,0.08); }
  .download-links h3{ font-size:16px; margin-bottom:14px; }
  .dl-btn{ display:inline-flex; align-items:center; gap:8px; background:var(--teal); color:#fff; text-decoration:none; font-weight:700; font-size:14px; padding:10px 18px; border-radius:999px; margin:0 0 8px 8px; transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); box-shadow:0 4px 12px rgba(14,149,148,0.25); }
  .dl-btn svg{ width:16px; height:16px; flex-shrink:0; stroke:currentColor; transition:transform 0.25s ease; }
  .dl-btn:hover{ background:#1e2530; transform:translateY(-3px) scale(1.04); box-shadow:0 8px 20px rgba(30,37,48,0.3); }
  .dl-btn:hover svg{ transform:translateY(2px); }

  /* ==== أزرار الجودة الثلاثة الاحترافية ==== */
  .quality-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:14px; }
  .quality-btn{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:linear-gradient(-155deg, var(--card), var(--teal-soft)); border:1px solid var(--line); border-radius:18px; padding:22px 16px; cursor:pointer; font-family:inherit; text-align:center; transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); overflow:hidden; }
  .quality-btn::before{ content:''; position:absolute; inset:0; background:var(--teal); opacity:0; transition:opacity 0.3s ease; }
  .quality-btn:hover{ transform:translateY(-4px); border-color:var(--teal); box-shadow:0 12px 28px -10px rgba(14,149,148,0.35); }
  .quality-btn:hover .quality-icon{ transform:scale(1.12) translateY(-2px); }
  .quality-icon{ width:40px; height:40px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1); flex-shrink:0; }
  .quality-icon svg{ width:20px; height:20px; }
  .quality-label{ font-weight:800; font-size:15px; color:var(--ink); position:relative; z-index:1; }
  .quality-sub{ font-size:12px; color:var(--muted); font-weight:600; position:relative; z-index:1; }
  .quality-btn[data-tier="light"] .quality-icon{ background:var(--nostalgia); }
  .quality-btn[data-tier="low"] .quality-icon{ background:var(--gold); }
  .quality-btn[data-tier="medium"] .quality-icon{ background:var(--violet); }
  .quality-btn[data-tier="high"] .quality-icon{ background:var(--teal); }
  .quality-btn[data-tier="light"]:hover{ border-color:var(--nostalgia); box-shadow:0 12px 28px -10px rgba(2,132,199,0.35); }
  .quality-btn[data-tier="low"]:hover{ border-color:var(--gold); box-shadow:0 12px 28px -10px rgba(242,165,60,0.35); }
  .quality-btn[data-tier="medium"]:hover{ border-color:var(--violet); box-shadow:0 12px 28px -10px rgba(124,110,232,0.35); }

  /* ==== ترتيب أزرار الجودة على الهاتف فقط: العنصر الثالث المفرد يتوسّط الصف بنفس حجم الباقي ==== */
  @media (max-width:640px){
    .quality-grid{ display:flex; flex-wrap:wrap; justify-content:center; }
    .quality-grid .quality-btn{ flex:0 1 calc(50% - 7px); }
    /* four qualities (360p added, owner 2026-10-09): two rows of two, not four squeezed buttons */
    .quality-grid:has(> .quality-btn:nth-child(4)){ display:grid !important; grid-template-columns:repeat(2, 1fr) !important; }
  }

  /* ==== الـ Modal الخاص بروابط التحميل ==== */
  .dl-modal-backdrop{ position:fixed; inset:0; background:rgba(13,15,19,0.55); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; opacity:0; visibility:hidden; pointer-events:none; transition:opacity 0.3s ease, visibility 0s linear 0.3s; }
  .dl-modal-backdrop.open{ opacity:1; visibility:visible; pointer-events:auto; transition:opacity 0.3s ease, visibility 0s linear 0s; }
  .dl-modal{ background:var(--card); border:1px solid var(--line); border-radius:22px; width:100%; max-width:440px; max-height:86vh; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 30px 70px -20px rgba(0,0,0,0.45); transform:translateY(24px) scale(0.92); opacity:0; transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease; }
  .dl-modal-backdrop.open .dl-modal{ transform:translateY(0) scale(1); opacity:1; }
  .dl-modal-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--line); }
  .dl-modal-head h4{ font-size:16px; font-weight:800; color:var(--ink); }
  .dl-modal-close{ width:32px; height:32px; border-radius:50%; border:none; background:var(--bg); color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all 0.2s ease; flex-shrink:0; }
  .dl-modal-close:hover{ background:var(--coral); color:#fff; transform:rotate(-90deg); }
  .dl-modal-body{ padding:14px; overflow-y:auto; display:flex; flex-direction:column; gap:10px; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--teal) transparent; }
  .dl-modal-body::-webkit-scrollbar{ width:5px; }
  .dl-modal-body::-webkit-scrollbar-track{ background:transparent; margin:6px 0; }
  .dl-modal-body::-webkit-scrollbar-thumb{ background:var(--teal); opacity:.5; border-radius:999px; }
  .dl-modal-body::-webkit-scrollbar-thumb:hover{ background:var(--teal); }
  @media (max-width:640px){ .dl-modal-body::-webkit-scrollbar{ width:4px; } }
  .dl-site-card{ display:flex; align-items:center; gap:12px; background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:12px 14px; text-decoration:none; transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1); }
  .dl-site-card:hover{ border-color:var(--teal); background:var(--teal-soft); transform:translateX(4px); }
  html.arw-dark .dl-site-card:hover{ transform:translateX(-4px); }
  .dl-site-logo{ width:36px; height:36px; border-radius:10px; flex-shrink:0; object-fit:contain; background:#fff; border:1px solid var(--line); padding:4px; }
  .dl-site-info{ flex:1; min-width:0; }
  .dl-site-name{ font-weight:800; font-size:14px; color:var(--ink); }
  .dl-site-quality{ font-size:12px; color:var(--muted); font-weight:600; }
  /* StreamHG in the download list: its own color and a multi-quality badge (INCIDENTS #288) */
  /* multi-quality hosts (StreamHG): first in the list, a quiet amber outline and a matching tag, readable in light
     and dark alike (owner, 2026-10-06) */
  .dl-site-card.is-mq{ order:-1; background:linear-gradient(rgba(242,165,60,.07), rgba(242,165,60,.07)), var(--bg); border:1.5px solid rgba(242,165,60,.55); box-shadow:none; }
  .dl-site-card.is-mq:hover{ border-color:var(--gold); }
  .dl-site-card.is-mq .dl-site-quality{ display:block; margin-top:3px; }
  .dl-site-card.is-mq .dl-site-arrow{ color:#c27a12; }
  .dl-mq-badge{ display:inline-flex; align-items:center; gap:4px; vertical-align:middle; margin-inline-start:6px; font-size:11px; font-weight:800; line-height:1; padding:4px 7px 4px 8px; border-radius:6px; color:#9a5b00; background:#fdf1de; border:1px solid rgba(242,165,60,.45); white-space:nowrap; }
  .dl-mq-badge svg{ width:12px; height:12px; flex:none; }
  html.arw-dark .dl-site-card.is-mq{ background:linear-gradient(rgba(244,179,82,.06), rgba(244,179,82,.06)), var(--bg); border-color:rgba(244,179,82,.38); }
  html.arw-dark .dl-site-card.is-mq:hover{ border-color:rgba(244,179,82,.7); }
  html.arw-dark .dl-site-card.is-mq .dl-site-arrow{ color:#f4b352; }
  /* a premium member's own download links (assets/post-player.js addDownloads): name over its line, in the premium gold */
  .dl-site-card.is-prem{ order:-2; background:linear-gradient(rgba(242,165,60,.08), rgba(242,165,60,.08)), var(--bg); border:1.5px solid rgba(242,165,60,.55); }
  .dl-site-card.is-prem:hover{ border-color:var(--gold); background:linear-gradient(rgba(242,165,60,.14), rgba(242,165,60,.14)), var(--bg); }
  .dl-site-card.is-prem .dl-site-name{ display:block; }
  .dl-site-card.is-prem .dl-site-quality{ display:block; margin-top:3px; color:#a86400; }
  .dl-site-card.is-prem .dl-site-arrow{ color:#c27a12; }
  html.arw-dark .dl-site-card.is-prem{ background:linear-gradient(rgba(244,179,82,.07), rgba(244,179,82,.07)), var(--bg); border-color:rgba(244,179,82,.4); }
  html.arw-dark .dl-site-card.is-prem .dl-site-quality, html.arw-dark .dl-site-card.is-prem .dl-site-arrow{ color:#f4b352; }
  html.arw-dark .dl-mq-badge{ color:#f6c46f; background:rgba(244,179,82,.12); border-color:rgba(244,179,82,.35); }
  .dl-site-arrow{ width:18px; height:18px; color:var(--teal); flex-shrink:0; transition:transform 0.25s ease; }
  .dl-site-card:hover .dl-site-arrow{ transform:translateX(3px); }
  html.arw-dark .dl-site-card:hover .dl-site-arrow{ transform:translateX(-3px); }
  body.dl-modal-lock{ overflow:hidden; }
  .post-body{ font-size:16px; line-height:1.9; color:var(--ink); }
  .post-body p{ margin-bottom:18px; }
  .post-body hr{ border:none; border-top:1px dashed var(--line); margin:24px 0; }
  .post-body img{ max-width:100%; border-radius:12px; margin:16px 0; box-shadow:0 8px 20px -8px rgba(0,0,0,0.2); }
  /* the source's own pictures, under the story (INCIDENTS #359) */
  .post-gallery img{ display:block; height:auto; max-height:80vh; margin:16px auto; }
  
  /* Social Media Auto-Embeds - Instant Reservation & Zero Layout Shift */
  .post-body .social-embed-box {
    display: block;
    width: 100%;
    max-width: 550px;
    margin: 32px auto;
    clear: both;
    position: relative;
    box-sizing: border-box;
  }
  
  .post-body .social-embed-box.embed-instagram {
    min-height: 560px;
  }
  .post-body .social-embed-box.embed-twitter {
    min-height: 280px;
  }
  .post-body .social-embed-box.embed-tiktok {
    min-height: 480px;
  }
  .post-body .social-embed-box.embed-reddit {
    min-height: 260px;
  }
  .post-body .social-embed-box.embed-facebook {
    min-height: 420px;
    max-width: 580px;
    margin: 36px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .post-body .fb-post,
  .post-body .fb-post span,
  .post-body .fb-post iframe,
  .post-body .fb-video,
  .post-body .fb-video span,
  .post-body .fb-video iframe {
    margin: 0 auto !important;
    display: block !important;
  }
  .post-body .fb-post {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .post-body .fb-post > span {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  /* Polished Skeleton Card - Keeps exact space reserved from 0ms */
  .embed-skeleton-card {
    width: 100%;
    min-height: inherit;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 4px 16px -6px rgba(0,0,0,0.06);
    overflow: hidden;
  }

  .embed-skeleton-card.instagram-skeleton {
    min-height: 540px;
  }

  .embed-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 149, 148, 0.08);
    color: var(--teal);
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
  }
  .instagram-skeleton .embed-platform-badge {
    background: rgba(225, 48, 108, 0.09);
    color: #e1306c;
  }

  .embed-skeleton-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    z-index: 2;
  }

  .embed-skeleton-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    z-index: 2;
    transition: opacity 0.2s ease;
  }
  .embed-skeleton-link a:hover {
    text-decoration: underline;
    opacity: 0.85;
  }

  .embed-skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, transparent, rgba(14,149,148,0.05), transparent);
    background-size: 200% 100%;
    animation: arw-embed-shimmer 1.8s infinite linear;
    pointer-events: none;
  }
  .instagram-skeleton .embed-skeleton-shimmer {
    background: linear-gradient(-90deg, transparent, rgba(225,48,108,0.05), transparent);
    background-size: 200% 100%;
  }

  .facebook-skeleton .embed-skeleton-shimmer {
    background: linear-gradient(-90deg, transparent, rgba(24,119,242,0.06), transparent);
    background-size: 200% 100%;
  }

  @keyframes arw-embed-shimmer {
    0% { background-position: 300% 0; }
    100% { background-position: -100% 0; }
  }

  .post-body .twitter-tweet, .post-body .twitter-tweet-rendered {
    margin: 0 auto !important;
    max-width: 550px !important;
    width: 100% !important;
  }
  .post-body .instagram-media, .post-body .instagram-media-rendered {
    margin: 0 auto !important;
    max-width: 540px !important;
    width: 100% !important;
    border-radius: 12px !important;
  }
  .post-body .reddit-embed-bq {
    margin: 0 auto !important;
    max-width: 580px !important;
    width: 100% !important;
    min-height: 180px;
  }
  .post-body .fb-post, .post-body .fb-video {
    margin: 0 auto !important;
    max-width: 550px !important;
    width: 100% !important;
  }
  .post-body .tiktok-embed {
    margin: 0 auto !important;
    max-width: 480px !important;
    width: 100% !important;
    min-height: 340px;
  }

  /* ── ARW Reels Video Player ── */
  .arw-reel-card {
    max-width: 380px;
    margin: 28px auto 32px;
    background: linear-gradient(-180deg, #131722 0%, #0d0f15 100%);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(220, 38, 38, 0.15);
    text-align: center;
  }
  .arw-reel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .arw-reel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.25);
  }
  .arw-reel-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: arw-pulse 1.5s infinite;
  }
  @keyframes arw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
  }
  .arw-reel-hint {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
  }
  .arw-reel-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  .arw-reel-video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }

  .youtube-skeleton {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 1;
    border: none;
    border-radius: 0;
  }
  .youtube-skeleton .embed-platform-badge {
    background: rgba(255, 0, 0, 0.09);
    color: #ff0000;
  }
  .youtube-skeleton .embed-skeleton-shimmer {
    background: linear-gradient(-90deg, transparent, rgba(255,0,0,0.06), transparent);
    background-size: 200% 100%;
  }

  .post-body .embed-yt-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    padding-top: 56.25%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px auto;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.18);
  }
  .post-body .embed-yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    background: transparent;
  }

  /* YouTube: a thumbnail until clicked (INCIDENTS #142) */
  .post-body .yt-facade-btn { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:#000; cursor:pointer; z-index:2; }
  .post-body .yt-facade-btn img { width:100%; height:100%; object-fit:cover; display:block; opacity:.92; transition:opacity .2s; }
  .post-body .yt-facade-btn:hover img { opacity:1; }
  .post-body .yt-play { position:absolute; top:50%; right:50%; width:72px; height:50px; margin:-25px -36px 0 0; border-radius:14px; background:#ff0000; box-shadow:0 6px 20px rgba(0,0,0,.4); }
  .post-body .yt-play::after { content:''; position:absolute; top:50%; right:50%; margin:-11px -7px 0 0; border-style:solid; border-width:11px 18px 11px 0; border-color:transparent #fff transparent transparent; }
  .post-body .yt-facade-link { position:absolute; bottom:10px; left:10px; z-index:3; font-size:12px; font-weight:700; color:#fff; background:rgba(0,0,0,.6); padding:4px 10px; border-radius:999px; text-decoration:none; }
  .post-source{ margin-top:22px; font-size:13px; color:var(--muted); }
  .post-source a{ color:var(--teal); font-weight:700; text-decoration:none; }
  .post-source a:hover{ text-decoration:underline; }
  .post-tags{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
  .post-tags .tags-label{ font-weight:800; font-size:13.5px; color:var(--muted); }
  .tag-pill{ display:inline-flex; align-items:center; line-height:1; gap:6px; background:var(--card); border:1px solid var(--line); color:var(--teal); font-weight:700; font-size:13px; padding:6px 14px; border-radius:999px; text-decoration:none; transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1); }
  .tag-pill-plain{ cursor:default; }
  a.tag-pill:hover{ background:var(--teal); color:#fff; border-color:var(--teal); transform:translateY(-3px) scale(1.05); box-shadow:0 6px 16px rgba(14,149,148,0.3); }
  .tag-pill .count{ font-size:11px; background:var(--teal-soft); color:var(--teal); padding:2px 7px; border-radius:999px; transition:all 0.2s ease; }
  .tag-pill:hover .count{ background:rgba(255,255,255,0.25); color:#fff; }

  /* Episodes / Program Navigator */
  .episodes-nav{ margin-top:28px; padding:22px; background:var(--card); border:1px solid var(--line); border-radius:18px; }
  .episodes-nav-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
  .episodes-nav-head h3{ font-family:'Cairo',sans-serif; font-weight:900; font-size:16.5px; display:flex; align-items:center; gap:8px; color:var(--ink); }
  .episodes-nav-head h3 svg{ color:var(--gold); flex-shrink:0; }
  .episodes-count{ font-size:12px; font-weight:700; color:var(--teal); background:var(--teal-soft); padding:5px 13px; border-radius:999px; white-space:nowrap; }

  .episodes-search{ display:flex; align-items:center; gap:8px; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:9px 14px; margin-bottom:16px; transition:all .25s cubic-bezier(.16,1,.3,1); }
  .episodes-search:focus-within{ border-color:var(--violet); box-shadow:0 0 0 4px var(--violet-soft); }
  .episodes-search svg{ color:var(--muted); flex-shrink:0; }
  .episodes-search-input{ flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Tajawal',sans-serif; font-size:13.5px; color:var(--ink); }
  .episodes-search-input::placeholder{ color:var(--muted); }
  .episodes-search-clear{ display:none; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; border:none; background:var(--line); color:var(--muted); cursor:pointer; flex-shrink:0; transition:all .2s ease; }
  .episodes-search-clear:hover{ background:var(--coral); color:#fff; }
  .episodes-search-clear.show{ display:flex; }
  .episodes-no-results{ display:none; text-align:center; padding:18px 12px; color:var(--muted); font-size:13.5px; font-weight:600; }

  .season-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
  .season-tab{ font-family:'Tajawal',sans-serif; font-weight:700; font-size:13px; padding:8px 18px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--muted); cursor:pointer; transition:all .25s cubic-bezier(.34,1.56,.64,1); }
  .season-tab:hover{ border-color:var(--coral); color:var(--coral); transform:translateY(-2px); }
  .season-tab.active{ background:var(--coral); color:#fff; border-color:var(--coral); box-shadow:0 6px 16px rgba(255,111,89,.3); }

  .episode-strip{ display:flex; flex-wrap:wrap; gap:10px; }
  .ep-pill{ position:relative; display:inline-flex; align-items:center; justify-content:center; min-width:46px; height:46px; padding:0 10px; border-radius:13px; background:var(--bg); border:1px solid var(--line); color:var(--ink); font-family:'Cairo',sans-serif; font-weight:500; font-size:14.5px; text-decoration:none; transition:all .25s cubic-bezier(.34,1.56,.64,1); }
  .ep-pill:hover{ background:var(--violet-soft); border-color:var(--violet); color:var(--violet); transform:translateY(-3px) scale(1.06); box-shadow:0 8px 18px -6px rgba(124,110,232,.35); }
  .ep-pill.active{ background:var(--teal); border-color:var(--teal); color:#fff; font-weight:800; box-shadow:0 8px 18px -4px rgba(14,149,148,.4); }
  .ep-pill .ep-pill-num{ line-height:1; }
  .ep-pill.ep-pill-date{ font-size:12.5px; font-weight:500; letter-spacing:-.1px; padding:0 14px; white-space:nowrap; border-radius:999px; }
  .ep-pill.ep-pill-date.active{ font-weight:800; }

  .ep-nav-arrows{ display:flex; gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
  .ep-nav-btn{ flex:1; display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:14px; background:var(--bg); border:1px solid var(--line); color:var(--ink); text-decoration:none; font-weight:700; font-size:13.5px; transition:all .25s ease; min-width:0; }
  .ep-nav-btn svg{ flex-shrink:0; color:var(--violet); }
  .ep-nav-btn:hover{ border-color:var(--violet); background:var(--violet-soft); color:var(--violet); }
  .ep-nav-btn .ep-nav-text{ display:flex; flex-direction:column; gap:2px; min-width:0; overflow:hidden; }
  .ep-nav-btn .ep-nav-label{ font-size:10.5px; color:var(--muted); font-weight:600; }
  .ep-nav-btn .ep-nav-title{ font-size:13px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ep-nav-btn.disabled{ opacity:.35; pointer-events:none; }
  .ep-nav-btn.ep-nav-next{ flex-direction:row-reverse; text-align:right; }
  @media (max-width:520px){ .ep-nav-arrows{ flex-direction:column; } }

  /* Mobile polish: تحويل شريط الدوائر والمواسم لسكرول أفقي ناعم بدل الالتفاف الغير منتظم (زي نتفليكس) */
  @media (max-width:640px){
    .episodes-nav{ padding:16px; border-radius:16px; margin-top:22px; }
    .episodes-nav-head{ gap:8px; margin-bottom:14px; }
    .episodes-nav-head h3{ font-size:15px; }
    .episodes-search{ padding:8px 12px; margin-bottom:14px; }
    .episodes-search-input{ font-size:13px; }
    .season-tabs{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x proximity; padding-bottom:2px; margin-bottom:14px; scrollbar-width:none; }
    .season-tabs::-webkit-scrollbar{ display:none; }
    .season-tab{ flex-shrink:0; scroll-snap-align:start; padding:7px 16px; font-size:12.5px; }
    .episode-strip{ flex-wrap:wrap; justify-content:flex-start; gap:8px; }
    .ep-pill{ min-width:42px; height:42px; font-size:13.5px; padding:0 8px; }
    .ep-pill.ep-pill-date{ font-size:12px; padding:0 12px; }
    .ep-nav-arrows{ margin-top:14px; padding-top:14px; }
    .ep-nav-btn{ padding:11px 14px; }
  }

  /* Scroll Reveal Smooth Motion */
  .reveal{ opacity:1; transform:none; }
.reveal.reveal-hidden{ opacity:0; transform:translate3d(0, 16px, 0); transition:none !important; will-change:opacity, transform; }
.reveal.is-visible{ opacity:1; transform:none; transition:opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); will-change:auto; }
@media (prefers-reduced-motion: reduce){ .reveal.reveal-hidden{ opacity:1 !important; transform:none !important; } }

  /* Related Content Section */
  .related-posts-section{ margin-top:36px; padding-top:28px; border-top:1px solid var(--line); }
  .related-posts-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
  .related-posts-title{ font-family:'Cairo',sans-serif; font-size:18px; font-weight:900; color:var(--ink); display:flex; align-items:center; gap:9px; margin:0; }
  .related-posts-title svg{ color:var(--teal); flex-shrink:0; }
  .related-posts-badge{ font-size:12px; font-weight:800; color:var(--teal); background:var(--teal-soft); padding:4px 14px; border-radius:999px; }
  .related-posts-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
  .related-card{ display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; text-decoration:none; color:var(--ink); transition:all .32s cubic-bezier(.34,1.56,.64,1); position:relative; box-shadow:0 4px 14px -8px rgba(0,0,0,0.08); }
  .related-card:hover{ transform:translateY(-6px); border-color:var(--teal); box-shadow:0 18px 32px -10px rgba(14,149,148,0.25); }
  .related-card-thumb{ position:relative; width:100%; aspect-ratio:16/9; background:#12161c; overflow:hidden; }
  .related-card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
  .related-card:hover .related-card-thumb img{ transform:scale(1.07); }
  .related-card-placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); font-weight:800; font-size:13px; background:linear-gradient(-135deg, rgba(14,149,148,0.1), rgba(255,111,89,0.1)); }
  .related-card-fed{ position:absolute; top:8px; left:8px; font-size:10.5px; font-weight:900; padding:3px 9px; border-radius:6px; background:rgba(0,0,0,0.75); backdrop-filter:blur(6px); color:#fff; text-transform:uppercase; letter-spacing:0.5px; z-index:2; }
  .related-card-fed.fed-wwe{ background:rgba(199,59,44,0.88); }
  .related-card-fed.fed-aew{ background:rgba(212,160,23,0.9); color:#000; }
  .related-card-fed.fed-tna{ background:rgba(138,95,224,0.88); }
  .related-card-fed.fed-roh{ background:rgba(44,102,199,0.88); }
  .related-card-fed.fed-mma{ background:rgba(224,122,44,0.88); }
  .related-play-icon{ position:absolute; top:50%; right:50%; transform:translate(50%,-50%) scale(0.85); width:36px; height:36px; border-radius:50%; background:rgba(14,149,148,0.9); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; transition:all .3s cubic-bezier(.34,1.56,.64,1); box-shadow:0 4px 14px rgba(0,0,0,0.3); z-index:2; }
  .related-play-icon svg{ margin-left:-2px; }
  .related-card:hover .related-play-icon{ opacity:1; transform:translate(50%,-50%) scale(1.1); }
  .related-card-info{ padding:14px; display:flex; flex-direction:column; flex:1; }
  .related-card-tags{ margin-bottom:8px; display:flex; align-items:center; }
  .related-card-kind{ display:inline-flex; align-items:center; font-weight:800; font-size:11px; padding:3px 10px; border-radius:999px; white-space:nowrap; flex-shrink:0; }
  .related-card-kind.kind-show{ background:rgba(14,149,148,0.12); color:var(--teal); }
  .related-card-kind.kind-recap{ background:rgba(255,111,89,0.12); color:var(--coral); }
  .related-card-kind.kind-news{ background:rgba(235,179,56,0.14); color:#b45309; }
  html.arw-dark .related-card-kind.kind-news{ color:var(--gold); }
  .related-card-title{ font-family:'Cairo',sans-serif; font-size:14px; font-weight:700; line-height:1.48; margin:0 0 12px; color:var(--ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1; transition:color .2s ease; }
  .related-card:hover .related-card-title{ color:var(--teal); }
  .related-card-foot{ display:flex; align-items:center; border-top:1px solid var(--line); padding-top:10px; margin-top:auto; font-size:11.5px; color:var(--muted); }
  .related-card-date{ display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-weight:600; }
  @media (max-width:960px){
    .related-posts-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  }
  @media (max-width:480px){
    .related-posts-title{ font-size:16px; }
    .related-card-info{ padding:11px; }
    .related-card-title{ font-size:13px; }
  }

  /* ===== Mobile Navigation: everything visible, wraps neatly, no scrolling ===== */
  @media (max-width:600px){
    header{ position:sticky; top:0; }
  }
  @media (max-width:1150px){
    .nav{ padding:14px 16px 16px; gap:12px; flex-wrap:wrap; justify-content:center; }
    .brand{ font-size:21px; flex-basis:auto; }
    .site-search{ order:2; flex-basis:100%; width:auto; max-width:none; min-width:0; }
    #navMenu{
      order:3; flex-basis:100%; width:100%;
      display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
      gap:8px 8px; padding-top:4px;
    }
    #navMenu li{ display:inline-flex; }
    #navMenu a.navlink{ font-size:14.5px; padding:9px 15px; }
    #navMenu .nav-dropdown{ display:inline-flex; }
    #navMenu .dropdown-menu{ display:none !important; } /* hover menus don't work on touch; tapping "الاتحادات" opens /federations/ directly */
    #navMenu li.utility-row{ display:flex; justify-content:center; flex-basis:100%; width:100%; }
    #navMenu li.utility-row .theme-toggle{ order:1; }
    #navMenu li.utility-row .support-btn{ order:2; }
    #navMenu li.utility-row .telegram-btn{ order:3; }
    #navMenu .theme-toggle, #navMenu .telegram-btn{ width:40px; height:40px; }
  }

  /* تموضع زر حفظ للمشاهدة: على اليسار بالديسكتوب وفي المنتصف التام بالموبايل */
  .post-bookmark-wrap {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
  }
  @media (max-width: 768px) {
    .post-meta-bar {
      position: relative;
      display: flex !important;
      justify-content: center !important;
      text-align: center !important;
      gap: 7px !important;
    }
    .post-bookmark-wrap {
      flex-basis: 100% !important;
      width: 100% !important;
      min-width: 100% !important;
      max-width: 100% !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      text-align: center !important;
      margin: 10px 0 2px 0 !important;
      order: 99 !important;
    }
    .post-bookmark-wrap .post-bookmark-btn {
      margin: 0 auto !important;
      display: inline-flex !important;
      justify-content: center !important;
      align-items: center !important;
      padding: 6px 20px !important;
      font-size: 13px !important;
      border-radius: 999px !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    }
  }

  /* ── Show page: the program's shows as cards (the show being watched, then the ones before it) ── */

  .sx-list{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px 14px; }
  .sx-card{ display:flex; flex-direction:column; min-width:0; color:var(--ink); text-decoration:none; }
  .sx-thumb{ position:relative; display:block; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#12161c; border:1px solid var(--line); transition:border-color .25s ease, transform .3s ease; }
  .sx-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
  .sx-thumb-empty{ position:absolute; inset:0; display:grid; place-items:center; color:var(--muted); font-weight:800; font-size:13px; }
  .sx-card:hover .sx-thumb{ border-color:var(--teal); }
  .sx-card:hover .sx-thumb img{ transform:scale(1.04); }
  .sx-body{ display:flex; flex-direction:column; padding:9px 2px 0; min-width:0; }
  .sx-date{ font-family:'Cairo',sans-serif; font-weight:800; font-size:15px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sx-meta{ font-size:12px; color:var(--muted); font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* a show with its own name: the name as it was added, up to two lines, the date under it */
  .sx-name{ font-family:'Cairo',sans-serif; font-weight:800; font-size:14px; line-height:1.45; overflow-wrap:anywhere; text-wrap:balance; }
  .sx-card.is-named .sx-meta{ margin-top:2px; }
  /* under a date: the show's English title, in full */
  .sx-meta-en{ white-space:normal; overflow-wrap:anywhere; line-height:1.45; margin-top:1px; }
  .sx-card.is-now .sx-name{ color:var(--teal); }
  .sx-card.is-now .sx-thumb{ border:2px solid var(--teal); }
  .sx-card.is-now .sx-date{ color:var(--teal); }
  .sx-now{ position:absolute; bottom:8px; left:8px; padding:3px 9px; border-radius:7px; font-size:11px; font-weight:800; color:var(--teal); background:rgba(13,15,19,.82); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }

  .sx-all{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:18px; padding:12px; border-radius:13px; border:1px solid var(--line); color:var(--ink); text-decoration:none; font-family:'Cairo',sans-serif; font-weight:800; font-size:14px; transition:border-color .25s ease, color .25s ease; }
  .sx-all:hover{ border-color:var(--teal); color:var(--teal); }
  .sx-all-n{ color:var(--muted); font-family:'Tajawal',sans-serif; font-weight:700; }

  /* phones: one swipeable row, the next card peeking in */
  @media (max-width:640px){
    .sx-list{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; margin-inline:-16px; padding:0 16px 4px; scroll-padding-inline:16px; scrollbar-width:none; }
    .sx-list::-webkit-scrollbar{ display:none; }
    .sx-card{ flex:0 0 68%; scroll-snap-align:start; }
          }
  @media (prefers-reduced-motion: reduce){ .sx-thumb img, .sx-thumb{ transition:none; } }

  /* ── Show / recap / nostalgia pages: the same header, organised (owner, 2026-10-07) ──
     The title on the cover at a reading size and the path on one line; under them one card holds the
     badges and the length, the full Arabic title, the English name and «حفظ للمشاهدة لاحقاً». */
  .hero h1.hero-title:not(.news-hero-title){ font-size:clamp(26px,2.6vw,34px) !important; line-height:1.45 !important; margin-bottom:0 !important; letter-spacing:0 !important; text-wrap:balance; max-width:900px; margin-inline:auto !important; }
  .hero h1.hero-title:not(.news-hero-title) .u{ font-size:.62em !important; margin-top:8px !important; }
  .post-wrap.is-watch .arw-crumbs{ flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
  .post-wrap.is-watch .arw-crumbs::-webkit-scrollbar{ display:none; }
  .post-wrap.is-watch .post-meta-bar{ justify-content:flex-start !important; align-items:center; gap:8px !important; margin-bottom:18px !important; padding:16px 20px !important; background:var(--card); border:1px solid var(--line); border-radius:18px; box-shadow:0 10px 24px -18px rgba(0,0,0,.4); text-align:left !important; }
  .post-wrap.is-watch .post-meta-bar h2.pm-title{ order:2; flex-basis:100%; margin:8px 0 0 !important; padding-inline-start:12px; border-inline-start:4px solid var(--gold); font:800 clamp(19px,1.8vw,23px)/1.6 'Cairo',sans-serif !important; color:var(--ink); text-align:left !important; text-wrap:balance; }
  .post-wrap.is-watch .post-ep-name{ order:3; flex-basis:100%; justify-content:flex-start; align-items:stretch !important; gap:10px; margin:0; padding:0 !important; background:none !important; border-radius:0 !important; color:var(--muted) !important; font:700 13px/1.35 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif !important; direction:rtl; text-align:right; }
  /* the gold bar before the English name, like the Arabic title's: drawn as its own shape, not a border (a «border»
     next to a colour variable didn't show in the owner's browser, 2026-10-07) */
  .post-wrap.is-watch .post-ep-name::before{ content:""; flex:0 0 4px; width:4px; min-height:1.1em; background:var(--gold); border-radius:1px; }
  .post-wrap.is-watch .post-bookmark-wrap{ order:1; margin-inline-start:auto !important; }
  .post-wrap.is-watch .post-bookmark-wrap .post-bookmark-btn{ height:38px; padding:0 18px !important; font-size:13.5px !important; border-radius:999px !important; }
  @media (max-width:768px){
    .post-layout .hero:has(h1.hero-title:not(.news-hero-title)){ padding:30px 16px 26px !important; }
    .hero h1.hero-title:not(.news-hero-title){ font-size:21px !important; line-height:1.5 !important; }
    .hero h1.hero-title:not(.news-hero-title) .u{ font-size:15px !important; margin-top:6px !important; }
    .post-wrap.is-watch .arw-crumbs{ font-size:12.5px; margin-bottom:12px; -webkit-mask-image:linear-gradient(to right, #000 84%, transparent); mask-image:linear-gradient(to right, #000 84%, transparent); }
    .post-wrap.is-watch .post-meta-bar{ padding:14px 14px 12px !important; margin-bottom:16px !important; }
    .post-wrap.is-watch .post-meta-bar h2.pm-title{ font-size:18px !important; line-height:1.65 !important; margin-top:6px !important; }
    .post-wrap.is-watch .post-ep-name{ font-size:12px !important; }
    /* the titles keep their size and wrap onto a second line when long — shrinking a long one to fit one line made it
       tiny («مباراة ستيفاني فاكير ضد ليف مورغان…», owner 2026-10-08) */
    .post-wrap.is-watch .post-meta-bar h2.pm-title{ padding-inline-start:10px; text-wrap:balance; overflow-wrap:anywhere; }
    .post-wrap.is-watch .post-ep-name{ line-height:1.5 !important; overflow-wrap:anywhere; }
    .post-wrap.is-watch .post-bookmark-wrap{ order:99 !important; margin:4px 0 0 !important; padding-top:12px; border-top:1px solid var(--line); }
    .post-wrap.is-watch .post-bookmark-wrap .post-bookmark-btn{ width:100%; height:40px; }
  }
  /* a phone held sideways hides the cover and this card; the title alone stays above the player */
  @media (orientation: landscape) and (max-height: 550px), (max-height: 500px){
    .post-wrap.is-watch .post-meta-bar{ display:block !important; padding:0 !important; margin:2px 0 6px !important; background:none; border:0; box-shadow:none; }
    .post-wrap.is-watch .post-meta-bar > :not(h2){ display:none !important; }
    .post-wrap.is-watch .post-meta-bar h2.pm-title{ margin:0 !important; padding:0; border:0; font-size:14.5px !important; line-height:1.3 !important; text-align:center !important; }
  }

/* A server's own fullscreen (post-player.js adds html.arw-fs): the page under it keeps no layer effects, which
   blacked out the video with only its sound playing (owner 2026-10-09) */
html.arw-fs body *:not(iframe):not(video){ transform:none !important; filter:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; will-change:auto !important; animation-play-state:paused !important; clip-path:none !important; -webkit-mask-image:none !important; mask-image:none !important; }
/* every box around the fullscreen player (post-player.js): no clipping, rounded mask, shadow, containment or fading —
   the rounded, clipped frame and the deck's container-type were left in place the first time and it came back */
html.arw-fs .arw-fs-path{ overflow:visible !important; border-radius:0 !important; box-shadow:none !important; contain:none !important; container-type:normal !important; isolation:auto !important; opacity:1 !important; transition:none !important; }
/* nothing else of the page is drawn while a player is fullscreen (still black in Chrome on a Mac, 2026-10-10): every
   element that is not the player or a box around it is hidden, and comes back when fullscreen ends */
html.arw-fs body *:not(.arw-fs-path):not(.arw-fs-el):not(.arw-fs-el *){ visibility:hidden !important; }
html.arw-fs .arw-fs-el{ visibility:visible !important; }
/* the player itself: a plain black full screen, nothing on it */
iframe:fullscreen, video:fullscreen{ border-radius:0 !important; transform:none !important; filter:none !important; opacity:1 !important; clip-path:none !important; background:#000 !important; }
iframe:-webkit-full-screen, video:-webkit-full-screen{ border-radius:0 !important; transform:none !important; filter:none !important; opacity:1 !important; background:#000 !important; }
/* once it is up, the player goes onto a fresh layer for two frames, so the browser draws it anew */
.arw-fs-nudge{ will-change:transform; }

/* The site's own fullscreen (post-player.js, «ملء الشاشة» and turning a phone/tablet sideways, owner 2026-10-10): the
   player box fills the screen with the video in it. Where the browser has real fullscreen for it, that is used; where
   it doesn't (iPhone) or on turning the device, the box fills the screen by itself (.arw-pfs), with an × to leave. */
html.arw-pfs-on, html.arw-pfs-on body{ overflow:hidden !important; }
.video-embed.arw-pfs{ position:fixed !important; inset:0 !important; width:100vw !important; height:100vh !important; height:100dvh !important; max-width:none !important; max-height:none !important; aspect-ratio:auto !important; padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; z-index:2147483000 !important; background:#000 !important; }
.video-embed.arw-pfs iframe, .video-embed.arw-pfs video{ position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; }
.pfs-exit{ display:none; }
.video-embed.arw-pfs .pfs-exit{ display:flex; position:absolute; top:calc(10px + env(safe-area-inset-top, 0px)); right:calc(10px + env(safe-area-inset-right, 0px)); z-index:10; width:40px; height:40px; border-radius:50%; border:0; padding:0; align-items:center; justify-content:center; background:rgba(0,0,0,.55); color:#fff; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.video-embed.arw-pfs .pfs-exit svg{ width:18px; height:18px; }
/* in the browser's own full screen the × shows on touch screens (no Esc key there); a computer leaves with Esc */
@media (pointer: coarse){
  .video-embed:fullscreen .pfs-exit{ display:flex; position:absolute; top:calc(10px + env(safe-area-inset-top, 0px)); right:calc(10px + env(safe-area-inset-right, 0px)); z-index:10; width:40px; height:40px; border-radius:50%; border:0; padding:0; align-items:center; justify-content:center; background:rgba(0,0,0,.55); color:#fff; cursor:pointer; }
  .video-embed:fullscreen .pfs-exit svg{ width:18px; height:18px; }
}

/* «عن العرض» (INCIDENTS #435): the show's facts in words, in the download card's style */
.show-about{ background:var(--card); border:1px solid var(--line); border-radius:18px; padding:22px; margin-top:28px; margin-bottom:28px; box-shadow:0 6px 20px -10px rgba(0,0,0,0.08); }
.show-about h2{ font-size:17px; line-height:1.5; margin:0 0 10px; }
.show-about p{ font-size:15px; line-height:1.9; color:var(--ink-2, var(--ink)); margin:0 0 14px; }
@media (max-width:640px){ .show-about{ padding:16px; border-radius:16px; margin-top:22px; } }
.show-facts{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin:0; }
@media (max-width:560px){ .show-facts{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
.show-facts > div{ background:var(--teal-soft); border-radius:12px; padding:10px 12px; min-width:0; }
.show-facts dt{ font-size:12px; color:var(--muted, #8e97a6); margin-bottom:3px; }
.show-facts dd{ margin:0; font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.show-results{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; text-decoration:none; color:inherit; transition:border-color .2s ease, transform .2s ease; }
.show-results:hover{ border-color:var(--teal); transform:translateY(-2px); }
.show-results span{ display:flex; flex-direction:column; gap:2px; }
.show-results b{ font-size:14px; }
.show-results small{ font-size:12px; color:var(--coral, #e0644f); }

/* ===== Visitors' comments (_includes/comments.njk, assets/comments.js) ===== */
.arw-comments{ margin-top:36px; padding-top:28px; border-top:1px solid var(--line); }
.arw-cm-form{ display:flex; flex-direction:column; gap:14px; padding:18px; border-radius:18px; background:var(--card); border:1px solid var(--line); }
.arw-cm-field{ display:flex; flex-direction:column; gap:7px; }
.arw-cm-label{ font-family:'Cairo',sans-serif; font-size:13px; font-weight:800; color:var(--ink); }
.arw-cm-name, .arw-cm-text{ width:100%; box-sizing:border-box; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:var(--bg); color:var(--ink); font:500 15px/1.7 'Tajawal',sans-serif; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; -webkit-appearance:none; appearance:none; }
.arw-cm-name{ height:46px; }
.arw-cm-who-row{ max-width:420px; }
.arw-cm-text{ min-height:118px; resize:vertical; }
.arw-cm-name::placeholder, .arw-cm-text::placeholder{ color:var(--muted); opacity:.8; }
.arw-cm-name:focus, .arw-cm-text:focus{ outline:none; border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-soft); background:var(--card); }
.arw-cm-form.is-wrong .arw-cm-name:invalid, .arw-cm-form.is-wrong .arw-cm-text:invalid{ border-color:var(--coral); box-shadow:0 0 0 3px var(--coral-soft); }
.arw-cm-hp{ position:absolute !important; width:1px; height:1px; opacity:0; pointer-events:none; inset-inline-start:-9999px; }
.arw-cm-foot{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.arw-cm-note{ flex:1 1 200px; font-size:12.5px; font-weight:600; color:var(--muted); display:inline-flex; align-items:center; gap:7px; }
.arw-cm-note.is-ok{ color:var(--teal); }
.arw-cm-note.is-bad{ color:var(--coral); }
.arw-cm-len{ font-size:12px; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums; direction:ltr; }
.arw-cm-len.is-near{ color:var(--coral); }
.arw-cm-send{ display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 22px; border:0; border-radius:12px; background:var(--teal); color:#fff; font:800 14.5px 'Cairo',sans-serif; cursor:pointer; transition:transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s ease, opacity .2s ease; }
.arw-cm-send:hover{ transform:translateY(-2px); box-shadow:0 10px 22px -10px rgba(14,149,148,.6); }
.arw-cm-send:disabled{ opacity:.6; cursor:default; transform:none; box-shadow:none; }
.arw-cm-send svg{ transform:scaleX(-1); }
.arw-cm-list{ display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.arw-cm-list:empty{ display:none; }
.arw-cm{ display:flex; gap:12px; padding:16px; border-radius:16px; background:var(--card); border:1px solid var(--line); }
.arw-cm-av{ flex:0 0 40px; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font:900 16px 'Cairo',sans-serif; color:#fff; background:var(--c, var(--teal)); overflow:hidden; }
.arw-cm-av img{ width:100%; height:100%; object-fit:cover; display:block; }
.arw-sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.arw-cm-who-row{ display:flex; align-items:flex-end; gap:12px; }
.arw-cm-name-field{ flex:1; min-width:0; }
.arw-cm-pick{ position:relative; flex:0 0 46px; width:46px; height:46px; padding:0; border-radius:50%; border:1px dashed var(--muted); background:var(--bg); color:var(--muted); cursor:pointer; transition:border-color .2s ease, color .2s ease, transform .2s cubic-bezier(0.16,1,0.3,1); }
.arw-cm-pick:hover, .arw-cm-pick[aria-expanded="true"]{ border-color:var(--teal); color:var(--teal); transform:scale(1.04); }
.arw-cm-pick.has-pic{ border:2px solid var(--teal); }
.arw-cm-pick-img{ position:absolute; inset:0; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.arw-cm-pick-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.arw-cm-pick-badge{ position:absolute; bottom:-2px; inset-inline-start:-2px; width:18px; height:18px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; border:2px solid var(--card); }
.arw-cm-picker[hidden]{ display:none; }
.arw-cm-picker{ padding:14px; border-radius:14px; border:1px solid var(--line); background:var(--bg); display:flex; flex-direction:column; gap:12px; }
.arw-cm-picker-top{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.arw-cm-upload{ position:relative; display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 14px; border-radius:10px; background:var(--teal); color:#fff; font:800 13px 'Cairo',sans-serif; cursor:pointer; }
.arw-cm-upload input{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.arw-cm-upload:focus-within{ outline:2px solid var(--teal); outline-offset:2px; }
.arw-cm-or{ font-size:13px; font-weight:700; color:var(--muted); }
.arw-cm-none{ margin-inline-start:auto; height:34px; padding:0 12px; border-radius:10px; border:1px solid var(--line); background:var(--card); color:var(--muted); font:700 12.5px 'Tajawal',sans-serif; cursor:pointer; }
.arw-cm-none:hover{ color:var(--coral); border-color:var(--coral); }
.arw-cm-feds{ display:flex; gap:6px; flex-wrap:wrap; }
.arw-cm-fed{ height:32px; padding:0 16px; border-radius:999px; border:1px solid var(--line); background:var(--card); color:var(--ink); font:900 12.5px 'Cairo',sans-serif; letter-spacing:.3px; cursor:pointer; }
.arw-cm-fed[hidden]{ display:none; }
.arw-cm-fed.is-on{ background:var(--ink); color:var(--card); border-color:var(--ink); }
.arw-cm-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(78px, 1fr)); gap:10px 8px; }
.arw-cm-star{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:4px 2px; border:0; background:none; cursor:pointer; color:var(--ink); }
.arw-cm-star img{ width:58px; height:58px; border-radius:50%; object-fit:cover; background:var(--line); border:2px solid transparent; transition:transform .2s cubic-bezier(0.16,1,0.3,1), border-color .2s ease; }
.arw-cm-star span{ font:700 11.5px/1.3 'Tajawal',sans-serif; text-align:center; }
.arw-cm-star:hover img{ transform:scale(1.07); }
.arw-cm-star[aria-selected="true"] img{ border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-soft); }
.arw-cm-body{ flex:1; min-width:0; }
.arw-cm-meta{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom:4px; }
.arw-cm-who{ font-family:'Cairo',sans-serif; font-size:14.5px; font-weight:800; color:var(--ink); overflow-wrap:anywhere; }
.arw-cm-when{ font-size:12px; font-weight:600; color:var(--muted); }
.arw-cm-pending{ font-size:11px; font-weight:800; color:#b45309; background:var(--gold-soft); padding:2px 9px; border-radius:999px; }
html.arw-dark .arw-cm-pending{ color:var(--gold); }
.arw-cm.is-reply{ margin-inline-start:40px; margin-top:-4px; position:relative; }
.arw-cm.is-reply::before{ content:""; position:absolute; inset-inline-start:-22px; top:-12px; width:14px; height:34px; border-inline-start:2px solid var(--line); border-bottom:2px solid var(--line); border-end-start-radius:12px; }
.arw-cm.is-official{ background:linear-gradient(0deg, var(--teal-soft), var(--teal-soft)), var(--card); border-color:color-mix(in srgb, var(--teal) 28%, var(--line)); }
.arw-cm.is-official .arw-cm-av{ background:#0e7d7c; }
.arw-cm-badge{ display:inline-flex; align-self:center; margin-inline-start:-4px; }
.arw-cm-badge svg{ display:block; }
.arw-cm-text-out{ margin:0; font-size:15px; line-height:1.85; color:var(--ink); white-space:pre-line; overflow-wrap:anywhere; }
/* the site's heart on a comment (owner 2026-10-14, as YouTube's): its picture with a small red heart */
.arw-cm-liked{ position:relative; display:inline-flex; margin-top:8px; width:22px; height:22px; cursor:default; }
.arw-cm-liked img{ width:22px; height:22px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1px var(--line); }
.arw-cm-liked svg{ position:absolute; bottom:-4px; right:-5px; width:13px; height:13px; }
/* a member of the site (owner 2026-10-14: accounts): «عضو» by their name; their name as their account has it */
.arw-cm-member{ display:inline-flex; align-items:center; }
.arw-cm-member svg{ width:16px; height:16px; }
.arw-cm-join{ display:inline-flex; align-items:center; gap:4px; }
.arw-cm-join svg{ width:14px; height:14px; flex:0 0 auto; }
.arw-cm-name.is-member{ background:var(--teal-soft); border-color:transparent; color:var(--ink); font-weight:800; cursor:default; }
.arw-cm-join{ font-size:12.5px; font-weight:800; color:var(--teal); text-decoration:none; white-space:nowrap; }
.arw-cm-join:hover{ text-decoration:underline; }
/* answering a comment (owner 2026-10-14: visitors answer each other, as on YouTube): «رد» under it, a small form */
.arw-cm-acts{ display:flex; align-items:center; gap:14px; margin-top:6px; }
.arw-cm-acts:empty{ display:none; }
.arw-cm-acts .arw-cm-liked{ margin-top:0; }
.arw-cm-reply-btn{ border:0; background:none; padding:4px 2px; font-family:inherit; font-weight:800; font-size:13px; line-height:1; color:var(--muted); cursor:pointer; border-radius:6px; }
.arw-cm-reply-btn:hover{ color:var(--teal); }
.arw-cm-to{ color:var(--teal); font-weight:800; }
.arw-cm-rform{ display:flex; flex-direction:column; gap:8px; margin:-4px 0 0; margin-inline-start:52px; padding:12px; border-radius:14px; background:var(--card); border:1px solid var(--teal); box-shadow:0 0 0 3px var(--teal-soft); }
.arw-cm-rform input, .arw-cm-rform textarea{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); font-family:inherit; font-weight:500; font-size:14.5px; line-height:1.7; padding:8px 12px; resize:vertical; }
.arw-cm-rform input:focus, .arw-cm-rform textarea:focus{ outline:none; border-color:var(--teal); }
.arw-cm-rbar{ display:flex; align-items:center; gap:8px; }
.arw-cm-rnote{ flex:1; min-width:0; font-size:12.5px; color:var(--muted); }
.arw-cm-rcancel, .arw-cm-rsend{ border:0; border-radius:999px; padding:8px 16px; font-family:inherit; font-weight:800; font-size:13.5px; line-height:1; cursor:pointer; }
.arw-cm-rcancel{ background:transparent; color:var(--muted); }
.arw-cm-rsend{ background:var(--teal); color:#fff; }
.arw-cm-rsend:disabled{ opacity:.6; cursor:default; }
/* the comment a notification opened, lit up for a moment */
.arw-cm.is-flash{ animation:arw-cm-flash 2.4s ease-out; }
@keyframes arw-cm-flash{ 0%,30%{ box-shadow:0 0 0 3px var(--teal); } 100%{ box-shadow:0 0 0 0 transparent; } }
/* «يوصلك إشعار لما حد يرد عليك؟» */
.arw-cm-alert{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; padding:12px 14px; border-radius:14px; background:var(--teal-soft); color:var(--ink); font-size:14px; font-weight:700; }
.arw-cm-alert-ic{ display:inline-flex; color:var(--teal); }
.arw-cm-alert-tx{ flex:1; min-width:160px; }
.arw-cm-alert-on, .arw-cm-alert-no{ border:0; border-radius:999px; padding:8px 14px; font-family:inherit; font-weight:800; font-size:13px; line-height:1; cursor:pointer; }
.arw-cm-alert-on{ background:var(--teal); color:#fff; }
.arw-cm-alert-no{ background:transparent; color:var(--muted); }
@media (max-width:640px){ .arw-cm-rform{ margin-inline-start:24px; } }
.arw-cm-empty{ margin:0; padding:22px 16px; border-radius:16px; border:1px dashed var(--line); text-align:center; font-size:14px; font-weight:600; color:var(--muted); }
.arw-cm-more{ align-self:center; height:40px; padding:0 20px; border-radius:12px; border:1px solid var(--line); background:var(--card); color:var(--ink); font:700 13.5px 'Tajawal',sans-serif; cursor:pointer; transition:border-color .2s ease, color .2s ease; }
.arw-cm-more:hover{ border-color:var(--teal); color:var(--teal); }
@media (max-width:560px){
  .arw-cm-form{ padding:14px; }
  .arw-cm-who-row{ max-width:none; }
  .arw-cm-foot{ gap:10px; }
  .arw-cm-note{ order:3; flex-basis:100%; }
  .arw-cm-send{ flex:1; }
  .arw-cm{ padding:13px; gap:10px; }
  .arw-cm-av{ flex-basis:36px; width:36px; height:36px; font-size:15px; }
  .arw-cm.is-reply{ margin-inline-start:24px; }
  .arw-cm.is-reply::before{ inset-inline-start:-16px; width:10px; }
  .arw-cm-grid{ grid-template-columns:repeat(4, 1fr); }
  .arw-cm-or{ flex-basis:100%; order:3; }
}

/* comments are the members' (owner 2026-10-14): a visitor sees how to join instead of the form */
.arw-cm-gate{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:18px 20px; border-radius:18px; background:var(--card); border:1px solid var(--line); box-shadow:0 10px 26px -20px rgba(0,0,0,.3); }
.arw-cm-gate.is-flash{ animation:arw-cm-flash 1.2s ease; }
@keyframes arw-cm-flash{ 0%,40%{ box-shadow:0 0 0 4px color-mix(in srgb, var(--teal) 35%, transparent); } }
.arw-cm-gate-ic{ width:46px; height:46px; border-radius:15px; display:flex; align-items:center; justify-content:center; background:var(--teal-soft); color:var(--teal); flex:none; }
.arw-cm-gate-ic svg{ width:22px; height:22px; }
.arw-cm-gate-tx{ flex:1 1 220px; min-width:0; }
.arw-cm-gate-tx b{ display:block; font:900 16px 'Cairo',sans-serif; color:var(--ink); }
.arw-cm-gate-tx p{ margin:2px 0 0; color:var(--muted); font-size:14px; }
.arw-cm-gate-btns{ display:flex; gap:8px; flex-wrap:wrap; }
.arw-cm-gate-btns a{ display:inline-flex; align-items:center; height:42px; padding:0 18px; border-radius:12px; font:800 14.5px 'Cairo',sans-serif; text-decoration:none; white-space:nowrap; }
.arw-cm-gate-join{ background:var(--teal); color:#fff; box-shadow:0 8px 18px -10px var(--teal); }
.arw-cm-gate-in{ border:1px solid var(--line); color:var(--ink); }
@media (max-width:560px){ .arw-cm-gate-btns{ width:100%; } .arw-cm-gate-btns a{ flex:1; justify-content:center; } }
/* «العضوية المميزة»: a golden name and the crown */
.arw-cm-who.is-prem{ background:linear-gradient(-135deg, #e09a12, #c77c00); -webkit-background-clip:text; background-clip:text; color:transparent; }
html.arw-dark .arw-cm-who.is-prem{ background-image:linear-gradient(-135deg, #ffd25a, #f2a53c); }
.arw-cm-prem{ display:inline-flex; align-items:center; gap:3px; padding:1px 8px; border-radius:999px; background:linear-gradient(-135deg, #ffd25a, #e09a12); color:#3b2600; font:900 11px 'Cairo',sans-serif; text-decoration:none; }
/* the site's own account's tools on the page */
.arw-cm-mod{ border:0; background:none; padding:2px 6px; border-radius:8px; color:var(--muted); font:700 12.5px 'Tajawal',sans-serif; cursor:pointer; }
.arw-cm-mod:hover{ background:color-mix(in srgb, var(--ink) 6%, transparent); color:var(--ink); }
.arw-cm-mod.is-del:hover{ color:var(--coral); }
