:root {
  --bg: #0c0d12;
  --panel: #151722;
  --text: #f7f8fd;
  --muted: #a8afcc;
  --accent: #ff2f6d;
  --radius: 16px;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(12, 13, 18, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-main {
  padding-top: var(--header-height);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-brand {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1px;
  font-size: 1.04rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: auto;
  text-align: center;
}

.site-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-brand .custom-logo {
  max-height: 34px;
  max-width: min(44vw, 220px);
  width: auto;
  display: block;
}

.header-left {
  padding-right: 150px;
}

.header-home-btn,
.header-search-btn,
.sidebar-toggle,
.sidebar-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-home-btn:hover,
.header-search-btn:hover,
.sidebar-toggle:hover,
.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.header-home-btn svg,
.header-search-btn svg,
.sidebar-toggle svg,
.sidebar-close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sidebar-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 86vw);
  z-index: 55;
  transform: translateX(-102%);
  transition: transform 0.24s ease;
}

.sidebar-panel.is-open {
  transform: translateX(0);
}

.sidebar-panel-inner {
  height: 100%;
  background: linear-gradient(180deg, #10131d 0%, #0f121b 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  overflow-y: auto;
}

.sidebar-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0.66rem 0.74rem;
  border-radius: 10px;
  margin-bottom: 0.42rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}

.sidebar-menu li a:hover {
  background: rgba(255, 255, 255, 0.11);
}

.menu-item-icon-wrap {
  width: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.96;
}

.menu-item-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.sidebar-widgets {
  margin-top: 1rem;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.45);
}

body.sidebar-open {
  overflow: hidden;
}

body.comments-open {
  overflow: hidden;
}

.search-overlay {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 0.45rem);
  right: 1rem;
  left: auto;
  bottom: auto;
  z-index: 70;
  pointer-events: none;
}

.search-overlay.is-open {
  display: flex;
  pointer-events: auto;
}

.search-overlay[hidden] {
  display: none !important;
}

.search-overlay-inner {
  width: min(520px, calc(100vw - 2rem));
  background: rgba(18, 22, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 0.85rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  transform-origin: right center;
  transform: translateX(18px) scaleX(0.94);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.search-overlay.is-open .search-overlay-inner {
  transform: translateX(0) scaleX(1);
  opacity: 1;
}

.search-overlay-form {
  display: flex;
  gap: 0.55rem;
  width: 100%;
}

.search-overlay-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.72rem;
}

.search-overlay-form button,
.search-overlay-close {
  border: 0;
  border-radius: 12px;
  padding: 0.63rem 0.9rem;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.archive-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.15rem 1rem 1.4rem;
}

.top-viewed-slider-wrap {
  margin-bottom: 1.25rem;
}

.top-viewed-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.top-viewed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-viewed-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-slider-nav-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.top-viewed-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 190px);
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.top-viewed-slider::-webkit-scrollbar {
  display: none;
}

.top-slide-item {
  scroll-snap-align: start;
}

.top-slide-link {
  display: grid;
  gap: 0.45rem;
}

.top-slide-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
}

.top-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-slide-views {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.23rem 0.44rem;
  font-size: 0.74rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
}

