/* User avatar — prevent first-paint flash */
.avatar-img {
  background: #111;
  object-fit: cover;
  opacity: 1;
}
.avatar-img.loading {
  visibility: hidden;
}

.post-author-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.post-author-meta { flex: 1; min-width: 0; }
.post-author-line { color: #e8e8e8; font-size: 14px; }
.post-author-label { color: #999; margin-right: 4px; }
.post-author-sep { color: #666; margin: 0 6px; }
.post-author-date { color: #888; font-size: 12px; margin-top: 4px; }
.role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.badge-admin { background: #c9a227; color: #1a1a1a; }
.badge-moderator { background: #3d7ea6; color: #fff; }
.badge-team { background: #555; color: #fff; }

.comments-section { border-top: 1px solid rgba(255,255,255,0.08); }
.comments-title { color: #fff; margin-bottom: 20px; }
.comment-textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #eee;
  border-radius: 6px;
}
.comment-login-msg { color: #aaa; padding: 12px 0; }
.comment-login-msg a { color: #c9a227; }
.comments-list { margin-top: 20px; }
.comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-body { flex: 1; }
.comment-author { color: #fff; font-weight: 600; font-size: 14px; }
.comment-role-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.comment-role-badge--admin {
  background: rgba(255, 23, 63, 0.18);
  color: #ff5c7a;
  border: 1px solid rgba(255, 23, 63, 0.35);
}
.comment-date { color: #777; font-size: 12px; }
.comment-text { color: #ccc; margin-top: 6px; font-size: 14px; line-height: 1.5; }
.comment-message { margin-top: 10px; font-size: 13px; }

.kmv-comments-section { margin-top: 8px; }
.kmv-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.kmv-comments-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.kmv-comments-sort {
  min-width: 130px;
  background: #141414;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}
.kmv-comments-guest {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}
.kmv-comments-guest-msg {
  margin: 0 0 16px;
  color: #ddd;
  font-size: 1rem;
  font-weight: 600;
}
.kmv-comments-guest-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.kmv-comments-compose {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.kmv-comments-compose-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.kmv-comments-compose-body { flex: 1; min-width: 0; }
.kmv-comments-textarea {
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 10px;
  resize: vertical;
}
.kmv-comments-compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.kmv-comments-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.kmv-comments-btn-primary {
  background: #ff173f;
  color: #fff;
  border-color: #ff173f;
}
.kmv-comments-btn-ghost {
  background: transparent;
  color: #ddd;
  border-color: rgba(255,255,255,0.18);
}
.kmv-comments-list { margin-top: 8px; }
.kmv-comments-empty { padding: 12px 0 4px; }
.comment-actions { margin-top: 8px; }
.kmv-comments-reply-btn {
  background: none;
  border: none;
  color: #ff5c7a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0;
  cursor: pointer;
}
.comment-replies {
  margin-left: 52px;
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid rgba(255,255,255,0.08);
}
.comment-item--reply { padding-top: 10px; }
.comment-role-badge--member {
  background: rgba(255,255,255,0.08);
  color: #bbb;
  border: 1px solid rgba(255,255,255,0.14);
}

.latest-uploads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.kmv-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.upload-card {
  background: #141414;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.06);
}
.upload-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.upload-card-link { color: inherit; text-decoration: none; display: block; }
.upload-card-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.upload-card-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-card-body { padding: 12px; }
.upload-card-title {
  font-size: 13px;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.upload-card-ep { font-size: 11px; color: #999; margin: 0; }
.upload-card-tags { margin: 0; }
.quality-tag, .lang-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 4px;
  background: rgba(201, 162, 39, 0.2);
  color: #c9a227;
}
.upload-card-time { font-size: 11px; color: #777; margin: 0; }
.upload-card-btn { width: 100%; margin: 0; }

/* Top 30 Latest Uploads — premium Netflix-style KoreanMV cards */
.latest-uploads-section {
  padding-top: 0;
}
.kmv-latest-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 0, 21, 0.25);
}
.kmv-latest-section-head-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.kmv-latest-view-all {
  color: #ff4d5e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.kmv-latest-view-all:hover {
  color: #ff0015;
  text-decoration: underline;
}
.kmv-latest-section-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kmv-latest-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #ff0015;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
}
.kmv-latest-section-sub {
  color: #999;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.latest-uploads-section .kmv-latest-card {
  height: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(160deg, #181818 0%, #101010 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.latest-uploads-section .kmv-latest-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 21, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.latest-uploads-section .kmv-latest-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.latest-uploads-section .kmv-latest-poster {
  position: relative;
  height: 210px;
  flex: 0 0 210px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #0a0a0a;
}
.latest-uploads-section .kmv-latest-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-uploads-carousel.owl-carousel .kmv-latest-poster img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}
.latest-uploads-section .kmv-latest-poster-status {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid;
  line-height: 1.2;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.latest-uploads-section .kmv-latest-poster-status--new {
  color: #fff;
  background: #ff0015;
  border-color: #ff0015;
}
.latest-uploads-section .kmv-latest-poster-premium {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: #ff0015;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.latest-uploads-section .kmv-latest-poster-premium img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
.latest-uploads-section .kmv-latest-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  min-height: 0;
  overflow: hidden;
}
.latest-uploads-section .kmv-latest-title {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  min-height: 34px;
  max-height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.latest-uploads-section .kmv-latest-episode {
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  color: #bdbdbd;
  line-height: 18px;
  height: 18px;
  max-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.latest-uploads-section .kmv-latest-qualities {
  min-height: 26px;
  max-height: 26px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}
.latest-uploads-section .kmv-latest-quality-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  line-height: 1.2;
  background: rgba(255, 0, 21, 0.15);
  color: #ff4d5e;
  border: 1px solid rgba(255, 0, 21, 0.3);
  white-space: nowrap;
}
.latest-uploads-section .kmv-latest-lang-tag {
  background: rgba(201, 162, 39, 0.15);
  color: #c9a227;
  border-color: rgba(201, 162, 39, 0.35);
}
.latest-uploads-section .kmv-latest-pill-tag {
  background: rgba(0, 122, 255, 0.15);
  color: #5b9cff;
  border-color: rgba(0, 122, 255, 0.35);
}
.latest-uploads-section .kmv-latest-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.latest-uploads-section .kmv-latest-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10px;
  line-height: 1.35;
  color: #bdbdbd;
  margin: 0;
}
.latest-uploads-section .kmv-latest-meta-list li i {
  color: #ff0015;
  width: 12px;
  flex: 0 0 12px;
  margin-top: 1px;
  font-size: 10px;
}
.latest-uploads-section .kmv-latest-meta-list li strong {
  color: #888;
  font-weight: 600;
}
.latest-uploads-section .kmv-latest-meta-list li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.latest-uploads-section .kmv-latest-filesize {
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: #aaa;
  line-height: 18px;
  height: 18px;
  max-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.latest-uploads-section .kmv-latest-date {
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: #777;
  line-height: 18px;
  height: 18px;
  max-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.latest-uploads-section .kmv-latest-button {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 4px;
}
.latest-uploads-section .kmv-latest-action-btn {
  width: 100%;
  margin: 0;
  display: block;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 5px;
  background: #2563eb;
  border: 1px solid #3b82f6;
  color: #fff;
  line-height: 1.3;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.latest-uploads-section .kmv-latest-card:hover .kmv-latest-action-btn {
  background: #1d4ed8;
  border-color: #2563eb;
  color: #fff;
}
/* Latest Uploads — 3 rows per viewport (desktop 4×3 = 12 visible per page) */
.kmv-latest-page {
  width: 100%;
}
.kmv-latest-page-grid,
.kmv-latest-static-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 18px;
  width: 100%;
}
.latest-uploads-carousel.owl-carousel {
  width: 100%;
}
.latest-uploads-carousel .owl-stage-outer {
  overflow: hidden;
  height: auto !important;
}
.latest-uploads-carousel .owl-stage {
  display: flex;
  align-items: flex-start;
}
.latest-uploads-carousel .owl-item {
  width: 100% !important;
  display: block;
}
.latest-uploads-carousel .kmv-latest-page {
  padding: 0;
}
.latest-uploads-carousel .kmv-latest-card,
.latest-uploads-grid .kmv-latest-card,
.kmv-latest-page-grid .kmv-latest-card {
  height: 520px;
}
.kmv-latest-carousel-wrap .platform-home-carousel .owl-nav {
  top: 50%;
}
.latest-uploads-carousel.owl-carousel .owl-dots {
  display: block !important;
  margin-top: 18px;
  text-align: center;
}
.latest-uploads-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px 5px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.latest-uploads-carousel .owl-dot.active span,
.latest-uploads-carousel .owl-dot:hover span {
  background: #ff0015;
  transform: scale(1.15);
}
/* Homepage platform carousels — arrows outside cards (Netflix-style) */
.platform-carousel-wrap {
  position: relative;
  overflow: visible;
}
.latest-uploads-section.layout-slider .platform-carousel-wrap,
.latest-uploads-section.layout-carousel .platform-carousel-wrap,
.weekly-uploads-section.layout-slider .platform-carousel-wrap,
.weekly-uploads-section.layout-carousel .platform-carousel-wrap {
  padding-left: 56px;
  padding-right: 56px;
}
.platform-carousel-wrap .platform-home-carousel.owl-carousel {
  position: relative;
  overflow: visible;
}
.platform-carousel-wrap .platform-home-carousel .owl-stage-outer {
  overflow: hidden;
}
.platform-carousel-wrap .platform-home-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 20;
}
.platform-carousel-wrap .platform-home-carousel .owl-prev,
.platform-carousel-wrap .platform-home-carousel .owl-next {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #ff0015 !important;
  border: 1px solid #ff0015 !important;
  color: #fff !important;
  line-height: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.platform-carousel-wrap .platform-home-carousel .owl-prev {
  left: -25px;
}
.platform-carousel-wrap .platform-home-carousel .owl-next {
  right: -25px;
}
.platform-carousel-wrap .platform-home-carousel .owl-prev:hover,
.platform-carousel-wrap .platform-home-carousel .owl-next:hover {
  background: #e60012 !important;
  border-color: #e60012 !important;
  box-shadow: 0 0 18px rgba(255, 0, 21, 0.65), 0 2px 12px rgba(0, 0, 0, 0.35);
}
.platform-carousel-wrap .platform-home-carousel .owl-prev i,
.platform-carousel-wrap .platform-home-carousel .owl-next i {
  font-size: 20px !important;
  line-height: 1 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .latest-uploads-section.layout-slider .platform-carousel-wrap,
  .latest-uploads-section.layout-carousel .platform-carousel-wrap,
  .weekly-uploads-section.layout-slider .platform-carousel-wrap,
  .weekly-uploads-section.layout-carousel .platform-carousel-wrap {
    padding-left: 44px;
    padding-right: 44px;
    overflow: hidden;
  }
  .platform-carousel-wrap .platform-home-carousel .owl-prev {
    left: 4px;
  }
  .platform-carousel-wrap .platform-home-carousel .owl-next {
    right: 4px;
  }
  .platform-carousel-wrap .platform-home-carousel .owl-prev,
  .platform-carousel-wrap .platform-home-carousel .owl-next {
    width: 40px;
    height: 40px;
  }
}

.latest-uploads-list .upload-card-list .upload-card-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.latest-uploads-list .upload-card-list .upload-card-poster {
  width: 100px;
  aspect-ratio: 2/3;
  flex-shrink: 0;
}
.latest-uploads-list .upload-card-list .upload-card-body { flex: 1; }

.weekly-uploads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.weekly-uploads-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.weekly-uploads-head h3 { margin: 0 0 16px; }
.weekly-upload-card {
  background: #141414;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 21, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.weekly-upload-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 0, 21, 0.45);
}
.weekly-upload-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.weekly-upload-card-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #0d0d0d;
}
.weekly-upload-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.weekly-upload-status {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
  line-height: 1.2;
  max-width: calc(100% - 16px);
  text-align: center;
}
.weekly-upload-extra-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
}
.weekly-upload-card-body { padding: 12px; }
.weekly-upload-card-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.weekly-upload-card-ep {
  margin: 0 0 8px;
  color: #c9a227;
  font-size: 11px;
  font-weight: 600;
}
.weekly-upload-card-note {
  margin: 0 0 8px;
  color: #aaa;
  font-size: 11px;
  line-height: 1.35;
}
.weekly-upload-quality-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.weekly-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}
.weekly-quality-badge em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.85;
  text-transform: none;
}
.weekly-quality-badge.badge-1080 {
  background: rgba(255, 0, 21, 0.18);
  color: #ff4d5e;
  border: 1px solid rgba(255, 0, 21, 0.35);
}
.weekly-quality-badge.badge-720 {
  background: rgba(201, 162, 39, 0.18);
  color: #c9a227;
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.weekly-quality-badge.badge-4k {
  background: rgba(175, 82, 222, 0.18);
  color: #bf5af2;
  border: 1px solid rgba(175, 82, 222, 0.35);
}
.weekly-uploads-carousel .weekly-upload-card { margin: 0 8px; }
.weekly-upload-card-slide { min-height: 100%; }

.weekly-card {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  transition: border-color 0.2s;
}
.weekly-card:hover { border-color: rgba(201, 162, 39, 0.4); }
.weekly-card-poster {
  width: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.weekly-card-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.weekly-card-content { flex: 1; min-width: 0; }
.weekly-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.weekly-card-head h4 {
  margin: 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
}
.weekly-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-uploaded { background: #2d6a4f; color: #fff; }
.status-uploading { background: #3d7ea6; color: #fff; }
.status-coming-soon { background: #6c5ce7; color: #fff; }
.status-delayed { background: #c0392b; color: #fff; }
.weekly-ep { font-size: 12px; color: #aaa; margin: 4px 0; }
.weekly-note { font-size: 12px; color: #c9a227; margin: 6px 0; }
.weekly-sizes { font-size: 11px; color: #888; }
.weekly-sizes span { display: inline-block; margin-right: 10px; }
.weekly-tags { font-size: 11px; color: #c9a227; margin: 4px 0; }
.weekly-lang { font-size: 12px; color: #999; margin: 4px 0; }
.weekly-date { font-size: 11px; color: #666; margin: 6px 0 10px; }

@media (max-width: 991px) {
  .latest-uploads-grid,
  .kmv-latest-grid,
  .kmv-latest-page-grid,
  .kmv-latest-static-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .latest-uploads-grid,
  .kmv-latest-grid,
  .kmv-latest-page-grid,
  .kmv-latest-static-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .latest-uploads-section .kmv-latest-card,
  .kmv-latest-page-grid .kmv-latest-card {
    height: auto;
    min-height: 480px;
  }
  .latest-uploads-section .kmv-latest-poster {
    height: 190px;
    flex: 0 0 190px;
  }
}
/* Top 30 Latest Uploads — mobile carousel page */
@media (max-width: 767px) {
  .top-30-latest-uploads.layout-slider .platform-carousel-wrap,
  .top-30-latest-uploads.layout-carousel .platform-carousel-wrap {
    padding-left: 8px;
    padding-right: 8px;
  }

  .top-30-latest-uploads .latest-uploads-carousel .owl-item,
  .top-30-latest-uploads .kmv-latest-page {
    width: 100% !important;
  }

  .top-30-latest-uploads .kmv-latest-page-grid,
  .top-30-latest-uploads .kmv-latest-static-grid,
  .top-30-latest-uploads .latest-uploads-grid,
  .top-30-latest-uploads .kmv-latest-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .top-30-latest-uploads .kmv-latest-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .top-30-latest-uploads .kmv-latest-poster {
    width: 100% !important;
    height: 210px !important;
    flex: 0 0 210px !important;
  }

  .top-30-latest-uploads .kmv-latest-poster img {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
  }

  .top-30-latest-uploads .kmv-latest-content {
    min-width: 0;
    overflow: hidden;
  }

  .top-30-latest-uploads .kmv-latest-title,
  .top-30-latest-uploads .kmv-latest-episode,
  .top-30-latest-uploads .kmv-latest-meta-list li span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-30-latest-uploads .kmv-latest-button {
    margin-top: auto;
  }

  .top-30-latest-uploads .kmv-latest-action-btn {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .latest-uploads-grid,
  .kmv-latest-grid { gap: 10px; }
  .weekly-uploads-grid-wrap { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .weekly-updates-card-head { flex-direction: column; align-items: flex-start; }
  .weekly-updates-view-all-btn { align-self: flex-end; }
  .weekly-card { flex-direction: column; }
  .weekly-card-poster { width: 100%; max-height: 200px; }
}

/* KoreanMV homepage layout */
.homepage-platform-row { padding-top: 0; }
.homepage-main-col .platform-section { padding-left: 0; padding-right: 0; }
.homepage-main-col .latest-uploads-section.layout-slider,
.homepage-main-col .latest-uploads-section.layout-carousel,
.homepage-main-col .weekly-uploads-section.layout-slider,
.homepage-main-col .weekly-uploads-section.layout-carousel {
  overflow: visible;
}
.homepage-platform-row,
.homepage-platform-row .homepage-main-col {
  overflow: visible;
}
.homepage-sidebar-col { padding-top: 10px; }
@media (min-width: 992px) {
  .homepage-platform-row-top,
  .homepage-platform-row-bottom,
  .homepage-platform-row > .container-fluid > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .homepage-platform-row .homepage-main-col.col-lg-8 {
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 270px);
    min-width: 0;
  }
  .homepage-platform-row .homepage-sidebar-col.col-lg-4 {
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
    padding-left: 14px;
  }
  .homepage-platform-row .homepage-sidebar-col .sidebar-widget {
    width: 100%;
    max-width: 270px;
    box-sizing: border-box;
  }
  .homepage-platform-row .homepage-sidebar-col .trending-sidebar-meta {
    min-width: 0;
    flex: 1;
  }
  .homepage-platform-row .homepage-sidebar-col .trending-sidebar-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.latest-uploads-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.latest-uploads-head h3 { margin: 0; }
.section-subtitle-right {
  color: #999;
  font-size: 13px;
  font-style: italic;
}
.upload-author-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 162, 39, 0.8);
  background: #111;
}
.upload-author-badge img { width: 100%; height: 100%; object-fit: cover; }

/* Announcements card — matches Weekly Updates theme */
/* Homepage top stack: Hero → Announcements → Weekly Updates */
.kmv-home-top-stack {
  max-width: 100%;
}
.kmv-home-top-stack .kmv-home-top-card {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0;
}
.kmv-home-top-stack .kmv-home-top-card .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.kmv-home-top-stack .announcements-feed,
.kmv-home-top-stack .weekly-updates-feed {
  margin-top: 20px;
}
.kmv-home-top-stack .announcements-card,
.kmv-home-top-stack .weekly-updates-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
/* Homepage vertical rhythm — 20px gaps between major sections (outside cards only) */
.kmv-home-top-stack .announcements-feed,
.kmv-home-top-stack .weekly-updates-feed,
.homepage-platform-row,
.community-topics-section,
.homepage-platform-row-extra {
  margin-bottom: 20px;
  padding-top: 0;
  padding-bottom: 0;
}
.community-topics-section {
  clear: both;
  width: 100%;
  margin-top: 0;
}
@media (min-width: 992px) {
  .homepage-main-col--latest .community-topics-section {
    margin-top: 12px;
  }
}
@media (max-width: 991px) {
  .homepage-main-col--latest .community-topics-section {
    margin-top: 20px;
  }
}
.community-topics-section > .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.community-topics-section .community-topics-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.kmv-home-lower-sections > .video-carousel-area,
.kmv-home-lower-sections > .video-shows-section,
.kmv-home-lower-sections > .video-shows-section.vfx-item-ptb {
  margin-top: 20px;
  padding-top: 0;
}
.kmv-home-lower-sections > :first-child {
  margin-top: 0;
}
.homepage-sidebar-col--stack {
  padding-top: 0;
}
.homepage-sidebar-col--stack .sidebar-widget + .sidebar-widget {
  margin-top: 14px;
}
.homepage-platform-row-extra {
  margin-top: 0;
}
.announcements-empty,
.weekly-updates-empty,
.community-topics-empty {
  margin: 0;
  padding: 14px 18px;
  color: #9a9a9a;
  font-size: 14px;
}

/* Community Topics card — below Top 30 Latest Uploads (main column) */
.kmv-home-community-after-latest {
  margin-top: 14px;
  margin-bottom: 14px;
}
.kmv-home-community-after-latest .community-topics-sidebar {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.announcements-feed { padding-bottom: 0; padding-top: 0; }
.announcements-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.announcements-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 0, 21, 0.35);
}
.announcements-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.announcements-card-title h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.announcements-icon {
  color: #ff0015;
  font-size: 22px;
  flex-shrink: 0;
}
.announcements-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 0, 21, 0.65);
  border-radius: 4px;
  background: rgba(255, 0, 21, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.announcements-view-all-btn:hover {
  background: #ff0015;
  border-color: #ff0015;
  color: #fff;
  text-decoration: none;
}
.announcements-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.announcements-list-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.announcements-list-item:last-child { border-bottom: none; }
.announcements-list-item.announcement-important {
  background: rgba(255, 0, 21, 0.06);
}
.announcements-line,
a.announcements-line,
span.announcements-line {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
a.announcements-line:hover {
  background: rgba(255, 0, 21, 0.08);
  color: #fff;
  text-decoration: none;
}
.announcements-line-main {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}
.announcements-bullet {
  color: #ff0015;
  font-size: 18px;
  line-height: 1.2;
  flex: 0 0 auto;
}
.announcements-line-text {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  word-break: break-word;
}
.announcements-line-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.announcements-inline-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  white-space: normal;
  line-height: 1.3;
}
@media (max-width: 576px) {
  .announcements-card-head { flex-direction: column; align-items: flex-start; }
  .announcements-view-all-btn { align-self: flex-end; }
  .announcements-line,
  a.announcements-line,
  span.announcements-line { flex-wrap: wrap; align-items: flex-start; }
}

.weekly-updates-feed { padding-bottom: 0; padding-top: 0; }

.weekly-updates-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.weekly-updates-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 0, 21, 0.35);
}
.weekly-updates-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.weekly-updates-card-title h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.weekly-updates-megaphone {
  color: #ff0015;
  font-size: 22px;
  flex-shrink: 0;
}
.weekly-updates-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 0, 21, 0.65);
  border-radius: 4px;
  background: rgba(255, 0, 21, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.weekly-updates-view-all-btn:hover {
  background: #ff0015;
  border-color: #ff0015;
  color: #fff;
  text-decoration: none;
}
.weekly-updates-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.weekly-updates-list-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.weekly-updates-list-item:last-child { border-bottom: none; }
.weekly-updates-line,
a.weekly-updates-line,
span.weekly-updates-line {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
a.weekly-updates-line:hover {
  background: rgba(255, 0, 21, 0.08);
  color: #fff;
  text-decoration: none;
}
.weekly-updates-line-main {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
}
.weekly-updates-bullet {
  color: #ff0015;
  font-size: 18px;
  line-height: 1.2;
  flex: 0 0 auto;
}
.weekly-updates-line-text {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  word-break: break-word;
}
.weekly-updates-line-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  align-self: center;
}
.weekly-updates-line-badge .content-pills-wrap {
  margin: 0;
}
.weekly-updates-inline-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 576px) {
  .weekly-updates-line,
  a.weekly-updates-line,
  span.weekly-updates-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}
.weekly-updates-empty {
  margin: 0;
  padding: 18px;
  color: #888;
  font-size: 14px;
}

/* Community Topics card — matches Weekly Updates theme */
.community-topics-feed { padding-bottom: 0; padding-top: 0; }
.community-topics-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.community-topics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 0, 21, 0.35);
}
.community-topics-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.community-topics-card-title h3,
.community-topics-card-title h2.community-requests-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.community-topics-icon {
  color: #ff0015;
  font-size: 22px;
  flex-shrink: 0;
}
.community-topics-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 0, 21, 0.65);
  border-radius: 4px;
  background: rgba(255, 0, 21, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.community-topics-view-all-btn:hover {
  background: #ff0015;
  border-color: #ff0015;
  color: #fff;
  text-decoration: none;
}
.community-topics-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.community-topics-list-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.community-topics-list-item:last-child { border-bottom: none; }
.community-topics-line,
a.community-topics-line {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #e8e8e8;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
a.community-topics-line:hover {
  background: rgba(255, 0, 21, 0.08);
  color: #fff;
  text-decoration: none;
}
.community-topics-line-main {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}
.community-topics-bullet {
  color: #ff0015;
  font-size: 18px;
  line-height: 1.2;
  flex: 0 0 auto;
}
.community-topics-line-text {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  word-break: break-word;
}
.community-topics-line-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.community-topics-approved-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #22c55e;
  border-radius: 4px;
  color: #22c55e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.community-topics-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #f59e0b;
  border-radius: 4px;
  color: #f59e0b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.community-topics-line--locked {
  cursor: default;
  opacity: 0.92;
}
.community-topics-list-item.is-pending .community-topics-line--locked:hover {
  background: transparent;
}
.community-topics-line-meta {
  flex: 1 1 100%;
  color: #9a9a9a;
  font-size: 12px;
  padding-left: 26px;
}
.community-topics-empty {
  margin: 0;
  padding: 14px 18px;
  color: #9a9a9a;
  font-size: 14px;
}
.community-topics-page .community-topics-card--page {
  max-width: 100%;
}
.community-topics-pagination {
  padding: 12px 18px 16px;
}
@media (max-width: 576px) {
  .community-topics-card-head { flex-direction: column; align-items: flex-start; }
  .community-topics-view-all-btn { align-self: flex-end; }
  .community-topics-line,
  a.community-topics-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.community-requests-home.platform-section {
  padding: 24px 0 8px;
}

.community-requests-home .community-topics-empty {
  padding: 16px 18px;
  margin: 0;
}

/* Community Requests — homepage table/list */
.community-requests-home .cr-table-wrap {
  padding: 0;
}

.community-requests-home .cr-table {
  width: 100%;
}

.cr-table-head {
  display: grid;
  grid-template-columns: 92px minmax(180px, 1.4fr) minmax(110px, 0.9fr) minmax(120px, 0.9fr) minmax(150px, 1fr) minmax(170px, 1fr);
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.cr-table-head .cr-table-cell {
  color: #888;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cr-table-body {
  display: flex;
  flex-direction: column;
}

.cr-table-row {
  display: grid;
  grid-template-columns: 92px minmax(180px, 1.4fr) minmax(110px, 0.9fr) minmax(120px, 0.9fr) minmax(150px, 1fr) minmax(170px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease;
}

.cr-table-row:last-child {
  border-bottom: none;
}

.cr-table-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cr-table-cell {
  min-width: 0;
  color: #ddd;
  font-size: 13px;
  line-height: 1.4;
}

.cr-table-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cr-table-type-badge--type-show {
  background: #f5f5f5;
}

.cr-table-type-badge--type-anime {
  background: #eef4ff;
}

.cr-table-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.cr-table-meta-line {
  color: #cfcfcf;
}

.cr-table-meta-label {
  color: #777;
}

.cr-table-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #999;
  font-size: 12px;
  white-space: nowrap;
}

.cr-table-date i {
  color: #666;
}

.cr-table-status-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cr-table-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.cr-table-status-badge--pending {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.55);
}

.cr-table-status-badge--uploaded {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.55);
}

.cr-table-status-badge--rejected {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.45);
}

.cr-table-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(46, 204, 113, 0.65);
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.cr-table-watch-btn:hover {
  background: rgba(46, 204, 113, 0.22);
  color: #fff;
  text-decoration: none;
}

.cr-table-foot {
  display: flex;
  justify-content: center;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 991px) {
  .cr-table-head {
    display: none;
  }

  .cr-table-body {
    gap: 0;
    padding: 8px 12px 12px;
  }

  .cr-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 14px 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
  }

  .cr-table-row:last-child {
    margin-bottom: 0;
  }

  .cr-table-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 0, 21, 0.25);
  }

  .cr-table-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cr-table-cell--type {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .cr-table-cell--title {
    margin-top: -4px;
  }

  .cr-table-cell--status {
    align-items: stretch;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .cr-table-status-actions {
    justify-content: flex-start;
  }

  .cr-table-cell--title .cr-table-title {
    font-size: 16px;
  }
}

/* Community Request premium cards — profile / my requests */
.community-requests-home .cr-request-cards-grid {
  display: none;
}

.cr-request-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 14px 18px 18px;
}
.cr-request-card {
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));
  border: 1px solid rgba(255, 0, 21, 0.55);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cr-request-card:hover {
  transform: translateY(-2px);
  border-color: #ff0015;
  box-shadow: 0 12px 28px rgba(255, 0, 21, 0.12);
}
.cr-request-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.cr-request-type-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cr-request-type-badge--type-movie { border-color: rgba(255, 0, 21, 0.45); }
.cr-request-type-badge--type-show { border-color: rgba(255, 140, 0, 0.45); }
.cr-request-type-badge--type-anime { border-color: rgba(120, 180, 255, 0.45); }
.cr-request-status-line {
  margin: 0 0 8px;
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cr-request-status-line .cr-request-status-badge {
  margin: 0;
}
.cr-request-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.cr-request-status-badge--pending {
  color: #1a1400;
  background: linear-gradient(135deg, #ffc107, #ff9800);
}
.cr-request-status-badge--uploaded {
  color: #fff;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}
.cr-request-status-badge--rejected {
  color: #fff;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.cr-request-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.cr-request-year {
  color: #bbb;
  font-weight: 600;
}
.cr-request-meta {
  margin: 0 0 6px;
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.4;
}
.cr-request-meta-label {
  color: #888;
}
.cr-request-hint {
  margin: 10px 0 0;
  color: #ffb347;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cr-request-hint--uploaded {
  color: #7dffb0;
}
.cr-request-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 0, 21, 0.65);
  border-radius: 4px;
  background: rgba(255, 0, 21, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cr-request-watch-btn:hover {
  background: #ff0015;
  border-color: #ff0015;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 576px) {
  .community-requests-home .cr-request-cards-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.cr-request-cards-grid--profile {
  margin-top: 16px;
}
.cr-user-notifications {
  margin-bottom: 16px;
}
.cr-user-notification {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.45);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.cr-user-notification p {
  margin: 0 0 8px;
  color: #dfffe8;
  font-size: 14px;
}

.weekly-updates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.weekly-updates-board {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 0;
}
.weekly-update-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.weekly-update-item:last-child { border-bottom: none; }
.weekly-update-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.weekly-update-link {
  color: #e8e8e8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.weekly-update-link:hover { color: #c9a227; }
.weekly-update-text { color: #e8e8e8; font-size: 14px; }
.weekly-update-desc { color: #888; font-size: 12px; margin: 4px 0 0; }

.content-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 6px 0 8px;
}
.content-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.content-pill i { font-size: 10px; }
.weekly-update-item .content-pills-wrap {
  flex-shrink: 0;
  margin: 0;
  max-width: 220px;
}
.upload-card-body .content-pills-wrap,
.weekly-card-content .content-pills-wrap,
.trending-sidebar-meta .content-pills-wrap {
  margin-top: 4px;
}
.latest-uploads-section .kmv-latest-qualities .content-pills-wrap {
  margin-top: 0;
}
.splide-slider-details-area .content-pills-wrap {
  margin: 10px 0 14px;
}

.sidebar-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

/* Red outline card shell — matches Weekly Updates / Announcements */
.trending-sidebar-block.sidebar-widget,
.recent-comments-sidebar.sidebar-widget {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.sidebar-widget-head h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
}
.trending-sidebar-list,
.recent-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trending-sidebar-item { margin-bottom: 12px; }
.trending-sidebar-link {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.trending-sidebar-link:hover { opacity: 0.85; }
.trending-sidebar-poster {
  width: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.trending-sidebar-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.trending-sidebar-title {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
}
.trending-sidebar-ep { color: #999; font-size: 11px; }

.recent-comment-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.recent-comment-item:last-child { border-bottom: none; }
.recent-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.recent-comment-author { color: #fff; font-size: 13px; font-weight: 600; }
.recent-comment-text { color: #aaa; font-size: 12px; margin: 4px 0; line-height: 1.4; }
.recent-comment-time { color: #666; font-size: 11px; }

.platform-hero-slider .splide-slide-inner { position: relative; }
.platform-hero-slider .splide-slide-bg {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.platform-hero-slider .slider-subtitle {
  font-size: 18px;
  color: #c9a227;
  margin: 8px 0;
  font-weight: 500;
}
.platform-hero-slider .slider-description {
  color: #ccc;
  font-size: 14px;
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.platform-hero-slider .slider-action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.weekly-uploads-carousel .weekly-card { margin: 0 8px; }
.weekly-card-slide { min-height: 100%; }

/* Who's Online — premium full-width card */
.whos-online-section {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 0;
  padding-bottom: 0;
}
.whos-online-section > .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.whos-online-card-premium {
  position: relative;
  overflow: hidden;
  border: 2px solid #ff0015;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(20, 8, 28, 0.92), rgba(8, 6, 16, 0.98)),
    radial-gradient(circle at top right, rgba(120, 40, 160, 0.18), transparent 55%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.whos-online-card-premium-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 0, 21, 0.28);
}
.whos-online-card-premium-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.whos-online-card-premium-title h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.whos-online-live-dot {
  color: #ff0015;
  font-size: 10px;
  animation: whos-online-pulse 1.8s ease-in-out infinite;
}
@keyframes whos-online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}
.whos-online-card-premium-body {
  padding: 14px 18px 16px;
}
.whos-online-summary-line,
.whos-online-total-line {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}
.whos-online-total-line {
  margin-bottom: 0;
}
.whos-online-summary-label,
.whos-online-total-label {
  color: #fff;
  font-weight: 700;
  margin-right: 6px;
}
.whos-online-summary-value,
.whos-online-total-value {
  color: #d8d8d8;
  font-weight: 600;
}
.whos-online-total-value {
  color: #ff4d5e;
}
.whos-online-names-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.whos-online-names {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}
.whos-online-names-full {
  max-height: 360px;
  overflow-y: auto;
}
.whos-online-name {
  font-weight: 600;
}
.whos-online-sep {
  color: #888;
  font-weight: 400;
}
.whos-online-role-admin { color: #ff4d4d; }
.whos-online-role-moderator { color: #3ddc84; }
.whos-online-role-premium { color: #d4af37; }
.whos-online-role-registered { color: #5b9cff; }
.whos-online-role-plain { color: #ddd; }
.whos-online-more-row {
  margin-top: 8px;
}
.whos-online-view-full-btn {
  background: transparent;
  border: 1px solid rgba(255, 0, 21, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.whos-online-view-full-btn:hover {
  color: #fff;
  border-color: #ff0015;
  background: rgba(255, 0, 21, 0.12);
}
.whos-online-card-premium-footer {
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 21, 0.15), #ff0015, rgba(255, 0, 21, 0.15));
  box-shadow: 0 0 14px rgba(255, 0, 21, 0.35);
}
.whos-online-summary-line-modal,
.whos-online-total-line-modal {
  margin-bottom: 12px;
}
.whos-online-modal .modal-content {
  background: linear-gradient(145deg, rgba(20, 8, 28, 0.98), rgba(8, 6, 16, 0.99));
  border: 2px solid #ff0015;
  border-radius: 12px;
  color: #eee;
}
.whos-online-modal .modal-header {
  border-bottom: 1px solid rgba(255, 0, 21, 0.28);
}
.whos-online-modal .btn-close {
  filter: invert(1);
}
@media (max-width: 576px) {
  .whos-online-card-premium-head,
  .whos-online-card-premium-body {
    padding-left: 14px;
    padding-right: 14px;
  }
  .whos-online-summary-line,
  .whos-online-total-line {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .homepage-platform-row > .container-fluid > .row {
    display: block;
  }
  .homepage-platform-row .homepage-main-col.col-lg-8,
  .homepage-platform-row .homepage-sidebar-col.col-lg-4 {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .homepage-sidebar-col { margin-top: 10px; }
  .homepage-sidebar-col .sidebar-widget {
    max-width: none;
  }
  .latest-uploads-head { flex-direction: column; align-items: flex-start; }
}

.video-posts-video .player-area-poster {
  position: relative;
  width: 100%;
  background: #101011;
  overflow: hidden;
}

.video-posts-video .player-area-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-posts-video .embed-responsive.player-area-poster::before {
  padding-top: 56.25%;
}

@media (min-width: 1170px) and (max-width: 1400px) {
  .video-posts-video .embed-responsive.player-area-poster {
    height: 550px;
  }

  .video-posts-video .embed-responsive.player-area-poster::before {
    padding-top: 0;
  }
}

/* Community Movie Uploads */
.community-submit-card {
  background: linear-gradient(145deg, rgba(18, 12, 32, 0.95), rgba(10, 8, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
}
.community-submit-title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.community-submit-notice { color: #b8b8b8; margin-bottom: 20px; }
.community-section-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.community-quality-block {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.community-quality-block h5 { color: #d4af37; margin-top: 0; }
.community-uploads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.community-upload-card {
  background: rgba(18, 12, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.community-upload-card-link { display: block; color: inherit; text-decoration: none; }
.community-upload-poster { position: relative; padding-top: 150%; overflow: hidden; }
.community-upload-poster img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.community-badge-approved,
.community-badge-quality {
  position: absolute;
  top: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.community-badge-approved { left: 8px; background: #3ddc84; color: #000; }
.community-badge-quality { right: 8px; background: #5b9cff; color: #fff; }
.community-upload-body { padding: 10px; }
.community-upload-body h4 { font-size: 13px; color: #fff; margin: 0 0 4px; }
.community-uploader, .community-date { font-size: 11px; color: #888; margin: 0; }
.community-how-it-works-card,
.community-top-contributors-card {
  background: linear-gradient(145deg, rgba(18, 12, 32, 0.95), rgba(10, 8, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.community-how-it-works-card h4,
.community-top-contributors-card h4 { color: #fff; margin-top: 0; }
.community-how-it-works-card ol { color: #ccc; padding-left: 18px; }
.community-contributors-list { list-style: none; padding: 0; margin: 0; }
.community-contributors-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}
.contributor-name { color: #fff; font-weight: 600; font-size: 13px; }
.contributor-stats { color: #888; font-size: 11px; }
@media (max-width: 767px) {
  .community-uploads-grid { grid-template-columns: repeat(2, 1fr); }
}

.community-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.community-topic-card {
  background: linear-gradient(145deg, rgba(18, 12, 32, 0.95), rgba(10, 8, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
}
.community-topic-type {
  font-size: 11px;
  text-transform: uppercase;
  color: #d4af37;
  font-weight: 700;
}
.community-topic-body h4 {
  color: #fff;
  font-size: 15px;
  margin: 8px 0 4px;
}
.community-topic-meta,
.community-topic-user {
  font-size: 12px;
  color: #888;
  margin: 0 0 4px;
}
.community-topic-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 8px;
}
.community-topic-status-approved { background: #5b9cff; color: #fff; }
.community-topic-status-completed { background: #3ddc84; color: #000; }
.community-topic-link { margin-top: 10px; display: inline-block; }

/* General forum card + pages */
.forum-general-card {
  margin-top: 14px;
}

/* Homepage / General index — category rows */
.general-category-list,
.general-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.general-category-item,
.general-post-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.general-category-item:last-child,
.general-post-item:last-child {
  border-bottom: none;
}
.general-category-row,
.general-post-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  color: #e8e8e8;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
a.general-category-row:hover,
a.general-post-row:hover {
  background: rgba(255, 0, 21, 0.09);
  color: #fff;
  text-decoration: none;
}
a.general-category-row:hover .general-category-arrow,
a.general-post-row:hover .general-post-arrow {
  color: #ff0015;
  transform: translateX(3px);
}
.general-category-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 0, 21, 0.12);
  border: 1px solid rgba(255, 0, 21, 0.45);
  color: #ff0015;
  font-size: 18px;
  overflow: hidden;
}
.general-category-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
  background: #0a0a0a;
}
.general-category-body,
.general-post-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.general-category-title,
.general-post-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.general-category-desc,
.general-post-desc {
  color: #b0b0b0;
  font-size: 13px;
  line-height: 1.45;
}
.general-category-posts {
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}
.general-category-last-post {
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.general-category-updated {
  color: #888;
  font-size: 12px;
}
.general-category-arrow,
.general-post-arrow {
  flex: 0 0 auto;
  color: #666;
  font-size: 22px;
  line-height: 1;
  transition: color 0.22s ease, transform 0.22s ease;
}
.general-category-empty,
.general-post-empty {
  padding: 18px 20px;
  color: #9a9a9a;
  font-size: 14px;
}

/* Category listing — post rows */
.general-post-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 21, 0.28);
  background: rgba(0, 0, 0, 0.45);
}
.general-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.general-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: #888;
  font-size: 12px;
}
.general-post-author {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
}
.general-post-author i {
  color: #ff0015;
  font-size: 14px;
}
.general-post-date {
  color: #777;
}
@media (max-width: 576px) {
  .general-category-row,
  .general-post-row {
    padding: 14px 16px;
    gap: 12px;
  }
  .general-category-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .general-post-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 48px;
  }
  .general-category-title,
  .general-post-title {
    font-size: 16px;
  }
  .general-category-arrow,
  .general-post-arrow {
    font-size: 20px;
  }
}

.forum-page {
  padding-bottom: 40px;
}
.forum-card {
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.99));
  border: 2px solid #ff0015;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.forum-card-head {
  padding: 18px 20px 14px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 0, 21, 0.35);
}
.forum-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #9a9a9a;
}
.forum-breadcrumb a {
  color: #d4d4d4;
  text-decoration: none;
}
.forum-breadcrumb a:hover {
  color: #ff0015;
  text-decoration: none;
}
.forum-breadcrumb-sep {
  color: #666;
}
.forum-breadcrumb-current {
  color: #fff;
}
.forum-card-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.forum-card-subtitle {
  margin: 0;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.5;
}
.forum-topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.forum-topic-list-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.forum-topic-list-item:last-child {
  border-bottom: none;
}
.forum-topic-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  color: #e8e8e8;
  text-decoration: none;
  transition: background 0.2s ease;
}
a.forum-topic-row:hover {
  background: rgba(255, 0, 21, 0.08);
  color: #fff;
  text-decoration: none;
}
.forum-topic-row-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 21, 0.25);
  background: rgba(0, 0, 0, 0.45);
}
.forum-topic-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.forum-topic-row-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff0015;
  font-size: 24px;
}
.forum-topic-row-left {
  flex: 1 1 auto;
  min-width: 0;
}
.forum-topic-row-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.forum-topic-row-desc {
  margin: 0 0 8px;
  color: #b8b8b8;
  font-size: 13px;
  line-height: 1.45;
}
.forum-topic-row-meta {
  margin: 0;
  color: #888;
  font-size: 12px;
}
.forum-topic-row-stats {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 72px;
  padding-top: 2px;
}
.forum-topic-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.forum-topic-stat i {
  color: #ff0015;
}
.forum-topic-list-empty {
  padding: 18px 20px;
  color: #9a9a9a;
  font-size: 14px;
}
.forum-pagination {
  padding: 12px 20px 16px;
}
.forum-post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  color: #9a9a9a;
  font-size: 13px;
}
.forum-post-meta-bar i {
  color: #ff0015;
  margin-right: 4px;
}
.forum-post-body {
  padding: 22px 20px;
}
.forum-post-lead {
  margin: 0 0 16px;
  color: #d4d4d4;
  font-size: 15px;
  line-height: 1.6;
}
.forum-post-content {
  color: #e8e8e8;
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}
.forum-post-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.forum-back-link {
  color: #ff0015;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.forum-back-link:hover {
  color: #fff;
  text-decoration: none;
}
.forum-card--detail .forum-card-head {
  border-bottom: none;
  padding-bottom: 0;
}
.forum-post-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.25);
}
.forum-post-hero-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 21, 0.35);
  aspect-ratio: 16 / 10;
  background: #111;
}
.forum-post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.forum-post-hero-body {
  min-width: 0;
}
.forum-post-type-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 0, 21, 0.65);
  border-radius: 4px;
  background: rgba(255, 0, 21, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.forum-card--detail .forum-card-title {
  font-size: 28px;
  margin-bottom: 10px;
}
.forum-card--detail .forum-post-body {
  background: rgba(255, 255, 255, 0.02);
}
.forum-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .forum-post-hero {
    grid-template-columns: 1fr;
  }
  .forum-post-hero-image {
    max-height: 220px;
  }
}
@media (max-width: 576px) {
  .forum-topic-row {
    flex-direction: column;
    gap: 10px;
  }
  .forum-topic-row-stats {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
}

