@charset "UTF-8";
/* ============================================================
   THEME.CSS — Light Theme
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES / VARIABLES
   ============================================================ */
:root {
  /* Backgrounds — Light */
  --pm-bg: #f5f7fa;
  --pm-surface: #ffffff;
  --pm-card: #ffffff;
  --pm-elevated: #f0f2f5;
  --pm-hover: #e8eaed;

  /* Accent — Blue (kept) */
  --pm-accent: #0a84d2;
  --pm-accent-bright: #0a84d2;
  --pm-accent-glow: rgba(10, 132, 210, 0.18);
  --pm-accent-subtle: rgba(10, 132, 210, 0.07);
  --pm-accent-border: rgba(10, 132, 210, 0.25);

  /* Text */
  --pm-text: #1a1a2e;
  --pm-text-secondary: #1a1a2e;
  --pm-text-muted: #374151;

  /* Borders */
  --pm-border: #e5e7eb;
  --pm-border-subtle: #f3f4f6;

  /* Radius */
  --pm-radius-sm: 4px;
  --pm-radius: 6px;

  /* Shadows */
  --pm-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --pm-glow: 0 4px 16px rgba(10, 132, 210, 0.15);

  /* Timing */
  --pm-fast: 150ms ease;
  --pm-mid: 240ms ease;
  --pm-slow: 360ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Light mode CSS variables */
html {
  /* background */
  --main-background: #f5f7fa;
  --header-background: #ffffff;
  --header-background2: #ffffff;
  --thumb-box-bg: #ffffff;
  --thumb-placeholder-bg: #f0f2f5;
  --footer-bg: #ffffff;
  --footer-box-bg: #ffffff;
  --pagination-bg: #ffffff;
  --sort-bg: #ffffff;
  --tags-link-bg: transparent;
  --tags-link-bg-hover: rgba(10, 132, 210, 0.08);
  --input-bg: #f5f7fa;
  --btn-bg: #f0f2f5;
  --modal-bg: #ffffff;
  --sort-box-bg: #ffffff;
  --member-menu-bg: #ffffff;
  --img-placeholder-bg: #f0f2f5;
  --img-placeholder-bg2: #e8eaed;
  --img-placeholder-bg3: #f5f7fa;
  --subscription-bg: #f0f2f5;
  --embed-button-bg: #f0f2f5;
  --radio-bg: #f5f7fa;
  --comment-item-bg: #ffffff;
  --comment-like-bg: #f0f2f5;
  --checkbox-bg: #f0f2f5;

  /* color */
  --general-color: #1a1a2e;
  --main-grey-color: #6b7280;
  --member-menu-color: #6b7280;
  --thumb-text-color: #1a1a2e;
  --nav-link-color: #1a1a2e;
  --pagination-color: #6b7280;
  --sort-color: #6b7280;
  --tags-link-color: #1a1a2e;
  --tags-arrow-color: #1a1a2e;
  --input-color: #1a1a2e;
  --btn-color: #1a1a2e;
  --btn-tabs-color: #6b7280;
  --thumb-info-color: #6b7280;
  --input-color2: #9ca3af;
  --input-color3: #6b7280;
  --heading-title-color: #FF6600;
  --comment-item-color: #1a1a2e;
  --comment-name-color: #1a1a2e;
  --comment-date-color: #6b7280;
  --comment-like-color: #9ca3af;
  --desc-color: #1a1a2e;
  --seo-title-color: #1a1a2e;
  --seo-text-color: #6b7280;
  --footer-color: #6b7280;
  --theme-color: #6b7280;
  --theme-hover-color: #FF6600;
  --related-color: #6b7280;
  --tabs-title-color: #6b7280;
  --btn-gold: #FF6600;
  --profile-color: #1a1a2e;
  --profile-color2: #6b7280;
  --subscribe-color: #9ca3af;
  --subscribe-color2: #6b7280;
  --video-sub-btn: #FF6600;
  --video-sub-btn-color: #fff;
  --video-sub-btn-count: #f0f2f5;
  --menu-icon-bg: #1a1a2e;

  /* border */
  --tags-link-border: none;
  --footer-border: 1px solid #e5e7eb;
  --input-border: 1px solid #e5e7eb;
  --header-border: 1px solid #e5e7eb;
  --profile-sort-border: 1px solid #e5e7eb;
  --video-controls-border: 1px solid #e5e7eb;
  --sort-box-pseudo: #ffffff;
  --btn-box-shadow: 0px 4px 14px rgba(10, 132, 210, 0.2);
  --swiper-btn-prev: linear-gradient(90deg, #ffffff 52.6%, rgba(255, 255, 255, 0) 100%);
  --swiper-btn-next: linear-gradient(270deg, #ffffff 52.6%, rgba(255, 255, 255, 0) 100%);

  /* Grey scale */
  --lightest-gray: #1a1a2e;
  --light-gray: #6b7280;
  --mid-light-gray: #9ca3af;
  --gray: #d1d5db;
  --mid-gray: #e5e7eb;
  --dark-gray: #f0f2f5;
  --darkest-gray: #f5f7fa;

  /* Modal vars */
  --bg-rgb-dark: 255, 255, 255;
  --bg-modal: #ffffff;
  --color-modal: #1a1a2e;
  --color-active: #FF6600;
  --color-second: #6b7280;
}

/* ============================================================
   2. @FONT-FACE
   ============================================================ */
@font-face {
  font-family: 'RIEGON';
  src: url('/static/images/fonts/RIEGON.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'RIEGONRegular';
  src: url('/static/images/fonts/RIEGON.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ============================================================
   3. BASE RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
button,
input,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

fieldset,
img {
  border: 0;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

a,
a * {
  cursor: pointer;
}

a {
  text-decoration: none;
}

input,
textarea {
  outline: none;
}

input {
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

i {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  height: auto;
}

/* ============================================================
   4. HTML / BODY / WRAPPER / MAIN / CONTAINER
   ============================================================ */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    system-ui, sans-serif !important;
  font-size: 13px;
  line-height: 1.3;
  color: var(--general-color);
  background-color: var(--pm-bg) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #f5f7fa;
  box-sizing: border-box;
  width: 100%;
  flex: 1;
}

.main {
  flex: 1 0 auto;
  background-color: #f5f7fa;
  box-sizing: border-box;
  width: 100%;
  padding-top: var(--header-offset, 0px);
}

header {
  flex: 0 0 auto;
}

footer {
  flex: 0 0 auto;
}

.container {
  max-width: 1440px;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
}

/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 500 !important;
  background: transparent !important;
  border-bottom: none !important;
  transition: transform 220ms ease;
  will-change: transform;
}

.header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}

.header-holder {
  background: #1a1a2e !important;
  border-bottom: none;
  padding: 8px 0 !important;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-holder .header-inner {
  justify-content: space-between;
}

/* Logo */
.logo {
  transition: all 0.3s;
  opacity: 1;
  flex-shrink: 0;
}

.header .logo svg {
  height: 40px;
  width: auto;
}

.header-holder .logo {
  position: relative;
  z-index: 3;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

.header .logo .js_logo_img {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 123px;
  height: auto;
  padding-top: 23px;
  background-image: url('/images/logo.png');
  background-repeat: no-repeat;
  background-size: 123px 23px;
  background-position: top center;
  color: #fff;
}

.logo-block span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header.search-open .logo {
  opacity: 1 !important;
}

/* Header nav bar (legacy — removed from HTML) */
.header-nav {
  display: none;
}

/* Inline nav (integrated into header-holder) */
.header-nav-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.header-nav-inline::-webkit-scrollbar {
  display: none;
}

/* Nav More dropdown */
.nav-more {
  position: relative;
  flex-shrink: 0;
}

.nav-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-more__toggle svg {
  transition: transform 0.2s;
}

.nav-more:hover .nav-more__toggle svg,
.nav-more.open .nav-more__toggle svg {
  transform: rotate(180deg);
}

.nav-more__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #1a1a2e;
  border: none;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 600;
  display: none;
  flex-direction: column;
  padding: 6px 0 4px;
}

.nav-more:hover .nav-more__dropdown {
  display: flex;
}

.nav-more__item {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-more__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-more__item.active {
  color: #0a84d2;
}

/* Header: mobile search below */
.header-search-below {
  display: none;
  background: #1a1a2e !important;
  border-top: none;
  border-bottom: none;
  padding: 8px 0 10px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 0;
  flex-shrink: 0;
}

.header-btn {
  color: #aaa !important;
  padding: 8px;
  border-radius: 8px !important;
  transition: all var(--pm-fast) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.header-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.header-btn svg,
.header-btn .svg-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* btn-mobile (mobile search toggle) */
.btn-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  order: 3;
}

.btn-mobile svg {
  fill: #aaa;
  transition: 0.3s;
}

.btn-mobile .svg-icon {
  position: absolute;
  opacity: 0;
  transform: scale(0);
}

.btn-mobile .svg-search {
  transition: 0.3s;
}

/* ============================================================
   6. SEARCH BAR
   ============================================================ */
.search {
  flex: 1;
  max-width: 500px;
  min-width: 200px;
  flex-shrink: 0;
}

.search form {
  max-width: 100%;
  width: 100%;
}

.search-inner {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px !important;
  overflow: hidden;
  transition: border-color var(--pm-mid), box-shadow var(--pm-mid) !important;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  gap: 8px;
}

.search-inner:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 3px var(--pm-accent-glow) !important;
}

.search-inner input,
.search-inner input[type="text"] {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 0 !important;
  font-size: 14px;
  width: 100%;
  outline: none;
  height: 100%;
}

.search-inner input::placeholder,
.search-inner input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-inner .btn-search {
  background-color: transparent !important;
  border: none !important;
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transform: none;
}

.search-inner .btn-search:hover {
  background-color: rgba(255, 102, 0, 0.1);
}

.search-inner .btn-search svg,
.search-inner .btn-search .svg-icon {
  fill: var(--pm-accent) !important;
  color: var(--pm-accent) !important;
  width: 18px;
  height: 18px;
}

/* Mobile search below (shown on mobile) */
.search-below-form {
  width: 100%;
}

.search-below-inner {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 12px;
  min-height: 36px;
  gap: 8px;
}

.search-below-inner:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 3px var(--pm-accent-glow) !important;
}

.search-below-inner input {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.search-below-inner input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-search-below {
  border: none;
  background: transparent;
  color: var(--pm-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* search-response (autocomplete) */
.search-response {
  position: relative;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav-pill {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
  border-radius: 3px !important;
  background: transparent !important;
  border: none !important;
  padding: 6px 12px !important;
  transition: color var(--pm-fast), background var(--pm-fast) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.nav-pill:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.nav-pill.active {
  color: #fff !important;
  background: var(--pm-accent) !important;
  box-shadow: var(--pm-glow) !important;
  font-weight: 600 !important;
}

/* Legacy nav-link (keep for compatibility) */
.nav-link {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  border-radius: var(--pm-radius-sm) !important;
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  margin: 4px 0 !important;
  transition: color var(--pm-fast), background var(--pm-fast) !important;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  transform: none !important;
}

.nav-link:hover::after {
  content: none;
}

.header-nav .nav-link::before {
  content: none;
}

.nav-link.active {
  color: #fff !important;
  background: var(--pm-accent) !important;
  box-shadow: var(--pm-glow) !important;
}

.nav-link.active::after {
  content: none;
}

.nav-link--hot {
  color: #FF8533 !important;
  background: rgba(255, 102, 0, 0.1) !important;
}

.nav-link--hot:hover {
  color: #fff !important;
  background: rgba(255, 102, 0, 0.22) !important;
}

/* ============================================================
   8. MOBILE NAV
   ============================================================ */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: none;
  order: 1;
  flex-shrink: 0;
}

.menu-icon span {
  width: 24px;
  height: 2px;
  background-color: #ccc;
  transition: all 0.2s ease;
  display: block;
  position: relative;
}

.menu-icon:hover span {
  background-color: var(--pm-accent) !important;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .menu-icon span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-icon span:first-child,
body.nav-open .menu-icon span:last-child {
  top: 6px;
  background-color: #FF6600;
}

body.nav-open .menu-icon span:first-child {
  transform: rotate(45deg);
}

body.nav-open .menu-icon span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
}

.mobile-nav-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85%;
  height: 100%;
  background: #1a1a2e !important;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-right: none;
}

.mobile-nav.active .mobile-nav-inner {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: none;
}

.mobile-nav-header .logo svg {
  height: 30px;
  width: auto;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.mobile-nav-close:hover {
  color: var(--pm-accent) !important;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  color: #ccc !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
  border: none;
  border-bottom: none;
  background: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: transparent;
}

.mobile-nav-link--hot {
  color: #FF8533 !important;
}

/* ============================================================
   9. SVG ICONS
   ============================================================ */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.icon-heart,
.icon-heart-filled {
  font-size: 12px;
}

.icon-search {
  font-size: 20px;
}

/* ============================================================
   10. SECTION HEADINGS
   ============================================================ */
.section-row {
  padding: 22px 0 !important;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: none;
  position: relative !important;
  gap: 5px;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--pm-accent);
  border-radius: 1px;
}

.heading .title {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: var(--pm-text) !important;
  text-transform: uppercase !important;
}

.heading .title a {
  color: var(--heading-title-color);
  transition: color 0.3s;
}

/* ============================================================
   11. SORT DROPDOWN
   ============================================================ */
.sort {
  position: relative;
}

.sort-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  cursor: pointer;
  padding: 6px 12px;
  background-color: #ffffff;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.2s ease;
  min-width: 170px;
  justify-content: center;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sort-title:hover {
  color: #fff;
  background-color: #1a1a2e;
}

.sort-title svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.sort-drop {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 5px;
  background-color: #ffffff;
  border-radius: 4px;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: none;
  z-index: 100;
  overflow: hidden;
  display: none;
}

.sort:hover .sort-drop {
  display: block;
}

.sort-drop a {
  display: block;
  padding: 10px 16px;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sort-drop a:hover {
  color: #fff;
  background-color: #1a1a2e;
}

/* ============================================================
   12. VIDEO GRID + CARDS
   ============================================================ */

/* Grid */
.thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px 10px !important;
}

@media (max-width: 1024px) {
  .thumbs {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px 10px !important;
  }
}

@media (max-width: 640px) {
  .thumbs {
    grid-template-columns: 1fr !important;
    gap: 10px 8px !important;
  }
}

/* Card — with shadow detail */
.thumb {
  background: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  cursor: pointer;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  animation: pm-fadeIn 0.28s ease both !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.thumb:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.thumb>a {
  display: block;
  text-decoration: none;
}

/* Thumbnail */
.thumb .img-holder {
  aspect-ratio: 16 / 9;
  background-color: #e8eaed;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 2px;
}

.thumb .img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.thumb:hover .img-holder img {
  transform: scale(1.04);
}

/* Badges: HD + duration — overlaid bottom of thumbnail */
.thumb .item-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 5px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  z-index: 2;
  pointer-events: none;
}

.thumb .qualtiy {
  background: var(--pm-accent) !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 2px 5px !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
}

.thumb .time {
  background: rgba(0, 0, 0, 0.78) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 2px !important;
}

/* Title — flush, no container padding */
.thumb .title {
  color: #1a1a2e !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  padding: 5px 8px 2px !important;
  margin: 0 !important;
  min-height: auto !important;
  position: static !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color var(--pm-fast) !important;
}

.thumb:hover .title {
  color: var(--pm-accent) !important;
}

/* Meta row */
.thumb-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 6px !important;
  border: none !important;
  margin: 0 !important;
  flex-wrap: nowrap;
  overflow: hidden;
}

.thumb-bottom-videos {
  flex-wrap: nowrap;
}

.thumb-item {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #6b7280 !important;
  font-size: 11px !important;
  white-space: nowrap;
}

.thumb-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.thumb-item i {
  display: flex;
  align-items: center;
}

.thumb-item-date {
  margin-left: auto;
}

/* Green rating (class + inline style fallback) */
.thumb-item--rating,
.thumb-item[style*="color: #10ec00b3"] {
  color: #3db870 !important;
  font-weight: 600 !important;
}

/* thumb_rel */
.thumb_rel {
  position: relative;
}

/* lazy-load placeholder */
.lazy-load {
  background-color: var(--thumb-placeholder-bg);
}

/* ============================================================
   13. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px !important;
  margin-top: 30px;
  padding: 22px 0 !important;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px;
  background-color: var(--pm-elevated) !important;
  border: none;
  color: var(--pm-text-secondary) !important;
  font-size: 13.5px !important;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--pm-radius-sm) !important;
  transition: all var(--pm-fast) !important;
}

.pagination a:hover {
  background: #1a1a2e !important;
  border-color: transparent;
  color: #fff !important;
}

.pagination a.active {
  background: var(--pm-accent) !important;
  border-color: transparent;
  color: #fff !important;
  box-shadow: var(--pm-glow) !important;
}

.pagination .prev,
.pagination .next {
  padding: 0 16px;
  gap: 8px;
  font-weight: 500;
}

.pagination .prev svg,
.pagination .next svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: all 0.3s;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: var(--pm-accent) !important;
  border-color: transparent;
  color: #fff !important;
  box-shadow: var(--pm-glow) !important;
}

.pagination-ellipsis {
  background-color: transparent !important;
  border-color: transparent;
  color: #9ca3af !important;
  cursor: default;
  min-width: 30px;
}

/* Mobile pagination: wrap to multiple lines */
@media (max-width: 1023px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding: 14px 4px !important;
  }
}

/* ============================================================
   14. SIDEBAR
   ============================================================ */
.sidebar {
  background: var(--pm-surface) !important;
  border: none;
  border-radius: var(--pm-radius) !important;
  padding: 18px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar__item {
  margin-bottom: 24px;
}

.sidebar__item:last-child {
  margin-bottom: 0;
}

.sidebar .headline {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: none;
}

.sidebar .headline h2 {
  margin: 0;
  font-size: 16px;
}

.sidebar .headline h2 a {
  color: var(--pm-text) !important;
  text-decoration: none;
}

.sidebar .headline h2 a:hover {
  color: var(--pm-accent) !important;
}

.sidebar .list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar .list li {
  padding: 8px 0;
  border-top: none;
}

.sidebar .list li:first-child {
  border-top: none;
}

.sidebar .list li a {
  color: var(--pm-text-secondary) !important;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.sidebar .list li a:hover {
  color: var(--pm-accent) !important;
}

/* Checkbox wrapper in sidebar */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox {
  display: none;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #e5e7eb;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.checkbox:checked+.checkmark {
  background: #FF6600;
}

/* ============================================================
   15. SEO SECTION
   ============================================================ */
.seo {
  background: var(--pm-surface) !important;
  border: none;
  border-radius: var(--pm-radius) !important;
  margin-top: 24px !important;
  padding: 24px 20px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.seo h2 {
  color: #1a1a2e;
  font-size: 18px;
  margin-bottom: 16px;
}

.seo p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo p:last-child {
  margin-bottom: 0;
}

.seo a {
  color: var(--pm-accent) !important;
  text-decoration: none;
}

.seo a:hover {
  text-decoration: underline;
}

/* ============================================================
   16. FOOTER
   ============================================================ */

.footer {
  background: #1a1a2e;
  border-top: none;
  padding: 0 0 0;
  margin-top: 48px;
  position: relative;
}


/* ── Stats strip ─────────────────────────────────────────── */
.footer-stats {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 32px;
}

.footer-stat__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--pm-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-stat__label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.footer-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* ── Body: brand + nav columns ───────────────────────────── */
.footer-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px 64px;
  align-items: start;
  padding: 48px 0;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-link .logo-block {
  width: 180px;
  padding-top: 34px;
  background-size: 180px 34px;
  color: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #ccc;
  margin: 0;
}

/* brand meta badges row */
.footer-brand-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.45);
  border-radius: 3px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.footer-badge-hd,
.footer-badge-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.footer-badge-hd {
  color: var(--pm-accent);
  border: 1px solid rgba(10, 132, 210, 0.5);
}

.footer-badge-free {
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

/* ── Nav columns ─────────────────────────────────────────── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-top: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 110px;
}

.footer-links-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-accent);
  margin: 0 0 6px;
  opacity: 0.75;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links ul a {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
  transition: color var(--pm-fast);
}

.footer-links ul a:hover,
.footer-links ul a.active {
  color: #fff;
}

/* ── Bottom bar ──────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-size: 12px;
  color: #777;
  margin: 0;
  text-align: center;
  line-height: 1.7;
}

.footer-copy a {
  color: #999;
  text-decoration: none;
  transition: color var(--pm-fast);
}

.footer-copy a:hover {
  color: var(--pm-accent);
}

/* keep .copi for any legacy usage */
.copi {
  font-size: 12px;
  color: #777;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  .footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-stats-inner {
    gap: 0;
  }

  .footer-stat {
    padding: 6px 18px;
  }

  .footer-stat__value {
    font-size: 16px;
  }

  .footer-stat-divider {
    height: 28px;
  }

  .footer-nav {
    gap: 24px 36px;
  }
}

/* ============================================================
   17. HOLDER-BOX / CONTENT-SECTION
   ============================================================ */
.holder-box {
  margin-top: 15px;
  display: flex;
  align-items: baseline;
}

@media (max-width: 875px) {
  .holder-box {
    flex-direction: column;
    align-items: center;
  }
}

.content-section {
  width: 100%;
}

.box-content {
  width: 100%;
  margin-bottom: 44px;
}

.box-content .heading {
  margin-bottom: 10px;
}

/* ============================================================
   18. WATCH / VIEW PAGE
   ============================================================ */

/* ── Layout ─────────────────────────────────────────────── */
.watch-layout {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .watch-layout {
    grid-template-columns: 1fr;
    padding: 12px 12px 0;
  }
}

@media (max-width: 640px) {
  .watch-layout {
    padding: 4px 8px;
  }
}

.watch-main {
  min-width: 0;
}

/* ── Player ──────────────────────────────────────────────── */
.watch-player {
  background: #000;
  border-radius: var(--pm-radius-sm);
  overflow: hidden;
}

.watch-player__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

#ncp-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#ncp-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.player-loading,
.player-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-text-muted);
  font-size: 14px;
}

/* ── Server selector ─────────────────────────────────────── */
.watch-servers {
  padding: 10px 0 6px;
}

.fss-list,
.ulclear {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.list_link {
  list-style: none;
}

.server-empty {
  color: var(--pm-text-muted);
  font-size: 13px;
  padding: 8px 0;
}

/* ── Watch info panel ────────────────────────────────────── */
.watch-info {
  padding: 14px 0 0;
}

.watch-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--pm-text);
  margin: 0 0 14px;
  line-height: 1.4;
  word-break: break-word;
}

/* ── Toolbar (stats + actions) ───────────────────────────── */
.watch-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: none;
}

.watch-stats {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.watch-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Feature action buttons */
.feature-action {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pm-text-muted) !important;
  background: none;
  border: none;
  font-size: 13px !important;
  text-decoration: none;
  padding: 5px 9px;
  border-radius: var(--pm-radius-sm) !important;
  transition: color var(--pm-fast), background var(--pm-fast) !important;
  line-height: 1;
}

.feature-action:hover {
  color: var(--pm-accent) !important;
  background: var(--pm-accent-subtle) !important;
}

.feature-action .svg-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.feature-actionViews {
  cursor: default;
  position: relative;
  padding-right: 14px;
  margin-right: 4px;
}

.feature-actionViews::after {
  content: '';
  width: 1px;
  height: 18px;
  background: var(--pm-border);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Like / dislike */
.videoLike:hover,
.videoLike.active {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.1) !important;
}

.videoDislike:hover,
.videoDislike.active {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.1) !important;
}

.voters {
  position: absolute;
  bottom: calc(100% + 3px);
  left: 0;
  font-size: 11px;
  color: var(--pm-accent);
  background: var(--pm-surface);
  border: none;
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
  pointer-events: none;
}

/* Favorite */
.featureFavorite,
.js-toggle-favorite {
  cursor: pointer;
}

.featureFavorite:hover,
.featureFavorite.favorited {
  color: var(--pm-accent) !important;
  background: var(--pm-accent-subtle) !important;
}

.featureFavorite.favorited .svg-icon {
  fill: var(--pm-accent);
}

.featureFavorite.loading {
  opacity: 0.6;
  pointer-events: none;
}

.favorite-text {
  font-size: 13px;
}

/* ── Publisher / meta row ────────────────────────────────── */
.watch-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-bottom: none;
}

.publisher-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pm-elevated);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--pm-text-secondary);
  flex-shrink: 0;
}