.top-slide-link h3 {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-header {
  margin-bottom: 1.1rem;
  text-align: center;
}

.archive-cover {
  width: min(100%, 860px);
  margin: 0 auto 0.8rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.archive-cover img {
  width: 100%;
  display: block;
  max-height: 300px;
  object-fit: cover;
}

.archive-header h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.archive-description {
  margin: 0.45rem auto 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.psv-breadcrumbs {
  display: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feed-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.feed-load-more-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  cursor: pointer;
}

.feed-load-more-btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.video-card-skeleton {
  pointer-events: none;
}

.video-card-skeleton .video-card-media,
.video-card-skeleton .video-card-overlay h2 {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.video-card-skeleton .video-card-overlay {
  padding-top: 0.45rem;
}

.video-card-skeleton .video-card-overlay h2 {
  height: 2.2em;
  border-radius: 8px;
}

.video-card-skeleton .video-card-media::after,
.video-card-skeleton .video-card-overlay h2::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: psv-skeleton-shimmer 1.2s ease-in-out infinite;
}

.taxonomy-card-skeleton {
  pointer-events: none;
}

.taxonomy-card-skeleton .taxonomy-card-media,
.taxonomy-card-skeleton h2 {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.taxonomy-card-skeleton h2 {
  height: 1.9em;
  border-radius: 8px;
}

.taxonomy-card-skeleton .taxonomy-card-media::after,
.taxonomy-card-skeleton h2::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: psv-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes psv-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.taxonomy-card-link {
  display: grid;
  gap: 0.5rem;
}

.taxonomy-card-media {
  position: relative;
  aspect-ratio: 9 / 12;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.taxonomy-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.taxonomy-placeholder {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.56);
}

.taxonomy-post-count {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #fff;
  font-size: 0.75rem;
}

.taxonomy-card h2 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  min-height: auto;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-2px);
}

.video-card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
}

.video-card-media img,
.video-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-preview {
  opacity: 1;
}

.video-card-stats-overlay {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  z-index: 3;
}

.video-card-stats-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.video-card-overlay {
  padding: 0.55rem 0.05rem 0.2rem;
}

.video-card-overlay h2 {
  font-size: 0.91rem;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.35em * 2);
}

.reels-page {
  max-width: 430px;
  margin: 0 auto;
  height: calc(100vh - var(--header-height));
}

.reels-track {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reels-track::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.reel-item {
  position: relative;
  height: 92%;
  min-height: 92%;
  margin: auto 0;
  scroll-snap-align: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  overflow: hidden;
  border-radius: 14px;
}

.reel-video {
  width: 100%;
  height: 92%;
  object-fit: cover;
  background: #000;
  margin: 4% 0;
}

.video-play-indicator {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-play-indicator i {
  font-size: 2rem;
  margin-left: 4px;
}

.video-play-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.reel-overlay {
  position: absolute;
  z-index: 3;
}

.reel-overlay-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.9rem 1.4rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, 0.8) 100%);
}

.reel-overlay-top {
  left: 0;
  right: 0;
  top: 0;
  padding: 0.95rem 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 100%);
}

.reel-meta-compact h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.reel-meta-compact p {
  margin: 0;
  font-size: 0.9rem;
  color: #eceffc;
}

.desc-teaser-btn {
  border: 0;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  padding: 0.42rem 0.62rem;
  border-radius: 10px;
  max-width: calc(100% - 78px);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-overlay-right {
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.reel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  align-items: center;
}

.action-stat {
  width: 62px;
  min-height: 52px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.action-btn {
  background: transparent;
  border: 0;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.action-btn.icon-only {
  flex-direction: column;
  min-width: 62px;
  padding: 0.52rem 0.35rem;
  font-size: 0.84rem;
}

.action-btn.icon-only i,
.action-stat i {
  font-size: 1.08rem;
}

.action-btn.icon-only strong:empty {
  display: none;
}

.reel-detail-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  transform: translateY(112%);
  opacity: 0;
  transition: transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.38s ease;
  background: rgba(11, 13, 19, 0.74);
  backdrop-filter: blur(12px);
  padding: 1rem 1rem 1.35rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  max-height: 50vh;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}

.reel-detail-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.detail-close-btn {
  position: sticky;
  top: 0.2rem;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  z-index: 2;
}

.reel-detail-panel h3 {
  margin: 0 0 0.5rem;
}

.detail-description {
  font-size: 0.9rem;
  line-height: 1.45;
}

.detail-taxonomy {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.62rem;
}

.taxonomy-block {
  display: grid;
  gap: 0.35rem;
}

.taxonomy-label {
  font-size: 0.76rem;
  color: #d5daf1;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.chip-row a {
  display: inline-flex;
  align-items: center;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.32rem 0.58rem;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #f3f6ff;
  list-style: none;
}

.like-btn.is-liked {
  background: transparent;
  border: 0;
}

.like-btn:disabled {
  cursor: not-allowed;
  opacity: 0.95;
}

.inline-ad-slot {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 0.8rem;
}

.reel-comments {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  transform: translateY(102%);
  transition: transform 0.24s ease;
}

.reel-comments.is-open {
  transform: translateY(0);
}

.reel-comments-shell {
  margin: 0 auto;
  width: min(780px, 100%);
  max-height: 50vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(22, 24, 34, 0.98) 0%, rgba(14, 16, 24, 0.98) 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.5);
  padding: 0.95rem 0.95rem 1.1rem;
}

.comments-close-btn {
  position: sticky;
  top: 0.4rem;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  z-index: 3;
}

.comments-loading {
  color: #d1d7f2;
  font-size: 0.92rem;
  padding: 0.65rem 0.2rem 0.2rem;
}

.comments-dynamic {
  min-height: 120px;
}

.comments-area input,
.comments-area textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 15, 22, 0.92);
  color: #fff;
  border-radius: 11px;
  padding: 0.68rem 0.72rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.comments-area input::placeholder,
