/* ==========================================================================
   KatDrama - Cineapse-Grade Minimalist Streaming Platform UI (PHP Edition)
   "Streaming, stripped back. With nothing in the way but the play button."
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-black: #060607;
  --bg-surface: #141416;
  --bg-card: var(--bg-soft);
  --bg-card-hover: #1c1c20;
  
  --text-white: #ffffff;
  --text-gray: #888888;
  --text-muted: #555555;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.3);

  --accent-red: var(--gold);
  --accent-blue: var(--blue);
  --accent-gold: var(--gold);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background-color: var(--bg-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.quicksand {
  font-family: 'Quicksand', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #16161a;
}

::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #404040;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Inter', sans-serif;
  color: #ffffff;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Container */
.cineapse-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .cineapse-container {
    padding: 0 14px;
  }
}

@media (min-width: 768px) {
  .cineapse-container {
    padding: 0 48px;
  }
}

/* ==========================================================================
   Cineapse Navigation Links with Animated Underline
   ========================================================================== */
.cineapse-nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--text-gray);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  cursor: pointer;
}

.cineapse-nav-link:hover, .cineapse-nav-link.active {
  color: #ffffff;
}

.cineapse-nav-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #ffffff;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cineapse-nav-link:hover .cineapse-nav-underline,
.cineapse-nav-link.active .cineapse-nav-underline {
  width: 100%;
}

/* ==========================================================================
   Cineapse Row Headers (with vertical rounded white bar)
   ========================================================================== */
.cineapse-row-title {
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
}

.cineapse-vertical-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background-color: #ffffff;
  margin-right: 12px;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* ==========================================================================
   Cineapse Full-Height Carousel Navigation Paddles
   ========================================================================== */
.cineapse-row-wrapper {
  position: relative;
  margin-bottom: 44px;
}

.cineapse-row-track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

@media (max-width: 640px) {
  .cineapse-row-track {
    gap: 10px;
    padding-bottom: 10px;
  }
}

.cineapse-row-track::-webkit-scrollbar {
  display: none;
}

.cineapse-paddle-btn {
  position: absolute;
  top: 0;
  bottom: 16px;
  z-index: 20;
  width: 64px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}

.cineapse-row-wrapper:hover .cineapse-paddle-btn {
  opacity: 1;
}

.cineapse-paddle-btn.left {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, transparent 100%);
  justify-content: flex-start;
  padding-left: 10px;
}

.cineapse-paddle-btn.right {
  right: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.92) 0%, transparent 100%);
  justify-content: flex-end;
  padding-right: 10px;
}

@media (max-width: 768px) {
  .cineapse-paddle-btn {
    display: none !important;
  }
}

/* ==========================================================================
   Cineapse Provider Card Styles
   ========================================================================== */
.provider-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease;
}

.provider-item:hover {
  transform: translateY(-3px);
}

.provider-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--bg-soft);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .provider-icon-box {
    width: 84px;
    height: 84px;
  }
}