.publisher-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.publisher-name,
.submitByLink {
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-text) !important;
  text-decoration: none;
}

.publisher-name:hover,
.submitByLink:hover {
  color: var(--pm-accent) !important;
}

.publisher-date,
.subscribersInfo {
  font-size: 12px;
  color: var(--pm-text-muted) !important;
}

.watch-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.cat-tag,
.metaDataSubscription {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--pm-accent) !important;
  border-radius: var(--pm-radius-sm);
  text-decoration: none;
  transition: background var(--pm-fast);
}

.cat-tag:hover,
.metaDataSubscription:hover {
  background: var(--pm-accent-bright) !important;
}

/* ── Stats row (duration · views · added) ────────────────── */
.watch-stats-row,
.video-description {
  padding: 12px 0 0;
}

.watch-stats-row .video-info,
.video-description .video-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--pm-text-muted);
  font-size: 13px;
}

.watch-stats-row .video-info span,
.video-description .video-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.watch-stats-row .video-info label,
.video-description .video-info label {
  font-weight: 600;
  color: var(--pm-text-secondary);
  margin-right: 2px;
}

/* ── Description ─────────────────────────────────────────── */
.watch-desc {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--pm-text-muted);
  line-height: 1.6;
}

/* ── Tags ────────────────────────────────────────────────── */
.watch-tags,
.videoTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.button.bubble-button {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12.5px;
  line-height: 1;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--pm-fast);
}