.comments-area textarea::placeholder {
  color: rgba(212, 220, 245, 0.62);
}

.comments-area input:focus,
.comments-area textarea:focus {
  outline: none;
  border-color: rgba(123, 165, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(89, 122, 255, 0.2);
  background: rgba(14, 16, 24, 0.98);
}

#commentsDrawer .comments-area .comment-form-author input,
#commentsDrawer .comments-area .comment-form-email input,
#commentsDrawer .comments-area #author,
#commentsDrawer .comments-area #email,
#commentsDrawer .comments-area #psv_author,
#commentsDrawer .comments-area #psv_email {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: #11131a !important;
  color: #fff !important;
  border-radius: 11px !important;
  padding: 0.68rem 0.72rem !important;
}

#commentsDrawer .comments-area .comment-form-author input:focus,
#commentsDrawer .comments-area .comment-form-email input:focus,
#commentsDrawer .comments-area #author:focus,
#commentsDrawer .comments-area #email:focus,
#commentsDrawer .comments-area #psv_author:focus,
#commentsDrawer .comments-area #psv_email:focus {
  outline: none;
  border-color: rgba(123, 165, 255, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(89, 122, 255, 0.2);
  background: #11131a !important;
}

#commentsDrawer #commentform input[type="text"],
#commentsDrawer #commentform input[type="email"],
#commentsDrawer #commentform input[type="url"],
#commentsDrawer #commentform textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: #11131a !important;
  color: #fff !important;
  border-radius: 11px !important;
  padding: 0.68rem 0.72rem !important;
  box-sizing: border-box;
}

#commentsDrawer #commentform input[type="text"]:focus,
#commentsDrawer #commentform input[type="email"]:focus,
#commentsDrawer #commentform input[type="url"]:focus,
#commentsDrawer #commentform textarea:focus {
  outline: none;
  border-color: rgba(123, 165, 255, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(89, 122, 255, 0.2);
  background: #11131a !important;
}

.comments-title {
  margin: 0 0 0.95rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.comments-area .comment-form {
  margin-top: 1rem;
  padding: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.comment-form p {
  margin: 0 0 0.75rem;
}

.comment-form-author,
.comment-form-email {
  display: grid;
}

.comment-form-comment {
  display: grid;
}

.comment-form-comment textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.5;
}

#commentsDrawer .respond .comment-form-comment textarea,
#commentsDrawer .respond textarea[name="comment"] {
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 15, 22, 0.92);
  border-radius: 11px;
  color: #fff;
  padding: 0.68rem 0.72rem;
}

#commentsDrawer #commentform #comment,
#commentsDrawer #commentform #psv_comment,
#commentsDrawer #respond #comment,
#commentsDrawer #respond #psv_comment,
.comments-area #commentform #comment,
.comments-area #commentform #psv_comment {
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: #11131a !important;
  border-radius: 11px !important;
  color: #fff !important;
  padding: 0.68rem 0.72rem !important;
  line-height: 1.5;
}

#commentsDrawer #commentform #comment:focus,
#commentsDrawer #commentform #psv_comment:focus,
#commentsDrawer #respond #comment:focus,
#commentsDrawer #respond #psv_comment:focus,
.comments-area #commentform #comment:focus,
.comments-area #commentform #psv_comment:focus {
  outline: none;
  border-color: rgba(123, 165, 255, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(89, 122, 255, 0.2);
  background: #11131a !important;
}

.psv-reply-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  margin: 0 0 0.7rem;
}

.psv-reply-state[hidden] {
  display: none !important;
}

.psv-reply-text {
  color: #e4e8fb;
  font-size: 0.82rem;
}