.provider-item:hover .provider-icon-box {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   Cineapse Media Card (Rounded, Fast, Minimal)
   ========================================================================== */
.cineapse-card {
  position: relative;
  min-width: 172px;
  width: 172px;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

@media (max-width: 640px) {
  .cineapse-card {
    min-width: 136px;
    width: 136px;
  }
}

@media (min-width: 768px) {
  .cineapse-card {
    min-width: 185px;
    width: 185px;
  }
}

@media (hover: hover) {
  .cineapse-card:hover { transform: translateY(-4px); }
  .cineapse-card:hover .cineapse-poster-box { border-color: rgba(255,77,109,.55); box-shadow: 0 14px 34px rgba(0,0,0,.75), 0 0 0 1px rgba(255,77,109,.35); }
}
.cineapse-card:active { transform: translateY(0) scale(.975); transition-duration: 0.06s; }
.cineapse-card:focus-visible { outline: 2px solid #ff4d6d; outline-offset: 3px; }

.cineapse-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cineapse-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cineapse-card:hover .cineapse-poster-img {
  transform: scale(1.06);
}

.cineapse-play-overlay {
  position: absolute;
  inset: 0;
  background: none;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 9px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
  pointer-events: none;
}

.cineapse-card:hover .cineapse-play-overlay,
.cineapse-poster-box:hover .cineapse-play-overlay,
.cineapse-movie-card:hover .cineapse-play-overlay {
  opacity: 1;
}

.cineapse-play-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg,#ff7f97,#ff4d6d);
  color: #20180a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-left: 2px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.cineapse-card:hover .cineapse-play-icon,
.cineapse-poster-box:hover .cineapse-play-icon,
.cineapse-movie-card:hover .cineapse-play-icon {
  transform: scale(1.05);
}

.cineapse-hover-title {
  color: #ffffff;
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.cineapse-hover-meta {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin-top: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.cineapse-hover-meta .hover-star {
  color: #ffb703;
  font-size: 11px;
}

.cineapse-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  font-family: 'Quicksand', sans-serif;
}

.cineapse-card-meta {
  font-size: 0.75rem;
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

/* ==========================================================================
   Cinema Player (Cineapse Stripped-Back Style)
   ========================================================================== */
.cineapse-player-wrapper {
  position: relative;
  width: 100%;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
}

.cineapse-player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Filter pills */
.cineapse-pill {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cineapse-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: #1a1a1a;
}

.cineapse-pill.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================================================
   Responsive Community Comments & Reviews (Mobile / Tablet / PC)
   ========================================================================== */
.community-comments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.community-comment-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.community-comment-card:hover {
  border-color: rgba(255, 42, 85, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.comment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 42, 85, 0.12);
  border: 1px solid rgba(255, 42, 85, 0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.comment-card-badge:hover {
  background: rgba(255, 42, 85, 0.25);
  border-color: var(--gold);
}

.comment-card-date {
  font-size: 0.72rem;
  color: #71717a;
  flex-shrink: 0;
  white-space: nowrap;
}

.comment-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.comment-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-card-username {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.2;
}

.comment-card-tag {
  font-size: 0.68rem;
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comment-card-text {
  font-size: 0.84rem;
  color: #d4d4d8;
  line-height: 1.55;
  margin: 0;
  font-family: 'Inter', sans-serif;
  word-break: break-word;
}

.comment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 8px;
}

.comment-card-watch-link {
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.comment-card-watch-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Tablet (641px - 1024px) */
@media (max-width: 1024px) {
  .community-comments-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
  .community-comments-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .community-comment-card {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
  .comment-card-badge {
    max-width: 70% !important;
    font-size: 0.75rem !important;
    padding: 3px 8px !important;
  }
  .comment-card-text {
    font-size: 0.82rem !important;
  }
  .comment-card-footer {
    font-size: 0.72rem !important;
  }
}

/* ==========================================================================
   Responsive Modern Footer (Mobile / Tablet / PC)
   ========================================================================== */
.cineapse-footer-main {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  background: var(--bg-soft);
  color: #a1a1aa;
}

.cineapse-footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 24px 36px;
}

.cineapse-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.cineapse-footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cineapse-footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #71717a;
  font-family: 'Quicksand', sans-serif;
}

.cineapse-footer-nav a {
  transition: color 0.2s ease;
}

.cineapse-footer-nav a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .cineapse-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cineapse-footer-container {
    padding: 36px 16px 28px;
  }
  .cineapse-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cineapse-footer-nav {
    gap: 14px;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Universal Mobile & Tablet Compatibility Enhancements
   ========================================================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
  }

  .cineapse-container {
    padding: 0 14px !important;
  }

  .cineapse-row-title {
    font-size: 1.15rem !important;
  }

  .cineapse-vertical-bar {
    height: 18px !important;
    width: 3.5px !important;
    margin-right: 8px !important;
  }

  .cineapse-row-track {
    gap: 10px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .cineapse-card {
    min-width: 130px !important;
    width: 130px !important;
  }

  .cineapse-card-title {
    font-size: 0.8rem !important;
  }

  .cineapse-card-meta {
    font-size: 0.7rem !important;
  }

  .cineapse-paddle-btn {
    display: none !important; /* Hide carousels paddles on touch devices */
  }

  /* Comments section: Horizontal side-by-side row on mobile like PC */
  .community-comments-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 14px !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 12px !important;
    padding-top: 4px !important;
  }

  .community-comments-grid::-webkit-scrollbar {
    display: none !important;
  }

  .community-comment-card {
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    scroll-snap-align: start !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .comment-card-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .comment-card-badge {
    max-width: 65% !important;
    font-size: 0.74rem !important;
    padding: 3px 8px !important;
  }

  .comment-card-username {
    font-size: 0.82rem !important;
    max-width: 140px !important;
  }

  .comment-card-text {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .comment-card-footer {
    font-size: 0.72rem !important;
  }

  /* Make Hero and social buttons fit mobile screens perfectly */
  .hero-social-btns {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .hero-social-btn {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }
}


/* ==========================================================================
   Fixed site background (scrolls under content, swappable via --site-bg)
   ========================================================================== */
html { background-color: #05060a; }
body {
  background-color: #05060a;
  background-image:
    linear-gradient(180deg, rgba(4,4,8,.55) 0%, rgba(4,4,8,.86) 55%, rgba(0,0,0,.96) 100%),
    var(--site-bg, radial-gradient(1100px 620px at 50% -12%, #241546 0%, #0b0a14 48%, #05060a 100%));
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.provider-icon-box img.inv { filter: brightness(0) invert(1); }

.provider-icon-box img.lit { filter: brightness(1.55) saturate(1.15); }

/* Keep pills, tabs and buttons on one line at any text size */
.cineapse-pill,
.cineapse-nav-link,
button,
a[href*="?season="],
.provider-item > span,
.cineapse-footer-nav a {
  white-space: nowrap;
}

/* ==========================================================================
   Global control sizing: no button, pill, tab or chip ever wraps
   ========================================================================== */
button,
a.cineapse-pill,
.cineapse-pill,
.cineapse-nav-link,
.cineapse-footer-nav a,
a[href*="?season="],
.provider-item > span,
[style*="border-radius: 999px"],
[style*="border-radius: 9999px"],
[style*="border-radius:999px"],
[style*="border-radius:9999px"] {
  white-space: nowrap;
  flex-shrink: 0;
}

h1, h2, h3, h4, .cineapse-row-title { min-width: 0; }

/* Pill rows scroll sideways instead of stacking when space runs out */
.cineapse-pill-row,
[style*="overflow-x: auto"] { -webkit-overflow-scrolling: touch; }

/* Tighten control padding once text is large relative to the screen */
@media (max-width: 420px) {
  .cineapse-pill { padding: 7px 13px; font-size: 0.8rem; }
  button, .cineapse-nav-link { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cineapse-card, .cineapse-poster-box, .cineapse-poster-img, .cineapse-play-icon, .cineapse-play-overlay { transition: none; }
  .cineapse-card:hover, .cineapse-card:active { transform: none; }
}

.cineapse-hover-title, .cineapse-hover-meta { display: none; }

/* ==========================================================================
   Palette — single source of truth
   ========================================================================== */
:root{
  --bg:#0b0b0c;
  --bg-soft:#141416;
  --surface:#17171a;
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.16);
  --gold:#ff4d6d;
  --gold-soft:rgba(255,77,109,.12);
  --blue:#5b9bd5;
  --red:var(--gold);
  --text:#e8ecf2;
  --muted:#98a1ae;
}
html,body{background-color:var(--bg)!important;color:var(--text)}
body{
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(74,168,255,.07), transparent 68%),
    radial-gradient(700px 420px at 85% 8%, rgba(255,77,109,.05), transparent 70%)!important;
  background-attachment:fixed!important;
  background-repeat:no-repeat!important;
}
.cineapse-poster-box{background:var(--bg-soft);border-color:var(--line)}
.cineapse-card-title{color:var(--text)}
.cineapse-card-meta{color:var(--muted)}
.cineapse-row-title{color:var(--text)}
.cineapse-vertical-bar{background:var(--gold)!important}
#srv-now,.srv-now{color:var(--muted)}
.watch-server-btn{border-color:var(--line)}
.watch-server-btn.is-active{background:var(--gold);border-color:var(--gold);color:#1d1607}
.ep-card{background:var(--bg-soft);border-color:var(--line)}

/* Server grid — decisive */
.watch-server-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  flex:1 1 100%!important;
  margin:0 0 14px!important;
}
.srv-k,.srv-fps{display:none!important}
.watch-server-btn{padding:16px 2px 9px!important;min-height:46px!important;width:auto!important}
.srv-chip{position:absolute!important;top:3px!important;right:3px!important;font-size:.3rem!important;padding:0 3px!important}



/* plain dark grey */
html{background:#060607!important}
body{background:#0b0b0c!important;background-image:none!important}
/* mobile header spacing */
@media (max-width:640px){
  #cineapse-navbar > div{padding:10px 10px!important;gap:8px!important}
  #cineapse-navbar > div > div:last-child{gap:6px!important;flex-shrink:0!important}
  #cineapse-navbar > div > div:last-child > *{flex-shrink:0!important}
  #cineapse-navbar a[href="/app"]{padding:0!important;width:2.1rem!important;height:2.1rem!important;justify-content:center!important;gap:0!important}
  #cineapse-navbar a[href="/app"] span{display:none!important}
  #cineapse-navbar a[href="/app"] i{font-size:.92rem!important}
  #cineapse-navbar > div > a:first-child{font-size:1rem!important;gap:6px!important}
  #cineapse-navbar > div > a:first-child span:first-child{width:1.5rem!important;height:1.5rem!important;border-radius:7px!important}
  #cineapse-navbar a[href="/user-panel"]{width:2.1rem!important;height:2.1rem!important}
  #cineapse-navbar button[aria-label="Search"]{width:2.1rem!important;height:2.1rem!important}
}
/* compact community cards */
.community-comments-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:12px!important;width:100%!important}
.community-comment-card{padding:12px 13px!important;gap:8px!important;border-radius:12px!important}
.comment-card-header{margin-bottom:8px!important}
.comment-card-badge{font-size:.7rem!important;padding:3px 7px!important;max-width:70%!important}
.comment-card-date{font-size:.66rem!important}
.comment-card-user{gap:8px!important;margin-bottom:7px!important}
.comment-card-avatar{width:28px!important;height:28px!important}
.comment-card-username{font-size:.8rem!important;max-width:130px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.comment-card-tag{font-size:.62rem!important}
.comment-card-text{font-size:.8rem!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.comment-card-footer{padding-top:8px!important;font-size:.7rem!important}
.comment-card-watch-link{font-size:.7rem!important}
@media(max-width:640px){.community-comments-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.community-comment-card{padding:10px!important}.comment-card-text{-webkit-line-clamp:4!important}.comment-card-username{max-width:88px!important}}

/* clean comment cards */
.community-comment-card{gap:9px!important}
.comment-card-user{gap:9px!important;margin:0!important}
.comment-card-id{display:flex!important;flex-direction:column!important;min-width:0!important;gap:1px!important}
.comment-card-username{font-size:.8rem!important;max-width:none!important;color:#fff!important}
.comment-card-date{font-size:.63rem!important;color:#71717a!important;font-weight:500!important}
.comment-card-text{font-size:.79rem!important;-webkit-line-clamp:3!important;margin-top:2px!important}
.comment-card-footer{padding-top:9px!important}
.comment-card-footer > span{font-size:.67rem!important;color:#8b929c!important;max-width:50%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.comment-card-watch-link{font-size:.67rem!important;background:rgba(255,77,109,.12)!important;border:1px solid rgba(255,77,109,.32)!important;color:#ff4d6d!important;padding:3px 9px!important;border-radius:999px!important}

/* bubble feed */
.community-comments-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:14px 22px!important}
.community-comment-card{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-areas:"av id" "av txt" "av ft"!important;column-gap:10px!important;row-gap:6px!important;padding:12px 2px 14px!important;background:transparent!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.06)!important;border-radius:0!important;box-shadow:none!important;transform:none!important;overflow:visible!important;justify-content:start!important}
.community-comment-card:hover{border-bottom-color:rgba(255,77,109,.35)!important;transform:none!important;box-shadow:none!important}
.comment-card-user{display:contents!important}
.comment-card-avatar{grid-area:av!important;width:34px!important;height:34px!important;align-self:start!important;border-radius:50%!important}
.comment-card-id{grid-area:id!important;display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:7px!important;min-width:0!important}
.comment-card-username{font-size:.78rem!important;font-weight:700!important;color:#fff!important;max-width:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.comment-card-date{font-size:.64rem!important;color:#6b7280!important;flex-shrink:0!important}
.comment-card-text{grid-area:txt!important;margin:0!important;font-size:.79rem!important;line-height:1.5!important;color:#cfd4db!important;background:rgba(255,255,255,.035)!important;padding:9px 11px!important;border-radius:3px 12px 12px 12px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important}
.comment-card-footer{grid-area:ft!important;border:0!important;padding:0!important;justify-content:flex-start!important;gap:10px!important}
.comment-card-footer > span{font-size:.66rem!important;color:#7c838d!important;max-width:none!important}
.comment-card-watch-link{font-size:.66rem!important;background:none!important;border:0!important;padding:0!important;color:var(--gold)!important;font-weight:700!important}
@media(max-width:640px){.community-comments-grid{grid-template-columns:1fr!important;gap:6px!important}.comment-card-text{-webkit-line-clamp:5!important}}
.community-comment-card > div:first-child{display:contents!important}
@media(max-width:900px){
  .community-comments-grid{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;gap:12px!important;padding:0 2px 10px!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
  .community-comments-grid::-webkit-scrollbar{display:none!important}
  .community-comment-card{flex:0 0 272px!important;min-width:272px!important;max-width:272px!important;scroll-snap-align:start!important}
  .comment-card-text{-webkit-line-clamp:5!important}
}
.cineapse-footer-main{background:var(--bg-soft)!important;border-top:1px solid rgba(255,255,255,.07)!important;margin-top:56px!important;padding:38px 0 26px!important}
.cineapse-footer-container{max-width:1180px!important;margin:0 auto!important;padding:0 20px!important;width:100%!important}
.cineapse-footer-grid{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;gap:38px!important}
.f-brand{display:block;font-size:1.3rem;font-weight:800;letter-spacing:.14em;color:#fff;font-family:'Quicksand',sans-serif}
.f-rule{display:block;width:34px;height:2px;background:var(--gold);border-radius:2px;margin:10px 0 18px}
.f-p{font-size:.81rem;line-height:1.75;color:#8b929b;font-family:'Inter',sans-serif;margin:0 0 12px;max-width:56ch}
.f-p b{color:#c9ced6;font-weight:600}
.f-col{border-left:1px solid rgba(255,255,255,.07);padding-left:26px}
.f-h{font-size:.65rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-family:'Quicksand',sans-serif;margin:0 0 12px}
.f-credit{font-size:.79rem;line-height:1.7;color:#8b929b;font-family:'Inter',sans-serif;margin:0 0 10px}
.f-credit a{color:#e6e9ee;text-decoration:underline;text-underline-offset:2px}
.f-community{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.f-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:8px;font-size:.72rem;font-weight:700;text-decoration:none;color:#fff;font-family:'Quicksand',sans-serif}
.f-btn-dc{background:#5865F2}
.f-btn-tg{background:#0088cc}
.f-btn:hover{opacity:.85}
.cineapse-footer-bottom{border-top:1px solid rgba(255,255,255,.07)!important;margin-top:30px!important;padding-top:16px!important;display:block!important}
.f-copy{font-size:.74rem;color:#6f767f;font-family:'Inter',sans-serif;margin:0 0 10px}
.cineapse-footer-nav{display:flex!important;flex-wrap:wrap!important;gap:6px 16px!important}
.cineapse-footer-nav a{font-size:.74rem;color:#8b929b;text-decoration:none}
.cineapse-footer-nav a:hover{color:#fff}
.f-seo{font-size:.71rem;line-height:1.8;color:#646b74;margin:14px 0 0;font-family:'Inter',sans-serif}
.f-seo a{color:#9aa1ab;text-decoration:underline}
@media(max-width:820px){.cineapse-footer-grid{grid-template-columns:1fr!important;gap:26px!important}.f-col{border-left:0!important;padding-left:0!important;border-top:1px solid rgba(255,255,255,.07)!important;padding-top:22px!important}}
.cineapse-footer-main{margin-top:16px!important;padding-top:24px!important}
.ann-bar{display:flex!important;align-items:center!important;gap:10px!important;background:#0d0d0f!important;border:1px solid rgba(255,77,109,.22)!important;border-left:2px solid var(--gold)!important;border-radius:10px!important;padding:8px 10px!important;position:sticky!important;top:64px!important;z-index:30!important}
.ann-tag{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:.6rem!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--gold)!important;flex:none!important;padding-right:10px!important;border-right:1px solid rgba(255,255,255,.1)!important;font-family:'Quicksand',sans-serif!important}
.ann-msgs{flex:1!important;min-width:0!important;position:relative!important;height:19px!important;overflow:hidden!important}
.ann-msg{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:.78rem!important;color:#e6e9ee!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:0!important;transition:opacity .45s ease!important;font-family:'Inter',sans-serif!important}
.ann-msg.on{opacity:1!important}
.ann-msg em{font-style:normal!important;font-size:.66rem!important;color:#7d848e!important;flex:none!important}
.ann-x{flex:none!important;background:none!important;border:0!important;color:#8a8a92!important;font-size:1rem!important;line-height:1!important;cursor:pointer!important;padding:0 2px!important}
@media(max-width:640px){.ann-tag span{display:none!important}.ann-msg em{display:none!important}}
.ann-msgs{height:40px!important}
.ann-bar{padding:6px 10px!important}
.ann-img{flex:none!important;width:27px!important;height:38px!important;object-fit:cover!important;border-radius:5px!important;border:1px solid rgba(255,255,255,.12)!important}
.ann-ico{flex:none!important;width:27px!important;height:38px!important;display:grid!important;place-items:center!important;background:rgba(255,77,109,.12)!important;border-radius:5px!important;color:var(--gold)!important;font-size:.72rem!important}
.ann-txt{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ann-msg{font-size:.76rem!important}
.watch-server-btn .srv-num{font-size:.66rem!important;font-weight:800!important;letter-spacing:.01em!important;line-height:1.15!important;text-align:center!important;white-space:nowrap!important}
.watch-server-btn .srv-q{display:block!important;font-size:.5rem!important;font-weight:700!important;color:#7d848e!important;line-height:1.15!important;margin-top:2px!important;white-space:nowrap!important;text-align:center!important;letter-spacing:.01em!important}
.watch-server-btn.is-active .srv-q{color:#f7e3a8!important}
.d-imdb{display:inline-flex;align-items:center;gap:5px;font-size:.66rem;font-weight:800;color:#f5c518;background:rgba(245,197,24,.1);border:1px solid rgba(245,197,24,.32);border-radius:5px;padding:2px 6px;letter-spacing:.02em}
.d-imdb b{font-weight:900}
.d-imdb i{font-style:normal;font-size:.58rem;color:#a8996b;font-weight:600}

/* ===== robustness: cheap devices, small screens, long titles ===== */
img, video { max-width: 100%; }
.cineapse-card-title, .cineapse-card-meta, .detail-hero-content h1,
.detail-episodes-grid h4, .cineapse-row-title, .watch-controls-bar span,
.watch-server-btn span, .watch-ep-btn span {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.cineapse-card-title, .detail-episodes-grid h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cineapse-card-meta, .watch-server-btn span, .watch-ep-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.watch-server-btn, .watch-ep-btn, .cineapse-pill, .cineapse-row-title { flex-shrink: 0; }
.detail-episodes-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (max-width: 480px) {
  .cineapse-card-title { font-size: 0.8rem; line-height: 1.25; }
  .cineapse-card-meta { font-size: 0.68rem; }
  .cineapse-row-title { font-size: 1.05rem; }
  .detail-hero-content h1 { font-size: clamp(1.15rem, 5.5vw, 1.5rem); line-height: 1.2; }
}
@media (max-width: 640px) {
  .detail-episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .detail-poster-box { width: 120px !important; }
  .detail-hero-content { gap: 16px !important; }
}

/* ===== server + episode box fitting ===== */
.watch-container .watch-server-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0 0 14px!important}
.watch-container .watch-server-btn{padding:9px 8px!important;min-height:52px!important;min-width:0!important;width:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;overflow:hidden!important}
.watch-container .watch-server-btn span{white-space:normal!important;overflow:hidden!important;display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.2!important;text-align:center!important}
@media (max-width:380px){.watch-container .watch-server-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.watch-container .watch-server-btn span{font-size:.58rem!important}}

/* ===== server cards: uniform, no spill ===== */
.watch-container .watch-server-btn{justify-content:center!important;align-items:center!important;min-height:38px!important;padding:9px 8px!important;gap:0!important;overflow:hidden!important;font-size:.7rem!important}
.watch-container .watch-server-btn span:first-of-type{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-height:none!important;font-size:.7rem!important;line-height:1.25!important;text-align:center!important;max-width:100%!important}
.watch-container .watch-server-btn span:last-of-type{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:.55rem!important;line-height:1.25!important;max-width:100%!important;opacity:.72!important;text-align:center!important}
@media (max-width:560px){.watch-container .watch-server-btn{min-height:44px!important;padding:6px 5px!important}.watch-container .watch-server-btn span:first-of-type{font-size:.64rem!important}.watch-container .watch-server-btn span:last-of-type{font-size:.5rem!important}}

/* ===== episode tiles: chip gets its own row ===== */

/* ===== detail episode cards: full width on phones ===== */
@media (max-width:640px){
  .detail-episodes-grid{grid-template-columns:1fr!important;gap:12px!important}
  .detail-episodes-grid > div > div:last-child > div{flex-wrap:wrap!important;gap:6px 10px!important}
  .detail-episodes-grid > div > div:last-child h4{font-size:.88rem!important}
}
.detail-episodes-grid > div > div:first-child > div[style*="top:8px"]{font-size:.6rem!important;padding:2px 7px!important}

/* ===== global: no grid crushes its text on a narrow screen ===== */
.phone-drama-grid,.steps-grid,.drama-showcase-grid,
[style*="repeat(4, 1fr)"],[style*="repeat(3, 1fr)"],[style*="repeat(6, 1fr)"],
[style*="minmax(170px"]{min-width:0!important}
.phone-drama-grid>*,.steps-grid>*,.drama-showcase-grid>*,
[style*="repeat(4, 1fr)"]>*,[style*="repeat(3, 1fr)"]>*,[style*="repeat(6, 1fr)"]>*,
[style*="minmax(170px"]>*{min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important}
@media (max-width:560px){
  .phone-drama-grid,.steps-grid,.drama-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="repeat(4, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="repeat(6, 1fr)"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  [style*="minmax(170px"]{grid-template-columns:repeat(auto-fill,minmax(min(100%,130px),1fr))!important}
}
@media (max-width:380px){
  [style*="repeat(3, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ===== ep tiles: flow, no absolute overlap ===== */
/* ================= EPISODE TILE COMPONENT (single source) ================= */
.ep-tile{position:relative!important;height:auto!important;min-height:66px!important;padding:15px 4px 6px!important;border-radius:10px!important;text-decoration:none!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;overflow:hidden!important;transition:background .2s,border-color .2s!important}
.ep-tile:not(.is-current):hover{background:#1a1a1a!important;border-color:rgba(255,255,255,.4)!important}
.ep-tile>span{position:static!important;display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;line-height:1.15!important}
.ep-tile__label{font-size:.5rem!important;letter-spacing:.05em!important;opacity:.55!important;text-transform:uppercase!important}
.ep-tile__badge{position:absolute!important;top:3px!important;left:3px!important;right:3px!important;width:auto!important;font-size:.44rem!important;font-weight:800!important;line-height:1.25!important;padding:1px 2px!important;border-radius:4px!important;background:rgba(229,9,20,.16)!important;color:#ff4d6d!important;opacity:1!important}
.ep-tile__num{font-size:1.02rem!important;font-weight:800!important;line-height:1.1!important}
.ep-tile__sub{font-size:.5rem!important;opacity:.7!important}
@media(max-width:400px){.ep-tile{min-height:62px!important;padding:14px 3px 5px!important}}

/* ================= EPISODE CARD COMPONENT (detail page, single source) ================= */
.ep-card{background:#121212!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:12px!important;overflow:hidden!important;cursor:pointer!important;transition:border-color .25s,transform .25s!important}
.ep-card:hover{border-color:rgba(255,255,255,.35)!important;transform:translateY(-3px)!important}
.ep-card__media{position:relative!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#000!important}
.ep-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.ep-card__ep{position:absolute!important;bottom:8px!important;left:8px!important;background:rgba(0,0,0,.75)!important;padding:2px 8px!important;border-radius:4px!important;font-size:.74rem!important;font-weight:700!important;color:#fff!important;line-height:1.3!important}
.ep-card__badge{position:absolute!important;top:8px!important;right:8px!important;background:rgba(229,9,20,.94)!important;color:#fff!important;padding:3px 9px!important;border-radius:9999px!important;font-size:.68rem!important;font-weight:800!important;letter-spacing:.03em!important;line-height:1.3!important}
.ep-card__body{padding:14px!important}
.ep-card__title{font-size:.92rem!important;font-weight:600!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-family:'Quicksand',sans-serif!important;margin:0!important}
.ep-card__foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:8px!important;font-size:.76rem!important;color:#888!important}
.ep-card__date{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ep-card__dl{flex:0 0 auto!important;padding:4px 10px!important;border-radius:6px!important;background:rgba(16,185,129,.15)!important;border:1px solid rgba(16,185,129,.35)!important;color:#10b981!important;font-size:.72rem!important;font-weight:700!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;gap:4px!important}

.watch-container .watch-episodes-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,88px),1fr))!important;grid-auto-rows:auto!important;align-items:stretch!important;gap:8px!important;width:100%!important}
@media(max-width:400px){.watch-container .watch-episodes-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,78px),1fr))!important;gap:6px!important}}
/* ---- horizontal overflow containment ---- */
html,body{max-width:100%!important;overflow-x:clip!important}
body{position:relative!important}
img,video,iframe,svg{max-width:100%!important}

/* ---- wide content scrolls, never stretches the page ---- */
.cineapse-main,main{min-width:0!important;max-width:100%!important}
table{max-width:100%!important}
div:has(>table){overflow-x:auto!important;max-width:100%!important}

/* ---- compact comment feed ---- */
.community-comments-grid{gap:10px!important}
.community-comment-card{padding:10px 11px!important;gap:5px!important;border-radius:12px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;text-decoration:none!important;box-sizing:border-box!important;min-width:0!important}
.community-comment-card:hover{border-color:rgba(255,77,109,.35)!important}
.cc__top{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important}
.cc__av{width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%!important;object-fit:cover!important;display:block!important;margin-right:2px!important}
.cc__user{font-size:.74rem!important;font-weight:700!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;flex:1 1 auto!important;min-width:0!important;font-family:'Quicksand',sans-serif!important}
.cc__time{font-size:.66rem!important;white-space:nowrap!important;flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:3px!important}
.cc__text{font-size:.78rem!important;line-height:1.4!important;color:#d4d4d8!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;word-break:break-word!important;font-family:'Inter',sans-serif!important}
.cc__meta{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;padding-top:5px!important;border-top:1px solid rgba(255,255,255,.06)!important}
.cc__show{font-size:.68rem!important;color:#ff4d6d!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
.cc__ep{font-size:.66rem!important;color:#8a8a92!important;white-space:nowrap!important;flex:0 0 auto!important;margin-left:auto!important}
@media(max-width:900px){.community-comments-grid{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;gap:10px!important;padding:0 12px 10px!important;margin:0 -12px!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
.community-comments-grid::-webkit-scrollbar{display:none!important}
.community-comment-card{flex:0 0 78%!important;max-width:78%!important;scroll-snap-align:start!important}
.community-comment-card:nth-child(n+4){display:flex!important}}


@media (max-width:480px){#cineapse-navbar>div:last-child{gap:8px!important}#cineapse-navbar button{width:1.9rem!important;height:1.9rem!important}.cineapse-brand-text{font-size:.88rem!important;letter-spacing:.04em!important}}

@media (max-width:480px){#cineapse-navbar>div{flex-wrap:nowrap!important;padding:9px 10px!important}#cineapse-navbar>div:last-child{gap:6px!important}.cineapse-brand-text{font-size:.8rem!important;letter-spacing:.02em!important}#cineapse-navbar button,#cineapse-navbar a[href="/user-panel"],#cineapse-navbar a[href="/app"]{width:1.8rem!important;height:1.8rem!important}}

@media (max-width:480px){#cineapse-navbar button,#cineapse-navbar a[href="/user-panel"],#cineapse-navbar a[href="/app"]{box-sizing:border-box!important;padding:0!important;width:1.9rem!important;height:1.9rem!important;display:flex!important;align-items:center!important;justify-content:center!important}#cineapse-navbar>div>a:first-child>span:first-child{width:1.9rem!important;height:1.9rem!important;border-radius:7px!important}#cineapse-navbar>div>a:first-child{align-items:center!important}}

@media (max-width:480px){.cineapse-brand-text{font-size:1.05rem!important;letter-spacing:.05em!important}}

@media (max-width:480px){.cineapse-brand-text{display:flex!important;align-items:center!important;height:1.9rem!important;line-height:1!important}}

.season-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;width:100%}
.season-btn{padding:7px 12px!important;border-radius:9px!important;background:#121212!important;border:1px solid rgba(255,255,255,.12)!important;color:#a1a1aa!important;font-size:.76rem!important;font-weight:700!important;font-family:Quicksand,sans-serif;text-decoration:none!important;line-height:1.2!important;flex:0 0 auto}
.season-btn.active{background:#ff2a55!important;border-color:#ff2a55!important;color:#fff!important}

.season-row{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;width:100%!important}
.season-btn{display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 2px!important;font-size:.72rem!important;text-align:center!important}