.button.bubble-porntag {
  color: #1a1a2e !important;
  background: var(--pm-elevated) !important;
  border: none;
  transition: all var(--pm-fast) !important;
}

.button.bubble-porntag:hover {
  color: #fff !important;
  border-color: transparent;
  background: #1a1a2e !important;
}

/* ── Feature tabs ────────────────────────────────────────── */
.feature-tabsWrapper {
  display: flex;
  gap: 2px;
  margin-top: 16px;
  border-bottom: none;
}

.feature-tabsWrapper .feature-tab {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pm-text-secondary);
  background: transparent;
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.feature-tabsWrapper .feature-tab:hover {
  color: #1a1a2e;
  background: rgba(0, 0, 0, 0.04);
}

.feature-tabsWrapper .feature-tab.active {
  color: #1a1a2e;
  background: transparent;
  border-bottom: none;
  margin-bottom: -1px;
}

/* ── Tab content ─────────────────────────────────────────── */
.block-tabs {
  padding: 16px 0;
  margin-bottom: 16px;
}

.block-tabs .tab-content {
  animation: pm-fadeIn 0.2s ease;
}

.tab-content.hidden {
  display: none;
}

/* ── Related videos (3-col grid) ─────────────────────────── */
.three-thumbs-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.three-thumbs-row .thumb {
  width: 100% !important;
  margin: 0 !important;
}