.psv-reply-cancel {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8ff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.psv-reply-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
}

.comment-form label {
  display: block;
  margin-bottom: 0.3rem;
  color: #d9def8;
  font-size: 0.84rem;
}

.comment-form .submit {
  border: 0;
  background: linear-gradient(135deg, #5c79ff 0%, #7b57ff 100%);
  color: #fff;
  border-radius: 10px;
  padding: 0.62rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.comment-form .submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.comment-list {
  display: grid;
  gap: 0.82rem;
  margin: 0.45rem 0 0.9rem;
}

.comment-list > .comment,
.comment-list > .psv-comment-item {
  margin: 0 0 0.72rem;
}

.comment-list > .comment:first-child,
.comment-list > .psv-comment-item:first-child {
  margin-top: 0.22rem;
}

.comment-list > .comment:last-child,
.comment-list > .psv-comment-item:last-child {
  margin-bottom: 0;
}

.comment-list .comment {
  padding: 0;
}

.psv-comment-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.62rem;
  margin-bottom: 10px;
}

.psv-avatar {
  border-radius: 999px !important;
  display: block;
}

.psv-comment-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.62rem 0.72rem;
}

.comment-list .children {
  margin: 0.68rem 0 0 0.92rem;
  padding: 0 0 0 0.68rem;
  border-left: 1px solid rgba(148, 163, 255, 0.28);
}

.comment-list .children > .comment,
.comment-list .children > .psv-comment-item {
  margin: 0.62rem 0 0.4rem;
}

.comment-list .children > .comment:first-child,
.comment-list .children > .psv-comment-item:first-child {
  margin-top: 0;
}

.comment-list .children > .comment:last-child,
.comment-list .children > .psv-comment-item:last-child {
  margin-bottom: 0;
}

.psv-comment-header {
  margin-bottom: 0.24rem;
}

.psv-comment-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f4f7ff;
}

.psv-comment-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e6e9f8;
}

.psv-comment-actions {
  margin-top: 0.4rem;
}

.psv-reply-trigger {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: #d5dcff;
  cursor: pointer;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.psv-reply-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

#commentsDrawer .logged-in-as,
#commentsDrawer .comment-notes,
#commentsDrawer .comment-form-url,
#commentsDrawer .form-allowed-tags {
  display: none;
}

.comments-empty {
  color: #c7cde8;
  margin: 0 0 0.9rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 1rem 1rem 1.4rem;
}

.footer-about {
  max-width: 760px;
  margin: 0 auto 0.75rem;
  color: #d3d9f5;
  font-size: 0.9rem;
  line-height: 1.55;
}

.content-page-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.content-page-card {
  background: rgba(18, 21, 30, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.25rem;
}

.content-page-header h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.content-page-body {
  color: #e5e8f7;
  line-height: 1.7;
}

.content-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .taxonomy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 56px;
  }

  .header-inner {
    padding: 0.7rem 0.7rem;
  }

  .site-brand .custom-logo {
    max-height: 30px;
    max-width: 52vw;
  }

  .header-left {
    padding-right: 110px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .reels-page {
    max-width: 100%;
    height: calc(100vh - var(--header-height));
  }

  .site-footer {
    padding-bottom: 1.2rem;
  }

  .top-slider-nav-btn {
    display: none;
  }

  .search-overlay {
    right: 0.6rem;
    top: calc(var(--header-height) + 0.35rem);
  }

  .search-overlay-inner {
    width: min(420px, calc(100vw - 1.2rem));
    border-radius: 14px;
    padding: 0.62rem;
  }

  .reel-comments-shell {
    padding: 0.82rem 0.72rem 0.95rem;
  }

  .comments-area .comment-form {
    padding: 0.72rem;
  }

  .comment-list .children {
    margin-left: 0.56rem;
    padding-left: 0.5rem;
  }

  .psv-comment-item {
    grid-template-columns: 38px 1fr;
    gap: 0.5rem;
  }
}

/* Keep single reel fully inside viewport */
.single-post .site-main {
  height: 100vh;
  overflow: hidden;
}

.single-post .site-footer {
  display: none;
}

@media (max-width: 560px) {
  .single-post .site-main {
    height: calc(100vh - var(--header-height));
  }
}
