/* roulang page: index */
:root {
      --primary: #2563EB;
      --primary-hover: #1D4ED8;
      --accent: #6366F1;
      --gold: #F59E0B;
      --bg-canvas: #F8FAFC;
      --bg-surface: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #475569;
      --border-subtle: #E2E8F0;
      --radius-card: 16px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 14px 30px -4px rgba(37, 99, 235, 0.12);
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-canvas);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    button, input {
      font-family: inherit;
      outline: none;
    }
    button:active {
      transform: scale(0.98);
    }
    .poster-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background-color: #f1f5f9;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      box-shadow: var(--shadow-sm);
    }
    .poster-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .poster-aspect {
      aspect-ratio: 2 / 3;
      object-fit: cover;
      width: 100%;
      height: 100%;
      display: block;
    }
    .badge-resolution {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(6px);
      color: #F59E0B;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }
    .badge-rate {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(37, 99, 235, 0.85);
      color: #ffffff;
      font-size: 12px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
    }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .poster-card:hover .play-overlay {
      opacity: 1;
    }
    .hero-search-shadow {
      box-shadow: 0 10px 35px -5px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
    }
    .custom-scrollbar::-webkit-scrollbar {
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 9999px;
    }

/* roulang page: category1 */
:root {
      --primary: #2563EB;
      --primary-hover: #1D4ED8;
      --accent: #6366F1;
      --gold: #F59E0B;
      --bg-canvas: #F8FAFC;
      --bg-surface: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #475569;
      --border-subtle: #E2E8F0;
      --radius-card: 16px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 14px 30px -4px rgba(37, 99, 235, 0.12);
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-canvas);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    button, input {
      font-family: inherit;
      outline: none;
    }
    button:active {
      transform: scale(0.98);
    }
    .poster-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background-color: #f1f5f9;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      box-shadow: var(--shadow-sm);
    }
    .poster-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .badge-resolution {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(6px);
      color: #F59E0B;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      border: 1px solid rgba(245, 158, 11, 0.3);
      z-index: 10;
    }
    .badge-rate {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(37, 99, 235, 0.85);
      color: #ffffff;
      font-size: 12px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
      z-index: 10;
    }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.25s ease;
      z-index: 5;
    }
    .poster-card:hover .play-overlay {
      opacity: 1;
    }
    .filter-pill {
      font-size: 0.8125rem;
      padding: 0.375rem 0.875rem;
      border-radius: 9999px;
      color: #475569;
      background-color: #f1f5f9;
      transition: all 0.2s ease;
    }
    .filter-pill:hover {
      background-color: #e2e8f0;
      color: #0f172a;
    }
    .filter-pill.active {
      background-color: var(--primary);
      color: #ffffff;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    }
    .contrast-bar {
      background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
    }

/* roulang page: category2 */
:root {
      --primary: #2563EB;
      --primary-hover: #1D4ED8;
      --accent: #6366F1;
      --gold: #F59E0B;
      --bg-canvas: #F8FAFC;
      --bg-surface: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #475569;
      --border-subtle: #E2E8F0;
      --radius-card: 16px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 14px 30px -4px rgba(37, 99, 235, 0.12);
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-canvas);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    button, input {
      font-family: inherit;
      outline: none;
    }
    button:active {
      transform: scale(0.98);
    }
    .poster-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background-color: #f1f5f9;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      box-shadow: var(--shadow-sm);
    }
    .poster-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .badge-resolution {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(6px);
      color: #F59E0B;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      border: 1px solid rgba(245, 158, 11, 0.3);
      z-index: 10;
    }
    .badge-update-status {
      position: absolute;
      bottom: 10px;
      left: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(4px);
      color: #ffffff;
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 10;
    }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      backdrop-filter: blur(2px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.25s ease;
      z-index: 5;
    }
    .poster-card:hover .play-overlay {
      opacity: 1;
    }
    .filter-pill.active {
      background-color: #2563EB;
      color: #FFFFFF;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    }
    .calendar-tab.active {
      background-color: #FFFFFF;
      color: #2563EB;
      border-bottom: 2px solid #2563EB;
      font-weight: 700;
    }

/* roulang page: category3 */
:root {
      --primary: #2563EB;
      --primary-hover: #1D4ED8;
      --accent: #6366F1;
      --gold: #F59E0B;
      --bg-canvas: #F8FAFC;
      --bg-surface: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #475569;
      --border-subtle: #E2E8F0;
      --radius-card: 16px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 14px 30px -4px rgba(37, 99, 235, 0.12);
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-canvas);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    button, input {
      font-family: inherit;
      outline: none;
    }
    button:active {
      transform: scale(0.98);
    }
    .poster-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background-color: #f1f5f9;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      box-shadow: var(--shadow-sm);
    }
    .poster-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .badge-resolution {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(6px);
      color: #F59E0B;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      border: 1px solid rgba(245, 158, 11, 0.3);
      z-index: 2;
    }
    .badge-rate {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(37, 99, 235, 0.85);
      color: #ffffff;
      font-size: 12px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
      z-index: 2;
    }
    .badge-ep {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.8);
      color: #f8fafc;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 4px;
      z-index: 2;
    }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.25s ease;
      z-index: 3;
    }
    .poster-card:hover .play-overlay {
      opacity: 1;
    }