.three-thumbs-row .thumb .img-holder {
  aspect-ratio: 16 / 9;
}

.three-thumbs-row .thumb .img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Share panel ─────────────────────────────────────────── */
.share-panel,
.share-video-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: var(--pm-elevated);
  border: none;
  border-radius: var(--pm-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.share-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.share-label,
.embed-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--pm-text-secondary);
  display: block;
}

.share-input,
.textfield {
  font-family: inherit;
  display: block;
  width: 100%;
  height: 38px;
  border-radius: var(--pm-radius-sm);
  border: none;
  padding: 0 12px;
  background: var(--input-bg);
  color: var(--input-color);
  font-size: 13px;
  box-sizing: border-box;
}

.share-input:focus,
.textfield:focus {
  outline: none;
  border-color: transparent;
}

/* ── link-offer (ad) ─────────────────────────────────────── */
.link-offer {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.link-offer a {
  display: block;
}

.link-offer a img {
  width: 100%;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.watch-sidebar,
.right-col {
  grid-column: 2;
  grid-row: 1 / span 10;
}

.rec-section,
.asside-thumb {
  display: block;
  margin-bottom: 20px;
}

.rec-heading,
.title-asside {
  font-size: 15px;
  font-weight: 700;
  color: var(--pm-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: none;
}

.rec-list,
.recommended-thumbs {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  grid-template-columns: unset !important;
}

.rec-item,
.recommended-thumb-item {
  width: 100% !important;
  margin: 0 !important;
}

.rec-item a,
.recommended-thumb-item a {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px;
  text-decoration: none;
}

.rec-item .img-holder,
.recommended-thumb-item .img-holder {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 84px !important;
  border-radius: 5px !important;
  overflow: hidden;
  flex-shrink: 0;
  padding-bottom: 0 !important;
}

.rec-item .img-holder img,
.recommended-thumb-item .img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rec-item .thumb-info,
.recommended-thumb-item .thumb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rec-item .title,
.recommended-thumb-item .thumb-info .title {
  font-size: 13px;
  line-height: 1.4;
  color: var(--pm-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.rec-date {
  font-size: 11.5px;
  color: var(--pm-text-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {

  .watch-sidebar,
  .right-col {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .three-thumbs-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .rec-item .img-holder,
  .recommended-thumb-item .img-holder {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 73px !important;
  }
}

@media (max-width: 640px) {

  .watch-sidebar,
  .right-col {
    display: none !important;
  }

  .watch-title {
    font-size: 1.1em;
  }

  .watch-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-tabsWrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .three-thumbs-row {
    grid-template-columns: 1fr;
  }

  .watch-meta {
    gap: 8px;
  }

  .watch-categories {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================================================
   19. AUTH MODALS + USER MENU
   ============================================================ */

/* Auth buttons */
.auth-buttons,
.js-auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.auth-btn.signin {
  color: #ccc;
  background: transparent;
  border: none;
}

.auth-btn.signin:hover {
  color: #fff;
  border-color: transparent;
}

.auth-btn.signup {
  color: #fff;
  background: var(--pm-accent);
  border: none;
}

.auth-btn.signup:hover {
  background: var(--pm-accent-bright);
  box-shadow: var(--pm-glow);
}

/* User menu */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-menu-btn,
.js-user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.user-menu-btn:hover,
.js-user-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pm-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.js-user-initial {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.user-menu-name,
.js-username {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.user-menu-arrow {
  width: 14px;
  height: 14px;
  fill: #aaa;
  transition: transform 0.2s;
}

.user-menu.open .user-menu-arrow {
  transform: rotate(180deg);
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a2e;
  border-radius: 10px;
  overflow: hidden;
  min-width: 160px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 600;
  display: none;
}

.user-menu.open .user-menu-dropdown {
  display: block;
}

.user-menu-dropdown a,
.user-menu-dropdown .logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.15s, background 0.15s;
}

.user-menu-dropdown a {
  color: #ccc;
}

.user-menu-dropdown a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.user-menu-dropdown svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}

.divider {
  height: 1px;
  background: var(--pm-border);
  margin: 4px 0;
}

.logout-btn {
  color: #f87171;
}

.logout-btn:hover {
  color: #ff8585;
  background: rgba(248, 113, 113, 0.08);
}

/* Auth modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 1px;
  z-index: 2000001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.auth-modal.show,
.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  max-width: 420px;
  min-width: 320px;
  width: 100%;
  background: var(--modal-bg);
  padding: 28px 24px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.close-btn {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 16px;
  top: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn svg {
  width: 20px;
  height: 20px;
  fill: #374151;
  transition: fill 0.3s;
}

.close-btn:hover svg {
  fill: var(--pm-accent);
}

.modal-content {
  position: relative;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-modal);
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  margin: auto;
  max-width: 500px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-right: 30px;
}

.auth-form {
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--input-bg);
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #1a1a2e;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--pm-accent);
  box-shadow: 0 0 0 3px var(--pm-accent-glow);
}

.error-message {
  color: #f87171;
  font-size: 12px;
  margin-top: 4px;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--pm-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--pm-accent-bright);
  box-shadow: var(--pm-glow);
}

.btn-text {
  transition: opacity 0.2s;
}

.btn-loading {
  display: none;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: flex;
}

.form-message {
  text-align: center;
  font-size: 13px;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.form-message.success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.form-message.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.form-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

.switch-modal {
  color: var(--pm-accent);
  cursor: pointer;
  font-weight: 600;
}

.switch-modal:hover {
  text-decoration: underline;
}

/* Cloudflare Turnstile */
.turnstile-container,
.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

/* Login-required overlay */
.login-required {
  text-align: center;
  padding: 20px;
  color: #6b7280;
  font-size: 14px;
}

/* ============================================================
   20. FAVORITES / HISTORY PAGE SPECIFIC
   ============================================================ */
.js-toggle-favorite.favorited {
  color: var(--pm-accent) !important;
}

.js-remove-favorite,
.favorite--remove {
  cursor: pointer;
  color: var(--pm-text-muted);
  transition: color 0.2s;
}

.js-remove-favorite:hover,
.favorite--remove:hover {
  color: #f87171;
}

.btn-clear-history,
.watch_history--remove {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  color: #6b7280;
  background: transparent;
  border: none;
  transition: all 0.2s;
}

.btn-clear-history:hover,
.watch_history--remove:hover {
  color: #f87171;
  border-color: transparent;
  background: rgba(248, 113, 113, 0.08);
}

/* ============================================================
   21. ALL-CATEGORIES PAGE
   ============================================================ */
.page-all-categories {
  padding-bottom: 32px;
}

.section-desc,
.page-all-categories__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--main-grey-color);
  margin: 0 0 30px 0;
  max-width: 560px;
}

.category-block {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--thumb-box-bg);
  border-radius: 12px;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-block:last-child {
  margin-bottom: 0;
}

.category-block__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: none;
}

.category-block__heading .title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  color: var(--heading-title-color);
}

.link-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--sort-color);
  background: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.link-view-more .svg-icon,
.link-view-more .icon-arrow-right {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.link-view-more:hover {
  color: #fff;
  background: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-block__empty {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  color: var(--main-grey-color);
  font-size: 14px;
  border: none;
}

.category-block__empty p {
  margin: 0;
  color: var(--main-grey-color);
  font-size: 14px;
}

.category-block__empty--full {
  margin: 0;
  width: 100%;
  background: var(--thumb-box-bg);
  border-radius: 12px;
  border-style: none;
  border-color: transparent;
}

.link-view-more--mobile {
  display: none;
  margin-top: 16px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .page-all-categories__desc {
    font-size: 13px;
  }

  .category-block {
    padding: 20px 16px;
  }

  .category-block__heading .title {
    font-size: 18px;
  }

  .category-block__heading .link-view-more {
    display: none;
  }

  .link-view-more--mobile {
    display: inline-flex;
  }
}

@media (max-width: 435px) {
  .category-block {
    padding: 16px 12px;
  }
}

/* ============================================================
   22. UTILITIES
   ============================================================ */

/* Generic btn */
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--btn-bg);
  border-radius: 10px;
  padding: 10px 15px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--btn-color);
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.btn:hover {
  color: #fff;
  background: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn.active {
  background: #FF6600;
  color: #fff;
}

/* Load more */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.btn-load-more:hover {
  color: #fff;
  border-color: transparent;
  background: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: none;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Loading state */
.loading-state {
  opacity: 0.6;
  pointer-events: none;
}

/* Empty content */
.empty-content {
  padding: 40px 16px;
  text-align: center;
  color: var(--pm-text-muted);
  font-size: 14px;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* ============================================================
   23. SCROLLBAR + SELECTION
   ============================================================ */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f5f7fa;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pm-accent);
}

::selection {
  background-color: var(--pm-accent);
  color: #fff;
}

::-moz-selection {
  background-color: var(--pm-accent);
  color: #fff;
}

/* ============================================================
   24. ANIMATIONS + KEYFRAMES
   ============================================================ */
@keyframes pm-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered card entrances (premium_dark.css wins) */
.thumbs .thumb:nth-child(1) {
  animation-delay: 0.02s !important;
}

.thumbs .thumb:nth-child(2) {
  animation-delay: 0.05s !important;
}

.thumbs .thumb:nth-child(3) {
  animation-delay: 0.08s !important;
}

.thumbs .thumb:nth-child(4) {
  animation-delay: 0.11s !important;
}

.thumbs .thumb:nth-child(5) {
  animation-delay: 0.14s !important;
}

.thumbs .thumb:nth-child(6) {
  animation-delay: 0.17s !important;
}

.thumbs .thumb:nth-child(7) {
  animation-delay: 0.20s !important;
}

.thumbs .thumb:nth-child(8) {
  animation-delay: 0.23s !important;
}

.thumbs .thumb:nth-child(9) {
  animation-delay: 0.26s !important;
}

.thumbs .thumb:nth-child(10) {
  animation-delay: 0.29s !important;
}

.thumbs .thumb:nth-child(11) {
  animation-delay: 0.32s !important;
}

.thumbs .thumb:nth-child(12) {
  animation-delay: 0.35s !important;
}

/* ============================================================
   25. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   26. RESPONSIVE MEDIA QUERIES (consolidated)
   ============================================================ */

/* Header: tablet */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-nav-inline {
    display: none;
  }

  .nav-more {
    display: none;
  }

  .header-holder .header-inner {
    gap: 8px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .header .logo {
    order: 2;
    flex-shrink: 0;
  }

  .header .logo svg {
    width: 160px;
    height: auto;
  }

  .header .search {
    order: 3;
  }

  .menu-icon {
    display: flex;
    order: 1;
  }

  .header-actions {
    display: none;
  }

  .btn-mobile {
    display: flex;
  }

  .search {
    position: absolute;
    justify-content: flex-start;
    width: 100%;
    z-index: 10;
    left: 0;
    max-width: calc(100% - 40px);
    transition: all 0.3s;
    transform: translate(-100%, 0);
    padding: 0 10px;
  }

  .header.search-open .search {
    transform: translate(0, 0);
  }

  .header.search-open .btn-mobile .svg-search {
    opacity: 0;
    transform: scale(0);
  }

  .header.search-open .btn-mobile .svg-icon {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Header: mobile */
@media (max-width: 768px) {
  .header-holder .header-inner {
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .header-nav-inline {
    display: none;
  }

  .menu-icon {
    display: flex;
    flex-shrink: 0;
    order: 1;
  }

  .header .logo {
    order: 2;
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .header .logo .js_logo_img {
    width: auto !important;
    max-width: 120px !important;
    height: auto !important;
    display: block;
  }

  .header-actions {
    order: 3;
    flex-shrink: 0;
    display: flex;
    min-width: 0;
    max-width: 50%;
    overflow: visible;
  }

  .auth-buttons,
  .js-auth-buttons {
    gap: 6px;
    min-width: 0;
  }

  .auth-btn {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .header-holder .search {
    display: none;
  }

  .header-search-below {
    display: block;
    padding: 8px 0 10px;
  }

  .btn-mobile {
    display: none;
  }

  .heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .heading .title {
    font-size: 16px !important;
  }

  .thumb {
    border-radius: 8px !important;
  }

  .thumb .title {
    font-size: 12.5px !important;
    padding: 9px 10px 5px !important;
  }

  .thumb-bottom {
    padding: 0 10px 9px !important;
    padding-top: 7px !important;
    gap: 8px;
  }

  .thumb-item {
    font-size: 11px !important;
  }

  .thumb-item-date {
    display: none;
  }

  .pagination {
    gap: 4px;
  }

  .search-below-inner {
    min-height: 38px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .header .logo .js_logo_img {
    max-width: 115px !important;
  }

  .header .logo svg {
    width: 115px;
  }

  .search .search-inner {
    height: 36px;
    padding: 0 12px;
  }

  .nav-link {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }

  .thumb .time {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .thumb .qualtiy {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }

  .header-actions {
    max-width: 52%;
  }

  .auth-btn {
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* ============================================================
   WATCH HISTORY PAGE
   ============================================================ */

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

#empty-content .btn:hover {
  opacity: 0.9;
}

/* Remove-from-history button (on thumb hover) */
.watch_history--remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
  z-index: 10;
}

.thumb:hover .watch_history--remove {
  opacity: 1;
}

.watch_history--remove .svg-icon {
  fill: #fff;
  width: 14px;
  height: 14px;
}

.watch_history--remove:hover {
  background: var(--pm-accent);
  transform: scale(1.08);
}

/* Clear All button */
.btn-clear-history {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pm-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--pm-radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  margin-left: auto;
}

.btn-clear-history .svg-icon {
  fill: currentColor;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-clear-history:hover {
  color: var(--pm-accent);
  border-color: transparent;
  background: var(--pm-accent-subtle);
}

/* ============================================================
   23. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 6px;
  font-size: 13px;
  color: var(--pm-text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--pm-text-secondary);
  text-decoration: none;
  transition: color var(--pm-fast);
}

.breadcrumb a:hover {
  color: var(--pm-accent);
}

.breadcrumb .svg-icon {
  width: 12px;
  height: 12px;
  fill: var(--pm-text-muted);
  flex-shrink: 0;
}

.breadcrumb__current {
  color: var(--pm-text);
  font-weight: 500;
}

/* ============================================================
   24. PAGE HEADER
   ============================================================ */
.page-header {
  margin-bottom: 20px;
}

.page-header__info {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pm-text);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.page-header__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--pm-accent);
  border-radius: 4px;
}

.page-header__count {
  font-size: 13px;
  color: var(--pm-text-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .page-header__title {
    font-size: 18px;
  }
}

/* ============================================================
   25. CATEGORY CHIPS (Home Page Quick Nav)
   ============================================================ */
.category-chips {
  display: flex;
  gap: 8px;
  padding: 16px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--pm-text-secondary);
  background: #fff;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--pm-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.chip:hover {
  color: #fff;
  background: #1a1a2e;
  border-color: transparent;
}

.chip--active {
  color: #fff;
  background: var(--pm-accent);
  border-color: transparent;
}

.chip--active:hover {
  background: var(--pm-accent-bright);
  border-color: transparent;
}

.chip--more {
  color: var(--pm-accent);
  border-color: transparent;
}

.chip--more:hover {
  color: #fff;
  background: #1a1a2e;
  border-color: transparent;
}

.chip--more .svg-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ============================================================
   26. HOME PAGE 2-COLUMN LAYOUT
   ============================================================ */
/* Home page layout — full-width, no sidebar */
.home-layout {
  display: block;
}

.home-main {
  min-width: 0;
}

.home-sidebar {
  display: none;
}

@media (max-width: 1100px) {
  .home-layout {
    display: block;
  }

  .home-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-sidebar {
    grid-template-columns: 1fr;
  }

}

/* ============================================================
   27. SIDEBAR CARDS (Home + Category)
   ============================================================ */
.sidebar-card {
  background: var(--pm-surface);
  border: none;
  border-radius: var(--pm-radius);
  padding: 16px;
}

.sidebar-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: none;
}

.sidebar-card__title .svg-icon {
  width: 16px;
  height: 16px;
  fill: var(--pm-accent);
  flex-shrink: 0;
}

.sidebar-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-card__list li {
  margin: 0;
  padding: 0;
}

.sidebar-card__list li a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--pm-text-secondary);
  text-decoration: none;
  border-radius: var(--pm-radius-sm);
  transition: all var(--pm-fast);
}

.sidebar-card__list li a:hover,
.sidebar-card__list li a.active {
  color: #fff;
  background: var(--pm-accent-subtle);
}

.sidebar-card__list li a.active {
  color: var(--pm-accent);
  font-weight: 600;
}

.sidebar-card__list--scroll {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pm-border) transparent;
}

.sidebar-card__list--scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-card__list--scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-card__list--scroll::-webkit-scrollbar-thumb {
  background: var(--pm-border);
  border-radius: 2px;
}

.sidebar-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--pm-text-secondary);
  background: var(--pm-card);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  transition: all var(--pm-fast);
}

.sidebar-tag:hover {
  color: #fff;
  background: var(--pm-accent-subtle);
  border-color: transparent;
}

.sidebar-card--sticky {
  position: sticky;
  top: 80px;
}

/* ============================================================
   28. FEATURED ROW (Home Page)
   ============================================================ */
.featured-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.featured-card {
  border-radius: var(--pm-radius);
  overflow: hidden;
  background: var(--pm-surface);
  border: none;
  transition: box-shadow var(--pm-fast);
  cursor: pointer;
}

.featured-card:hover {
  box-shadow: var(--pm-shadow-lg);
}

.featured-card>a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.featured-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--pm-mid);
}

.featured-card:hover .featured-card__img img {
  transform: scale(1.05);
}

.featured-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.featured-card__overlay .qualtiy {
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--pm-accent);
  border-radius: 3px;
}

.featured-card__overlay .time {
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
}

.featured-card__info {
  padding: 10px;
}

.featured-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--pm-text);
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--pm-text-muted);
}

