
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    
    :root {
      --accent: rgb(93, 201, 241);
      --accent-text: #000;
      --green: rgb(74, 222, 128);
      --green-bg: rgba(74, 222, 128, 0.15);
      --muted: rgba(255,255,255,0.5);
      --surface: rgba(255,255,255,0.08);
      --surface-hover: rgba(255,255,255,0.12);
      --btn-bg: rgba(255,255,255,0.08);
      --border: rgba(255,255,255,0.12);
      --menu: rgba(10,10,10,0.97);
      --navbar-h: 48px;
      --bottomnav-h: 54px;
      --sidebar-w: 200px;
      --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 0.75rem; --r-full: 9999px;
    }
    
    html, body {
      background: #000; color: #fff;
      font-family: 'Nunito Sans', sans-serif;
      min-height: 100dvh; overflow-x: hidden;
    }
    img { display: block; width: 100%; height: 100%; object-fit: cover; }
    a { color: inherit; text-decoration: none; }
    button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
    svg { flex-shrink: 0; }
    
    /* ── BG blur ── */
    .bg-blur {
      position: fixed; inset: 0; z-index: -30; pointer-events: none;
      background: url("https://s4.anilist.co/file/anilistcdn/media/anime/banner/154587-ivXNJ23SM1xB.jpg") center/cover;
      opacity: 0.1; filter: blur(40px);
      -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    }
    
    /* ── Navbar ── */
    .navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 20;
      height: var(--navbar-h);
      display: flex; align-items: center; justify-content: space-between;
      padding-inline: 8px;
      transition: background 0.3s, border-color 0.3s;
    }
    .navbar.scrolled { background: var(--menu); border-bottom: 1px solid rgba(255,255,255,0.07); }
    .nav-btn {
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px; padding: 8px;
      border-radius: var(--r-full); transition: background 0.2s;
    }
    .nav-btn:hover { background: var(--surface); }
    .nav-left { display: flex; align-items: center; gap: 8px; }
    .nav-right { display: flex; align-items: center; gap: 4px; }
    .breadcrumb { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
    .breadcrumb a { color: var(--muted); }
    .breadcrumb a:hover { color: #fff; }
    .btn-back { display: flex; }
    .btn-search { display: flex; }
    .btn-login  { display: none; }
    
    /* ── Bottom nav (mobile only) ── */
    .bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
      height: var(--bottomnav-h);
      background: var(--menu); border-top: 1px solid rgba(255,255,255,0.07);
      display: flex; align-items: center; justify-content: space-around;
    }
    .bottom-nav a {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 2px; flex: 1; height: 100%;
      color: var(--muted); font-size: 10px; font-weight: 500; transition: color 0.2s;
    }
    .bottom-nav a:hover { color: #fff; }
    
    /* ── Page ── */
    .page { padding-top: var(--navbar-h); padding-bottom: var(--bottomnav-h); min-height: 100dvh; }
    
    /* ── Page layout ── */
    .page-grid {
      display: flex; flex-direction: column; gap: 16px;
      max-width: 1024px; margin: 0 auto;
      padding: 8px 10px 24px;
    }
    
    /* ── Banner ── */
    .desktop-banner { display: none; }
    .banner-wrap {
      aspect-ratio: 16/4; overflow: hidden;
      border-radius: var(--r-xl); background: rgba(255,255,255,0.05);
      flex-shrink: 0;
    }
    
    /* ── Hero row ── */
    .hero { display: flex; align-items: flex-end; width: 100%; gap: 16px; }
    
    /* Cover */
    .cover-wrap {
      aspect-ratio: 2/3; height: 136px; flex-shrink: 0;
      border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,0.05);
    }
    
    /* Title block */
    .title-block {
      display: flex; flex-direction: column; font-weight: 500;
      justify-content: flex-end; gap: 12px; flex: 1;
    }
    
    /* ── Badges ── */
    .badge-green {
      display: inline-flex; align-items: center;
      padding: 4px 8px; border-radius: var(--r-md);
      font-size: 11px; font-weight: 500;
      background: var(--green-bg); color: var(--green);
    }
    .badge-accent {
      display: inline-flex; align-items: center;
      padding: 4px 8px; border-radius: var(--r-md);
      font-size: 11px; font-weight: 500; flex-shrink: 0;
      background: var(--accent); color: var(--accent-text);
    }
    .badge-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--accent); }
    
    /* ── Description ── */
    .description {
      font-size: 12px; color: var(--muted); font-weight: 300; line-height: 1.5;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    
    /* ── Actions ── */
    .actions {
      display: flex; align-items: center; gap: 10px;
      overflow-x: auto; scrollbar-width: none; width: 100%;
      padding-top: 1rem; padding-bottom: 1rem;
    }
    .actions::-webkit-scrollbar { display: none; }
    
    .btn-watch {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #fff; color: #000; font-weight: 600; font-size: 14px;
      height: 36px; width: 128px; border-radius: var(--r-full);
      flex-shrink: 0; transition: opacity 0.2s; white-space: nowrap;
    }
    .btn-watch:hover { opacity: 0.85; }
    
    .btn-icon {
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px; border-radius: var(--r-full);
      background: var(--surface); flex-shrink: 0; transition: background 0.2s;
    }
    .btn-icon:hover { background: var(--surface-hover); }
    .btn-anilist { background: rgba(2,169,255,0.15); }
    .btn-anilist:hover { background: rgba(2,169,255,0.3); }
    .btn-mal { background: rgba(46,81,162,0.2); }
    .btn-mal:hover { background: rgba(46,81,162,0.4); }
    
    
    
    /* ── Tabs bar ── */
    .tabs-bar {
      display: flex; overflow-x: auto; scrollbar-width: none;
      padding-inline: 10px;
      position: sticky; top: 0; z-index: 5;
      background: rgba(0,0,0,0.7); backdrop-filter: blur(12px);
    }
    .tabs-bar::-webkit-scrollbar { display: none; }
    .tab-btn {
      flex-shrink: 0; height: 44px; padding-inline: 16px;
      font-size: 14px; font-weight: 400; color: var(--muted);
      border-bottom: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s; white-space: nowrap;
    }
    .tab-btn:hover { color: #fff; }
    .tab-btn.active { color: #fff; border-bottom-color: #fff; }
    .tab-panel { display: none; flex-direction: column; }
    .tab-panel.active { display: flex; }
    
    /* ── Overview panel ── */
    .overview-content {
      display: flex; flex-direction: column; gap: 24px;
      padding: 16px 10px; min-height: 70svh; width: 100%;
    }
    .airing-banner {
      display: flex; align-items: center; justify-content: center;
      gap: 6px; white-space: nowrap; flex-wrap: nowrap;
      font-size: 12px; padding: 0 12px; border-radius: var(--r-xl);
      background: var(--surface); height: 36px; width: 100%;
      box-shadow: 0 0 0 1px rgba(74,222,128,0.2);
    }
    .airing-text { color: var(--green); }
    
    .stats-grid {
      display: flex; background: var(--surface); width: 100%;
      padding: 8px; border-radius: var(--r-xl);
      white-space: nowrap; text-align: center;
    }
    .stat-cell {
      display: flex; flex: 1; align-items: center; justify-content: center;
      flex-direction: column; gap: 4px; padding: 8px;
    }
    .stat-label { font-size: 11px; color: var(--muted); }
    .stat-value { display: flex; font-weight: 600; font-size: 15px; }
    
    .info-card {
      display: flex; flex-direction: column; gap: 10px;
      background: var(--surface); width: 100%;
      padding: 12px; border-radius: var(--r-xl);
    }
    .info-row { display: flex; gap: 8px; width: 100%; justify-content: space-between; font-size: 13px; }
    .info-row .lbl { color: var(--muted); font-weight: 500; }
    .info-row .val { text-align: right; }
    .val-green { color: var(--green); }
    
    .section-title { font-weight: 600; font-size: 18px; }
    .section-header { display: flex; align-items: center; justify-content: space-between; width: 100%; }
    
    .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
      display: inline-flex; padding: 4px 12px; border-radius: var(--r-full);
      font-size: 11px; font-weight: 500; color: var(--muted);
      background: var(--btn-bg); box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
    }
    
    /* ── Episode section ── */
    .ep-controls {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 10px 4px; gap: 8px;
    }
    .ep-count-badge {
      display: flex; align-items: center;
      padding: 0 10px; height: 32px; background: var(--surface);
      border-radius: var(--r-md); font-size: 12px; color: var(--muted); font-weight: 500;
    }
    .ep-nav { display: flex; align-items: center; gap: 4px; }
    .ep-nav-btn {
      display: flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; background: var(--surface);
      border-radius: var(--r-md); color: var(--muted); transition: color 0.2s;
    }
    .ep-nav-btn:not(:disabled):hover { color: #fff; }
    .ep-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
    .ep-nav-page {
      padding: 0 10px; height: 32px; background: var(--surface);
      border-radius: var(--r-md); font-size: 13px; color: var(--muted);
      display: flex; align-items: center;
    }
    
    /* Episode list — single responsive grid */
    .ep-list {
      display: grid; grid-template-columns: 1fr;
      gap: 12px; width: 100%; padding: 8px 10px 16px;
    }
    
    /* Mobile card (default) */
    .ep-card {
      display: flex; width: 100%; height: 80px;
      gap: 2px; overflow: hidden;
      text-decoration: none; color: inherit;
      background: var(--surface);
      box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
      border-radius: var(--r-xl); transition: background 0.15s;
      position: relative;
    }
    .ep-card:hover { background: var(--surface-hover); }
    .ep-card-thumb {
      height: 100%; aspect-ratio: 16/10; flex-shrink: 0;
      border-radius: var(--r-xl); overflow: hidden;
      background: rgba(255,255,255,0.05); position: relative;
    }
    .ep-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .ep-card-num {
      position: absolute; bottom: 4px; left: 6px;
      font-size: 11px; font-weight: 600;
      padding: 4px 8px; border-radius: var(--r-lg);
      background: var(--menu);
    }
    .ep-card-info {
      display: flex; flex-direction: column; gap: 2px;
      flex: 1; padding: 8px 12px 8px 4px; min-width: 0;
      justify-content: center;
    }
    .ep-card-title {
      width: 100%; font-size: 13px; font-weight: 500; line-height: 1.3;
      display: -webkit-box; -webkit-line-clamp: 1;
      -webkit-box-orient: vertical; overflow: hidden;
    }
    .ep-card-desc {
      width: 100%; font-size: 11px; color: var(--muted); line-height: 1.4;
      display: -webkit-box; -webkit-line-clamp: 3;
      -webkit-box-orient: vertical; overflow: hidden; margin: auto 0;
    }
    /* Desktop thumbnail overlay (hidden on mobile) */
    .ep-thumb-play { display: none; }
    .ep-badge { display: none; }
    .ep-progress { display: none; }
    
    /* ── Characters ── */
    .char-grid {
      display: grid; grid-template-columns: 1fr;
      gap: 8px; padding: 16px 10px;
    }
    .char-card {
      display: flex; width: 100%; align-items: stretch;
      height: 80px; overflow: hidden;
      background: rgba(255,255,255,0.07);
      border-radius: var(--r-xl);
      transition: background 0.2s; cursor: pointer;
    }
    .char-card:hover { background: rgba(255,255,255,0.11); }
    .char-img {
      width: 80px; flex-shrink: 0;
      border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden;
      background: rgba(255,255,255,0.05);
    }
    .char-img img { width: 100%; height: 100%; object-fit: cover; }
    .char-info {
      display: flex; flex-direction: column; justify-content: center;
      gap: 4px; padding: 8px 12px; flex: 1; min-width: 0;
    }
    .char-name { font-size: 14px; font-weight: 500; line-height: 1.2; }
    .char-role { font-size: 11px; color: var(--muted); font-weight: 500; }
    .char-va-info {
      display: flex; flex-direction: column; align-items: flex-end;
      justify-content: center; gap: 4px; padding: 8px 12px; min-width: 0;
    }
    .char-va-name {
      font-size: 14px; font-weight: 500; line-height: 1.2; text-align: right;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .char-va-lang { font-size: 11px; color: var(--muted); text-align: right; }
    .char-va-img {
      width: 80px; flex-shrink: 0;
      border-radius: 0 var(--r-xl) var(--r-xl) 0; overflow: hidden;
      background: rgba(255,255,255,0.05);
    }
    .char-va-img img { width: 100%; height: 100%; object-fit: cover; }
    
    /* ── Staff ── */
    .staff-section { padding: 0 10px 24px; display: flex; flex-direction: column; gap: 12px; }
    .staff-scroll { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 8px; scrollbar-width: none; }
    .staff-scroll::-webkit-scrollbar { display: none; }
    .staff-card { display: flex; flex-direction: column; gap: 6px; width: 100px; flex-shrink: 0; }
    .staff-img { aspect-ratio: 2/3; width: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
    .staff-img img { width: 100%; height: 100%; object-fit: cover; }
    .staff-info { display: flex; flex-direction: column; gap: 2px; }
    .staff-role { font-size: 10px; color: var(--muted); line-height: 1.3; }
    .staff-name {
      font-size: 12px; font-weight: 500; line-height: 1.3;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    
    /* ── Related / More Like This (single unified card) ── */
    .related-filters {
      display: flex; gap: 8px; flex-wrap: wrap;
      padding: 16px 10px 8px;
    }
    .rel-filter-btn {
      padding: 6px 14px; border-radius: var(--r-full);
      font-size: 12px; font-weight: 600; cursor: pointer;
      background: var(--surface); color: var(--muted);
      box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
      transition: background 0.2s, color 0.2s;
    }
    .rel-filter-btn:hover { background: var(--surface-hover); color: #fff; }
    .rel-filter-btn.active { background: #fff; color: #000; box-shadow: none; }
    
    /* Single card grid — switches layout at breakpoints */
    .media-grid {
      display: grid; grid-template-columns: 1fr;
      gap: 8px; padding: 8px 10px 24px;
    }
    
    /* Mobile: horizontal row card */
    .media-card {
      display: flex; width: 100%; gap: 4px;
      height: 88px; overflow: hidden;
      background: rgba(255,255,255,0.1);
      box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
      border-radius: var(--r-xl);
      text-decoration: none; color: inherit;
      transition: background 0.15s;
    }
    .media-card:hover { background: rgba(255,255,255,0.15); }
    .media-card-thumb {
      height: 100%; aspect-ratio: 1/1.4;
      flex-shrink: 0; border-radius: var(--r-xl);
      overflow: hidden; background: rgba(255,255,255,0.05);
    }
    .media-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .media-card-info {
      display: flex; flex-direction: column;
      padding: 8px; justify-content: space-around;
      flex: 1; min-width: 0;
    }
    .media-card-type {
      font-size: 10px; line-height: 1.2;
      color: var(--muted); font-weight: 400;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .media-card-title {
      font-size: 14px; font-weight: 500; line-height: 1.3;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .media-card-meta {
      display: flex; align-items: center;
      gap: 12px; font-size: 10px; color: var(--muted);
    }
    
    /* ── Trailer Modal ── */
    .trailer-overlay {
      position: fixed; inset: 0; z-index: 100;
      background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.25s;
    }
    .trailer-overlay.open { opacity: 1; pointer-events: all; }
    .trailer-modal {
      position: relative; width: 90vw; max-width: 860px;
      aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
      background: #000; box-shadow: 0 24px 80px rgba(0,0,0,0.8);
      transform: scale(0.95); transition: transform 0.25s;
    }
    .trailer-overlay.open .trailer-modal { transform: scale(1); }
    .trailer-modal iframe { width: 100%; height: 100%; border: none; display: block; }
    .trailer-close {
      position: absolute; top: 12px; right: 12px; z-index: 10;
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; border: none; color: #fff;
      transition: background 0.2s;
    }
    .trailer-close:hover { background: rgba(255,255,255,0.15); }
    .tabs-bar {padding-bottom: 1rem;}
    /* ════════════════════════════════════════
       DESKTOP ≥ 1024px
    ════════════════════════════════════════ */
    @media (min-width: 1024px) {
         #hero-cover { display: none; }
         .tabs-bar {padding-bottom: 0rem;}
         .tab-panel{margin-top: -14px;}
      /* Navbar */
      .navbar { padding-inline: 22px; }
      .btn-back { display: none; }
      .btn-search { display: none; }
      .btn-login { display: flex; }
      .breadcrumb { display: flex; }
    
      /* Bottom nav hidden */
      .bottom-nav { display: none; }
    
      /* Page */
      .page { padding-bottom: 0; position: relative; }
    
      /* Banner becomes full-bleed hero behind content */
      .banner-wrap { display: none; }
      .desktop-banner {
        display: block; position: absolute;
        top: 0; left: 0; right: 0; height: 420px;
        overflow: hidden; z-index: 0;
      }
      .desktop-banner img { opacity: 0.55; }
      .desktop-banner-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 65%, #000 100%);
      }
    
      /* Page grid → sidebar + main layout */
      .page-grid {
        max-width: 1400px; flex-direction: row; align-items: flex-start;
        gap: 32px; padding: 180px 40px 60px;
        position: relative; z-index: 1; margin: 0 auto;
      }
    
      /* Sidebar */
      .sidebar {
        width: var(--sidebar-w); flex-shrink: 0;
        display: flex; flex-direction: column; gap: 16px;
      }
    
      /* Cover becomes sidebar element */
      .cover-wrap {
        width: 100%; height: auto; aspect-ratio: 2/3;
        border-radius: var(--r-xl);
        box-shadow: 0 8px 32px rgba(0,0,0,0.7);
      }
    
      /* Main column */
      .main-col { flex: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
    
      /* Hero unwraps on desktop */
      .hero { display: contents; }
      .title-block { padding-bottom: 0; gap: 16px; justify-content: flex-start; }
    
      /* Actions inline in title-block on desktop */
      .actions { padding-top: 0; padding-bottom: 0; }
    
      .btn-watch { height: 40px; width: auto; padding-inline: 28px; }
      .btn-icon  { width: 40px; height: 40px; }
    
      /* Description — full text on desktop */
      .description { -webkit-line-clamp: unset; font-size: 13px; }
    
      /* Hide overview tab on desktop (info lives in sidebar) */
      .tab-overview-btn { display: none; }
      #panel-overview { display: none !important; }
    
      /* Sidebar meta */
      .sidebar-meta { display: flex; flex-direction: column; gap: 16px; font-size: 13px; }
      .sidebar-meta-row { display: flex; flex-direction: column; gap: 4px; }
      .sidebar-meta-row .label { font-weight: 700; }
      .trailer-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        height: 32px; background: var(--surface); border-radius: var(--r-full);
        font-size: 12px; font-weight: 600; transition: background 0.2s; width: 100%;
      }
      .trailer-btn:hover { background: var(--surface-hover); }
    
      /* Episode grid — switch to thumbnail grid on desktop */
      .ep-list { grid-template-columns: repeat(3, 1fr); gap: 0; padding: 4px; }
      .ep-card {
        flex-direction: column; height: auto;
        background: transparent; box-shadow: none; border-radius: var(--r-xl);
        padding: 8px 10px;
      }
      .ep-card:hover { background: var(--surface); }
      .ep-card-thumb {
        height: auto; aspect-ratio: 16/9; width: 100%;
        border-radius: var(--r-lg);
      }
      .ep-card-thumb img { transition: transform 0.3s ease, filter 0.3s ease; }
      .ep-card:hover .ep-card-thumb img { transform: scale(1.06); filter: brightness(0.7); }
      .ep-thumb-play {
        display: flex; position: absolute; inset: 0;
        align-items: center; justify-content: center;
        opacity: 0; transition: opacity 0.2s;
      }
      .ep-card:hover .ep-thumb-play { opacity: 1; }
      .ep-badge {
        display: flex; position: absolute;
        padding: 2px 6px; border-radius: 4px;
        background: rgba(0,0,0,0.78); font-size: 10px; font-weight: 600;
      }
      .ep-badge-left { bottom: 6px; left: 6px; }
      .ep-badge-right { bottom: 6px; right: 6px; align-items: center; gap: 3px; }
      .ep-progress {
        display: block; position: absolute; bottom: 0; left: 0;
        height: 3px; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); max-width: 100%;
      }
      .ep-card-info { padding: 6px 2px 2px; }
      .ep-card-title {
        font-size: 12px; line-height: 1.4;
        -webkit-line-clamp: 2;
      }
      .ep-card-desc { display: none; }
      .ep-card-num { font-size: 10px; }
    
      /* Characters */
      .char-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 4px; }
      .staff-section { padding: 0 4px 24px; }
    
      /* Related / More like this — vertical cover cards on desktop */
      .media-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0; padding: 8px 4px 24px;
      }
      .media-card {
        flex-direction: column; height: auto;
        background: transparent; box-shadow: none;
        padding: 8px 10px; border-radius: var(--r-xl);
        gap: 8px;
      }
      .media-card:hover { background: var(--surface); }
      .media-card-thumb {
        height: auto; aspect-ratio: 2/3; width: 100%;
        border-radius: var(--r-xl); position: relative;
      }
      .media-card-type {
        position: absolute; top: 8px; left: 8px;
        padding: 3px 8px; border-radius: var(--r-md);
        background: rgba(0,0,0,0.75); font-size: 10px; font-weight: 700;
        letter-spacing: 0.04em; white-space: nowrap;
        overflow: visible; text-overflow: unset;
      }
      .media-card-info { padding: 0; justify-content: flex-start; gap: 4px; }
      .media-card-title {
        font-size: 13px; line-height: 1.35;
        white-space: normal;
        display: -webkit-box; -webkit-line-clamp: 2;
        -webkit-box-orient: vertical; overflow: hidden;
      }
      .media-card-meta { font-size: 11px; justify-content: space-between; }
    }
    
    @media (min-width: 1280px) {
      .ep-list { grid-template-columns: repeat(4, 1fr); }
      .media-grid { grid-template-columns: repeat(5, 1fr); }
      .page-grid { padding-inline: 60px; }
    }
    @media (min-width: 1536px) {
      .ep-list { grid-template-columns: repeat(5, 1fr); }
    }
    
    /* Sidebar hidden by default on mobile */
    .sidebar { display: none; }
    @media (min-width: 1024px) { .sidebar { display: flex; } }
    
    body { direction: rtl; }
    
    
    @keyframes ep-click {
    0%   { transform: scale(1);    brightness(1); }
    50%  { transform: scale(0.96); filter: brightness(1.4); }
    100% { transform: scale(0.96); filter: brightness(1.4); opacity: 0.5; }
    }
    .clicking {
    animation: ep-click 0.18s ease forwards;
    pointer-events: none;
    }
    
    .t-cursor { cursor: pointer; }
    