.featured-card__rating {
  color: #22c55e;
  font-weight: 600;
}

@media (max-width: 768px) {
  .featured-row {
    grid-template-columns: 1fr 1fr;
  }

  .featured-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 480px) {
  .featured-row {
    grid-template-columns: 1fr;
  }

  .featured-card:nth-child(2),
  .featured-card:nth-child(3) {
    display: none;
  }
}

/* ============================================================
   29. CATEGORY 2-COLUMN LAYOUT
   ============================================================ */
.category-layout {
  display: block;
}

.category-layout__main {
  min-width: 0;
}

.category-layout__sidebar {
  display: none;
}

@media (max-width: 1100px) {
  .category-layout {
    display: block;
  }

  .category-layout__sidebar {
    display: none;
  }
}

/* ============================================================
   30. CATEGORIES GRID (All Categories Page)
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--pm-radius);
  overflow: hidden;
  background: var(--pm-surface);
  border: none;
  text-decoration: none;
  transition: transform var(--pm-fast), box-shadow var(--pm-fast);
  cursor: pointer;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.category-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--pm-mid);
}

.category-card:hover .category-card__img img {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6));
}

.category-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pm-card);
}

.category-card__placeholder .svg-icon {
  fill: var(--pm-text-muted);
}

.category-card__name {
  display: block;
  padding: 8px 10px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-card__count {
  display: block;
  padding: 0 10px 8px;
  font-size: 11px;
  color: var(--pm-text-muted);
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .category-card__name {
    font-size: 11px;
    padding: 6px 6px 1px;
  }

  .category-card__count {
    font-size: 10px;
    padding: 0 6px 6px;
  }
}

/* ============================================================
   31. WATCH INFO CARD RESTRUCTURED
   ============================================================ */
.watch-info--card {
  background: var(--pm-surface);
  border: none;
  border-radius: var(--pm-radius);
  padding: 16px;
  margin-top: 12px;
  box-shadow:0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.watch-info__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.watch-info__header .watch-title {
  flex: 1;
  min-width: 0;
}

.watch-info__header .watch-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Stats bar */
.watch-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: none;
  border-bottom: none;
  flex-wrap: wrap;
}

.watch-stats-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.watch-stats-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.watch-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--pm-text-muted);
}

.watch-stat-chip .svg-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Vote buttons */
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 3px;
  text-decoration: none;
  transition: all var(--pm-fast);
  cursor: pointer;
}

.vote-btn .svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.vote-btn--like {
  color: var(--pm-text-secondary);
  background: var(--pm-card);
}

.vote-btn--like:hover {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.vote-btn--dislike {
  color: var(--pm-text-secondary);
  background: var(--pm-card);
}

.vote-btn--dislike:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Meta row */
.watch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.watch-meta-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watch-meta-row__right {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Description box */
.watch-desc-box {
  padding: 12px;
  background: var(--pm-card);
  border-radius: var(--pm-radius-sm);
  margin-bottom: 4px;
}

.watch-desc-box .watch-desc {
  margin: 0;
}

@media (max-width: 640px) {
  .watch-info__header {
    flex-direction: column;
  }

  .watch-stats-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .watch-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   32. BTN ACCENT
   ============================================================ */
.btn--accent {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--pm-accent);
  color: #fff;
  border-radius: var(--pm-radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: background var(--pm-fast);
}

.btn--accent:hover {
  background: var(--pm-accent-bright);
}